It is impossible to activate hotpluggable plugin version in deployed environment

Bug #1530040 reported by Julia Aranovich
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Vitaly Kramskikh

Bug Description

If a plugin has a few versions and some of them are hotpluggable and others are not, then it is impossible to activate hotpluggable version in already deployed environment (if the environment was deployed with a not hotpluggable version of the plugin): plugin checkbox is disabled, versions radio group is locked too.

Changed in fuel:
status: Confirmed → In Progress
Changed in fuel:
assignee: Julia Aranovich (jkirnosova) → Vitaly Kramskikh (vkramskikh)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/262183
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=302af176b9aefa5106d8e8b2ad63a8a22144ae9d
Submitter: Jenkins
Branch: master

commit 302af176b9aefa5106d8e8b2ad63a8a22144ae9d
Author: Julia Aranovich <email address hidden>
Date: Mon Dec 28 16:19:01 2015 +0300

    Enable switching to hotpluggable plugin version in deployed environment

    Closes-Bug: #1530040

    Change-Id: If9c21a70a9512791bd45ef330d225fe7d4e96829

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (stable/8.0)

Fix proposed to branch: stable/8.0
Review: https://review.openstack.org/262554

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (stable/8.0)

Reviewed: https://review.openstack.org/262554
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=9c19b9620cd358bee194122e2148376c6fd13b78
Submitter: Jenkins
Branch: stable/8.0

commit 9c19b9620cd358bee194122e2148376c6fd13b78
Author: Julia Aranovich <email address hidden>
Date: Mon Dec 28 16:19:01 2015 +0300

    Enable switching to hotpluggable plugin version in deployed environment

    Closes-Bug: #1530040

    Change-Id: If9c21a70a9512791bd45ef330d225fe7d4e96829
    (cherry picked from commit 302af176b9aefa5106d8e8b2ad63a8a22144ae9d)

Vladimir (vushakov)
tags: added: on-verification
Revision history for this message
Vladimir (vushakov) wrote :

Bug was reproduced on:
VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "8.0"
  api: "1.0"
  build_number: "509"
  build_id: "509"
  fuel-nailgun_sha: "8e954abd70ef0083109f34289de2553dcda544d4"
  python-fuelclient_sha: "4f234669cfe88a9406f4e438b1e1f74f1ef484a5"
  fuel-agent_sha: "658be72c4b42d3e1436b86ac4567ab914bfb451b"
  fuel-nailgun-agent_sha: "b2bb466fd5bd92da614cdbd819d6999c510ebfb1"
  astute_sha: "b81577a5b7857c4be8748492bae1dec2fa89b446"
  fuel-library_sha: "ec7e212972ead554f21b52b9e165156665f659df"
  fuel-ostf_sha: "ab5fd151fc6c1aa0b35bc2023631b1f4836ecd61"
  fuel-mirror_sha: "351d568fa3b3e4dd062054b91d766aa54d379867"
  fuelmenu_sha: "234cb4cbb30fbd2df00f388c28f31606d9cae15f"
  shotgun_sha: "63645dea384a37dde5c01d4f8905566978e5d906"
  network-checker_sha: "a43cf96cd9532f10794dce736350bf5bed350e9d"
  fuel-upgrade_sha: "616a7490ec7199f69759e97e42f9b97dfc87e85b"
  fuelmain_sha: "94507c5e4dad6d8cfbd8f5d41aa8389d5335990a"

with fuel_plugin_example_v4 plugin. Plugin v4.0.0 was built with is_hotpluggable: false and was installed during the cluster deployment. Plugin v4.1.0 was built with is_hotpluggable: true. After deployment version radio group is active. During version change saving process the error message appeared:
Plugin 'fuel_plugin_example_v4' version '4.0.0' couldn't be changed after or during deployment.

Changed in fuel:
status: Fix Committed → Confirmed
Revision history for this message
Ihor Kalnytskyi (ikalnytskyi) wrote :

@vushakov,

First of all, the origin issue was about Fake UI and our sample_plugins.json fixture.

Second, you can't install the same plugin with bumped version later and expect it to be applied. Please, build another plugin (change the plugin name) and try again.

Changed in fuel:
status: Confirmed → Fix Committed
tags: removed: on-verification
tags: added: on-verification
Changed in fuel:
status: Fix Committed → Fix Released
tags: removed: on-verification
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.