Schema validator for user_variables.yml

Bug #1409196 reported by Ian Cordasco
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Triaged
Wishlist
Ian Cordasco

Bug Description

When updating or creating user_variables.yml files, there's enough content that mistakes can be made and then cryptic exceptions like http://paste.openstack.org/show/156178/ returned to the user. It might be a good idea to use JSON Schema to give users a way to validate the user_variables.yml file and detect errors before attempting to run the playbook.

I'm happy to take care of this if it's something we actually want to include.

Ian Cordasco (icordasc)
Changed in openstack-ansible:
assignee: nobody → Ian Cordasco (icordasc)
Revision history for this message
Ian Cordasco (icordasc) wrote :

https://github.com/sigmavirus24/schema-validator is a proof that this is entirely possible with two schema in the tree for rpc_user_config.yml and user_variables.yml. Let me know what you think.

Changed in openstack-ansible:
milestone: none → next
Changed in openstack-ansible:
milestone: next → none
Changed in openstack-ansible:
milestone: none → 11.1.1
Revision history for this message
Jesse Pretorius (jesse-pretorius) wrote :

As this is a considerable body of work, I'll target it for 11.2.0. If it's ready beforehand it can be retargeted.

Changed in openstack-ansible:
milestone: 11.1.1 → 11.2.0
Changed in openstack-ansible:
milestone: 11.2.0 → none
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.