8399965ed0
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 |
||
---|---|---|
.. | ||
.placeholder | ||
apt-sources-reduction-8e047a75ac555663.yaml | ||
ceilometer-keystone-v3-4cc85b056e2491b2.yaml | ||
check_user-config_accuracy-3318f215a8d84b7d.yaml | ||
conditional-nova-uid-gid-f75c1faa0c3da575.yaml | ||
container-cache-file-copy-5ce4a16ded8fb1da.yaml | ||
default-enable-host-security-hardening-eb73923218abbc2c.yaml | ||
disable_slave_repo_during_sync-958bc6696546378e.yaml | ||
get-pip-options-change-d56868ed012e154f.yaml | ||
haproxy_ssl_terminiation-cdf0092a5bfa34b5.yaml | ||
haproxy-install-setup-infrastructure-d1d17fd1a92b68a9.yaml | ||
haproxy-logs-82fb9270d3d43e32.yaml | ||
horizon-customization-be7282fad552983b.yaml | ||
inventory-arg-change-7d882d024187eb15.yaml | ||
ironic-integration-264c4ed622a3a04e.yaml | ||
keepalived-upgrade-e63a11b7d4dcba20.yaml | ||
keystone-remove-default-domain-file-03c6908cd23427dc.yaml | ||
keystone-v3-default-5eee0f7ca51bde58.yaml | ||
limited-mycnf-distribution-61903b3b247db0ff.yaml | ||
lxc_cache_download_ssl_verify-781d948fc0b98d84.yaml | ||
memcached-logging-change-8825c2bdbcf824b9.yaml | ||
multiple-ips-for-host-f27cb1f1e878640d.yaml | ||
multiple-ldap-domains-f188f65678216587.yaml | ||
neutron-enable-lbaasv2-agent-bc402800792d4c3c.yaml | ||
neutron-fwaas-5c7c6508f2cc05c3.yaml | ||
neutron-nova-notifications-2d1cc493043fa8f8.yaml | ||
neutron-openvswitch-agent-group-a63da4af11202790.yaml | ||
neutron-vpnaas-5c7c6508f2cc05c5.yaml | ||
no-more-repo-clone-5b0def2826e11be8.yaml | ||
nova-api-db-added-fe0524840a3e269d.yaml | ||
nova-default-schedule-zone-934e236985f34cf4.yaml | ||
openstack_environment-754fe3c504d2aa7a.yaml | ||
openstack-ansible-rabbitmq_server-adding-erlang-parameters-3f7db4605d57a6f8.yaml | ||
openstack-ansible-security-integration-b4fffbbf7fdc1ecb.yaml | ||
paramiko-2-0-dependencies-9a7c7fe9aeb394e4.yaml | ||
pip-setuptools-wheel-pins-25494191c4739d52.yaml | ||
plugin-folder-rename-359378939fda5ce1.yaml | ||
python2-lxc-git-removal-5d20c07d80aaa75b.yaml | ||
rabbimq-ssl-611102b1525ba5c2.yaml | ||
remove-container-release-fa49ff23ca8c1324.yaml | ||
remove-deprecated-configs-71a4281809671cc1.yaml | ||
swift-os-sync-merge-070168462c9eef81.yaml | ||
updated-neutron-plugin_base-25b5dcacc87acd0f.yaml | ||
updated-repo-build-26c0f7020e3257fa.yaml | ||
var_neutron_service_names-f58009c519a22483.yaml |