Bug 1228367 - Archived VM instance still connects to its orchestration stack
Summary: Archived VM instance still connects to its orchestration stack
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.5.0
Assignee: Bill Wei
QA Contact: Nandini Chandra
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-04 18:29 UTC by Bill Wei
Modified: 2015-12-08 13:16 UTC (History)
5 users (show)

Fixed In Version: 5.5.0.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-08 13:16:12 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2551 0 normal SHIPPED_LIVE Moderate: CFME 5.5.0 bug fixes and enhancement update 2015-12-08 17:58:09 UTC

Description Bill Wei 2015-06-04 18:29:40 UTC
Description of problem:
When a VM instance in an orchestration stack is removed from the provider due to stack update becomes achieved in VMDB, but it still have an association with the stack.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Create a stack with one instance in provider
2. Refresh the provider and collect both stack and instances in VMDB
3. Update the stack, for example, change the flavor of the instance. This will force the stack to delete the existing instance and create another instance with the new flavor.
4. Refresh the provider


Actual results:
The stack contains two instances, the old and the new one. The old instance is achieved but still have the association with the stack.

Expected results:
The stack should contain only the new instance.

Additional info:

Comment 2 CFME Bot 2015-07-09 12:56:50 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/f7babe009a707f08efcccc1cca50df9e3f368702

commit f7babe009a707f08efcccc1cca50df9e3f368702
Author:     Bill Wei <bilwei>
AuthorDate: Fri Jun 5 11:58:26 2015 -0400
Commit:     Bill Wei <bilwei>
CommitDate: Wed Jul 8 17:44:49 2015 -0400

    Remove association to stack for disconnected VMs
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1228367

 app/models/vm_or_template.rb | 13 +++++++++++++
 1 file changed, 13 insertions(+)

Comment 3 CFME Bot 2015-07-09 13:18:11 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/f7babe009a707f08efcccc1cca50df9e3f368702

commit f7babe009a707f08efcccc1cca50df9e3f368702
Author:     Bill Wei <bilwei>
AuthorDate: Fri Jun 5 11:58:26 2015 -0400
Commit:     Bill Wei <bilwei>
CommitDate: Wed Jul 8 17:44:49 2015 -0400

    Remove association to stack for disconnected VMs
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1228367

 app/models/vm_or_template.rb | 13 +++++++++++++
 1 file changed, 13 insertions(+)

Comment 4 Nandini Chandra 2015-11-10 20:27:51 UTC
Verified in 5.5.0.9

Comment 6 errata-xmlrpc 2015-12-08 13:16:12 UTC
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://access.redhat.com/errata/RHSA-2015:2551


Note You need to log in before you can comment on or make changes to this bug.