Role introduced by plugin can not be assigned to node through fuel cli
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Bulat Gaifullin | ||
Mitaka |
Fix Released
|
High
|
Bulat Gaifullin |
Bug Description
*Detailed bug description:*
When I try assign custom role added by plugin using fuel cli I get error:
500 Server Error: Internal Server Error for url: http://
File "/usr/lib/
valid_data = method(data, **kwargs)
File "/usr/lib/
dict_
File "/usr/lib/
'version': settings.VERSION,
File "/usr/lib/
models, roles_metadata[
File "/usr/lib/
filterd_
File "/usr/lib/
strict=
File "/usr/lib/
return self.compiled_
File "/usr/lib/
self.evaluate()
File "/usr/lib/
self.value = self.subexpress
File "/usr/lib/
result = lambda: arg1() == arg2()
File "/usr/lib/
self.evaluate()
File "/usr/lib/
' to false to allow undefined values.
TypeError: Value of settings:
)
When I assign role through Web UI I don't see error.
*Steps to reproduce*
Install and enable plugin which introduce new role, for example https:/
Try to assign custom role to node:
fuel node set --node-id 1 --role standalone-rabbitmq --env 1
*Expected results*
Role assignment should be possible with fuel cli and web ui
*Actual result*
It is not possible to assign custom plugin role through fuel cli
*Environment*
Fuel 9.0
Snapshot: https:/
BUILD_ID: 412
no longer affects: | fuel/newton |
Changed in fuel: | |
assignee: | Fuel Sustaining (fuel-sustaining-team) → Matthew Mosesohn (raytrac3r) |
tags: |
added: non-release removed: area-python |
tags: |
added: area-python removed: non-release |
tags: | added: on-verification |
need to fix restriction in role metadata of plugin, or add option strict=False
The error message contains right suggestion :) '.format( self.path) ) detach- rabbitmq. metadata. enabled is undefined. Set options.strict to false to allow undefined values.
' to false to allow undefined values.
TypeError: Value of settings: