The settings for plugins with package_version=2.0.0 are missing in the Fuel UI

Bug #1528565 reported by Simon Pasquier
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Serg Lystopad

Bug Description

It seems that we don't have access to the settings for plugins with package_version=2.0.0. This breaks the backward compatibility.

Steps to reproduce:
- Build and install the LMA collector plugin from master.
  https://github.com/openstack/fuel-plugin-lma-collector
- Create a new environment
- Go to Settings > Other and check that the settings for the LMA collector are missing

Expected result:
The LMA collector settings should be present.

Workaround:
Bump package_version in metadata.yaml to 3.0.0.

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "8.0"
  api: "1.0"
  build_number: "320"
  build_id: "320"
  fuel-nailgun_sha: "ec25ae8df28e1f1d87da653c5aab2711dff729f6"
  python-fuelclient_sha: "7c7a756fb6a3d091851c060003a2965c67aa353d"
  fuel-agent_sha: "d354cbe61b055db848a15ce66fb7ae92178d2c0a"
  fuel-nailgun-agent_sha: "a33a58d378c117c0f509b0e7badc6f0910364154"
  astute_sha: "c56dfde2da034151a7e707b381c4cf9d213b4ba2"
  fuel-library_sha: "bcc3d042a47547f6ad826360a85ef21dcaf25882"
  fuel-ostf_sha: "b2ebf15a3530b5c7b57707acf8642c1c3ac71bd8"
  fuel-mirror_sha: "8100acb3a566358d0d4ecc66de32d39626263028"
  fuelmenu_sha: "2942a85796d37f09ba8c8c6d762d8813292cf0d4"
  shotgun_sha: "cacb93cbc28910ff0dc38f30a855efa9af50d8ce"
  network-checker_sha: "d443ef47abeda58d319bc8d33d5005dd09440a02"
  fuel-upgrade_sha: "718aa3d7021fee2970f0fa6791cf5188578cc516"
  fuelmain_sha: "3faa824728ce60734abe602ff3778976f8a16eed"

Revision history for this message
Julia Aranovich (jkirnosova) wrote :

Looks like the issue has the same reason as https://bugs.launchpad.net/fuel/+bug/1518993
Simon, is UI only affected?
Could you please provide some screenshots or an access to the environment to check plugin attributes in Nailgun response?

Maciej Relewicz (rlu)
Changed in fuel:
milestone: none → 8.0
assignee: nobody → Fuel Python Team (fuel-python)
importance: Undecided → High
tags: added: area-python
Revision history for this message
Simon Pasquier (simon-pasquier) wrote :

Screenshot of the Fuel UI.

Revision history for this message
Simon Pasquier (simon-pasquier) wrote :

@Julia, I've attached a screenshot. Also it doesn't look the same as #1518993, see [1] for an ouput of the Nailgun API.

[1] http://paste.openstack.org/show/482521/

Revision history for this message
Julia Aranovich (jkirnosova) wrote :

As we can see there are no any parameters in Nailgun response to display on settings tab except version control.

Maybe it is not a duplicate of https://bugs.launchpad.net/fuel/+bug/1518993 but I think both tickets has the same reason - invalid plugin attributes parser (https://github.com/openstack/fuel-web/blob/master/nailgun/nailgun/plugins/manager.py).

The following tickets are also caused by the broken parser:
https://bugs.launchpad.net/fuel/+bug/1516973
https://bugs.launchpad.net/fuel/+bug/1516976

Dmitry Pyzhov (dpyzhov)
Changed in fuel:
status: New → Confirmed
tags: added: team-bugfix
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Vitalii Myhal (xmig)
Revision history for this message
Vitalii Myhal (xmig) wrote :
Changed in fuel:
status: Confirmed → Fix Committed
tags: added: on-verification
tags: removed: on-verification
Revision history for this message
Artem Minasyan (aminasyan) wrote :

Verified on ISO:
VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "8.0"
  api: "1.0"
  build_number: "417"
  build_id: "417"
  fuel-nailgun_sha: "9ebbaa0473effafa5adee40270da96acf9c7d58a"
  python-fuelclient_sha: "4f234669cfe88a9406f4e438b1e1f74f1ef484a5"
  fuel-agent_sha: "df16d41cd7a9445cf82ad9fd8f0d53824711fcd8"
  fuel-nailgun-agent_sha: "92ebd5ade6fab60897761bfa084aefc320bff246"
  astute_sha: "c7ca63a49216744e0bfdfff5cb527556aad2e2a5"
  fuel-library_sha: "7ef751bdc0e4601310e85b8bf713a62ed4aee305"
  fuel-ostf_sha: "214e794835acc7aa0c1c5de936e93696a90bb57a"
  fuel-mirror_sha: "b62f3cce5321fd570c6589bc2684eab994c3f3f2"
  fuelmenu_sha: "2a0def56276f0fc30fd949605eeefc43e5d7cc6c"
  shotgun_sha: "63645dea384a37dde5c01d4f8905566978e5d906"
  network-checker_sha: "9f0ba4577915ce1e77f5dc9c639a5ef66ca45896"
  fuel-upgrade_sha: "616a7490ec7199f69759e97e42f9b97dfc87e85b"
  fuelmain_sha: "cfeadd34d8d048deeabf0884931708b1d040b8a6

Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
Serg Lystopad (slystopad) wrote :

I have Fuel master node deployed using release version of ISO and the bug is still reproducible:

# cat /etc/fuel/version.yaml
VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "8.0"
  api: "1.0"
  build_number: "570"
  build_id: "570"
  fuel-nailgun_sha: "558ca91a854cf29e395940c232911ffb851899c1"
  python-fuelclient_sha: "4f234669cfe88a9406f4e438b1e1f74f1ef484a5"
  fuel-agent_sha: "658be72c4b42d3e1436b86ac4567ab914bfb451b"
  fuel-nailgun-agent_sha: "b2bb466fd5bd92da614cdbd819d6999c510ebfb1"
  astute_sha: "b81577a5b7857c4be8748492bae1dec2fa89b446"
  fuel-library_sha: "c2a335b5b725f1b994f78d4c78723d29fa44685a"
  fuel-ostf_sha: "3bc76a63a9e7d195ff34eadc29552f4235fa6c52"
  fuel-mirror_sha: "fb45b80d7bee5899d931f926e5c9512e2b442749"
  fuelmenu_sha: "78ffc73065a9674b707c081d128cb7eea611474f"
  shotgun_sha: "63645dea384a37dde5c01d4f8905566978e5d906"
  network-checker_sha: "a43cf96cd9532f10794dce736350bf5bed350e9d"
  fuel-upgrade_sha: "616a7490ec7199f69759e97e42f9b97dfc87e85b"
  fuelmain_sha: "d605bcbabf315382d56d0ce8143458be67c53434"

Revision history for this message
Denis Meltsaykin (dmeltsaykin) wrote :

Re-opening the bug per comment #8.

Changed in fuel:
status: Fix Released → New
assignee: Vitalii Myhal (xmig) → Fuel UI Team (fuel-ui)
milestone: 8.0 → 8.0-updates
Dmitry Klenov (dklenov)
Changed in fuel:
status: New → Confirmed
tags: added: area-ui
Revision history for this message
Julia Aranovich (jkirnosova) wrote :

Denis, could you please provide some screenshots for the reproduced issue and json data from cluster settings response? This will tell us about the problem.

Changed in fuel:
status: Confirmed → Incomplete
assignee: Fuel UI Team (fuel-ui) → Denis Meltsaykin (dmeltsaykin)
Revision history for this message
Denis Meltsaykin (dmeltsaykin) wrote :

Julia, I've reassigned it to the reporter.

Changed in fuel:
assignee: Denis Meltsaykin (dmeltsaykin) → sergiy (slystopad)
Revision history for this message
Ivan Ponomarev (ivanzipfer) wrote :

Please reopen after providing necessary information

Changed in fuel:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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