Bug 1584851 - [UPSTREAM]Cannot change server's zone
Summary: [UPSTREAM]Cannot change server's zone
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.10.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.10.0
Assignee: Zita Nemeckova
QA Contact: Tasos Papaioannou
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-31 19:33 UTC by Nick Carboni
Modified: 2019-02-11 14:01 UTC (History)
8 users (show)

Fixed In Version: 5.10.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-11 14:01:45 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Screenshot of the incorrect zone being shown in the drop down (39.38 KB, image/png)
2018-05-31 19:33 UTC, Nick Carboni
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1639877 0 high CLOSED Can't change Server's Zone 2022-07-09 10:12:24 UTC

Internal Links: 1639877

Description Nick Carboni 2018-05-31 19:33:42 UTC
Created attachment 1446425 [details]
Screenshot of the incorrect zone being shown in the drop down

Description of problem:
The zone of a server cannot be changed.
Additionally the zone dropdown on the server screen shows the earliest zone alphabetically, not the zone the server is currently assigned to.

Version-Release number of selected component (if applicable):
5.10.0.0-pre-nightly.20180521142829_e1f695a

How reproducible:
Always

Steps to Reproduce:
1. Create new zone named "abc"
2. Navigate to Server settings page
3. Observe that server is assigned to the default zone, but the dropdown shows "abc"
4. Attempt to change zone

Actual results:
Wrong zone is displayed and when the dropdown value is change the save button is not enabled.

Expected results:
Correct zone is displayed and zone new zone can be set.

Additional info:
I was able to reproduce this on ManageIQ master branch, ManageIQ nightly appliances, and the given CloudForms nightly build.

Comment 3 CFME Bot 2018-06-08 11:53:46 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/22791d49184fa3feffabd407a47994b6bdeb5315
commit 22791d49184fa3feffabd407a47994b6bdeb5315
Author:     Zita Nemeckova <znemecko>
AuthorDate: Wed Jun  6 06:16:58 2018 -0400
Commit:     Zita Nemeckova <znemecko>
CommitDate: Wed Jun  6 06:16:58 2018 -0400

    Make sure @edit[:current].config[:server][:zone] is set

    Current server never returns its zone in get_configso it has to be checked and set correctly

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1584851

 app/controllers/ops_controller/settings/common.rb | 1 +
 spec/controllers/ops_controller/settings/common_spec.rb | 21 +
 2 files changed, 22 insertions(+)

Comment 4 Tasos Papaioannou 2018-06-26 17:35:40 UTC
Verified on 5.10.0.1.


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