Description of problem: Version-Release number of selected component (if applicable): Ovirt 3.5 How reproducible:Create VM of Ubuntu 14.04 or Debian 7.6 and install the guest agent and try to reboot through API or portal....it display that it's done but actually it's not... Steps to Reproduce: 1. Press the reboot button of the guest VM (Ubuntu 14 or Debian 7.6) from Ovirt GUI portal. 2. Dashboard shows it's rebooted but actually it's not rebooted. 3. Even through API the same... Actual results: Not rebooted...even no command shooted to guest VM... Expected results: Guest VM (Ubuntu and debian) Should reboot... Additional info: Only Ubuntu and debian has this problem...centos and fedora is ok....
Can you share vdsm.log and and in-guest agent logs? Which versions of Engine, vdsm and guest agent are you using?
Created attachment 950876 [details] reboot
Hi Dan, I am using the following :- Engine :- Ovirt 3.5 Ovirt_guest-agent :- 1.0.10.2-1.1 VDSM :- vdsm-4.16.7-1.gitdb83943.el6 ---------------- root@ubntu:/var/log/ovirt-guest-agent# tail -f ovirt-guest-agent.log Dummy-2::INFO::2014-10-27 10:02:41,123::OVirtAgentLogic::270::root::Received an external command: shutdown... Dummy-2::INFO::2014-10-27 10:02:41,124::OVirtAgentLogic::295::root::Rebooting (timeout = 0, message = 'System Administrator has initiated shutdown of this Virtual Machine. Virtual Machine is shutting down.') ^C root@ubntu:/var/log/ovirt-guest-agent# --------------
Ovirt_guest-agent :- 1.0.10.2-1.1 is there recent enough?
Hi Michal, Do i need to update it ?? It seems this one is the latest...
@Michal: Yes this is currently the latest version. @punit: Could you please check that the following file exists /etc/sudoers.d/50_ovirt-guest-agent If it does exist please attach it to the bug. Thanks.
Hi Vinzenz, Yes...this file is exists in the sudoers.d directory with the following contents :- ------------ root@ubuntu-1:~# cat /etc/sudoers.d/50_ovirt-guest-agent Cmnd_Alias OVIRTAGENT_SCRIPTS =\ /usr/share/ovirt-guest-agent/ovirt-hibernate-wrapper.sh *,\ /usr/share/ovirt-guest-agent/ovirt-shutdown-wrappers.sh *,\ /usr/share/ovirt-guest-agent/ovirt-locksession-wrapper.sh ovirtagent ALL= NOPASSWD: OVIRTAGENT_SCRIPTS Defaults:ovirtagent !requiretty Defaults:ovirtagent !syslog root@ubuntu-1:~# ----------- Thanks, Punit
Please for now as a workaround please update the /etc/sudoers.d/50_ovirt-guest-agent file: # sed -i s/ovirt-shutdown-wrappers/ovirt-shutdown-wrapper/ /etc/sudoers.d/50_ovirt-guest-agent
oVirt 3.5.1 has been released and since this bug is targeted 3.5.1 and in modified state, it should be included in this release. Please re-target and move nack to modified if this assumption is not valid for this bug.
no, this is ok.All packages have been now released.