Comment 1 for bug 1836736

Revision history for this message
Ilya Shakhat (shakhat) wrote :

Well, it may be broken.

Not sure about other users, but I use only 'terminate', 'restart', 'kill' and recent 'plug'/'unplug'. For me 'kill' works, but I use python 3.6 - can check on 3.7. Commands 'plug' and 'unplug' require port number and protocol to be specified in a service (https://os-faults.readthedocs.io/en/latest/quickstart/config_spec.html#services). Both commands allow to block one port via iptables (ideally this should be abstracted to support e.g. firewalld and many ports instead of one, the current implementation is a bit hackish).

Command 'start' has a design flaw - it performs discover trying to find where the service runs and does so using ps, and since a service is off it obviously cannot find it. The workaround is to always specify a host, e.g. 'start nova-api service on controller host'.

Commands 'connect' and 'disconnect' were designed for already removed Fuel driver - for the rest they they are not implemented. All remaining command also were used some time ago...

To sum up: I can verify the lib on python 3.7 and check whether libvirt-based command can be easily fixed (they were in a good shape couple years ago).