Bug 1396330
Summary: | Wrong zone set for appliances in global region | |||
---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | tachoi | |
Component: | Appliance | Assignee: | Gregg Tanzillo <gtanzill> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Alex Newman <anewman> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 5.6.0 | CC: | abellott, clasohm, fdewaley, gtanzill, jhardy, jocarter, obarenbo, simaishi | |
Target Milestone: | GA | Keywords: | TestOnly, ZStream | |
Target Release: | 5.8.0 | |||
Hardware: | All | |||
OS: | All | |||
Whiteboard: | zone:distributed | |||
Fixed In Version: | 5.8.0.0 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1413167 (view as bug list) | Environment: | ||
Last Closed: | 2017-06-12 16:54:10 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: | 1413167 |
Comment 2
Gregg Tanzillo
2016-12-07 17:14:31 UTC
Created PR - https://github.com/ManageIQ/manageiq/pull/13100 New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/0e19e850718479f0f6414eb365cf5d592e9385fb commit 0e19e850718479f0f6414eb365cf5d592e9385fb Author: Gregg Tanzillo <gtanzill> AuthorDate: Fri Dec 9 16:36:32 2016 -0500 Commit: Gregg Tanzillo <gtanzill> CommitDate: Fri Dec 9 17:37:15 2016 -0500 Scope the zone to the server's region Ensure the zone is in the server's region when looking up and saving zone during config activation. In multi region environments, it's typical to have a zone in the global region that is named the same as one in a lower region. This change fixes a bug where a zone from a different region is saved as the server zone during config activation. https://bugzilla.redhat.com/show_bug.cgi?id=1396330 app/models/miq_server/configuration_management.rb | 2 +- .../miq_server/configuration_management_spec.rb | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) |