Bug 1209490 - VM reconfigure events are assigned to the incorrect zone.
Summary: VM reconfigure events are assigned to the incorrect zone.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.3.0
Hardware: All
OS: All
high
high
Target Milestone: GA
: 5.3.5
Assignee: Lucy Fu
QA Contact: Jan Krocil
URL:
Whiteboard:
Depends On: 1201383
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-07 13:28 UTC by Lucy Fu
Modified: 2019-07-11 08:54 UTC (History)
9 users (show)

Fixed In Version: 5.3.5.1
Doc Type: Bug Fix
Doc Text:
In the previous version of CloudForms Management Engine, VmReconfigureRequest/VmMigrateRequest were sent to the zone where the CFME Appliance resides. As a result, when VMware VM reconfigure requests to increase RAM were submitted on the UI or DB server, they were put into queue with the zone of that CFME Server and therefore never ran because the worker zone is the only one with Automation Engine and Provider Operations enabled. The problem has now been fixed.
Clone Of: 1201383
Environment:
Last Closed: 2015-07-15 12:55:07 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 RHBA-2015:1223 0 normal SHIPPED_LIVE cfme (5.3.5) bug fix and enhancement update 2015-07-15 16:54:20 UTC

Comment 1 CFME Bot 2015-04-07 22:25:58 UTC
New commit detected on cfme/5.3.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=7c0d9b1e5041ce8b2482e5a133188197c2b6f0db

commit 7c0d9b1e5041ce8b2482e5a133188197c2b6f0db
Merge: 1cac43a 5a5824a
Author:     Greg McCullough <gmccullo>
AuthorDate: Tue Apr 7 18:23:45 2015 -0400
Commit:     Greg McCullough <gmccullo>
CommitDate: Tue Apr 7 18:23:45 2015 -0400

    Merge branch 'reconfigure_zone_1209490' into '5.3.z'
    
    VmReconfigureRequest / VmMigrateRequest should be sent to the zone where the VM is located
    
    instead of the zone where the request is made.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1209490
    
    See merge request !25

 vmdb/app/models/miq_request_task.rb             |  1 +
 vmdb/app/models/vm_migrate_request.rb           |  6 +++-
 vmdb/app/models/vm_reconfigure_request.rb       |  5 +++
 vmdb/spec/factories/vm_reconfigure_request.rb   |  4 +++
 vmdb/spec/models/vm_reconfigure_request_spec.rb | 43 +++++++++++++++++++++++++
 5 files changed, 58 insertions(+), 1 deletion(-)

Comment 2 CFME Bot 2015-04-08 16:31:02 UTC
New commit detected on cfme/5.3.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=34147cd3090ee9c9593c57b0c451b7bf4085b518

commit 34147cd3090ee9c9593c57b0c451b7bf4085b518
Author:     Lucy Fu <lufu>
AuthorDate: Wed Apr 8 12:02:32 2015 -0400
Commit:     Lucy Fu <lufu>
CommitDate: Wed Apr 8 12:05:37 2015 -0400

    Fix the test cases for VmReconfigureRequest
    
    set up the appropriate approval for the request to work.
    https://bugzilla.redhat.com/show_bug.cgi?id=1209490

 vmdb/spec/models/vm_reconfigure_request_spec.rb | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Comment 3 CFME Bot 2015-04-08 16:31:06 UTC
New commit detected on cfme/5.3.z:
https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=a58463c3749e7c1361d43977196ef94a4ef613b9

commit a58463c3749e7c1361d43977196ef94a4ef613b9
Merge: 2be582a 34147cd
Author:     Greg McCullough <gmccullo>
AuthorDate: Wed Apr 8 12:30:47 2015 -0400
Commit:     Greg McCullough <gmccullo>
CommitDate: Wed Apr 8 12:30:47 2015 -0400

    Merge branch 'vm_reconfigure_tests_1209490' into '5.3.z'
    
    Fix the test cases for VmReconfigureRequest
    
    set up the appropriate approval for the request to work.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1209490
    
    See merge request !29

 vmdb/spec/models/vm_reconfigure_request_spec.rb | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Comment 5 Jan Krocil 2015-07-01 12:38:32 UTC
Verified fixed in 5.3.5.1.

Used 2 appliances, each in a separate zone:
 A) DB + UI, Default Zone
 B) everything else, Worker Zone

The provider was in the Default Zone and the reconfiguration request got through with no issues.

Comment 7 errata-xmlrpc 2015-07-15 12:55:07 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://rhn.redhat.com/errata/RHBA-2015-1223.html


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