Bug 1509172
Summary: | Cannot create or edit zones | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Milan Falešník <mfalesni> | ||||
Component: | Appliance | Assignee: | Gregg Tanzillo <gtanzill> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Tasos Papaioannou <tpapaioa> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 5.9.0 | CC: | abellott, cpelland, gtanzill, hkataria, jhardy, mpovolny, obarenbo, tpapaioa | ||||
Target Milestone: | GA | Keywords: | Regression, TestOnly | ||||
Target Release: | 5.10.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | 5.10.0.0 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 1509452 (view as bug list) | Environment: | |||||
Last Closed: | 2019-02-11 13:55:18 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | Bug | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | CFME Core | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1509452 | ||||||
Attachments: |
|
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/4c610b285ec109d13d35d7d60a62f9d133b7ba6d commit 4c610b285ec109d13d35d7d60a62f9d133b7ba6d Author: Brandon Dunne <bdunne> AuthorDate: Fri Nov 3 13:18:56 2017 -0400 Commit: Chris Arcand <chris> CommitDate: Fri Nov 3 13:55:30 2017 -0500 settings_for_resource shouldn't blow up if the instance isn't saved yet It should return the settings from the parent resource instead. Only attempt to reload the record if the record is persisted https://bugzilla.redhat.com/show_bug.cgi?id=1509172 lib/vmdb/settings/database_source.rb | 4 +++- spec/lib/vmdb/settings_spec.rb | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) Saving of the zones does not work as well. If you change the displayed name, it says it is saved but it is still the old one. No error in production.log. Build 5.9.0.8 New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/c6b835afc95a5ad0399daed8b6470e06e9502734 commit c6b835afc95a5ad0399daed8b6470e06e9502734 Author: Chris Arcand <chris> AuthorDate: Mon Nov 13 21:44:04 2017 -0600 Commit: Chris Arcand <chris> CommitDate: Wed Nov 15 20:45:25 2017 -0600 Zones - Save NTP settings after saving the zone With the changes to NTP settings made in https://github.com/ManageIQ/manageiq-ui-classic/commit/97088dee3c727898a186f2a03edb9d92a4b04af5, calling #add_settings_for_resource calls a save and reload which sets the attributes assigned before the call to their original values, ignoring the assignments from the form. Instead, pull NTP settings outside of zone_set_record_vars, which is supposed to be just setting vars, and save the settings afterward. https://bugzilla.redhat.com/show_bug.cgi?id=1509172 app/controllers/ops_controller/settings/zones.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Verified on 5.10.0.3. |
Created attachment 1347230 [details] Excerpt from production.log - the exception on the button click. Description of problem: Clicking the "Add a new Zone" button in the dropdown in order to open the dialog to add the zone does nothing. Version-Release number of selected component (if applicable): 5.9.0.5 How reproducible: always Steps to Reproduce: 1. Go to Configuration 2. Click Zones 3. Click Configuration - Add a new Zone Actual results: Nothing happens (visibly). An error in production.log Expected results: A dialog opens. No error in production.log Additional info: Fresh appliance.