plugins cannot be removed even if the environment was reset
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
High
|
Fedor Zhadaev | ||
8.0.x |
Invalid
|
High
|
Fedor Zhadaev |
Bug Description
Once a plugin has been enabled, it seems that it can no longer be removed even if the environment is reset and the roles are no longer in use.
Steps to reproduce:
1. install a plugin
2. attempt to deploy with plugin (add the role to a node)
3. stop deployment
4. reset environment
5. remove role from node
6. uncheck plugin from settings page
7. attempt to remove plugin via cli
8. error indicating plugin is still in use
[root@nailgun ~]# fuel plugins --remove fuel-plugin-
400 Client Error: Bad Request (Can't delete plugin which is enabled for some environment.)
Expected results:
Plugin should be able to be removed if it is no longer configured
Actual results:
Plugin cannot be removed as it is still claiming to be in use.
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "8.0"
api: "1.0"
build_number: "283"
build_id: "283"
fuel-nailgun_sha: "073beb9f02e103
python-
fuel-agent_sha: "2f18b7596bc7da
fuel-
astute_sha: "f7df18ab6b2089
fuel-library_sha: "66fc43373039a2
fuel-ostf_sha: "632730169e8c01
fuel-mirror_sha: "31b9df814960ec
fuelmenu_sha: "680b720291ff57
shotgun_sha: "a0bd0650806793
network-
fuel-upgrade_sha: "1e894e26d4e142
fuelmain_sha: "1577a306c2c9e7
Here's a basic plugin that was I was able to reproduce this with, https:/
Changed in fuel: | |
status: | New → Confirmed |
assignee: | nobody → Fuel Python Team (fuel-python) |
importance: | Undecided → High |
tags: | added: area-plugins area-python |
tags: |
added: team-enhancements removed: area-plugins |
Changed in fuel: | |
milestone: | 8.0 → 9.0 |
assignee: | Fuel Python Team (fuel-python) → Fedor Zhadaev (fzhadaev) |
status: | Confirmed → In Progress |
Cannot reproduce bug. After provided steps plugin deleted successfully.
VERSION: af41cc0b10d63a5 0c198fe77d8" fuelclient_ sha: "4f234669cfe88a 9406f4e438b1e1f 74f1ef484a5" 5cf82ad9fd8f0d5 3824711fcd8" nailgun- agent_sha: "92ebd5ade6fab6 0897761bfa084ae fc320bff246" 4e0bfdfff5cb527 556aad2e2a5" 87a10cc19e9ce6a 62298cc4013" aa0c1c5de936e93 696a90bb57a" 570c6589bc2684e ab994c3f3f2" a18e5325f06eaf6 54b1b931592" dde5c01d4f89055 66978e5d906" checker_ sha: "9f0ba4577915ce 1e77f5dc9c639a5 ef66ca45896" f69759e97e42f9b 97dfc87e85b" 576d7853c80b8a5 3d5b955420a"
feature_groups:
- mirantis
production: "docker"
release: "8.0"
api: "1.0"
build_number: "429"
build_id: "429"
fuel-nailgun_sha: "12b15b2351e250
python-
fuel-agent_sha: "df16d41cd7a944
fuel-
astute_sha: "c7ca63a4921674
fuel-library_sha: "3eaf4f4a9b88b2
fuel-ostf_sha: "214e794835acc7
fuel-mirror_sha: "b62f3cce5321fd
fuelmenu_sha: "85de57080a18fd
shotgun_sha: "63645dea384a37
network-
fuel-upgrade_sha: "616a7490ec7199
fuelmain_sha: "e8e36cff332644