fuel plugins remove command not able to remove plugin in fuel9 env
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Incomplete
|
High
|
Fuel Sustaining |
Bug Description
Detailed bug description:
fuel plugins remove command not able to remove plugin in fuel9 env
Steps to reproduce:
1) Install the plugin in fuel9 env
2) List the plugins
3) Remove the plugin using "fuel plugins --remove.." command
4) Now, you will end up with errors
Expected results:
plugin has to be removed
Actual result:
below is the snapshot -
[root@nailgun ~]# fuel plugins
id | name | version | package_version | releases
---|---
3 | fuel-plugin-
[root@nailgun ~]# fuel plugins --remove fuel-plugin-
Loaded plugins: fastestmirror, priorities
Resolving Dependencies
--> Running transaction check
---> Package fuel-plugin-
--> Finished Dependency Resolution
Dependencies Resolved
=======
Package Arch Version Repository Size
=======
Removing:
fuel-plugin-
Transaction Summary
=======
Remove 1 Package
Installed size: 169 k
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
/var/tmp/
/var/tmp/
error: %preun(
Error in PREUN scriptlet in rpm package fuel-plugin-
Verifying : fuel-plugin-
Failed:
fuel-
Complete!
Shell command executed with "1" exit code: yum -y remove fuel-plugin-
[root@nailgun ~]#
Reproducibility:
Yes
Workaround:
No workaround
Impact:
Users can't remove the plugin and they can't use the fuel9 env to deploy the plugin.
Description of the environment:
Operation system: Ubuntu 14.04
Versions of components: stable/mitaka
Reference architecture: <put your information here>
Network model: <put your information here>
Related projects installed: <put your information here>
Additional information:
This issue has to be fixed in "fuel plugins.." command for remove action.
Currently, when "fuel plugins --remove.." command executed, it is trying to remove the rpm package using "yum -y remove.." command and here it is failing! You can see the error as below -
Shell command executed with "1" exit code: yum -y remove fuel-plugin-
So, if fuel plugins command fails to remove using "yum -y remove.." command then it has to try internally with "yum --setopt=
Once if above solution included inside "fuel plugins --remove.." command then users won't face this issue.
description: | updated |
description: | updated |
Changed in fuel: | |
milestone: | none → 9.0 |
assignee: | nobody → Fuel Sustaining (fuel-sustaining-team) |
importance: | Undecided → High |
status: | New → Confirmed |
tags: | added: area-python |
Looks like duplicate for bug #1574478. Please rebuild the plugin with new version of plugin builder and check if the issue still exists.