Deployment tasks has no ability for check whether some plugin installed.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Critical
|
Georgy Kibardin |
Bug Description
I have 2 plugins, one custom, and one, for example, contrail plugin. I want have a possibility to deploy my custom plugin with enabled contrail plugin, or with disabled(undefined)
Here is the task with condition.
- id: some_task_
groups: [compute]
type: puppet
version: 2.0.0
condition: "settings:contrail == null or settings:
requires: [deploy_start, setup_repositories]
required_for: [tools, fuel_pkgs]
parameters:
....
Here is what i see in logs when i enable only my custom plugin without contrail
/var/log/
2016-03-30 16:45:25.330 INFO [7f573fdc2880] (task) start tasks serialization.
2016-03-30 16:45:26.249 ERROR [7f573fdc2880] (manager) Traceback (most recent call last):
File "/usr/lib/
to_return = method(task, *args, **kwargs)
File "/usr/lib/
affected_nodes, task_ids, reexecutable_filter
File "/usr/lib/
method, args = message_
File "/usr/lib/
selected_
File "/usr/lib/
serializer.
File "/usr/lib/
self.
File "/usr/lib/
skipped = skip or not task_serializer
File "/usr/lib/
self.
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:
It would be great to be options.
summary: |
- Deployment fails with error Value of settings:contrail.metadata.enabled - is undefined. + Deployment tasks has no ability for check whether some plugin installed. |
Changed in fuel: | |
status: | New → Confirmed |
importance: | Undecided → High |
tags: |
added: module-nailgun removed: area-library |
tags: | added: customer-found |
description: | updated |
description: | updated |
Changed in fuel: | |
importance: | High → Critical |
assignee: | nobody → Fuel Python Team (fuel-python) |
Changed in fuel: | |
milestone: | none → 9.0 |
tags: | added: area-python |
Changed in fuel: | |
status: | Confirmed → Invalid |
tags: | added: dev-to-verify |
Changed in fuel: | |
status: | Fix Committed → Incomplete |
status: | Incomplete → Fix Committed |
(This check performed automatically)
Please, make sure that bug description contains the following sections filled in with the appropriate data related to the bug you are describing:
actual result
expected result
steps to reproduce
For more detailed information on the contents of each of the listed sections see https:/ /wiki.openstack .org/wiki/ Fuel/How_ to_contribute# Here_is_ how_you_ file_a_ bug