RoleValidator doesn't take into account volumes metadata from plugins
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
High
|
Fuel Sustaining | ||
Mitaka |
Invalid
|
High
|
Vladimir Kuklin |
Bug Description
"fuel role --update" is failed if role metadata contains custom volume defined by some fuel plugin:
# fuel role --rel 2 --role aic-swift-storage --update --file ./aic-swift-
400 Client Error: Bad Request for url: http://
Fuel plugin can provide custom volume metadata. Refer to method get_volumes_
Steps to reproduce:
1) Install fuel plugin that provides custom volume (new volume with id 'swift-storage' - in our case);
2) assume that at a post-install step roles that use that custom volume from plugin are created; *
3) Update plugin to a newer version;
4) assume that after plugin update roles are going to be updated from updated yaml files. *
*Steps 2,4 can actually be done manually, without losing generality.
Expected results:
Roles are updated according to a metadata provided with updated fuel plugin.
Actual result:
"fuel role --update" is failed for roles with custom volumes in volumes_
Reproducibility: always
Workaround: no
Impact: User is not able to update roles with new metadata.
Thus, if new version of fuel plugin contains change for allocate_size in volumes_
tags: | added: area-python |
Changed in fuel: | |
milestone: | none → 9.1 |
assignee: | nobody → Fuel Sustaining (fuel-sustaining-team) |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in fuel: | |
milestone: | 9.1 → 10.0 |
Can you, please, specify fuel version?