Load deployed button doesn't work if plugin was installed after deployment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Julia Aranovich | ||
Mitaka |
Fix Released
|
High
|
Julia Aranovich |
Bug Description
Steps to reproduce:
1.Setup master node
2.Create a new env
3.Go to the settings tab. Make some changes to make a config different rather than the default one.
4.Keep in mind all changes
5.Deploy the environment
5.1 Install any plugin on fuel master, for instance:
fuel plugins --install fuel_plugin_
6.Go to the settings tab and make some changes.
7.Press Load Deployed button.
8.Settings should be changed to deployed state and be equal to settings on the step 3
Actual result: Setting are not reverted
Expected result: Settings are reverted to the deployed state
In JS log:
TypeError: setting is undefined
Clicking any settings tab ends up with error:
TypeError: section.metadata is undefined and whole Settings becomes unresponsible
Env info:
[root@nailgun ~]# shotgun2 short-report
cat /etc/fuel_build_id:
376
cat /etc/fuel_
376
cat /etc/fuel_release:
9.0
cat /etc/fuel_
mitaka-9.0
rpm -qa | egrep 'fuel|astute|
fuel-release-
fuel-bootstrap
fuel-migrate-
rubygem-
fuel-misc-
network-
fuel-mirror-
fuel-openstack
fuel-notify-
nailgun-
fuel-provision
python-
fuelmenu-
fuel-9.
fuel-utils-
fuel-setup-
fuel-library9.
shotgun-
fuel-agent-
fuel-ui-
fuel-ostf-
python-
fuel-nailgun-
tags: | added: area-ui |
Changed in fuel: | |
milestone: | none → 9.0 |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in fuel: | |
assignee: | nobody → Fuel Sustaining (fuel-sustaining-team) |
no longer affects: | fuel/newton |
tags: | added: on-verification |
The issue is in plugin settings: x/attributes response. But after deployment, the plugins data is not included into GET /api/clusters/ x/attributes/ deployed response, which is processed by UI after Load Deployed button click.
environment has some plugins installed (activated or not), their data comes into GET /api/clusters/