custom links remains in Fuel Dashboard after reset environment

Bug #1578700 reported by Vasiliy Pleshakov
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Georgy Kibardin
Mitaka
Fix Committed
Medium
Georgy Kibardin

Bug Description

Detailed bug description:
While developing fuel plugin we found that links registered in fuel with POST call /api/clusters/<cluster_id>/plugin_links remains in environment after reset environment.
Steps to reproduce:
1. install on fuel 9 any plugin which register it's own links (or get ours LCM plugin https://gerrit.mirantis.com/#/q/project:att-lcm/lcm-plugin)
2. deploy env and get additional link at fuel dashboard.
3. reset env.
4. remove plugin from env settings
5. deploy env again.
Expected results:
plugin related link must not be at fuel dashboard.
Actual result:
plugin related link persists at fuel dashboard.
Reproducibility:
always
Workaround:
unknown
Impact:
unknown
Description of the environment:
 Operation system: fuel 9 with Centos 7
 Versions of components: fuel 9 with plugins
 Reference architecture: N/A
 Network model: N/A
 Related projects installed: LCM plugin https://gerrit.mirantis.com/#/q/project:att-lcm/lcm-plugin
Additional information:

I'm not sure is it responsibility of plugin's author to remove those links. If it is please show me how to remove it from within plugin code.

Tags: area-python
Changed in fuel:
milestone: none → 9.0
assignee: nobody → Fuel Sustaining (fuel-sustaining-team)
milestone: 9.0 → 10.0
importance: Undecided → Medium
tags: added: area-python
Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

Medium priority bugs are not to be backported

no longer affects: fuel/newton
Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Georgy Kibardin (gkibardin)
Changed in fuel:
status: Confirmed → In Progress
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/335534

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

Reviewed: https://review.openstack.org/335534
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=8e73412a2df49cd42beb5c4601c6802d91a6a278
Submitter: Jenkins
Branch: master

commit 8e73412a2df49cd42beb5c4601c6802d91a6a278
Author: Georgy Kibardin <email address hidden>
Date: Wed Jun 29 17:34:44 2016 +0300

    Cleanup plugin links upon a cluster reset

    Currently plugin links survive cluster reset and there is no way to get
    rid of them. Cluster reset seems like a reasonable place to get rid of
    them.

    Change-Id: Id88c54b34a162881c6662ee1acb6090d4fee3fae
    Closes-Bug: #1578700

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-web 10.0.0rc1

This issue was fixed in the openstack/fuel-web 10.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-web 10.0.0

This issue was fixed in the openstack/fuel-web 10.0.0 release.

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

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/408033

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

Reviewed: https://review.openstack.org/408033
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=4a4da370717edff94925ccc8e91cfa16aa57597a
Submitter: Jenkins
Branch: stable/mitaka

commit 4a4da370717edff94925ccc8e91cfa16aa57597a
Author: Georgy Kibardin <email address hidden>
Date: Wed Jun 29 17:34:44 2016 +0300

    Cleanup plugin links upon a cluster reset

    Currently plugin links survive cluster reset and there is no way to get
    rid of them. Cluster reset seems like a reasonable place to get rid of
    them.

    Change-Id: Id88c54b34a162881c6662ee1acb6090d4fee3fae
    Closes-Bug: #1578700
    (cherry picked from commit 8e73412a2df49cd42beb5c4601c6802d91a6a278)

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.