Plugin sync/update does not remove legacy tasks
Bug #1648223 reported by
Evgeniy L
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Evgeniy L | ||
Mitaka |
Fix Released
|
Undecided
|
Evgeniy L | ||
Newton |
Fix Committed
|
Undecided
|
Evgeniy L |
Bug Description
Detailed bug description:
If plugins has tasks.yaml and in second version it was emptied, Nailgun does not remove them from database.
Steps to reproduce:
Create plugin with tasks in tasks.yaml file.
Install it on the environment.
Create second version of the same plugin, but now remove tasks.yaml or make it empty.
Update installed plugin, or run `fuel plugins --sync`
Expected results:
Tasks removed.
Actual result:
Tasks were not removed.
Reproducibility:
100%
Workaround:
Set '[]' for tasks field in database.
Impact:
Breaks plugins updates for many users.
Description of the environment:
Fuel: 9.1
tags: | added: on-verification |
Changed in fuel: | |
status: | Fix Committed → In Progress |
Changed in fuel: | |
milestone: | 9.2 → 11.0 |
status: | In Progress → Fix Committed |
tags: | removed: on-verification |
tags: | added: on-verification |
To post a comment you must log in.
Just for the history, there was a fix, but it does not fix the problem https:/ /review. openstack. org/#/c/ 378574/