Bug 1282796
Summary: | [Cinder] ThawVDSCommand fails when taking live snapshot without a guest agent | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Ori Gofen <ogofen> | ||||||
Component: | BLL.Storage | Assignee: | Daniel Erez <derez> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Natalie Gavrielov <ngavrilo> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 3.6.0.2 | CC: | acanan, amureini, bugs, derez, ogofen, tnisan, ylavi | ||||||
Target Milestone: | ovirt-3.6.2 | Flags: | rule-engine:
ovirt-3.6.z+
ylavi: planning_ack+ tnisan: devel_ack+ rule-engine: testing_ack+ |
||||||
Target Release: | 3.6.2 | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2016-02-18 11:20:41 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
You can't freeze or thaw without a guest agent. Perhaps it's worth having a warning audit log, but let's leave it to PM to decide. (In reply to Allon Mureinik from comment #1) > You can't freeze or thaw without a guest agent. Perhaps it's worth having a > warning audit log, but let's leave it to PM to decide. Indeed, this is by design. There should be an event log similar to: "Failed to thaw guest filesystems on VM... The filesystems might be unresponsive until the VM is restarted.". @Ori - can you please attach a screenshot of the events tab? Created attachment 1095892 [details]
cinder - live snapshot without guest
Attached a screenshot with the expected events errors regarding freeze/thaw when invoking live snapshot on a VM without a guest agent. @Ori - did you get anything different? @Derez - That's the error message alright, note that when using a non cinder storage images this error messages become ui warnings, so, in order to keep the behavior consistent, this should be taken care of. (In reply to Ori Gofen from comment #5) > @Derez - That's the error message alright, note that when using a non cinder > storage images this error messages become ui warnings, so, in order to keep > the behavior consistent, this should be taken care of. I don't follow.. What do you mean by consistent? In images we don't use freeze/thaw. @derez I meant that the errors being thrown should lower level to warning, because that is the general behavior The level is higher since failure in thaw is usually more severe than freeze (failure in thaw means that the VM is still frozen and unresponsive). @Yaniv/Allon - what do you think, should we lower the level to warning? See the attached screenshot for reference: https://bugzilla.redhat.com/attachment.cgi?id=1095892 The error level is currently misleading - this isn't an important failure - the thawing failed since the freezing didn't succeed. Let's reduce it to a warning. oVirt 3.6.2 RC1 has been released for testing, moving to ON_QA Daniel, The only thing that's changed here is the event: "Failed to thaw guest filesystems on VM ..." (from error to warning)? Anything else? messages in engine.log? (In reply to Natalie Gavrielov from comment #11) > Daniel, > > The only thing that's changed here is the event: "Failed to thaw guest > filesystems on VM ..." (from error to warning)? Indeed. That's was the only issue. See https://bugzilla.redhat.com/show_bug.cgi?id=1282796#c9 > > Anything else? messages in engine.log? Verified using: rhevm-3.6.2-0.1.el6.noarch |
Created attachment 1095481 [details] Logs Description of problem: Taking live snapshot of a Vm with Cinder volumes (ceph backend) fails on logs and UI, it looks like that operation fails due to failure to find a guestagent on the Vm. 2015-11-17 14:45:48,990 INFO [org.ovirt.engine.core.bll.storage.CreateCinderSnapshotCommand] (DefaultQuartzScheduler_Worker-1) [108f473e] Ending command 'org.ovirt.engine.co re.bll.storage.CreateCinderSnapshotCommand' successfully. 2015-11-17 14:45:53,626 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.ThawVDSCommand] (org.ovirt.thread.pool-7-thread-44) [42818ef1] Failed in 'ThawVDS' method 2015-11-17 14:45:53,631 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-7-thread-44) [42818ef1] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: VDSM fury66.tlv.redhat.com command failed: Guest agent is not responding: Guest agent not available for now 2015-11-17 14:45:53,631 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.ThawVDSCommand] (org.ovirt.thread.pool-7-thread-44) [42818ef1] Command 'org.ovirt.engine.core.vdsbrok er.vdsbroker.ThawVDSCommand' return value 'StatusOnlyReturnForXmlRpc [status=StatusForXmlRpc [code=19, message=Guest agent is not responding: Guest agent not available for no w]]' Version-Release number of selected component (if applicable): rhevm-3.6-0.0.2 How reproducible: 100% Steps to Reproduce: 1.take live snapshot of a Vm with cinder storage Actual results: operation throws Exceptions on Logs and fails on UI Expected results: operation should throw log Warnings and display a warning on UI Additional info: