Taskflow doesn't treat boolean configuration properly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
taskflow |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
At the moment taskflow just tries to load the configuration with getting attribute from passed config and assuming it's boolean:
https:/
In fact, at least octavia does pass variables as str and not as bool.
So in case in octavia.conf you will define following:
[task_flow]
jobboard_
taskflow will end up with wrong behaviour. Since type(self.
While with use_ssl it's not _that_ critical as default value is False, so to disable you can simply skip defining the variable, for verify_certs and check_compatible things are way worse.
affects: | taskflow → octavia |
affects: | octavia → taskflow |
no longer affects: | octavia (Ubuntu) |
Changed in taskflow: | |
status: | New → In Progress |
Yes, the config values have to be sanitized (the redis backend already converts the values to booleans), I can work on it.