
When parsing the openstack_user_config.yml file, the code would not account for user mistakes when multiple IP addresses were specified for the same hostname. When multiple IP addresses were specified, the last one parsed would be written to the inventory. This change instead throws a runtime error when this situation arises, so that the invalid config cannot be written. The tox.ini configuration is modified to make sure that the insert order on the configuration dictionary is the same on every run of the tests. Were this not set, the insertion order may well change dependon on the hash seed, which would cause test failures because the assertions would not match. An OrderedDict is also used to ensure platform differences don't affect testing order. The behavior of this class shouldn't differ from normal dictionaries in a way that invalidates the test cases. Change-Id: I7c724b1dd668a8372bf2dafaf3461e0a3cb1a557
OpenStack-Ansible
OpenStack-Ansible is an official OpenStack project which aims to deploy production environments from source in a way that makes it scalable while also being simple to operate, upgrade, and grow.
For an overview of the mission, repositories and related Wiki home page, please see the formal Home Page for the project.
For those looking to test OpenStack-Ansible using an All-In-One (AIO) build, please see the Quick Start guide.
For more detailed Installation and Operator documentation, please see the Install Guide.
If OpenStack-Ansible is missing something you'd like to see included, then we encourage you to see the Developer Documentation for more details on how you can get involved.
Developers wishing to work on the OpenStack-Ansible project should always base their work on the latest code, available from the master GIT repository at Source.
If you have some questions, or would like some assistance with
achieving your goals, then please feel free to reach out to us on the OpenStack Mailing Lists
(particularly openstack-operators or openstack-dev) or on IRC in
#openstack-ansible
on the freenode network.