Details

Result

Field Value
changed
True
cmd
[
    "/usr/local/bin/openstack-host-hostfile-setup.sh"
]
delta
0:00:00.116509
end
2020-01-31 15:50:06.122475
rc
0
start
2020-01-31 15:50:06.005966
stderr
+ host_update aio1-cinder-api-container-c83c4ae4 aio1-cinder-api-container-c83c4ae4 aio1_cinder_api_container-c83c4ae4 172.29.238.205 openstack.local
+ ANSHOSTNAME=aio1-cinder-api-container-c83c4ae4
+ RFCHOSTNAME=aio1-cinder-api-container-c83c4ae4
+ INVHOSTNAME=aio1_cinder_api_container-c83c4ae4
+ IPADDR=172.29.238.205
+ DOMAINNAME=openstack.local
+ [[ aio1-cinder-api-container-c83c4ae4 != \a\i\o\1\-\c\i\n\d\e\r\-\a\p\i\-\c\o\n\t\a\i\n\e\r\-\c\8\3\c\4\a\e\4 ]]
+ [[ aio1-cinder-api-container-c83c4ae4 != \a\i\o\1\-\c\i\n\d\e\r\-\a\p\i\-\c\o\n\t\a\i\n\e\r\-\c\8\3\c\4\a\e\4 ]]
+ [[ aio1-cinder-api-container-c83c4ae4 == \a\i\o\1\-\c\i\n\d\e\r\-\a\p\i\-\c\o\n\t\a\i\n\e\r\-\c\8\3\c\4\a\e\4 ]]
+ [[ aio1-cinder-api-container-c83c4ae4 == \a\i\o\1\_\c\i\n\d\e\r\_\a\p\i\_\c\o\n\t\a\i\n\e\r\-\c\8\3\c\4\a\e\4 ]]
+ insert_host_entry '172.29.238.205 aio1-cinder-api-container-c83c4ae4.openstack.local aio1-cinder-api-container-c83c4ae4 aio1_cinder_api_container-c83c4ae4' 172.29.238.205
+ ENTRY='172.29.238.205 aio1-cinder-api-container-c83c4ae4.openstack.local aio1-cinder-api-container-c83c4ae4 aio1_cinder_api_container-c83c4ae4'
+ ADDR=172.29.238.205
++ grep '^172.29.238.205\b' /etc/hosts
++ wc -l
+ [[ 0 -ge 2 ]]
+ grep -q '^172.29.238.205\b' /etc/hosts
+ grep -q '^172.29.238.205 aio1-cinder-api-container-c83c4ae4.openstack.local aio1-cinder-api-container-c83c4ae4 aio1_cinder_api_container-c83c4ae4$' /etc/hosts
+ echo '172.29.238.205 aio1-cinder-api-container-c83c4ae4.openstack.local aio1-cinder-api-container-c83c4ae4 aio1_cinder_api_container-c83c4ae4'
+ tee -a /etc/hosts
+ 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
+ [[ 1 -ge 2 ]]
+ grep -q '^172.29.236.100\b' /etc/hosts
+ sed -i 's|^172.29.236.100\b.*|172.29.236.100 aio1.openstack.local aio1|' /etc/hosts
+ host_update aio1-nova-api-container-f7502abe aio1-nova-api-container-f7502abe aio1_nova_api_container-f7502abe 172.29.239.47 openstack.local
+ ANSHOSTNAME=aio1-nova-api-container-f7502abe
+ RFCHOSTNAME=aio1-nova-api-container-f7502abe
+ INVHOSTNAME=aio1_nova_api_container-f7502abe
+ IPADDR=172.29.239.47
+ DOMAINNAME=openstack.local
+ [[ aio1-nova-api-container-f7502abe != \a\i\o\1\-\n\o\v\a\-\a\p\i\-\c\o\n\t\a\i\n\e\r\-\f\7\5\0\2\a\b\e ]]
+ [[ aio1-nova-api-container-f7502abe != \a\i\o\1\-\n\o\v\a\-\a\p\i\-\c\o\n\t\a\i\n\e\r\-\f\7\5\0\2\a\b\e ]]
+ [[ aio1-nova-api-container-f7502abe == \a\i\o\1\-\n\o\v\a\-\a\p\i\-\c\o\n\t\a\i\n\e\r\-\f\7\5\0\2\a\b\e ]]
+ [[ aio1-nova-api-container-f7502abe == \a\i\o\1\_\n\o\v\a\_\a\p\i\_\c\o\n\t\a\i\n\e\r\-\f\7\5\0\2\a\b\e ]]
+ insert_host_entry '172.29.239.47 aio1-nova-api-container-f7502abe.openstack.local aio1-nova-api-container-f7502abe aio1_nova_api_container-f7502abe' 172.29.239.47
+ ENTRY='172.29.239.47 aio1-nova-api-container-f7502abe.openstack.local aio1-nova-api-container-f7502abe aio1_nova_api_container-f7502abe'
+ ADDR=172.29.239.47
++ grep '^172.29.239.47\b' /etc/hosts
++ wc -l
+ [[ 0 -ge 2 ]]
+ grep -q '^172.29.239.47\b' /etc/hosts
+ grep -q '^172.29.239.47 aio1-nova-api-container-f7502abe.openstack.local aio1-nova-api-container-f7502abe aio1_nova_api_container-f7502abe$' /etc/hosts
+ echo '172.29.239.47 aio1-nova-api-container-f7502abe.openstack.local aio1-nova-api-container-f7502abe aio1_nova_api_container-f7502abe'
+ tee -a /etc/hosts
+ host_update aio1-horizon-container-396f8a59 aio1-horizon-container-396f8a59 aio1_horizon_container-396f8a59 172.29.239.245 openstack.local
+ ANSHOSTNAME=aio1-horizon-container-396f8a59
+ RFCHOSTNAME=aio1-horizon-container-396f8a59
+ INVHOSTNAME=aio1_horizon_container-396f8a59
+ IPADDR=172.29.239.245
+ DOMAINNAME=openstack.local
+ [[ aio1-horizon-container-396f8a59 != \a\i\o\1\-\h\o\r\i\z\o\n\-\c\o\n\t\a\i\n\e\r\-\3\9\6\f\8\a\5\9 ]]
+ [[ aio1-horizon-container-396f8a59 != \a\i\o\1\-\h\o\r\i\z\o\n\-\c\o\n\t\a\i\n\e\r\-\3\9\6\f\8\a\5\9 ]]
+ [[ aio1-horizon-container-396f8a59 == \a\i\o\1\-\h\o\r\i\z\o\n\-\c\o\n\t\a\i\n\e\r\-\3\9\6\f\8\a\5\9 ]]
+ [[ aio1-horizon-container-396f8a59 == \a\i\o\1\_\h\o\r\i\z\o\n\_\c\o\n\t\a\i\n\e\r\-\3\9\6\f\8\a\5\9 ]]
+ insert_host_entry '172.29.239.245 aio1-horizon-container-396f8a59.openstack.local aio1-horizon-container-396f8a59 aio1_horizon_container-396f8a59' 172.29.239.245
+ ENTRY='172.29.239.245 aio1-horizon-container-396f8a59.openstack.local aio1-horizon-container-396f8a59 aio1_horizon_container-396f8a59'
+ ADDR=172.29.239.245
++ grep '^172.29.239.245\b' /etc/hosts
++ wc -l
+ [[ 0 -ge 2 ]]
+ grep -q '^172.29.239.245\b' /etc/hosts
+ grep -q '^172.29.239.245 aio1-horizon-container-396f8a59.openstack.local aio1-horizon-container-396f8a59 aio1_horizon_container-396f8a59$' /etc/hosts
+ echo '172.29.239.245 aio1-horizon-container-396f8a59.openstack.local aio1-horizon-container-396f8a59 aio1_horizon_container-396f8a59'
+ tee -a /etc/hosts
+ host_update aio1-galera-container-2ef46bc1 aio1-galera-container-2ef46bc1 aio1_galera_container-2ef46bc1 172.29.236.121 openstack.local
+ ANSHOSTNAME=aio1-galera-container-2ef46bc1
+ RFCHOSTNAME=aio1-galera-container-2ef46bc1
+ INVHOSTNAME=aio1_galera_container-2ef46bc1
+ IPADDR=172.29.236.121
+ DOMAINNAME=openstack.local
+ [[ aio1-galera-container-2ef46bc1 != \a\i\o\1\-\g\a\l\e\r\a\-\c\o\n\t\a\i\n\e\r\-\2\e\f\4\6\b\c\1 ]]
+ [[ aio1-galera-container-2ef46bc1 != \a\i\o\1\-\g\a\l\e\r\a\-\c\o\n\t\a\i\n\e\r\-\2\e\f\4\6\b\c\1 ]]
+ [[ aio1-galera-container-2ef46bc1 == \a\i\o\1\-\g\a\l\e\r\a\-\c\o\n\t\a\i\n\e\r\-\2\e\f\4\6\b\c\1 ]]
+ [[ aio1-galera-container-2ef46bc1 == \a\i\o\1\_\g\a\l\e\r\a\_\c\o\n\t\a\i\n\e\r\-\2\e\f\4\6\b\c\1 ]]
+ insert_host_entry '172.29.236.121 aio1-galera-container-2ef46bc1.openstack.local aio1-galera-container-2ef46bc1 aio1_galera_container-2ef46bc1' 172.29.236.121
+ ENTRY='172.29.236.121 aio1-galera-container-2ef46bc1.openstack.local aio1-galera-container-2ef46bc1 aio1_galera_container-2ef46bc1'
+ ADDR=172.29.236.121
++ grep '^172.29.236.121\b' /etc/hosts
++ wc -l
+ [[ 0 -ge 2 ]]
+ grep -q '^172.29.236.121\b' /etc/hosts
+ grep -q '^172.29.236.121 aio1-galera-container-2ef46bc1.openstack.local aio1-galera-container-2ef46bc1 aio1_galera_container-2ef46bc1$' /etc/hosts
+ echo '172.29.236.121 aio1-galera-container-2ef46bc1.openstack.local aio1-galera-container-2ef46bc1 aio1_galera_container-2ef46bc1'
+ tee -a /etc/hosts
+ host_update aio1-glance-container-a2006209 aio1-glance-container-a2006209 aio1_glance_container-a2006209 172.29.238.95 openstack.local
+ ANSHOSTNAME=aio1-glance-container-a2006209
+ RFCHOSTNAME=aio1-glance-container-a2006209
+ INVHOSTNAME=aio1_glance_container-a2006209
+ IPADDR=172.29.238.95
+ DOMAINNAME=openstack.local
+ [[ aio1-glance-container-a2006209 != \a\i\o\1\-\g\l\a\n\c\e\-\c\o\n\t\a\i\n\e\r\-\a\2\0\0\6\2\0\9 ]]
+ [[ aio1-glance-container-a2006209 != \a\i\o\1\-\g\l\a\n\c\e\-\c\o\n\t\a\i\n\e\r\-\a\2\0\0\6\2\0\9 ]]
+ [[ aio1-glance-container-a2006209 == \a\i\o\1\-\g\l\a\n\c\e\-\c\o\n\t\a\i\n\e\r\-\a\2\0\0\6\2\0\9 ]]
+ [[ aio1-glance-container-a2006209 == \a\i\o\1\_\g\l\a\n\c\e\_\c\o\n\t\a\i\n\e\r\-\a\2\0\0\6\2\0\9 ]]
+ insert_host_entry '172.29.238.95 aio1-glance-container-a2006209.openstack.local aio1-glance-container-a2006209 aio1_glance_container-a2006209' 172.29.238.95
+ ENTRY='172.29.238.95 aio1-glance-container-a2006209.openstack.local aio1-glance-container-a2006209 aio1_glance_container-a2006209'
+ ADDR=172.29.238.95
++ grep '^172.29.238.95\b' /etc/hosts
++ wc -l
+ [[ 0 -ge 2 ]]
+ grep -q '^172.29.238.95\b' /etc/hosts
+ grep -q '^172.29.238.95 aio1-glance-container-a2006209.openstack.local aio1-glance-container-a2006209 aio1_glance_container-a2006209$' /etc/hosts
+ echo '172.29.238.95 aio1-glance-container-a2006209.openstack.local aio1-glance-container-a2006209 aio1_glance_container-a2006209'
+ tee -a /etc/hosts
+ host_update aio1-keystone-container-cdd261e9 aio1-keystone-container-cdd261e9 aio1_keystone_container-cdd261e9 172.29.238.225 openstack.local
+ ANSHOSTNAME=aio1-keystone-container-cdd261e9
+ RFCHOSTNAME=aio1-keystone-container-cdd261e9
+ INVHOSTNAME=aio1_keystone_container-cdd261e9
+ IPADDR=172.29.238.225
+ DOMAINNAME=openstack.local
+ [[ aio1-keystone-container-cdd261e9 != \a\i\o\1\-\k\e\y\s\t\o\n\e\-\c\o\n\t\a\i\n\e\r\-\c\d\d\2\6\1\e\9 ]]
+ [[ aio1-keystone-container-cdd261e9 != \a\i\o\1\-\k\e\y\s\t\o\n\e\-\c\o\n\t\a\i\n\e\r\-\c\d\d\2\6\1\e\9 ]]
+ [[ aio1-keystone-container-cdd261e9 == \a\i\o\1\-\k\e\y\s\t\o\n\e\-\c\o\n\t\a\i\n\e\r\-\c\d\d\2\6\1\e\9 ]]
+ [[ aio1-keystone-container-cdd261e9 == \a\i\o\1\_\k\e\y\s\t\o\n\e\_\c\o\n\t\a\i\n\e\r\-\c\d\d\2\6\1\e\9 ]]
+ insert_host_entry '172.29.238.225 aio1-keystone-container-cdd261e9.openstack.local aio1-keystone-container-cdd261e9 aio1_keystone_container-cdd261e9' 172.29.238.225
+ ENTRY='172.29.238.225 aio1-keystone-container-cdd261e9.openstack.local aio1-keystone-container-cdd261e9 aio1_keystone_container-cdd261e9'
+ ADDR=172.29.238.225
++ grep '^172.29.238.225\b' /etc/hosts
++ wc -l
+ [[ 0 -ge 2 ]]
+ grep -q '^172.29.238.225\b' /etc/hosts
+ grep -q '^172.29.238.225 aio1-keystone-container-cdd261e9.openstack.local aio1-keystone-container-cdd261e9 aio1_keystone_container-cdd261e9$' /etc/hosts
+ tee -a /etc/hosts
+ echo '172.29.238.225 aio1-keystone-container-cdd261e9.openstack.local aio1-keystone-container-cdd261e9 aio1_keystone_container-cdd261e9'
+ host_update aio1-memcached-container-47d59869 aio1-memcached-container-47d59869 aio1_memcached_container-47d59869 172.29.238.89 openstack.local
+ ANSHOSTNAME=aio1-memcached-container-47d59869
+ RFCHOSTNAME=aio1-memcached-container-47d59869
+ INVHOSTNAME=aio1_memcached_container-47d59869
+ IPADDR=172.29.238.89
+ DOMAINNAME=openstack.local
+ [[ aio1-memcached-container-47d59869 != \a\i\o\1\-\m\e\m\c\a\c\h\e\d\-\c\o\n\t\a\i\n\e\r\-\4\7\d\5\9\8\6\9 ]]
+ [[ aio1-memcached-container-47d59869 != \a\i\o\1\-\m\e\m\c\a\c\h\e\d\-\c\o\n\t\a\i\n\e\r\-\4\7\d\5\9\8\6\9 ]]
+ [[ aio1-memcached-container-47d59869 == \a\i\o\1\-\m\e\m\c\a\c\h\e\d\-\c\o\n\t\a\i\n\e\r\-\4\7\d\5\9\8\6\9 ]]
+ [[ aio1-memcached-container-47d59869 == \a\i\o\1\_\m\e\m\c\a\c\h\e\d\_\c\o\n\t\a\i\n\e\r\-\4\7\d\5\9\8\6\9 ]]
+ insert_host_entry '172.29.238.89 aio1-memcached-container-47d59869.openstack.local aio1-memcached-container-47d59869 aio1_memcached_container-47d59869' 172.29.238.89
+ ENTRY='172.29.238.89 aio1-memcached-container-47d59869.openstack.local aio1-memcached-container-47d59869 aio1_memcached_container-47d59869'
+ ADDR=172.29.238.89
++ grep '^172.29.238.89\b' /etc/hosts
++ wc -l
+ [[ 0 -ge 2 ]]
+ grep -q '^172.29.238.89\b' /etc/hosts
+ grep -q '^172.29.238.89 aio1-memcached-container-47d59869.openstack.local aio1-memcached-container-47d59869 aio1_memcached_container-47d59869$' /etc/hosts
+ echo '172.29.238.89 aio1-memcached-container-47d59869.openstack.local aio1-memcached-container-47d59869 aio1_memcached_container-47d59869'
+ tee -a /etc/hosts
+ host_update aio1-neutron-server-container-b4eba4d5 aio1-neutron-server-container-b4eba4d5 aio1_neutron_server_container-b4eba4d5 172.29.237.61 openstack.local
+ ANSHOSTNAME=aio1-neutron-server-container-b4eba4d5
+ RFCHOSTNAME=aio1-neutron-server-container-b4eba4d5
+ INVHOSTNAME=aio1_neutron_server_container-b4eba4d5
+ IPADDR=172.29.237.61
+ DOMAINNAME=openstack.local
+ [[ aio1-neutron-server-container-b4eba4d5 != \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\-\b\4\e\b\a\4\d\5 ]]
+ [[ aio1-neutron-server-container-b4eba4d5 != \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\-\b\4\e\b\a\4\d\5 ]]
+ [[ aio1-neutron-server-container-b4eba4d5 == \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\-\b\4\e\b\a\4\d\5 ]]
+ [[ aio1-neutron-server-container-b4eba4d5 == \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\-\b\4\e\b\a\4\d\5 ]]
+ insert_host_entry '172.29.237.61 aio1-neutron-server-container-b4eba4d5.openstack.local aio1-neutron-server-container-b4eba4d5 aio1_neutron_server_container-b4eba4d5' 172.29.237.61
+ ENTRY='172.29.237.61 aio1-neutron-server-container-b4eba4d5.openstack.local aio1-neutron-server-container-b4eba4d5 aio1_neutron_server_container-b4eba4d5'
+ ADDR=172.29.237.61
++ grep '^172.29.237.61\b' /etc/hosts
++ wc -l
+ [[ 0 -ge 2 ]]
+ grep -q '^172.29.237.61\b' /etc/hosts
+ grep -q '^172.29.237.61 aio1-neutron-server-container-b4eba4d5.openstack.local aio1-neutron-server-container-b4eba4d5 aio1_neutron_server_container-b4eba4d5$' /etc/hosts
+ echo '172.29.237.61 aio1-neutron-server-container-b4eba4d5.openstack.local aio1-neutron-server-container-b4eba4d5 aio1_neutron_server_container-b4eba4d5'
+ tee -a /etc/hosts
+ host_update aio1-placement-container-40164462 aio1-placement-container-40164462 aio1_placement_container-40164462 172.29.239.0 openstack.local
+ ANSHOSTNAME=aio1-placement-container-40164462
+ RFCHOSTNAME=aio1-placement-container-40164462
+ INVHOSTNAME=aio1_placement_container-40164462
+ IPADDR=172.29.239.0
+ DOMAINNAME=openstack.local
+ [[ aio1-placement-container-40164462 != \a\i\o\1\-\p\l\a\c\e\m\e\n\t\-\c\o\n\t\a\i\n\e\r\-\4\0\1\6\4\4\6\2 ]]
+ [[ aio1-placement-container-40164462 != \a\i\o\1\-\p\l\a\c\e\m\e\n\t\-\c\o\n\t\a\i\n\e\r\-\4\0\1\6\4\4\6\2 ]]
+ [[ aio1-placement-container-40164462 == \a\i\o\1\-\p\l\a\c\e\m\e\n\t\-\c\o\n\t\a\i\n\e\r\-\4\0\1\6\4\4\6\2 ]]
+ [[ aio1-placement-container-40164462 == \a\i\o\1\_\p\l\a\c\e\m\e\n\t\_\c\o\n\t\a\i\n\e\r\-\4\0\1\6\4\4\6\2 ]]
+ insert_host_entry '172.29.239.0 aio1-placement-container-40164462.openstack.local aio1-placement-container-40164462 aio1_placement_container-40164462' 172.29.239.0
+ ENTRY='172.29.239.0 aio1-placement-container-40164462.openstack.local aio1-placement-container-40164462 aio1_placement_container-40164462'
+ ADDR=172.29.239.0
++ grep '^172.29.239.0\b' /etc/hosts
++ wc -l
+ [[ 0 -ge 2 ]]
+ grep -q '^172.29.239.0\b' /etc/hosts
+ grep -q '^172.29.239.0 aio1-placement-container-40164462.openstack.local aio1-placement-container-40164462 aio1_placement_container-40164462$' /etc/hosts
+ echo '172.29.239.0 aio1-placement-container-40164462.openstack.local aio1-placement-container-40164462 aio1_placement_container-40164462'
+ tee -a /etc/hosts
+ host_update aio1-rabbit-mq-container-8c63f6a7 aio1-rabbit-mq-container-8c63f6a7 aio1_rabbit_mq_container-8c63f6a7 172.29.236.254 openstack.local
+ ANSHOSTNAME=aio1-rabbit-mq-container-8c63f6a7
+ RFCHOSTNAME=aio1-rabbit-mq-container-8c63f6a7
+ INVHOSTNAME=aio1_rabbit_mq_container-8c63f6a7
+ IPADDR=172.29.236.254
+ DOMAINNAME=openstack.local
+ [[ aio1-rabbit-mq-container-8c63f6a7 != \a\i\o\1\-\r\a\b\b\i\t\-\m\q\-\c\o\n\t\a\i\n\e\r\-\8\c\6\3\f\6\a\7 ]]
+ [[ aio1-rabbit-mq-container-8c63f6a7 != \a\i\o\1\-\r\a\b\b\i\t\-\m\q\-\c\o\n\t\a\i\n\e\r\-\8\c\6\3\f\6\a\7 ]]
+ [[ aio1-rabbit-mq-container-8c63f6a7 == \a\i\o\1\-\r\a\b\b\i\t\-\m\q\-\c\o\n\t\a\i\n\e\r\-\8\c\6\3\f\6\a\7 ]]
+ [[ aio1-rabbit-mq-container-8c63f6a7 == \a\i\o\1\_\r\a\b\b\i\t\_\m\q\_\c\o\n\t\a\i\n\e\r\-\8\c\6\3\f\6\a\7 ]]
+ insert_host_entry '172.29.236.254 aio1-rabbit-mq-container-8c63f6a7.openstack.local aio1-rabbit-mq-container-8c63f6a7 aio1_rabbit_mq_container-8c63f6a7' 172.29.236.254
+ ENTRY='172.29.236.254 aio1-rabbit-mq-container-8c63f6a7.openstack.local aio1-rabbit-mq-container-8c63f6a7 aio1_rabbit_mq_container-8c63f6a7'
+ ADDR=172.29.236.254
++ grep '^172.29.236.254\b' /etc/hosts
++ wc -l
+ [[ 0 -ge 2 ]]
+ grep -q '^172.29.236.254\b' /etc/hosts
+ grep -q '^172.29.236.254 aio1-rabbit-mq-container-8c63f6a7.openstack.local aio1-rabbit-mq-container-8c63f6a7 aio1_rabbit_mq_container-8c63f6a7$' /etc/hosts
+ echo '172.29.236.254 aio1-rabbit-mq-container-8c63f6a7.openstack.local aio1-rabbit-mq-container-8c63f6a7 aio1_rabbit_mq_container-8c63f6a7'
+ tee -a /etc/hosts
+ host_update aio1-repo-container-1d709025 aio1-repo-container-1d709025 aio1_repo_container-1d709025 172.29.239.130 openstack.local
+ ANSHOSTNAME=aio1-repo-container-1d709025
+ RFCHOSTNAME=aio1-repo-container-1d709025
+ INVHOSTNAME=aio1_repo_container-1d709025
+ IPADDR=172.29.239.130
+ DOMAINNAME=openstack.local
+ [[ aio1-repo-container-1d709025 != \a\i\o\1\-\r\e\p\o\-\c\o\n\t\a\i\n\e\r\-\1\d\7\0\9\0\2\5 ]]
+ [[ aio1-repo-container-1d709025 != \a\i\o\1\-\r\e\p\o\-\c\o\n\t\a\i\n\e\r\-\1\d\7\0\9\0\2\5 ]]
+ [[ aio1-repo-container-1d709025 == \a\i\o\1\-\r\e\p\o\-\c\o\n\t\a\i\n\e\r\-\1\d\7\0\9\0\2\5 ]]
+ [[ aio1-repo-container-1d709025 == \a\i\o\1\_\r\e\p\o\_\c\o\n\t\a\i\n\e\r\-\1\d\7\0\9\0\2\5 ]]
+ insert_host_entry '172.29.239.130 aio1-repo-container-1d709025.openstack.local aio1-repo-container-1d709025 aio1_repo_container-1d709025' 172.29.239.130
+ ENTRY='172.29.239.130 aio1-repo-container-1d709025.openstack.local aio1-repo-container-1d709025 aio1_repo_container-1d709025'
+ ADDR=172.29.239.130
++ grep '^172.29.239.130\b' /etc/hosts
++ wc -l
+ [[ 0 -ge 2 ]]
+ grep -q '^172.29.239.130\b' /etc/hosts
+ grep -q '^172.29.239.130 aio1-repo-container-1d709025.openstack.local aio1-repo-container-1d709025 aio1_repo_container-1d709025$' /etc/hosts
+ echo '172.29.239.130 aio1-repo-container-1d709025.openstack.local aio1-repo-container-1d709025 aio1_repo_container-1d709025'
+ tee -a /etc/hosts
+ host_update aio1-utility-container-36b9586e aio1-utility-container-36b9586e aio1_utility_container-36b9586e 172.29.238.7 openstack.local
+ ANSHOSTNAME=aio1-utility-container-36b9586e
+ RFCHOSTNAME=aio1-utility-container-36b9586e
+ INVHOSTNAME=aio1_utility_container-36b9586e
+ IPADDR=172.29.238.7
+ DOMAINNAME=openstack.local
+ [[ aio1-utility-container-36b9586e != \a\i\o\1\-\u\t\i\l\i\t\y\-\c\o\n\t\a\i\n\e\r\-\3\6\b\9\5\8\6\e ]]
+ [[ aio1-utility-container-36b9586e != \a\i\o\1\-\u\t\i\l\i\t\y\-\c\o\n\t\a\i\n\e\r\-\3\6\b\9\5\8\6\e ]]
+ [[ aio1-utility-container-36b9586e == \a\i\o\1\-\u\t\i\l\i\t\y\-\c\o\n\t\a\i\n\e\r\-\3\6\b\9\5\8\6\e ]]
+ [[ aio1-utility-container-36b9586e == \a\i\o\1\_\u\t\i\l\i\t\y\_\c\o\n\t\a\i\n\e\r\-\3\6\b\9\5\8\6\e ]]
+ insert_host_entry '172.29.238.7 aio1-utility-container-36b9586e.openstack.local aio1-utility-container-36b9586e aio1_utility_container-36b9586e' 172.29.238.7
+ ENTRY='172.29.238.7 aio1-utility-container-36b9586e.openstack.local aio1-utility-container-36b9586e aio1_utility_container-36b9586e'
+ ADDR=172.29.238.7
++ grep '^172.29.238.7\b' /etc/hosts
++ wc -l
+ [[ 0 -ge 2 ]]
+ grep -q '^172.29.238.7\b' /etc/hosts
+ grep -q '^172.29.238.7 aio1-utility-container-36b9586e.openstack.local aio1-utility-container-36b9586e aio1_utility_container-36b9586e$' /etc/hosts
+ echo '172.29.238.7 aio1-utility-container-36b9586e.openstack.local aio1-utility-container-36b9586e aio1_utility_container-36b9586e'
+ tee -a /etc/hosts
+ sha1sum /etc/hosts
+ awk '{print $1}'
stderr_lines
[
    "+ host_update aio1-cinder-api-container-c83c4ae4 aio1-cinder-api-container-c83c4ae4 aio1_cinder_api_container-c83c4ae4 172.29.238.205 openstack.local",
    "+ ANSHOSTNAME=aio1-cinder-api-container-c83c4ae4",
    "+ RFCHOSTNAME=aio1-cinder-api-container-c83c4ae4",
    "+ INVHOSTNAME=aio1_cinder_api_container-c83c4ae4",
    "+ IPADDR=172.29.238.205",
    "+ DOMAINNAME=openstack.local",
    "+ [[ aio1-cinder-api-container-c83c4ae4 != \\a\\i\\o\\1\\-\\c\\i\\n\\d\\e\\r\\-\\a\\p\\i\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\c\\8\\3\\c\\4\\a\\e\\4 ]]",
    "+ [[ aio1-cinder-api-container-c83c4ae4 != \\a\\i\\o\\1\\-\\c\\i\\n\\d\\e\\r\\-\\a\\p\\i\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\c\\8\\3\\c\\4\\a\\e\\4 ]]",
    "+ [[ aio1-cinder-api-container-c83c4ae4 == \\a\\i\\o\\1\\-\\c\\i\\n\\d\\e\\r\\-\\a\\p\\i\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\c\\8\\3\\c\\4\\a\\e\\4 ]]",
    "+ [[ aio1-cinder-api-container-c83c4ae4 == \\a\\i\\o\\1\\_\\c\\i\\n\\d\\e\\r\\_\\a\\p\\i\\_\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\c\\8\\3\\c\\4\\a\\e\\4 ]]",
    "+ insert_host_entry '172.29.238.205 aio1-cinder-api-container-c83c4ae4.openstack.local aio1-cinder-api-container-c83c4ae4 aio1_cinder_api_container-c83c4ae4' 172.29.238.205",
    "+ ENTRY='172.29.238.205 aio1-cinder-api-container-c83c4ae4.openstack.local aio1-cinder-api-container-c83c4ae4 aio1_cinder_api_container-c83c4ae4'",
    "+ ADDR=172.29.238.205",
    "++ grep '^172.29.238.205\\b' /etc/hosts",
    "++ wc -l",
    "+ [[ 0 -ge 2 ]]",
    "+ grep -q '^172.29.238.205\\b' /etc/hosts",
    "+ grep -q '^172.29.238.205 aio1-cinder-api-container-c83c4ae4.openstack.local aio1-cinder-api-container-c83c4ae4 aio1_cinder_api_container-c83c4ae4$' /etc/hosts",
    "+ echo '172.29.238.205 aio1-cinder-api-container-c83c4ae4.openstack.local aio1-cinder-api-container-c83c4ae4 aio1_cinder_api_container-c83c4ae4'",
    "+ tee -a /etc/hosts",
    "+ 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",
    "+ [[ 1 -ge 2 ]]",
    "+ grep -q '^172.29.236.100\\b' /etc/hosts",
    "+ sed -i 's|^172.29.236.100\\b.*|172.29.236.100 aio1.openstack.local aio1|' /etc/hosts",
    "+ host_update aio1-nova-api-container-f7502abe aio1-nova-api-container-f7502abe aio1_nova_api_container-f7502abe 172.29.239.47 openstack.local",
    "+ ANSHOSTNAME=aio1-nova-api-container-f7502abe",
    "+ RFCHOSTNAME=aio1-nova-api-container-f7502abe",
    "+ INVHOSTNAME=aio1_nova_api_container-f7502abe",
    "+ IPADDR=172.29.239.47",
    "+ DOMAINNAME=openstack.local",
    "+ [[ aio1-nova-api-container-f7502abe != \\a\\i\\o\\1\\-\\n\\o\\v\\a\\-\\a\\p\\i\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\f\\7\\5\\0\\2\\a\\b\\e ]]",
    "+ [[ aio1-nova-api-container-f7502abe != \\a\\i\\o\\1\\-\\n\\o\\v\\a\\-\\a\\p\\i\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\f\\7\\5\\0\\2\\a\\b\\e ]]",
    "+ [[ aio1-nova-api-container-f7502abe == \\a\\i\\o\\1\\-\\n\\o\\v\\a\\-\\a\\p\\i\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\f\\7\\5\\0\\2\\a\\b\\e ]]",
    "+ [[ aio1-nova-api-container-f7502abe == \\a\\i\\o\\1\\_\\n\\o\\v\\a\\_\\a\\p\\i\\_\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\f\\7\\5\\0\\2\\a\\b\\e ]]",
    "+ insert_host_entry '172.29.239.47 aio1-nova-api-container-f7502abe.openstack.local aio1-nova-api-container-f7502abe aio1_nova_api_container-f7502abe' 172.29.239.47",
    "+ ENTRY='172.29.239.47 aio1-nova-api-container-f7502abe.openstack.local aio1-nova-api-container-f7502abe aio1_nova_api_container-f7502abe'",
    "+ ADDR=172.29.239.47",
    "++ grep '^172.29.239.47\\b' /etc/hosts",
    "++ wc -l",
    "+ [[ 0 -ge 2 ]]",
    "+ grep -q '^172.29.239.47\\b' /etc/hosts",
    "+ grep -q '^172.29.239.47 aio1-nova-api-container-f7502abe.openstack.local aio1-nova-api-container-f7502abe aio1_nova_api_container-f7502abe$' /etc/hosts",
    "+ echo '172.29.239.47 aio1-nova-api-container-f7502abe.openstack.local aio1-nova-api-container-f7502abe aio1_nova_api_container-f7502abe'",
    "+ tee -a /etc/hosts",
    "+ host_update aio1-horizon-container-396f8a59 aio1-horizon-container-396f8a59 aio1_horizon_container-396f8a59 172.29.239.245 openstack.local",
    "+ ANSHOSTNAME=aio1-horizon-container-396f8a59",
    "+ RFCHOSTNAME=aio1-horizon-container-396f8a59",
    "+ INVHOSTNAME=aio1_horizon_container-396f8a59",
    "+ IPADDR=172.29.239.245",
    "+ DOMAINNAME=openstack.local",
    "+ [[ aio1-horizon-container-396f8a59 != \\a\\i\\o\\1\\-\\h\\o\\r\\i\\z\\o\\n\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\3\\9\\6\\f\\8\\a\\5\\9 ]]",
    "+ [[ aio1-horizon-container-396f8a59 != \\a\\i\\o\\1\\-\\h\\o\\r\\i\\z\\o\\n\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\3\\9\\6\\f\\8\\a\\5\\9 ]]",
    "+ [[ aio1-horizon-container-396f8a59 == \\a\\i\\o\\1\\-\\h\\o\\r\\i\\z\\o\\n\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\3\\9\\6\\f\\8\\a\\5\\9 ]]",
    "+ [[ aio1-horizon-container-396f8a59 == \\a\\i\\o\\1\\_\\h\\o\\r\\i\\z\\o\\n\\_\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\3\\9\\6\\f\\8\\a\\5\\9 ]]",
    "+ insert_host_entry '172.29.239.245 aio1-horizon-container-396f8a59.openstack.local aio1-horizon-container-396f8a59 aio1_horizon_container-396f8a59' 172.29.239.245",
    "+ ENTRY='172.29.239.245 aio1-horizon-container-396f8a59.openstack.local aio1-horizon-container-396f8a59 aio1_horizon_container-396f8a59'",
    "+ ADDR=172.29.239.245",
    "++ grep '^172.29.239.245\\b' /etc/hosts",
    "++ wc -l",
    "+ [[ 0 -ge 2 ]]",
    "+ grep -q '^172.29.239.245\\b' /etc/hosts",
    "+ grep -q '^172.29.239.245 aio1-horizon-container-396f8a59.openstack.local aio1-horizon-container-396f8a59 aio1_horizon_container-396f8a59$' /etc/hosts",
    "+ echo '172.29.239.245 aio1-horizon-container-396f8a59.openstack.local aio1-horizon-container-396f8a59 aio1_horizon_container-396f8a59'",
    "+ tee -a /etc/hosts",
    "+ host_update aio1-galera-container-2ef46bc1 aio1-galera-container-2ef46bc1 aio1_galera_container-2ef46bc1 172.29.236.121 openstack.local",
    "+ ANSHOSTNAME=aio1-galera-container-2ef46bc1",
    "+ RFCHOSTNAME=aio1-galera-container-2ef46bc1",
    "+ INVHOSTNAME=aio1_galera_container-2ef46bc1",
    "+ IPADDR=172.29.236.121",
    "+ DOMAINNAME=openstack.local",
    "+ [[ aio1-galera-container-2ef46bc1 != \\a\\i\\o\\1\\-\\g\\a\\l\\e\\r\\a\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\2\\e\\f\\4\\6\\b\\c\\1 ]]",
    "+ [[ aio1-galera-container-2ef46bc1 != \\a\\i\\o\\1\\-\\g\\a\\l\\e\\r\\a\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\2\\e\\f\\4\\6\\b\\c\\1 ]]",
    "+ [[ aio1-galera-container-2ef46bc1 == \\a\\i\\o\\1\\-\\g\\a\\l\\e\\r\\a\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\2\\e\\f\\4\\6\\b\\c\\1 ]]",
    "+ [[ aio1-galera-container-2ef46bc1 == \\a\\i\\o\\1\\_\\g\\a\\l\\e\\r\\a\\_\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\2\\e\\f\\4\\6\\b\\c\\1 ]]",
    "+ insert_host_entry '172.29.236.121 aio1-galera-container-2ef46bc1.openstack.local aio1-galera-container-2ef46bc1 aio1_galera_container-2ef46bc1' 172.29.236.121",
    "+ ENTRY='172.29.236.121 aio1-galera-container-2ef46bc1.openstack.local aio1-galera-container-2ef46bc1 aio1_galera_container-2ef46bc1'",
    "+ ADDR=172.29.236.121",
    "++ grep '^172.29.236.121\\b' /etc/hosts",
    "++ wc -l",
    "+ [[ 0 -ge 2 ]]",
    "+ grep -q '^172.29.236.121\\b' /etc/hosts",
    "+ grep -q '^172.29.236.121 aio1-galera-container-2ef46bc1.openstack.local aio1-galera-container-2ef46bc1 aio1_galera_container-2ef46bc1$' /etc/hosts",
    "+ echo '172.29.236.121 aio1-galera-container-2ef46bc1.openstack.local aio1-galera-container-2ef46bc1 aio1_galera_container-2ef46bc1'",
    "+ tee -a /etc/hosts",
    "+ host_update aio1-glance-container-a2006209 aio1-glance-container-a2006209 aio1_glance_container-a2006209 172.29.238.95 openstack.local",
    "+ ANSHOSTNAME=aio1-glance-container-a2006209",
    "+ RFCHOSTNAME=aio1-glance-container-a2006209",
    "+ INVHOSTNAME=aio1_glance_container-a2006209",
    "+ IPADDR=172.29.238.95",
    "+ DOMAINNAME=openstack.local",
    "+ [[ aio1-glance-container-a2006209 != \\a\\i\\o\\1\\-\\g\\l\\a\\n\\c\\e\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\a\\2\\0\\0\\6\\2\\0\\9 ]]",
    "+ [[ aio1-glance-container-a2006209 != \\a\\i\\o\\1\\-\\g\\l\\a\\n\\c\\e\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\a\\2\\0\\0\\6\\2\\0\\9 ]]",
    "+ [[ aio1-glance-container-a2006209 == \\a\\i\\o\\1\\-\\g\\l\\a\\n\\c\\e\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\a\\2\\0\\0\\6\\2\\0\\9 ]]",
    "+ [[ aio1-glance-container-a2006209 == \\a\\i\\o\\1\\_\\g\\l\\a\\n\\c\\e\\_\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\a\\2\\0\\0\\6\\2\\0\\9 ]]",
    "+ insert_host_entry '172.29.238.95 aio1-glance-container-a2006209.openstack.local aio1-glance-container-a2006209 aio1_glance_container-a2006209' 172.29.238.95",
    "+ ENTRY='172.29.238.95 aio1-glance-container-a2006209.openstack.local aio1-glance-container-a2006209 aio1_glance_container-a2006209'",
    "+ ADDR=172.29.238.95",
    "++ grep '^172.29.238.95\\b' /etc/hosts",
    "++ wc -l",
    "+ [[ 0 -ge 2 ]]",
    "+ grep -q '^172.29.238.95\\b' /etc/hosts",
    "+ grep -q '^172.29.238.95 aio1-glance-container-a2006209.openstack.local aio1-glance-container-a2006209 aio1_glance_container-a2006209$' /etc/hosts",
    "+ echo '172.29.238.95 aio1-glance-container-a2006209.openstack.local aio1-glance-container-a2006209 aio1_glance_container-a2006209'",
    "+ tee -a /etc/hosts",
    "+ host_update aio1-keystone-container-cdd261e9 aio1-keystone-container-cdd261e9 aio1_keystone_container-cdd261e9 172.29.238.225 openstack.local",
    "+ ANSHOSTNAME=aio1-keystone-container-cdd261e9",
    "+ RFCHOSTNAME=aio1-keystone-container-cdd261e9",
    "+ INVHOSTNAME=aio1_keystone_container-cdd261e9",
    "+ IPADDR=172.29.238.225",
    "+ DOMAINNAME=openstack.local",
    "+ [[ aio1-keystone-container-cdd261e9 != \\a\\i\\o\\1\\-\\k\\e\\y\\s\\t\\o\\n\\e\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\c\\d\\d\\2\\6\\1\\e\\9 ]]",
    "+ [[ aio1-keystone-container-cdd261e9 != \\a\\i\\o\\1\\-\\k\\e\\y\\s\\t\\o\\n\\e\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\c\\d\\d\\2\\6\\1\\e\\9 ]]",
    "+ [[ aio1-keystone-container-cdd261e9 == \\a\\i\\o\\1\\-\\k\\e\\y\\s\\t\\o\\n\\e\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\c\\d\\d\\2\\6\\1\\e\\9 ]]",
    "+ [[ aio1-keystone-container-cdd261e9 == \\a\\i\\o\\1\\_\\k\\e\\y\\s\\t\\o\\n\\e\\_\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\c\\d\\d\\2\\6\\1\\e\\9 ]]",
    "+ insert_host_entry '172.29.238.225 aio1-keystone-container-cdd261e9.openstack.local aio1-keystone-container-cdd261e9 aio1_keystone_container-cdd261e9' 172.29.238.225",
    "+ ENTRY='172.29.238.225 aio1-keystone-container-cdd261e9.openstack.local aio1-keystone-container-cdd261e9 aio1_keystone_container-cdd261e9'",
    "+ ADDR=172.29.238.225",
    "++ grep '^172.29.238.225\\b' /etc/hosts",
    "++ wc -l",
    "+ [[ 0 -ge 2 ]]",
    "+ grep -q '^172.29.238.225\\b' /etc/hosts",
    "+ grep -q '^172.29.238.225 aio1-keystone-container-cdd261e9.openstack.local aio1-keystone-container-cdd261e9 aio1_keystone_container-cdd261e9$' /etc/hosts",
    "+ tee -a /etc/hosts",
    "+ echo '172.29.238.225 aio1-keystone-container-cdd261e9.openstack.local aio1-keystone-container-cdd261e9 aio1_keystone_container-cdd261e9'",
    "+ host_update aio1-memcached-container-47d59869 aio1-memcached-container-47d59869 aio1_memcached_container-47d59869 172.29.238.89 openstack.local",
    "+ ANSHOSTNAME=aio1-memcached-container-47d59869",
    "+ RFCHOSTNAME=aio1-memcached-container-47d59869",
    "+ INVHOSTNAME=aio1_memcached_container-47d59869",
    "+ IPADDR=172.29.238.89",
    "+ DOMAINNAME=openstack.local",
    "+ [[ aio1-memcached-container-47d59869 != \\a\\i\\o\\1\\-\\m\\e\\m\\c\\a\\c\\h\\e\\d\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\4\\7\\d\\5\\9\\8\\6\\9 ]]",
    "+ [[ aio1-memcached-container-47d59869 != \\a\\i\\o\\1\\-\\m\\e\\m\\c\\a\\c\\h\\e\\d\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\4\\7\\d\\5\\9\\8\\6\\9 ]]",
    "+ [[ aio1-memcached-container-47d59869 == \\a\\i\\o\\1\\-\\m\\e\\m\\c\\a\\c\\h\\e\\d\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\4\\7\\d\\5\\9\\8\\6\\9 ]]",
    "+ [[ aio1-memcached-container-47d59869 == \\a\\i\\o\\1\\_\\m\\e\\m\\c\\a\\c\\h\\e\\d\\_\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\4\\7\\d\\5\\9\\8\\6\\9 ]]",
    "+ insert_host_entry '172.29.238.89 aio1-memcached-container-47d59869.openstack.local aio1-memcached-container-47d59869 aio1_memcached_container-47d59869' 172.29.238.89",
    "+ ENTRY='172.29.238.89 aio1-memcached-container-47d59869.openstack.local aio1-memcached-container-47d59869 aio1_memcached_container-47d59869'",
    "+ ADDR=172.29.238.89",
    "++ grep '^172.29.238.89\\b' /etc/hosts",
    "++ wc -l",
    "+ [[ 0 -ge 2 ]]",
    "+ grep -q '^172.29.238.89\\b' /etc/hosts",
    "+ grep -q '^172.29.238.89 aio1-memcached-container-47d59869.openstack.local aio1-memcached-container-47d59869 aio1_memcached_container-47d59869$' /etc/hosts",
    "+ echo '172.29.238.89 aio1-memcached-container-47d59869.openstack.local aio1-memcached-container-47d59869 aio1_memcached_container-47d59869'",
    "+ tee -a /etc/hosts",
    "+ host_update aio1-neutron-server-container-b4eba4d5 aio1-neutron-server-container-b4eba4d5 aio1_neutron_server_container-b4eba4d5 172.29.237.61 openstack.local",
    "+ ANSHOSTNAME=aio1-neutron-server-container-b4eba4d5",
    "+ RFCHOSTNAME=aio1-neutron-server-container-b4eba4d5",
    "+ INVHOSTNAME=aio1_neutron_server_container-b4eba4d5",
    "+ IPADDR=172.29.237.61",
    "+ DOMAINNAME=openstack.local",
    "+ [[ aio1-neutron-server-container-b4eba4d5 != \\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\\-\\b\\4\\e\\b\\a\\4\\d\\5 ]]",
    "+ [[ aio1-neutron-server-container-b4eba4d5 != \\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\\-\\b\\4\\e\\b\\a\\4\\d\\5 ]]",
    "+ [[ aio1-neutron-server-container-b4eba4d5 == \\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\\-\\b\\4\\e\\b\\a\\4\\d\\5 ]]",
    "+ [[ aio1-neutron-server-container-b4eba4d5 == \\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\\-\\b\\4\\e\\b\\a\\4\\d\\5 ]]",
    "+ insert_host_entry '172.29.237.61 aio1-neutron-server-container-b4eba4d5.openstack.local aio1-neutron-server-container-b4eba4d5 aio1_neutron_server_container-b4eba4d5' 172.29.237.61",
    "+ ENTRY='172.29.237.61 aio1-neutron-server-container-b4eba4d5.openstack.local aio1-neutron-server-container-b4eba4d5 aio1_neutron_server_container-b4eba4d5'",
    "+ ADDR=172.29.237.61",
    "++ grep '^172.29.237.61\\b' /etc/hosts",
    "++ wc -l",
    "+ [[ 0 -ge 2 ]]",
    "+ grep -q '^172.29.237.61\\b' /etc/hosts",
    "+ grep -q '^172.29.237.61 aio1-neutron-server-container-b4eba4d5.openstack.local aio1-neutron-server-container-b4eba4d5 aio1_neutron_server_container-b4eba4d5$' /etc/hosts",
    "+ echo '172.29.237.61 aio1-neutron-server-container-b4eba4d5.openstack.local aio1-neutron-server-container-b4eba4d5 aio1_neutron_server_container-b4eba4d5'",
    "+ tee -a /etc/hosts",
    "+ host_update aio1-placement-container-40164462 aio1-placement-container-40164462 aio1_placement_container-40164462 172.29.239.0 openstack.local",
    "+ ANSHOSTNAME=aio1-placement-container-40164462",
    "+ RFCHOSTNAME=aio1-placement-container-40164462",
    "+ INVHOSTNAME=aio1_placement_container-40164462",
    "+ IPADDR=172.29.239.0",
    "+ DOMAINNAME=openstack.local",
    "+ [[ aio1-placement-container-40164462 != \\a\\i\\o\\1\\-\\p\\l\\a\\c\\e\\m\\e\\n\\t\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\4\\0\\1\\6\\4\\4\\6\\2 ]]",
    "+ [[ aio1-placement-container-40164462 != \\a\\i\\o\\1\\-\\p\\l\\a\\c\\e\\m\\e\\n\\t\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\4\\0\\1\\6\\4\\4\\6\\2 ]]",
    "+ [[ aio1-placement-container-40164462 == \\a\\i\\o\\1\\-\\p\\l\\a\\c\\e\\m\\e\\n\\t\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\4\\0\\1\\6\\4\\4\\6\\2 ]]",
    "+ [[ aio1-placement-container-40164462 == \\a\\i\\o\\1\\_\\p\\l\\a\\c\\e\\m\\e\\n\\t\\_\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\4\\0\\1\\6\\4\\4\\6\\2 ]]",
    "+ insert_host_entry '172.29.239.0 aio1-placement-container-40164462.openstack.local aio1-placement-container-40164462 aio1_placement_container-40164462' 172.29.239.0",
    "+ ENTRY='172.29.239.0 aio1-placement-container-40164462.openstack.local aio1-placement-container-40164462 aio1_placement_container-40164462'",
    "+ ADDR=172.29.239.0",
    "++ grep '^172.29.239.0\\b' /etc/hosts",
    "++ wc -l",
    "+ [[ 0 -ge 2 ]]",
    "+ grep -q '^172.29.239.0\\b' /etc/hosts",
    "+ grep -q '^172.29.239.0 aio1-placement-container-40164462.openstack.local aio1-placement-container-40164462 aio1_placement_container-40164462$' /etc/hosts",
    "+ echo '172.29.239.0 aio1-placement-container-40164462.openstack.local aio1-placement-container-40164462 aio1_placement_container-40164462'",
    "+ tee -a /etc/hosts",
    "+ host_update aio1-rabbit-mq-container-8c63f6a7 aio1-rabbit-mq-container-8c63f6a7 aio1_rabbit_mq_container-8c63f6a7 172.29.236.254 openstack.local",
    "+ ANSHOSTNAME=aio1-rabbit-mq-container-8c63f6a7",
    "+ RFCHOSTNAME=aio1-rabbit-mq-container-8c63f6a7",
    "+ INVHOSTNAME=aio1_rabbit_mq_container-8c63f6a7",
    "+ IPADDR=172.29.236.254",
    "+ DOMAINNAME=openstack.local",
    "+ [[ aio1-rabbit-mq-container-8c63f6a7 != \\a\\i\\o\\1\\-\\r\\a\\b\\b\\i\\t\\-\\m\\q\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\8\\c\\6\\3\\f\\6\\a\\7 ]]",
    "+ [[ aio1-rabbit-mq-container-8c63f6a7 != \\a\\i\\o\\1\\-\\r\\a\\b\\b\\i\\t\\-\\m\\q\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\8\\c\\6\\3\\f\\6\\a\\7 ]]",
    "+ [[ aio1-rabbit-mq-container-8c63f6a7 == \\a\\i\\o\\1\\-\\r\\a\\b\\b\\i\\t\\-\\m\\q\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\8\\c\\6\\3\\f\\6\\a\\7 ]]",
    "+ [[ aio1-rabbit-mq-container-8c63f6a7 == \\a\\i\\o\\1\\_\\r\\a\\b\\b\\i\\t\\_\\m\\q\\_\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\8\\c\\6\\3\\f\\6\\a\\7 ]]",
    "+ insert_host_entry '172.29.236.254 aio1-rabbit-mq-container-8c63f6a7.openstack.local aio1-rabbit-mq-container-8c63f6a7 aio1_rabbit_mq_container-8c63f6a7' 172.29.236.254",
    "+ ENTRY='172.29.236.254 aio1-rabbit-mq-container-8c63f6a7.openstack.local aio1-rabbit-mq-container-8c63f6a7 aio1_rabbit_mq_container-8c63f6a7'",
    "+ ADDR=172.29.236.254",
    "++ grep '^172.29.236.254\\b' /etc/hosts",
    "++ wc -l",
    "+ [[ 0 -ge 2 ]]",
    "+ grep -q '^172.29.236.254\\b' /etc/hosts",
    "+ grep -q '^172.29.236.254 aio1-rabbit-mq-container-8c63f6a7.openstack.local aio1-rabbit-mq-container-8c63f6a7 aio1_rabbit_mq_container-8c63f6a7$' /etc/hosts",
    "+ echo '172.29.236.254 aio1-rabbit-mq-container-8c63f6a7.openstack.local aio1-rabbit-mq-container-8c63f6a7 aio1_rabbit_mq_container-8c63f6a7'",
    "+ tee -a /etc/hosts",
    "+ host_update aio1-repo-container-1d709025 aio1-repo-container-1d709025 aio1_repo_container-1d709025 172.29.239.130 openstack.local",
    "+ ANSHOSTNAME=aio1-repo-container-1d709025",
    "+ RFCHOSTNAME=aio1-repo-container-1d709025",
    "+ INVHOSTNAME=aio1_repo_container-1d709025",
    "+ IPADDR=172.29.239.130",
    "+ DOMAINNAME=openstack.local",
    "+ [[ aio1-repo-container-1d709025 != \\a\\i\\o\\1\\-\\r\\e\\p\\o\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\1\\d\\7\\0\\9\\0\\2\\5 ]]",
    "+ [[ aio1-repo-container-1d709025 != \\a\\i\\o\\1\\-\\r\\e\\p\\o\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\1\\d\\7\\0\\9\\0\\2\\5 ]]",
    "+ [[ aio1-repo-container-1d709025 == \\a\\i\\o\\1\\-\\r\\e\\p\\o\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\1\\d\\7\\0\\9\\0\\2\\5 ]]",
    "+ [[ aio1-repo-container-1d709025 == \\a\\i\\o\\1\\_\\r\\e\\p\\o\\_\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\1\\d\\7\\0\\9\\0\\2\\5 ]]",
    "+ insert_host_entry '172.29.239.130 aio1-repo-container-1d709025.openstack.local aio1-repo-container-1d709025 aio1_repo_container-1d709025' 172.29.239.130",
    "+ ENTRY='172.29.239.130 aio1-repo-container-1d709025.openstack.local aio1-repo-container-1d709025 aio1_repo_container-1d709025'",
    "+ ADDR=172.29.239.130",
    "++ grep '^172.29.239.130\\b' /etc/hosts",
    "++ wc -l",
    "+ [[ 0 -ge 2 ]]",
    "+ grep -q '^172.29.239.130\\b' /etc/hosts",
    "+ grep -q '^172.29.239.130 aio1-repo-container-1d709025.openstack.local aio1-repo-container-1d709025 aio1_repo_container-1d709025$' /etc/hosts",
    "+ echo '172.29.239.130 aio1-repo-container-1d709025.openstack.local aio1-repo-container-1d709025 aio1_repo_container-1d709025'",
    "+ tee -a /etc/hosts",
    "+ host_update aio1-utility-container-36b9586e aio1-utility-container-36b9586e aio1_utility_container-36b9586e 172.29.238.7 openstack.local",
    "+ ANSHOSTNAME=aio1-utility-container-36b9586e",
    "+ RFCHOSTNAME=aio1-utility-container-36b9586e",
    "+ INVHOSTNAME=aio1_utility_container-36b9586e",
    "+ IPADDR=172.29.238.7",
    "+ DOMAINNAME=openstack.local",
    "+ [[ aio1-utility-container-36b9586e != \\a\\i\\o\\1\\-\\u\\t\\i\\l\\i\\t\\y\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\3\\6\\b\\9\\5\\8\\6\\e ]]",
    "+ [[ aio1-utility-container-36b9586e != \\a\\i\\o\\1\\-\\u\\t\\i\\l\\i\\t\\y\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\3\\6\\b\\9\\5\\8\\6\\e ]]",
    "+ [[ aio1-utility-container-36b9586e == \\a\\i\\o\\1\\-\\u\\t\\i\\l\\i\\t\\y\\-\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\3\\6\\b\\9\\5\\8\\6\\e ]]",
    "+ [[ aio1-utility-container-36b9586e == \\a\\i\\o\\1\\_\\u\\t\\i\\l\\i\\t\\y\\_\\c\\o\\n\\t\\a\\i\\n\\e\\r\\-\\3\\6\\b\\9\\5\\8\\6\\e ]]",
    "+ insert_host_entry '172.29.238.7 aio1-utility-container-36b9586e.openstack.local aio1-utility-container-36b9586e aio1_utility_container-36b9586e' 172.29.238.7",
    "+ ENTRY='172.29.238.7 aio1-utility-container-36b9586e.openstack.local aio1-utility-container-36b9586e aio1_utility_container-36b9586e'",
    "+ ADDR=172.29.238.7",
    "++ grep '^172.29.238.7\\b' /etc/hosts",
    "++ wc -l",
    "+ [[ 0 -ge 2 ]]",
    "+ grep -q '^172.29.238.7\\b' /etc/hosts",
    "+ grep -q '^172.29.238.7 aio1-utility-container-36b9586e.openstack.local aio1-utility-container-36b9586e aio1_utility_container-36b9586e$' /etc/hosts",
    "+ echo '172.29.238.7 aio1-utility-container-36b9586e.openstack.local aio1-utility-container-36b9586e aio1_utility_container-36b9586e'",
    "+ tee -a /etc/hosts",
    "+ sha1sum /etc/hosts",
    "+ awk '{print $1}'"
]
stdout
172.29.238.205 aio1-cinder-api-container-c83c4ae4.openstack.local aio1-cinder-api-container-c83c4ae4 aio1_cinder_api_container-c83c4ae4
172.29.239.47 aio1-nova-api-container-f7502abe.openstack.local aio1-nova-api-container-f7502abe aio1_nova_api_container-f7502abe
172.29.239.245 aio1-horizon-container-396f8a59.openstack.local aio1-horizon-container-396f8a59 aio1_horizon_container-396f8a59
172.29.236.121 aio1-galera-container-2ef46bc1.openstack.local aio1-galera-container-2ef46bc1 aio1_galera_container-2ef46bc1
172.29.238.95 aio1-glance-container-a2006209.openstack.local aio1-glance-container-a2006209 aio1_glance_container-a2006209
172.29.238.225 aio1-keystone-container-cdd261e9.openstack.local aio1-keystone-container-cdd261e9 aio1_keystone_container-cdd261e9
172.29.238.89 aio1-memcached-container-47d59869.openstack.local aio1-memcached-container-47d59869 aio1_memcached_container-47d59869
172.29.237.61 aio1-neutron-server-container-b4eba4d5.openstack.local aio1-neutron-server-container-b4eba4d5 aio1_neutron_server_container-b4eba4d5
172.29.239.0 aio1-placement-container-40164462.openstack.local aio1-placement-container-40164462 aio1_placement_container-40164462
172.29.236.254 aio1-rabbit-mq-container-8c63f6a7.openstack.local aio1-rabbit-mq-container-8c63f6a7 aio1_rabbit_mq_container-8c63f6a7
172.29.239.130 aio1-repo-container-1d709025.openstack.local aio1-repo-container-1d709025 aio1_repo_container-1d709025
172.29.238.7 aio1-utility-container-36b9586e.openstack.local aio1-utility-container-36b9586e aio1_utility_container-36b9586e
ecba7b74129fbe5a470348831c1be584e25a6468
stdout_lines
[
    "172.29.238.205 aio1-cinder-api-container-c83c4ae4.openstack.local aio1-cinder-api-container-c83c4ae4 aio1_cinder_api_container-c83c4ae4",
    "172.29.239.47 aio1-nova-api-container-f7502abe.openstack.local aio1-nova-api-container-f7502abe aio1_nova_api_container-f7502abe",
    "172.29.239.245 aio1-horizon-container-396f8a59.openstack.local aio1-horizon-container-396f8a59 aio1_horizon_container-396f8a59",
    "172.29.236.121 aio1-galera-container-2ef46bc1.openstack.local aio1-galera-container-2ef46bc1 aio1_galera_container-2ef46bc1",
    "172.29.238.95 aio1-glance-container-a2006209.openstack.local aio1-glance-container-a2006209 aio1_glance_container-a2006209",
    "172.29.238.225 aio1-keystone-container-cdd261e9.openstack.local aio1-keystone-container-cdd261e9 aio1_keystone_container-cdd261e9",
    "172.29.238.89 aio1-memcached-container-47d59869.openstack.local aio1-memcached-container-47d59869 aio1_memcached_container-47d59869",
    "172.29.237.61 aio1-neutron-server-container-b4eba4d5.openstack.local aio1-neutron-server-container-b4eba4d5 aio1_neutron_server_container-b4eba4d5",
    "172.29.239.0 aio1-placement-container-40164462.openstack.local aio1-placement-container-40164462 aio1_placement_container-40164462",
    "172.29.236.254 aio1-rabbit-mq-container-8c63f6a7.openstack.local aio1-rabbit-mq-container-8c63f6a7 aio1_rabbit_mq_container-8c63f6a7",
    "172.29.239.130 aio1-repo-container-1d709025.openstack.local aio1-repo-container-1d709025 aio1_repo_container-1d709025",
    "172.29.238.7 aio1-utility-container-36b9586e.openstack.local aio1-utility-container-36b9586e aio1_utility_container-36b9586e",
    "ecba7b74129fbe5a470348831c1be584e25a6468"
]