Details

Result

Field Value
changed
True
cmd
[
    "/usr/local/bin/openstack-host-hostfile-setup.sh"
]
delta
0:00:00.175159
end
2020-01-31 16:15:27.633839
rc
0
start
2020-01-31 16:15:27.458680
stderr
+ host_update aio1-cinder-api-container-18a23db6 aio1-cinder-api-container-18a23db6 aio1_cinder_api_container-18a23db6 172.29.236.197 openstack.local
+ ANSHOSTNAME=aio1-cinder-api-container-18a23db6
+ RFCHOSTNAME=aio1-cinder-api-container-18a23db6
+ INVHOSTNAME=aio1_cinder_api_container-18a23db6
+ IPADDR=172.29.236.197
+ DOMAINNAME=openstack.local
+ [[ aio1-cinder-api-container-18a23db6 != \a\i\o\1\-\c\i\n\d\e\r\-\a\p\i\-\c\o\n\t\a\i\n\e\r\-\1\8\a\2\3\d\b\6 ]]
+ [[ aio1-cinder-api-container-18a23db6 != \a\i\o\1\-\c\i\n\d\e\r\-\a\p\i\-\c\o\n\t\a\i\n\e\r\-\1\8\a\2\3\d\b\6 ]]
+ [[ aio1-cinder-api-container-18a23db6 == \a\i\o\1\-\c\i\n\d\e\r\-\a\p\i\-\c\o\n\t\a\i\n\e\r\-\1\8\a\2\3\d\b\6 ]]
+ [[ aio1-cinder-api-container-18a23db6 == \a\i\o\1\_\c\i\n\d\e\r\_\a\p\i\_\c\o\n\t\a\i\n\e\r\-\1\8\a\2\3\d\b\6 ]]
+ insert_host_entry '172.29.236.197 aio1-cinder-api-container-18a23db6.openstack.local aio1-cinder-api-container-18a23db6 aio1_cinder_api_container-18a23db6' 172.29.236.197
+ ENTRY='172.29.236.197 aio1-cinder-api-container-18a23db6.openstack.local aio1-cinder-api-container-18a23db6 aio1_cinder_api_container-18a23db6'
+ ADDR=172.29.236.197
++ wc -l
++ grep '^172.29.236.197\b' /etc/hosts
+ [[ 0 -ge 2 ]]
+ grep -q '^172.29.236.197\b' /etc/hosts
+ grep -q '^172.29.236.197 aio1-cinder-api-container-18a23db6.openstack.local aio1-cinder-api-container-18a23db6 aio1_cinder_api_container-18a23db6$' /etc/hosts
+ tee -a /etc/hosts
+ echo '172.29.236.197 aio1-cinder-api-container-18a23db6.openstack.local aio1-cinder-api-container-18a23db6 aio1_cinder_api_container-18a23db6'
+ host_update aio1 aio1 aio1 172.29.236.100 openstack.local
+ ANSHOSTNAME=aio1
+ RFCHOSTNAME=aio1
+ INVHOSTNAME=aio1
+ IPADDR=172.29.236.100
+ DOMAINNAME=openstack.local
+ [[ aio1 != \a\i\o\1 ]]
+ [[ aio1 != \a\i\o\1 ]]
+ [[ aio1 == \a\i\o\1 ]]
+ [[ aio1 == \a\i\o\1 ]]
+ insert_host_entry '172.29.236.100 aio1.openstack.local aio1' 172.29.236.100
+ ENTRY='172.29.236.100 aio1.openstack.local aio1'
+ ADDR=172.29.236.100
++ grep '^172.29.236.100\b' /etc/hosts
++ wc -l
+ [[ 0 -ge 2 ]]
+ grep -q '^172.29.236.100\b' /etc/hosts
+ grep -q '^172.29.236.100 aio1.openstack.local aio1$' /etc/hosts
+ echo '172.29.236.100 aio1.openstack.local aio1'
+ tee -a /etc/hosts
+ host_update aio1-nova-api-container-732da3b7 aio1-nova-api-container-732da3b7 aio1_nova_api_container-732da3b7 172.29.237.141 openstack.local
+ ANSHOSTNAME=aio1-nova-api-container-732da3b7
+ RFCHOSTNAME=aio1-nova-api-container-732da3b7
+ INVHOSTNAME=aio1_nova_api_container-732da3b7
+ IPADDR=172.29.237.141
+ DOMAINNAME=openstack.local
+ [[ aio1-nova-api-container-732da3b7 != \a\i\o\1\-\n\o\v\a\-\a\p\i\-\c\o\n\t\a\i\n\e\r\-\7\3\2\d\a\3\b\7 ]]
+ [[ aio1-nova-api-container-732da3b7 != \a\i\o\1\-\n\o\v\a\-\a\p\i\-\c\o\n\t\a\i\n\e\r\-\7\3\2\d\a\3\b\7 ]]
+ [[ aio1-nova-api-container-732da3b7 == \a\i\o\1\-\n\o\v\a\-\a\p\i\-\c\o\n\t\a\i\n\e\r\-\7\3\2\d\a\3\b\7 ]]
+ [[ aio1-nova-api-container-732da3b7 == \a\i\o\1\_\n\o\v\a\_\a\p\i\_\c\o\n\t\a\i\n\e\r\-\7\3\2\d\a\3\b\7 ]]
+ insert_host_entry '172.29.237.141 aio1-nova-api-container-732da3b7.openstack.local aio1-nova-api-container-732da3b7 aio1_nova_api_container-732da3b7' 172.29.237.141
+ ENTRY='172.29.237.141 aio1-nova-api-container-732da3b7.openstack.local aio1-nova-api-container-732da3b7 aio1_nova_api_container-732da3b7'
+ ADDR=172.29.237.141
++ grep '^172.29.237.141\b' /etc/hosts
++ wc -l
+ [[ 0 -ge 2 ]]
+ grep -q '^172.29.237.141\b' /etc/hosts
+ grep -q '^172.29.237.141 aio1-nova-api-container-732da3b7.openstack.local aio1-nova-api-container-732da3b7 aio1_nova_api_container-732da3b7$' /etc/hosts
+ tee -a /etc/hosts
+ echo '172.29.237.141 aio1-nova-api-container-732da3b7.openstack.local aio1-nova-api-container-732da3b7 aio1_nova_api_container-732da3b7'
+ host_update aio1-horizon-container-f8d585ea aio1-horizon-container-f8d585ea aio1_horizon_container-f8d585ea 172.29.237.8 openstack.local
+ ANSHOSTNAME=aio1-horizon-container-f8d585ea
+ RFCHOSTNAME=aio1-horizon-container-f8d585ea
+ INVHOSTNAME=aio1_horizon_container-f8d585ea
+ IPADDR=172.29.237.8
+ DOMAINNAME=openstack.local
+ [[ aio1-horizon-container-f8d585ea != \a\i\o\1\-\h\o\r\i\z\o\n\-\c\o\n\t\a\i\n\e\r\-\f\8\d\5\8\5\e\a ]]
+ [[ aio1-horizon-container-f8d585ea != \a\i\o\1\-\h\o\r\i\z\o\n\-\c\o\n\t\a\i\n\e\r\-\f\8\d\5\8\5\e\a ]]
+ [[ aio1-horizon-container-f8d585ea == \a\i\o\1\-\h\o\r\i\z\o\n\-\c\o\n\t\a\i\n\e\r\-\f\8\d\5\8\5\e\a ]]
+ [[ aio1-horizon-container-f8d585ea == \a\i\o\1\_\h\o\r\i\z\o\n\_\c\o\n\t\a\i\n\e\r\-\f\8\d\5\8\5\e\a ]]
+ insert_host_entry '172.29.237.8 aio1-horizon-container-f8d585ea.openstack.local aio1-horizon-container-f8d585ea aio1_horizon_container-f8d585ea' 172.29.237.8
+ ENTRY='172.29.237.8 aio1-horizon-container-f8d585ea.openstack.local aio1-horizon-container-f8d585ea aio1_horizon_container-f8d585ea'
+ ADDR=172.29.237.8
++ grep '^172.29.237.8\b' /etc/hosts
++ wc -l
+ [[ 0 -ge 2 ]]
+ grep -q '^172.29.237.8\b' /etc/hosts
+ grep -q '^172.29.237.8 aio1-horizon-container-f8d585ea.openstack.local aio1-horizon-container-f8d585ea aio1_horizon_container-f8d585ea$' /etc/hosts
+ tee -a /etc/hosts
+ echo '172.29.237.8 aio1-horizon-container-f8d585ea.openstack.local aio1-horizon-container-f8d585ea aio1_horizon_container-f8d585ea'
+ host_update aio1-galera-container-a9dded99 aio1-galera-container-a9dded99 aio1_galera_container-a9dded99 172.29.237.177 openstack.local
+ ANSHOSTNAME=aio1-galera-container-a9dded99
+ RFCHOSTNAME=aio1-galera-container-a9dded99
+ INVHOSTNAME=aio1_galera_container-a9dded99
+ IPADDR=172.29.237.177
+ DOMAINNAME=openstack.local
+ [[ aio1-galera-container-a9dded99 != \a\i\o\1\-\g\a\l\e\r\a\-\c\o\n\t\a\i\n\e\r\-\a\9\d\d\e\d\9\9 ]]
+ [[ aio1-galera-container-a9dded99 != \a\i\o\1\-\g\a\l\e\r\a\-\c\o\n\t\a\i\n\e\r\-\a\9\d\d\e\d\9\9 ]]
+ [[ aio1-galera-container-a9dded99 == \a\i\o\1\-\g\a\l\e\r\a\-\c\o\n\t\a\i\n\e\r\-\a\9\d\d\e\d\9\9 ]]
+ [[ aio1-galera-container-a9dded99 == \a\i\o\1\_\g\a\l\e\r\a\_\c\o\n\t\a\i\n\e\r\-\a\9\d\d\e\d\9\9 ]]
+ insert_host_entry '172.29.237.177 aio1-galera-container-a9dded99.openstack.local aio1-galera-container-a9dded99 aio1_galera_container-a9dded99' 172.29.237.177
+ ENTRY='172.29.237.177 aio1-galera-container-a9dded99.openstack.local aio1-galera-container-a9dded99 aio1_galera_container-a9dded99'
+ ADDR=172.29.237.177
++ grep '^172.29.237.177\b' /etc/hosts
++ wc -l
+ [[ 0 -ge 2 ]]
+ grep -q '^172.29.237.177\b' /etc/hosts
+ grep -q '^172.29.237.177 aio1-galera-container-a9dded99.openstack.local aio1-galera-container-a9dded99 aio1_galera_container-a9dded99$' /etc/hosts
+ echo '172.29.237.177 aio1-galera-container-a9dded99.openstack.local aio1-galera-container-a9dded99 aio1_galera_container-a9dded99'
+ tee -a /etc/hosts
+ host_update aio1-glance-container-57de96d5 aio1-glance-container-57de96d5 aio1_glance_container-57de96d5 172.29.239.24 openstack.local
+ ANSHOSTNAME=aio1-glance-container-57de96d5
+ RFCHOSTNAME=aio1-glance-container-57de96d5
+ INVHOSTNAME=aio1_glance_container-57de96d5
+ IPADDR=172.29.239.24
+ DOMAINNAME=openstack.local
+ [[ aio1-glance-container-57de96d5 != \a\i\o\1\-\g\l\a\n\c\e\-\c\o\n\t\a\i\n\e\r\-\5\7\d\e\9\6\d\5 ]]
+ [[ aio1-glance-container-57de96d5 != \a\i\o\1\-\g\l\a\n\c\e\-\c\o\n\t\a\i\n\e\r\-\5\7\d\e\9\6\d\5 ]]
+ [[ aio1-glance-container-57de96d5 == \a\i\o\1\-\g\l\a\n\c\e\-\c\o\n\t\a\i\n\e\r\-\5\7\d\e\9\6\d\5 ]]
+ [[ aio1-glance-container-57de96d5 == \a\i\o\1\_\g\l\a\n\c\e\_\c\o\n\t\a\i\n\e\r\-\5\7\d\e\9\6\d\5 ]]
+ insert_host_entry '172.29.239.24 aio1-glance-container-57de96d5.openstack.local aio1-glance-container-57de96d5 aio1_glance_container-57de96d5' 172.29.239.24
+ ENTRY='172.29.239.24 aio1-glance-container-57de96d5.openstack.local aio1-glance-container-57de96d5 aio1_glance_container-57de96d5'
+ ADDR=172.29.239.24
++ grep '^172.29.239.24\b' /etc/hosts
++ wc -l
+ [[ 0 -ge 2 ]]
+ grep -q '^172.29.239.24\b' /etc/hosts
+ grep -q '^172.29.239.24 aio1-glance-container-57de96d5.openstack.local aio1-glance-container-57de96d5 aio1_glance_container-57de96d5$' /etc/hosts
+ echo '172.29.239.24 aio1-glance-container-57de96d5.openstack.local aio1-glance-container-57de96d5 aio1_glance_container-57de96d5'
+ tee -a /etc/hosts
+ host_update aio1-keystone-container-d7b3dc24 aio1-keystone-container-d7b3dc24 aio1_keystone_container-d7b3dc24 172.29.238.121 openstack.local
+ ANSHOSTNAME=aio1-keystone-container-d7b3dc24
+ RFCHOSTNAME=aio1-keystone-container-d7b3dc24
+ INVHOSTNAME=aio1_keystone_container-d7b3dc24
+ IPADDR=172.29.238.121
+ DOMAINNAME=openstack.local
+ [[ aio1-keystone-container-d7b3dc24 != \a\i\o\1\-\k\e\y\s\t\o\n\e\-\c\o\n\t\a\i\n\e\r\-\d\7\b\3\d\c\2\4 ]]
+ [[ aio1-keystone-container-d7b3dc24 != \a\i\o\1\-\k\e\y\s\t\o\n\e\-\c\o\n\t\a\i\n\e\r\-\d\7\b\3\d\c\2\4 ]]
+ [[ aio1-keystone-container-d7b3dc24 == \a\i\o\1\-\k\e\y\s\t\o\n\e\-\c\o\n\t\a\i\n\e\r\-\d\7\b\3\d\c\2\4 ]]
+ [[ aio1-keystone-container-d7b3dc24 == \a\i\o\1\_\k\e\y\s\t\o\n\e\_\c\o\n\t\a\i\n\e\r\-\d\7\b\3\d\c\2\4 ]]
+ insert_host_entry '172.29.238.121 aio1-keystone-container-d7b3dc24.openstack.local aio1-keystone-container-d7b3dc24 aio1_keystone_container-d7b3dc24' 172.29.238.121
+ ENTRY='172.29.238.121 aio1-keystone-container-d7b3dc24.openstack.local aio1-keystone-container-d7b3dc24 aio1_keystone_container-d7b3dc24'
+ ADDR=172.29.238.121
++ grep '^172.29.238.121\b' /etc/hosts
++ wc -l
+ [[ 0 -ge 2 ]]
+ grep -q '^172.29.238.121\b' /etc/hosts
+ grep -q '^172.29.238.121 aio1-keystone-container-d7b3dc24.openstack.local aio1-keystone-container-d7b3dc24 aio1_keystone_container-d7b3dc24$' /etc/hosts
+ echo '172.29.238.121 aio1-keystone-container-d7b3dc24.openstack.local aio1-keystone-container-d7b3dc24 aio1_keystone_container-d7b3dc24'
+ tee -a /etc/hosts
+ host_update aio1-memcached-container-d8e735ed aio1-memcached-container-d8e735ed aio1_memcached_container-d8e735ed 172.29.238.174 openstack.local
+ ANSHOSTNAME=aio1-memcached-container-d8e735ed
+ RFCHOSTNAME=aio1-memcached-container-d8e735ed
+ INVHOSTNAME=aio1_memcached_container-d8e735ed
+ IPADDR=172.29.238.174
+ DOMAINNAME=openstack.local
+ [[ aio1-memcached-container-d8e735ed != \a\i\o\1\-\m\e\m\c\a\c\h\e\d\-\c\o\n\t\a\i\n\e\r\-\d\8\e\7\3\5\e\d ]]
+ [[ aio1-memcached-container-d8e735ed != \a\i\o\1\-\m\e\m\c\a\c\h\e\d\-\c\o\n\t\a\i\n\e\r\-\d\8\e\7\3\5\e\d ]]
+ [[ aio1-memcached-container-d8e735ed == \a\i\o\1\-\m\e\m\c\a\c\h\e\d\-\c\o\n\t\a\i\n\e\r\-\d\8\e\7\3\5\e\d ]]
+ [[ aio1-memcached-container-d8e735ed == \a\i\o\1\_\m\e\m\c\a\c\h\e\d\_\c\o\n\t\a\i\n\e\r\-\d\8\e\7\3\5\e\d ]]
+ insert_host_entry '172.29.238.174 aio1-memcached-container-d8e735ed.openstack.local aio1-memcached-container-d8e735ed aio1_memcached_container-d8e735ed' 172.29.238.174
+ ENTRY='172.29.238.174 aio1-memcached-container-d8e735ed.openstack.local aio1-memcached-container-d8e735ed aio1_memcached_container-d8e735ed'
+ ADDR=172.29.238.174
++ grep '^172.29.238.174\b' /etc/hosts
++ wc -l
+ [[ 0 -ge 2 ]]
+ grep -q '^172.29.238.174\b' /etc/hosts
+ grep -q '^172.29.238.174 aio1-memcached-container-d8e735ed.openstack.local aio1-memcached-container-d8e735ed aio1_memcached_container-d8e735ed$' /etc/hosts
+ tee -a /etc/hosts
+ echo '172.29.238.174 aio1-memcached-container-d8e735ed.openstack.local aio1-memcached-container-d8e735ed aio1_memcached_container-d8e735ed'
+ host_update aio1-neutron-server-container-7c69b681 aio1-neutron-server-container-7c69b681 aio1_neutron_server_container-7c69b681 172.29.238.31 openstack.local
+ ANSHOSTNAME=aio1-neutron-server-container-7c69b681
+ RFCHOSTNAME=aio1-neutron-server-container-7c69b681
+ INVHOSTNAME=aio1_neutron_server_container-7c69b681
+ IPADDR=172.29.238.31
+ DOMAINNAME=openstack.local
+ [[ aio1-neutron-server-container-7c69b681 != \a\i\o\1\-\n\e\u\t\r\o\n\-\s\e\r\v\e\r\-\c\o\n\t\a\i\n\e\r\-\7\c\6\9\b\6\8\1 ]]
+ [[ aio1-neutron-server-container-7c69b681 != \a\i\o\1\-\n\e\u\t\r\o\n\-\s\e\r\v\e\r\-\c\o\n\t\a\i\n\e\r\-\7\c\6\9\b\6\8\1 ]]
+ [[ aio1-neutron-server-container-7c69b681 == \a\i\o\1\-\n\e\u\t\r\o\n\-\s\e\r\v\e\r\-\c\o\n\t\a\i\n\e\r\-\7\c\6\9\b\6\8\1 ]]
+ [[ aio1-neutron-server-container-7c69b681 == \a\i\o\1\_\n\e\u\t\r\o\n\_\s\e\r\v\e\r\_\c\o\n\t\a\i\n\e\r\-\7\c\6\9\b\6\8\1 ]]
+ insert_host_entry '172.29.238.31 aio1-neutron-server-container-7c69b681.openstack.local aio1-neutron-server-container-7c69b681 aio1_neutron_server_container-7c69b681' 172.29.238.31
+ ENTRY='172.29.238.31 aio1-neutron-server-container-7c69b681.openstack.local aio1-neutron-server-container-7c69b681 aio1_neutron_server_container-7c69b681'
+ ADDR=172.29.238.31
++ wc -l
++ grep '^172.29.238.31\b' /etc/hosts
+ [[ 0 -ge 2 ]]
+ grep -q '^172.29.238.31\b' /etc/hosts
+ grep -q '^172.29.238.31 aio1-neutron-server-container-7c69b681.openstack.local aio1-neutron-server-container-7c69b681 aio1_neutron_server_container-7c69b681$' /etc/hosts
+ tee -a /etc/hosts
+ echo '172.29.238.31 aio1-neutron-server-container-7c69b681.openstack.local aio1-neutron-server-container-7c69b681 aio1_neutron_server_container-7c69b681'
+ host_update aio1-placement-container-16aeac79 aio1-placement-container-16aeac79 aio1_placement_container-16aeac79 172.29.236.67 openstack.local
+ ANSHOSTNAME=aio1-placement-container-16aeac79
+ RFCHOSTNAME=aio1-placement-container-16aeac79
+ INVHOSTNAME=aio1_placement_container-16aeac79
+ IPADDR=172.29.236.67
+ DOMAINNAME=openstack.local
+ [[ aio1-placement-container-16aeac79 != \a\i\o\1\-\p\l\a\c\e\m\e\n\t\-\c\o\n\t\a\i\n\e\r\-\1\6\a\e\a\c\7\9 ]]
+ [[ aio1-placement-container-16aeac79 != \a\i\o\1\-\p\l\a\c\e\m\e\n\t\-\c\o\n\t\a\i\n\e\r\-\1\6\a\e\a\c\7\9 ]]
+ [[ aio1-placement-container-16aeac79 == \a\i\o\1\-\p\l\a\c\e\m\e\n\t\-\c\o\n\t\a\i\n\e\r\-\1\6\a\e\a\c\7\9 ]]
+ [[ aio1-placement-container-16aeac79 == \a\i\o\1\_\p\l\a\c\e\m\e\n\t\_\c\o\n\t\a\i\n\e\r\-\1\6\a\e\a\c\7\9 ]]
+ insert_host_entry '172.29.236.67 aio1-placement-container-16aeac79.openstack.local aio1-placement-container-16aeac79 aio1_placement_container-16aeac79' 172.29.236.67
+ ENTRY='172.29.236.67 aio1-placement-container-16aeac79.openstack.local aio1-placement-container-16aeac79 aio1_placement_container-16aeac79'
+ ADDR=172.29.236.67
++ wc -l
++ grep '^172.29.236.67\b' /etc/hosts
+ [[ 0 -ge 2 ]]
+ grep -q '^172.29.236.67\b' /etc/hosts
+ grep -q '^172.29.236.67 aio1-placement-container-16aeac79.openstack.local aio1-placement-container-16aeac79 aio1_placement_container-16aeac79$' /etc/hosts
+ echo '172.29.236.67 aio1-placement-container-16aeac79.openstack.local aio1-placement-container-16aeac79 aio1_placement_container-16aeac79'
+ tee -a /etc/hosts
+ host_update aio1-rabbit-mq-container-de40f365 aio1-rabbit-mq-container-de40f365 aio1_rabbit_mq_container-de40f365 172.29.236.208 openstack.local
+ ANSHOSTNAME=aio1-rabbit-mq-container-de40f365
+ RFCHOSTNAME=aio1-rabbit-mq-container-de40f365
+ INVHOSTNAME=aio1_rabbit_mq_container-de40f365
+ IPADDR=172.29.236.208
+ DOMAINNAME=openstack.local
+ [[ aio1-rabbit-mq-container-de40f365 != \a\i\o\1\-\r\a\b\b\i\t\-\m\q\-\c\o\n\t\a\i\n\e\r\-\d\e\4\0\f\3\6\5 ]]
+ [[ aio1-rabbit-mq-container-de40f365 != \a\i\o\1\-\r\a\b\b\i\t\-\m\q\-\c\o\n\t\a\i\n\e\r\-\d\e\4\0\f\3\6\5 ]]
+ [[ aio1-rabbit-mq-container-de40f365 == \a\i\o\1\-\r\a\b\b\i\t\-\m\q\-\c\o\n\t\a\i\n\e\r\-\d\e\4\0\f\3\6\5 ]]
+ [[ aio1-rabbit-mq-container-de40f365 == \a\i\o\1\_\r\a\b\b\i\t\_\m\q\_\c\o\n\t\a\i\n\e\r\-\d\e\4\0\f\3\6\5 ]]
+ insert_host_entry '172.29.236.208 aio1-rabbit-mq-container-de40f365.openstack.local aio1-rabbit-mq-container-de40f365 aio1_rabbit_mq_container-de40f365' 172.29.236.208
+ ENTRY='172.29.236.208 aio1-rabbit-mq-container-de40f365.openstack.local aio1-rabbit-mq-container-de40f365 aio1_rabbit_mq_container-de40f365'
+ ADDR=172.29.236.208
++ grep '^172.29.236.208\b' /etc/hosts
++ wc -l
+ [[ 0 -ge 2 ]]
+ grep -q '^172.29.236.208\b' /etc/hosts
+ grep -q '^172.29.236.208 aio1-rabbit-mq-container-de40f365.openstack.local aio1-rabbit-mq-container-de40f365 aio1_rabbit_mq_container-de40f365$' /etc/hosts
+ echo '172.29.236.208 aio1-rabbit-mq-container-de40f365.openstack.local aio1-rabbit-mq-container-de40f365 aio1_rabbit_mq_container-de40f365'
+ tee -a /etc/hosts
+ host_update aio1-repo-container-461b4263 aio1-repo-container-461b4263 aio1_repo_container-461b4263 172.29.236.102 openstack.local
+ ANSHOSTNAME=aio1-repo-container-461b4263
+ RFCHOSTNAME=aio1-repo-container-461b4263
+ INVHOSTNAME=aio1_repo_container-461b4263
+ IPADDR=172.29.236.102
+ DOMAINNAME=openstack.local
+ [[ aio1-repo-container-461b4263 != \a\i\o\1\-\r\e\p\o\-\c\o\n\t\a\i\n\e\r\-\4\6\1\b\4\2\6\3 ]]
+ [[ aio1-repo-container-461b4263 != \a\i\o\1\-\r\e\p\o\-\c\o\n\t\a\i\n\e\r\-\4\6\1\b\4\2\6\3 ]]
+ [[ aio1-repo-container-461b4263 == \a\i\o\1\-\r\e\p\o\-\c\o\n\t\a\i\n\e\r\-\4\6\1\b\4\2\6\3 ]]
+ [[ aio1-repo-container-461b4263 == \a\i\o\1\_\r\e\p\o\_\c\o\n\t\a\i\n\e\r\-\4\6\1\b\4\2\6\3 ]]
+ insert_host_entry '172.29.236.102 aio1-repo-container-461b4263.openstack.local aio1-repo-container-461b4263 aio1_repo_container-461b4263' 172.29.236.102
+ ENTRY='172.29.236.102 aio1-repo-container-461b4263.openstack.local aio1-repo-container-461b4263 aio1_repo_container-461b4263'
+ ADDR=172.29.236.102
++ grep '^172.29.236.102\b' /etc/hosts
++ wc -l
+ [[ 0 -ge 2 ]]
+ grep -q '^172.29.236.102\b' /etc/hosts
+ grep -q '^172.29.236.102 aio1-repo-container-461b4263.openstack.local aio1-repo-container-461b4263 aio1_repo_container-461b4263$' /etc/hosts
+ echo '172.29.236.102 aio1-repo-container-461b4263.openstack.local aio1-repo-container-461b4263 aio1_repo_container-461b4263'
+ tee -a /etc/hosts
+ host_update aio1-utility-container-f55e8cc3 aio1-utility-container-f55e8cc3 aio1_utility_container-f55e8cc3 172.29.236.112 openstack.local
+ ANSHOSTNAME=aio1-utility-container-f55e8cc3
+ RFCHOSTNAME=aio1-utility-container-f55e8cc3
+ INVHOSTNAME=aio1_utility_container-f55e8cc3
+ IPADDR=172.29.236.112
+ DOMAINNAME=openstack.local
+ [[ aio1-utility-container-f55e8cc3 != \a\i\o\1\-\u\t\i\l\i\t\y\-\c\o\n\t\a\i\n\e\r\-\f\5\5\e\8\c\c\3 ]]
+ [[ aio1-utility-container-f55e8cc3 != \a\i\o\1\-\u\t\i\l\i\t\y\-\c\o\n\t\a\i\n\e\r\-\f\5\5\e\8\c\c\3 ]]
+ [[ aio1-utility-container-f55e8cc3 == \a\i\o\1\-\u\t\i\l\i\t\y\-\c\o\n\t\a\i\n\e\r\-\f\5\5\e\8\c\c\3 ]]
+ [[ aio1-utility-container-f55e8cc3 == \a\i\o\1\_\u\t\i\l\i\t\y\_\c\o\n\t\a\i\n\e\r\-\f\5\5\e\8\c\c\3 ]]
+ insert_host_entry '172.29.236.112 aio1-utility-container-f55e8cc3.openstack.local aio1-utility-container-f55e8cc3 aio1_utility_container-f55e8cc3' 172.29.236.112
+ ENTRY='172.29.236.112 aio1-utility-container-f55e8cc3.openstack.local aio1-utility-container-f55e8cc3 aio1_utility_container-f55e8cc3'
+ ADDR=172.29.236.112
++ grep '^172.29.236.112\b' /etc/hosts
++ wc -l
+ [[ 0 -ge 2 ]]
+ grep -q '^172.29.236.112\b' /etc/hosts
+ grep -q '^172.29.236.112 aio1-utility-container-f55e8cc3.openstack.local aio1-utility-container-f55e8cc3 aio1_utility_container-f55e8cc3$' /etc/hosts
+ echo '172.29.236.112 aio1-utility-container-f55e8cc3.openstack.local aio1-utility-container-f55e8cc3 aio1_utility_container-f55e8cc3'
+ tee -a /etc/hosts
+ sha1sum /etc/hosts
+ awk '{print $1}'
stderr_lines
[
    "+ host_update aio1-cinder-api-container-18a23db6 aio1-cinder-api-container-18a23db6 aio1_cinder_api_container-18a23db6 172.29.236.197 openstack.local",
    "+ ANSHOSTNAME=aio1-cinder-api-container-18a23db6",
    "+ RFCHOSTNAME=aio1-cinder-api-container-18a23db6",
    "+ INVHOSTNAME=aio1_cinder_api_container-18a23db6",
    "+ IPADDR=172.29.236.197",
    "+ DOMAINNAME=openstack.local",
    "+ [[ aio1-cinder-api-container-18a23db6 != \\a\\i\\o\\1\\-\\c\\i\\n\\d\\e\\r\\-\\a\\p\\i\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\1\\8\\a\\2\\3\\d\\b\\6 ]]",
    "+ [[ aio1-cinder-api-container-18a23db6 != \\a\\i\\o\\1\\-\\c\\i\\n\\d\\e\\r\\-\\a\\p\\i\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\1\\8\\a\\2\\3\\d\\b\\6 ]]",
    "+ [[ aio1-cinder-api-container-18a23db6 == \\a\\i\\o\\1\\-\\c\\i\\n\\d\\e\\r\\-\\a\\p\\i\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\1\\8\\a\\2\\3\\d\\b\\6 ]]",
    "+ [[ aio1-cinder-api-container-18a23db6 == \\a\\i\\o\\1\\_\\c\\i\\n\\d\\e\\r\\_\\a\\p\\i\\_\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\1\\8\\a\\2\\3\\d\\b\\6 ]]",
    "+ insert_host_entry '172.29.236.197 aio1-cinder-api-container-18a23db6.openstack.local aio1-cinder-api-container-18a23db6 aio1_cinder_api_container-18a23db6' 172.29.236.197",
    "+ ENTRY='172.29.236.197 aio1-cinder-api-container-18a23db6.openstack.local aio1-cinder-api-container-18a23db6 aio1_cinder_api_container-18a23db6'",
    "+ ADDR=172.29.236.197",
    "++ wc -l",
    "++ grep '^172.29.236.197\\b' /etc/hosts",
    "+ [[ 0 -ge 2 ]]",
    "+ grep -q '^172.29.236.197\\b' /etc/hosts",
    "+ grep -q '^172.29.236.197 aio1-cinder-api-container-18a23db6.openstack.local aio1-cinder-api-container-18a23db6 aio1_cinder_api_container-18a23db6$' /etc/hosts",
    "+ tee -a /etc/hosts",
    "+ echo '172.29.236.197 aio1-cinder-api-container-18a23db6.openstack.local aio1-cinder-api-container-18a23db6 aio1_cinder_api_container-18a23db6'",
    "+ host_update aio1 aio1 aio1 172.29.236.100 openstack.local",
    "+ ANSHOSTNAME=aio1",
    "+ RFCHOSTNAME=aio1",
    "+ INVHOSTNAME=aio1",
    "+ IPADDR=172.29.236.100",
    "+ DOMAINNAME=openstack.local",
    "+ [[ aio1 != \\a\\i\\o\\1 ]]",
    "+ [[ aio1 != \\a\\i\\o\\1 ]]",
    "+ [[ aio1 == \\a\\i\\o\\1 ]]",
    "+ [[ aio1 == \\a\\i\\o\\1 ]]",
    "+ insert_host_entry '172.29.236.100 aio1.openstack.local aio1' 172.29.236.100",
    "+ ENTRY='172.29.236.100 aio1.openstack.local aio1'",
    "+ ADDR=172.29.236.100",
    "++ grep '^172.29.236.100\\b' /etc/hosts",
    "++ wc -l",
    "+ [[ 0 -ge 2 ]]",
    "+ grep -q '^172.29.236.100\\b' /etc/hosts",
    "+ grep -q '^172.29.236.100 aio1.openstack.local aio1$' /etc/hosts",
    "+ echo '172.29.236.100 aio1.openstack.local aio1'",
    "+ tee -a /etc/hosts",
    "+ host_update aio1-nova-api-container-732da3b7 aio1-nova-api-container-732da3b7 aio1_nova_api_container-732da3b7 172.29.237.141 openstack.local",
    "+ ANSHOSTNAME=aio1-nova-api-container-732da3b7",
    "+ RFCHOSTNAME=aio1-nova-api-container-732da3b7",
    "+ INVHOSTNAME=aio1_nova_api_container-732da3b7",
    "+ IPADDR=172.29.237.141",
    "+ DOMAINNAME=openstack.local",
    "+ [[ aio1-nova-api-container-732da3b7 != \\a\\i\\o\\1\\-\\n\\o\\v\\a\\-\\a\\p\\i\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\7\\3\\2\\d\\a\\3\\b\\7 ]]",
    "+ [[ aio1-nova-api-container-732da3b7 != \\a\\i\\o\\1\\-\\n\\o\\v\\a\\-\\a\\p\\i\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\7\\3\\2\\d\\a\\3\\b\\7 ]]",
    "+ [[ aio1-nova-api-container-732da3b7 == \\a\\i\\o\\1\\-\\n\\o\\v\\a\\-\\a\\p\\i\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\7\\3\\2\\d\\a\\3\\b\\7 ]]",
    "+ [[ aio1-nova-api-container-732da3b7 == \\a\\i\\o\\1\\_\\n\\o\\v\\a\\_\\a\\p\\i\\_\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\7\\3\\2\\d\\a\\3\\b\\7 ]]",
    "+ insert_host_entry '172.29.237.141 aio1-nova-api-container-732da3b7.openstack.local aio1-nova-api-container-732da3b7 aio1_nova_api_container-732da3b7' 172.29.237.141",
    "+ ENTRY='172.29.237.141 aio1-nova-api-container-732da3b7.openstack.local aio1-nova-api-container-732da3b7 aio1_nova_api_container-732da3b7'",
    "+ ADDR=172.29.237.141",
    "++ grep '^172.29.237.141\\b' /etc/hosts",
    "++ wc -l",
    "+ [[ 0 -ge 2 ]]",
    "+ grep -q '^172.29.237.141\\b' /etc/hosts",
    "+ grep -q '^172.29.237.141 aio1-nova-api-container-732da3b7.openstack.local aio1-nova-api-container-732da3b7 aio1_nova_api_container-732da3b7$' /etc/hosts",
    "+ tee -a /etc/hosts",
    "+ echo '172.29.237.141 aio1-nova-api-container-732da3b7.openstack.local aio1-nova-api-container-732da3b7 aio1_nova_api_container-732da3b7'",
    "+ host_update aio1-horizon-container-f8d585ea aio1-horizon-container-f8d585ea aio1_horizon_container-f8d585ea 172.29.237.8 openstack.local",
    "+ ANSHOSTNAME=aio1-horizon-container-f8d585ea",
    "+ RFCHOSTNAME=aio1-horizon-container-f8d585ea",
    "+ INVHOSTNAME=aio1_horizon_container-f8d585ea",
    "+ IPADDR=172.29.237.8",
    "+ DOMAINNAME=openstack.local",
    "+ [[ aio1-horizon-container-f8d585ea != \\a\\i\\o\\1\\-\\h\\o\\r\\i\\z\\o\\n\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\f\\8\\d\\5\\8\\5\\e\\a ]]",
    "+ [[ aio1-horizon-container-f8d585ea != \\a\\i\\o\\1\\-\\h\\o\\r\\i\\z\\o\\n\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\f\\8\\d\\5\\8\\5\\e\\a ]]",
    "+ [[ aio1-horizon-container-f8d585ea == \\a\\i\\o\\1\\-\\h\\o\\r\\i\\z\\o\\n\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\f\\8\\d\\5\\8\\5\\e\\a ]]",
    "+ [[ aio1-horizon-container-f8d585ea == \\a\\i\\o\\1\\_\\h\\o\\r\\i\\z\\o\\n\\_\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\f\\8\\d\\5\\8\\5\\e\\a ]]",
    "+ insert_host_entry '172.29.237.8 aio1-horizon-container-f8d585ea.openstack.local aio1-horizon-container-f8d585ea aio1_horizon_container-f8d585ea' 172.29.237.8",
    "+ ENTRY='172.29.237.8 aio1-horizon-container-f8d585ea.openstack.local aio1-horizon-container-f8d585ea aio1_horizon_container-f8d585ea'",
    "+ ADDR=172.29.237.8",
    "++ grep '^172.29.237.8\\b' /etc/hosts",
    "++ wc -l",
    "+ [[ 0 -ge 2 ]]",
    "+ grep -q '^172.29.237.8\\b' /etc/hosts",
    "+ grep -q '^172.29.237.8 aio1-horizon-container-f8d585ea.openstack.local aio1-horizon-container-f8d585ea aio1_horizon_container-f8d585ea$' /etc/hosts",
    "+ tee -a /etc/hosts",
    "+ echo '172.29.237.8 aio1-horizon-container-f8d585ea.openstack.local aio1-horizon-container-f8d585ea aio1_horizon_container-f8d585ea'",
    "+ host_update aio1-galera-container-a9dded99 aio1-galera-container-a9dded99 aio1_galera_container-a9dded99 172.29.237.177 openstack.local",
    "+ ANSHOSTNAME=aio1-galera-container-a9dded99",
    "+ RFCHOSTNAME=aio1-galera-container-a9dded99",
    "+ INVHOSTNAME=aio1_galera_container-a9dded99",
    "+ IPADDR=172.29.237.177",
    "+ DOMAINNAME=openstack.local",
    "+ [[ aio1-galera-container-a9dded99 != \\a\\i\\o\\1\\-\\g\\a\\l\\e\\r\\a\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\a\\9\\d\\d\\e\\d\\9\\9 ]]",
    "+ [[ aio1-galera-container-a9dded99 != \\a\\i\\o\\1\\-\\g\\a\\l\\e\\r\\a\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\a\\9\\d\\d\\e\\d\\9\\9 ]]",
    "+ [[ aio1-galera-container-a9dded99 == \\a\\i\\o\\1\\-\\g\\a\\l\\e\\r\\a\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\a\\9\\d\\d\\e\\d\\9\\9 ]]",
    "+ [[ aio1-galera-container-a9dded99 == \\a\\i\\o\\1\\_\\g\\a\\l\\e\\r\\a\\_\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\a\\9\\d\\d\\e\\d\\9\\9 ]]",
    "+ insert_host_entry '172.29.237.177 aio1-galera-container-a9dded99.openstack.local aio1-galera-container-a9dded99 aio1_galera_container-a9dded99' 172.29.237.177",
    "+ ENTRY='172.29.237.177 aio1-galera-container-a9dded99.openstack.local aio1-galera-container-a9dded99 aio1_galera_container-a9dded99'",
    "+ ADDR=172.29.237.177",
    "++ grep '^172.29.237.177\\b' /etc/hosts",
    "++ wc -l",
    "+ [[ 0 -ge 2 ]]",
    "+ grep -q '^172.29.237.177\\b' /etc/hosts",
    "+ grep -q '^172.29.237.177 aio1-galera-container-a9dded99.openstack.local aio1-galera-container-a9dded99 aio1_galera_container-a9dded99$' /etc/hosts",
    "+ echo '172.29.237.177 aio1-galera-container-a9dded99.openstack.local aio1-galera-container-a9dded99 aio1_galera_container-a9dded99'",
    "+ tee -a /etc/hosts",
    "+ host_update aio1-glance-container-57de96d5 aio1-glance-container-57de96d5 aio1_glance_container-57de96d5 172.29.239.24 openstack.local",
    "+ ANSHOSTNAME=aio1-glance-container-57de96d5",
    "+ RFCHOSTNAME=aio1-glance-container-57de96d5",
    "+ INVHOSTNAME=aio1_glance_container-57de96d5",
    "+ IPADDR=172.29.239.24",
    "+ DOMAINNAME=openstack.local",
    "+ [[ aio1-glance-container-57de96d5 != \\a\\i\\o\\1\\-\\g\\l\\a\\n\\c\\e\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\5\\7\\d\\e\\9\\6\\d\\5 ]]",
    "+ [[ aio1-glance-container-57de96d5 != \\a\\i\\o\\1\\-\\g\\l\\a\\n\\c\\e\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\5\\7\\d\\e\\9\\6\\d\\5 ]]",
    "+ [[ aio1-glance-container-57de96d5 == \\a\\i\\o\\1\\-\\g\\l\\a\\n\\c\\e\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\5\\7\\d\\e\\9\\6\\d\\5 ]]",
    "+ [[ aio1-glance-container-57de96d5 == \\a\\i\\o\\1\\_\\g\\l\\a\\n\\c\\e\\_\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\5\\7\\d\\e\\9\\6\\d\\5 ]]",
    "+ insert_host_entry '172.29.239.24 aio1-glance-container-57de96d5.openstack.local aio1-glance-container-57de96d5 aio1_glance_container-57de96d5' 172.29.239.24",
    "+ ENTRY='172.29.239.24 aio1-glance-container-57de96d5.openstack.local aio1-glance-container-57de96d5 aio1_glance_container-57de96d5'",
    "+ ADDR=172.29.239.24",
    "++ grep '^172.29.239.24\\b' /etc/hosts",
    "++ wc -l",
    "+ [[ 0 -ge 2 ]]",
    "+ grep -q '^172.29.239.24\\b' /etc/hosts",
    "+ grep -q '^172.29.239.24 aio1-glance-container-57de96d5.openstack.local aio1-glance-container-57de96d5 aio1_glance_container-57de96d5$' /etc/hosts",
    "+ echo '172.29.239.24 aio1-glance-container-57de96d5.openstack.local aio1-glance-container-57de96d5 aio1_glance_container-57de96d5'",
    "+ tee -a /etc/hosts",
    "+ host_update aio1-keystone-container-d7b3dc24 aio1-keystone-container-d7b3dc24 aio1_keystone_container-d7b3dc24 172.29.238.121 openstack.local",
    "+ ANSHOSTNAME=aio1-keystone-container-d7b3dc24",
    "+ RFCHOSTNAME=aio1-keystone-container-d7b3dc24",
    "+ INVHOSTNAME=aio1_keystone_container-d7b3dc24",
    "+ IPADDR=172.29.238.121",
    "+ DOMAINNAME=openstack.local",
    "+ [[ aio1-keystone-container-d7b3dc24 != \\a\\i\\o\\1\\-\\k\\e\\y\\s\\t\\o\\n\\e\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\d\\7\\b\\3\\d\\c\\2\\4 ]]",
    "+ [[ aio1-keystone-container-d7b3dc24 != \\a\\i\\o\\1\\-\\k\\e\\y\\s\\t\\o\\n\\e\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\d\\7\\b\\3\\d\\c\\2\\4 ]]",
    "+ [[ aio1-keystone-container-d7b3dc24 == \\a\\i\\o\\1\\-\\k\\e\\y\\s\\t\\o\\n\\e\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\d\\7\\b\\3\\d\\c\\2\\4 ]]",
    "+ [[ aio1-keystone-container-d7b3dc24 == \\a\\i\\o\\1\\_\\k\\e\\y\\s\\t\\o\\n\\e\\_\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\d\\7\\b\\3\\d\\c\\2\\4 ]]",
    "+ insert_host_entry '172.29.238.121 aio1-keystone-container-d7b3dc24.openstack.local aio1-keystone-container-d7b3dc24 aio1_keystone_container-d7b3dc24' 172.29.238.121",
    "+ ENTRY='172.29.238.121 aio1-keystone-container-d7b3dc24.openstack.local aio1-keystone-container-d7b3dc24 aio1_keystone_container-d7b3dc24'",
    "+ ADDR=172.29.238.121",
    "++ grep '^172.29.238.121\\b' /etc/hosts",
    "++ wc -l",
    "+ [[ 0 -ge 2 ]]",
    "+ grep -q '^172.29.238.121\\b' /etc/hosts",
    "+ grep -q '^172.29.238.121 aio1-keystone-container-d7b3dc24.openstack.local aio1-keystone-container-d7b3dc24 aio1_keystone_container-d7b3dc24$' /etc/hosts",
    "+ echo '172.29.238.121 aio1-keystone-container-d7b3dc24.openstack.local aio1-keystone-container-d7b3dc24 aio1_keystone_container-d7b3dc24'",
    "+ tee -a /etc/hosts",
    "+ host_update aio1-memcached-container-d8e735ed aio1-memcached-container-d8e735ed aio1_memcached_container-d8e735ed 172.29.238.174 openstack.local",
    "+ ANSHOSTNAME=aio1-memcached-container-d8e735ed",
    "+ RFCHOSTNAME=aio1-memcached-container-d8e735ed",
    "+ INVHOSTNAME=aio1_memcached_container-d8e735ed",
    "+ IPADDR=172.29.238.174",
    "+ DOMAINNAME=openstack.local",
    "+ [[ aio1-memcached-container-d8e735ed != \\a\\i\\o\\1\\-\\m\\e\\m\\c\\a\\c\\h\\e\\d\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\d\\8\\e\\7\\3\\5\\e\\d ]]",
    "+ [[ aio1-memcached-container-d8e735ed != \\a\\i\\o\\1\\-\\m\\e\\m\\c\\a\\c\\h\\e\\d\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\d\\8\\e\\7\\3\\5\\e\\d ]]",
    "+ [[ aio1-memcached-container-d8e735ed == \\a\\i\\o\\1\\-\\m\\e\\m\\c\\a\\c\\h\\e\\d\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\d\\8\\e\\7\\3\\5\\e\\d ]]",
    "+ [[ aio1-memcached-container-d8e735ed == \\a\\i\\o\\1\\_\\m\\e\\m\\c\\a\\c\\h\\e\\d\\_\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\d\\8\\e\\7\\3\\5\\e\\d ]]",
    "+ insert_host_entry '172.29.238.174 aio1-memcached-container-d8e735ed.openstack.local aio1-memcached-container-d8e735ed aio1_memcached_container-d8e735ed' 172.29.238.174",
    "+ ENTRY='172.29.238.174 aio1-memcached-container-d8e735ed.openstack.local aio1-memcached-container-d8e735ed aio1_memcached_container-d8e735ed'",
    "+ ADDR=172.29.238.174",
    "++ grep '^172.29.238.174\\b' /etc/hosts",
    "++ wc -l",
    "+ [[ 0 -ge 2 ]]",
    "+ grep -q '^172.29.238.174\\b' /etc/hosts",
    "+ grep -q '^172.29.238.174 aio1-memcached-container-d8e735ed.openstack.local aio1-memcached-container-d8e735ed aio1_memcached_container-d8e735ed$' /etc/hosts",
    "+ tee -a /etc/hosts",
    "+ echo '172.29.238.174 aio1-memcached-container-d8e735ed.openstack.local aio1-memcached-container-d8e735ed aio1_memcached_container-d8e735ed'",
    "+ host_update aio1-neutron-server-container-7c69b681 aio1-neutron-server-container-7c69b681 aio1_neutron_server_container-7c69b681 172.29.238.31 openstack.local",
    "+ ANSHOSTNAME=aio1-neutron-server-container-7c69b681",
    "+ RFCHOSTNAME=aio1-neutron-server-container-7c69b681",
    "+ INVHOSTNAME=aio1_neutron_server_container-7c69b681",
    "+ IPADDR=172.29.238.31",
    "+ DOMAINNAME=openstack.local",
    "+ [[ aio1-neutron-server-container-7c69b681 != \\a\\i\\o\\1\\-\\n\\e\\u\\t\\r\\o\\n\\-\\s\\e\\r\\v\\e\\r\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\7\\c\\6\\9\\b\\6\\8\\1 ]]",
    "+ [[ aio1-neutron-server-container-7c69b681 != \\a\\i\\o\\1\\-\\n\\e\\u\\t\\r\\o\\n\\-\\s\\e\\r\\v\\e\\r\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\7\\c\\6\\9\\b\\6\\8\\1 ]]",
    "+ [[ aio1-neutron-server-container-7c69b681 == \\a\\i\\o\\1\\-\\n\\e\\u\\t\\r\\o\\n\\-\\s\\e\\r\\v\\e\\r\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\7\\c\\6\\9\\b\\6\\8\\1 ]]",
    "+ [[ aio1-neutron-server-container-7c69b681 == \\a\\i\\o\\1\\_\\n\\e\\u\\t\\r\\o\\n\\_\\s\\e\\r\\v\\e\\r\\_\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\7\\c\\6\\9\\b\\6\\8\\1 ]]",
    "+ insert_host_entry '172.29.238.31 aio1-neutron-server-container-7c69b681.openstack.local aio1-neutron-server-container-7c69b681 aio1_neutron_server_container-7c69b681' 172.29.238.31",
    "+ ENTRY='172.29.238.31 aio1-neutron-server-container-7c69b681.openstack.local aio1-neutron-server-container-7c69b681 aio1_neutron_server_container-7c69b681'",
    "+ ADDR=172.29.238.31",
    "++ wc -l",
    "++ grep '^172.29.238.31\\b' /etc/hosts",
    "+ [[ 0 -ge 2 ]]",
    "+ grep -q '^172.29.238.31\\b' /etc/hosts",
    "+ grep -q '^172.29.238.31 aio1-neutron-server-container-7c69b681.openstack.local aio1-neutron-server-container-7c69b681 aio1_neutron_server_container-7c69b681$' /etc/hosts",
    "+ tee -a /etc/hosts",
    "+ echo '172.29.238.31 aio1-neutron-server-container-7c69b681.openstack.local aio1-neutron-server-container-7c69b681 aio1_neutron_server_container-7c69b681'",
    "+ host_update aio1-placement-container-16aeac79 aio1-placement-container-16aeac79 aio1_placement_container-16aeac79 172.29.236.67 openstack.local",
    "+ ANSHOSTNAME=aio1-placement-container-16aeac79",
    "+ RFCHOSTNAME=aio1-placement-container-16aeac79",
    "+ INVHOSTNAME=aio1_placement_container-16aeac79",
    "+ IPADDR=172.29.236.67",
    "+ DOMAINNAME=openstack.local",
    "+ [[ aio1-placement-container-16aeac79 != \\a\\i\\o\\1\\-\\p\\l\\a\\c\\e\\m\\e\\n\\t\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\1\\6\\a\\e\\a\\c\\7\\9 ]]",
    "+ [[ aio1-placement-container-16aeac79 != \\a\\i\\o\\1\\-\\p\\l\\a\\c\\e\\m\\e\\n\\t\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\1\\6\\a\\e\\a\\c\\7\\9 ]]",
    "+ [[ aio1-placement-container-16aeac79 == \\a\\i\\o\\1\\-\\p\\l\\a\\c\\e\\m\\e\\n\\t\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\1\\6\\a\\e\\a\\c\\7\\9 ]]",
    "+ [[ aio1-placement-container-16aeac79 == \\a\\i\\o\\1\\_\\p\\l\\a\\c\\e\\m\\e\\n\\t\\_\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\1\\6\\a\\e\\a\\c\\7\\9 ]]",
    "+ insert_host_entry '172.29.236.67 aio1-placement-container-16aeac79.openstack.local aio1-placement-container-16aeac79 aio1_placement_container-16aeac79' 172.29.236.67",
    "+ ENTRY='172.29.236.67 aio1-placement-container-16aeac79.openstack.local aio1-placement-container-16aeac79 aio1_placement_container-16aeac79'",
    "+ ADDR=172.29.236.67",
    "++ wc -l",
    "++ grep '^172.29.236.67\\b' /etc/hosts",
    "+ [[ 0 -ge 2 ]]",
    "+ grep -q '^172.29.236.67\\b' /etc/hosts",
    "+ grep -q '^172.29.236.67 aio1-placement-container-16aeac79.openstack.local aio1-placement-container-16aeac79 aio1_placement_container-16aeac79$' /etc/hosts",
    "+ echo '172.29.236.67 aio1-placement-container-16aeac79.openstack.local aio1-placement-container-16aeac79 aio1_placement_container-16aeac79'",
    "+ tee -a /etc/hosts",
    "+ host_update aio1-rabbit-mq-container-de40f365 aio1-rabbit-mq-container-de40f365 aio1_rabbit_mq_container-de40f365 172.29.236.208 openstack.local",
    "+ ANSHOSTNAME=aio1-rabbit-mq-container-de40f365",
    "+ RFCHOSTNAME=aio1-rabbit-mq-container-de40f365",
    "+ INVHOSTNAME=aio1_rabbit_mq_container-de40f365",
    "+ IPADDR=172.29.236.208",
    "+ DOMAINNAME=openstack.local",
    "+ [[ aio1-rabbit-mq-container-de40f365 != \\a\\i\\o\\1\\-\\r\\a\\b\\b\\i\\t\\-\\m\\q\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\d\\e\\4\\0\\f\\3\\6\\5 ]]",
    "+ [[ aio1-rabbit-mq-container-de40f365 != \\a\\i\\o\\1\\-\\r\\a\\b\\b\\i\\t\\-\\m\\q\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\d\\e\\4\\0\\f\\3\\6\\5 ]]",
    "+ [[ aio1-rabbit-mq-container-de40f365 == \\a\\i\\o\\1\\-\\r\\a\\b\\b\\i\\t\\-\\m\\q\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\d\\e\\4\\0\\f\\3\\6\\5 ]]",
    "+ [[ aio1-rabbit-mq-container-de40f365 == \\a\\i\\o\\1\\_\\r\\a\\b\\b\\i\\t\\_\\m\\q\\_\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\d\\e\\4\\0\\f\\3\\6\\5 ]]",
    "+ insert_host_entry '172.29.236.208 aio1-rabbit-mq-container-de40f365.openstack.local aio1-rabbit-mq-container-de40f365 aio1_rabbit_mq_container-de40f365' 172.29.236.208",
    "+ ENTRY='172.29.236.208 aio1-rabbit-mq-container-de40f365.openstack.local aio1-rabbit-mq-container-de40f365 aio1_rabbit_mq_container-de40f365'",
    "+ ADDR=172.29.236.208",
    "++ grep '^172.29.236.208\\b' /etc/hosts",
    "++ wc -l",
    "+ [[ 0 -ge 2 ]]",
    "+ grep -q '^172.29.236.208\\b' /etc/hosts",
    "+ grep -q '^172.29.236.208 aio1-rabbit-mq-container-de40f365.openstack.local aio1-rabbit-mq-container-de40f365 aio1_rabbit_mq_container-de40f365$' /etc/hosts",
    "+ echo '172.29.236.208 aio1-rabbit-mq-container-de40f365.openstack.local aio1-rabbit-mq-container-de40f365 aio1_rabbit_mq_container-de40f365'",
    "+ tee -a /etc/hosts",
    "+ host_update aio1-repo-container-461b4263 aio1-repo-container-461b4263 aio1_repo_container-461b4263 172.29.236.102 openstack.local",
    "+ ANSHOSTNAME=aio1-repo-container-461b4263",
    "+ RFCHOSTNAME=aio1-repo-container-461b4263",
    "+ INVHOSTNAME=aio1_repo_container-461b4263",
    "+ IPADDR=172.29.236.102",
    "+ DOMAINNAME=openstack.local",
    "+ [[ aio1-repo-container-461b4263 != \\a\\i\\o\\1\\-\\r\\e\\p\\o\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\4\\6\\1\\b\\4\\2\\6\\3 ]]",
    "+ [[ aio1-repo-container-461b4263 != \\a\\i\\o\\1\\-\\r\\e\\p\\o\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\4\\6\\1\\b\\4\\2\\6\\3 ]]",
    "+ [[ aio1-repo-container-461b4263 == \\a\\i\\o\\1\\-\\r\\e\\p\\o\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\4\\6\\1\\b\\4\\2\\6\\3 ]]",
    "+ [[ aio1-repo-container-461b4263 == \\a\\i\\o\\1\\_\\r\\e\\p\\o\\_\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\4\\6\\1\\b\\4\\2\\6\\3 ]]",
    "+ insert_host_entry '172.29.236.102 aio1-repo-container-461b4263.openstack.local aio1-repo-container-461b4263 aio1_repo_container-461b4263' 172.29.236.102",
    "+ ENTRY='172.29.236.102 aio1-repo-container-461b4263.openstack.local aio1-repo-container-461b4263 aio1_repo_container-461b4263'",
    "+ ADDR=172.29.236.102",
    "++ grep '^172.29.236.102\\b' /etc/hosts",
    "++ wc -l",
    "+ [[ 0 -ge 2 ]]",
    "+ grep -q '^172.29.236.102\\b' /etc/hosts",
    "+ grep -q '^172.29.236.102 aio1-repo-container-461b4263.openstack.local aio1-repo-container-461b4263 aio1_repo_container-461b4263$' /etc/hosts",
    "+ echo '172.29.236.102 aio1-repo-container-461b4263.openstack.local aio1-repo-container-461b4263 aio1_repo_container-461b4263'",
    "+ tee -a /etc/hosts",
    "+ host_update aio1-utility-container-f55e8cc3 aio1-utility-container-f55e8cc3 aio1_utility_container-f55e8cc3 172.29.236.112 openstack.local",
    "+ ANSHOSTNAME=aio1-utility-container-f55e8cc3",
    "+ RFCHOSTNAME=aio1-utility-container-f55e8cc3",
    "+ INVHOSTNAME=aio1_utility_container-f55e8cc3",
    "+ IPADDR=172.29.236.112",
    "+ DOMAINNAME=openstack.local",
    "+ [[ aio1-utility-container-f55e8cc3 != \\a\\i\\o\\1\\-\\u\\t\\i\\l\\i\\t\\y\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\f\\5\\5\\e\\8\\c\\c\\3 ]]",
    "+ [[ aio1-utility-container-f55e8cc3 != \\a\\i\\o\\1\\-\\u\\t\\i\\l\\i\\t\\y\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\f\\5\\5\\e\\8\\c\\c\\3 ]]",
    "+ [[ aio1-utility-container-f55e8cc3 == \\a\\i\\o\\1\\-\\u\\t\\i\\l\\i\\t\\y\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\f\\5\\5\\e\\8\\c\\c\\3 ]]",
    "+ [[ aio1-utility-container-f55e8cc3 == \\a\\i\\o\\1\\_\\u\\t\\i\\l\\i\\t\\y\\_\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\f\\5\\5\\e\\8\\c\\c\\3 ]]",
    "+ insert_host_entry '172.29.236.112 aio1-utility-container-f55e8cc3.openstack.local aio1-utility-container-f55e8cc3 aio1_utility_container-f55e8cc3' 172.29.236.112",
    "+ ENTRY='172.29.236.112 aio1-utility-container-f55e8cc3.openstack.local aio1-utility-container-f55e8cc3 aio1_utility_container-f55e8cc3'",
    "+ ADDR=172.29.236.112",
    "++ grep '^172.29.236.112\\b' /etc/hosts",
    "++ wc -l",
    "+ [[ 0 -ge 2 ]]",
    "+ grep -q '^172.29.236.112\\b' /etc/hosts",
    "+ grep -q '^172.29.236.112 aio1-utility-container-f55e8cc3.openstack.local aio1-utility-container-f55e8cc3 aio1_utility_container-f55e8cc3$' /etc/hosts",
    "+ echo '172.29.236.112 aio1-utility-container-f55e8cc3.openstack.local aio1-utility-container-f55e8cc3 aio1_utility_container-f55e8cc3'",
    "+ tee -a /etc/hosts",
    "+ sha1sum /etc/hosts",
    "+ awk '{print $1}'"
]
stdout
172.29.236.197 aio1-cinder-api-container-18a23db6.openstack.local aio1-cinder-api-container-18a23db6 aio1_cinder_api_container-18a23db6
172.29.236.100 aio1.openstack.local aio1
172.29.237.141 aio1-nova-api-container-732da3b7.openstack.local aio1-nova-api-container-732da3b7 aio1_nova_api_container-732da3b7
172.29.237.8 aio1-horizon-container-f8d585ea.openstack.local aio1-horizon-container-f8d585ea aio1_horizon_container-f8d585ea
172.29.237.177 aio1-galera-container-a9dded99.openstack.local aio1-galera-container-a9dded99 aio1_galera_container-a9dded99
172.29.239.24 aio1-glance-container-57de96d5.openstack.local aio1-glance-container-57de96d5 aio1_glance_container-57de96d5
172.29.238.121 aio1-keystone-container-d7b3dc24.openstack.local aio1-keystone-container-d7b3dc24 aio1_keystone_container-d7b3dc24
172.29.238.174 aio1-memcached-container-d8e735ed.openstack.local aio1-memcached-container-d8e735ed aio1_memcached_container-d8e735ed
172.29.238.31 aio1-neutron-server-container-7c69b681.openstack.local aio1-neutron-server-container-7c69b681 aio1_neutron_server_container-7c69b681
172.29.236.67 aio1-placement-container-16aeac79.openstack.local aio1-placement-container-16aeac79 aio1_placement_container-16aeac79
172.29.236.208 aio1-rabbit-mq-container-de40f365.openstack.local aio1-rabbit-mq-container-de40f365 aio1_rabbit_mq_container-de40f365
172.29.236.102 aio1-repo-container-461b4263.openstack.local aio1-repo-container-461b4263 aio1_repo_container-461b4263
172.29.236.112 aio1-utility-container-f55e8cc3.openstack.local aio1-utility-container-f55e8cc3 aio1_utility_container-f55e8cc3
3e25a8edacf09333e7a50a7f98a01f38ba394be6
stdout_lines
[
    "172.29.236.197 aio1-cinder-api-container-18a23db6.openstack.local aio1-cinder-api-container-18a23db6 aio1_cinder_api_container-18a23db6",
    "172.29.236.100 aio1.openstack.local aio1",
    "172.29.237.141 aio1-nova-api-container-732da3b7.openstack.local aio1-nova-api-container-732da3b7 aio1_nova_api_container-732da3b7",
    "172.29.237.8 aio1-horizon-container-f8d585ea.openstack.local aio1-horizon-container-f8d585ea aio1_horizon_container-f8d585ea",
    "172.29.237.177 aio1-galera-container-a9dded99.openstack.local aio1-galera-container-a9dded99 aio1_galera_container-a9dded99",
    "172.29.239.24 aio1-glance-container-57de96d5.openstack.local aio1-glance-container-57de96d5 aio1_glance_container-57de96d5",
    "172.29.238.121 aio1-keystone-container-d7b3dc24.openstack.local aio1-keystone-container-d7b3dc24 aio1_keystone_container-d7b3dc24",
    "172.29.238.174 aio1-memcached-container-d8e735ed.openstack.local aio1-memcached-container-d8e735ed aio1_memcached_container-d8e735ed",
    "172.29.238.31 aio1-neutron-server-container-7c69b681.openstack.local aio1-neutron-server-container-7c69b681 aio1_neutron_server_container-7c69b681",
    "172.29.236.67 aio1-placement-container-16aeac79.openstack.local aio1-placement-container-16aeac79 aio1_placement_container-16aeac79",
    "172.29.236.208 aio1-rabbit-mq-container-de40f365.openstack.local aio1-rabbit-mq-container-de40f365 aio1_rabbit_mq_container-de40f365",
    "172.29.236.102 aio1-repo-container-461b4263.openstack.local aio1-repo-container-461b4263 aio1_repo_container-461b4263",
    "172.29.236.112 aio1-utility-container-f55e8cc3.openstack.local aio1-utility-container-f55e8cc3 aio1_utility_container-f55e8cc3",
    "3e25a8edacf09333e7a50a7f98a01f38ba394be6"
]