Nailgun validates hidden setting groups
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Confirmed
|
Medium
|
Fuel Sustaining | ||
Mitaka |
Won't Fix
|
Medium
|
Fuel Sustaining | ||
Newton |
Confirmed
|
Medium
|
Fuel Sustaining |
Bug Description
Steps to reproduce in Fuel UI:
1. create an environment (default wizard settings)
2. go to Settings tab, OpenStack Services subtab
3. check "Install Ceilometer and Aodh" and "Use external Mongo DB" settings, "External MongoDB" setting section should appear on the screen
4. input in an invalid value into "MongoDB hosts IP" field to raise a validation error on UI (in my case the field was autocompleted with "admin" value, see the attached screenshot)
5. uncheck "Install Ceilometer and Aodh" and "Use external Mongo DB" settings. "External MongoDB" setting section should disappear from the screen and validation error should not be shown as well as the section was closed.
6. check "Install Sahara" checkbox to enable "Save Settings" button
7. click "Save Settings" button to save the change
Expected result: the change is saved successfully, no error occurred.
Actual result: there is a Nailgun error, PUT /api/clusters/
The following data was sent to Nailgun http://
Looks like Nailgun validates values in hidden sections, like "External MongoDB" in the case.
Changed in fuel: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
assignee: | nobody → Fuel UI Team (fuel-ui) |
tags: | added: area-ui |
Changed in fuel: | |
assignee: | nobody → Fuel Sustaining (fuel-sustaining-team) |
Changed in fuel: | |
status: | Confirmed → Incomplete |
I think this is Nailgun issue, it should not validate/process setting sections that are hidden by restrictions.