Bug 1201383
Summary: | VM reconfigure events are assigned to the incorrect zone. | |||
---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Josh Carter <jocarter> | |
Component: | Automate | Assignee: | Lucy Fu <lufu> | |
Status: | CLOSED ERRATA | QA Contact: | Alex Newman <anewman> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 5.3.0 | CC: | dajohnso, jhardy, mfeifer, mkanoor, obarenbo, ssainkar, tcarlin, tfitzger | |
Target Milestone: | GA | |||
Target Release: | 5.4.0 | |||
Hardware: | All | |||
OS: | All | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: |
In the previous version, VmReconfigureRequest/VmMigrateRequest were sent to the zone where the CFME Appliance resides. Thereby, 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.
With this patch, VmReconfigureRequest/VmMigrateRequest are now sent to the zone where the VM is located and the request completes successfully.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1209490 (view as bug list) | Environment: | ||
Last Closed: | 2015-06-16 12:52:41 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: | 1209490 |
Comment 2
CFME Bot
2015-04-06 16:06:04 UTC
New commit detected on manageiq/master: https://github.com/ManageIQ/manageiq/commit/3535cac0c0d2724010017ae8e3bb8c16e7eabe9e commit 3535cac0c0d2724010017ae8e3bb8c16e7eabe9e Author: Lucy Fu <lufu> AuthorDate: Tue Mar 24 19:01:19 2015 -0400 Commit: Lucy Fu <lufu> CommitDate: Wed Mar 25 16:18:46 2015 -0400 Add test cases for VmReconfigureRequest#my_zone. https://bugzilla.redhat.com/show_bug.cgi?id=1201383 vmdb/spec/factories/vm_reconfigure_request.rb | 4 +++ vmdb/spec/models/vm_reconfigure_request_spec.rb | 43 +++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 vmdb/spec/factories/vm_reconfigure_request.rb create mode 100644 vmdb/spec/models/vm_reconfigure_request_spec.rb New commit detected on cfme/5.3.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=1f6a9b9643d4ac8c70df754411f6e57d9c6d5402 commit 1f6a9b9643d4ac8c70df754411f6e57d9c6d5402 Author: Lucy Fu <lufu> AuthorDate: Mon Mar 23 15:55:56 2015 -0400 Commit: Lucy Fu <lufu> CommitDate: Tue Apr 7 09:38:05 2015 -0400 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=1201383 vmdb/app/models/miq_request_task.rb | 1 + vmdb/app/models/vm_migrate_request.rb | 6 +++++- vmdb/app/models/vm_reconfigure_request.rb | 5 +++++ 3 files changed, 11 insertions(+), 1 deletion(-) New commit detected on cfme/5.3.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=5a5824ade1cff538661d1aa2b73715a9aed2645d commit 5a5824ade1cff538661d1aa2b73715a9aed2645d Author: Lucy Fu <lufu> AuthorDate: Tue Mar 24 19:01:19 2015 -0400 Commit: Lucy Fu <lufu> CommitDate: Tue Apr 7 09:38:15 2015 -0400 Add test cases for VmReconfigureRequest#my_zone. https://bugzilla.redhat.com/show_bug.cgi?id=1201383 vmdb/spec/factories/vm_reconfigure_request.rb | 4 +++ vmdb/spec/models/vm_reconfigure_request_spec.rb | 43 +++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 vmdb/spec/factories/vm_reconfigure_request.rb create mode 100644 vmdb/spec/models/vm_reconfigure_request_spec.rb verified as working on version 5.4.0.4.20150528174021_88cc76c Verification notes: Appliance 1 - Database owner, UI role, Default Zone Appl1ance 2 - Connects to Appliance 1's DB, Automation and Provider Ops Roles, worker Zone vSphere 5.5 provider is managed under the worker Zone evm.log showing a request made from Appliance1 to reconfigure a VM : [----] I, [2015-06-04T16:32:20.377772 #7373:108feac] INFO -- : MIQ(MiqQueue.put) Message id: [1000000003810], id: [], Zone: [worker], Role: [ems_operations], Server: [], Ident: [generic], Tar get id: [], Instance id: [1000000000002], Task id: [vm_reconfigure_request_1000000000002], Command: [VmReconfigureRequest.create_request_tasks], Timeout: [3600], Priority: [100], State: [ready], Deliv er On: [], Data: [], Args: [] 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 |