fuel plugins --install for plugin with duplicated task id
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
In Progress
|
Medium
|
Vitalii Kulanov | ||
Mitaka |
Won't Fix
|
Medium
|
Vitalii Kulanov | ||
Newton |
In Progress
|
Medium
|
Vitalii Kulanov |
Bug Description
Given we have a plugin with a task_id collided with another task_id in the same plugin.
fpb doesn't complain about it, but it should've.
Even though fuel plugins --install prints errors about duplicated task_ids, the plugin ends up installed.
But it doesn't work, because information from it only partially was inserted into DB.
Exit code of such a faulty installation ends up 0.
ISO version: 8.0
Step to reproduce
Install a plugins with duplicated task_id
Expected behavior:
fpb doesn't build a plugin with duplicated task_id
the plugin isn't installed
fuel plugins returns non-zero exit code
Actual behavior:
fpb doesn't complain about duplicated task_id and build plugin
the plugin is installed
fuel plugins returns 0
description: | updated |
summary: |
- [nailgun] fuel plugins --install for plugin with duplicated task id + fuel plugins --install for plugin with duplicated task id |
Changed in fuel: | |
milestone: | none → 9.0 |
assignee: | nobody → Fuel Python Team (fuel-python) |
tags: | added: feature-plugins |
description: | updated |
tags: | added: customer-found |
Changed in fuel: | |
status: | New → Confirmed |
Changed in fuel: | |
importance: | Undecided → Medium |
Changed in fuel: | |
milestone: | 10.0 → 11.0 |
FPB is just generator of basic skeleton and validates correctness of plugin attributes structure not identifiers. Actually during build process FPB knows nothing about other plugins and it shouldn't.