| Summary: | Target refresh of VM does not update host | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Ilanit Stein <istein> | |
| Component: | Providers | Assignee: | Piotr Kliczewski <pkliczew> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ilanit Stein <istein> | |
| Severity: | high | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 5.6.0 | CC: | bodnopoz, cpelland, jfrey, jhardy, obarenbo, pkliczew, simaishi | |
| Target Milestone: | GA | Keywords: | TestOnly, ZStream | |
| Target Release: | 5.8.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | rhev | |||
| Fixed In Version: | 5.8.0.0 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1415247 (view as bug list) | Environment: | ||
| Last Closed: | 2017-06-12 16:06:44 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | RHEVM | Target Upstream Version: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 1415247 | |||
|
Description
Ilanit Stein
2016-08-22 06:56:35 UTC
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/e346b46655f672c64458266ebe5ccb36f075c056 commit e346b46655f672c64458266ebe5ccb36f075c056 Author: Boris Odnopozov <bodnopoz> AuthorDate: Mon Jan 16 15:52:03 2017 +0200 Commit: Boris Odnopozov <bodnopoz> CommitDate: Tue Jan 17 14:03:50 2017 +0200 Save host for a Vm after migration Fix saving the host of a Vm after it was migrated when doing targeted refresh of the Vm. Before if the hosts inventory was not fetched sperately by the refresh, the host of a VM was not updated properly even though its uid was returned as part of the target Vm inventory. Now we take the information from the Vm inventory and use it to update the Vms host properly. https://bugzilla.redhat.com/show_bug.cgi?id=1368925 .../redhat/infra_manager/refresh/parse/parser.rb | 25 +- .../refresh/refresher_target_vm_spec.rb | 131 +- .../refresh/refresher_after_migration.yml | 721 +++++++ .../refresh/refresher_before_migration.yml | 2127 ++++++++++++++++++++ 4 files changed, 2950 insertions(+), 54 deletions(-) create mode 100644 spec/vcr_cassettes/manageiq/providers/redhat/infra_manager/refresh/refresher_after_migration.yml create mode 100644 spec/vcr_cassettes/manageiq/providers/redhat/infra_manager/refresh/refresher_before_migration.yml New commit detected on ManageIQ/manageiq/euwe: https://github.com/ManageIQ/manageiq/commit/649a069b5f8141b8b08d7a7076da0a860888667f commit 649a069b5f8141b8b08d7a7076da0a860888667f Author: Boris Odnopozov <bodnopoz> AuthorDate: Mon Jan 16 15:52:03 2017 +0200 Commit: Piotr Kliczewski <piotr.kliczewski> CommitDate: Mon Jan 23 23:01:31 2017 +0100 Save host for a Vm after migration Fix saving the host of a Vm after it was migrated when doing targeted refresh of the Vm. Before if the hosts inventory was not fetched sperately by the refresh, the host of a VM was not updated properly even though its uid was returned as part of the target Vm inventory. Now we take the information from the Vm inventory and use it to update the Vms host properly. https://bugzilla.redhat.com/show_bug.cgi?id=1368925 .../redhat/infra_manager/refresh_parser.rb | 25 +- .../infra_manager/refresher_target_vm_spec.rb | 131 +- .../infra_manager/refresher_after_migration.yml | 721 +++++++ .../infra_manager/refresher_before_migration.yml | 2127 ++++++++++++++++++++ 4 files changed, 2950 insertions(+), 54 deletions(-) create mode 100644 spec/vcr_cassettes/manageiq/providers/redhat/infra_manager/refresher_after_migration.yml create mode 100644 spec/vcr_cassettes/manageiq/providers/redhat/infra_manager/refresher_before_migration.yml Verified on CFME-5.8.0.13/RHV-4.1.1.8 Migrated a VM running on host 1 to host 2. The host displayed in the VM's details page got updated to host 2, as expected. * Removing the dependency in bug 1448690, as full refresh eventually worked. * Filed bug 1448693 to address the problem this bug reported originally (The Host is not removed from CFME: Hosts. |