Can't open Settings tab for 5.1.1 env

Bug #1469694 reported by Oleg S. Gelbukh
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Medium
Oleg S. Gelbukh
7.0.x
Won't Fix
Medium
Oleg S. Gelbukh
8.0.x
Invalid
Medium
Oleg S. Gelbukh

Bug Description

Steps to reproduce:

1. Install Fuel 5.1.1
2. Deploy environment with 5.1.1 version
3. Upgrade Fuel Master to 6.0
4. Upgrade Fuel Master to 6.1
5. Open Environment in the Web UI
6. Select 'Settings' tab

Expected results:
Page displays Settings for the environment

Actual results:

Forever hangs with green progress bar instead of tab's contents.
While inspecting the page, following error found:

Uncaught TypeError: Value of networking_parameters:net_l23_provider? is undefined. Set options.strict to false to allow undefined values.

In Nailgun DB, if you select 'editable' attributes from clusters table, you'll see the following condition attribute that triggers the error:

[root@fuel lib]# echo "SELECT editable FROM attributes WHERE cluster_id=3;" | psql -At postresql://nailgun@localhost/nailgun | python -m json.tool | grep provider\?
                    "condition": "cluster:net_provider != 'neutron' or networking_parameters:net_l23_provider? != 'nsx'"

Changed in fuel:
assignee: nobody → Fuel UI Team (fuel-ui)
importance: Undecided → Medium
status: New → Confirmed
milestone: none → 7.0
Revision history for this message
Vitaly Kramskikh (vkramskikh) wrote :

It seems some migration which remove '?' signs from expressions didn't work. But anyway, should we support upgrades from such old releases?

Revision history for this message
Oleg S. Gelbukh (gelbuhos) wrote :

We expect to be able to upgrade Fuel Master from 5.1.1 to 6.1, and then upgrade the cluster deployed by 5.1.1. However, upgrade procedure doesn't directly involve or depend on UI.

Revision history for this message
Vitaly Kramskikh (vkramskikh) wrote :

https://github.com/stackforge/fuel-web/blob/master/nailgun/nailgun/utils/migration.py#L74-L77

Here is the procedure which removes '?' signs from expressions during DB migration. It is used only during 5.1 -> 6.0 upgrade ('?' sign support was removed in 6.0). Something seems to be wrong with it

Changed in fuel:
assignee: Fuel UI Team (fuel-ui) → Fuel Python Team (fuel-python)
Revision history for this message
Oleg S. Gelbukh (gelbuhos) wrote :

This is applied only to the release metadata, while in cluster metadata the incorrect format remains. As we have to upgrade clusters from 5.1.1 to 7.0, it is possible to add it in 7.0 and then backport if needed to 6.0 or 6.1 as a part of MU.

tags: added: feature-upgrade
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

Fix proposed to branch: master
Review: https://review.openstack.org/208968

Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Oleg S. Gelbukh (gelbuhos)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-web (master)

Change abandoned by Oleg Gelbukh (<email address hidden>) on branch: master
Review: https://review.openstack.org/208968
Reason: Won't fix

Dmitry Pyzhov (dpyzhov)
tags: added: area-python
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 7.0 → 8.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.