Executor host arbitrary string fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mistral |
New
|
Undecided
|
Unassigned |
Bug Description
In mistral/
cfg.
'host',
'is defined for a task then the action of the task will be '
Entering a value that isn't a hostname / FQDN / IP results in mistral failing to start.
Traceback (most recent call last):
File "/var/lib/
value = self.hostname(
File "/var/lib/
raise ValueError("%s is an invalid hostname" % value)
ValueError: executor_pool is an invalid hostname
Changing the type of config option to StrOpt solves the issue, mistral starts and tasks with the "target" attribute set to the string are sent to the correct executors.