The helloworld service seems to be very useful for testing, however anything more complicated than starting the service on one node seems to fail. For example (I assume 1 is the id of the helloworld service; for the first 5 listings I assume the service is already created and started):
(1) "cpsclient.py info 1" fails with exception when the service is started.
(2) "cps-tools service list_nodes 1" fails too.
(3) "cps-tools service stop 1" prints an error, although the service seems to be stopped correctly
(4) "cps-tools service add_nodes" / "remove_nodes" don't work at all, the only way to add or remove nodes is to use the cpsclient tool.
(5) the service cannot be interogated (get_helloworld) from cps-tools, only from cpsclient
(6) Create the service, start it, stop it, start it again, call get_helloworld. Two replies are received instead of one, even if only one agent is running.
(7) Create the service, start it, add nodes, stop it, start it again, call get_helloworld. An exception is thrown.
(8) If the helloworld service is created using the CLI, the Frontend will fail with "unknown service type 'helloworld'"
Fixed the bugs in commit de0ae9eb4cddc9662ea8ca4d0b6ebf6a07b2d3e6 and implemented support in cps-tools in commit 6e06492e81148ef526500f2df0932fb8bbbb7715. Closing.
The helloworld service seems to be very useful for testing, however anything more complicated than starting the service on one node seems to fail. For example (I assume 1 is the id of the helloworld service; for the first 5 listings I assume the service is already created and started):
(1) "cpsclient.py info 1" fails with exception when the service is started.
(2) "cps-tools service list_nodes 1" fails too.
(3) "cps-tools service stop 1" prints an error, although the service seems to be stopped correctly
(4) "cps-tools service add_nodes" / "remove_nodes" don't work at all, the only way to add or remove nodes is to use the cpsclient tool.
(5) the service cannot be interogated (get_helloworld) from cps-tools, only from cpsclient
(6) Create the service, start it, stop it, start it again, call get_helloworld. Two replies are received instead of one, even if only one agent is running.
(7) Create the service, start it, add nodes, stop it, start it again, call get_helloworld. An exception is thrown.
(8) If the helloworld service is created using the CLI, the Frontend will fail with "unknown service type 'helloworld'"