Bug 1169930
Summary: | Update miq_ae_service_snapshot.rb with new relationship of vm_or_template | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Josh Carter <jocarter> | ||||||||||
Component: | Automate | Assignee: | Greg McCullough <gmccullo> | ||||||||||
Status: | CLOSED ERRATA | QA Contact: | Aziza Karol <akarol> | ||||||||||
Severity: | high | Docs Contact: | |||||||||||
Priority: | unspecified | ||||||||||||
Version: | 5.2.0 | CC: | akarol, gmccullo, mfeifer, ssainkar | ||||||||||
Target Milestone: | GA | ||||||||||||
Target Release: | 5.4.0 | ||||||||||||
Hardware: | All | ||||||||||||
OS: | All | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | 5.4.0.0.11 | Doc Type: | Bug Fix | ||||||||||
Doc Text: |
In the previous version of CloudForms Management Engine, due to broken VM reference in snapshot service model, automate method to revert a VM’s snapshot failed with an error. Code has been updated to fix the reference and revert snapshot now completes successfully.
|
Story Points: | --- | ||||||||||
Clone Of: | |||||||||||||
: | 1170682 (view as bug list) | Environment: | |||||||||||
Last Closed: | 2015-06-16 12:45:37 UTC | Type: | Bug | ||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||
Documentation: | --- | CRM: | |||||||||||
Verified Versions: | Category: | --- | |||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
Embargoed: | |||||||||||||
Bug Depends On: | |||||||||||||
Bug Blocks: | 1170682 | ||||||||||||
Attachments: |
|
Description
Josh Carter
2014-12-02 18:35:30 UTC
New commit detected on manageiq/master: https://github.com/ManageIQ/manageiq/commit/30d1ceac2a35c2fdac5b4f950792100d2f17d375 commit 30d1ceac2a35c2fdac5b4f950792100d2f17d375 Author: Greg McCullough <gmccullo> AuthorDate: Tue Dec 2 16:32:28 2014 -0500 Commit: Greg McCullough <gmccullo> CommitDate: Tue Dec 2 16:54:07 2014 -0500 Fixed broken vm reference in snapshot service model. https://bugzilla.redhat.com/show_bug.cgi?id=1169930 .../miq_automation_engine/service_models/miq_ae_service_snapshot.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) New commit detected on cfme/5.3.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=91556448907dd13024312f9e675cdd36a127cb07 commit 91556448907dd13024312f9e675cdd36a127cb07 Author: Greg McCullough <gmccullo> AuthorDate: Tue Dec 2 16:32:28 2014 -0500 Commit: Greg McCullough <gmccullo> CommitDate: Thu Dec 4 10:30:13 2014 -0500 Fixed broken vm reference in snapshot service model. https://bugzilla.redhat.com/show_bug.cgi?id=1169930 .../miq_automation_engine/service_models/miq_ae_service_snapshot.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Created attachment 1029384 [details]
sumulation
Created attachment 1029385 [details]
snapshot
Hard to tell what actually happened without seeing the automation.log. Can you please provide that as well. Created attachment 1030469 [details]
automation log
Have attached the automation log. The automate method you are running is InspectMe which is designed to dump properties of objects to the automate log. I saw that in the screenshots but thought maybe you were using that wiring but had overridden the method with the method you are trying to test. So the question now is where is the actual method that is taking the VM and snap_shot name and trying to test the automate method? One possibility is that you did override the InspectMe method but it is in a domain that is marked as disabled. It is clear from the logging that the revertSnapshot method is not what is being executed. Yes,the domain was disabled.I retried in the enabled domain and the snapshot got reverted. Snapshot reverted.see attached automation.log Verified: 5.4.0.4.20150528174021_88cc76c Created attachment 1033116 [details]
automation log - snapshot reverted
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-1100.html |