Closed danielhb closed 8 years ago
IMO, if you are starting kimchi and libvirtd is not loaded/running, kimchi should not be loaded and a message presented to user. But, this is a special case and a lot were discussed about it.
Now, if you are running all plugins and libvirt is not running the message must be showed, and if user decides shutdow/reboot the host, he can do this. This is the bug here. The message "GGBHOST0003E: There may be virtual machines running on the host" must not be presented and the host should shutdow/reboot with no problems if libvirt is not running.
'Now, if you are running all plugins and libvirt is not running the message must be showed, and if user decides shutdow/reboot the host, he can do this. This is the bug here. The message "GGBHOST0003E: There may be virtual machines running on the host" must not be presented and the host should shutdow/reboot with no problems if libvirt is not running.'
yep, this is the behavior I would expect in this situation as well
Good, I was a little confuse with your description. If you want, you can assign this issue to me.
Patch was already sent for review, but thanks for volunteering!
When running wok+gingerbase+ginger+kimchi, without libvirt running, a message appears in every tab saying 'KCHCONN0002E: Libvirt service is not active. Please start the libvirt service in your host system.'.
When trying to restart/shutdown the system in these conditions, a message 'GGBHOST6001E: Unable to shut down system as there are some virtual machines running! ' appears. How can it tell if there are VM running if libvirt is not running?
I believe the following error that appears in the log has something to do with it:
I consider this to be a border case (why would you run Kimchi without libvirt?) but it's a bug and should be fixed anyway.