Lack of default for NovaPCIPassthrough breaks the UI JSON validation
Bug #1645266 reported by
Julie Pichon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Florian Fuchs |
Bug Description
The NovaPCIPassthrough doesn't seem to have a default set, and so fails the UI validation for "valid JSON strings" before the user even tries to modify it.
Steps to reproduce
------------------
1. Click on the pencil besides the Compute role to edit it
2. Services -> OS::TripleO:
Expected result
---------------
3. Every parameter is displayed with no form validation failures
Actual result
-------------
3. NovaPCIPassthrough is shown in red with "Please enter a valid JSON string." It's not possible to save any change until this is resolved.
Additional information
-------
See related bug 1638523
summary: |
- No valid default for NovaPCIPassthrough + Lack of default for NovaPCIPassthrough breaks the UI JSON validation |
Changed in tripleo: | |
assignee: | nobody → Florian Fuchs (flo-fuchs) |
tags: | added: newton-backport-potential |
Changed in tripleo: | |
milestone: | none → ocata-2 |
To post a comment you must log in.
The default is explicitly set to an empty string: https:/ /github. com/openstack/ tripleo- heat-templates/ blob/master/ puppet/ services/ nova-compute. yaml#L43- L55