parseyaml in detach-* plugins doesn't work if there is no data

Bug #1582228 reported by Matthew Mosesohn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Matthew Mosesohn

Bug Description

Detailed bug description:
 By default, there is no data in the additional YAML field, only comments. parseyaml returns undef instead of false as it did before.
Steps to reproduce:
 Install detach-database plugin and deploy 1 controller, 1 database node.
Expected results:
 Deploy successful
Actual result:
 Error: settings_hash_real is not a hash or array when accessing it with remote_keystone at /etc/fuel/plugins/detach-keystone-1.0/hiera-override.pp:27 on node node-4.test.domain.local
Reproducibility:
 Always
Workaround:
 N/A
Impact:
 Affects any parseyaml that tries to evaluate the output
Description of the environment:
 Operation system: <put your information here>
 Versions of components: <put your information here>
 Reference architecture: <put your information here>
 Network model: <put your information here>
 Related projects installed: <put your information here>
Additional information:
 <put your information here>

Changed in fuel:
milestone: none → 10.0
assignee: nobody → Matthew Mosesohn (raytrac3r)
importance: Undecided → High
status: New → In Progress
Changed in fuel:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.