Bug 1155921
| Summary: | Guest VM Reboot not working after upgrade to 3.5 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | punit <hypunit> | ||||
| Component: | ovirt-guest-agent | Assignee: | Vinzenz Feenstra [evilissimo] <vfeenstr> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Pavel Stehlik <pstehlik> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.5 | CC: | bugs, danken, ecohen, gklein, hypunit, iheim, lsurette, michal.skrivanek, rbalakri, Rhev-m-bugs, vfeenstr, yeylon | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 3.5.1 | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | virt | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-01-21 16:13:29 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
punit
2014-10-23 07:59:04 UTC
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. |