'Textarea' used on settings tab should be validated on empty values
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel Plugins |
New
|
Undecided
|
Unassigned | ||
Fuel for OpenStack |
Invalid
|
High
|
Fuel UI Team |
Bug Description
Steps:
1. Install plugin on master (https:/
2. Create cluster with default values
3. Open settings tab, enable rabbit plugin, delete all from 'Additional config' textarea
4. Add 1 controller, 1 compute, 1 cinder, 1 rabbit node
5. Start deployment
Actual result - deployment failed with
2015-08-25 10:09:18 +0000 Puppet (err): can't convert Hash into String at /etc/fuel/
It happened because textarea was empty and wasn't parsed into yaml correctly.
Expected - plugin framework should allow to specify textarea as required to be it validated on UI to prevent such errors
Logs are attached
Changed in fuel: | |
importance: | Undecided → High |
assignee: | nobody → Fuel Python Team (fuel-python) |
milestone: | none → 7.0 |
Changed in fuel-plugins: | |
assignee: | nobody → Sergii Golovatiuk (sgolovatiuk) |
Changed in fuel: | |
status: | Fix Committed → Opinion |
Changed in fuel-plugins: | |
assignee: | Sergii Golovatiuk (sgolovatiuk) → nobody |
I was suggested workaround to add to yaml, will try it too
source: '^\w+$'
regex:
error: "Empty field"