Archived

This forum has been archived. Please start a new discussion on GitHub.

node command in the icegridadmin command line utility

Hello, I am currently using ICE 3.2b and Debian GNU/Linux Sid.

If I employ node1 as a name for a node in an application which makes use of IceGrid, then the icegridadmin command line utilitiy does not work properly:
>>> application add Ripper.xml
>>> node list
node1
node2
>>> node ping node1
error: syntax error
(`help' for more info)

If I use the node describe command or the node show command, the same problem appears. However, if I exchange node1 for Node1, all works fine:
>>> application add Ripper.xml
>>> node list
Node1
Node2
>>> node describe Node1
node `Node1'
{
operating system = `Linux'
host name = `oreto247'
release = `2.6.18.050107'
version = `#1 SMP Fri Jan 5 14:18:34 CET 2007'
machine type = `i686'
number of processors = `1'
}
>>> node ping Node1
node is up

Regards,
David.

Comments

  • benoit
    benoit Rennes, France
    Hi David,

    Yes, this is a known problem. You need to add quotes or double-quotes around command arguments which contain keywords ("node ping 'node1'" should work). The next Ice patch release will contain an improved icegridadmin utility that removes this restriction.

    Cheers,
    Benoit.