[root@10.204.216.4] Executing task 'setup_all' 2015-05-19 12:19:26:759876: [root@10.204.217.99] Executing task 'setup_common' 2015-05-19 12:19:26:760015: [root@10.204.216.4] Executing task 'setup_ha' 2015-05-19 12:19:26:760157: [root@10.204.216.4] Executing task 'pre_check' 2015-05-19 12:19:26:760254: [root@10.204.216.4] Executing task 'verify_time_all' 2015-05-19 12:19:26:762318: [root@10.204.217.99] Executing task 'get_all_time' 2015-05-19 12:19:26:767190: [root@10.204.217.99] sudo: DATE=$( date ); DATEMILLISEC=$( date +%s ); echo $DATE; echo $DATEMILLISEC 2015-05-19 12:19:26:769593: [root@10.204.217.99] out: Tue May 19 12:19:26 IST 2015 2015-05-19 12:19:26:953397: [root@10.204.217.99] out: 1432018166 2015-05-19 12:19:26:953517: [root@10.204.217.99] out: 2015-05-19 12:19:26:954068: 2015-05-19 12:19:26:957889: Time synced in the nodes, Proceeding to install/provision. 2015-05-19 12:19:26:971129: [root@10.204.216.4] Executing task 'setup_rabbitmq_cluster' 2015-05-19 12:19:26:986077: [root@10.204.217.99] Executing task 'verify_cluster_status' 2015-05-19 12:19:26:986387: [root@10.204.217.99] sudo: service rabbitmq-server status 2015-05-19 12:19:26:986621: [root@10.204.217.99] out: unix:///tmp/supervisord_support_service.sock no such file 2015-05-19 12:19:27:252832: [root@10.204.217.99] out: 2015-05-19 12:19:27:253398: 2015-05-19 12:19:27:253658: [root@10.204.217.99] Executing task 'listen_at_supervisor_support_port' 2015-05-19 12:19:27:254169: [root@10.204.217.99] sudo: service supervisor-support-service status | grep running 2015-05-19 12:19:27:254398: [root@10.204.217.99] sudo: service supervisor-support-service start 2015-05-19 12:19:27:304270: [root@10.204.217.99] out: supervisor-support-service start/running, process 29070 2015-05-19 12:19:27:369613: [root@10.204.217.99] out: 2015-05-19 12:19:27:369983: 2015-05-19 12:19:27:370153: [root@10.204.217.99] sudo: supervisorctl -s unix:///tmp/supervisord_support_service.sock stop all 2015-05-19 12:19:27:370344: [root@10.204.217.99] out: rabbitmq-server: stopped 2015-05-19 12:19:28:537891: [root@10.204.217.99] out: 2015-05-19 12:19:28:538200: 2015-05-19 12:19:28:538465: [root@10.204.217.99] Executing task 'remove_mnesia_database' 2015-05-19 12:19:28:538750: [root@10.204.217.99] sudo: service rabbitmq-server stop 2015-05-19 12:19:28:538973: [root@10.204.217.99] out: rabbitmq-server: ERROR (not running) 2015-05-19 12:19:28:672866: [root@10.204.217.99] out: 2015-05-19 12:19:28:673233: 2015-05-19 12:19:28:673563: [root@10.204.217.99] sudo: epmd -kill 2015-05-19 12:19:28:673783: [root@10.204.217.99] out: Killed 2015-05-19 12:19:28:722889: [root@10.204.217.99] out: 2015-05-19 12:19:28:723258: 2015-05-19 12:19:28:728023: [root@10.204.217.99] sudo: netstat -anp | grep beam 2015-05-19 12:19:28:728239: [root@10.204.217.99] sudo: rm -rf /var/lib/rabbitmq/mnesia 2015-05-19 12:19:28:793816: [root@10.204.217.99] Executing task 'verify_rabbit_node_hostname' 2015-05-19 12:19:28:848500: [root@10.204.217.99] sudo: hostname -s 2015-05-19 12:19:28:848751: [root@10.204.217.99] out: nodec59 2015-05-19 12:19:28:897988: [root@10.204.217.99] out: 2015-05-19 12:19:28:898298: 2015-05-19 12:19:28:903362: [root@10.204.217.99] sudo: grep nodec59-ctrl /etc/hosts 2015-05-19 12:19:28:903654: [root@10.204.217.99] sudo: echo '10.204.217.99 nodec59 nodec59-ctrl' >> /etc/hosts 2015-05-19 12:19:28:958546: [root@10.204.217.99] Executing task 'allow_rabbitmq_port' 2015-05-19 12:19:29:013730: 2015-05-19 12:19:27:304049: Warning: sudo() received nonzero return code 1 while executing 'service supervisor-support-service status | grep running'! 2015-05-19 12:19:27:304049: 2015-05-19 12:19:27:304049: 2015-05-19 12:19:28:793626: Warning: sudo() received nonzero return code 1 while executing 'netstat -anp | grep beam'! 2015-05-19 12:19:28:793626: 2015-05-19 12:19:28:793626: 2015-05-19 12:19:28:958325: Warning: sudo() received nonzero return code 1 while executing 'grep nodec59-ctrl /etc/hosts'! 2015-05-19 12:19:28:958325: 2015-05-19 12:19:28:958325: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:19:29:018257: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:19:29:216984: [root@10.204.217.99] out: 2015-05-19 12:19:29:220474: 2015-05-19 12:19:29:249078: [root@10.204.217.99] Executing task 'rabbitmq_env' 2015-05-19 12:19:29:268364: [root@10.204.217.99] sudo: hostname -s 2015-05-19 12:19:29:268736: [root@10.204.217.99] out: nodec59 2015-05-19 12:19:29:287943: [root@10.204.217.99] out: 2015-05-19 12:19:29:288052: 2015-05-19 12:19:29:292933: [root@10.204.217.99] put: /tmp/rabbitmq-env-root@10.204.217.99.conf -> /etc/rabbitmq/rabbitmq-env.conf 2015-05-19 12:19:29:389160: [localhost] local: rm /tmp/rabbitmq-env-root@10.204.217.99.conf 2015-05-19 12:19:29:415713: [root@10.204.217.99] Executing task 'config_rabbitmq' 2015-05-19 12:19:29:419578: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:19:29:419867: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:19:29:485641: [root@10.204.217.99] out: 2015-05-19 12:19:29:486028: 2015-05-19 12:19:29:495002: [root@10.204.217.99] sudo: hostname -s 2015-05-19 12:19:29:495327: [root@10.204.217.99] out: nodec59 2015-05-19 12:19:29:544574: [root@10.204.217.99] out: 2015-05-19 12:19:29:544824: 2015-05-19 12:19:29:549948: [root@10.204.217.99] put: /tmp/rabbitmq_root@10.204.217.99.config -> /etc/rabbitmq/rabbitmq.config 2015-05-19 12:19:29:589422: [localhost] local: rm /tmp/rabbitmq_root@10.204.217.99.config 2015-05-19 12:19:29:616636: [root@10.204.217.99] Executing task 'stop_rabbitmq_and_set_cookie' 2015-05-19 12:19:29:620948: [root@10.204.217.99] sudo: service rabbitmq-server stop 2015-05-19 12:19:29:624841: [root@10.204.217.99] out: rabbitmq-server: ERROR (not running) 2015-05-19 12:19:29:890750: [root@10.204.217.99] out: 2015-05-19 12:19:29:891091: 2015-05-19 12:19:29:891377: [root@10.204.217.99] sudo: epmd -kill 2015-05-19 12:19:29:891549: [root@10.204.217.99] out: epmd: Cannot connect to local epmd 2015-05-19 12:19:29:940486: [root@10.204.217.99] out: 2015-05-19 12:19:29:940850: 2015-05-19 12:19:29:945641: [root@10.204.217.99] sudo: pkill -9 beam 2015-05-19 12:19:29:945978: [root@10.204.217.99] sudo: pkill -9 epmd 2015-05-19 12:19:30:011559: [root@10.204.217.99] sudo: netstat -anp | grep beam 2015-05-19 12:19:30:109376: [root@10.204.217.99] sudo: rm -rf /var/lib/rabbitmq/mnesia/ 2015-05-19 12:19:30:175054: [root@10.204.217.99] sudo: echo '2943b397-18a9-48a9-bdef-e355aa858884' > /var/lib/rabbitmq/.erlang.cookie 2015-05-19 12:19:30:229575: [root@10.204.217.99] sudo: chmod 400 /var/lib/rabbitmq/.erlang.cookie 2015-05-19 12:19:30:316405: [root@10.204.217.99] sudo: chown rabbitmq:rabbitmq /var/lib/rabbitmq/.erlang.cookie 2015-05-19 12:19:30:403215: 2015-05-19 12:19:29:945792: Warning: sudo() received nonzero return code 1 while executing 'epmd -kill'! 2015-05-19 12:19:29:945792: 2015-05-19 12:19:29:945792: 2015-05-19 12:19:30:011365: Warning: sudo() received nonzero return code 1 while executing 'pkill -9 beam'! 2015-05-19 12:19:30:011365: 2015-05-19 12:19:30:011365: 2015-05-19 12:19:30:109164: Warning: sudo() received nonzero return code 1 while executing 'pkill -9 epmd'! 2015-05-19 12:19:30:109164: 2015-05-19 12:19:30:109164: 2015-05-19 12:19:30:174911: Warning: sudo() received nonzero return code 1 while executing 'netstat -anp | grep beam'! 2015-05-19 12:19:30:174911: 2015-05-19 12:19:30:174911: [root@10.204.217.99] Executing task 'start_rabbitmq' 2015-05-19 12:19:30:472887: [root@10.204.217.99] sudo: service rabbitmq-server restart 2015-05-19 12:19:30:473192: [root@10.204.217.99] out: rabbitmq-server: ERROR (not running) 2015-05-19 12:19:30:577173: [root@10.204.217.99] out: rabbitmq-server: started 2015-05-19 12:19:36:385509: [root@10.204.217.99] out: 2015-05-19 12:19:36:385816: 2015-05-19 12:19:36:386056: [root@10.204.217.99] Executing task 'verify_cluster_status' 2015-05-19 12:20:36:445010: [root@10.204.217.99] sudo: service rabbitmq-server status 2015-05-19 12:20:36:445274: [root@10.204.217.99] out: rabbitmq-server RUNNING pid 29284, uptime 0:01:06 2015-05-19 12:20:36:549182: [root@10.204.217.99] out: 2015-05-19 12:20:36:549424: 2015-05-19 12:20:36:549780: [root@10.204.217.99] sudo: rabbitmqctl cluster_status 2015-05-19 12:20:36:550044: [root@10.204.217.99] out: Cluster status of node 'rabbit@nodec59-ctrl' ... 2015-05-19 12:20:36:884430: [root@10.204.217.99] out: [{nodes,[{disc,['rabbit@nodec59-ctrl']}]}, 2015-05-19 12:20:36:917211: [root@10.204.217.99] out: {running_nodes,['rabbit@nodec59-ctrl']}, 2015-05-19 12:20:36:917377: [root@10.204.217.99] out: {cluster_name,<<"rabbit@nodec59.englab.juniper.net">>}, 2015-05-19 12:20:36:917471: [root@10.204.217.99] out: {partitions,[]}] 2015-05-19 12:20:36:917576: [root@10.204.217.99] out: 2015-05-19 12:20:36:917947: 2015-05-19 12:20:36:918184: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:20:36:918785: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:20:36:986116: [root@10.204.217.99] out: 2015-05-19 12:20:36:986353: 2015-05-19 12:20:37:016414: [root@10.204.217.99] sudo: hostname -s 2015-05-19 12:20:37:037191: [root@10.204.217.99] out: nodec59 2015-05-19 12:20:37:118457: [root@10.204.217.99] out: 2015-05-19 12:20:37:118905: 2015-05-19 12:20:37:123723: [root@10.204.217.99] Executing task 'increase_limits' 2015-05-19 12:20:37:124075: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:20:37:124307: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:20:37:189614: [root@10.204.217.99] out: 2015-05-19 12:20:37:190126: 2015-05-19 12:20:37:199138: [root@10.204.217.99] sudo: sed -i '/^root\s*soft\s*nproc\s*.*/d' /etc/security/limits.conf 2015-05-19 12:20:37:199449: [root@10.204.217.99] sudo: printf "root soft nofile 65535 2015-05-19 12:20:37:253973: root hard nofile 65535 2015-05-19 12:20:37:253973: " >> /etc/security/limits.conf 2015-05-19 12:20:37:254066: [root@10.204.217.99] sudo: sed -i '/^*\s*hard\s*nofile\s*.*/d' /etc/security/limits.conf 2015-05-19 12:20:37:308819: [root@10.204.217.99] sudo: printf "* hard nofile 65535 2015-05-19 12:20:37:363435: " >> /etc/security/limits.conf 2015-05-19 12:20:37:363524: [root@10.204.217.99] sudo: sed -i '/^*\s*soft\s*nofile\s*.*/d' /etc/security/limits.conf 2015-05-19 12:20:37:418335: [root@10.204.217.99] sudo: printf "* soft nofile 65535 2015-05-19 12:20:37:472952: " >> /etc/security/limits.conf 2015-05-19 12:20:37:473039: [root@10.204.217.99] sudo: sed -i '/^*\s*hard\s*nproc\s*.*/d' /etc/security/limits.conf 2015-05-19 12:20:37:559980: [root@10.204.217.99] sudo: printf "* hard nproc 65535 2015-05-19 12:20:37:614794: " >> /etc/security/limits.conf 2015-05-19 12:20:37:614883: [root@10.204.217.99] sudo: sed -i '/^*\s*soft\s*nproc\s*.*/d' /etc/security/limits.conf 2015-05-19 12:20:37:669795: [root@10.204.217.99] sudo: printf "* soft nofile 65535 2015-05-19 12:20:37:756584: " >> /etc/security/limits.conf 2015-05-19 12:20:37:756674: [root@10.204.217.99] sudo: sed -i '/^fs.file-max.*/d' /etc/sysctl.conf 2015-05-19 12:20:37:843651: [root@10.204.217.99] sudo: printf "fs.file-max = 65535 2015-05-19 12:20:37:898278: " >> /etc/sysctl.conf 2015-05-19 12:20:37:898369: [root@10.204.217.99] sudo: sysctl -p 2015-05-19 12:20:37:953126: [root@10.204.217.99] out: fs.file-max = 65535 2015-05-19 12:20:38:002396: [root@10.204.217.99] out: 2015-05-19 12:20:38:002679: 2015-05-19 12:20:38:007848: [root@10.204.217.99] sudo: sed -i 's/^minfds.*/minfds=10240/' /etc/contrail/supervisor*.conf 2015-05-19 12:20:38:008053: [root@10.204.217.99] Executing task 'setup_database' 2015-05-19 12:20:38:073885: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:20:38:074310: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:20:38:139526: [root@10.204.217.99] out: 2015-05-19 12:20:38:140000: 2015-05-19 12:20:38:140248: [root@10.204.217.99] sudo: rm /etc/init/supervisor-database.override 2015-05-19 12:20:38:140568: [root@10.204.217.99] sudo: setup-vnc-database --self_ip 10.204.217.99 --cfgm_ip 10.204.217.99 --seed_list 10.204.217.99 --zookeeper_ip_list 10.204.217.99 --database_index 1 --minimum_diskGB 32 2015-05-19 12:20:38:227267: [root@10.204.217.99] out: [localhost] local: ln -sf /bin/true /sbin/chkconfig 2015-05-19 12:20:38:424723: [root@10.204.217.99] out: [localhost] local: sudo sed 's/SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config > config.new 2015-05-19 12:20:38:424826: [root@10.204.217.99] out: sed: can't read /etc/selinux/config: No such file or directory 2015-05-19 12:20:38:424910: [root@10.204.217.99] out: 2015-05-19 12:20:38:425111: [root@10.204.217.99] out: Warning: local() encountered an error (return code 2) while executing 'sudo sed 's/SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config > config.new' 2015-05-19 12:20:38:425225: [root@10.204.217.99] out: 2015-05-19 12:20:38:425331: [root@10.204.217.99] out: [localhost] local: sudo mv config.new /etc/selinux/config 2015-05-19 12:20:38:425432: [root@10.204.217.99] out: [localhost] local: setenforce 0 2015-05-19 12:20:38:425556: [root@10.204.217.99] out: /bin/sh: 1: setenforce: not found 2015-05-19 12:20:38:425656: [root@10.204.217.99] out: 2015-05-19 12:20:38:425753: [root@10.204.217.99] out: Warning: local() encountered an error (return code 127) while executing 'setenforce 0' 2015-05-19 12:20:38:425849: [root@10.204.217.99] out: 2015-05-19 12:20:38:425950: [root@10.204.217.99] out: [localhost] local: rm config.new 2015-05-19 12:20:38:426048: [root@10.204.217.99] out: rm: cannot remove ‘config.new’: No such file or directory 2015-05-19 12:20:38:426148: [root@10.204.217.99] out: 2015-05-19 12:20:38:426248: [root@10.204.217.99] out: Warning: local() encountered an error (return code 1) while executing 'rm config.new' 2015-05-19 12:20:38:426345: [root@10.204.217.99] out: 2015-05-19 12:20:38:426445: [root@10.204.217.99] out: [localhost] local: sudo chkconfig iptables off 2015-05-19 12:20:38:426541: [root@10.204.217.99] out: [localhost] local: sudo iptables --flush 2015-05-19 12:20:38:459050: [root@10.204.217.99] out: [localhost] local: sudo sed '/DAEMON_COREFILE_LIMIT=.*/d' /etc/sysconfig/init > /etc/sysconfig/init.new 2015-05-19 12:20:38:462571: [root@10.204.217.99] out: /bin/sh: 1: cannot create /etc/sysconfig/init.new: Directory nonexistent 2015-05-19 12:20:38:464196: [root@10.204.217.99] out: 2015-05-19 12:20:38:464671: [root@10.204.217.99] out: Warning: local() encountered an error (return code 2) while executing 'sudo sed '/DAEMON_COREFILE_LIMIT=.*/d' /etc/sysconfig/init > /etc/sysconfig/init.new' 2015-05-19 12:20:38:464917: [root@10.204.217.99] out: 2015-05-19 12:20:38:465036: [root@10.204.217.99] out: [localhost] local: sudo mv /etc/sysconfig/init.new /etc/sysconfig/init 2015-05-19 12:20:38:465390: [root@10.204.217.99] out: mv: cannot stat ‘/etc/sysconfig/init.new’: No such file or directory 2015-05-19 12:20:38:472954: [root@10.204.217.99] out: 2015-05-19 12:20:38:474318: [root@10.204.217.99] out: Warning: local() encountered an error (return code 1) while executing 'sudo mv /etc/sysconfig/init.new /etc/sysconfig/init' 2015-05-19 12:20:38:474447: [root@10.204.217.99] out: 2015-05-19 12:20:38:474529: [root@10.204.217.99] out: kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t 2015-05-19 12:20:38:474598: [root@10.204.217.99] out: [localhost] local: grep -q 'kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t' /etc/sysctl.conf || echo 'kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t' >> /etc/sysctl.conf 2015-05-19 12:20:38:474669: [root@10.204.217.99] out: [localhost] local: sudo sed 's/net.ipv4.ip_forward.*/net.ipv4.ip_forward = 1/g' /etc/sysctl.conf > /tmp/sysctl.new 2015-05-19 12:20:38:476182: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/sysctl.new /etc/sysctl.conf 2015-05-19 12:20:38:491793: [root@10.204.217.99] out: [localhost] local: rm /tmp/sysctl.new 2015-05-19 12:20:38:493231: [root@10.204.217.99] out: rm: cannot remove ‘/tmp/sysctl.new’: No such file or directory 2015-05-19 12:20:38:496669: [root@10.204.217.99] out: 2015-05-19 12:20:38:496776: [root@10.204.217.99] out: Warning: local() encountered an error (return code 1) while executing 'rm /tmp/sysctl.new' 2015-05-19 12:20:38:496877: [root@10.204.217.99] out: 2015-05-19 12:20:38:496967: [root@10.204.217.99] out: [localhost] local: sysctl -p 2015-05-19 12:20:38:497053: [root@10.204.217.99] out: fs.file-max = 65535 2015-05-19 12:20:38:498613: [root@10.204.217.99] out: kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t 2015-05-19 12:20:38:498714: [root@10.204.217.99] out: [localhost] local: mkdir -p /var/crashes 2015-05-19 12:20:38:498774: [root@10.204.217.99] out: [localhost] local: chmod 777 /var/crashes 2015-05-19 12:20:38:502166: [root@10.204.217.99] out: [localhost] local: sed -i 's/crashkernel=.*\([ | \"]\)/crashkernel=384M-2G:64M,2G-16G:128M,16G-:256M\1/g' /etc/default/grub.d/kexec-tools.cfg 2015-05-19 12:20:38:505556: [root@10.204.217.99] out: [localhost] local: [ -f /etc/default/kdump-tools ] && sed -i 's/USE_KDUMP=0/USE_KDUMP=1/' /etc/default/kdump-tools 2015-05-19 12:20:38:506932: [root@10.204.217.99] out: [localhost] local: update-grub 2015-05-19 12:20:38:510394: [root@10.204.217.99] out: Generating grub configuration file ... 2015-05-19 12:20:39:242929: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 29747: /usr/sbin/grub-probe 2015-05-19 12:20:39:944296: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 29747: /usr/sbin/grub-probe 2015-05-19 12:20:39:976024: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 29758: /usr/sbin/grub-probe 2015-05-19 12:20:39:983658: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 29758: /usr/sbin/grub-probe 2015-05-19 12:20:40:015394: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 29769: /usr/sbin/grub-probe 2015-05-19 12:20:40:030954: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 29769: /usr/sbin/grub-probe 2015-05-19 12:20:40:062728: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 29780: /usr/sbin/grub-probe 2015-05-19 12:20:40:163130: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 29780: /usr/sbin/grub-probe 2015-05-19 12:20:40:363779: [root@10.204.217.99] out: Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported. 2015-05-19 12:20:40:828268: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 29836: /usr/sbin/grub-probe 2015-05-19 12:20:40:828450: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 29836: /usr/sbin/grub-probe 2015-05-19 12:20:40:892286: [root@10.204.217.99] out: Found linux image: /boot/vmlinuz-3.13.0-40-generic 2015-05-19 12:20:40:924073: [root@10.204.217.99] out: Found initrd image: /boot/initrd.img-3.13.0-40-generic 2015-05-19 12:20:40:931521: [root@10.204.217.99] out: Found linux image: /boot/vmlinuz-3.13.0-24-generic 2015-05-19 12:20:41:363778: [root@10.204.217.99] out: Found initrd image: /boot/initrd.img-3.13.0-24-generic 2015-05-19 12:20:41:363960: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 30169: /usr/sbin/grub-probe 2015-05-19 12:20:41:427788: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 30169: /usr/sbin/grub-probe 2015-05-19 12:20:41:559665: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on lvs invocation. Parent PID 30263: /bin/sh 2015-05-19 12:20:41:660161: [root@10.204.217.99] out: done 2015-05-19 12:20:41:760640: [root@10.204.217.99] out: [localhost] local: grep -q '10.204.217.99' /etc/hosts || echo '10.204.217.99 nodec59' >> /etc/hosts 2015-05-19 12:20:41:760816: [root@10.204.217.99] out: [localhost] local: sudo mkdir -p /var/lib/cassandra/data/ContrailAnalytics 2015-05-19 12:20:41:776485: [root@10.204.217.99] out: [localhost] local: df -Pk /var/lib/cassandra/data/ContrailAnalytics | grep % | awk '{print $2}' 2015-05-19 12:20:41:779992: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/# JVM_OPTS="\$JVM_OPTS -XX:+PrintGCDetails"/JVM_OPTS="\$JVM_OPTS -XX:+PrintGCDetails"/g' /etc/cassandra/cassandra-env.sh 2015-05-19 12:20:41:783383: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/JVM_OPTS="\$JVM_OPTS -Xss180k"/JVM_OPTS="\$JVM_OPTS -Xss512k"/g' /etc/cassandra/cassandra-env.sh 2015-05-19 12:20:41:799081: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/# JVM_OPTS="\$JVM_OPTS -XX:+PrintGCDateStamps"/JVM_OPTS="\$JVM_OPTS -XX:+PrintGCDateStamps"/g' /etc/cassandra/cassandra-env.sh 2015-05-19 12:20:41:800423: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/# JVM_OPTS="\$JVM_OPTS -XX:+PrintHeapAtGC"/JVM_OPTS="\$JVM_OPTS -XX:+PrintHeapAtGC"/g' /etc/cassandra/cassandra-env.sh 2015-05-19 12:20:41:816129: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/# JVM_OPTS="\$JVM_OPTS -XX:+PrintTenuringDistribution"/JVM_OPTS="\$JVM_OPTS -XX:+PrintTenuringDistribution"/g' /etc/cassandra/cassandra-env.sh 2015-05-19 12:20:41:819647: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/# JVM_OPTS="\$JVM_OPTS -XX:+PrintGCApplicationStoppedTime"/JVM_OPTS="\$JVM_OPTS -XX:+PrintGCApplicationStoppedTime"/g' /etc/cassandra/cassandra-env.sh 2015-05-19 12:20:41:835299: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/# JVM_OPTS="\$JVM_OPTS -XX:+PrintPromotionFailure"/JVM_OPTS="\$JVM_OPTS -XX:+PrintPromotionFailure"/g' /etc/cassandra/cassandra-env.sh 2015-05-19 12:20:41:842941: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/# JVM_OPTS="\$JVM_OPTS -XX:PrintFLSStatistics=1"/JVM_OPTS="\$JVM_OPTS -XX:PrintFLSStatistics=1"/g' /etc/cassandra/cassandra-env.sh 2015-05-19 12:20:41:850573: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/# JVM_OPTS="\$JVM_OPTS -Xloggc:\/var\/log\/cassandra\/gc-`date +%s`.log"/JVM_OPTS="\$JVM_OPTS -Xloggc:\/var\/log\/cassandra\/gc-`date +%s`.log"/g' /etc/cassandra/cassandra-env.sh 2015-05-19 12:20:41:858124: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/tmpa_MGkX/contrail-database-nodemgr.conf /etc/contrail/contrail-database-nodemgr.conf 2015-05-19 12:20:41:873734: [root@10.204.217.99] out: [localhost] local: sudo echo "maxSessionTimeout=120000" >> /etc/zookeeper/conf/zoo.cfg 2015-05-19 12:20:41:877204: [root@10.204.217.99] out: [localhost] local: sudo echo "autopurge.purgeInterval=3" >> /etc/zookeeper/conf/zoo.cfg 2015-05-19 12:20:41:884738: [root@10.204.217.99] out: [localhost] local: sudo sed 's/^#log4j.appender.ROLLINGFILE.MaxBackupIndex=/log4j.appender.ROLLINGFILE.MaxBackupIndex=/g' /etc/zookeeper/conf/log4j.properties > log4j.properties.new 2015-05-19 12:20:41:892251: [root@10.204.217.99] out: [localhost] local: sudo mv log4j.properties.new /etc/zookeeper/conf/log4j.properties 2015-05-19 12:20:41:899810: [root@10.204.217.99] out: [localhost] local: echo ZOO_LOG4J_PROP="INFO,CONSOLE,ROLLINGFILE" >> /etc/zookeeper/conf/environment 2015-05-19 12:20:41:963642: [root@10.204.217.99] out: [localhost] local: sudo echo "server.1=10.204.217.99:2888:3888" >> /etc/zookeeper/conf/zoo.cfg 2015-05-19 12:20:41:963748: [root@10.204.217.99] out: [localhost] local: sudo echo "1" > /var/lib/zookeeper/myid 2015-05-19 12:20:41:963799: [root@10.204.217.99] out: [localhost] local: sudo database-server-setup.sh 10.204.217.99 2015-05-19 12:20:41:963846: [root@10.204.217.99] out: ======= Enabling the services ====== 2015-05-19 12:20:41:995481: [root@10.204.217.99] out: ======= Starting the services ====== 2015-05-19 12:20:41:995579: [root@10.204.217.99] out: stop: Unknown instance: 2015-05-19 12:20:41:995633: [root@10.204.217.99] out: zookeeper start/running, process 30454 2015-05-19 12:20:41:998984: [root@10.204.217.99] out: stop: Unknown instance: 2015-05-19 12:20:42:014500: [root@10.204.217.99] out: supervisor-database start/running, process 30469 2015-05-19 12:20:42:022083: [root@10.204.217.99] out: 2015-05-19 12:20:42:037524: 2015-05-19 12:20:42:066651: [root@10.204.217.99] Executing task 'verify_database' 2015-05-19 12:20:42:066832: [root@10.204.217.99] sudo: service zookeeper status 2015-05-19 12:20:42:066941: [root@10.204.217.99] out: zookeeper start/running, process 30454 2015-05-19 12:20:42:091310: [root@10.204.217.99] out: 2015-05-19 12:20:42:091460: 2015-05-19 12:20:42:096652: [root@10.204.217.99] sudo: service supervisor-database status 2015-05-19 12:20:42:096777: [root@10.204.217.99] out: supervisor-database start/running, process 30469 2015-05-19 12:20:42:177174: [root@10.204.217.99] out: 2015-05-19 12:20:42:177450: 2015-05-19 12:20:42:182430: [root@10.204.217.99] sudo: service contrail-database status 2015-05-19 12:20:42:182549: [root@10.204.217.99] out: contrail-database STARTING 2015-05-19 12:20:42:315517: [root@10.204.217.99] out: 2015-05-19 12:20:42:317523: 2015-05-19 12:20:42:317740: [root@10.204.217.99] sudo: service contrail-database status 2015-05-19 12:21:02:337091: [root@10.204.217.99] out: contrail-database RUNNING pid 30516, uptime 0:00:20 2015-05-19 12:21:02:441016: [root@10.204.217.99] out: 2015-05-19 12:21:02:441426: 2015-05-19 12:21:02:441637: [root@10.204.216.4] Executing task 'setup_orchestrator' 2015-05-19 12:21:02:441945: [root@10.204.217.99] Executing task 'increase_ulimits' 2015-05-19 12:21:02:442178: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:21:02:442380: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:21:02:507750: [root@10.204.217.99] out: 2015-05-19 12:21:02:509149: 2015-05-19 12:21:02:540280: [root@10.204.217.99] sudo: sed -i '/start|stop)/ a\ ulimit -n 10240' /etc/init.d/mysql 2015-05-19 12:21:02:540553: [root@10.204.217.99] sudo: sed -i '/start_rabbitmq () {/a\ ulimit -n 10240' /etc/init.d/rabbitmq-server 2015-05-19 12:21:02:571653: [root@10.204.217.99] sudo: sed -i '/umask 007/ a\limit nofile 10240 10240' /etc/init/mysql.conf 2015-05-19 12:21:02:620121: [root@10.204.217.99] out: sed: can't read /etc/init/mysql.conf: No such file or directory 2015-05-19 12:21:02:660157: [root@10.204.217.99] out: 2015-05-19 12:21:02:660604: 2015-05-19 12:21:02:668572: [root@10.204.217.99] sudo: sed -i '/\[mysqld\]/a\max_connections = 10000' /etc/mysql/my.cnf 2015-05-19 12:21:02:668775: [root@10.204.217.99] sudo: echo 'ulimit -n 10240' >> /etc/default/rabbitmq-server 2015-05-19 12:21:02:717464: [root@10.204.217.99] Executing task 'setup_openstack' 2015-05-19 12:21:02:793060: [root@10.204.217.99] Executing task 'add_openstack_reserverd_ports' 2015-05-19 12:21:02:793210: [root@10.204.217.99] sudo: cat /proc/sys/net/ipv4/ip_local_reserved_ports 2015-05-19 12:21:02:793384: [root@10.204.217.99] out: 2015-05-19 12:21:02:866297: [root@10.204.217.99] out: 2015-05-19 12:21:02:866504: [root@10.204.217.99] sudo: sysctl -w net.ipv4.ip_local_reserved_ports=35357,35358,33306, 2015-05-19 12:21:02:869468: [root@10.204.217.99] out: net.ipv4.ip_local_reserved_ports = 35357,35358,33306, 2015-05-19 12:21:02:951716: [root@10.204.217.99] out: 2015-05-19 12:21:02:951847: 2015-05-19 12:21:02:955960: [root@10.204.217.99] sudo: grep '^net.ipv4.ip_local_reserved_ports' /etc/sysctl.conf > /dev/null 2>&1 2015-05-19 12:21:02:956109: [root@10.204.217.99] sudo: echo "net.ipv4.ip_local_reserved_ports = 35357,35358,33306" >> /etc/sysctl.conf 2015-05-19 12:21:03:010395: [root@10.204.217.99] sudo: sysctl -p 2015-05-19 12:21:03:065131: [root@10.204.217.99] out: fs.file-max = 65535 2015-05-19 12:21:03:114357: [root@10.204.217.99] out: kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t 2015-05-19 12:21:03:114488: [root@10.204.217.99] out: net.ipv4.ip_local_reserved_ports = 35357,35358,33306 2015-05-19 12:21:03:114780: [root@10.204.217.99] out: 2015-05-19 12:21:03:115148: 2015-05-19 12:21:03:119799: [root@10.204.217.99] sudo: sudo ls /etc/contrail/service.token 2015-05-19 12:21:03:120359: [root@10.204.217.99] out: ls: cannot access /etc/contrail/service.token: No such file or directory 2015-05-19 12:21:03:185874: [root@10.204.217.99] out: 2015-05-19 12:21:03:186223: 2015-05-19 12:21:03:186479: [root@10.204.217.99] sudo: sudo setup-service-token.sh 2015-05-19 12:21:03:186762: [root@10.204.217.99] out: + '[' -f /etc/contrail/service.token ']' 2015-05-19 12:21:03:284113: [root@10.204.217.99] out: ++ openssl rand -hex 10 2015-05-19 12:21:03:284239: [root@10.204.217.99] out: + SERVICE_TOKEN=228c309425f7df134ecc 2015-05-19 12:21:03:284353: [root@10.204.217.99] out: + echo -n 228c309425f7df134ecc 2015-05-19 12:21:03:284656: [root@10.204.217.99] out: + chmod 400 /etc/contrail/service.token 2015-05-19 12:21:03:284770: [root@10.204.217.99] out: 2015-05-19 12:21:03:285182: 2015-05-19 12:21:03:285413: [root@10.204.217.99] sudo: sudo cat /etc/contrail/service.token 2015-05-19 12:21:03:285650: [root@10.204.217.99] out: 228c309425f7df134ecc 2015-05-19 12:21:03:352045: [root@10.204.217.99] sudo: setup-vnc-openstack --self_ip 10.204.217.99 --keystone_ip 10.204.217.99 --keystone_admin_passwd contrail123 --cfgm_ip 10.204.217.99 --keystone_auth_protocol http --amqp_server_ip 10.204.217.99 --quantum_service_protocol http --service_token 228c309425f7df134ecc --openstack_index 1 --osapi_compute_workers 40 --conductor_workers 40 2015-05-19 12:21:03:352377: [root@10.204.217.99] out: [localhost] local: ln -sf /bin/true /sbin/chkconfig 2015-05-19 12:21:03:517801: [root@10.204.217.99] out: [localhost] local: sudo sed 's/SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config > config.new 2015-05-19 12:21:03:517884: [root@10.204.217.99] out: [localhost] local: sudo mv config.new /etc/selinux/config 2015-05-19 12:21:03:518065: [root@10.204.217.99] out: [localhost] local: setenforce 0 2015-05-19 12:21:03:521526: [root@10.204.217.99] out: /bin/sh: 1: setenforce: not found 2015-05-19 12:21:03:525075: [root@10.204.217.99] out: 2015-05-19 12:21:03:525194: [root@10.204.217.99] out: Warning: local() encountered an error (return code 127) while executing 'setenforce 0' 2015-05-19 12:21:03:525265: [root@10.204.217.99] out: 2015-05-19 12:21:03:525333: [root@10.204.217.99] out: [localhost] local: rm config.new 2015-05-19 12:21:03:525399: [root@10.204.217.99] out: rm: cannot remove ‘config.new’: No such file or directory 2015-05-19 12:21:03:526898: [root@10.204.217.99] out: 2015-05-19 12:21:03:527016: [root@10.204.217.99] out: Warning: local() encountered an error (return code 1) while executing 'rm config.new' 2015-05-19 12:21:03:527087: [root@10.204.217.99] out: 2015-05-19 12:21:03:527155: [root@10.204.217.99] out: [localhost] local: sudo chkconfig iptables off 2015-05-19 12:21:03:527220: [root@10.204.217.99] out: [localhost] local: sudo iptables --flush 2015-05-19 12:21:03:534861: [root@10.204.217.99] out: [localhost] local: sudo sed '/DAEMON_COREFILE_LIMIT=.*/d' /etc/sysconfig/init > /etc/sysconfig/init.new 2015-05-19 12:21:03:550500: [root@10.204.217.99] out: /bin/sh: 1: cannot create /etc/sysconfig/init.new: Directory nonexistent 2015-05-19 12:21:03:550781: [root@10.204.217.99] out: 2015-05-19 12:21:03:550845: [root@10.204.217.99] out: Warning: local() encountered an error (return code 2) while executing 'sudo sed '/DAEMON_COREFILE_LIMIT=.*/d' /etc/sysconfig/init > /etc/sysconfig/init.new' 2015-05-19 12:21:03:550901: [root@10.204.217.99] out: 2015-05-19 12:21:03:550957: [root@10.204.217.99] out: [localhost] local: sudo mv /etc/sysconfig/init.new /etc/sysconfig/init 2015-05-19 12:21:03:551010: [root@10.204.217.99] out: mv: cannot stat ‘/etc/sysconfig/init.new’: No such file or directory 2015-05-19 12:21:03:551337: [root@10.204.217.99] out: 2015-05-19 12:21:03:551852: [root@10.204.217.99] out: Warning: local() encountered an error (return code 1) while executing 'sudo mv /etc/sysconfig/init.new /etc/sysconfig/init' 2015-05-19 12:21:03:551927: [root@10.204.217.99] out: 2015-05-19 12:21:03:551985: [root@10.204.217.99] out: kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t 2015-05-19 12:21:03:552039: [root@10.204.217.99] out: [localhost] local: grep -q 'kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t' /etc/sysctl.conf || echo 'kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t' >> /etc/sysctl.conf 2015-05-19 12:21:03:552095: [root@10.204.217.99] out: [localhost] local: sudo sed 's/net.ipv4.ip_forward.*/net.ipv4.ip_forward = 1/g' /etc/sysctl.conf > /tmp/sysctl.new 2015-05-19 12:21:03:555558: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/sysctl.new /etc/sysctl.conf 2015-05-19 12:21:03:562970: [root@10.204.217.99] out: [localhost] local: rm /tmp/sysctl.new 2015-05-19 12:21:03:570473: [root@10.204.217.99] out: rm: cannot remove ‘/tmp/sysctl.new’: No such file or directory 2015-05-19 12:21:03:570633: [root@10.204.217.99] out: 2015-05-19 12:21:03:570727: [root@10.204.217.99] out: Warning: local() encountered an error (return code 1) while executing 'rm /tmp/sysctl.new' 2015-05-19 12:21:03:570817: [root@10.204.217.99] out: 2015-05-19 12:21:03:570910: [root@10.204.217.99] out: [localhost] local: sysctl -p 2015-05-19 12:21:03:570982: [root@10.204.217.99] out: fs.file-max = 65535 2015-05-19 12:21:03:572759: [root@10.204.217.99] out: kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t 2015-05-19 12:21:03:573322: [root@10.204.217.99] out: net.ipv4.ip_local_reserved_ports = 35357,35358,33306 2015-05-19 12:21:03:573634: [root@10.204.217.99] out: [localhost] local: mkdir -p /var/crashes 2015-05-19 12:21:03:573944: [root@10.204.217.99] out: [localhost] local: chmod 777 /var/crashes 2015-05-19 12:21:03:577352: [root@10.204.217.99] out: [localhost] local: sed -i 's/crashkernel=.*\([ | \"]\)/crashkernel=384M-2G:64M,2G-16G:128M,16G-:256M\1/g' /etc/default/grub.d/kexec-tools.cfg 2015-05-19 12:21:03:578708: [root@10.204.217.99] out: [localhost] local: [ -f /etc/default/kdump-tools ] && sed -i 's/USE_KDUMP=0/USE_KDUMP=1/' /etc/default/kdump-tools 2015-05-19 12:21:03:582230: [root@10.204.217.99] out: [localhost] local: update-grub 2015-05-19 12:21:03:585690: [root@10.204.217.99] out: Generating grub configuration file ... 2015-05-19 12:21:04:294230: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 30958: /usr/sbin/grub-probe 2015-05-19 12:21:04:958883: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 30958: /usr/sbin/grub-probe 2015-05-19 12:21:04:959068: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 30969: /usr/sbin/grub-probe 2015-05-19 12:21:05:022857: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 30969: /usr/sbin/grub-probe 2015-05-19 12:21:05:086802: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 30980: /usr/sbin/grub-probe 2015-05-19 12:21:05:094352: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 30980: /usr/sbin/grub-probe 2015-05-19 12:21:05:125977: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 30991: /usr/sbin/grub-probe 2015-05-19 12:21:05:289987: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 30991: /usr/sbin/grub-probe 2015-05-19 12:21:05:421855: [root@10.204.217.99] out: Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported. 2015-05-19 12:21:05:822732: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 31048: /usr/sbin/grub-probe 2015-05-19 12:21:05:826183: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 31048: /usr/sbin/grub-probe 2015-05-19 12:21:05:926587: [root@10.204.217.99] out: Found linux image: /boot/vmlinuz-3.13.0-40-generic 2015-05-19 12:21:05:934163: [root@10.204.217.99] out: Found initrd image: /boot/initrd.img-3.13.0-40-generic 2015-05-19 12:21:05:949807: [root@10.204.217.99] out: Found linux image: /boot/vmlinuz-3.13.0-24-generic 2015-05-19 12:21:06:450861: [root@10.204.217.99] out: Found initrd image: /boot/initrd.img-3.13.0-24-generic 2015-05-19 12:21:06:451043: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 31380: /usr/sbin/grub-probe 2015-05-19 12:21:06:514870: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 31380: /usr/sbin/grub-probe 2015-05-19 12:21:06:630740: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on lvs invocation. Parent PID 31474: /bin/sh 2015-05-19 12:21:06:731131: [root@10.204.217.99] out: done 2015-05-19 12:21:06:838879: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/rpc_backend = nova.openstack.common.rpc.impl_qpid/#rpc_backend = nova.openstack.common.rpc.impl_qpid/g' /etc/nova/nova.conf 2015-05-19 12:21:06:839058: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/rpc_backend = cinder.openstack.common.rpc.impl_qpid/#rpc_backend = cinder.openstack.common.rpc.impl_qpid/g' /etc/cinder/cinder.conf 2015-05-19 12:21:06:846595: [root@10.204.217.99] out: [localhost] local: sed -i -e "s/bind-address/#bind-address/" /etc/mysql/my.cnf 2015-05-19 12:21:06:862201: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/auth_host = /;auth_host = /' /etc/nova/api-paste.ini 2015-05-19 12:21:06:862389: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/auth_port = /;auth_port = /' /etc/nova/api-paste.ini 2015-05-19 12:21:06:865934: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/auth_protocol = /;auth_protocol = /' /etc/nova/api-paste.ini 2015-05-19 12:21:06:881581: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/admin_tenant_name = /;admin_tenant_name = /' /etc/nova/api-paste.ini 2015-05-19 12:21:06:885018: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/admin_user = /;admin_user = /' /etc/nova/api-paste.ini 2015-05-19 12:21:06:900721: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/admin_password = /;admin_password = /' /etc/nova/api-paste.ini 2015-05-19 12:21:06:904228: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/auth_host = /;auth_host = /' /etc/cinder/api-paste.ini 2015-05-19 12:21:06:919917: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/auth_port = /;auth_port = /' /etc/cinder/api-paste.ini 2015-05-19 12:21:06:921313: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/auth_protocol = /;auth_protocol = /' /etc/cinder/api-paste.ini 2015-05-19 12:21:06:928947: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/admin_tenant_name = /;admin_tenant_name = /' /etc/cinder/api-paste.ini 2015-05-19 12:21:06:944619: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/admin_user = /;admin_user = /' /etc/cinder/api-paste.ini 2015-05-19 12:21:06:944797: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/admin_password = /;admin_password = /' /etc/cinder/api-paste.ini 2015-05-19 12:21:06:960469: [root@10.204.217.99] out: [localhost] local: sudo echo SERVICE_TOKEN=228c309425f7df134ecc >> /tmp/tmpDDboOh/ctrl-details 2015-05-19 12:21:06:963983: [root@10.204.217.99] out: [localhost] local: sudo echo AUTH_PROTOCOL=http >> /tmp/tmpDDboOh/ctrl-details 2015-05-19 12:21:06:971549: [root@10.204.217.99] out: [localhost] local: sudo echo QUANTUM_PROTOCOL=http >> /tmp/tmpDDboOh/ctrl-details 2015-05-19 12:21:06:987208: [root@10.204.217.99] out: [localhost] local: sudo echo ADMIN_TOKEN=contrail123 >> /tmp/tmpDDboOh/ctrl-details 2015-05-19 12:21:06:988520: [root@10.204.217.99] out: [localhost] local: sudo echo CONTROLLER=10.204.217.99 >> /tmp/tmpDDboOh/ctrl-details 2015-05-19 12:21:06:995985: [root@10.204.217.99] out: [localhost] local: sudo echo API_SERVER=10.204.217.99 >> /tmp/tmpDDboOh/ctrl-details 2015-05-19 12:21:07:011636: [root@10.204.217.99] out: [localhost] local: sudo echo OSAPI_COMPUTE_WORKERS=40 >> /tmp/tmpDDboOh/ctrl-details 2015-05-19 12:21:07:011806: [root@10.204.217.99] out: [localhost] local: sudo echo CONDUCTOR_WORKERS=40 >> /tmp/tmpDDboOh/ctrl-details 2015-05-19 12:21:07:019364: [root@10.204.217.99] out: [localhost] local: sudo echo SELF_MGMT_IP=127.0.0.1 >> /tmp/tmpDDboOh/ctrl-details 2015-05-19 12:21:07:026910: [root@10.204.217.99] out: [localhost] local: sudo echo AMQP_SERVER=10.204.217.99 >> /tmp/tmpDDboOh/ctrl-details 2015-05-19 12:21:07:034469: [root@10.204.217.99] out: [localhost] local: sudo echo QUANTUM=10.204.217.99 >> /tmp/tmpDDboOh/ctrl-details 2015-05-19 12:21:07:042008: [root@10.204.217.99] out: [localhost] local: sudo echo QUANTUM_PORT=9696 >> /tmp/tmpDDboOh/ctrl-details 2015-05-19 12:21:07:049610: [root@10.204.217.99] out: [localhost] local: sudo echo OPENSTACK_INDEX=1 >> /tmp/tmpDDboOh/ctrl-details 2015-05-19 12:21:07:057197: [root@10.204.217.99] out: [localhost] local: sudo cp /tmp/tmpDDboOh/ctrl-details /etc/contrail/ctrl-details 2015-05-19 12:21:07:072892: [root@10.204.217.99] out: [localhost] local: sudo rm /tmp/tmpDDboOh/ctrl-details 2015-05-19 12:21:07:074297: [root@10.204.217.99] out: [localhost] local: sudo keystone-server-setup.sh 2015-05-19 12:21:07:089923: [root@10.204.217.99] out: + '[' -f /etc/redhat-release ']' 2015-05-19 12:21:07:121703: [root@10.204.217.99] out: + '[' -f /etc/lsb-release ']' 2015-05-19 12:21:07:121834: [root@10.204.217.99] out: + egrep -q 'DISTRIB_ID.*Ubuntu' /etc/lsb-release 2015-05-19 12:21:07:121906: [root@10.204.217.99] out: + is_ubuntu=1 2015-05-19 12:21:07:121975: [root@10.204.217.99] out: + is_redhat=0 2015-05-19 12:21:07:122043: [root@10.204.217.99] out: + web_svc=apache2 2015-05-19 12:21:07:122109: [root@10.204.217.99] out: + mysql_svc=mysql 2015-05-19 12:21:07:122176: [root@10.204.217.99] out: ++ cat /proc/sys/net/ipv4/ip_local_reserved_ports 2015-05-19 12:21:07:122243: [root@10.204.217.99] out: + sysctl -w net.ipv4.ip_local_reserved_ports=35357,35358,33306,35357-35358 2015-05-19 12:21:07:122335: [root@10.204.217.99] out: net.ipv4.ip_local_reserved_ports = 35357,35358,33306,35357-35358 2015-05-19 12:21:07:122424: [root@10.204.217.99] out: + grep '^net.ipv4.ip_local_reserved_ports' /etc/sysctl.conf 2015-05-19 12:21:07:122512: [root@10.204.217.99] out: + '[' 0 -ne 0 ']' 2015-05-19 12:21:07:122599: [root@10.204.217.99] out: + sed -i 's/net.ipv4.ip_local_reserved_ports\s*=\s*/net.ipv4.ip_local_reserved_ports=35357,35358,/' /etc/sysctl.conf 2015-05-19 12:21:07:122687: [root@10.204.217.99] out: + chkconfig mysql 2015-05-19 12:21:07:122798: [root@10.204.217.99] out: + ret=0 2015-05-19 12:21:07:122900: [root@10.204.217.99] out: + '[' 0 -ne 0 ']' 2015-05-19 12:21:07:123072: [root@10.204.217.99] out: ++ service mysql status 2015-05-19 12:21:07:123154: [root@10.204.217.99] out: + mysql_status=' * MySQL is stopped.' 2015-05-19 12:21:07:155613: [root@10.204.217.99] out: + [[ * MySQL is stopped. != *running* ]] 2015-05-19 12:21:07:155797: [root@10.204.217.99] out: + echo 'MySQL is not active, starting ...' 2015-05-19 12:21:07:155887: [root@10.204.217.99] out: MySQL is not active, starting ... 2015-05-19 12:21:07:155970: [root@10.204.217.99] out: + service mysql restart 2015-05-19 12:21:07:156053: [root@10.204.217.99] out: * Stopping MySQL database server mysqld 2015-05-19 12:21:07:187899: [root@10.204.217.99] out: ...done. 2015-05-19 12:21:07:188035: [root@10.204.217.99] out: * Starting MySQL database server mysqld 2015-05-19 12:21:07:219711: [root@10.204.217.99] out: ...done. 2015-05-19 12:21:13:243587: [root@10.204.217.99] out: + '[' '!' -f /etc/contrail/mysql.token ']' 2015-05-19 12:21:13:243781: [root@10.204.217.99] out: + '[' -n '' ']' 2015-05-19 12:21:13:243892: [root@10.204.217.99] out: ++ openssl rand -hex 10 2015-05-19 12:21:13:243947: [root@10.204.217.99] out: + MYSQL_TOKEN=056ee09e88700d6ae8de 2015-05-19 12:21:13:244028: [root@10.204.217.99] out: + echo 056ee09e88700d6ae8de 2015-05-19 12:21:13:244086: [root@10.204.217.99] out: + chmod 400 /etc/contrail/mysql.token 2015-05-19 12:21:13:244137: [root@10.204.217.99] out: + echo show databases 2015-05-19 12:21:13:244190: [root@10.204.217.99] out: + mysql -u root 2015-05-19 12:21:13:244244: [root@10.204.217.99] out: + '[' 0 -eq 0 ']' 2015-05-19 12:21:13:275973: [root@10.204.217.99] out: + mysqladmin password 056ee09e88700d6ae8de 2015-05-19 12:21:13:276171: [root@10.204.217.99] out: + KEYSTONE_CONF=/etc/keystone/keystone.conf 2015-05-19 12:21:13:276230: [root@10.204.217.99] out: + source /etc/contrail/ctrl-details 2015-05-19 12:21:13:276323: [root@10.204.217.99] out: ++ SERVICE_TOKEN=228c309425f7df134ecc 2015-05-19 12:21:13:276436: [root@10.204.217.99] out: ++ AUTH_PROTOCOL=http 2015-05-19 12:21:13:276518: [root@10.204.217.99] out: ++ QUANTUM_PROTOCOL=http 2015-05-19 12:21:13:276571: [root@10.204.217.99] out: ++ ADMIN_TOKEN=contrail123 2015-05-19 12:21:13:276624: [root@10.204.217.99] out: ++ CONTROLLER=10.204.217.99 2015-05-19 12:21:13:276678: [root@10.204.217.99] out: ++ API_SERVER=10.204.217.99 2015-05-19 12:21:13:276734: [root@10.204.217.99] out: ++ OSAPI_COMPUTE_WORKERS=40 2015-05-19 12:21:13:276788: [root@10.204.217.99] out: ++ CONDUCTOR_WORKERS=40 2015-05-19 12:21:13:276841: [root@10.204.217.99] out: ++ SELF_MGMT_IP=127.0.0.1 2015-05-19 12:21:13:276895: [root@10.204.217.99] out: ++ AMQP_SERVER=10.204.217.99 2015-05-19 12:21:13:276947: [root@10.204.217.99] out: ++ QUANTUM=10.204.217.99 2015-05-19 12:21:13:277000: [root@10.204.217.99] out: ++ QUANTUM_PORT=9696 2015-05-19 12:21:13:277054: [root@10.204.217.99] out: ++ OPENSTACK_INDEX=1 2015-05-19 12:21:13:277107: [root@10.204.217.99] out: + ADMIN_PASSWORD=contrail123 2015-05-19 12:21:13:277160: [root@10.204.217.99] out: + SERVICE_PASSWORD=contrail123 2015-05-19 12:21:13:277212: [root@10.204.217.99] out: + SERVICE_TOKEN=228c309425f7df134ecc 2015-05-19 12:21:13:277265: [root@10.204.217.99] out: + openstack-config --set /etc/keystone/keystone.conf DEFAULT admin_token 228c309425f7df134ecc 2015-05-19 12:21:13:277319: [root@10.204.217.99] out: + service supervisor-openstack status 2015-05-19 12:21:13:378146: [root@10.204.217.99] out: + service supervisor-openstack stop 2015-05-19 12:21:13:378329: [root@10.204.217.99] out: stop: Unknown instance: 2015-05-19 12:21:13:378423: [root@10.204.217.99] out: ++ service supervisor-openstack status 2015-05-19 12:21:13:378513: [root@10.204.217.99] out: ++ grep -s -i running 2015-05-19 12:21:13:378600: [root@10.204.217.99] out: ++ echo stopped 2015-05-19 12:21:13:378686: [root@10.204.217.99] out: + status=stopped 2015-05-19 12:21:13:378774: [root@10.204.217.99] out: + '[' stopped == stopped ']' 2015-05-19 12:21:13:378860: [root@10.204.217.99] out: + service supervisor-openstack start 2015-05-19 12:21:13:378945: [root@10.204.217.99] out: supervisor-openstack start/running, process 32480 2015-05-19 12:21:13:394915: [root@10.204.217.99] out: + sleep 5 2015-05-19 12:21:13:395089: [root@10.204.217.99] out: + supervisorctl -s unix:///tmp/supervisord_openstack.sock stop all 2015-05-19 12:21:18:401059: [root@10.204.217.99] out: FAILED: attempted to kill heat-engine with sig SIGKILL but it wasn't running 2015-05-19 12:21:40:646961: [root@10.204.217.99] out: nova-novncproxy: stopped 2015-05-19 12:21:40:647180: [root@10.204.217.99] out: nova-api: stopped 2015-05-19 12:21:40:647280: [root@10.204.217.99] out: nova-conductor: stopped 2015-05-19 12:21:40:647373: [root@10.204.217.99] out: glance-api: stopped 2015-05-19 12:21:40:647462: [root@10.204.217.99] out: cinder-api: stopped 2015-05-19 12:21:40:647553: [root@10.204.217.99] out: nova-consoleauth: stopped 2015-05-19 12:21:40:647641: [root@10.204.217.99] out: nova-objectstore: stopped 2015-05-19 12:21:40:647728: [root@10.204.217.99] out: keystone: stopped 2015-05-19 12:21:40:647815: [root@10.204.217.99] out: nova-console: stopped 2015-05-19 12:21:40:647904: [root@10.204.217.99] out: heat-api-cfn: stopped 2015-05-19 12:21:40:647993: [root@10.204.217.99] out: nova-scheduler: stopped 2015-05-19 12:21:40:648081: [root@10.204.217.99] out: glance-registry: stopped 2015-05-19 12:21:40:648177: [root@10.204.217.99] out: heat-api: stopped 2015-05-19 12:21:40:648275: [root@10.204.217.99] out: cinder-scheduler: stopped 2015-05-19 12:21:40:648460: [root@10.204.217.99] out: + service keystone restart 2015-05-19 12:21:40:650638: [root@10.204.217.99] out: keystone: ERROR (not running) 2015-05-19 12:21:40:751061: [root@10.204.217.99] out: keystone: started 2015-05-19 12:21:42:154040: [root@10.204.217.99] out: + chkconfig supervisor-openstack on 2015-05-19 12:21:42:157582: [root@10.204.217.99] out: + '[' '!' -d /etc/keystone/ssl ']' 2015-05-19 12:21:42:159047: [root@10.204.217.99] out: + '[' -d /var/log/keystone ']' 2015-05-19 12:21:42:159202: [root@10.204.217.99] out: + chown -R keystone:keystone /var/log/keystone 2015-05-19 12:21:42:159296: [root@10.204.217.99] out: + OPENSTACK_INDEX=1 2015-05-19 12:21:42:160757: [root@10.204.217.99] out: + INTERNAL_VIP=none 2015-05-19 12:21:42:160919: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:21:42:161025: [root@10.204.217.99] out: + export SERVICE_ENDPOINT=http://10.204.217.99:35357/v2.0 2015-05-19 12:21:42:161127: [root@10.204.217.99] out: + SERVICE_ENDPOINT=http://10.204.217.99:35357/v2.0 2015-05-19 12:21:42:161526: [root@10.204.217.99] out: + controller_ip=10.204.217.99 2015-05-19 12:21:42:161614: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:21:42:161678: [root@10.204.217.99] out: + cat 2015-05-19 12:21:42:161741: [root@10.204.217.99] out: + cat 2015-05-19 12:21:42:162172: [root@10.204.217.99] out: + export ADMIN_PASSWORD 2015-05-19 12:21:42:162506: [root@10.204.217.99] out: + export SERVICE_PASSWORD 2015-05-19 12:21:42:162602: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:21:42:162687: [root@10.204.217.99] out: + openstack-config --set /etc/keystone/keystone.conf sql connection mysql://keystone:keystone@127.0.0.1/keystone 2015-05-19 12:21:42:162770: [root@10.204.217.99] out: + for APP in keystone 2015-05-19 12:21:42:194428: [root@10.204.217.99] out: + '[' 1 -eq 1 ']' 2015-05-19 12:21:42:194631: [root@10.204.217.99] out: + openstack-db -y --init --service keystone --rootpw 056ee09e88700d6ae8de 2015-05-19 12:21:42:194755: [root@10.204.217.99] out: + systemctl --version 2015-05-19 12:21:42:258688: [root@10.204.217.99] out: + '[' -f /etc/redhat-release ']' 2015-05-19 12:21:42:258880: [root@10.204.217.99] out: + '[' -f /etc/lsb-release ']' 2015-05-19 12:21:42:258977: [root@10.204.217.99] out: + egrep -q 'DISTRIB_ID.*Ubuntu' /etc/lsb-release 2015-05-19 12:21:42:259068: [root@10.204.217.99] out: + is_ubuntu=1 2015-05-19 12:21:42:259158: [root@10.204.217.99] out: + is_redhat=0 2015-05-19 12:21:42:259248: [root@10.204.217.99] out: + web_svc=apache2 2015-05-19 12:21:42:259336: [root@10.204.217.99] out: + mysql_svc=mysql 2015-05-19 12:21:42:259426: [root@10.204.217.99] out: + mysql_pkg_chk='expr 1' 2015-05-19 12:21:42:259515: [root@10.204.217.99] out: + dbmanage_cmd='"$APP-manage $db_sync"' 2015-05-19 12:21:42:259604: [root@10.204.217.99] out: + '[' 6 -gt 0 ']' 2015-05-19 12:21:42:259694: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:21:42:259781: [root@10.204.217.99] out: + ASSUME_YES=yes 2015-05-19 12:21:42:259870: [root@10.204.217.99] out: + shift 2015-05-19 12:21:42:259958: [root@10.204.217.99] out: + '[' 5 -gt 0 ']' 2015-05-19 12:21:42:260046: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:21:42:260133: [root@10.204.217.99] out: + MODE=init 2015-05-19 12:21:42:260221: [root@10.204.217.99] out: + shift 2015-05-19 12:21:42:260311: [root@10.204.217.99] out: + '[' 4 -gt 0 ']' 2015-05-19 12:21:42:260397: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:21:42:260485: [root@10.204.217.99] out: + shift 2015-05-19 12:21:42:260572: [root@10.204.217.99] out: + APP=keystone 2015-05-19 12:21:42:260659: [root@10.204.217.99] out: + shift 2015-05-19 12:21:42:260747: [root@10.204.217.99] out: + '[' 2 -gt 0 ']' 2015-05-19 12:21:42:260832: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:21:42:260919: [root@10.204.217.99] out: + shift 2015-05-19 12:21:42:261007: [root@10.204.217.99] out: + MYSQL_ROOT_PW=056ee09e88700d6ae8de 2015-05-19 12:21:42:261093: [root@10.204.217.99] out: + shift 2015-05-19 12:21:42:261181: [root@10.204.217.99] out: + '[' 0 -gt 0 ']' 2015-05-19 12:21:42:261267: [root@10.204.217.99] out: + '[' '!' init ']' 2015-05-19 12:21:42:261355: [root@10.204.217.99] out: + '[' '!' keystone ']' 2015-05-19 12:21:42:261443: [root@10.204.217.99] out: + case "$APP" in 2015-05-19 12:21:42:261548: [root@10.204.217.99] out: + MYSQL_APP_PW_DEFAULT=keystone 2015-05-19 12:21:42:261637: [root@10.204.217.99] out: + : keystone 2015-05-19 12:21:42:261743: [root@10.204.217.99] out: + '[' keystone = glance ']' 2015-05-19 12:21:42:261833: [root@10.204.217.99] out: + APP_CONFIG=/etc/keystone/keystone.conf 2015-05-19 12:21:42:261921: [root@10.204.217.99] out: + NEW_MYSQL_INSTALL=0 2015-05-19 12:21:42:262008: [root@10.204.217.99] out: + expr 1 2015-05-19 12:21:42:262096: [root@10.204.217.99] out: 1 2015-05-19 12:21:42:262183: [root@10.204.217.99] out: + service_running mysql 2015-05-19 12:21:42:262269: [root@10.204.217.99] out: + test '' 2015-05-19 12:21:42:262356: [root@10.204.217.99] out: + service mysql status 2015-05-19 12:21:42:262445: [root@10.204.217.99] out: + '[' 0 -eq 1 ']' 2015-05-19 12:21:42:280493: [root@10.204.217.99] out: + '[' '!' defined ']' 2015-05-19 12:21:42:280612: [root@10.204.217.99] out: + MYSQL_ROOT_PW_ARG= 2015-05-19 12:21:42:280671: [root@10.204.217.99] out: + '[' defined ']' 2015-05-19 12:21:42:280728: [root@10.204.217.99] out: + MYSQL_ROOT_PW_ARG=--password=056ee09e88700d6ae8de 2015-05-19 12:21:42:280782: [root@10.204.217.99] out: + echo 'SELECT 1;' 2015-05-19 12:21:42:280837: [root@10.204.217.99] out: + mysql -u root --password=056ee09e88700d6ae8de 2015-05-19 12:21:42:280891: [root@10.204.217.99] out: + echo 'Verified connectivity to MySQL.' 2015-05-19 12:21:42:280945: [root@10.204.217.99] out: Verified connectivity to MySQL. 2015-05-19 12:21:42:280999: [root@10.204.217.99] out: + '[' init = init ']' 2015-05-19 12:21:42:281053: [root@10.204.217.99] out: ++ echo 'SELECT COUNT(*) FROM INFORMATION_SCHEMA.SCHEMATA WHERE SCHEMA_NAME='\''keystone'\'';' 2015-05-19 12:21:42:281108: [root@10.204.217.99] out: ++ mysql -u root --password=056ee09e88700d6ae8de 2015-05-19 12:21:42:281163: [root@10.204.217.99] out: ++ tail -n+2 2015-05-19 12:21:42:281216: [root@10.204.217.99] out: + dbs=0 2015-05-19 12:21:42:283022: [root@10.204.217.99] out: + '[' 0 '!=' 0 ']' 2015-05-19 12:21:42:283135: [root@10.204.217.99] out: ++ echo 'SELECT COUNT(*) FROM mysql.user WHERE User = '\''keystone'\'';' 2015-05-19 12:21:42:283960: [root@10.204.217.99] out: ++ mysql -u root --password=056ee09e88700d6ae8de 2015-05-19 12:21:42:284065: [root@10.204.217.99] out: ++ tail -n+2 2015-05-19 12:21:42:284155: [root@10.204.217.99] out: + users=0 2015-05-19 12:21:42:291755: [root@10.204.217.99] out: + '[' 0 '!=' 0 ']' 2015-05-19 12:21:42:291872: [root@10.204.217.99] out: + '[' init = init ']' 2015-05-19 12:21:42:291975: [root@10.204.217.99] out: + mysql -u root --password=056ee09e88700d6ae8de 2015-05-19 12:21:42:292058: [root@10.204.217.99] out: + echo 'Creating '\''keystone'\'' database.' 2015-05-19 12:21:42:292119: [root@10.204.217.99] out: Creating 'keystone' database. 2015-05-19 12:21:42:292180: [root@10.204.217.99] out: + cat 2015-05-19 12:21:42:292240: [root@10.204.217.99] out: + '[' init = init ']' 2015-05-19 12:21:42:295898: [root@10.204.217.99] out: + '[' keystone '!=' keystone ']' 2015-05-19 12:21:42:296174: [root@10.204.217.99] out: + echo 'Initializing the keystone database, please wait...' 2015-05-19 12:21:42:296243: [root@10.204.217.99] out: Initializing the keystone database, please wait... 2015-05-19 12:21:42:296306: [root@10.204.217.99] out: + '[' keystone = nova ']' 2015-05-19 12:21:42:296368: [root@10.204.217.99] out: + '[' keystone = cinder ']' 2015-05-19 12:21:42:296428: [root@10.204.217.99] out: + db_sync=db_sync 2015-05-19 12:21:42:296489: [root@10.204.217.99] out: + '[' 0 -eq 1 ']' 2015-05-19 12:21:42:296550: [root@10.204.217.99] out: + '[' 1 -eq 1 ']' 2015-05-19 12:21:42:296951: [root@10.204.217.99] out: + keystone-manage db_sync 2015-05-19 12:21:42:297019: [root@10.204.217.99] out: + echo 'SELECT * FROM migrate_version;' 2015-05-19 12:21:42:697641: [root@10.204.217.99] out: + mysql -u keystone --password=keystone keystone 2015-05-19 12:21:42:697744: [root@10.204.217.99] out: ERROR 1146 (42S02) at line 1: Table 'keystone.migrate_version' doesn't exist 2015-05-19 12:21:42:697788: [root@10.204.217.99] out: + echo 'Final sanity check failed.' 2015-05-19 12:21:42:697830: [root@10.204.217.99] out: Final sanity check failed. 2015-05-19 12:21:42:697871: [root@10.204.217.99] out: + echo 'Please file a bug report on bugzilla.redhat.com against the openstack-keystone package.' 2015-05-19 12:21:42:697922: [root@10.204.217.99] out: Please file a bug report on bugzilla.redhat.com against the openstack-keystone package. 2015-05-19 12:21:42:697963: [root@10.204.217.99] out: + exit 1 2015-05-19 12:21:42:698004: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:21:42:698046: [root@10.204.217.99] out: + source /etc/contrail/keystonerc 2015-05-19 12:21:42:698087: [root@10.204.217.99] out: ++ export OS_USERNAME=admin 2015-05-19 12:21:42:698127: [root@10.204.217.99] out: ++ OS_USERNAME=admin 2015-05-19 12:21:42:698167: [root@10.204.217.99] out: ++ export SERVICE_TOKEN=228c309425f7df134ecc 2015-05-19 12:21:42:698209: [root@10.204.217.99] out: ++ SERVICE_TOKEN=228c309425f7df134ecc 2015-05-19 12:21:42:698271: [root@10.204.217.99] out: ++ export OS_SERVICE_ENDPOINT=http://10.204.217.99:35357/v2.0 2015-05-19 12:21:42:698385: [root@10.204.217.99] out: ++ OS_SERVICE_ENDPOINT=http://10.204.217.99:35357/v2.0 2015-05-19 12:21:42:698483: [root@10.204.217.99] out: + bash contrail-keystone-setup.sh 10.204.217.99 2015-05-19 12:21:42:698533: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:21:42:863026: [root@10.204.217.99] out: 2015-05-19 12:21:42:963488: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:21:50:672721: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:21:51:274043: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:21:51:875183: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:21:52:476322: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:21:53:077525: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:21:53:678470: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:21:54:310739: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:21:54:911738: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:21:57:046111: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:21:57:647140: [root@10.204.217.99] out: +-------------+----------------------------------------------------------+ 2015-05-19 12:21:58:248291: [root@10.204.217.99] out: | Property | Value | 2015-05-19 12:21:58:248454: [root@10.204.217.99] out: +-------------+----------------------------------------------------------+ 2015-05-19 12:21:58:248551: [root@10.204.217.99] out: | adminurl | http://10.204.217.99:$(compute_port)s/v1.1/$(tenant_id)s | 2015-05-19 12:21:58:248630: [root@10.204.217.99] out: | id | 9eb0e3b1433c4aea8297dae054c56cc8 | 2015-05-19 12:21:58:248693: [root@10.204.217.99] out: | internalurl | http://10.204.217.99:$(compute_port)s/v1.1/$(tenant_id)s | 2015-05-19 12:21:58:248758: [root@10.204.217.99] out: | publicurl | http://10.204.217.99:$(compute_port)s/v1.1/$(tenant_id)s | 2015-05-19 12:21:58:248821: [root@10.204.217.99] out: | region | RegionOne | 2015-05-19 12:21:58:248885: [root@10.204.217.99] out: | service_id | 94b0f68261454b6798a3e0ef737b1dfe | 2015-05-19 12:21:58:248964: [root@10.204.217.99] out: +-------------+----------------------------------------------------------+ 2015-05-19 12:21:58:249026: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:21:59:165887: [root@10.204.217.99] out: +-------------+--------------------------------------+ 2015-05-19 12:21:59:698223: [root@10.204.217.99] out: | Property | Value | 2015-05-19 12:21:59:698403: [root@10.204.217.99] out: +-------------+--------------------------------------+ 2015-05-19 12:21:59:698453: [root@10.204.217.99] out: | adminurl | http://localhost:8773/services/Admin | 2015-05-19 12:21:59:698578: [root@10.204.217.99] out: | id | 14c03ef040334bc1a185cc0be9c38647 | 2015-05-19 12:21:59:698636: [root@10.204.217.99] out: | internalurl | http://localhost:8773/services/Cloud | 2015-05-19 12:21:59:698679: [root@10.204.217.99] out: | publicurl | http://localhost:8773/services/Cloud | 2015-05-19 12:21:59:698722: [root@10.204.217.99] out: | region | RegionOne | 2015-05-19 12:21:59:698763: [root@10.204.217.99] out: | service_id | 856fc595c9b44a29802e3593692ea249 | 2015-05-19 12:21:59:698805: [root@10.204.217.99] out: +-------------+--------------------------------------+ 2015-05-19 12:21:59:698846: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:22:01:401140: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:22:02:002022: [root@10.204.217.99] out: +-------------+----------------------------------+ 2015-05-19 12:22:02:603203: [root@10.204.217.99] out: | Property | Value | 2015-05-19 12:22:02:603390: [root@10.204.217.99] out: +-------------+----------------------------------+ 2015-05-19 12:22:02:603444: [root@10.204.217.99] out: | adminurl | http://10.204.217.99:9292/v1 | 2015-05-19 12:22:02:603493: [root@10.204.217.99] out: | id | 7da14ba6bd47467c9e468732e3ddfa2e | 2015-05-19 12:22:02:603543: [root@10.204.217.99] out: | internalurl | http://10.204.217.99:9292/v1 | 2015-05-19 12:22:02:603584: [root@10.204.217.99] out: | publicurl | http://10.204.217.99:9292/v1 | 2015-05-19 12:22:02:603624: [root@10.204.217.99] out: | region | RegionOne | 2015-05-19 12:22:02:603664: [root@10.204.217.99] out: | service_id | c53d5241871249d8a26c60f7d32d27c3 | 2015-05-19 12:22:02:603704: [root@10.204.217.99] out: +-------------+----------------------------------+ 2015-05-19 12:22:02:603770: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:22:03:505448: [root@10.204.217.99] out: +-------------+-------------------------------------------+ 2015-05-19 12:22:04:006434: [root@10.204.217.99] out: | Property | Value | 2015-05-19 12:22:04:006535: [root@10.204.217.99] out: +-------------+-------------------------------------------+ 2015-05-19 12:22:04:006579: [root@10.204.217.99] out: | adminurl | http://10.204.217.99:$(admin_port)s/v2.0 | 2015-05-19 12:22:04:006620: [root@10.204.217.99] out: | id | 7868703ce82c45f19b32ecbc912d77cd | 2015-05-19 12:22:04:006661: [root@10.204.217.99] out: | internalurl | http://10.204.217.99:$(admin_port)s/v2.0 | 2015-05-19 12:22:04:006702: [root@10.204.217.99] out: | publicurl | http://10.204.217.99:$(public_port)s/v2.0 | 2015-05-19 12:22:04:006742: [root@10.204.217.99] out: | region | RegionOne | 2015-05-19 12:22:04:006781: [root@10.204.217.99] out: | service_id | 9420b372ca6042e7883f8ecf69d08f14 | 2015-05-19 12:22:04:006821: [root@10.204.217.99] out: +-------------+-------------------------------------------+ 2015-05-19 12:22:04:006870: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:22:05:740793: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:22:06:405288: [root@10.204.217.99] out: +-------------+--------------------------------------------+ 2015-05-19 12:22:07:006492: [root@10.204.217.99] out: | Property | Value | 2015-05-19 12:22:07:006619: [root@10.204.217.99] out: +-------------+--------------------------------------------+ 2015-05-19 12:22:07:006676: [root@10.204.217.99] out: | adminurl | http://10.204.217.99:8776/v1/$(tenant_id)s | 2015-05-19 12:22:07:006730: [root@10.204.217.99] out: | id | fc44d1e09ecf41efb47c9f2e36992fc3 | 2015-05-19 12:22:07:006784: [root@10.204.217.99] out: | internalurl | http://10.204.217.99:8776/v1/$(tenant_id)s | 2015-05-19 12:22:07:006837: [root@10.204.217.99] out: | publicurl | http://10.204.217.99:8776/v1/$(tenant_id)s | 2015-05-19 12:22:07:006889: [root@10.204.217.99] out: | region | RegionOne | 2015-05-19 12:22:07:006941: [root@10.204.217.99] out: | service_id | 12e444d567a2472da61d730198880ae1 | 2015-05-19 12:22:07:006993: [root@10.204.217.99] out: +-------------+--------------------------------------------+ 2015-05-19 12:22:07:007044: [root@10.204.217.99] out: 7442223dc3bd4945baa2cec04f41e0ea 2015-05-19 12:22:08:108828: [root@10.204.217.99] out: 6976d327e1a84aeaabb532648aa3423c 2015-05-19 12:22:08:609564: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:22:10:343199: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:22:11:144623: [root@10.204.217.99] out: +-------------+--------------------------------------------+ 2015-05-19 12:22:11:761206: [root@10.204.217.99] out: | Property | Value | 2015-05-19 12:22:11:761336: [root@10.204.217.99] out: +-------------+--------------------------------------------+ 2015-05-19 12:22:11:761386: [root@10.204.217.99] out: | adminurl | http://10.204.217.99:8004/v1/%(tenant_id)s | 2015-05-19 12:22:11:761433: [root@10.204.217.99] out: | id | 60413f79ae60480eb0c37c5698de2a7e | 2015-05-19 12:22:11:761481: [root@10.204.217.99] out: | internalurl | http://10.204.217.99:8004/v1/%(tenant_id)s | 2015-05-19 12:22:11:761538: [root@10.204.217.99] out: | publicurl | http://10.204.217.99:8004/v1/%(tenant_id)s | 2015-05-19 12:22:11:761604: [root@10.204.217.99] out: | region | RegionOne | 2015-05-19 12:22:11:761658: [root@10.204.217.99] out: | service_id | 8e5460427e67487d86f6a422f63fd61d | 2015-05-19 12:22:11:761704: [root@10.204.217.99] out: +-------------+--------------------------------------------+ 2015-05-19 12:22:11:761750: [root@10.204.217.99] out: + '[' 0 '!=' 0 ']' 2015-05-19 12:22:12:470351: [root@10.204.217.99] out: + tries=0 2015-05-19 12:22:12:470465: [root@10.204.217.99] out: + '[' 0 -lt 10 ']' 2015-05-19 12:22:12:470518: [root@10.204.217.99] out: ++ source /etc/contrail/keystonerc 2015-05-19 12:22:12:470569: [root@10.204.217.99] out: +++ export OS_USERNAME=admin 2015-05-19 12:22:12:470617: [root@10.204.217.99] out: +++ OS_USERNAME=admin 2015-05-19 12:22:12:470666: [root@10.204.217.99] out: +++ export SERVICE_TOKEN=228c309425f7df134ecc 2015-05-19 12:22:12:470715: [root@10.204.217.99] out: +++ SERVICE_TOKEN=228c309425f7df134ecc 2015-05-19 12:22:12:470763: [root@10.204.217.99] out: +++ export OS_SERVICE_ENDPOINT=http://10.204.217.99:35357/v2.0 2015-05-19 12:22:12:470811: [root@10.204.217.99] out: +++ OS_SERVICE_ENDPOINT=http://10.204.217.99:35357/v2.0 2015-05-19 12:22:12:470859: [root@10.204.217.99] out: ++ keystone user-list 2015-05-19 12:22:12:470916: [root@10.204.217.99] out: + '[' 0 -eq 0 ']' 2015-05-19 12:22:12:671675: [root@10.204.217.99] out: + break 2015-05-19 12:22:12:671868: [root@10.204.217.99] out: + for svc in keystone 2015-05-19 12:22:12:671965: [root@10.204.217.99] out: + openstack-config --del /etc/keystone/keystone.conf database connection 2015-05-19 12:22:12:672056: [root@10.204.217.99] out: + openstack-config --set /etc/keystone/keystone.conf keystone_authtoken admin_tenant_name service 2015-05-19 12:22:12:703807: [root@10.204.217.99] out: + openstack-config --set /etc/keystone/keystone.conf keystone_authtoken admin_user keystone 2015-05-19 12:22:12:735335: [root@10.204.217.99] out: + openstack-config --set /etc/keystone/keystone.conf keystone_authtoken admin_password contrail123 2015-05-19 12:22:12:750797: [root@10.204.217.99] out: + openstack-config --set /etc/keystone/keystone.conf DEFAULT log_file /var/log/keystone/keystone.log 2015-05-19 12:22:12:782388: [root@10.204.217.99] out: + openstack-config --set /etc/keystone/keystone.conf sql connection mysql://keystone:keystone@127.0.0.1/keystone 2015-05-19 12:22:12:814084: [root@10.204.217.99] out: + openstack-config --set /etc/keystone/keystone.conf catalog template_file /etc/keystone/default_catalog.templates 2015-05-19 12:22:12:845632: [root@10.204.217.99] out: + openstack-config --set /etc/keystone/keystone.conf catalog driver keystone.catalog.backends.sql.Catalog 2015-05-19 12:22:12:861063: [root@10.204.217.99] out: + openstack-config --set /etc/keystone/keystone.conf identity driver keystone.identity.backends.sql.Identity 2015-05-19 12:22:12:892582: [root@10.204.217.99] out: + openstack-config --set /etc/keystone/keystone.conf token driver keystone.token.backends.memcache.Token 2015-05-19 12:22:12:908080: [root@10.204.217.99] out: + openstack-config --set /etc/keystone/keystone.conf ec2 driver keystone.contrib.ec2.backends.sql.Ec2 2015-05-19 12:22:12:939827: [root@10.204.217.99] out: + openstack-config --set /etc/keystone/keystone.conf DEFAULT onready keystone.common.systemd 2015-05-19 12:22:12:971572: [root@10.204.217.99] out: + openstack-config --set /etc/keystone/keystone.conf memcache servers 127.0.0.1:11211 2015-05-19 12:22:13:003103: [root@10.204.217.99] out: + '[' 1 -eq 1 ']' 2015-05-19 12:22:13:034721: [root@10.204.217.99] out: + keystone-manage db_sync 2015-05-19 12:22:13:034839: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:22:26:917157: [root@10.204.217.99] out: + item_size_max=10m 2015-05-19 12:22:26:917274: [root@10.204.217.99] out: + '[' 1 -eq 1 ']' 2015-05-19 12:22:26:917321: [root@10.204.217.99] out: + memcache_conf=/etc/memcached.conf 2015-05-19 12:22:26:917364: [root@10.204.217.99] out: ++ grep '\-I ' /etc/memcached.conf 2015-05-19 12:22:26:917406: [root@10.204.217.99] out: + opts= 2015-05-19 12:22:26:917448: [root@10.204.217.99] out: + '[' 1 -ne 0 ']' 2015-05-19 12:22:26:917504: [root@10.204.217.99] out: + echo '-I 10m' 2015-05-19 12:22:26:917557: [root@10.204.217.99] out: + '[' '!' -f /usr/bin/nodejs ']' 2015-05-19 12:22:26:917598: [root@10.204.217.99] out: + ln -s /usr/bin/node /usr/bin/nodejs 2015-05-19 12:22:26:917640: [root@10.204.217.99] out: + echo '======= Enabling the keystone services ======' 2015-05-19 12:22:26:917682: [root@10.204.217.99] out: ======= Enabling the keystone services ====== 2015-05-19 12:22:26:917724: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:22:26:917765: [root@10.204.217.99] out: + chkconfig apache2 on 2015-05-19 12:22:26:917807: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:22:26:917850: [root@10.204.217.99] out: + chkconfig memcached on 2015-05-19 12:22:26:917891: [root@10.204.217.99] out: + echo '======= Starting the services ======' 2015-05-19 12:22:26:917933: [root@10.204.217.99] out: ======= Starting the services ====== 2015-05-19 12:22:26:917975: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:22:26:918016: [root@10.204.217.99] out: + service apache2 restart 2015-05-19 12:22:26:918057: [root@10.204.217.99] out: * Restarting web server apache2 2015-05-19 12:22:26:918107: [root@10.204.217.99] out: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message 2015-05-19 12:22:28:051690: [root@10.204.217.99] out: ...done. 2015-05-19 12:22:29:053343: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:22:29:053548: [root@10.204.217.99] out: + service memcached restart 2015-05-19 12:22:29:053645: [root@10.204.217.99] out: Restarting memcached: memcached. 2015-05-19 12:22:29:121038: [root@10.204.217.99] out: + service keystone restart 2015-05-19 12:22:29:121138: [root@10.204.217.99] out: keystone: stopped 2015-05-19 12:22:30:186229: [root@10.204.217.99] out: keystone: started 2015-05-19 12:22:31:588377: [root@10.204.217.99] out: [localhost] local: sudo glance-server-setup.sh 2015-05-19 12:22:31:588589: [root@10.204.217.99] out: + '[' -f /etc/redhat-release ']' 2015-05-19 12:22:31:604250: [root@10.204.217.99] out: + '[' -f /etc/lsb-release ']' 2015-05-19 12:22:31:604408: [root@10.204.217.99] out: + egrep -q 'DISTRIB_ID.*Ubuntu' /etc/lsb-release 2015-05-19 12:22:31:604504: [root@10.204.217.99] out: + is_ubuntu=1 2015-05-19 12:22:31:604593: [root@10.204.217.99] out: + is_redhat=0 2015-05-19 12:22:31:604682: [root@10.204.217.99] out: + web_svc=apache2 2015-05-19 12:22:31:604770: [root@10.204.217.99] out: + mysql_svc=mysql 2015-05-19 12:22:31:604857: [root@10.204.217.99] out: + chkconfig mysql 2015-05-19 12:22:31:604915: [root@10.204.217.99] out: + ret=0 2015-05-19 12:22:31:604957: [root@10.204.217.99] out: + '[' 0 -ne 0 ']' 2015-05-19 12:22:31:605000: [root@10.204.217.99] out: ++ service mysql status 2015-05-19 12:22:31:605042: [root@10.204.217.99] out: + mysql_status=' * MySQL is running (PID: 32411)' 2015-05-19 12:22:31:636937: [root@10.204.217.99] out: + [[ * MySQL is running (PID: 32411) != *running* ]] 2015-05-19 12:22:31:637121: [root@10.204.217.99] out: + '[' '!' -f /etc/contrail/mysql.token ']' 2015-05-19 12:22:31:637369: [root@10.204.217.99] out: ++ cat /etc/contrail/mysql.token 2015-05-19 12:22:31:637439: [root@10.204.217.99] out: + MYSQL_TOKEN=056ee09e88700d6ae8de 2015-05-19 12:22:31:637607: [root@10.204.217.99] out: + source /etc/contrail/ctrl-details 2015-05-19 12:22:31:637738: [root@10.204.217.99] out: ++ SERVICE_TOKEN=228c309425f7df134ecc 2015-05-19 12:22:31:637972: [root@10.204.217.99] out: ++ AUTH_PROTOCOL=http 2015-05-19 12:22:31:638194: [root@10.204.217.99] out: ++ QUANTUM_PROTOCOL=http 2015-05-19 12:22:31:638433: [root@10.204.217.99] out: ++ ADMIN_TOKEN=contrail123 2015-05-19 12:22:31:638674: [root@10.204.217.99] out: ++ CONTROLLER=10.204.217.99 2015-05-19 12:22:31:639425: [root@10.204.217.99] out: ++ API_SERVER=10.204.217.99 2015-05-19 12:22:31:639480: [root@10.204.217.99] out: ++ OSAPI_COMPUTE_WORKERS=40 2015-05-19 12:22:31:639525: [root@10.204.217.99] out: ++ CONDUCTOR_WORKERS=40 2015-05-19 12:22:31:639568: [root@10.204.217.99] out: ++ SELF_MGMT_IP=127.0.0.1 2015-05-19 12:22:31:639612: [root@10.204.217.99] out: ++ AMQP_SERVER=10.204.217.99 2015-05-19 12:22:31:639655: [root@10.204.217.99] out: ++ QUANTUM=10.204.217.99 2015-05-19 12:22:31:639698: [root@10.204.217.99] out: ++ QUANTUM_PORT=9696 2015-05-19 12:22:31:639742: [root@10.204.217.99] out: ++ OPENSTACK_INDEX=1 2015-05-19 12:22:31:639784: [root@10.204.217.99] out: + ADMIN_TOKEN=contrail123 2015-05-19 12:22:31:639827: [root@10.204.217.99] out: + SERVICE_TOKEN=228c309425f7df134ecc 2015-05-19 12:22:31:639869: [root@10.204.217.99] out: + OPENSTACK_INDEX=1 2015-05-19 12:22:31:639912: [root@10.204.217.99] out: + INTERNAL_VIP=none 2015-05-19 12:22:31:639956: [root@10.204.217.99] out: + AMQP_PORT=5672 2015-05-19 12:22:31:639999: [root@10.204.217.99] out: + '[' '' == 10.204.217.99 ']' 2015-05-19 12:22:31:640042: [root@10.204.217.99] out: + '[' none == 10.204.217.99 ']' 2015-05-19 12:22:31:640084: [root@10.204.217.99] out: + controller_ip=10.204.217.99 2015-05-19 12:22:31:640127: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:22:31:640175: [root@10.204.217.99] out: + cat 2015-05-19 12:22:31:640807: [root@10.204.217.99] out: + for cfg in api registry 2015-05-19 12:22:31:640851: [root@10.204.217.99] out: + '[' 1 -eq 1 ']' 2015-05-19 12:22:31:640893: [root@10.204.217.99] out: + openstack-config --set /etc/glance/glance-api.conf DEFAULT sql_connection sqlite:////var/lib/glance/glance.sqlite 2015-05-19 12:22:31:640937: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:22:31:672998: [root@10.204.217.99] out: + for cfg in api registry 2015-05-19 12:22:31:673128: [root@10.204.217.99] out: + '[' 1 -eq 1 ']' 2015-05-19 12:22:31:673206: [root@10.204.217.99] out: + openstack-config --set /etc/glance/glance-registry.conf DEFAULT sql_connection sqlite:////var/lib/glance/glance.sqlite 2015-05-19 12:22:31:673265: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:22:31:674602: [root@10.204.217.99] out: + for APP in glance 2015-05-19 12:22:31:674693: [root@10.204.217.99] out: + '[' 1 -eq 1 ']' 2015-05-19 12:22:31:674754: [root@10.204.217.99] out: + openstack-db -y --init --service glance --rootpw 056ee09e88700d6ae8de 2015-05-19 12:22:31:674841: [root@10.204.217.99] out: + systemctl --version 2015-05-19 12:22:31:675204: [root@10.204.217.99] out: + '[' -f /etc/redhat-release ']' 2015-05-19 12:22:31:675482: [root@10.204.217.99] out: + '[' -f /etc/lsb-release ']' 2015-05-19 12:22:31:676788: [root@10.204.217.99] out: + egrep -q 'DISTRIB_ID.*Ubuntu' /etc/lsb-release 2015-05-19 12:22:31:676981: [root@10.204.217.99] out: + is_ubuntu=1 2015-05-19 12:22:31:677145: [root@10.204.217.99] out: + is_redhat=0 2015-05-19 12:22:31:677324: [root@10.204.217.99] out: + web_svc=apache2 2015-05-19 12:22:31:677527: [root@10.204.217.99] out: + mysql_svc=mysql 2015-05-19 12:22:31:677881: [root@10.204.217.99] out: + mysql_pkg_chk='expr 1' 2015-05-19 12:22:31:678120: [root@10.204.217.99] out: + dbmanage_cmd='"$APP-manage $db_sync"' 2015-05-19 12:22:31:678337: [root@10.204.217.99] out: + '[' 6 -gt 0 ']' 2015-05-19 12:22:31:678472: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:22:31:678706: [root@10.204.217.99] out: + ASSUME_YES=yes 2015-05-19 12:22:31:678880: [root@10.204.217.99] out: + shift 2015-05-19 12:22:31:678945: [root@10.204.217.99] out: + '[' 5 -gt 0 ']' 2015-05-19 12:22:31:679020: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:22:31:679082: [root@10.204.217.99] out: + MODE=init 2015-05-19 12:22:31:679144: [root@10.204.217.99] out: + shift 2015-05-19 12:22:31:679206: [root@10.204.217.99] out: + '[' 4 -gt 0 ']' 2015-05-19 12:22:31:679267: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:22:31:679329: [root@10.204.217.99] out: + shift 2015-05-19 12:22:31:679926: [root@10.204.217.99] out: + APP=glance 2015-05-19 12:22:31:679995: [root@10.204.217.99] out: + shift 2015-05-19 12:22:31:680059: [root@10.204.217.99] out: + '[' 2 -gt 0 ']' 2015-05-19 12:22:31:680120: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:22:31:680182: [root@10.204.217.99] out: + shift 2015-05-19 12:22:31:680244: [root@10.204.217.99] out: + MYSQL_ROOT_PW=056ee09e88700d6ae8de 2015-05-19 12:22:31:680305: [root@10.204.217.99] out: + shift 2015-05-19 12:22:31:680367: [root@10.204.217.99] out: + '[' 0 -gt 0 ']' 2015-05-19 12:22:31:680428: [root@10.204.217.99] out: + '[' '!' init ']' 2015-05-19 12:22:31:680489: [root@10.204.217.99] out: + '[' '!' glance ']' 2015-05-19 12:22:31:680551: [root@10.204.217.99] out: + case "$APP" in 2015-05-19 12:22:31:680613: [root@10.204.217.99] out: + MYSQL_APP_PW_DEFAULT=glance 2015-05-19 12:22:31:680675: [root@10.204.217.99] out: + : glance 2015-05-19 12:22:31:680736: [root@10.204.217.99] out: + '[' glance = glance ']' 2015-05-19 12:22:31:680799: [root@10.204.217.99] out: + APP_CONFIG='/etc/glance/glance-registry.conf /etc/glance/glance-api.conf' 2015-05-19 12:22:31:680860: [root@10.204.217.99] out: + NEW_MYSQL_INSTALL=0 2015-05-19 12:22:31:680922: [root@10.204.217.99] out: + expr 1 2015-05-19 12:22:31:680983: [root@10.204.217.99] out: 1 2015-05-19 12:22:31:681045: [root@10.204.217.99] out: + service_running mysql 2015-05-19 12:22:31:681113: [root@10.204.217.99] out: + test '' 2015-05-19 12:22:31:681176: [root@10.204.217.99] out: + service mysql status 2015-05-19 12:22:31:681238: [root@10.204.217.99] out: + '[' 0 -eq 1 ']' 2015-05-19 12:22:31:713348: [root@10.204.217.99] out: + '[' '!' defined ']' 2015-05-19 12:22:31:713476: [root@10.204.217.99] out: + MYSQL_ROOT_PW_ARG= 2015-05-19 12:22:31:713551: [root@10.204.217.99] out: + '[' defined ']' 2015-05-19 12:22:31:713595: [root@10.204.217.99] out: + MYSQL_ROOT_PW_ARG=--password=056ee09e88700d6ae8de 2015-05-19 12:22:31:713638: [root@10.204.217.99] out: + echo 'SELECT 1;' 2015-05-19 12:22:31:713681: [root@10.204.217.99] out: + mysql -u root --password=056ee09e88700d6ae8de 2015-05-19 12:22:31:713723: [root@10.204.217.99] out: + echo 'Verified connectivity to MySQL.' 2015-05-19 12:22:31:715218: [root@10.204.217.99] out: Verified connectivity to MySQL. 2015-05-19 12:22:31:715278: [root@10.204.217.99] out: + '[' init = init ']' 2015-05-19 12:22:31:715321: [root@10.204.217.99] out: ++ echo 'SELECT COUNT(*) FROM INFORMATION_SCHEMA.SCHEMATA WHERE SCHEMA_NAME='\''glance'\'';' 2015-05-19 12:22:31:715363: [root@10.204.217.99] out: ++ mysql -u root --password=056ee09e88700d6ae8de 2015-05-19 12:22:31:715406: [root@10.204.217.99] out: ++ tail -n+2 2015-05-19 12:22:31:715447: [root@10.204.217.99] out: + dbs=0 2015-05-19 12:22:31:722938: [root@10.204.217.99] out: + '[' 0 '!=' 0 ']' 2015-05-19 12:22:31:723096: [root@10.204.217.99] out: ++ echo 'SELECT COUNT(*) FROM mysql.user WHERE User = '\''glance'\'';' 2015-05-19 12:22:31:723192: [root@10.204.217.99] out: ++ tail -n+2 2015-05-19 12:22:31:723281: [root@10.204.217.99] out: ++ mysql -u root --password=056ee09e88700d6ae8de 2015-05-19 12:22:31:723371: [root@10.204.217.99] out: + users=0 2015-05-19 12:22:31:724987: [root@10.204.217.99] out: + '[' 0 '!=' 0 ']' 2015-05-19 12:22:31:725060: [root@10.204.217.99] out: + '[' init = init ']' 2015-05-19 12:22:31:725417: [root@10.204.217.99] out: + mysql -u root --password=056ee09e88700d6ae8de 2015-05-19 12:22:31:726039: [root@10.204.217.99] out: + echo 'Creating '\''glance'\'' database.' 2015-05-19 12:22:31:726151: [root@10.204.217.99] out: Creating 'glance' database. 2015-05-19 12:22:31:726220: [root@10.204.217.99] out: + cat 2015-05-19 12:22:31:726269: [root@10.204.217.99] out: + '[' init = init ']' 2015-05-19 12:22:31:729591: [root@10.204.217.99] out: + '[' glance '!=' glance ']' 2015-05-19 12:22:31:729657: [root@10.204.217.99] out: + echo 'Initializing the glance database, please wait...' 2015-05-19 12:22:31:729703: [root@10.204.217.99] out: Initializing the glance database, please wait... 2015-05-19 12:22:31:729747: [root@10.204.217.99] out: + '[' glance = nova ']' 2015-05-19 12:22:31:729791: [root@10.204.217.99] out: + '[' glance = cinder ']' 2015-05-19 12:22:31:729835: [root@10.204.217.99] out: + db_sync=db_sync 2015-05-19 12:22:31:729877: [root@10.204.217.99] out: + '[' 0 -eq 1 ']' 2015-05-19 12:22:31:729920: [root@10.204.217.99] out: + '[' 1 -eq 1 ']' 2015-05-19 12:22:31:729962: [root@10.204.217.99] out: + glance-manage db_sync 2015-05-19 12:22:31:730005: [root@10.204.217.99] out: + echo 'SELECT * FROM migrate_version;' 2015-05-19 12:23:00:231620: [root@10.204.217.99] out: + mysql -u glance --password=glance glance 2015-05-19 12:23:00:231728: [root@10.204.217.99] out: ERROR 1146 (42S02) at line 1: Table 'glance.migrate_version' doesn't exist 2015-05-19 12:23:00:231774: [root@10.204.217.99] out: + echo 'Final sanity check failed.' 2015-05-19 12:23:00:231817: [root@10.204.217.99] out: Final sanity check failed. 2015-05-19 12:23:00:231859: [root@10.204.217.99] out: + echo 'Please file a bug report on bugzilla.redhat.com against the openstack-glance package.' 2015-05-19 12:23:00:231901: [root@10.204.217.99] out: Please file a bug report on bugzilla.redhat.com against the openstack-glance package. 2015-05-19 12:23:00:231943: [root@10.204.217.99] out: + exit 1 2015-05-19 12:23:00:231985: [root@10.204.217.99] out: + glance-manage db_sync 2015-05-19 12:23:00:232026: [root@10.204.217.99] out: + '[' 1 -eq 1 ']' 2015-05-19 12:23:00:632785: [root@10.204.217.99] out: + chown glance /var/lib/glance/glance.sqlite 2015-05-19 12:23:00:632923: [root@10.204.217.99] out: + chgrp glance /var/lib/glance/glance.sqlite 2015-05-19 12:23:00:632988: [root@10.204.217.99] out: + export ADMIN_TOKEN 2015-05-19 12:23:00:633045: [root@10.204.217.99] out: + export SERVICE_TOKEN 2015-05-19 12:23:00:633164: [root@10.204.217.99] out: + for cfg in api 2015-05-19 12:23:00:633255: [root@10.204.217.99] out: + openstack-config --set /etc/glance/glance-api.conf DEFAULT container_formats ami,ari,aki,bare,ovf,ova,docker 2015-05-19 12:23:00:633325: [root@10.204.217.99] out: + openstack-config --set /etc/glance/glance-api.conf DEFAULT notifier_strategy noop 2015-05-19 12:23:00:633402: [root@10.204.217.99] out: + '[' 1 -eq 0 ']' 2015-05-19 12:23:00:665168: [root@10.204.217.99] out: + for cfg in api registry 2015-05-19 12:23:00:665294: [root@10.204.217.99] out: + openstack-config --set /etc/glance/glance-api.conf DEFAULT sql_idle_timeout 3600 2015-05-19 12:23:00:665366: [root@10.204.217.99] out: + openstack-config --set /etc/glance/glance-api.conf keystone_authtoken admin_tenant_name service 2015-05-19 12:23:00:672827: [root@10.204.217.99] out: + openstack-config --set /etc/glance/glance-api.conf keystone_authtoken admin_user glance 2015-05-19 12:23:00:704400: [root@10.204.217.99] out: + openstack-config --set /etc/glance/glance-api.conf keystone_authtoken admin_password contrail123 2015-05-19 12:23:00:711905: [root@10.204.217.99] out: + openstack-config --set /etc/glance/glance-api.conf paste_deploy flavor keystone 2015-05-19 12:23:00:743417: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:23:00:750784: [root@10.204.217.99] out: + for cfg in api registry 2015-05-19 12:23:00:750983: [root@10.204.217.99] out: + openstack-config --set /etc/glance/glance-registry.conf DEFAULT sql_idle_timeout 3600 2015-05-19 12:23:00:751048: [root@10.204.217.99] out: + openstack-config --set /etc/glance/glance-registry.conf keystone_authtoken admin_tenant_name service 2015-05-19 12:23:00:766545: [root@10.204.217.99] out: + openstack-config --set /etc/glance/glance-registry.conf keystone_authtoken admin_user glance 2015-05-19 12:23:00:782024: [root@10.204.217.99] out: + openstack-config --set /etc/glance/glance-registry.conf keystone_authtoken admin_password contrail123 2015-05-19 12:23:00:797520: [root@10.204.217.99] out: + openstack-config --set /etc/glance/glance-registry.conf paste_deploy flavor keystone 2015-05-19 12:23:00:813002: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:23:00:828489: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:23:00:828606: [root@10.204.217.99] out: + '[' 1 -eq 1 ']' 2015-05-19 12:23:00:828687: [root@10.204.217.99] out: + glance-manage db_sync 2015-05-19 12:23:00:828750: [root@10.204.217.99] out: + echo '======= Enabling the services ======' 2015-05-19 12:23:01:229442: [root@10.204.217.99] out: ======= Enabling the services ====== 2015-05-19 12:23:01:229667: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:23:01:229843: [root@10.204.217.99] out: + chkconfig apache2 on 2015-05-19 12:23:01:229992: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:23:01:230152: [root@10.204.217.99] out: + chkconfig memcached on 2015-05-19 12:23:01:230296: [root@10.204.217.99] out: + for svc in supervisor-openstack 2015-05-19 12:23:01:230461: [root@10.204.217.99] out: + chkconfig supervisor-openstack on 2015-05-19 12:23:01:230602: [root@10.204.217.99] out: + echo '======= Starting the services ======' 2015-05-19 12:23:01:230759: [root@10.204.217.99] out: ======= Starting the services ====== 2015-05-19 12:23:01:230940: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:23:01:231085: [root@10.204.217.99] out: + service apache2 restart 2015-05-19 12:23:01:231245: [root@10.204.217.99] out: * Restarting web server apache2 2015-05-19 12:23:01:231397: [root@10.204.217.99] out: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message 2015-05-19 12:23:02:433831: [root@10.204.217.99] out: ...done. 2015-05-19 12:23:03:435365: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:23:03:435547: [root@10.204.217.99] out: + service memcached restart 2015-05-19 12:23:03:435643: [root@10.204.217.99] out: Restarting memcached: memcached. 2015-05-19 12:23:03:467446: [root@10.204.217.99] out: ++ service supervisor-openstack status 2015-05-19 12:23:03:467643: [root@10.204.217.99] out: ++ grep -s -i running 2015-05-19 12:23:03:467752: [root@10.204.217.99] out: ++ echo running 2015-05-19 12:23:03:467948: [root@10.204.217.99] out: + status=running 2015-05-19 12:23:03:468037: [root@10.204.217.99] out: + '[' running == stopped ']' 2015-05-19 12:23:03:468105: [root@10.204.217.99] out: + for svc in glance-api glance-registry 2015-05-19 12:23:03:468149: [root@10.204.217.99] out: + service glance-api restart 2015-05-19 12:23:03:468209: [root@10.204.217.99] out: glance-api: ERROR (not running) 2015-05-19 12:23:03:568660: [root@10.204.217.99] out: glance-api: started 2015-05-19 12:23:05:034253: [root@10.204.217.99] out: + for svc in glance-api glance-registry 2015-05-19 12:23:05:034442: [root@10.204.217.99] out: + service glance-registry restart 2015-05-19 12:23:05:034538: [root@10.204.217.99] out: glance-registry: ERROR (not running) 2015-05-19 12:23:05:135053: [root@10.204.217.99] out: glance-registry: started 2015-05-19 12:23:06:537249: [root@10.204.217.99] out: [localhost] local: sudo cinder-server-setup.sh 2015-05-19 12:23:06:537431: [root@10.204.217.99] out: + '[' -f /etc/redhat-release ']' 2015-05-19 12:23:06:544992: [root@10.204.217.99] out: + '[' -f /etc/lsb-release ']' 2015-05-19 12:23:06:545154: [root@10.204.217.99] out: + egrep -q 'DISTRIB_ID.*Ubuntu' /etc/lsb-release 2015-05-19 12:23:06:545263: [root@10.204.217.99] out: + is_ubuntu=1 2015-05-19 12:23:06:545802: [root@10.204.217.99] out: + is_redhat=0 2015-05-19 12:23:06:546006: [root@10.204.217.99] out: + web_svc=apache2 2015-05-19 12:23:06:546338: [root@10.204.217.99] out: + mysql_svc=mysql 2015-05-19 12:23:06:546491: [root@10.204.217.99] out: + chkconfig mysql 2015-05-19 12:23:06:546612: [root@10.204.217.99] out: + ret=0 2015-05-19 12:23:06:546770: [root@10.204.217.99] out: + '[' 0 -ne 0 ']' 2015-05-19 12:23:06:546938: [root@10.204.217.99] out: ++ service mysql status 2015-05-19 12:23:06:547728: [root@10.204.217.99] out: + mysql_status=' * MySQL is running (PID: 32411)' 2015-05-19 12:23:06:611541: [root@10.204.217.99] out: + [[ * MySQL is running (PID: 32411) != *running* ]] 2015-05-19 12:23:06:611754: [root@10.204.217.99] out: + '[' '!' -f /etc/contrail/mysql.token ']' 2015-05-19 12:23:06:611855: [root@10.204.217.99] out: ++ cat /etc/contrail/mysql.token 2015-05-19 12:23:06:611951: [root@10.204.217.99] out: + MYSQL_TOKEN=056ee09e88700d6ae8de 2015-05-19 12:23:06:612044: [root@10.204.217.99] out: + source /etc/contrail/ctrl-details 2015-05-19 12:23:06:612134: [root@10.204.217.99] out: ++ SERVICE_TOKEN=228c309425f7df134ecc 2015-05-19 12:23:06:612224: [root@10.204.217.99] out: ++ AUTH_PROTOCOL=http 2015-05-19 12:23:06:612314: [root@10.204.217.99] out: ++ QUANTUM_PROTOCOL=http 2015-05-19 12:23:06:612406: [root@10.204.217.99] out: ++ ADMIN_TOKEN=contrail123 2015-05-19 12:23:06:612495: [root@10.204.217.99] out: ++ CONTROLLER=10.204.217.99 2015-05-19 12:23:06:612584: [root@10.204.217.99] out: ++ API_SERVER=10.204.217.99 2015-05-19 12:23:06:612672: [root@10.204.217.99] out: ++ OSAPI_COMPUTE_WORKERS=40 2015-05-19 12:23:06:612759: [root@10.204.217.99] out: ++ CONDUCTOR_WORKERS=40 2015-05-19 12:23:06:612846: [root@10.204.217.99] out: ++ SELF_MGMT_IP=127.0.0.1 2015-05-19 12:23:06:612934: [root@10.204.217.99] out: ++ AMQP_SERVER=10.204.217.99 2015-05-19 12:23:06:613113: [root@10.204.217.99] out: ++ QUANTUM=10.204.217.99 2015-05-19 12:23:06:613199: [root@10.204.217.99] out: ++ QUANTUM_PORT=9696 2015-05-19 12:23:06:613297: [root@10.204.217.99] out: ++ OPENSTACK_INDEX=1 2015-05-19 12:23:06:613387: [root@10.204.217.99] out: + ADMIN_TOKEN=contrail123 2015-05-19 12:23:06:613516: [root@10.204.217.99] out: + SERVICE_TOKEN=228c309425f7df134ecc 2015-05-19 12:23:06:613629: [root@10.204.217.99] out: + OPENSTACK_INDEX=1 2015-05-19 12:23:06:613718: [root@10.204.217.99] out: + INTERNAL_VIP=none 2015-05-19 12:23:06:613807: [root@10.204.217.99] out: + controller_ip=10.204.217.99 2015-05-19 12:23:06:613895: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:23:06:613997: [root@10.204.217.99] out: + cat 2015-05-19 12:23:06:614094: [root@10.204.217.99] out: + for APP in cinder 2015-05-19 12:23:06:614163: [root@10.204.217.99] out: + '[' 1 -eq 1 ']' 2015-05-19 12:23:06:614246: [root@10.204.217.99] out: + openstack-db -y --init --service cinder --rootpw 056ee09e88700d6ae8de 2015-05-19 12:23:06:614335: [root@10.204.217.99] out: + systemctl --version 2015-05-19 12:23:06:614424: [root@10.204.217.99] out: + '[' -f /etc/redhat-release ']' 2015-05-19 12:23:06:614512: [root@10.204.217.99] out: + '[' -f /etc/lsb-release ']' 2015-05-19 12:23:06:614599: [root@10.204.217.99] out: + egrep -q 'DISTRIB_ID.*Ubuntu' /etc/lsb-release 2015-05-19 12:23:06:614686: [root@10.204.217.99] out: + is_ubuntu=1 2015-05-19 12:23:06:614774: [root@10.204.217.99] out: + is_redhat=0 2015-05-19 12:23:06:614863: [root@10.204.217.99] out: + web_svc=apache2 2015-05-19 12:23:06:614951: [root@10.204.217.99] out: + mysql_svc=mysql 2015-05-19 12:23:06:615039: [root@10.204.217.99] out: + mysql_pkg_chk='expr 1' 2015-05-19 12:23:06:615126: [root@10.204.217.99] out: + dbmanage_cmd='"$APP-manage $db_sync"' 2015-05-19 12:23:06:615214: [root@10.204.217.99] out: + '[' 6 -gt 0 ']' 2015-05-19 12:23:06:615301: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:23:06:615388: [root@10.204.217.99] out: + ASSUME_YES=yes 2015-05-19 12:23:06:615476: [root@10.204.217.99] out: + shift 2015-05-19 12:23:06:615564: [root@10.204.217.99] out: + '[' 5 -gt 0 ']' 2015-05-19 12:23:06:615650: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:23:06:615737: [root@10.204.217.99] out: + MODE=init 2015-05-19 12:23:06:615832: [root@10.204.217.99] out: + shift 2015-05-19 12:23:06:615904: [root@10.204.217.99] out: + '[' 4 -gt 0 ']' 2015-05-19 12:23:06:615973: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:23:06:616042: [root@10.204.217.99] out: + shift 2015-05-19 12:23:06:616123: [root@10.204.217.99] out: + APP=cinder 2015-05-19 12:23:06:616209: [root@10.204.217.99] out: + shift 2015-05-19 12:23:06:616296: [root@10.204.217.99] out: + '[' 2 -gt 0 ']' 2015-05-19 12:23:06:616381: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:23:06:616467: [root@10.204.217.99] out: + shift 2015-05-19 12:23:06:616554: [root@10.204.217.99] out: + MYSQL_ROOT_PW=056ee09e88700d6ae8de 2015-05-19 12:23:06:616640: [root@10.204.217.99] out: + shift 2015-05-19 12:23:06:616726: [root@10.204.217.99] out: + '[' 0 -gt 0 ']' 2015-05-19 12:23:06:616813: [root@10.204.217.99] out: + '[' '!' init ']' 2015-05-19 12:23:06:616898: [root@10.204.217.99] out: + '[' '!' cinder ']' 2015-05-19 12:23:06:616982: [root@10.204.217.99] out: + case "$APP" in 2015-05-19 12:23:06:617053: [root@10.204.217.99] out: + MYSQL_APP_PW_DEFAULT=cinder 2015-05-19 12:23:06:617131: [root@10.204.217.99] out: + : cinder 2015-05-19 12:23:06:617364: [root@10.204.217.99] out: + '[' cinder = glance ']' 2015-05-19 12:23:06:617526: [root@10.204.217.99] out: + APP_CONFIG=/etc/cinder/cinder.conf 2015-05-19 12:23:06:617655: [root@10.204.217.99] out: + NEW_MYSQL_INSTALL=0 2015-05-19 12:23:06:617767: [root@10.204.217.99] out: + expr 1 2015-05-19 12:23:06:617902: [root@10.204.217.99] out: 1 2015-05-19 12:23:06:618037: [root@10.204.217.99] out: + service_running mysql 2015-05-19 12:23:06:618172: [root@10.204.217.99] out: + test '' 2015-05-19 12:23:06:618308: [root@10.204.217.99] out: + service mysql status 2015-05-19 12:23:06:618444: [root@10.204.217.99] out: + '[' 0 -eq 1 ']' 2015-05-19 12:23:06:637172: [root@10.204.217.99] out: + '[' '!' defined ']' 2015-05-19 12:23:06:637338: [root@10.204.217.99] out: + MYSQL_ROOT_PW_ARG= 2015-05-19 12:23:06:637470: [root@10.204.217.99] out: + '[' defined ']' 2015-05-19 12:23:06:637587: [root@10.204.217.99] out: + MYSQL_ROOT_PW_ARG=--password=056ee09e88700d6ae8de 2015-05-19 12:23:06:637652: [root@10.204.217.99] out: + echo 'SELECT 1;' 2015-05-19 12:23:06:637741: [root@10.204.217.99] out: + mysql -u root --password=056ee09e88700d6ae8de 2015-05-19 12:23:06:637829: [root@10.204.217.99] out: + echo 'Verified connectivity to MySQL.' 2015-05-19 12:23:06:637915: [root@10.204.217.99] out: Verified connectivity to MySQL. 2015-05-19 12:23:06:638001: [root@10.204.217.99] out: + '[' init = init ']' 2015-05-19 12:23:06:638085: [root@10.204.217.99] out: ++ echo 'SELECT COUNT(*) FROM INFORMATION_SCHEMA.SCHEMATA WHERE SCHEMA_NAME='\''cinder'\'';' 2015-05-19 12:23:06:638146: [root@10.204.217.99] out: ++ mysql -u root --password=056ee09e88700d6ae8de 2015-05-19 12:23:06:638221: [root@10.204.217.99] out: ++ tail -n+2 2015-05-19 12:23:06:638307: [root@10.204.217.99] out: + dbs=0 2015-05-19 12:23:06:642414: [root@10.204.217.99] out: + '[' 0 '!=' 0 ']' 2015-05-19 12:23:06:642560: [root@10.204.217.99] out: ++ echo 'SELECT COUNT(*) FROM mysql.user WHERE User = '\''cinder'\'';' 2015-05-19 12:23:06:642645: [root@10.204.217.99] out: ++ mysql -u root --password=056ee09e88700d6ae8de 2015-05-19 12:23:06:642727: [root@10.204.217.99] out: ++ tail -n+2 2015-05-19 12:23:06:642822: [root@10.204.217.99] out: + users=0 2015-05-19 12:23:06:650643: [root@10.204.217.99] out: + '[' 0 '!=' 0 ']' 2015-05-19 12:23:06:650793: [root@10.204.217.99] out: + '[' init = init ']' 2015-05-19 12:23:06:650879: [root@10.204.217.99] out: + echo 'Creating '\''cinder'\'' database.' 2015-05-19 12:23:06:650958: [root@10.204.217.99] out: + mysql -u root --password=056ee09e88700d6ae8de 2015-05-19 12:23:06:651037: [root@10.204.217.99] out: Creating 'cinder' database. 2015-05-19 12:23:06:651115: [root@10.204.217.99] out: + cat 2015-05-19 12:23:06:651193: [root@10.204.217.99] out: + '[' init = init ']' 2015-05-19 12:23:06:652816: [root@10.204.217.99] out: + '[' cinder '!=' cinder ']' 2015-05-19 12:23:06:653385: [root@10.204.217.99] out: + echo 'Initializing the cinder database, please wait...' 2015-05-19 12:23:06:653936: [root@10.204.217.99] out: Initializing the cinder database, please wait... 2015-05-19 12:23:06:654947: [root@10.204.217.99] out: + '[' cinder = nova ']' 2015-05-19 12:23:06:655247: [root@10.204.217.99] out: + '[' cinder = cinder ']' 2015-05-19 12:23:06:655366: [root@10.204.217.99] out: + db_sync='db sync' 2015-05-19 12:23:06:655453: [root@10.204.217.99] out: + '[' 0 -eq 1 ']' 2015-05-19 12:23:06:655539: [root@10.204.217.99] out: + '[' 1 -eq 1 ']' 2015-05-19 12:23:06:655625: [root@10.204.217.99] out: + cinder-manage db sync 2015-05-19 12:23:06:656083: [root@10.204.217.99] out: + echo 'SELECT * FROM migrate_version;' 2015-05-19 12:23:07:120132: [root@10.204.217.99] out: + mysql -u cinder --password=cinder cinder 2015-05-19 12:23:07:120231: [root@10.204.217.99] out: ERROR 1146 (42S02) at line 1: Table 'cinder.migrate_version' doesn't exist 2015-05-19 12:23:07:120289: [root@10.204.217.99] out: + echo 'Final sanity check failed.' 2015-05-19 12:23:07:120351: [root@10.204.217.99] out: Final sanity check failed. 2015-05-19 12:23:07:120401: [root@10.204.217.99] out: + echo 'Please file a bug report on bugzilla.redhat.com against the openstack-cinder package.' 2015-05-19 12:23:07:120442: [root@10.204.217.99] out: Please file a bug report on bugzilla.redhat.com against the openstack-cinder package. 2015-05-19 12:23:07:120484: [root@10.204.217.99] out: + exit 1 2015-05-19 12:23:07:120525: [root@10.204.217.99] out: + export ADMIN_TOKEN 2015-05-19 12:23:07:120566: [root@10.204.217.99] out: + export SERVICE_TOKEN 2015-05-19 12:23:07:120607: [root@10.204.217.99] out: + for svc in cinder 2015-05-19 12:23:07:120648: [root@10.204.217.99] out: + openstack-config --set /etc/cinder/cinder.conf keystone_authtoken admin_tenant_name service 2015-05-19 12:23:07:120689: [root@10.204.217.99] out: + openstack-config --set /etc/cinder/cinder.conf keystone_authtoken admin_user cinder 2015-05-19 12:23:07:120729: [root@10.204.217.99] out: + openstack-config --set /etc/cinder/cinder.conf keystone_authtoken admin_password contrail123 2015-05-19 12:23:07:136481: [root@10.204.217.99] out: + openstack-config --set /etc/cinder/cinder.conf keystone_authtoken auth_protocol http 2015-05-19 12:23:07:151919: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:23:07:167448: [root@10.204.217.99] out: + echo '======= Enabling the services ======' 2015-05-19 12:23:07:167562: [root@10.204.217.99] out: ======= Enabling the services ====== 2015-05-19 12:23:07:167606: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:23:07:167647: [root@10.204.217.99] out: + chkconfig apache2 on 2015-05-19 12:23:07:167688: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:23:07:167747: [root@10.204.217.99] out: + chkconfig memcached on 2015-05-19 12:23:07:167795: [root@10.204.217.99] out: + for svc in supervisor-openstack 2015-05-19 12:23:07:167852: [root@10.204.217.99] out: + chkconfig supervisor-openstack on 2015-05-19 12:23:07:167908: [root@10.204.217.99] out: + echo '======= Starting the services ======' 2015-05-19 12:23:07:168019: [root@10.204.217.99] out: ======= Starting the services ====== 2015-05-19 12:23:07:168111: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:23:07:168293: [root@10.204.217.99] out: + service apache2 restart 2015-05-19 12:23:07:168338: [root@10.204.217.99] out: * Restarting web server apache2 2015-05-19 12:23:07:168747: [root@10.204.217.99] out: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message 2015-05-19 12:23:08:301772: [root@10.204.217.99] out: ...done. 2015-05-19 12:23:09:303275: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:23:09:303477: [root@10.204.217.99] out: + service memcached restart 2015-05-19 12:23:09:303604: [root@10.204.217.99] out: Restarting memcached: memcached. 2015-05-19 12:23:09:383091: [root@10.204.217.99] out: ++ service supervisor-openstack status 2015-05-19 12:23:09:383234: [root@10.204.217.99] out: ++ grep -s -i running 2015-05-19 12:23:09:383311: [root@10.204.217.99] out: ++ echo running 2015-05-19 12:23:09:383377: [root@10.204.217.99] out: + status=running 2015-05-19 12:23:09:383555: [root@10.204.217.99] out: + '[' running == stopped ']' 2015-05-19 12:23:09:383669: [root@10.204.217.99] out: + for svc in cinder-api cinder-scheduler 2015-05-19 12:23:09:383739: [root@10.204.217.99] out: + service cinder-api restart 2015-05-19 12:23:09:383805: [root@10.204.217.99] out: cinder-api: ERROR (not running) 2015-05-19 12:23:09:447754: [root@10.204.217.99] out: cinder-api: started 2015-05-19 12:23:10:981377: [root@10.204.217.99] out: + for svc in cinder-api cinder-scheduler 2015-05-19 12:23:10:991588: [root@10.204.217.99] out: + service cinder-scheduler restart 2015-05-19 12:23:10:991716: [root@10.204.217.99] out: cinder-scheduler: ERROR (not running) 2015-05-19 12:23:11:092246: [root@10.204.217.99] out: cinder-scheduler: started 2015-05-19 12:23:12:394279: [root@10.204.217.99] out: [localhost] local: sudo nova-server-setup.sh 2015-05-19 12:23:12:394452: [root@10.204.217.99] out: + '[' -f /etc/redhat-release ']' 2015-05-19 12:23:12:410059: [root@10.204.217.99] out: + '[' -f /etc/lsb-release ']' 2015-05-19 12:23:12:410191: [root@10.204.217.99] out: + egrep -q 'DISTRIB_ID.*Ubuntu' /etc/lsb-release 2015-05-19 12:23:12:410289: [root@10.204.217.99] out: + is_ubuntu=1 2015-05-19 12:23:12:411020: [root@10.204.217.99] out: + is_redhat=0 2015-05-19 12:23:12:411253: [root@10.204.217.99] out: + web_svc=apache2 2015-05-19 12:23:12:411318: [root@10.204.217.99] out: + mysql_svc=mysql 2015-05-19 12:23:12:411546: [root@10.204.217.99] out: ++ dpkg -l 2015-05-19 12:23:12:413056: [root@10.204.217.99] out: ++ awk '{print $3}' 2015-05-19 12:23:12:413183: [root@10.204.217.99] out: ++ grep nova-api 2015-05-19 12:23:12:413282: [root@10.204.217.99] out: ++ grep ii 2015-05-19 12:23:12:413369: [root@10.204.217.99] out: + nova_api_version=1:2014.2.2-0ubuntu1~cloud0.2contrail 2015-05-19 12:23:12:445179: [root@10.204.217.99] out: + echo 1:2014.2.2-0ubuntu1~cloud0.2contrail 2015-05-19 12:23:12:445279: [root@10.204.217.99] out: 1:2014.2.2-0ubuntu1~cloud0.2contrail 2015-05-19 12:23:12:445322: [root@10.204.217.99] out: + '[' 1:2014.2.2-0ubuntu1~cloud0.2contrail == 2:2013.1.3-0ubuntu1 ']' 2015-05-19 12:23:12:445362: [root@10.204.217.99] out: + OS_NET=neutron 2015-05-19 12:23:12:445403: [root@10.204.217.99] out: + TENANT_NAME=neutron_admin_tenant_name 2015-05-19 12:23:12:445467: [root@10.204.217.99] out: + ADMIN_USER=neutron_admin_username 2015-05-19 12:23:12:445534: [root@10.204.217.99] out: + ADMIN_PASSWD=neutron_admin_password 2015-05-19 12:23:12:445574: [root@10.204.217.99] out: + ADMIN_AUTH_URL=neutron_admin_auth_url 2015-05-19 12:23:12:445614: [root@10.204.217.99] out: + OS_URL=neutron_url 2015-05-19 12:23:12:445654: [root@10.204.217.99] out: + OS_URL_TIMEOUT=neutron_url_timeout 2015-05-19 12:23:12:445694: [root@10.204.217.99] out: + META_DATA_PROXY=service_neutron_metadata_proxy 2015-05-19 12:23:12:445733: [root@10.204.217.99] out: + openstack-config --del /etc/nova/nova.conf DEFAULT quantum_admin_tenant_name 2015-05-19 12:23:12:445773: [root@10.204.217.99] out: + openstack-config --del /etc/nova/nova.conf DEFAULT quantum_admin_username 2015-05-19 12:23:12:453420: [root@10.204.217.99] out: + openstack-config --del /etc/nova/nova.conf DEFAULT quantum_admin_password 2015-05-19 12:23:12:485139: [root@10.204.217.99] out: + openstack-config --del /etc/nova/nova.conf DEFAULT quantum_admin_auth_url 2015-05-19 12:23:12:492641: [root@10.204.217.99] out: + openstack-config --del /etc/nova/nova.conf DEFAULT quantum_auth_strategy 2015-05-19 12:23:12:508066: [root@10.204.217.99] out: + openstack-config --del /etc/nova/nova.conf DEFAULT quantum_url 2015-05-19 12:23:12:515445: [root@10.204.217.99] out: + chkconfig mysql 2015-05-19 12:23:12:530960: [root@10.204.217.99] out: + ret=0 2015-05-19 12:23:12:531055: [root@10.204.217.99] out: + '[' 0 -ne 0 ']' 2015-05-19 12:23:12:531099: [root@10.204.217.99] out: ++ service mysql status 2015-05-19 12:23:12:531155: [root@10.204.217.99] out: + mysql_status=' * MySQL is running (PID: 32411)' 2015-05-19 12:23:12:595088: [root@10.204.217.99] out: + [[ * MySQL is running (PID: 32411) != *running* ]] 2015-05-19 12:23:12:595188: [root@10.204.217.99] out: + '[' '!' -f /etc/contrail/mysql.token ']' 2015-05-19 12:23:12:595234: [root@10.204.217.99] out: ++ cat /etc/contrail/mysql.token 2015-05-19 12:23:12:595276: [root@10.204.217.99] out: + MYSQL_TOKEN=056ee09e88700d6ae8de 2015-05-19 12:23:12:595317: [root@10.204.217.99] out: + source /etc/contrail/ctrl-details 2015-05-19 12:23:12:595357: [root@10.204.217.99] out: ++ SERVICE_TOKEN=228c309425f7df134ecc 2015-05-19 12:23:12:595398: [root@10.204.217.99] out: ++ AUTH_PROTOCOL=http 2015-05-19 12:23:12:595438: [root@10.204.217.99] out: ++ QUANTUM_PROTOCOL=http 2015-05-19 12:23:12:595480: [root@10.204.217.99] out: ++ ADMIN_TOKEN=contrail123 2015-05-19 12:23:12:595520: [root@10.204.217.99] out: ++ CONTROLLER=10.204.217.99 2015-05-19 12:23:12:595560: [root@10.204.217.99] out: ++ API_SERVER=10.204.217.99 2015-05-19 12:23:12:595599: [root@10.204.217.99] out: ++ OSAPI_COMPUTE_WORKERS=40 2015-05-19 12:23:12:595638: [root@10.204.217.99] out: ++ CONDUCTOR_WORKERS=40 2015-05-19 12:23:12:595678: [root@10.204.217.99] out: ++ SELF_MGMT_IP=127.0.0.1 2015-05-19 12:23:12:595718: [root@10.204.217.99] out: ++ AMQP_SERVER=10.204.217.99 2015-05-19 12:23:12:595757: [root@10.204.217.99] out: ++ QUANTUM=10.204.217.99 2015-05-19 12:23:12:595797: [root@10.204.217.99] out: ++ QUANTUM_PORT=9696 2015-05-19 12:23:12:595837: [root@10.204.217.99] out: ++ OPENSTACK_INDEX=1 2015-05-19 12:23:12:595877: [root@10.204.217.99] out: + ADMIN_TOKEN=contrail123 2015-05-19 12:23:12:595917: [root@10.204.217.99] out: + SERVICE_TOKEN=228c309425f7df134ecc 2015-05-19 12:23:12:595956: [root@10.204.217.99] out: + OPENSTACK_INDEX=1 2015-05-19 12:23:12:595996: [root@10.204.217.99] out: + INTERNAL_VIP=none 2015-05-19 12:23:12:596035: [root@10.204.217.99] out: + CONTRAIL_INTERNAL_VIP=none 2015-05-19 12:23:12:596084: [root@10.204.217.99] out: + AMQP_PORT=5672 2015-05-19 12:23:12:596124: [root@10.204.217.99] out: + '[' none == 10.204.217.99 ']' 2015-05-19 12:23:12:596173: [root@10.204.217.99] out: + '[' none == 10.204.217.99 ']' 2015-05-19 12:23:12:596214: [root@10.204.217.99] out: + controller_ip=10.204.217.99 2015-05-19 12:23:12:596254: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:23:12:596302: [root@10.204.217.99] out: + cat 2015-05-19 12:23:12:596341: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT sql_connection mysql://nova:nova@127.0.0.1/nova 2015-05-19 12:23:12:596382: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT libvirt_nonblocking True 2015-05-19 12:23:12:596422: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT libvirt_inject_partition -1 2015-05-19 12:23:12:604497: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT connection_type libvirt 2015-05-19 12:23:12:619975: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:23:12:635494: [root@10.204.217.99] out: + for APP in nova 2015-05-19 12:23:12:635706: [root@10.204.217.99] out: + '[' 1 -eq 1 ']' 2015-05-19 12:23:12:635848: [root@10.204.217.99] out: + openstack-db -y --init --service nova --rootpw 056ee09e88700d6ae8de 2015-05-19 12:23:12:635982: [root@10.204.217.99] out: + systemctl --version 2015-05-19 12:23:12:636077: [root@10.204.217.99] out: + '[' -f /etc/redhat-release ']' 2015-05-19 12:23:12:636136: [root@10.204.217.99] out: + '[' -f /etc/lsb-release ']' 2015-05-19 12:23:12:636193: [root@10.204.217.99] out: + egrep -q 'DISTRIB_ID.*Ubuntu' /etc/lsb-release 2015-05-19 12:23:12:636250: [root@10.204.217.99] out: + is_ubuntu=1 2015-05-19 12:23:12:636307: [root@10.204.217.99] out: + is_redhat=0 2015-05-19 12:23:12:636366: [root@10.204.217.99] out: + web_svc=apache2 2015-05-19 12:23:12:636423: [root@10.204.217.99] out: + mysql_svc=mysql 2015-05-19 12:23:12:636481: [root@10.204.217.99] out: + mysql_pkg_chk='expr 1' 2015-05-19 12:23:12:636547: [root@10.204.217.99] out: + dbmanage_cmd='"$APP-manage $db_sync"' 2015-05-19 12:23:12:636607: [root@10.204.217.99] out: + '[' 6 -gt 0 ']' 2015-05-19 12:23:12:636667: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:23:12:636725: [root@10.204.217.99] out: + ASSUME_YES=yes 2015-05-19 12:23:12:636790: [root@10.204.217.99] out: + shift 2015-05-19 12:23:12:636847: [root@10.204.217.99] out: + '[' 5 -gt 0 ']' 2015-05-19 12:23:12:636906: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:23:12:636962: [root@10.204.217.99] out: + MODE=init 2015-05-19 12:23:12:637019: [root@10.204.217.99] out: + shift 2015-05-19 12:23:12:637076: [root@10.204.217.99] out: + '[' 4 -gt 0 ']' 2015-05-19 12:23:12:637132: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:23:12:637187: [root@10.204.217.99] out: + shift 2015-05-19 12:23:12:637244: [root@10.204.217.99] out: + APP=nova 2015-05-19 12:23:12:637301: [root@10.204.217.99] out: + shift 2015-05-19 12:23:12:637358: [root@10.204.217.99] out: + '[' 2 -gt 0 ']' 2015-05-19 12:23:12:637414: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:23:12:637479: [root@10.204.217.99] out: + shift 2015-05-19 12:23:12:637575: [root@10.204.217.99] out: + MYSQL_ROOT_PW=056ee09e88700d6ae8de 2015-05-19 12:23:12:637660: [root@10.204.217.99] out: + shift 2015-05-19 12:23:12:637745: [root@10.204.217.99] out: + '[' 0 -gt 0 ']' 2015-05-19 12:23:12:637826: [root@10.204.217.99] out: + '[' '!' init ']' 2015-05-19 12:23:12:637912: [root@10.204.217.99] out: + '[' '!' nova ']' 2015-05-19 12:23:12:637997: [root@10.204.217.99] out: + case "$APP" in 2015-05-19 12:23:12:638082: [root@10.204.217.99] out: + MYSQL_APP_PW_DEFAULT=nova 2015-05-19 12:23:12:638166: [root@10.204.217.99] out: + : nova 2015-05-19 12:23:12:638253: [root@10.204.217.99] out: + '[' nova = glance ']' 2015-05-19 12:23:12:638339: [root@10.204.217.99] out: + APP_CONFIG=/etc/nova/nova.conf 2015-05-19 12:23:12:638422: [root@10.204.217.99] out: + NEW_MYSQL_INSTALL=0 2015-05-19 12:23:12:638523: [root@10.204.217.99] out: + expr 1 2015-05-19 12:23:12:638607: [root@10.204.217.99] out: 1 2015-05-19 12:23:12:638693: [root@10.204.217.99] out: + service_running mysql 2015-05-19 12:23:12:638777: [root@10.204.217.99] out: + test '' 2015-05-19 12:23:12:638860: [root@10.204.217.99] out: + service mysql status 2015-05-19 12:23:12:638947: [root@10.204.217.99] out: + '[' 0 -eq 1 ']' 2015-05-19 12:23:12:672409: [root@10.204.217.99] out: + '[' '!' defined ']' 2015-05-19 12:23:12:672562: [root@10.204.217.99] out: + MYSQL_ROOT_PW_ARG= 2015-05-19 12:23:12:672667: [root@10.204.217.99] out: + '[' defined ']' 2015-05-19 12:23:12:672757: [root@10.204.217.99] out: + MYSQL_ROOT_PW_ARG=--password=056ee09e88700d6ae8de 2015-05-19 12:23:12:672820: [root@10.204.217.99] out: + echo 'SELECT 1;' 2015-05-19 12:23:12:672861: [root@10.204.217.99] out: + mysql -u root --password=056ee09e88700d6ae8de 2015-05-19 12:23:12:672902: [root@10.204.217.99] out: + echo 'Verified connectivity to MySQL.' 2015-05-19 12:23:12:674426: [root@10.204.217.99] out: Verified connectivity to MySQL. 2015-05-19 12:23:12:674575: [root@10.204.217.99] out: + '[' init = init ']' 2015-05-19 12:23:12:674672: [root@10.204.217.99] out: ++ echo 'SELECT COUNT(*) FROM INFORMATION_SCHEMA.SCHEMATA WHERE SCHEMA_NAME='\''nova'\'';' 2015-05-19 12:23:12:674765: [root@10.204.217.99] out: ++ mysql -u root --password=056ee09e88700d6ae8de 2015-05-19 12:23:12:674857: [root@10.204.217.99] out: ++ tail -n+2 2015-05-19 12:23:12:674946: [root@10.204.217.99] out: + dbs=0 2015-05-19 12:23:12:678604: [root@10.204.217.99] out: + '[' 0 '!=' 0 ']' 2015-05-19 12:23:12:678765: [root@10.204.217.99] out: ++ echo 'SELECT COUNT(*) FROM mysql.user WHERE User = '\''nova'\'';' 2015-05-19 12:23:12:680404: [root@10.204.217.99] out: ++ tail -n+2 2015-05-19 12:23:12:680544: [root@10.204.217.99] out: ++ mysql -u root --password=056ee09e88700d6ae8de 2015-05-19 12:23:12:680641: [root@10.204.217.99] out: + users=0 2015-05-19 12:23:12:688227: [root@10.204.217.99] out: + '[' 0 '!=' 0 ']' 2015-05-19 12:23:12:688384: [root@10.204.217.99] out: + '[' init = init ']' 2015-05-19 12:23:12:688474: [root@10.204.217.99] out: + echo 'Creating '\''nova'\'' database.' 2015-05-19 12:23:12:688559: [root@10.204.217.99] out: Creating 'nova' database. 2015-05-19 12:23:12:688642: [root@10.204.217.99] out: + cat 2015-05-19 12:23:12:688723: [root@10.204.217.99] out: + mysql -u root --password=056ee09e88700d6ae8de 2015-05-19 12:23:12:688805: [root@10.204.217.99] out: + '[' init = init ']' 2015-05-19 12:23:12:692460: [root@10.204.217.99] out: + '[' nova '!=' nova ']' 2015-05-19 12:23:12:692558: [root@10.204.217.99] out: + echo 'Initializing the nova database, please wait...' 2015-05-19 12:23:12:692622: [root@10.204.217.99] out: Initializing the nova database, please wait... 2015-05-19 12:23:12:692683: [root@10.204.217.99] out: + '[' nova = nova ']' 2015-05-19 12:23:12:692741: [root@10.204.217.99] out: + db_sync='db sync' 2015-05-19 12:23:12:692797: [root@10.204.217.99] out: + '[' 0 -eq 1 ']' 2015-05-19 12:23:12:692854: [root@10.204.217.99] out: + '[' 1 -eq 1 ']' 2015-05-19 12:23:12:692909: [root@10.204.217.99] out: + nova-manage db sync 2015-05-19 12:23:12:692965: [root@10.204.217.99] out: 2015-05-19 12:23:13.439 2334 INFO migrate.versioning.api [-] 215 -> 216... 2015-05-19 12:23:13:457753: [root@10.204.217.99] out: 2015-05-19 12:23:52.318 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:23:52:324903: [root@10.204.217.99] out: 2015-05-19 12:23:52.318 2334 INFO migrate.versioning.api [-] 216 -> 217... 2015-05-19 12:23:52:325087: [root@10.204.217.99] out: 2015-05-19 12:23:52.368 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:23:52:388952: [root@10.204.217.99] out: 2015-05-19 12:23:52.368 2334 INFO migrate.versioning.api [-] 217 -> 218... 2015-05-19 12:23:52:389112: [root@10.204.217.99] out: 2015-05-19 12:23:52.418 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:23:52:420884: [root@10.204.217.99] out: 2015-05-19 12:23:52.418 2334 INFO migrate.versioning.api [-] 218 -> 219... 2015-05-19 12:23:52:421071: [root@10.204.217.99] out: 2015-05-19 12:23:52.468 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:23:52:485002: [root@10.204.217.99] out: 2015-05-19 12:23:52.468 2334 INFO migrate.versioning.api [-] 219 -> 220... 2015-05-19 12:23:52:485185: [root@10.204.217.99] out: 2015-05-19 12:23:52.520 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:23:52:549244: [root@10.204.217.99] out: 2015-05-19 12:23:52.520 2334 INFO migrate.versioning.api [-] 220 -> 221... 2015-05-19 12:23:52:549428: [root@10.204.217.99] out: 2015-05-19 12:23:52.570 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:23:52:581353: [root@10.204.217.99] out: 2015-05-19 12:23:52.570 2334 INFO migrate.versioning.api [-] 221 -> 222... 2015-05-19 12:23:52:581550: [root@10.204.217.99] out: 2015-05-19 12:23:52.620 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:23:52:645842: [root@10.204.217.99] out: 2015-05-19 12:23:52.620 2334 INFO migrate.versioning.api [-] 222 -> 223... 2015-05-19 12:23:52:646033: [root@10.204.217.99] out: 2015-05-19 12:23:52.670 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:23:52:677899: [root@10.204.217.99] out: 2015-05-19 12:23:52.670 2334 INFO migrate.versioning.api [-] 223 -> 224... 2015-05-19 12:23:52:678308: [root@10.204.217.99] out: 2015-05-19 12:23:52.762 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:23:52:778824: [root@10.204.217.99] out: 2015-05-19 12:23:52.762 2334 INFO migrate.versioning.api [-] 224 -> 225... 2015-05-19 12:23:52:779023: [root@10.204.217.99] out: 2015-05-19 12:23:52.812 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:23:52:842990: [root@10.204.217.99] out: 2015-05-19 12:23:52.812 2334 INFO migrate.versioning.api [-] 225 -> 226... 2015-05-19 12:23:52:843177: [root@10.204.217.99] out: 2015-05-19 12:23:52.862 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:23:52:875036: [root@10.204.217.99] out: 2015-05-19 12:23:52.862 2334 INFO migrate.versioning.api [-] 226 -> 227... 2015-05-19 12:23:52:875223: [root@10.204.217.99] out: 2015-05-19 12:23:52.912 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:23:52:939191: [root@10.204.217.99] out: 2015-05-19 12:23:52.912 2334 INFO migrate.versioning.api [-] 227 -> 228... 2015-05-19 12:23:52:939394: [root@10.204.217.99] out: 2015-05-19 12:23:53.598 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:23:53:604132: [root@10.204.217.99] out: 2015-05-19 12:23:53.599 2334 INFO migrate.versioning.api [-] 228 -> 229... 2015-05-19 12:23:53:604337: [root@10.204.217.99] out: 2015-05-19 12:23:54.201 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:23:54:205507: [root@10.204.217.99] out: 2015-05-19 12:23:54.201 2334 INFO migrate.versioning.api [-] 229 -> 230... 2015-05-19 12:23:54:205607: [root@10.204.217.99] out: 2015-05-19 12:23:55.565 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:23:55:571110: [root@10.204.217.99] out: 2015-05-19 12:23:55.565 2334 INFO migrate.versioning.api [-] 230 -> 231... 2015-05-19 12:23:55:571288: [root@10.204.217.99] out: 2015-05-19 12:23:56.359 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:23:56:372418: [root@10.204.217.99] out: 2015-05-19 12:23:56.359 2334 INFO migrate.versioning.api [-] 231 -> 232... 2015-05-19 12:23:56:372533: [root@10.204.217.99] out: 2015-05-19 12:23:57.281 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:23:57:289233: [root@10.204.217.99] out: 2015-05-19 12:23:57.281 2334 INFO migrate.versioning.api [-] 232 -> 233... 2015-05-19 12:23:57:289453: [root@10.204.217.99] out: 2015-05-19 12:23:58.009 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:23:58:022066: [root@10.204.217.99] out: 2015-05-19 12:23:58.009 2334 INFO migrate.versioning.api [-] 233 -> 234... 2015-05-19 12:23:58:022208: [root@10.204.217.99] out: 2015-05-19 12:23:58.260 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:23:58:286249: [root@10.204.217.99] out: 2015-05-19 12:23:58.260 2334 INFO migrate.versioning.api [-] 234 -> 235... 2015-05-19 12:23:58:286378: [root@10.204.217.99] out: 2015-05-19 12:23:58.368 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:23:58:386757: [root@10.204.217.99] out: 2015-05-19 12:23:58.368 2334 INFO migrate.versioning.api [-] 235 -> 236... 2015-05-19 12:23:58:386863: [root@10.204.217.99] out: 2015-05-19 12:23:58.427 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:23:58:450569: [root@10.204.217.99] out: 2015-05-19 12:23:58.427 2334 INFO migrate.versioning.api [-] 236 -> 237... 2015-05-19 12:23:58:450679: [root@10.204.217.99] out: 2015-05-19 12:23:58.485 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:23:58:514454: [root@10.204.217.99] out: 2015-05-19 12:23:58.486 2334 INFO migrate.versioning.api [-] 237 -> 238... 2015-05-19 12:23:58:514577: [root@10.204.217.99] out: 2015-05-19 12:23:58.544 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:23:58:546216: [root@10.204.217.99] out: 2015-05-19 12:23:58.544 2334 INFO migrate.versioning.api [-] 238 -> 239... 2015-05-19 12:23:58:546352: [root@10.204.217.99] out: 2015-05-19 12:23:58.602 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:23:58:610059: [root@10.204.217.99] out: 2015-05-19 12:23:58.602 2334 INFO migrate.versioning.api [-] 239 -> 240... 2015-05-19 12:23:58:610166: [root@10.204.217.99] out: 2015-05-19 12:23:58.660 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:23:58:673889: [root@10.204.217.99] out: 2015-05-19 12:23:58.661 2334 INFO migrate.versioning.api [-] 240 -> 241... 2015-05-19 12:23:58:673989: [root@10.204.217.99] out: 2015-05-19 12:23:58.719 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:23:58:737708: [root@10.204.217.99] out: 2015-05-19 12:23:58.719 2334 INFO migrate.versioning.api [-] 241 -> 242... 2015-05-19 12:23:58:737809: [root@10.204.217.99] out: 2015-05-19 12:23:58.778 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:23:58:801578: [root@10.204.217.99] out: 2015-05-19 12:23:58.778 2334 INFO migrate.versioning.api [-] 242 -> 243... 2015-05-19 12:23:58:801681: [root@10.204.217.99] out: 2015-05-19 12:23:58.836 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:23:58:865446: [root@10.204.217.99] out: 2015-05-19 12:23:58.836 2334 INFO migrate.versioning.api [-] 243 -> 244... 2015-05-19 12:23:58:865624: [root@10.204.217.99] out: 2015-05-19 12:23:59.154 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:23:59:166279: [root@10.204.217.99] out: 2015-05-19 12:23:59.154 2334 INFO migrate.versioning.api [-] 244 -> 245... 2015-05-19 12:23:59:166402: [root@10.204.217.99] out: 2015-05-19 12:24:01.514 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:24:01:533214: [root@10.204.217.99] out: 2015-05-19 12:24:01.514 2334 INFO migrate.versioning.api [-] 245 -> 246... 2015-05-19 12:24:01:533393: [root@10.204.217.99] out: 2015-05-19 12:24:01.841 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:24:01:849475: [root@10.204.217.99] out: 2015-05-19 12:24:01.841 2334 INFO migrate.versioning.api [-] 246 -> 247... 2015-05-19 12:24:01:849655: [root@10.204.217.99] out: 2015-05-19 12:24:03.447 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:24:03:452048: [root@10.204.217.99] out: 2015-05-19 12:24:03.447 2334 INFO migrate.versioning.api [-] 247 -> 248... 2015-05-19 12:24:03:452162: [root@10.204.217.99] out: 2015-05-19 12:24:03.456 2334 INFO 248_add_expire_reservations_index [-] Skipped adding reservations_deleted_expire_idx because an equivalent index already exists. 2015-05-19 12:24:03:459615: [root@10.204.217.99] out: 2015-05-19 12:24:03.505 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:24:03:523316: [root@10.204.217.99] out: 2015-05-19 12:24:03.506 2334 INFO migrate.versioning.api [-] 248 -> 249... 2015-05-19 12:24:03:523744: [root@10.204.217.99] out: 2015-05-19 12:24:03.731 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:24:03:739763: [root@10.204.217.99] out: 2015-05-19 12:24:03.732 2334 INFO migrate.versioning.api [-] 249 -> 250... 2015-05-19 12:24:03:739938: [root@10.204.217.99] out: 2015-05-19 12:24:03.891 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:24:03:903916: [root@10.204.217.99] out: 2015-05-19 12:24:03.891 2334 INFO migrate.versioning.api [-] 250 -> 251... 2015-05-19 12:24:03:904082: [root@10.204.217.99] out: 2015-05-19 12:24:04.578 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:24:04:605362: [root@10.204.217.99] out: 2015-05-19 12:24:04.578 2334 INFO migrate.versioning.api [-] 251 -> 252... 2015-05-19 12:24:04:605471: [root@10.204.217.99] out: 2015-05-19 12:24:05.590 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:24:05:606975: [root@10.204.217.99] out: 2015-05-19 12:24:05.590 2334 INFO migrate.versioning.api [-] 252 -> 253... 2015-05-19 12:24:05:607088: [root@10.204.217.99] out: 2015-05-19 12:24:06.309 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:24:06:311419: [root@10.204.217.99] out: 2015-05-19 12:24:06.309 2334 INFO migrate.versioning.api [-] 253 -> 254... 2015-05-19 12:24:06:311531: [root@10.204.217.99] out: 2015-05-19 12:24:06.945 2334 INFO migrate.versioning.api [-] done 2015-05-19 12:24:06:976131: [root@10.204.217.99] out: + echo 'SELECT * FROM migrate_version;' 2015-05-19 12:24:07:039859: [root@10.204.217.99] out: + mysql -u nova --password=nova nova 2015-05-19 12:24:07:040043: [root@10.204.217.99] out: + echo 'Complete!' 2015-05-19 12:24:07:040146: [root@10.204.217.99] out: Complete! 2015-05-19 12:24:07:040234: [root@10.204.217.99] out: + export ADMIN_TOKEN 2015-05-19 12:24:07:040326: [root@10.204.217.99] out: + export SERVICE_TOKEN 2015-05-19 12:24:07:040415: [root@10.204.217.99] out: + for svc in nova 2015-05-19 12:24:07:040503: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf keystone_authtoken admin_tenant_name service 2015-05-19 12:24:07:040591: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf keystone_authtoken admin_user nova 2015-05-19 12:24:07:040679: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf keystone_authtoken admin_password contrail123 2015-05-19 12:24:07:056748: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf keystone_authtoken auth_protocol http 2015-05-19 12:24:07:072290: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf keystone_authtoken auth_host 127.0.0.1 2015-05-19 12:24:07:103983: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf keystone_authtoken auth_port 35357 2015-05-19 12:24:07:105302: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf keystone_authtoken signing_dir /tmp/keystone-signing-nova 2015-05-19 12:24:07:120783: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT rabbit_host 10.204.217.99 2015-05-19 12:24:07:136282: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT neutron_admin_tenant_name service 2015-05-19 12:24:07:167811: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT neutron_admin_username neutron 2015-05-19 12:24:07:183284: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT neutron_admin_password contrail123 2015-05-19 12:24:07:246895: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT neutron_admin_auth_url http://10.204.217.99:35357/v2.0/ 2015-05-19 12:24:07:246997: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT neutron_url http://10.204.217.99:9696/ 2015-05-19 12:24:07:310679: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT neutron_url_timeout 300 2015-05-19 12:24:07:310855: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT security_group_api neutron 2015-05-19 12:24:07:342653: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT osapi_compute_workers 40 2015-05-19 12:24:07:350333: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT service_neutron_metadata_proxy True 2015-05-19 12:24:07:414105: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf conductor workers 40 2015-05-19 12:24:07:414226: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT compute_driver libvirt.LibvirtDriver 2015-05-19 12:24:07:477867: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT libvirt_vif_driver nova_contrail_vif.contrailvif.VRouterVIFDriver 2015-05-19 12:24:07:477976: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT firewall_driver nova.virt.firewall.NoopFirewallDriver 2015-05-19 12:24:07:481288: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT service_down_time 100000 2015-05-19 12:24:07:581608: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT sql_max_retries -1 2015-05-19 12:24:07:581791: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT novncproxy_port 5999 2015-05-19 12:24:07:613631: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT novncproxy_host 0.0.0.0 2015-05-19 12:24:07:616996: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT quota_instances 100000 2015-05-19 12:24:07:680650: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT quota_cores 100000 2015-05-19 12:24:07:680836: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT quota_ram 10000000 2015-05-19 12:24:07:712557: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT auth_strategy keystone 2015-05-19 12:24:07:719943: [root@10.204.217.99] out: + '[' 1 -eq 1 ']' 2015-05-19 12:24:07:820195: [root@10.204.217.99] out: + '[' 1:2014.2.2-0ubuntu1~cloud0.2contrail == 2:2013.1.3-0ubuntu1 ']' 2015-05-19 12:24:07:820285: [root@10.204.217.99] out: + [[ 1:2014.2.2-0ubuntu1~cloud0.2contrail == *\2\0\1\3\.\2* ]] 2015-05-19 12:24:07:820331: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT network_api_class contrail_nova_networkapi.api.API 2015-05-19 12:24:07:820372: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT ec2_private_dns_show_ip False 2015-05-19 12:24:07:821635: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:24:07:921980: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:24:07:922085: [root@10.204.217.99] out: + echo '======= Enabling the services ======' 2015-05-19 12:24:07:922135: [root@10.204.217.99] out: ======= Enabling the services ====== 2015-05-19 12:24:07:922180: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:24:07:922223: [root@10.204.217.99] out: + chkconfig apache2 on 2015-05-19 12:24:07:922266: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:24:07:922307: [root@10.204.217.99] out: + chkconfig memcached on 2015-05-19 12:24:07:922349: [root@10.204.217.99] out: + for svc in supervisor-openstack 2015-05-19 12:24:07:922390: [root@10.204.217.99] out: + chkconfig supervisor-openstack on 2015-05-19 12:24:07:922431: [root@10.204.217.99] out: + echo '======= Starting the services ======' 2015-05-19 12:24:07:922471: [root@10.204.217.99] out: ======= Starting the services ====== 2015-05-19 12:24:07:922512: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:24:07:922575: [root@10.204.217.99] out: + service apache2 restart 2015-05-19 12:24:07:922632: [root@10.204.217.99] out: * Restarting web server apache2 2015-05-19 12:24:07:924321: [root@10.204.217.99] out: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message 2015-05-19 12:24:09:089574: [root@10.204.217.99] out: ...done. 2015-05-19 12:24:10:091162: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:24:10:091383: [root@10.204.217.99] out: + service memcached restart 2015-05-19 12:24:10:091504: [root@10.204.217.99] out: Restarting memcached: memcached. 2015-05-19 12:24:10:155418: [root@10.204.217.99] out: ++ service supervisor-openstack status 2015-05-19 12:24:10:155556: [root@10.204.217.99] out: ++ grep -s -i running 2015-05-19 12:24:10:155622: [root@10.204.217.99] out: ++ echo running 2015-05-19 12:24:10:155698: [root@10.204.217.99] out: + status=running 2015-05-19 12:24:10:155761: [root@10.204.217.99] out: + '[' running == stopped ']' 2015-05-19 12:24:10:155823: [root@10.204.217.99] out: + for svc in nova-api nova-objectstore nova-scheduler nova-cert nova-console nova-consoleauth nova-novncproxy nova-conductor 2015-05-19 12:24:10:155885: [root@10.204.217.99] out: + service nova-api restart 2015-05-19 12:24:10:155948: [root@10.204.217.99] out: nova-api: ERROR (not running) 2015-05-19 12:24:10:219840: [root@10.204.217.99] out: nova-api: started 2015-05-19 12:24:12:053775: [root@10.204.217.99] out: + for svc in nova-api nova-objectstore nova-scheduler nova-cert nova-console nova-consoleauth nova-novncproxy nova-conductor 2015-05-19 12:24:12:053967: [root@10.204.217.99] out: + service nova-objectstore restart 2015-05-19 12:24:12:054064: [root@10.204.217.99] out: nova-objectstore: ERROR (not running) 2015-05-19 12:24:12:154599: [root@10.204.217.99] out: nova-objectstore: started 2015-05-19 12:24:13:487974: [root@10.204.217.99] out: + for svc in nova-api nova-objectstore nova-scheduler nova-cert nova-console nova-consoleauth nova-novncproxy nova-conductor 2015-05-19 12:24:13:488160: [root@10.204.217.99] out: + service nova-scheduler restart 2015-05-19 12:24:13:488254: [root@10.204.217.99] out: nova-scheduler: ERROR (not running) 2015-05-19 12:24:13:552147: [root@10.204.217.99] out: nova-scheduler: started 2015-05-19 12:24:15:370066: [root@10.204.217.99] out: + for svc in nova-api nova-objectstore nova-scheduler nova-cert nova-console nova-consoleauth nova-novncproxy nova-conductor 2015-05-19 12:24:15:373599: [root@10.204.217.99] out: + service nova-cert restart 2015-05-19 12:24:15:373795: [root@10.204.217.99] out: nova-cert: unrecognized service 2015-05-19 12:24:15:377409: [root@10.204.217.99] out: + for svc in nova-api nova-objectstore nova-scheduler nova-cert nova-console nova-consoleauth nova-novncproxy nova-conductor 2015-05-19 12:24:15:377578: [root@10.204.217.99] out: + service nova-console restart 2015-05-19 12:24:15:377675: [root@10.204.217.99] out: nova-console: ERROR (not running) 2015-05-19 12:24:15:478163: [root@10.204.217.99] out: nova-console: started 2015-05-19 12:24:17:312133: [root@10.204.217.99] out: + for svc in nova-api nova-objectstore nova-scheduler nova-cert nova-console nova-consoleauth nova-novncproxy nova-conductor 2015-05-19 12:24:17:312303: [root@10.204.217.99] out: + service nova-consoleauth restart 2015-05-19 12:24:17:312388: [root@10.204.217.99] out: nova-consoleauth: ERROR (not running) 2015-05-19 12:24:17:376163: [root@10.204.217.99] out: nova-consoleauth: started 2015-05-19 12:24:19:278816: [root@10.204.217.99] out: + for svc in nova-api nova-objectstore nova-scheduler nova-cert nova-console nova-consoleauth nova-novncproxy nova-conductor 2015-05-19 12:24:19:278939: [root@10.204.217.99] out: + service nova-novncproxy restart 2015-05-19 12:24:19:279035: [root@10.204.217.99] out: nova-novncproxy: ERROR (not running) 2015-05-19 12:24:19:342734: [root@10.204.217.99] out: nova-novncproxy: started 2015-05-19 12:24:20:644542: [root@10.204.217.99] out: + for svc in nova-api nova-objectstore nova-scheduler nova-cert nova-console nova-consoleauth nova-novncproxy nova-conductor 2015-05-19 12:24:20:644800: [root@10.204.217.99] out: + service nova-conductor restart 2015-05-19 12:24:20:644955: [root@10.204.217.99] out: nova-conductor: ERROR (not running) 2015-05-19 12:24:20:708773: [root@10.204.217.99] out: nova-conductor: started 2015-05-19 12:24:22:476762: [root@10.204.217.99] out: [localhost] local: dpkg -l | grep contrail-heat 2015-05-19 12:24:22:476870: [root@10.204.217.99] out: ii contrail-heat 2.20-22 all OpenStack virtual network service - Opencontrail 2015-05-19 12:24:22:508367: [root@10.204.217.99] out: [localhost] local: sudo heat-server-setup.sh 2015-05-19 12:24:22:523840: [root@10.204.217.99] out: + '[' -f /etc/redhat-release ']' 2015-05-19 12:24:22:555338: [root@10.204.217.99] out: + '[' -f /etc/lsb-release ']' 2015-05-19 12:24:22:555441: [root@10.204.217.99] out: + egrep -q 'DISTRIB_ID.*Ubuntu' /etc/lsb-release 2015-05-19 12:24:22:555499: [root@10.204.217.99] out: + is_ubuntu=1 2015-05-19 12:24:22:555549: [root@10.204.217.99] out: + is_redhat=0 2015-05-19 12:24:22:555597: [root@10.204.217.99] out: + web_svc=apache2 2015-05-19 12:24:22:555642: [root@10.204.217.99] out: + mysql_svc=mysql 2015-05-19 12:24:22:555685: [root@10.204.217.99] out: + chkconfig mysql 2015-05-19 12:24:22:555727: [root@10.204.217.99] out: + ret=0 2015-05-19 12:24:22:559193: [root@10.204.217.99] out: + '[' 0 -ne 0 ']' 2015-05-19 12:24:22:559289: [root@10.204.217.99] out: ++ service mysql status 2015-05-19 12:24:22:559337: [root@10.204.217.99] out: + mysql_status=' * MySQL is running (PID: 32411)' 2015-05-19 12:24:22:659608: [root@10.204.217.99] out: + [[ * MySQL is running (PID: 32411) != *running* ]] 2015-05-19 12:24:22:659702: [root@10.204.217.99] out: + '[' '!' -f /etc/contrail/mysql.token ']' 2015-05-19 12:24:22:659749: [root@10.204.217.99] out: ++ cat /etc/contrail/mysql.token 2015-05-19 12:24:22:659795: [root@10.204.217.99] out: + MYSQL_TOKEN=056ee09e88700d6ae8de 2015-05-19 12:24:22:659838: [root@10.204.217.99] out: + source /etc/contrail/ctrl-details 2015-05-19 12:24:22:659881: [root@10.204.217.99] out: ++ SERVICE_TOKEN=228c309425f7df134ecc 2015-05-19 12:24:22:659924: [root@10.204.217.99] out: ++ AUTH_PROTOCOL=http 2015-05-19 12:24:22:659967: [root@10.204.217.99] out: ++ QUANTUM_PROTOCOL=http 2015-05-19 12:24:22:660011: [root@10.204.217.99] out: ++ ADMIN_TOKEN=contrail123 2015-05-19 12:24:22:660054: [root@10.204.217.99] out: ++ CONTROLLER=10.204.217.99 2015-05-19 12:24:22:660096: [root@10.204.217.99] out: ++ API_SERVER=10.204.217.99 2015-05-19 12:24:22:660138: [root@10.204.217.99] out: ++ OSAPI_COMPUTE_WORKERS=40 2015-05-19 12:24:22:660180: [root@10.204.217.99] out: ++ CONDUCTOR_WORKERS=40 2015-05-19 12:24:22:660222: [root@10.204.217.99] out: ++ SELF_MGMT_IP=127.0.0.1 2015-05-19 12:24:22:660264: [root@10.204.217.99] out: ++ AMQP_SERVER=10.204.217.99 2015-05-19 12:24:22:660306: [root@10.204.217.99] out: ++ QUANTUM=10.204.217.99 2015-05-19 12:24:22:660347: [root@10.204.217.99] out: ++ QUANTUM_PORT=9696 2015-05-19 12:24:22:660389: [root@10.204.217.99] out: ++ OPENSTACK_INDEX=1 2015-05-19 12:24:22:660431: [root@10.204.217.99] out: + ADMIN_USER=admin 2015-05-19 12:24:22:660474: [root@10.204.217.99] out: + ADMIN_TOKEN=contrail123 2015-05-19 12:24:22:660516: [root@10.204.217.99] out: + ADMIN_TENANT=admin 2015-05-19 12:24:22:660558: [root@10.204.217.99] out: + SERVICE_TOKEN=228c309425f7df134ecc 2015-05-19 12:24:22:660600: [root@10.204.217.99] out: + OPENSTACK_INDEX=1 2015-05-19 12:24:22:660642: [root@10.204.217.99] out: + INTERNAL_VIP=none 2015-05-19 12:24:22:660684: [root@10.204.217.99] out: + CONTRAIL_INTERNAL_VIP=none 2015-05-19 12:24:22:660726: [root@10.204.217.99] out: + AMQP_PORT=5672 2015-05-19 12:24:22:660768: [root@10.204.217.99] out: + '[' none == 10.204.217.99 ']' 2015-05-19 12:24:22:660831: [root@10.204.217.99] out: + '[' none == 10.204.217.99 ']' 2015-05-19 12:24:22:660873: [root@10.204.217.99] out: + controller_ip=10.204.217.99 2015-05-19 12:24:22:660915: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:24:22:660957: [root@10.204.217.99] out: + cat 2015-05-19 12:24:22:660999: [root@10.204.217.99] out: + export ADMIN_USER 2015-05-19 12:24:22:661041: [root@10.204.217.99] out: + export ADMIN_TOKEN 2015-05-19 12:24:22:661083: [root@10.204.217.99] out: + export ADMIN_TENANT 2015-05-19 12:24:22:661125: [root@10.204.217.99] out: + export SERVICE_TOKEN 2015-05-19 12:24:22:661167: [root@10.204.217.99] out: + for svc in heat 2015-05-19 12:24:22:661209: [root@10.204.217.99] out: + openstack-config --del /etc/heat/heat.conf database connection 2015-05-19 12:24:22:661251: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf DEFAULT sql_connection mysql://heat:heat@127.0.0.1/heat 2015-05-19 12:24:22:725674: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:24:22:733103: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf DEFAULT rpc_backend heat.openstack.common.rpc.impl_kombu 2015-05-19 12:24:22:733215: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf DEFAULT rabbit_host 10.204.217.99 2015-05-19 12:24:22:796802: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf DEFAULT rabbit_port 5672 2015-05-19 12:24:22:804224: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf DEFAULT plugin_dirs /usr/lib/heat/resources 2015-05-19 12:24:22:867849: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf DEFAULT heat_waitcondition_server_url http://10.204.217.99:8000/v1/waitcondition 2015-05-19 12:24:22:867963: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf keystone_authtoken auth_uri http://10.204.217.99:5000/v2.0 2015-05-19 12:24:22:899484: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf keystone_authtoken auth_host 10.204.217.99 2015-05-19 12:24:22:931029: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf keystone_authtoken auth_port 35357 2015-05-19 12:24:22:962571: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf keystone_authtoken auth_protocol http 2015-05-19 12:24:22:994115: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf keystone_authtoken admin_tenant_name service 2015-05-19 12:24:23:025654: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf keystone_authtoken admin_user heat 2015-05-19 12:24:23:057193: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf keystone_authtoken admin_password contrail123 2015-05-19 12:24:23:072640: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf clients_contrail user admin 2015-05-19 12:24:23:104186: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf clients_contrail password contrail123 2015-05-19 12:24:23:136035: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf clients_contrail tenant admin 2015-05-19 12:24:23:167944: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf clients_contrail api_server 10.204.217.99 2015-05-19 12:24:23:199493: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:24:23:231521: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf clients_contrail api_base_url / 2015-05-19 12:24:23:231627: [root@10.204.217.99] out: + for APP in heat 2015-05-19 12:24:23:263133: [root@10.204.217.99] out: + '[' 1 -eq 1 ']' 2015-05-19 12:24:23:263236: [root@10.204.217.99] out: + openstack-db -y --init --service heat --rootpw 056ee09e88700d6ae8de 2015-05-19 12:24:23:263286: [root@10.204.217.99] out: + systemctl --version 2015-05-19 12:24:23:263333: [root@10.204.217.99] out: + '[' -f /etc/redhat-release ']' 2015-05-19 12:24:23:263378: [root@10.204.217.99] out: + '[' -f /etc/lsb-release ']' 2015-05-19 12:24:23:263421: [root@10.204.217.99] out: + egrep -q 'DISTRIB_ID.*Ubuntu' /etc/lsb-release 2015-05-19 12:24:23:263465: [root@10.204.217.99] out: + is_ubuntu=1 2015-05-19 12:24:23:263509: [root@10.204.217.99] out: + is_redhat=0 2015-05-19 12:24:23:263552: [root@10.204.217.99] out: + web_svc=apache2 2015-05-19 12:24:23:263595: [root@10.204.217.99] out: + mysql_svc=mysql 2015-05-19 12:24:23:263637: [root@10.204.217.99] out: + mysql_pkg_chk='expr 1' 2015-05-19 12:24:23:263680: [root@10.204.217.99] out: + dbmanage_cmd='"$APP-manage $db_sync"' 2015-05-19 12:24:23:263723: [root@10.204.217.99] out: + '[' 6 -gt 0 ']' 2015-05-19 12:24:23:263766: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:24:23:263808: [root@10.204.217.99] out: + ASSUME_YES=yes 2015-05-19 12:24:23:263851: [root@10.204.217.99] out: + shift 2015-05-19 12:24:23:263893: [root@10.204.217.99] out: + '[' 5 -gt 0 ']' 2015-05-19 12:24:23:263935: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:24:23:263977: [root@10.204.217.99] out: + MODE=init 2015-05-19 12:24:23:264020: [root@10.204.217.99] out: + shift 2015-05-19 12:24:23:264063: [root@10.204.217.99] out: + '[' 4 -gt 0 ']' 2015-05-19 12:24:23:264106: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:24:23:264158: [root@10.204.217.99] out: + shift 2015-05-19 12:24:23:264201: [root@10.204.217.99] out: + APP=heat 2015-05-19 12:24:23:264243: [root@10.204.217.99] out: + shift 2015-05-19 12:24:23:264285: [root@10.204.217.99] out: + '[' 2 -gt 0 ']' 2015-05-19 12:24:23:264326: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:24:23:264368: [root@10.204.217.99] out: + shift 2015-05-19 12:24:23:264411: [root@10.204.217.99] out: + MYSQL_ROOT_PW=056ee09e88700d6ae8de 2015-05-19 12:24:23:264452: [root@10.204.217.99] out: + shift 2015-05-19 12:24:23:264494: [root@10.204.217.99] out: + '[' 0 -gt 0 ']' 2015-05-19 12:24:23:264536: [root@10.204.217.99] out: + '[' '!' init ']' 2015-05-19 12:24:23:264578: [root@10.204.217.99] out: + '[' '!' heat ']' 2015-05-19 12:24:23:264620: [root@10.204.217.99] out: + case "$APP" in 2015-05-19 12:24:23:264662: [root@10.204.217.99] out: + MYSQL_APP_PW_DEFAULT=heat 2015-05-19 12:24:23:264704: [root@10.204.217.99] out: + : heat 2015-05-19 12:24:23:264746: [root@10.204.217.99] out: + '[' heat = glance ']' 2015-05-19 12:24:23:264788: [root@10.204.217.99] out: + APP_CONFIG=/etc/heat/heat.conf 2015-05-19 12:24:23:264831: [root@10.204.217.99] out: + NEW_MYSQL_INSTALL=0 2015-05-19 12:24:23:264873: [root@10.204.217.99] out: + expr 1 2015-05-19 12:24:23:264915: [root@10.204.217.99] out: 1 2015-05-19 12:24:23:264957: [root@10.204.217.99] out: + service_running mysql 2015-05-19 12:24:23:264998: [root@10.204.217.99] out: + test '' 2015-05-19 12:24:23:265040: [root@10.204.217.99] out: + service mysql status 2015-05-19 12:24:23:265082: [root@10.204.217.99] out: + '[' 0 -eq 1 ']' 2015-05-19 12:24:23:366383: [root@10.204.217.99] out: + '[' '!' defined ']' 2015-05-19 12:24:23:366492: [root@10.204.217.99] out: + MYSQL_ROOT_PW_ARG= 2015-05-19 12:24:23:366541: [root@10.204.217.99] out: + '[' defined ']' 2015-05-19 12:24:23:366588: [root@10.204.217.99] out: + MYSQL_ROOT_PW_ARG=--password=056ee09e88700d6ae8de 2015-05-19 12:24:23:366633: [root@10.204.217.99] out: + echo 'SELECT 1;' 2015-05-19 12:24:23:366678: [root@10.204.217.99] out: + mysql -u root --password=056ee09e88700d6ae8de 2015-05-19 12:24:23:366722: [root@10.204.217.99] out: + echo 'Verified connectivity to MySQL.' 2015-05-19 12:24:23:366765: [root@10.204.217.99] out: Verified connectivity to MySQL. 2015-05-19 12:24:23:366807: [root@10.204.217.99] out: + '[' init = init ']' 2015-05-19 12:24:23:366850: [root@10.204.217.99] out: ++ tail -n+2 2015-05-19 12:24:23:366893: [root@10.204.217.99] out: ++ mysql -u root --password=056ee09e88700d6ae8de 2015-05-19 12:24:23:366936: [root@10.204.217.99] out: ++ echo 'SELECT COUNT(*) FROM INFORMATION_SCHEMA.SCHEMATA WHERE SCHEMA_NAME='\''heat'\'';' 2015-05-19 12:24:23:366979: [root@10.204.217.99] out: + dbs=0 2015-05-19 12:24:23:367023: [root@10.204.217.99] out: + '[' 0 '!=' 0 ']' 2015-05-19 12:24:23:367064: [root@10.204.217.99] out: ++ tail -n+2 2015-05-19 12:24:23:367106: [root@10.204.217.99] out: ++ mysql -u root --password=056ee09e88700d6ae8de 2015-05-19 12:24:23:367148: [root@10.204.217.99] out: ++ echo 'SELECT COUNT(*) FROM mysql.user WHERE User = '\''heat'\'';' 2015-05-19 12:24:23:367190: [root@10.204.217.99] out: + users=0 2015-05-19 12:24:23:370891: [root@10.204.217.99] out: + '[' 0 '!=' 0 ']' 2015-05-19 12:24:23:370996: [root@10.204.217.99] out: + mysql -u root --password=056ee09e88700d6ae8de 2015-05-19 12:24:23:371045: [root@10.204.217.99] out: + '[' init = init ']' 2015-05-19 12:24:23:374386: [root@10.204.217.99] out: + echo 'Creating '\''heat'\'' database.' 2015-05-19 12:24:23:374488: [root@10.204.217.99] out: Creating 'heat' database. 2015-05-19 12:24:23:374539: [root@10.204.217.99] out: + cat 2015-05-19 12:24:23:374585: [root@10.204.217.99] out: + '[' init = init ']' 2015-05-19 12:24:23:382011: [root@10.204.217.99] out: + '[' heat '!=' heat ']' 2015-05-19 12:24:23:382115: [root@10.204.217.99] out: + echo 'Initializing the heat database, please wait...' 2015-05-19 12:24:23:382161: [root@10.204.217.99] out: Initializing the heat database, please wait... 2015-05-19 12:24:23:382206: [root@10.204.217.99] out: + '[' heat = nova ']' 2015-05-19 12:24:23:382260: [root@10.204.217.99] out: + '[' heat = cinder ']' 2015-05-19 12:24:23:382303: [root@10.204.217.99] out: + db_sync=db_sync 2015-05-19 12:24:23:382345: [root@10.204.217.99] out: + '[' 0 -eq 1 ']' 2015-05-19 12:24:23:382387: [root@10.204.217.99] out: + '[' 1 -eq 1 ']' 2015-05-19 12:24:23:382429: [root@10.204.217.99] out: + heat-manage db_sync 2015-05-19 12:24:23:382494: [root@10.204.217.99] out: + echo 'SELECT * FROM migrate_version;' 2015-05-19 12:24:40:836521: [root@10.204.217.99] out: + mysql -u heat --password=heat heat 2015-05-19 12:24:40:836717: [root@10.204.217.99] out: + echo 'Complete!' 2015-05-19 12:24:40:836813: [root@10.204.217.99] out: Complete! 2015-05-19 12:24:40:836906: [root@10.204.217.99] out: + heat-manage db_sync 2015-05-19 12:24:40:836999: [root@10.204.217.99] out: + echo '======= Enabling the services ======' 2015-05-19 12:24:41:201307: [root@10.204.217.99] out: ======= Enabling the services ====== 2015-05-19 12:24:41:201445: [root@10.204.217.99] out: + for svc in supervisor-openstack 2015-05-19 12:24:41:201521: [root@10.204.217.99] out: + chkconfig supervisor-openstack on 2015-05-19 12:24:41:201581: [root@10.204.217.99] out: ++ service supervisor-openstack status 2015-05-19 12:24:41:201638: [root@10.204.217.99] out: ++ grep -s -i running 2015-05-19 12:24:41:201696: [root@10.204.217.99] out: ++ echo running 2015-05-19 12:24:41:201755: [root@10.204.217.99] out: + status=running 2015-05-19 12:24:41:201813: [root@10.204.217.99] out: + '[' running == stopped ']' 2015-05-19 12:24:41:201870: [root@10.204.217.99] out: + echo '======= Starting the services ======' 2015-05-19 12:24:41:201927: [root@10.204.217.99] out: ======= Starting the services ====== 2015-05-19 12:24:41:201983: [root@10.204.217.99] out: + for svc in heat-api heat-api-cfn heat-engine 2015-05-19 12:24:41:202038: [root@10.204.217.99] out: + service heat-api restart 2015-05-19 12:24:41:202095: [root@10.204.217.99] out: heat-api: ERROR (not running) 2015-05-19 12:24:41:303021: [root@10.204.217.99] out: heat-api: started 2015-05-19 12:24:42:768626: [root@10.204.217.99] out: + for svc in heat-api heat-api-cfn heat-engine 2015-05-19 12:24:42:768730: [root@10.204.217.99] out: + service heat-api-cfn restart 2015-05-19 12:24:42:768773: [root@10.204.217.99] out: heat-api-cfn: ERROR (not running) 2015-05-19 12:24:42:832389: [root@10.204.217.99] out: heat-api-cfn: started 2015-05-19 12:24:44:265923: [root@10.204.217.99] out: + for svc in heat-api heat-api-cfn heat-engine 2015-05-19 12:24:44:267396: [root@10.204.217.99] out: + service heat-engine restart 2015-05-19 12:24:44:267549: [root@10.204.217.99] out: heat-engine: ERROR (not running) 2015-05-19 12:24:44:367970: [root@10.204.217.99] out: heat-engine: started 2015-05-19 12:24:46:133844: [root@10.204.217.99] out: [localhost] local: service mysql restart 2015-05-19 12:24:46:135315: [root@10.204.217.99] out: * Stopping MySQL database server mysqld 2015-05-19 12:24:46:199162: [root@10.204.217.99] out: * Killing MySQL database server by signal mysqld 2015-05-19 12:24:46:202671: [root@10.204.217.99] out: ...done. 2015-05-19 12:24:50:223742: [root@10.204.217.99] out: * Starting MySQL database server mysqld 2015-05-19 12:24:50:255518: [root@10.204.217.99] out: ...done. 2015-05-19 12:24:54:276610: [root@10.204.217.99] out: [localhost] local: service supervisor-openstack restart 2015-05-19 12:24:54:276785: [root@10.204.217.99] out: supervisor-openstack stop/waiting 2015-05-19 12:25:21:679007: [root@10.204.217.99] out: supervisor-openstack start/running, process 4195 2015-05-19 12:25:21:679201: [root@10.204.217.99] out: 2015-05-19 12:25:21:679578: 2015-05-19 12:25:21:687062: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:25:21:687241: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:25:21:751541: [root@10.204.217.99] out: 2015-05-19 12:25:21:751655: 2015-05-19 12:25:21:751791: [root@10.204.217.99] sudo: sudo ls /etc/contrail/service.token 2015-05-19 12:25:21:752134: [root@10.204.217.99] out: /etc/contrail/service.token 2015-05-19 12:25:21:816966: [root@10.204.217.99] out: 2015-05-19 12:25:21:817404: 2015-05-19 12:25:21:817691: [root@10.204.217.99] sudo: sudo cat /etc/contrail/service.token 2015-05-19 12:25:21:817902: [root@10.204.217.99] out: 228c309425f7df134ecc 2015-05-19 12:25:21:883659: [root@10.204.217.99] sudo: setup-vnc-openstack --self_ip 10.204.217.99 --keystone_ip 10.204.217.99 --keystone_admin_passwd contrail123 --cfgm_ip 10.204.217.99 --keystone_auth_protocol http --amqp_server_ip 10.204.217.99 --quantum_service_protocol http --service_token 228c309425f7df134ecc --openstack_index 1 --osapi_compute_workers 40 --conductor_workers 40 2015-05-19 12:25:21:883978: [root@10.204.217.99] out: [localhost] local: ln -sf /bin/true /sbin/chkconfig 2015-05-19 12:25:22:021222: [root@10.204.217.99] out: [localhost] local: sudo sed 's/SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config > config.new 2015-05-19 12:25:22:028678: [root@10.204.217.99] out: [localhost] local: sudo mv config.new /etc/selinux/config 2015-05-19 12:25:22:044316: [root@10.204.217.99] out: [localhost] local: setenforce 0 2015-05-19 12:25:22:045740: [root@10.204.217.99] out: /bin/sh: 1: setenforce: not found 2015-05-19 12:25:22:047050: [root@10.204.217.99] out: 2015-05-19 12:25:22:047185: [root@10.204.217.99] out: Warning: local() encountered an error (return code 127) while executing 'setenforce 0' 2015-05-19 12:25:22:047260: [root@10.204.217.99] out: 2015-05-19 12:25:22:047304: [root@10.204.217.99] out: [localhost] local: rm config.new 2015-05-19 12:25:22:047346: [root@10.204.217.99] out: rm: cannot remove ‘config.new’: No such file or directory 2015-05-19 12:25:22:050743: [root@10.204.217.99] out: 2015-05-19 12:25:22:050900: [root@10.204.217.99] out: Warning: local() encountered an error (return code 1) while executing 'rm config.new' 2015-05-19 12:25:22:050995: [root@10.204.217.99] out: 2015-05-19 12:25:22:051092: [root@10.204.217.99] out: [localhost] local: sudo chkconfig iptables off 2015-05-19 12:25:22:051180: [root@10.204.217.99] out: [localhost] local: sudo iptables --flush 2015-05-19 12:25:22:058886: [root@10.204.217.99] out: [localhost] local: sudo sed '/DAEMON_COREFILE_LIMIT=.*/d' /etc/sysconfig/init > /etc/sysconfig/init.new 2015-05-19 12:25:22:066514: [root@10.204.217.99] out: /bin/sh: 1: cannot create /etc/sysconfig/init.new: Directory nonexistent 2015-05-19 12:25:22:066660: [root@10.204.217.99] out: 2015-05-19 12:25:22:066969: [root@10.204.217.99] out: Warning: local() encountered an error (return code 2) while executing 'sudo sed '/DAEMON_COREFILE_LIMIT=.*/d' /etc/sysconfig/init > /etc/sysconfig/init.new' 2015-05-19 12:25:22:067036: [root@10.204.217.99] out: 2015-05-19 12:25:22:067096: [root@10.204.217.99] out: [localhost] local: sudo mv /etc/sysconfig/init.new /etc/sysconfig/init 2015-05-19 12:25:22:067384: [root@10.204.217.99] out: mv: cannot stat ‘/etc/sysconfig/init.new’: No such file or directory 2015-05-19 12:25:22:074792: [root@10.204.217.99] out: 2015-05-19 12:25:22:076236: [root@10.204.217.99] out: Warning: local() encountered an error (return code 1) while executing 'sudo mv /etc/sysconfig/init.new /etc/sysconfig/init' 2015-05-19 12:25:22:076395: [root@10.204.217.99] out: 2015-05-19 12:25:22:076494: [root@10.204.217.99] out: kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t 2015-05-19 12:25:22:076583: [root@10.204.217.99] out: [localhost] local: grep -q 'kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t' /etc/sysctl.conf || echo 'kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t' >> /etc/sysctl.conf 2015-05-19 12:25:22:076673: [root@10.204.217.99] out: [localhost] local: sudo sed 's/net.ipv4.ip_forward.*/net.ipv4.ip_forward = 1/g' /etc/sysctl.conf > /tmp/sysctl.new 2015-05-19 12:25:22:080348: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/sysctl.new /etc/sysctl.conf 2015-05-19 12:25:22:096056: [root@10.204.217.99] out: [localhost] local: rm /tmp/sysctl.new 2015-05-19 12:25:22:097351: [root@10.204.217.99] out: rm: cannot remove ‘/tmp/sysctl.new’: No such file or directory 2015-05-19 12:25:22:100783: [root@10.204.217.99] out: 2015-05-19 12:25:22:100937: [root@10.204.217.99] out: Warning: local() encountered an error (return code 1) while executing 'rm /tmp/sysctl.new' 2015-05-19 12:25:22:100997: [root@10.204.217.99] out: 2015-05-19 12:25:22:101054: [root@10.204.217.99] out: [localhost] local: sysctl -p 2015-05-19 12:25:22:101109: [root@10.204.217.99] out: fs.file-max = 65535 2015-05-19 12:25:22:102487: [root@10.204.217.99] out: kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t 2015-05-19 12:25:22:102639: [root@10.204.217.99] out: net.ipv4.ip_local_reserved_ports = 35357,35358,35357,35358,33306 2015-05-19 12:25:22:102733: [root@10.204.217.99] out: [localhost] local: mkdir -p /var/crashes 2015-05-19 12:25:22:102809: [root@10.204.217.99] out: [localhost] local: chmod 777 /var/crashes 2015-05-19 12:25:22:104361: [root@10.204.217.99] out: [localhost] local: sed -i 's/crashkernel=.*\([ | \"]\)/crashkernel=384M-2G:64M,2G-16G:128M,16G-:256M\1/g' /etc/default/grub.d/kexec-tools.cfg 2015-05-19 12:25:22:107795: [root@10.204.217.99] out: [localhost] local: [ -f /etc/default/kdump-tools ] && sed -i 's/USE_KDUMP=0/USE_KDUMP=1/' /etc/default/kdump-tools 2015-05-19 12:25:22:111267: [root@10.204.217.99] out: [localhost] local: update-grub 2015-05-19 12:25:22:114760: [root@10.204.217.99] out: Generating grub configuration file ... 2015-05-19 12:25:22:881036: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 4420: /usr/sbin/grub-probe 2015-05-19 12:25:23:613342: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 4420: /usr/sbin/grub-probe 2015-05-19 12:25:23:676954: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 4433: /usr/sbin/grub-probe 2015-05-19 12:25:23:708482: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 4433: /usr/sbin/grub-probe 2015-05-19 12:25:23:772108: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 4446: /usr/sbin/grub-probe 2015-05-19 12:25:23:804584: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 4446: /usr/sbin/grub-probe 2015-05-19 12:25:23:868188: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 4463: /usr/sbin/grub-probe 2015-05-19 12:25:23:969529: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 4463: /usr/sbin/grub-probe 2015-05-19 12:25:24:233337: [root@10.204.217.99] out: Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported. 2015-05-19 12:25:24:697368: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 4569: /usr/sbin/grub-probe 2015-05-19 12:25:24:728947: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 4569: /usr/sbin/grub-probe 2015-05-19 12:25:24:829245: [root@10.204.217.99] out: Found linux image: /boot/vmlinuz-3.13.0-40-generic 2015-05-19 12:25:24:993348: [root@10.204.217.99] out: Found initrd image: /boot/initrd.img-3.13.0-40-generic 2015-05-19 12:25:25:024903: [root@10.204.217.99] out: Found linux image: /boot/vmlinuz-3.13.0-24-generic 2015-05-19 12:25:25:726281: [root@10.204.217.99] out: Found initrd image: /boot/initrd.img-3.13.0-24-generic 2015-05-19 12:25:25:741756: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 4925: /usr/sbin/grub-probe 2015-05-19 12:25:25:905500: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 4925: /usr/sbin/grub-probe 2015-05-19 12:25:26:137286: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on lvs invocation. Parent PID 5024: /bin/sh 2015-05-19 12:25:26:437777: [root@10.204.217.99] out: done 2015-05-19 12:25:26:738288: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/rpc_backend = nova.openstack.common.rpc.impl_qpid/#rpc_backend = nova.openstack.common.rpc.impl_qpid/g' /etc/nova/nova.conf 2015-05-19 12:25:26:738415: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/rpc_backend = cinder.openstack.common.rpc.impl_qpid/#rpc_backend = cinder.openstack.common.rpc.impl_qpid/g' /etc/cinder/cinder.conf 2015-05-19 12:25:26:738468: [root@10.204.217.99] out: [localhost] local: sed -i -e "s/bind-address/#bind-address/" /etc/mysql/my.cnf 2015-05-19 12:25:26:738516: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/auth_host = /;auth_host = /' /etc/nova/api-paste.ini 2015-05-19 12:25:26:739796: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/auth_port = /;auth_port = /' /etc/nova/api-paste.ini 2015-05-19 12:25:26:755260: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/auth_protocol = /;auth_protocol = /' /etc/nova/api-paste.ini 2015-05-19 12:25:26:762676: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/admin_tenant_name = /;admin_tenant_name = /' /etc/nova/api-paste.ini 2015-05-19 12:25:26:778164: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/admin_user = /;admin_user = /' /etc/nova/api-paste.ini 2015-05-19 12:25:26:793616: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/admin_password = /;admin_password = /' /etc/nova/api-paste.ini 2015-05-19 12:25:26:796970: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/auth_host = /;auth_host = /' /etc/cinder/api-paste.ini 2015-05-19 12:25:26:812462: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/auth_port = /;auth_port = /' /etc/cinder/api-paste.ini 2015-05-19 12:25:26:815795: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/auth_protocol = /;auth_protocol = /' /etc/cinder/api-paste.ini 2015-05-19 12:25:26:823221: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/admin_tenant_name = /;admin_tenant_name = /' /etc/cinder/api-paste.ini 2015-05-19 12:25:26:838701: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/admin_user = /;admin_user = /' /etc/cinder/api-paste.ini 2015-05-19 12:25:26:846152: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/admin_password = /;admin_password = /' /etc/cinder/api-paste.ini 2015-05-19 12:25:26:861625: [root@10.204.217.99] out: [localhost] local: sudo echo SERVICE_TOKEN=228c309425f7df134ecc >> /tmp/tmpFii6Rv/ctrl-details 2015-05-19 12:25:26:864941: [root@10.204.217.99] out: [localhost] local: sudo echo AUTH_PROTOCOL=http >> /tmp/tmpFii6Rv/ctrl-details 2015-05-19 12:25:26:872341: [root@10.204.217.99] out: [localhost] local: sudo echo QUANTUM_PROTOCOL=http >> /tmp/tmpFii6Rv/ctrl-details 2015-05-19 12:25:26:879805: [root@10.204.217.99] out: [localhost] local: sudo echo ADMIN_TOKEN=contrail123 >> /tmp/tmpFii6Rv/ctrl-details 2015-05-19 12:25:26:887306: [root@10.204.217.99] out: [localhost] local: sudo echo CONTROLLER=10.204.217.99 >> /tmp/tmpFii6Rv/ctrl-details 2015-05-19 12:25:26:890673: [root@10.204.217.99] out: [localhost] local: sudo echo API_SERVER=10.204.217.99 >> /tmp/tmpFii6Rv/ctrl-details 2015-05-19 12:25:26:906132: [root@10.204.217.99] out: [localhost] local: sudo echo OSAPI_COMPUTE_WORKERS=40 >> /tmp/tmpFii6Rv/ctrl-details 2015-05-19 12:25:26:906228: [root@10.204.217.99] out: [localhost] local: sudo echo CONDUCTOR_WORKERS=40 >> /tmp/tmpFii6Rv/ctrl-details 2015-05-19 12:25:26:913765: [root@10.204.217.99] out: [localhost] local: sudo echo SELF_MGMT_IP=127.0.0.1 >> /tmp/tmpFii6Rv/ctrl-details 2015-05-19 12:25:26:917197: [root@10.204.217.99] out: [localhost] local: sudo echo AMQP_SERVER=10.204.217.99 >> /tmp/tmpFii6Rv/ctrl-details 2015-05-19 12:25:26:924578: [root@10.204.217.99] out: [localhost] local: sudo echo QUANTUM=10.204.217.99 >> /tmp/tmpFii6Rv/ctrl-details 2015-05-19 12:25:26:927913: [root@10.204.217.99] out: [localhost] local: sudo echo QUANTUM_PORT=9696 >> /tmp/tmpFii6Rv/ctrl-details 2015-05-19 12:25:26:943671: [root@10.204.217.99] out: [localhost] local: sudo echo OPENSTACK_INDEX=1 >> /tmp/tmpFii6Rv/ctrl-details 2015-05-19 12:25:26:943764: [root@10.204.217.99] out: [localhost] local: sudo cp /tmp/tmpFii6Rv/ctrl-details /etc/contrail/ctrl-details 2015-05-19 12:25:26:951175: [root@10.204.217.99] out: [localhost] local: sudo rm /tmp/tmpFii6Rv/ctrl-details 2015-05-19 12:25:26:966767: [root@10.204.217.99] out: [localhost] local: sudo keystone-server-setup.sh 2015-05-19 12:25:26:966860: [root@10.204.217.99] out: + '[' -f /etc/redhat-release ']' 2015-05-19 12:25:26:982299: [root@10.204.217.99] out: + '[' -f /etc/lsb-release ']' 2015-05-19 12:25:26:982401: [root@10.204.217.99] out: + egrep -q 'DISTRIB_ID.*Ubuntu' /etc/lsb-release 2015-05-19 12:25:26:982450: [root@10.204.217.99] out: + is_ubuntu=1 2015-05-19 12:25:26:982495: [root@10.204.217.99] out: + is_redhat=0 2015-05-19 12:25:26:982540: [root@10.204.217.99] out: + web_svc=apache2 2015-05-19 12:25:26:982583: [root@10.204.217.99] out: + mysql_svc=mysql 2015-05-19 12:25:26:982627: [root@10.204.217.99] out: ++ cat /proc/sys/net/ipv4/ip_local_reserved_ports 2015-05-19 12:25:26:983977: [root@10.204.217.99] out: + sysctl -w net.ipv4.ip_local_reserved_ports=35357,35358,33306,35357-35358 2015-05-19 12:25:26:985204: [root@10.204.217.99] out: net.ipv4.ip_local_reserved_ports = 35357,35358,33306,35357-35358 2015-05-19 12:25:26:985272: [root@10.204.217.99] out: + grep '^net.ipv4.ip_local_reserved_ports' /etc/sysctl.conf 2015-05-19 12:25:26:985319: [root@10.204.217.99] out: + '[' 0 -ne 0 ']' 2015-05-19 12:25:26:988636: [root@10.204.217.99] out: + sed -i 's/net.ipv4.ip_local_reserved_ports\s*=\s*/net.ipv4.ip_local_reserved_ports=35357,35358,/' /etc/sysctl.conf 2015-05-19 12:25:26:988737: [root@10.204.217.99] out: + chkconfig mysql 2015-05-19 12:25:26:992052: [root@10.204.217.99] out: + ret=0 2015-05-19 12:25:26:999449: [root@10.204.217.99] out: + '[' 0 -ne 0 ']' 2015-05-19 12:25:26:999555: [root@10.204.217.99] out: ++ service mysql status 2015-05-19 12:25:26:999604: [root@10.204.217.99] out: + mysql_status=' * MySQL is running (PID: 4088)' 2015-05-19 12:25:27:099896: [root@10.204.217.99] out: + [[ * MySQL is running (PID: 4088) != *running* ]] 2015-05-19 12:25:27:100011: [root@10.204.217.99] out: + '[' '!' -f /etc/contrail/mysql.token ']' 2015-05-19 12:25:27:100059: [root@10.204.217.99] out: ++ cat /etc/contrail/mysql.token 2015-05-19 12:25:27:100105: [root@10.204.217.99] out: + MYSQL_TOKEN=056ee09e88700d6ae8de 2015-05-19 12:25:27:100150: [root@10.204.217.99] out: + KEYSTONE_CONF=/etc/keystone/keystone.conf 2015-05-19 12:25:27:100193: [root@10.204.217.99] out: + source /etc/contrail/ctrl-details 2015-05-19 12:25:27:100236: [root@10.204.217.99] out: ++ SERVICE_TOKEN=228c309425f7df134ecc 2015-05-19 12:25:27:100279: [root@10.204.217.99] out: ++ AUTH_PROTOCOL=http 2015-05-19 12:25:27:100322: [root@10.204.217.99] out: ++ QUANTUM_PROTOCOL=http 2015-05-19 12:25:27:100367: [root@10.204.217.99] out: ++ ADMIN_TOKEN=contrail123 2015-05-19 12:25:27:100410: [root@10.204.217.99] out: ++ CONTROLLER=10.204.217.99 2015-05-19 12:25:27:100453: [root@10.204.217.99] out: ++ API_SERVER=10.204.217.99 2015-05-19 12:25:27:100496: [root@10.204.217.99] out: ++ OSAPI_COMPUTE_WORKERS=40 2015-05-19 12:25:27:100538: [root@10.204.217.99] out: ++ CONDUCTOR_WORKERS=40 2015-05-19 12:25:27:100581: [root@10.204.217.99] out: ++ SELF_MGMT_IP=127.0.0.1 2015-05-19 12:25:27:100624: [root@10.204.217.99] out: ++ AMQP_SERVER=10.204.217.99 2015-05-19 12:25:27:100666: [root@10.204.217.99] out: ++ QUANTUM=10.204.217.99 2015-05-19 12:25:27:100708: [root@10.204.217.99] out: ++ QUANTUM_PORT=9696 2015-05-19 12:25:27:100751: [root@10.204.217.99] out: ++ OPENSTACK_INDEX=1 2015-05-19 12:25:27:100794: [root@10.204.217.99] out: + ADMIN_PASSWORD=contrail123 2015-05-19 12:25:27:100836: [root@10.204.217.99] out: + SERVICE_PASSWORD=contrail123 2015-05-19 12:25:27:100879: [root@10.204.217.99] out: + SERVICE_TOKEN=228c309425f7df134ecc 2015-05-19 12:25:27:100921: [root@10.204.217.99] out: + openstack-config --set /etc/keystone/keystone.conf DEFAULT admin_token 228c309425f7df134ecc 2015-05-19 12:25:27:100964: [root@10.204.217.99] out: + service supervisor-openstack status 2015-05-19 12:25:27:117308: [root@10.204.217.99] out: + service supervisor-openstack stop 2015-05-19 12:25:27:124946: [root@10.204.217.99] out: supervisor-openstack stop/waiting 2015-05-19 12:25:51:057433: [root@10.204.217.99] out: ++ service supervisor-openstack status 2015-05-19 12:25:51:057604: [root@10.204.217.99] out: ++ grep -s -i running 2015-05-19 12:25:51:057691: [root@10.204.217.99] out: ++ echo stopped 2015-05-19 12:25:51:057774: [root@10.204.217.99] out: + status=stopped 2015-05-19 12:25:51:057852: [root@10.204.217.99] out: + '[' stopped == stopped ']' 2015-05-19 12:25:51:057929: [root@10.204.217.99] out: + service supervisor-openstack start 2015-05-19 12:25:51:058005: [root@10.204.217.99] out: supervisor-openstack start/running, process 5344 2015-05-19 12:25:51:058079: [root@10.204.217.99] out: + sleep 5 2015-05-19 12:25:51:058153: [root@10.204.217.99] out: + supervisorctl -s unix:///tmp/supervisord_openstack.sock stop all 2015-05-19 12:25:56:063788: [root@10.204.217.99] out: nova-novncproxy: stopped 2015-05-19 12:26:22:430133: [root@10.204.217.99] out: nova-api: stopped 2015-05-19 12:26:22:430364: [root@10.204.217.99] out: nova-conductor: stopped 2015-05-19 12:26:22:430458: [root@10.204.217.99] out: glance-api: stopped 2015-05-19 12:26:22:430532: [root@10.204.217.99] out: cinder-api: stopped 2015-05-19 12:26:22:430622: [root@10.204.217.99] out: nova-consoleauth: stopped 2015-05-19 12:26:22:430696: [root@10.204.217.99] out: nova-objectstore: stopped 2015-05-19 12:26:22:430769: [root@10.204.217.99] out: keystone: stopped 2015-05-19 12:26:22:430823: [root@10.204.217.99] out: nova-console: stopped 2015-05-19 12:26:22:430880: [root@10.204.217.99] out: heat-api-cfn: stopped 2015-05-19 12:26:22:430937: [root@10.204.217.99] out: nova-scheduler: stopped 2015-05-19 12:26:22:430994: [root@10.204.217.99] out: heat-engine: stopped 2015-05-19 12:26:22:431050: [root@10.204.217.99] out: glance-registry: stopped 2015-05-19 12:26:22:431107: [root@10.204.217.99] out: heat-api: stopped 2015-05-19 12:26:22:431164: [root@10.204.217.99] out: cinder-scheduler: stopped 2015-05-19 12:26:22:431221: [root@10.204.217.99] out: + service keystone restart 2015-05-19 12:26:22:434912: [root@10.204.217.99] out: keystone: ERROR (not running) 2015-05-19 12:26:22:535213: [root@10.204.217.99] out: keystone: started 2015-05-19 12:26:23:900673: [root@10.204.217.99] out: + chkconfig supervisor-openstack on 2015-05-19 12:26:23:900859: [root@10.204.217.99] out: + '[' '!' -d /etc/keystone/ssl ']' 2015-05-19 12:26:23:900957: [root@10.204.217.99] out: + '[' -d /var/log/keystone ']' 2015-05-19 12:26:23:901049: [root@10.204.217.99] out: + chown -R keystone:keystone /var/log/keystone 2015-05-19 12:26:23:901139: [root@10.204.217.99] out: + OPENSTACK_INDEX=1 2015-05-19 12:26:23:901229: [root@10.204.217.99] out: + INTERNAL_VIP=none 2015-05-19 12:26:23:901321: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:26:23:901411: [root@10.204.217.99] out: + export SERVICE_ENDPOINT=http://10.204.217.99:35357/v2.0 2015-05-19 12:26:23:901524: [root@10.204.217.99] out: + SERVICE_ENDPOINT=http://10.204.217.99:35357/v2.0 2015-05-19 12:26:23:901628: [root@10.204.217.99] out: + controller_ip=10.204.217.99 2015-05-19 12:26:23:902019: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:26:23:902151: [root@10.204.217.99] out: + cat 2015-05-19 12:26:23:902269: [root@10.204.217.99] out: + cat 2015-05-19 12:26:23:902385: [root@10.204.217.99] out: + export ADMIN_PASSWORD 2015-05-19 12:26:23:903430: [root@10.204.217.99] out: + export SERVICE_PASSWORD 2015-05-19 12:26:23:903579: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:26:23:903695: [root@10.204.217.99] out: + openstack-config --set /etc/keystone/keystone.conf sql connection mysql://keystone:keystone@127.0.0.1/keystone 2015-05-19 12:26:23:903814: [root@10.204.217.99] out: + for APP in keystone 2015-05-19 12:26:23:935614: [root@10.204.217.99] out: + '[' 1 -eq 1 ']' 2015-05-19 12:26:23:935803: [root@10.204.217.99] out: + openstack-db -y --init --service keystone --rootpw 056ee09e88700d6ae8de 2015-05-19 12:26:23:936169: [root@10.204.217.99] out: + systemctl --version 2015-05-19 12:26:23:936507: [root@10.204.217.99] out: + '[' -f /etc/redhat-release ']' 2015-05-19 12:26:23:936696: [root@10.204.217.99] out: + '[' -f /etc/lsb-release ']' 2015-05-19 12:26:23:936742: [root@10.204.217.99] out: + egrep -q 'DISTRIB_ID.*Ubuntu' /etc/lsb-release 2015-05-19 12:26:23:936784: [root@10.204.217.99] out: + is_ubuntu=1 2015-05-19 12:26:23:938170: [root@10.204.217.99] out: + is_redhat=0 2015-05-19 12:26:23:938261: [root@10.204.217.99] out: + web_svc=apache2 2015-05-19 12:26:23:938458: [root@10.204.217.99] out: + mysql_svc=mysql 2015-05-19 12:26:23:938671: [root@10.204.217.99] out: + mysql_pkg_chk='expr 1' 2015-05-19 12:26:23:938732: [root@10.204.217.99] out: + dbmanage_cmd='"$APP-manage $db_sync"' 2015-05-19 12:26:23:938790: [root@10.204.217.99] out: + '[' 6 -gt 0 ']' 2015-05-19 12:26:23:938846: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:26:23:938917: [root@10.204.217.99] out: + ASSUME_YES=yes 2015-05-19 12:26:23:939031: [root@10.204.217.99] out: + shift 2015-05-19 12:26:23:939145: [root@10.204.217.99] out: + '[' 5 -gt 0 ']' 2015-05-19 12:26:23:939292: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:26:23:939381: [root@10.204.217.99] out: + MODE=init 2015-05-19 12:26:23:939471: [root@10.204.217.99] out: + shift 2015-05-19 12:26:23:939592: [root@10.204.217.99] out: + '[' 4 -gt 0 ']' 2015-05-19 12:26:23:939669: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:26:23:939725: [root@10.204.217.99] out: + shift 2015-05-19 12:26:23:939780: [root@10.204.217.99] out: + APP=keystone 2015-05-19 12:26:23:939835: [root@10.204.217.99] out: + shift 2015-05-19 12:26:23:939909: [root@10.204.217.99] out: + '[' 2 -gt 0 ']' 2015-05-19 12:26:23:940022: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:26:23:940137: [root@10.204.217.99] out: + shift 2015-05-19 12:26:23:940258: [root@10.204.217.99] out: + MYSQL_ROOT_PW=056ee09e88700d6ae8de 2015-05-19 12:26:23:940314: [root@10.204.217.99] out: + shift 2015-05-19 12:26:23:940370: [root@10.204.217.99] out: + '[' 0 -gt 0 ']' 2015-05-19 12:26:23:940425: [root@10.204.217.99] out: + '[' '!' init ']' 2015-05-19 12:26:23:940509: [root@10.204.217.99] out: + '[' '!' keystone ']' 2015-05-19 12:26:23:940625: [root@10.204.217.99] out: + case "$APP" in 2015-05-19 12:26:23:940741: [root@10.204.217.99] out: + MYSQL_APP_PW_DEFAULT=keystone 2015-05-19 12:26:23:940855: [root@10.204.217.99] out: + : keystone 2015-05-19 12:26:23:940969: [root@10.204.217.99] out: + '[' keystone = glance ']' 2015-05-19 12:26:23:941084: [root@10.204.217.99] out: + APP_CONFIG=/etc/keystone/keystone.conf 2015-05-19 12:26:23:941199: [root@10.204.217.99] out: + NEW_MYSQL_INSTALL=0 2015-05-19 12:26:23:941313: [root@10.204.217.99] out: + expr 1 2015-05-19 12:26:23:943264: [root@10.204.217.99] out: 1 2015-05-19 12:26:23:943403: [root@10.204.217.99] out: + service_running mysql 2015-05-19 12:26:23:943518: [root@10.204.217.99] out: + test '' 2015-05-19 12:26:23:943633: [root@10.204.217.99] out: + service mysql status 2015-05-19 12:26:23:943749: [root@10.204.217.99] out: + '[' 0 -eq 1 ']' 2015-05-19 12:26:23:975663: [root@10.204.217.99] out: + '[' '!' defined ']' 2015-05-19 12:26:23:975854: [root@10.204.217.99] out: + MYSQL_ROOT_PW_ARG= 2015-05-19 12:26:23:975951: [root@10.204.217.99] out: + '[' defined ']' 2015-05-19 12:26:23:976042: [root@10.204.217.99] out: + MYSQL_ROOT_PW_ARG=--password=056ee09e88700d6ae8de 2015-05-19 12:26:23:976131: [root@10.204.217.99] out: + echo 'SELECT 1;' 2015-05-19 12:26:23:976225: [root@10.204.217.99] out: + mysql -u root --password=056ee09e88700d6ae8de 2015-05-19 12:26:23:976282: [root@10.204.217.99] out: + echo 'Verified connectivity to MySQL.' 2015-05-19 12:26:23:984103: [root@10.204.217.99] out: Verified connectivity to MySQL. 2015-05-19 12:26:23:984209: [root@10.204.217.99] out: + '[' init = init ']' 2015-05-19 12:26:23:984269: [root@10.204.217.99] out: ++ echo 'SELECT COUNT(*) FROM INFORMATION_SCHEMA.SCHEMATA WHERE SCHEMA_NAME='\''keystone'\'';' 2015-05-19 12:26:23:984326: [root@10.204.217.99] out: ++ mysql -u root --password=056ee09e88700d6ae8de 2015-05-19 12:26:23:984394: [root@10.204.217.99] out: ++ tail -n+2 2015-05-19 12:26:23:984452: [root@10.204.217.99] out: + dbs=1 2015-05-19 12:26:23:987959: [root@10.204.217.99] out: + '[' 1 '!=' 0 ']' 2015-05-19 12:26:23:988065: [root@10.204.217.99] out: + echo 'Database '\''keystone'\'' already exists. Please consider first running:' 2015-05-19 12:26:23:988127: [root@10.204.217.99] out: Database 'keystone' already exists. Please consider first running: 2015-05-19 12:26:23:988185: [root@10.204.217.99] out: + echo '/usr/bin/openstack-db --drop --service keystone' 2015-05-19 12:26:23:988242: [root@10.204.217.99] out: /usr/bin/openstack-db --drop --service keystone 2015-05-19 12:26:23:988299: [root@10.204.217.99] out: + exit 1 2015-05-19 12:26:23:988354: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:26:23:988411: [root@10.204.217.99] out: + source /etc/contrail/keystonerc 2015-05-19 12:26:23:988491: [root@10.204.217.99] out: ++ export OS_USERNAME=admin 2015-05-19 12:26:23:988583: [root@10.204.217.99] out: ++ OS_USERNAME=admin 2015-05-19 12:26:23:988664: [root@10.204.217.99] out: ++ export SERVICE_TOKEN=228c309425f7df134ecc 2015-05-19 12:26:23:988747: [root@10.204.217.99] out: ++ SERVICE_TOKEN=228c309425f7df134ecc 2015-05-19 12:26:23:988828: [root@10.204.217.99] out: ++ export OS_SERVICE_ENDPOINT=http://10.204.217.99:35357/v2.0 2015-05-19 12:26:23:988910: [root@10.204.217.99] out: ++ OS_SERVICE_ENDPOINT=http://10.204.217.99:35357/v2.0 2015-05-19 12:26:23:988991: [root@10.204.217.99] out: + bash contrail-keystone-setup.sh 10.204.217.99 2015-05-19 12:26:23:989073: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:26:24:190298: [root@10.204.217.99] out: 2015-05-19 12:26:24:253910: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:26:30:661645: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:26:31:162686: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:26:31:666765: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:26:32:267798: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:26:32:800080: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:26:33:316188: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:26:33:832306: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:26:34:340403: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:26:35:942607: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:26:36:406856: [root@10.204.217.99] out: +-------------+----------------------------------------------------------+ 2015-05-19 12:26:36:707652: [root@10.204.217.99] out: | Property | Value | 2015-05-19 12:26:36:707900: [root@10.204.217.99] out: +-------------+----------------------------------------------------------+ 2015-05-19 12:26:36:708029: [root@10.204.217.99] out: | adminurl | http://10.204.217.99:$(compute_port)s/v1.1/$(tenant_id)s | 2015-05-19 12:26:36:708131: [root@10.204.217.99] out: | id | c1ff2923766046e3a8d5c18a6d4b4cb0 | 2015-05-19 12:26:36:708252: [root@10.204.217.99] out: | internalurl | http://10.204.217.99:$(compute_port)s/v1.1/$(tenant_id)s | 2015-05-19 12:26:36:708389: [root@10.204.217.99] out: | publicurl | http://10.204.217.99:$(compute_port)s/v1.1/$(tenant_id)s | 2015-05-19 12:26:36:708507: [root@10.204.217.99] out: | region | RegionOne | 2015-05-19 12:26:36:708624: [root@10.204.217.99] out: | service_id | f9601ca6986444898008e04e40feac13 | 2015-05-19 12:26:36:708741: [root@10.204.217.99] out: +-------------+----------------------------------------------------------+ 2015-05-19 12:26:36:708857: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:26:37:525986: [root@10.204.217.99] out: +-------------+--------------------------------------+ 2015-05-19 12:26:37:726658: [root@10.204.217.99] out: | Property | Value | 2015-05-19 12:26:37:726871: [root@10.204.217.99] out: +-------------+--------------------------------------+ 2015-05-19 12:26:37:726967: [root@10.204.217.99] out: | adminurl | http://localhost:8773/services/Admin | 2015-05-19 12:26:37:727057: [root@10.204.217.99] out: | id | c5836d52ea1b44a3b2335afe5925cefa | 2015-05-19 12:26:37:727145: [root@10.204.217.99] out: | internalurl | http://localhost:8773/services/Cloud | 2015-05-19 12:26:37:727234: [root@10.204.217.99] out: | publicurl | http://localhost:8773/services/Cloud | 2015-05-19 12:26:37:727322: [root@10.204.217.99] out: | region | RegionOne | 2015-05-19 12:26:37:727410: [root@10.204.217.99] out: | service_id | 627883e6fb9548c0a71f8e657f590e84 | 2015-05-19 12:26:37:727497: [root@10.204.217.99] out: +-------------+--------------------------------------+ 2015-05-19 12:26:37:727585: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:26:39:130031: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:26:39:594337: [root@10.204.217.99] out: +-------------+----------------------------------+ 2015-05-19 12:26:39:794817: [root@10.204.217.99] out: | Property | Value | 2015-05-19 12:26:39:795034: [root@10.204.217.99] out: +-------------+----------------------------------+ 2015-05-19 12:26:39:795082: [root@10.204.217.99] out: | adminurl | http://10.204.217.99:9292/v1 | 2015-05-19 12:26:39:795134: [root@10.204.217.99] out: | id | 98ef7f989ea24faca282f83fad9dc1d1 | 2015-05-19 12:26:39:795176: [root@10.204.217.99] out: | internalurl | http://10.204.217.99:9292/v1 | 2015-05-19 12:26:39:795244: [root@10.204.217.99] out: | publicurl | http://10.204.217.99:9292/v1 | 2015-05-19 12:26:39:795332: [root@10.204.217.99] out: | region | RegionOne | 2015-05-19 12:26:39:795418: [root@10.204.217.99] out: | service_id | 667ecefb0812441ba127c43ae36e09ca | 2015-05-19 12:26:39:795505: [root@10.204.217.99] out: +-------------+----------------------------------+ 2015-05-19 12:26:39:795592: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:26:40:660796: [root@10.204.217.99] out: +-------------+-------------------------------------------+ 2015-05-19 12:26:40:861421: [root@10.204.217.99] out: | Property | Value | 2015-05-19 12:26:40:861551: [root@10.204.217.99] out: +-------------+-------------------------------------------+ 2015-05-19 12:26:40:861606: [root@10.204.217.99] out: | adminurl | http://10.204.217.99:$(admin_port)s/v2.0 | 2015-05-19 12:26:40:861657: [root@10.204.217.99] out: | id | e1198a29e55840f6b31fa0b5e77942e6 | 2015-05-19 12:26:40:861708: [root@10.204.217.99] out: | internalurl | http://10.204.217.99:$(admin_port)s/v2.0 | 2015-05-19 12:26:40:861787: [root@10.204.217.99] out: | publicurl | http://10.204.217.99:$(public_port)s/v2.0 | 2015-05-19 12:26:40:861854: [root@10.204.217.99] out: | region | RegionOne | 2015-05-19 12:26:40:861905: [root@10.204.217.99] out: | service_id | 3b431179bf7848938ffa0e8912a10a82 | 2015-05-19 12:26:40:861955: [root@10.204.217.99] out: +-------------+-------------------------------------------+ 2015-05-19 12:26:40:862004: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:26:42:264162: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:26:42:764986: [root@10.204.217.99] out: +-------------+--------------------------------------------+ 2015-05-19 12:26:42:965593: [root@10.204.217.99] out: | Property | Value | 2015-05-19 12:26:42:965693: [root@10.204.217.99] out: +-------------+--------------------------------------------+ 2015-05-19 12:26:42:965737: [root@10.204.217.99] out: | adminurl | http://10.204.217.99:8776/v1/$(tenant_id)s | 2015-05-19 12:26:42:965777: [root@10.204.217.99] out: | id | d3bec9010f5f45e7b6370205ac926234 | 2015-05-19 12:26:42:965818: [root@10.204.217.99] out: | internalurl | http://10.204.217.99:8776/v1/$(tenant_id)s | 2015-05-19 12:26:42:965859: [root@10.204.217.99] out: | publicurl | http://10.204.217.99:8776/v1/$(tenant_id)s | 2015-05-19 12:26:42:965899: [root@10.204.217.99] out: | region | RegionOne | 2015-05-19 12:26:42:965939: [root@10.204.217.99] out: | service_id | d780c95c628949e5ae03feec26aa03e9 | 2015-05-19 12:26:42:965979: [root@10.204.217.99] out: +-------------+--------------------------------------------+ 2015-05-19 12:26:42:966019: [root@10.204.217.99] out: 530d7e3b4c534d38bb90432c6571d7ba 2015-05-19 12:26:43:867459: [root@10.204.217.99] out: 1059c11f831f400d96c352ca1fc8a7c7 2015-05-19 12:26:44:331672: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:26:45:796810: [root@10.204.217.99] out: WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored). 2015-05-19 12:26:46:397740: [root@10.204.217.99] out: +-------------+--------------------------------------------+ 2015-05-19 12:26:46:598278: [root@10.204.217.99] out: | Property | Value | 2015-05-19 12:26:46:598492: [root@10.204.217.99] out: +-------------+--------------------------------------------+ 2015-05-19 12:26:46:598587: [root@10.204.217.99] out: | adminurl | http://10.204.217.99:8004/v1/%(tenant_id)s | 2015-05-19 12:26:46:598677: [root@10.204.217.99] out: | id | 07fbbe91d0cf42698ce4c18dd06714e1 | 2015-05-19 12:26:46:598766: [root@10.204.217.99] out: | internalurl | http://10.204.217.99:8004/v1/%(tenant_id)s | 2015-05-19 12:26:46:598854: [root@10.204.217.99] out: | publicurl | http://10.204.217.99:8004/v1/%(tenant_id)s | 2015-05-19 12:26:46:598942: [root@10.204.217.99] out: | region | RegionOne | 2015-05-19 12:26:46:599030: [root@10.204.217.99] out: | service_id | 0838d406dff8451ba644965f431f0b5b | 2015-05-19 12:26:46:599118: [root@10.204.217.99] out: +-------------+--------------------------------------------+ 2015-05-19 12:26:46:599206: [root@10.204.217.99] out: + '[' 0 '!=' 0 ']' 2015-05-19 12:26:47:132094: [root@10.204.217.99] out: + tries=0 2015-05-19 12:26:47:132277: [root@10.204.217.99] out: + '[' 0 -lt 10 ']' 2015-05-19 12:26:47:132373: [root@10.204.217.99] out: ++ source /etc/contrail/keystonerc 2015-05-19 12:26:47:132463: [root@10.204.217.99] out: +++ export OS_USERNAME=admin 2015-05-19 12:26:47:132551: [root@10.204.217.99] out: +++ OS_USERNAME=admin 2015-05-19 12:26:47:132648: [root@10.204.217.99] out: +++ export SERVICE_TOKEN=228c309425f7df134ecc 2015-05-19 12:26:47:132755: [root@10.204.217.99] out: +++ SERVICE_TOKEN=228c309425f7df134ecc 2015-05-19 12:26:47:132843: [root@10.204.217.99] out: +++ export OS_SERVICE_ENDPOINT=http://10.204.217.99:35357/v2.0 2015-05-19 12:26:47:132929: [root@10.204.217.99] out: +++ OS_SERVICE_ENDPOINT=http://10.204.217.99:35357/v2.0 2015-05-19 12:26:47:133017: [root@10.204.217.99] out: ++ keystone user-list 2015-05-19 12:26:47:133105: [root@10.204.217.99] out: + '[' 0 -eq 0 ']' 2015-05-19 12:26:47:334070: [root@10.204.217.99] out: + break 2015-05-19 12:26:47:334184: [root@10.204.217.99] out: + for svc in keystone 2015-05-19 12:26:47:334236: [root@10.204.217.99] out: + openstack-config --del /etc/keystone/keystone.conf database connection 2015-05-19 12:26:47:334286: [root@10.204.217.99] out: + openstack-config --set /etc/keystone/keystone.conf keystone_authtoken admin_tenant_name service 2015-05-19 12:26:47:365853: [root@10.204.217.99] out: + openstack-config --set /etc/keystone/keystone.conf keystone_authtoken admin_user keystone 2015-05-19 12:26:47:381312: [root@10.204.217.99] out: + openstack-config --set /etc/keystone/keystone.conf keystone_authtoken admin_password contrail123 2015-05-19 12:26:47:412824: [root@10.204.217.99] out: + openstack-config --set /etc/keystone/keystone.conf DEFAULT log_file /var/log/keystone/keystone.log 2015-05-19 12:26:47:444348: [root@10.204.217.99] out: + openstack-config --set /etc/keystone/keystone.conf sql connection mysql://keystone:keystone@127.0.0.1/keystone 2015-05-19 12:26:47:459856: [root@10.204.217.99] out: + openstack-config --set /etc/keystone/keystone.conf catalog template_file /etc/keystone/default_catalog.templates 2015-05-19 12:26:47:491436: [root@10.204.217.99] out: + openstack-config --set /etc/keystone/keystone.conf catalog driver keystone.catalog.backends.sql.Catalog 2015-05-19 12:26:47:506889: [root@10.204.217.99] out: + openstack-config --set /etc/keystone/keystone.conf identity driver keystone.identity.backends.sql.Identity 2015-05-19 12:26:47:538401: [root@10.204.217.99] out: + openstack-config --set /etc/keystone/keystone.conf token driver keystone.token.backends.memcache.Token 2015-05-19 12:26:47:553847: [root@10.204.217.99] out: + openstack-config --set /etc/keystone/keystone.conf ec2 driver keystone.contrib.ec2.backends.sql.Ec2 2015-05-19 12:26:47:585363: [root@10.204.217.99] out: + openstack-config --set /etc/keystone/keystone.conf DEFAULT onready keystone.common.systemd 2015-05-19 12:26:47:616906: [root@10.204.217.99] out: + openstack-config --set /etc/keystone/keystone.conf memcache servers 127.0.0.1:11211 2015-05-19 12:26:47:632371: [root@10.204.217.99] out: + '[' 1 -eq 1 ']' 2015-05-19 12:26:47:663936: [root@10.204.217.99] out: + keystone-manage db_sync 2015-05-19 12:26:47:664066: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:26:48:028221: [root@10.204.217.99] out: + item_size_max=10m 2015-05-19 12:26:48:028322: [root@10.204.217.99] out: + '[' 1 -eq 1 ']' 2015-05-19 12:26:48:028366: [root@10.204.217.99] out: + memcache_conf=/etc/memcached.conf 2015-05-19 12:26:48:028407: [root@10.204.217.99] out: ++ grep '\-I ' /etc/memcached.conf 2015-05-19 12:26:48:028448: [root@10.204.217.99] out: + opts='-I 10m' 2015-05-19 12:26:48:028488: [root@10.204.217.99] out: + '[' 0 -ne 0 ']' 2015-05-19 12:26:48:028528: [root@10.204.217.99] out: + '[' '!' -f /usr/bin/nodejs ']' 2015-05-19 12:26:48:028568: [root@10.204.217.99] out: + echo '======= Enabling the keystone services ======' 2015-05-19 12:26:48:028608: [root@10.204.217.99] out: ======= Enabling the keystone services ====== 2015-05-19 12:26:48:028649: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:26:48:028689: [root@10.204.217.99] out: + chkconfig apache2 on 2015-05-19 12:26:48:028729: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:26:48:028770: [root@10.204.217.99] out: + chkconfig memcached on 2015-05-19 12:26:48:028820: [root@10.204.217.99] out: + echo '======= Starting the services ======' 2015-05-19 12:26:48:028861: [root@10.204.217.99] out: ======= Starting the services ====== 2015-05-19 12:26:48:028920: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:26:48:028960: [root@10.204.217.99] out: + service apache2 restart 2015-05-19 12:26:48:029000: [root@10.204.217.99] out: * Restarting web server apache2 2015-05-19 12:26:48:029039: [root@10.204.217.99] out: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message 2015-05-19 12:26:49:194869: [root@10.204.217.99] out: ...done. 2015-05-19 12:26:50:196442: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:26:50:196669: [root@10.204.217.99] out: + service memcached restart 2015-05-19 12:26:50:196860: [root@10.204.217.99] out: Restarting memcached: memcached. 2015-05-19 12:26:50:264143: [root@10.204.217.99] out: + service keystone restart 2015-05-19 12:26:50:264274: [root@10.204.217.99] out: keystone: stopped 2015-05-19 12:26:51:329394: [root@10.204.217.99] out: keystone: started 2015-05-19 12:26:52:731565: [root@10.204.217.99] out: [localhost] local: sudo glance-server-setup.sh 2015-05-19 12:26:52:731749: [root@10.204.217.99] out: + '[' -f /etc/redhat-release ']' 2015-05-19 12:26:52:731844: [root@10.204.217.99] out: + '[' -f /etc/lsb-release ']' 2015-05-19 12:26:52:731934: [root@10.204.217.99] out: + egrep -q 'DISTRIB_ID.*Ubuntu' /etc/lsb-release 2015-05-19 12:26:52:732021: [root@10.204.217.99] out: + is_ubuntu=1 2015-05-19 12:26:52:732108: [root@10.204.217.99] out: + is_redhat=0 2015-05-19 12:26:52:732197: [root@10.204.217.99] out: + web_svc=apache2 2015-05-19 12:26:52:732284: [root@10.204.217.99] out: + mysql_svc=mysql 2015-05-19 12:26:52:732371: [root@10.204.217.99] out: + chkconfig mysql 2015-05-19 12:26:52:732458: [root@10.204.217.99] out: + ret=0 2015-05-19 12:26:52:732544: [root@10.204.217.99] out: + '[' 0 -ne 0 ']' 2015-05-19 12:26:52:732633: [root@10.204.217.99] out: ++ service mysql status 2015-05-19 12:26:52:732720: [root@10.204.217.99] out: + mysql_status=' * MySQL is running (PID: 4088)' 2015-05-19 12:26:52:765070: [root@10.204.217.99] out: + [[ * MySQL is running (PID: 4088) != *running* ]] 2015-05-19 12:26:52:765643: [root@10.204.217.99] out: + '[' '!' -f /etc/contrail/mysql.token ']' 2015-05-19 12:26:52:766008: [root@10.204.217.99] out: ++ cat /etc/contrail/mysql.token 2015-05-19 12:26:52:766272: [root@10.204.217.99] out: + MYSQL_TOKEN=056ee09e88700d6ae8de 2015-05-19 12:26:52:766604: [root@10.204.217.99] out: + source /etc/contrail/ctrl-details 2015-05-19 12:26:52:766873: [root@10.204.217.99] out: ++ SERVICE_TOKEN=228c309425f7df134ecc 2015-05-19 12:26:52:767423: [root@10.204.217.99] out: ++ AUTH_PROTOCOL=http 2015-05-19 12:26:52:767710: [root@10.204.217.99] out: ++ QUANTUM_PROTOCOL=http 2015-05-19 12:26:52:767912: [root@10.204.217.99] out: ++ ADMIN_TOKEN=contrail123 2015-05-19 12:26:52:768104: [root@10.204.217.99] out: ++ CONTROLLER=10.204.217.99 2015-05-19 12:26:52:768245: [root@10.204.217.99] out: ++ API_SERVER=10.204.217.99 2015-05-19 12:26:52:768313: [root@10.204.217.99] out: ++ OSAPI_COMPUTE_WORKERS=40 2015-05-19 12:26:52:768380: [root@10.204.217.99] out: ++ CONDUCTOR_WORKERS=40 2015-05-19 12:26:52:768445: [root@10.204.217.99] out: ++ SELF_MGMT_IP=127.0.0.1 2015-05-19 12:26:52:768512: [root@10.204.217.99] out: ++ AMQP_SERVER=10.204.217.99 2015-05-19 12:26:52:768578: [root@10.204.217.99] out: ++ QUANTUM=10.204.217.99 2015-05-19 12:26:52:768644: [root@10.204.217.99] out: ++ QUANTUM_PORT=9696 2015-05-19 12:26:52:768710: [root@10.204.217.99] out: ++ OPENSTACK_INDEX=1 2015-05-19 12:26:52:768777: [root@10.204.217.99] out: + ADMIN_TOKEN=contrail123 2015-05-19 12:26:52:768843: [root@10.204.217.99] out: + SERVICE_TOKEN=228c309425f7df134ecc 2015-05-19 12:26:52:768909: [root@10.204.217.99] out: + OPENSTACK_INDEX=1 2015-05-19 12:26:52:768975: [root@10.204.217.99] out: + INTERNAL_VIP=none 2015-05-19 12:26:52:769041: [root@10.204.217.99] out: + AMQP_PORT=5672 2015-05-19 12:26:52:769767: [root@10.204.217.99] out: + '[' '' == 10.204.217.99 ']' 2015-05-19 12:26:52:769876: [root@10.204.217.99] out: + '[' none == 10.204.217.99 ']' 2015-05-19 12:26:52:769957: [root@10.204.217.99] out: + controller_ip=10.204.217.99 2015-05-19 12:26:52:770037: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:26:52:770116: [root@10.204.217.99] out: + cat 2015-05-19 12:26:52:770196: [root@10.204.217.99] out: + for cfg in api registry 2015-05-19 12:26:52:770275: [root@10.204.217.99] out: + '[' 1 -eq 1 ']' 2015-05-19 12:26:52:770354: [root@10.204.217.99] out: + openstack-config --set /etc/glance/glance-api.conf DEFAULT sql_connection sqlite:////var/lib/glance/glance.sqlite 2015-05-19 12:26:52:770434: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:26:52:802279: [root@10.204.217.99] out: + for cfg in api registry 2015-05-19 12:26:52:802444: [root@10.204.217.99] out: + '[' 1 -eq 1 ']' 2015-05-19 12:26:52:802528: [root@10.204.217.99] out: + openstack-config --set /etc/glance/glance-registry.conf DEFAULT sql_connection sqlite:////var/lib/glance/glance.sqlite 2015-05-19 12:26:52:802613: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:26:52:818250: [root@10.204.217.99] out: + for APP in glance 2015-05-19 12:26:52:818446: [root@10.204.217.99] out: + '[' 1 -eq 1 ']' 2015-05-19 12:26:52:818564: [root@10.204.217.99] out: + openstack-db -y --init --service glance --rootpw 056ee09e88700d6ae8de 2015-05-19 12:26:52:818685: [root@10.204.217.99] out: + systemctl --version 2015-05-19 12:26:52:818803: [root@10.204.217.99] out: + '[' -f /etc/redhat-release ']' 2015-05-19 12:26:52:818920: [root@10.204.217.99] out: + '[' -f /etc/lsb-release ']' 2015-05-19 12:26:52:819018: [root@10.204.217.99] out: + egrep -q 'DISTRIB_ID.*Ubuntu' /etc/lsb-release 2015-05-19 12:26:52:819123: [root@10.204.217.99] out: + is_ubuntu=1 2015-05-19 12:26:52:819239: [root@10.204.217.99] out: + is_redhat=0 2015-05-19 12:26:52:819346: [root@10.204.217.99] out: + web_svc=apache2 2015-05-19 12:26:52:819403: [root@10.204.217.99] out: + mysql_svc=mysql 2015-05-19 12:26:52:819460: [root@10.204.217.99] out: + mysql_pkg_chk='expr 1' 2015-05-19 12:26:52:819516: [root@10.204.217.99] out: + dbmanage_cmd='"$APP-manage $db_sync"' 2015-05-19 12:26:52:819572: [root@10.204.217.99] out: + '[' 6 -gt 0 ']' 2015-05-19 12:26:52:819650: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:26:52:819766: [root@10.204.217.99] out: + ASSUME_YES=yes 2015-05-19 12:26:52:819863: [root@10.204.217.99] out: + shift 2015-05-19 12:26:52:819976: [root@10.204.217.99] out: + '[' 5 -gt 0 ']' 2015-05-19 12:26:52:820097: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:26:52:820153: [root@10.204.217.99] out: + MODE=init 2015-05-19 12:26:52:820210: [root@10.204.217.99] out: + shift 2015-05-19 12:26:52:820299: [root@10.204.217.99] out: + '[' 4 -gt 0 ']' 2015-05-19 12:26:52:820359: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:26:52:820416: [root@10.204.217.99] out: + shift 2015-05-19 12:26:52:820472: [root@10.204.217.99] out: + APP=glance 2015-05-19 12:26:52:820527: [root@10.204.217.99] out: + shift 2015-05-19 12:26:52:820583: [root@10.204.217.99] out: + '[' 2 -gt 0 ']' 2015-05-19 12:26:52:820639: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:26:52:820695: [root@10.204.217.99] out: + shift 2015-05-19 12:26:52:820752: [root@10.204.217.99] out: + MYSQL_ROOT_PW=056ee09e88700d6ae8de 2015-05-19 12:26:52:820808: [root@10.204.217.99] out: + shift 2015-05-19 12:26:52:820863: [root@10.204.217.99] out: + '[' 0 -gt 0 ']' 2015-05-19 12:26:52:820919: [root@10.204.217.99] out: + '[' '!' init ']' 2015-05-19 12:26:52:820975: [root@10.204.217.99] out: + '[' '!' glance ']' 2015-05-19 12:26:52:821031: [root@10.204.217.99] out: + case "$APP" in 2015-05-19 12:26:52:821087: [root@10.204.217.99] out: + MYSQL_APP_PW_DEFAULT=glance 2015-05-19 12:26:52:821143: [root@10.204.217.99] out: + : glance 2015-05-19 12:26:52:821203: [root@10.204.217.99] out: + '[' glance = glance ']' 2015-05-19 12:26:52:821260: [root@10.204.217.99] out: + APP_CONFIG='/etc/glance/glance-registry.conf /etc/glance/glance-api.conf' 2015-05-19 12:26:52:821316: [root@10.204.217.99] out: + NEW_MYSQL_INSTALL=0 2015-05-19 12:26:52:821382: [root@10.204.217.99] out: + expr 1 2015-05-19 12:26:52:821438: [root@10.204.217.99] out: 1 2015-05-19 12:26:52:821542: [root@10.204.217.99] out: + service_running mysql 2015-05-19 12:26:52:821656: [root@10.204.217.99] out: + test '' 2015-05-19 12:26:52:821781: [root@10.204.217.99] out: + service mysql status 2015-05-19 12:26:52:821896: [root@10.204.217.99] out: + '[' 0 -eq 1 ']' 2015-05-19 12:26:52:855305: [root@10.204.217.99] out: + '[' '!' defined ']' 2015-05-19 12:26:52:855443: [root@10.204.217.99] out: + MYSQL_ROOT_PW_ARG= 2015-05-19 12:26:52:855538: [root@10.204.217.99] out: + '[' defined ']' 2015-05-19 12:26:52:855623: [root@10.204.217.99] out: + MYSQL_ROOT_PW_ARG=--password=056ee09e88700d6ae8de 2015-05-19 12:26:52:855672: [root@10.204.217.99] out: + echo 'SELECT 1;' 2015-05-19 12:26:52:855720: [root@10.204.217.99] out: + mysql -u root --password=056ee09e88700d6ae8de 2015-05-19 12:26:52:855768: [root@10.204.217.99] out: + echo 'Verified connectivity to MySQL.' 2015-05-19 12:26:52:857170: [root@10.204.217.99] out: Verified connectivity to MySQL. 2015-05-19 12:26:52:857352: [root@10.204.217.99] out: + '[' init = init ']' 2015-05-19 12:26:52:857561: [root@10.204.217.99] out: ++ echo 'SELECT COUNT(*) FROM INFORMATION_SCHEMA.SCHEMATA WHERE SCHEMA_NAME='\''glance'\'';' 2015-05-19 12:26:52:858110: [root@10.204.217.99] out: ++ mysql -u root --password=056ee09e88700d6ae8de 2015-05-19 12:26:52:858236: [root@10.204.217.99] out: ++ tail -n+2 2015-05-19 12:26:52:858406: [root@10.204.217.99] out: + dbs=1 2015-05-19 12:26:52:861684: [root@10.204.217.99] out: + '[' 1 '!=' 0 ']' 2015-05-19 12:26:52:861803: [root@10.204.217.99] out: + echo 'Database '\''glance'\'' already exists. Please consider first running:' 2015-05-19 12:26:52:861895: [root@10.204.217.99] out: Database 'glance' already exists. Please consider first running: 2015-05-19 12:26:52:861985: [root@10.204.217.99] out: + echo '/usr/bin/openstack-db --drop --service glance' 2015-05-19 12:26:52:862073: [root@10.204.217.99] out: /usr/bin/openstack-db --drop --service glance 2015-05-19 12:26:52:862160: [root@10.204.217.99] out: + exit 1 2015-05-19 12:26:52:862246: [root@10.204.217.99] out: + glance-manage db_sync 2015-05-19 12:26:52:862333: [root@10.204.217.99] out: + '[' 1 -eq 1 ']' 2015-05-19 12:26:53:263314: [root@10.204.217.99] out: + chown glance /var/lib/glance/glance.sqlite 2015-05-19 12:26:53:263437: [root@10.204.217.99] out: + chgrp glance /var/lib/glance/glance.sqlite 2015-05-19 12:26:53:263495: [root@10.204.217.99] out: + export ADMIN_TOKEN 2015-05-19 12:26:53:263549: [root@10.204.217.99] out: + export SERVICE_TOKEN 2015-05-19 12:26:53:263603: [root@10.204.217.99] out: + for cfg in api 2015-05-19 12:26:53:263691: [root@10.204.217.99] out: + openstack-config --set /etc/glance/glance-api.conf DEFAULT container_formats ami,ari,aki,bare,ovf,ova,docker 2015-05-19 12:26:53:263757: [root@10.204.217.99] out: + openstack-config --set /etc/glance/glance-api.conf DEFAULT notifier_strategy noop 2015-05-19 12:26:53:295451: [root@10.204.217.99] out: + '[' 1 -eq 0 ']' 2015-05-19 12:26:53:302867: [root@10.204.217.99] out: + for cfg in api registry 2015-05-19 12:26:53:302959: [root@10.204.217.99] out: + openstack-config --set /etc/glance/glance-api.conf DEFAULT sql_idle_timeout 3600 2015-05-19 12:26:53:303003: [root@10.204.217.99] out: + openstack-config --set /etc/glance/glance-api.conf keystone_authtoken admin_tenant_name service 2015-05-19 12:26:53:334528: [root@10.204.217.99] out: + openstack-config --set /etc/glance/glance-api.conf keystone_authtoken admin_user glance 2015-05-19 12:26:53:341969: [root@10.204.217.99] out: + openstack-config --set /etc/glance/glance-api.conf keystone_authtoken admin_password contrail123 2015-05-19 12:26:53:373530: [root@10.204.217.99] out: + openstack-config --set /etc/glance/glance-api.conf paste_deploy flavor keystone 2015-05-19 12:26:53:389020: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:26:53:404506: [root@10.204.217.99] out: + for cfg in api registry 2015-05-19 12:26:53:404695: [root@10.204.217.99] out: + openstack-config --set /etc/glance/glance-registry.conf DEFAULT sql_idle_timeout 3600 2015-05-19 12:26:53:404855: [root@10.204.217.99] out: + openstack-config --set /etc/glance/glance-registry.conf keystone_authtoken admin_tenant_name service 2015-05-19 12:26:53:436594: [root@10.204.217.99] out: + openstack-config --set /etc/glance/glance-registry.conf keystone_authtoken admin_user glance 2015-05-19 12:26:53:444220: [root@10.204.217.99] out: + openstack-config --set /etc/glance/glance-registry.conf keystone_authtoken admin_password contrail123 2015-05-19 12:26:53:459678: [root@10.204.217.99] out: + openstack-config --set /etc/glance/glance-registry.conf paste_deploy flavor keystone 2015-05-19 12:26:53:475128: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:26:53:490576: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:26:53:490666: [root@10.204.217.99] out: + '[' 1 -eq 1 ']' 2015-05-19 12:26:53:490709: [root@10.204.217.99] out: + glance-manage db_sync 2015-05-19 12:26:53:490751: [root@10.204.217.99] out: + echo '======= Enabling the services ======' 2015-05-19 12:26:53:891420: [root@10.204.217.99] out: ======= Enabling the services ====== 2015-05-19 12:26:53:891615: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:26:53:891712: [root@10.204.217.99] out: + chkconfig apache2 on 2015-05-19 12:26:53:891803: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:26:53:891894: [root@10.204.217.99] out: + chkconfig memcached on 2015-05-19 12:26:53:891981: [root@10.204.217.99] out: + for svc in supervisor-openstack 2015-05-19 12:26:53:892069: [root@10.204.217.99] out: + chkconfig supervisor-openstack on 2015-05-19 12:26:53:892155: [root@10.204.217.99] out: + echo '======= Starting the services ======' 2015-05-19 12:26:53:892242: [root@10.204.217.99] out: ======= Starting the services ====== 2015-05-19 12:26:53:892328: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:26:53:892414: [root@10.204.217.99] out: + service apache2 restart 2015-05-19 12:26:53:892500: [root@10.204.217.99] out: * Restarting web server apache2 2015-05-19 12:26:53:892586: [root@10.204.217.99] out: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message 2015-05-19 12:26:55:095212: [root@10.204.217.99] out: ...done. 2015-05-19 12:26:56:096784: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:26:56:097010: [root@10.204.217.99] out: + service memcached restart 2015-05-19 12:26:56:097174: [root@10.204.217.99] out: Restarting memcached: memcached. 2015-05-19 12:26:56:129193: [root@10.204.217.99] out: ++ grep -s -i running 2015-05-19 12:26:56:129388: [root@10.204.217.99] out: ++ service supervisor-openstack status 2015-05-19 12:26:56:129519: [root@10.204.217.99] out: ++ echo running 2015-05-19 12:26:56:130998: [root@10.204.217.99] out: + status=running 2015-05-19 12:26:56:131088: [root@10.204.217.99] out: + '[' running == stopped ']' 2015-05-19 12:26:56:131182: [root@10.204.217.99] out: + for svc in glance-api glance-registry 2015-05-19 12:26:56:131252: [root@10.204.217.99] out: + service glance-api restart 2015-05-19 12:26:56:131305: [root@10.204.217.99] out: glance-api: ERROR (not running) 2015-05-19 12:26:56:231735: [root@10.204.217.99] out: glance-api: started 2015-05-19 12:26:57:697559: [root@10.204.217.99] out: + for svc in glance-api glance-registry 2015-05-19 12:26:57:697776: [root@10.204.217.99] out: + service glance-registry restart 2015-05-19 12:26:57:697900: [root@10.204.217.99] out: glance-registry: ERROR (not running) 2015-05-19 12:26:57:761811: [root@10.204.217.99] out: glance-registry: started 2015-05-19 12:26:59:164012: [root@10.204.217.99] out: [localhost] local: sudo cinder-server-setup.sh 2015-05-19 12:26:59:164123: [root@10.204.217.99] out: + '[' -f /etc/redhat-release ']' 2015-05-19 12:26:59:164175: [root@10.204.217.99] out: + '[' -f /etc/lsb-release ']' 2015-05-19 12:26:59:164236: [root@10.204.217.99] out: + egrep -q 'DISTRIB_ID.*Ubuntu' /etc/lsb-release 2015-05-19 12:26:59:164284: [root@10.204.217.99] out: + is_ubuntu=1 2015-05-19 12:26:59:165637: [root@10.204.217.99] out: + is_redhat=0 2015-05-19 12:26:59:166266: [root@10.204.217.99] out: + web_svc=apache2 2015-05-19 12:26:59:166606: [root@10.204.217.99] out: + mysql_svc=mysql 2015-05-19 12:26:59:166712: [root@10.204.217.99] out: + chkconfig mysql 2015-05-19 12:26:59:166805: [root@10.204.217.99] out: + ret=0 2015-05-19 12:26:59:167246: [root@10.204.217.99] out: + '[' 0 -ne 0 ']' 2015-05-19 12:26:59:167345: [root@10.204.217.99] out: ++ service mysql status 2015-05-19 12:26:59:167434: [root@10.204.217.99] out: + mysql_status=' * MySQL is running (PID: 4088)' 2015-05-19 12:26:59:231252: [root@10.204.217.99] out: + [[ * MySQL is running (PID: 4088) != *running* ]] 2015-05-19 12:26:59:231410: [root@10.204.217.99] out: + '[' '!' -f /etc/contrail/mysql.token ']' 2015-05-19 12:26:59:231487: [root@10.204.217.99] out: ++ cat /etc/contrail/mysql.token 2015-05-19 12:26:59:231559: [root@10.204.217.99] out: + MYSQL_TOKEN=056ee09e88700d6ae8de 2015-05-19 12:26:59:231629: [root@10.204.217.99] out: + source /etc/contrail/ctrl-details 2015-05-19 12:26:59:231699: [root@10.204.217.99] out: ++ SERVICE_TOKEN=228c309425f7df134ecc 2015-05-19 12:26:59:231769: [root@10.204.217.99] out: ++ AUTH_PROTOCOL=http 2015-05-19 12:26:59:231840: [root@10.204.217.99] out: ++ QUANTUM_PROTOCOL=http 2015-05-19 12:26:59:231913: [root@10.204.217.99] out: ++ ADMIN_TOKEN=contrail123 2015-05-19 12:26:59:231984: [root@10.204.217.99] out: ++ CONTROLLER=10.204.217.99 2015-05-19 12:26:59:232055: [root@10.204.217.99] out: ++ API_SERVER=10.204.217.99 2015-05-19 12:26:59:232144: [root@10.204.217.99] out: ++ OSAPI_COMPUTE_WORKERS=40 2015-05-19 12:26:59:232231: [root@10.204.217.99] out: ++ CONDUCTOR_WORKERS=40 2015-05-19 12:26:59:232310: [root@10.204.217.99] out: ++ SELF_MGMT_IP=127.0.0.1 2015-05-19 12:26:59:232380: [root@10.204.217.99] out: ++ AMQP_SERVER=10.204.217.99 2015-05-19 12:26:59:232450: [root@10.204.217.99] out: ++ QUANTUM=10.204.217.99 2015-05-19 12:26:59:232520: [root@10.204.217.99] out: ++ QUANTUM_PORT=9696 2015-05-19 12:26:59:232590: [root@10.204.217.99] out: ++ OPENSTACK_INDEX=1 2015-05-19 12:26:59:232661: [root@10.204.217.99] out: + ADMIN_TOKEN=contrail123 2015-05-19 12:26:59:232731: [root@10.204.217.99] out: + SERVICE_TOKEN=228c309425f7df134ecc 2015-05-19 12:26:59:232833: [root@10.204.217.99] out: + OPENSTACK_INDEX=1 2015-05-19 12:26:59:232902: [root@10.204.217.99] out: + INTERNAL_VIP=none 2015-05-19 12:26:59:232992: [root@10.204.217.99] out: + controller_ip=10.204.217.99 2015-05-19 12:26:59:233098: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:26:59:233181: [root@10.204.217.99] out: + cat 2015-05-19 12:26:59:233251: [root@10.204.217.99] out: + for APP in cinder 2015-05-19 12:26:59:233321: [root@10.204.217.99] out: + '[' 1 -eq 1 ']' 2015-05-19 12:26:59:233407: [root@10.204.217.99] out: + openstack-db -y --init --service cinder --rootpw 056ee09e88700d6ae8de 2015-05-19 12:26:59:233508: [root@10.204.217.99] out: + systemctl --version 2015-05-19 12:26:59:233599: [root@10.204.217.99] out: + '[' -f /etc/redhat-release ']' 2015-05-19 12:26:59:233687: [root@10.204.217.99] out: + '[' -f /etc/lsb-release ']' 2015-05-19 12:26:59:233774: [root@10.204.217.99] out: + egrep -q 'DISTRIB_ID.*Ubuntu' /etc/lsb-release 2015-05-19 12:26:59:233861: [root@10.204.217.99] out: + is_ubuntu=1 2015-05-19 12:26:59:233948: [root@10.204.217.99] out: + is_redhat=0 2015-05-19 12:26:59:234037: [root@10.204.217.99] out: + web_svc=apache2 2015-05-19 12:26:59:234118: [root@10.204.217.99] out: + mysql_svc=mysql 2015-05-19 12:26:59:234189: [root@10.204.217.99] out: + mysql_pkg_chk='expr 1' 2015-05-19 12:26:59:234279: [root@10.204.217.99] out: + dbmanage_cmd='"$APP-manage $db_sync"' 2015-05-19 12:26:59:234368: [root@10.204.217.99] out: + '[' 6 -gt 0 ']' 2015-05-19 12:26:59:234438: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:26:59:234522: [root@10.204.217.99] out: + ASSUME_YES=yes 2015-05-19 12:26:59:234596: [root@10.204.217.99] out: + shift 2015-05-19 12:26:59:234667: [root@10.204.217.99] out: + '[' 5 -gt 0 ']' 2015-05-19 12:26:59:234736: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:26:59:234805: [root@10.204.217.99] out: + MODE=init 2015-05-19 12:26:59:234876: [root@10.204.217.99] out: + shift 2015-05-19 12:26:59:234946: [root@10.204.217.99] out: + '[' 4 -gt 0 ']' 2015-05-19 12:26:59:235014: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:26:59:235084: [root@10.204.217.99] out: + shift 2015-05-19 12:26:59:235153: [root@10.204.217.99] out: + APP=cinder 2015-05-19 12:26:59:235221: [root@10.204.217.99] out: + shift 2015-05-19 12:26:59:235290: [root@10.204.217.99] out: + '[' 2 -gt 0 ']' 2015-05-19 12:26:59:235357: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:26:59:235426: [root@10.204.217.99] out: + shift 2015-05-19 12:26:59:235495: [root@10.204.217.99] out: + MYSQL_ROOT_PW=056ee09e88700d6ae8de 2015-05-19 12:26:59:235563: [root@10.204.217.99] out: + shift 2015-05-19 12:26:59:235632: [root@10.204.217.99] out: + '[' 0 -gt 0 ']' 2015-05-19 12:26:59:235700: [root@10.204.217.99] out: + '[' '!' init ']' 2015-05-19 12:26:59:235769: [root@10.204.217.99] out: + '[' '!' cinder ']' 2015-05-19 12:26:59:235838: [root@10.204.217.99] out: + case "$APP" in 2015-05-19 12:26:59:235921: [root@10.204.217.99] out: + MYSQL_APP_PW_DEFAULT=cinder 2015-05-19 12:26:59:236007: [root@10.204.217.99] out: + : cinder 2015-05-19 12:26:59:236093: [root@10.204.217.99] out: + '[' cinder = glance ']' 2015-05-19 12:26:59:236180: [root@10.204.217.99] out: + APP_CONFIG=/etc/cinder/cinder.conf 2015-05-19 12:26:59:236265: [root@10.204.217.99] out: + NEW_MYSQL_INSTALL=0 2015-05-19 12:26:59:236351: [root@10.204.217.99] out: + expr 1 2015-05-19 12:26:59:236437: [root@10.204.217.99] out: 1 2015-05-19 12:26:59:236523: [root@10.204.217.99] out: + service_running mysql 2015-05-19 12:26:59:236607: [root@10.204.217.99] out: + test '' 2015-05-19 12:26:59:236693: [root@10.204.217.99] out: + service mysql status 2015-05-19 12:26:59:236781: [root@10.204.217.99] out: + '[' 0 -eq 1 ']' 2015-05-19 12:26:59:255226: [root@10.204.217.99] out: + '[' '!' defined ']' 2015-05-19 12:26:59:255579: [root@10.204.217.99] out: + MYSQL_ROOT_PW_ARG= 2015-05-19 12:26:59:255768: [root@10.204.217.99] out: + '[' defined ']' 2015-05-19 12:26:59:255855: [root@10.204.217.99] out: + MYSQL_ROOT_PW_ARG=--password=056ee09e88700d6ae8de 2015-05-19 12:26:59:255915: [root@10.204.217.99] out: + echo 'SELECT 1;' 2015-05-19 12:26:59:255970: [root@10.204.217.99] out: + mysql -u root --password=056ee09e88700d6ae8de 2015-05-19 12:26:59:256023: [root@10.204.217.99] out: + echo 'Verified connectivity to MySQL.' 2015-05-19 12:26:59:256075: [root@10.204.217.99] out: Verified connectivity to MySQL. 2015-05-19 12:26:59:256128: [root@10.204.217.99] out: + '[' init = init ']' 2015-05-19 12:26:59:256180: [root@10.204.217.99] out: ++ echo 'SELECT COUNT(*) FROM INFORMATION_SCHEMA.SCHEMATA WHERE SCHEMA_NAME='\''cinder'\'';' 2015-05-19 12:26:59:256588: [root@10.204.217.99] out: ++ mysql -u root --password=056ee09e88700d6ae8de 2015-05-19 12:26:59:256648: [root@10.204.217.99] out: ++ tail -n+2 2015-05-19 12:26:59:256700: [root@10.204.217.99] out: + dbs=1 2015-05-19 12:26:59:260048: [root@10.204.217.99] out: + '[' 1 '!=' 0 ']' 2015-05-19 12:26:59:260189: [root@10.204.217.99] out: + echo 'Database '\''cinder'\'' already exists. Please consider first running:' 2015-05-19 12:26:59:260326: [root@10.204.217.99] out: Database 'cinder' already exists. Please consider first running: 2015-05-19 12:26:59:260446: [root@10.204.217.99] out: + echo '/usr/bin/openstack-db --drop --service cinder' 2015-05-19 12:26:59:260504: [root@10.204.217.99] out: /usr/bin/openstack-db --drop --service cinder 2015-05-19 12:26:59:260557: [root@10.204.217.99] out: + exit 1 2015-05-19 12:26:59:260610: [root@10.204.217.99] out: + export ADMIN_TOKEN 2015-05-19 12:26:59:260662: [root@10.204.217.99] out: + export SERVICE_TOKEN 2015-05-19 12:26:59:260715: [root@10.204.217.99] out: + for svc in cinder 2015-05-19 12:26:59:260778: [root@10.204.217.99] out: + openstack-config --set /etc/cinder/cinder.conf keystone_authtoken admin_tenant_name service 2015-05-19 12:26:59:260831: [root@10.204.217.99] out: + openstack-config --set /etc/cinder/cinder.conf keystone_authtoken admin_user cinder 2015-05-19 12:26:59:276562: [root@10.204.217.99] out: + openstack-config --set /etc/cinder/cinder.conf keystone_authtoken admin_password contrail123 2015-05-19 12:26:59:292009: [root@10.204.217.99] out: + openstack-config --set /etc/cinder/cinder.conf keystone_authtoken auth_protocol http 2015-05-19 12:26:59:307473: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:26:59:314885: [root@10.204.217.99] out: + echo '======= Enabling the services ======' 2015-05-19 12:26:59:315142: [root@10.204.217.99] out: ======= Enabling the services ====== 2015-05-19 12:26:59:315235: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:26:59:315290: [root@10.204.217.99] out: + chkconfig apache2 on 2015-05-19 12:26:59:315344: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:26:59:315623: [root@10.204.217.99] out: + chkconfig memcached on 2015-05-19 12:26:59:315673: [root@10.204.217.99] out: + for svc in supervisor-openstack 2015-05-19 12:26:59:315931: [root@10.204.217.99] out: + chkconfig supervisor-openstack on 2015-05-19 12:26:59:315979: [root@10.204.217.99] out: + echo '======= Starting the services ======' 2015-05-19 12:26:59:316021: [root@10.204.217.99] out: ======= Starting the services ====== 2015-05-19 12:26:59:316063: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:26:59:316105: [root@10.204.217.99] out: + service apache2 restart 2015-05-19 12:26:59:316146: [root@10.204.217.99] out: * Restarting web server apache2 2015-05-19 12:26:59:323639: [root@10.204.217.99] out: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message 2015-05-19 12:27:00:488821: [root@10.204.217.99] out: ...done. 2015-05-19 12:27:01:490429: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:27:01:490617: [root@10.204.217.99] out: + service memcached restart 2015-05-19 12:27:01:490687: [root@10.204.217.99] out: Restarting memcached: memcached. 2015-05-19 12:27:01:554531: [root@10.204.217.99] out: ++ service supervisor-openstack status 2015-05-19 12:27:01:554636: [root@10.204.217.99] out: ++ grep -s -i running 2015-05-19 12:27:01:554680: [root@10.204.217.99] out: ++ echo running 2015-05-19 12:27:01:554722: [root@10.204.217.99] out: + status=running 2015-05-19 12:27:01:554762: [root@10.204.217.99] out: + '[' running == stopped ']' 2015-05-19 12:27:01:554802: [root@10.204.217.99] out: + for svc in cinder-api cinder-scheduler 2015-05-19 12:27:01:554842: [root@10.204.217.99] out: + service cinder-api restart 2015-05-19 12:27:01:554882: [root@10.204.217.99] out: cinder-api: ERROR (not running) 2015-05-19 12:27:01:618597: [root@10.204.217.99] out: cinder-api: started 2015-05-19 12:27:03:184198: [root@10.204.217.99] out: + for svc in cinder-api cinder-scheduler 2015-05-19 12:27:03:184334: [root@10.204.217.99] out: + service cinder-scheduler restart 2015-05-19 12:27:03:184428: [root@10.204.217.99] out: cinder-scheduler: ERROR (not running) 2015-05-19 12:27:03:248126: [root@10.204.217.99] out: cinder-scheduler: started 2015-05-19 12:27:04:549876: [root@10.204.217.99] out: [localhost] local: sudo nova-server-setup.sh 2015-05-19 12:27:04:550522: [root@10.204.217.99] out: + '[' -f /etc/redhat-release ']' 2015-05-19 12:27:04:566129: [root@10.204.217.99] out: + '[' -f /etc/lsb-release ']' 2015-05-19 12:27:04:566270: [root@10.204.217.99] out: + egrep -q 'DISTRIB_ID.*Ubuntu' /etc/lsb-release 2015-05-19 12:27:04:566342: [root@10.204.217.99] out: + is_ubuntu=1 2015-05-19 12:27:04:566409: [root@10.204.217.99] out: + is_redhat=0 2015-05-19 12:27:04:566478: [root@10.204.217.99] out: + web_svc=apache2 2015-05-19 12:27:04:566544: [root@10.204.217.99] out: + mysql_svc=mysql 2015-05-19 12:27:04:566623: [root@10.204.217.99] out: ++ dpkg -l 2015-05-19 12:27:04:566691: [root@10.204.217.99] out: ++ grep ii 2015-05-19 12:27:04:566759: [root@10.204.217.99] out: ++ grep nova-api 2015-05-19 12:27:04:566827: [root@10.204.217.99] out: ++ awk '{print $3}' 2015-05-19 12:27:04:566894: [root@10.204.217.99] out: + nova_api_version=1:2014.2.2-0ubuntu1~cloud0.2contrail 2015-05-19 12:27:04:598811: [root@10.204.217.99] out: + echo 1:2014.2.2-0ubuntu1~cloud0.2contrail 2015-05-19 12:27:04:598993: [root@10.204.217.99] out: 1:2014.2.2-0ubuntu1~cloud0.2contrail 2015-05-19 12:27:04:599088: [root@10.204.217.99] out: + '[' 1:2014.2.2-0ubuntu1~cloud0.2contrail == 2:2013.1.3-0ubuntu1 ']' 2015-05-19 12:27:04:599178: [root@10.204.217.99] out: + OS_NET=neutron 2015-05-19 12:27:04:599267: [root@10.204.217.99] out: + TENANT_NAME=neutron_admin_tenant_name 2015-05-19 12:27:04:599356: [root@10.204.217.99] out: + ADMIN_USER=neutron_admin_username 2015-05-19 12:27:04:599443: [root@10.204.217.99] out: + ADMIN_PASSWD=neutron_admin_password 2015-05-19 12:27:04:599529: [root@10.204.217.99] out: + ADMIN_AUTH_URL=neutron_admin_auth_url 2015-05-19 12:27:04:599615: [root@10.204.217.99] out: + OS_URL=neutron_url 2015-05-19 12:27:04:599702: [root@10.204.217.99] out: + OS_URL_TIMEOUT=neutron_url_timeout 2015-05-19 12:27:04:599789: [root@10.204.217.99] out: + META_DATA_PROXY=service_neutron_metadata_proxy 2015-05-19 12:27:04:599876: [root@10.204.217.99] out: + openstack-config --del /etc/nova/nova.conf DEFAULT quantum_admin_tenant_name 2015-05-19 12:27:04:599963: [root@10.204.217.99] out: + openstack-config --del /etc/nova/nova.conf DEFAULT quantum_admin_username 2015-05-19 12:27:04:608200: [root@10.204.217.99] out: + openstack-config --del /etc/nova/nova.conf DEFAULT quantum_admin_password 2015-05-19 12:27:04:623683: [root@10.204.217.99] out: + openstack-config --del /etc/nova/nova.conf DEFAULT quantum_admin_auth_url 2015-05-19 12:27:04:639321: [root@10.204.217.99] out: + openstack-config --del /etc/nova/nova.conf DEFAULT quantum_auth_strategy 2015-05-19 12:27:04:654769: [root@10.204.217.99] out: + openstack-config --del /etc/nova/nova.conf DEFAULT quantum_url 2015-05-19 12:27:04:670257: [root@10.204.217.99] out: + chkconfig mysql 2015-05-19 12:27:04:677680: [root@10.204.217.99] out: + ret=0 2015-05-19 12:27:04:677850: [root@10.204.217.99] out: + '[' 0 -ne 0 ']' 2015-05-19 12:27:04:678263: [root@10.204.217.99] out: ++ service mysql status 2015-05-19 12:27:04:678580: [root@10.204.217.99] out: + mysql_status=' * MySQL is running (PID: 4088)' 2015-05-19 12:27:04:742187: [root@10.204.217.99] out: + [[ * MySQL is running (PID: 4088) != *running* ]] 2015-05-19 12:27:04:742286: [root@10.204.217.99] out: + '[' '!' -f /etc/contrail/mysql.token ']' 2015-05-19 12:27:04:742332: [root@10.204.217.99] out: ++ cat /etc/contrail/mysql.token 2015-05-19 12:27:04:742374: [root@10.204.217.99] out: + MYSQL_TOKEN=056ee09e88700d6ae8de 2015-05-19 12:27:04:742416: [root@10.204.217.99] out: + source /etc/contrail/ctrl-details 2015-05-19 12:27:04:742456: [root@10.204.217.99] out: ++ SERVICE_TOKEN=228c309425f7df134ecc 2015-05-19 12:27:04:742496: [root@10.204.217.99] out: ++ AUTH_PROTOCOL=http 2015-05-19 12:27:04:742537: [root@10.204.217.99] out: ++ QUANTUM_PROTOCOL=http 2015-05-19 12:27:04:742579: [root@10.204.217.99] out: ++ ADMIN_TOKEN=contrail123 2015-05-19 12:27:04:742620: [root@10.204.217.99] out: ++ CONTROLLER=10.204.217.99 2015-05-19 12:27:04:742660: [root@10.204.217.99] out: ++ API_SERVER=10.204.217.99 2015-05-19 12:27:04:742701: [root@10.204.217.99] out: ++ OSAPI_COMPUTE_WORKERS=40 2015-05-19 12:27:04:742740: [root@10.204.217.99] out: ++ CONDUCTOR_WORKERS=40 2015-05-19 12:27:04:742780: [root@10.204.217.99] out: ++ SELF_MGMT_IP=127.0.0.1 2015-05-19 12:27:04:742821: [root@10.204.217.99] out: ++ AMQP_SERVER=10.204.217.99 2015-05-19 12:27:04:742861: [root@10.204.217.99] out: ++ QUANTUM=10.204.217.99 2015-05-19 12:27:04:742901: [root@10.204.217.99] out: ++ QUANTUM_PORT=9696 2015-05-19 12:27:04:742941: [root@10.204.217.99] out: ++ OPENSTACK_INDEX=1 2015-05-19 12:27:04:742989: [root@10.204.217.99] out: + ADMIN_TOKEN=contrail123 2015-05-19 12:27:04:743043: [root@10.204.217.99] out: + SERVICE_TOKEN=228c309425f7df134ecc 2015-05-19 12:27:04:743092: [root@10.204.217.99] out: + OPENSTACK_INDEX=1 2015-05-19 12:27:04:743133: [root@10.204.217.99] out: + INTERNAL_VIP=none 2015-05-19 12:27:04:743173: [root@10.204.217.99] out: + CONTRAIL_INTERNAL_VIP=none 2015-05-19 12:27:04:743214: [root@10.204.217.99] out: + AMQP_PORT=5672 2015-05-19 12:27:04:743254: [root@10.204.217.99] out: + '[' none == 10.204.217.99 ']' 2015-05-19 12:27:04:743294: [root@10.204.217.99] out: + '[' none == 10.204.217.99 ']' 2015-05-19 12:27:04:743335: [root@10.204.217.99] out: + controller_ip=10.204.217.99 2015-05-19 12:27:04:743374: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:27:04:743437: [root@10.204.217.99] out: + cat 2015-05-19 12:27:04:743480: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT sql_connection mysql://nova:nova@127.0.0.1/nova 2015-05-19 12:27:04:743539: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT libvirt_nonblocking True 2015-05-19 12:27:04:743580: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT libvirt_inject_partition -1 2015-05-19 12:27:04:759685: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT connection_type libvirt 2015-05-19 12:27:04:775186: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:27:04:782573: [root@10.204.217.99] out: + for APP in nova 2015-05-19 12:27:04:782684: [root@10.204.217.99] out: + '[' 1 -eq 1 ']' 2015-05-19 12:27:04:782771: [root@10.204.217.99] out: + openstack-db -y --init --service nova --rootpw 056ee09e88700d6ae8de 2015-05-19 12:27:04:782875: [root@10.204.217.99] out: + systemctl --version 2015-05-19 12:27:04:783303: [root@10.204.217.99] out: + '[' -f /etc/redhat-release ']' 2015-05-19 12:27:04:783552: [root@10.204.217.99] out: + '[' -f /etc/lsb-release ']' 2015-05-19 12:27:04:783615: [root@10.204.217.99] out: + egrep -q 'DISTRIB_ID.*Ubuntu' /etc/lsb-release 2015-05-19 12:27:04:783671: [root@10.204.217.99] out: + is_ubuntu=1 2015-05-19 12:27:04:784081: [root@10.204.217.99] out: + is_redhat=0 2015-05-19 12:27:04:784306: [root@10.204.217.99] out: + web_svc=apache2 2015-05-19 12:27:04:784539: [root@10.204.217.99] out: + mysql_svc=mysql 2015-05-19 12:27:04:784711: [root@10.204.217.99] out: + mysql_pkg_chk='expr 1' 2015-05-19 12:27:04:785100: [root@10.204.217.99] out: + dbmanage_cmd='"$APP-manage $db_sync"' 2015-05-19 12:27:04:785472: [root@10.204.217.99] out: + '[' 6 -gt 0 ']' 2015-05-19 12:27:04:785700: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:27:04:785910: [root@10.204.217.99] out: + ASSUME_YES=yes 2015-05-19 12:27:04:786208: [root@10.204.217.99] out: + shift 2015-05-19 12:27:04:786443: [root@10.204.217.99] out: + '[' 5 -gt 0 ']' 2015-05-19 12:27:04:786544: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:27:04:786587: [root@10.204.217.99] out: + MODE=init 2015-05-19 12:27:04:786631: [root@10.204.217.99] out: + shift 2015-05-19 12:27:04:786674: [root@10.204.217.99] out: + '[' 4 -gt 0 ']' 2015-05-19 12:27:04:786716: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:27:04:786758: [root@10.204.217.99] out: + shift 2015-05-19 12:27:04:786801: [root@10.204.217.99] out: + APP=nova 2015-05-19 12:27:04:786842: [root@10.204.217.99] out: + shift 2015-05-19 12:27:04:786884: [root@10.204.217.99] out: + '[' 2 -gt 0 ']' 2015-05-19 12:27:04:786925: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:27:04:787396: [root@10.204.217.99] out: + shift 2015-05-19 12:27:04:787446: [root@10.204.217.99] out: + MYSQL_ROOT_PW=056ee09e88700d6ae8de 2015-05-19 12:27:04:787489: [root@10.204.217.99] out: + shift 2015-05-19 12:27:04:787532: [root@10.204.217.99] out: + '[' 0 -gt 0 ']' 2015-05-19 12:27:04:787573: [root@10.204.217.99] out: + '[' '!' init ']' 2015-05-19 12:27:04:787615: [root@10.204.217.99] out: + '[' '!' nova ']' 2015-05-19 12:27:04:787658: [root@10.204.217.99] out: + case "$APP" in 2015-05-19 12:27:04:787708: [root@10.204.217.99] out: + MYSQL_APP_PW_DEFAULT=nova 2015-05-19 12:27:04:787751: [root@10.204.217.99] out: + : nova 2015-05-19 12:27:04:787793: [root@10.204.217.99] out: + '[' nova = glance ']' 2015-05-19 12:27:04:787835: [root@10.204.217.99] out: + APP_CONFIG=/etc/nova/nova.conf 2015-05-19 12:27:04:787877: [root@10.204.217.99] out: + NEW_MYSQL_INSTALL=0 2015-05-19 12:27:04:787918: [root@10.204.217.99] out: + expr 1 2015-05-19 12:27:04:787960: [root@10.204.217.99] out: 1 2015-05-19 12:27:04:788001: [root@10.204.217.99] out: + service_running mysql 2015-05-19 12:27:04:788041: [root@10.204.217.99] out: + test '' 2015-05-19 12:27:04:788082: [root@10.204.217.99] out: + service mysql status 2015-05-19 12:27:04:788125: [root@10.204.217.99] out: + '[' 0 -eq 1 ']' 2015-05-19 12:27:04:820047: [root@10.204.217.99] out: + '[' '!' defined ']' 2015-05-19 12:27:04:820247: [root@10.204.217.99] out: + MYSQL_ROOT_PW_ARG= 2015-05-19 12:27:04:820340: [root@10.204.217.99] out: + '[' defined ']' 2015-05-19 12:27:04:820390: [root@10.204.217.99] out: + MYSQL_ROOT_PW_ARG=--password=056ee09e88700d6ae8de 2015-05-19 12:27:04:820439: [root@10.204.217.99] out: + echo 'SELECT 1;' 2015-05-19 12:27:04:820488: [root@10.204.217.99] out: + mysql -u root --password=056ee09e88700d6ae8de 2015-05-19 12:27:04:820537: [root@10.204.217.99] out: + echo 'Verified connectivity to MySQL.' 2015-05-19 12:27:04:824063: [root@10.204.217.99] out: Verified connectivity to MySQL. 2015-05-19 12:27:04:824146: [root@10.204.217.99] out: + '[' init = init ']' 2015-05-19 12:27:04:824199: [root@10.204.217.99] out: ++ echo 'SELECT COUNT(*) FROM INFORMATION_SCHEMA.SCHEMATA WHERE SCHEMA_NAME='\''nova'\'';' 2015-05-19 12:27:04:824250: [root@10.204.217.99] out: ++ mysql -u root --password=056ee09e88700d6ae8de 2015-05-19 12:27:04:824299: [root@10.204.217.99] out: ++ tail -n+2 2015-05-19 12:27:04:824348: [root@10.204.217.99] out: + dbs=1 2015-05-19 12:27:04:827875: [root@10.204.217.99] out: + '[' 1 '!=' 0 ']' 2015-05-19 12:27:04:827961: [root@10.204.217.99] out: + echo 'Database '\''nova'\'' already exists. Please consider first running:' 2015-05-19 12:27:04:828016: [root@10.204.217.99] out: Database 'nova' already exists. Please consider first running: 2015-05-19 12:27:04:828067: [root@10.204.217.99] out: + echo '/usr/bin/openstack-db --drop --service nova' 2015-05-19 12:27:04:828117: [root@10.204.217.99] out: /usr/bin/openstack-db --drop --service nova 2015-05-19 12:27:04:828165: [root@10.204.217.99] out: + exit 1 2015-05-19 12:27:04:828215: [root@10.204.217.99] out: + export ADMIN_TOKEN 2015-05-19 12:27:04:828264: [root@10.204.217.99] out: + export SERVICE_TOKEN 2015-05-19 12:27:04:828313: [root@10.204.217.99] out: + for svc in nova 2015-05-19 12:27:04:828361: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf keystone_authtoken admin_tenant_name service 2015-05-19 12:27:04:828410: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf keystone_authtoken admin_user nova 2015-05-19 12:27:04:860214: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf keystone_authtoken admin_password contrail123 2015-05-19 12:27:04:875842: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf keystone_authtoken auth_protocol http 2015-05-19 12:27:04:891596: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf keystone_authtoken auth_host 127.0.0.1 2015-05-19 12:27:04:923192: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf keystone_authtoken auth_port 35357 2015-05-19 12:27:04:923287: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf keystone_authtoken signing_dir /tmp/keystone-signing-nova 2015-05-19 12:27:04:938863: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT rabbit_host 10.204.217.99 2015-05-19 12:27:04:954321: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT neutron_admin_tenant_name service 2015-05-19 12:27:04:961703: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT neutron_admin_username neutron 2015-05-19 12:27:04:977159: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT neutron_admin_password contrail123 2015-05-19 12:27:04:992609: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT neutron_admin_auth_url http://10.204.217.99:35357/v2.0/ 2015-05-19 12:27:05:000116: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT neutron_url http://10.204.217.99:9696/ 2015-05-19 12:27:05:015564: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT neutron_url_timeout 300 2015-05-19 12:27:05:031021: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT security_group_api neutron 2015-05-19 12:27:05:046477: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT osapi_compute_workers 40 2015-05-19 12:27:05:053884: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT service_neutron_metadata_proxy True 2015-05-19 12:27:05:069325: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf conductor workers 40 2015-05-19 12:27:05:084769: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT compute_driver libvirt.LibvirtDriver 2015-05-19 12:27:05:100256: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT libvirt_vif_driver nova_contrail_vif.contrailvif.VRouterVIFDriver 2015-05-19 12:27:05:107656: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT firewall_driver nova.virt.firewall.NoopFirewallDriver 2015-05-19 12:27:05:123288: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT service_down_time 100000 2015-05-19 12:27:05:138967: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT sql_max_retries -1 2015-05-19 12:27:05:170715: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT novncproxy_port 5999 2015-05-19 12:27:05:170901: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT novncproxy_host 0.0.0.0 2015-05-19 12:27:05:186637: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT quota_instances 100000 2015-05-19 12:27:05:202079: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT quota_cores 100000 2015-05-19 12:27:05:217531: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT quota_ram 10000000 2015-05-19 12:27:05:232972: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT auth_strategy keystone 2015-05-19 12:27:05:240348: [root@10.204.217.99] out: + '[' 1 -eq 1 ']' 2015-05-19 12:27:05:255821: [root@10.204.217.99] out: + '[' 1:2014.2.2-0ubuntu1~cloud0.2contrail == 2:2013.1.3-0ubuntu1 ']' 2015-05-19 12:27:05:255911: [root@10.204.217.99] out: + [[ 1:2014.2.2-0ubuntu1~cloud0.2contrail == *\2\0\1\3\.\2* ]] 2015-05-19 12:27:05:255956: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT network_api_class contrail_nova_networkapi.api.API 2015-05-19 12:27:05:255999: [root@10.204.217.99] out: + openstack-config --set /etc/nova/nova.conf DEFAULT ec2_private_dns_show_ip False 2015-05-19 12:27:05:271481: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:27:05:287004: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:27:05:287142: [root@10.204.217.99] out: + echo '======= Enabling the services ======' 2015-05-19 12:27:05:287218: [root@10.204.217.99] out: ======= Enabling the services ====== 2015-05-19 12:27:05:287288: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:27:05:287357: [root@10.204.217.99] out: + chkconfig apache2 on 2015-05-19 12:27:05:287424: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:27:05:287492: [root@10.204.217.99] out: + chkconfig memcached on 2015-05-19 12:27:05:287560: [root@10.204.217.99] out: + for svc in supervisor-openstack 2015-05-19 12:27:05:287627: [root@10.204.217.99] out: + chkconfig supervisor-openstack on 2015-05-19 12:27:05:287705: [root@10.204.217.99] out: + echo '======= Starting the services ======' 2015-05-19 12:27:05:287773: [root@10.204.217.99] out: ======= Starting the services ====== 2015-05-19 12:27:05:287839: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:27:05:287905: [root@10.204.217.99] out: + service apache2 restart 2015-05-19 12:27:05:287972: [root@10.204.217.99] out: * Restarting web server apache2 2015-05-19 12:27:05:295934: [root@10.204.217.99] out: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message 2015-05-19 12:27:06:461215: [root@10.204.217.99] out: ...done. 2015-05-19 12:27:07:462767: [root@10.204.217.99] out: + for svc in '$web_svc' memcached 2015-05-19 12:27:07:462952: [root@10.204.217.99] out: + service memcached restart 2015-05-19 12:27:07:463049: [root@10.204.217.99] out: Restarting memcached: memcached. 2015-05-19 12:27:07:494956: [root@10.204.217.99] out: ++ service supervisor-openstack status 2015-05-19 12:27:07:496616: [root@10.204.217.99] out: ++ grep -s -i running 2015-05-19 12:27:07:496694: [root@10.204.217.99] out: ++ echo running 2015-05-19 12:27:07:504061: [root@10.204.217.99] out: + status=running 2015-05-19 12:27:07:504142: [root@10.204.217.99] out: + '[' running == stopped ']' 2015-05-19 12:27:07:504192: [root@10.204.217.99] out: + for svc in nova-api nova-objectstore nova-scheduler nova-cert nova-console nova-consoleauth nova-novncproxy nova-conductor 2015-05-19 12:27:07:504239: [root@10.204.217.99] out: + service nova-api restart 2015-05-19 12:27:07:504294: [root@10.204.217.99] out: nova-api: ERROR (not running) 2015-05-19 12:27:07:604716: [root@10.204.217.99] out: nova-api: started 2015-05-19 12:27:09:571008: [root@10.204.217.99] out: + for svc in nova-api nova-objectstore nova-scheduler nova-cert nova-console nova-consoleauth nova-novncproxy nova-conductor 2015-05-19 12:27:09:571188: [root@10.204.217.99] out: + service nova-objectstore restart 2015-05-19 12:27:09:571287: [root@10.204.217.99] out: nova-objectstore: ERROR (not running) 2015-05-19 12:27:09:671827: [root@10.204.217.99] out: nova-objectstore: started 2015-05-19 12:27:11:004994: [root@10.204.217.99] out: + for svc in nova-api nova-objectstore nova-scheduler nova-cert nova-console nova-consoleauth nova-novncproxy nova-conductor 2015-05-19 12:27:11:005181: [root@10.204.217.99] out: + service nova-scheduler restart 2015-05-19 12:27:11:005279: [root@10.204.217.99] out: nova-scheduler: ERROR (not running) 2015-05-19 12:27:11:069075: [root@10.204.217.99] out: nova-scheduler: started 2015-05-19 12:27:12:871383: [root@10.204.217.99] out: + for svc in nova-api nova-objectstore nova-scheduler nova-cert nova-console nova-consoleauth nova-novncproxy nova-conductor 2015-05-19 12:27:12:871499: [root@10.204.217.99] out: + service nova-cert restart 2015-05-19 12:27:12:871547: [root@10.204.217.99] out: nova-cert: unrecognized service 2015-05-19 12:27:12:871590: [root@10.204.217.99] out: + for svc in nova-api nova-objectstore nova-scheduler nova-cert nova-console nova-consoleauth nova-novncproxy nova-conductor 2015-05-19 12:27:12:871632: [root@10.204.217.99] out: + service nova-console restart 2015-05-19 12:27:12:871673: [root@10.204.217.99] out: nova-console: ERROR (not running) 2015-05-19 12:27:12:935308: [root@10.204.217.99] out: nova-console: started 2015-05-19 12:27:14:337317: [root@10.204.217.99] out: + for svc in nova-api nova-objectstore nova-scheduler nova-cert nova-console nova-consoleauth nova-novncproxy nova-conductor 2015-05-19 12:27:14:337493: [root@10.204.217.99] out: + service nova-consoleauth restart 2015-05-19 12:27:14:337600: [root@10.204.217.99] out: nova-consoleauth: ERROR (not running) 2015-05-19 12:27:14:438173: [root@10.204.217.99] out: nova-consoleauth: started 2015-05-19 12:27:15:603125: [root@10.204.217.99] out: + for svc in nova-api nova-objectstore nova-scheduler nova-cert nova-console nova-consoleauth nova-novncproxy nova-conductor 2015-05-19 12:27:15:603229: [root@10.204.217.99] out: + service nova-novncproxy restart 2015-05-19 12:27:15:603285: [root@10.204.217.99] out: nova-novncproxy: ERROR (not running) 2015-05-19 12:27:15:666904: [root@10.204.217.99] out: nova-novncproxy: started 2015-05-19 12:27:16:968794: [root@10.204.217.99] out: + for svc in nova-api nova-objectstore nova-scheduler nova-cert nova-console nova-consoleauth nova-novncproxy nova-conductor 2015-05-19 12:27:16:968956: [root@10.204.217.99] out: + service nova-conductor restart 2015-05-19 12:27:16:969039: [root@10.204.217.99] out: nova-conductor: ERROR (not running) 2015-05-19 12:27:17:032771: [root@10.204.217.99] out: nova-conductor: started 2015-05-19 12:27:18:798140: [root@10.204.217.99] out: [localhost] local: dpkg -l | grep contrail-heat 2015-05-19 12:27:18:798253: [root@10.204.217.99] out: ii contrail-heat 2.20-22 all OpenStack virtual network service - Opencontrail 2015-05-19 12:27:18:829796: [root@10.204.217.99] out: [localhost] local: sudo heat-server-setup.sh 2015-05-19 12:27:18:829905: [root@10.204.217.99] out: + '[' -f /etc/redhat-release ']' 2015-05-19 12:27:18:837306: [root@10.204.217.99] out: + '[' -f /etc/lsb-release ']' 2015-05-19 12:27:18:837406: [root@10.204.217.99] out: + egrep -q 'DISTRIB_ID.*Ubuntu' /etc/lsb-release 2015-05-19 12:27:18:837452: [root@10.204.217.99] out: + is_ubuntu=1 2015-05-19 12:27:18:837507: [root@10.204.217.99] out: + is_redhat=0 2015-05-19 12:27:18:837552: [root@10.204.217.99] out: + web_svc=apache2 2015-05-19 12:27:18:837596: [root@10.204.217.99] out: + mysql_svc=mysql 2015-05-19 12:27:18:837639: [root@10.204.217.99] out: + chkconfig mysql 2015-05-19 12:27:18:837682: [root@10.204.217.99] out: + ret=0 2015-05-19 12:27:18:839045: [root@10.204.217.99] out: + '[' 0 -ne 0 ']' 2015-05-19 12:27:18:839119: [root@10.204.217.99] out: ++ service mysql status 2015-05-19 12:27:18:839167: [root@10.204.217.99] out: + mysql_status=' * MySQL is running (PID: 4088)' 2015-05-19 12:27:18:954715: [root@10.204.217.99] out: + [[ * MySQL is running (PID: 4088) != *running* ]] 2015-05-19 12:27:18:954811: [root@10.204.217.99] out: + '[' '!' -f /etc/contrail/mysql.token ']' 2015-05-19 12:27:18:954860: [root@10.204.217.99] out: ++ cat /etc/contrail/mysql.token 2015-05-19 12:27:18:954906: [root@10.204.217.99] out: + MYSQL_TOKEN=056ee09e88700d6ae8de 2015-05-19 12:27:18:954950: [root@10.204.217.99] out: + source /etc/contrail/ctrl-details 2015-05-19 12:27:18:954994: [root@10.204.217.99] out: ++ SERVICE_TOKEN=228c309425f7df134ecc 2015-05-19 12:27:18:955038: [root@10.204.217.99] out: ++ AUTH_PROTOCOL=http 2015-05-19 12:27:18:955082: [root@10.204.217.99] out: ++ QUANTUM_PROTOCOL=http 2015-05-19 12:27:18:955126: [root@10.204.217.99] out: ++ ADMIN_TOKEN=contrail123 2015-05-19 12:27:18:955171: [root@10.204.217.99] out: ++ CONTROLLER=10.204.217.99 2015-05-19 12:27:18:955238: [root@10.204.217.99] out: ++ API_SERVER=10.204.217.99 2015-05-19 12:27:18:955287: [root@10.204.217.99] out: ++ OSAPI_COMPUTE_WORKERS=40 2015-05-19 12:27:18:955330: [root@10.204.217.99] out: ++ CONDUCTOR_WORKERS=40 2015-05-19 12:27:18:955373: [root@10.204.217.99] out: ++ SELF_MGMT_IP=127.0.0.1 2015-05-19 12:27:18:955416: [root@10.204.217.99] out: ++ AMQP_SERVER=10.204.217.99 2015-05-19 12:27:18:955459: [root@10.204.217.99] out: ++ QUANTUM=10.204.217.99 2015-05-19 12:27:18:955502: [root@10.204.217.99] out: ++ QUANTUM_PORT=9696 2015-05-19 12:27:18:955545: [root@10.204.217.99] out: ++ OPENSTACK_INDEX=1 2015-05-19 12:27:18:955588: [root@10.204.217.99] out: + ADMIN_USER=admin 2015-05-19 12:27:18:955631: [root@10.204.217.99] out: + ADMIN_TOKEN=contrail123 2015-05-19 12:27:18:955675: [root@10.204.217.99] out: + ADMIN_TENANT=admin 2015-05-19 12:27:18:955718: [root@10.204.217.99] out: + SERVICE_TOKEN=228c309425f7df134ecc 2015-05-19 12:27:18:955760: [root@10.204.217.99] out: + OPENSTACK_INDEX=1 2015-05-19 12:27:18:955803: [root@10.204.217.99] out: + INTERNAL_VIP=none 2015-05-19 12:27:18:955846: [root@10.204.217.99] out: + CONTRAIL_INTERNAL_VIP=none 2015-05-19 12:27:18:955897: [root@10.204.217.99] out: + AMQP_PORT=5672 2015-05-19 12:27:18:955940: [root@10.204.217.99] out: + '[' none == 10.204.217.99 ']' 2015-05-19 12:27:18:955983: [root@10.204.217.99] out: + '[' none == 10.204.217.99 ']' 2015-05-19 12:27:18:956025: [root@10.204.217.99] out: + controller_ip=10.204.217.99 2015-05-19 12:27:18:956067: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:27:18:956110: [root@10.204.217.99] out: + cat 2015-05-19 12:27:18:956153: [root@10.204.217.99] out: + export ADMIN_USER 2015-05-19 12:27:18:956195: [root@10.204.217.99] out: + export ADMIN_TOKEN 2015-05-19 12:27:18:956238: [root@10.204.217.99] out: + export ADMIN_TENANT 2015-05-19 12:27:18:956280: [root@10.204.217.99] out: + export SERVICE_TOKEN 2015-05-19 12:27:18:956323: [root@10.204.217.99] out: + for svc in heat 2015-05-19 12:27:18:956365: [root@10.204.217.99] out: + openstack-config --del /etc/heat/heat.conf database connection 2015-05-19 12:27:18:956408: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf DEFAULT sql_connection mysql://heat:heat@127.0.0.1/heat 2015-05-19 12:27:19:020864: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:27:19:036345: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf DEFAULT rpc_backend heat.openstack.common.rpc.impl_kombu 2015-05-19 12:27:19:036447: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf DEFAULT rabbit_host 10.204.217.99 2015-05-19 12:27:19:067959: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf DEFAULT rabbit_port 5672 2015-05-19 12:27:19:099480: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf DEFAULT plugin_dirs /usr/lib/heat/resources 2015-05-19 12:27:19:131024: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf DEFAULT heat_waitcondition_server_url http://10.204.217.99:8000/v1/waitcondition 2015-05-19 12:27:19:146502: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf keystone_authtoken auth_uri http://10.204.217.99:5000/v2.0 2015-05-19 12:27:19:210118: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf keystone_authtoken auth_host 10.204.217.99 2015-05-19 12:27:19:210222: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf keystone_authtoken auth_port 35357 2015-05-19 12:27:19:241741: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf keystone_authtoken auth_protocol http 2015-05-19 12:27:19:273287: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf keystone_authtoken admin_tenant_name service 2015-05-19 12:27:19:304833: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf keystone_authtoken admin_user heat 2015-05-19 12:27:19:336385: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf keystone_authtoken admin_password contrail123 2015-05-19 12:27:19:367924: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf clients_contrail user admin 2015-05-19 12:27:19:399441: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf clients_contrail password contrail123 2015-05-19 12:27:19:430988: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf clients_contrail tenant admin 2015-05-19 12:27:19:462550: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf clients_contrail api_server 10.204.217.99 2015-05-19 12:27:19:494097: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:27:19:509537: [root@10.204.217.99] out: + openstack-config --set /etc/heat/heat.conf clients_contrail api_base_url / 2015-05-19 12:27:19:509643: [root@10.204.217.99] out: + for APP in heat 2015-05-19 12:27:19:541120: [root@10.204.217.99] out: + '[' 1 -eq 1 ']' 2015-05-19 12:27:19:541224: [root@10.204.217.99] out: + openstack-db -y --init --service heat --rootpw 056ee09e88700d6ae8de 2015-05-19 12:27:19:541275: [root@10.204.217.99] out: + systemctl --version 2015-05-19 12:27:19:541324: [root@10.204.217.99] out: + '[' -f /etc/redhat-release ']' 2015-05-19 12:27:19:541381: [root@10.204.217.99] out: + '[' -f /etc/lsb-release ']' 2015-05-19 12:27:19:541431: [root@10.204.217.99] out: + egrep -q 'DISTRIB_ID.*Ubuntu' /etc/lsb-release 2015-05-19 12:27:19:541476: [root@10.204.217.99] out: + is_ubuntu=1 2015-05-19 12:27:19:541532: [root@10.204.217.99] out: + is_redhat=0 2015-05-19 12:27:19:541578: [root@10.204.217.99] out: + web_svc=apache2 2015-05-19 12:27:19:541623: [root@10.204.217.99] out: + mysql_svc=mysql 2015-05-19 12:27:19:541667: [root@10.204.217.99] out: + mysql_pkg_chk='expr 1' 2015-05-19 12:27:19:541711: [root@10.204.217.99] out: + dbmanage_cmd='"$APP-manage $db_sync"' 2015-05-19 12:27:19:541757: [root@10.204.217.99] out: + '[' 6 -gt 0 ']' 2015-05-19 12:27:19:541801: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:27:19:541845: [root@10.204.217.99] out: + ASSUME_YES=yes 2015-05-19 12:27:19:541890: [root@10.204.217.99] out: + shift 2015-05-19 12:27:19:541935: [root@10.204.217.99] out: + '[' 5 -gt 0 ']' 2015-05-19 12:27:19:541979: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:27:19:542045: [root@10.204.217.99] out: + MODE=init 2015-05-19 12:27:19:542089: [root@10.204.217.99] out: + shift 2015-05-19 12:27:19:542132: [root@10.204.217.99] out: + '[' 4 -gt 0 ']' 2015-05-19 12:27:19:542175: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:27:19:542218: [root@10.204.217.99] out: + shift 2015-05-19 12:27:19:542261: [root@10.204.217.99] out: + APP=heat 2015-05-19 12:27:19:542303: [root@10.204.217.99] out: + shift 2015-05-19 12:27:19:542346: [root@10.204.217.99] out: + '[' 2 -gt 0 ']' 2015-05-19 12:27:19:542388: [root@10.204.217.99] out: + case "$1" in 2015-05-19 12:27:19:542431: [root@10.204.217.99] out: + shift 2015-05-19 12:27:19:542474: [root@10.204.217.99] out: + MYSQL_ROOT_PW=056ee09e88700d6ae8de 2015-05-19 12:27:19:542516: [root@10.204.217.99] out: + shift 2015-05-19 12:27:19:542558: [root@10.204.217.99] out: + '[' 0 -gt 0 ']' 2015-05-19 12:27:19:542600: [root@10.204.217.99] out: + '[' '!' init ']' 2015-05-19 12:27:19:542643: [root@10.204.217.99] out: + '[' '!' heat ']' 2015-05-19 12:27:19:542685: [root@10.204.217.99] out: + case "$APP" in 2015-05-19 12:27:19:542727: [root@10.204.217.99] out: + MYSQL_APP_PW_DEFAULT=heat 2015-05-19 12:27:19:542770: [root@10.204.217.99] out: + : heat 2015-05-19 12:27:19:542813: [root@10.204.217.99] out: + '[' heat = glance ']' 2015-05-19 12:27:19:542855: [root@10.204.217.99] out: + APP_CONFIG=/etc/heat/heat.conf 2015-05-19 12:27:19:542898: [root@10.204.217.99] out: + NEW_MYSQL_INSTALL=0 2015-05-19 12:27:19:542941: [root@10.204.217.99] out: + expr 1 2015-05-19 12:27:19:542983: [root@10.204.217.99] out: 1 2015-05-19 12:27:19:543026: [root@10.204.217.99] out: + service_running mysql 2015-05-19 12:27:19:543067: [root@10.204.217.99] out: + test '' 2015-05-19 12:27:19:543110: [root@10.204.217.99] out: + service mysql status 2015-05-19 12:27:19:543152: [root@10.204.217.99] out: + '[' 0 -eq 1 ']' 2015-05-19 12:27:19:644439: [root@10.204.217.99] out: + '[' '!' defined ']' 2015-05-19 12:27:19:644545: [root@10.204.217.99] out: + MYSQL_ROOT_PW_ARG= 2015-05-19 12:27:19:644593: [root@10.204.217.99] out: + '[' defined ']' 2015-05-19 12:27:19:644639: [root@10.204.217.99] out: + MYSQL_ROOT_PW_ARG=--password=056ee09e88700d6ae8de 2015-05-19 12:27:19:644682: [root@10.204.217.99] out: + echo 'SELECT 1;' 2015-05-19 12:27:19:644727: [root@10.204.217.99] out: + mysql -u root --password=056ee09e88700d6ae8de 2015-05-19 12:27:19:644771: [root@10.204.217.99] out: + echo 'Verified connectivity to MySQL.' 2015-05-19 12:27:19:644814: [root@10.204.217.99] out: Verified connectivity to MySQL. 2015-05-19 12:27:19:644857: [root@10.204.217.99] out: + '[' init = init ']' 2015-05-19 12:27:19:644900: [root@10.204.217.99] out: ++ echo 'SELECT COUNT(*) FROM INFORMATION_SCHEMA.SCHEMATA WHERE SCHEMA_NAME='\''heat'\'';' 2015-05-19 12:27:19:644944: [root@10.204.217.99] out: ++ tail -n+2 2015-05-19 12:27:19:644989: [root@10.204.217.99] out: ++ mysql -u root --password=056ee09e88700d6ae8de 2015-05-19 12:27:19:645032: [root@10.204.217.99] out: + dbs=1 2015-05-19 12:27:19:645086: [root@10.204.217.99] out: + '[' 1 '!=' 0 ']' 2015-05-19 12:27:19:645134: [root@10.204.217.99] out: + echo 'Database '\''heat'\'' already exists. Please consider first running:' 2015-05-19 12:27:19:645177: [root@10.204.217.99] out: Database 'heat' already exists. Please consider first running: 2015-05-19 12:27:19:645220: [root@10.204.217.99] out: + echo '/usr/bin/openstack-db --drop --service heat' 2015-05-19 12:27:19:645263: [root@10.204.217.99] out: /usr/bin/openstack-db --drop --service heat 2015-05-19 12:27:19:645306: [root@10.204.217.99] out: + exit 1 2015-05-19 12:27:19:645348: [root@10.204.217.99] out: + heat-manage db_sync 2015-05-19 12:27:19:645391: [root@10.204.217.99] out: + echo '======= Enabling the services ======' 2015-05-19 12:27:20:077997: [root@10.204.217.99] out: ======= Enabling the services ====== 2015-05-19 12:27:20:078109: [root@10.204.217.99] out: + for svc in supervisor-openstack 2015-05-19 12:27:20:078158: [root@10.204.217.99] out: + chkconfig supervisor-openstack on 2015-05-19 12:27:20:078203: [root@10.204.217.99] out: ++ grep -s -i running 2015-05-19 12:27:20:078252: [root@10.204.217.99] out: ++ service supervisor-openstack status 2015-05-19 12:27:20:078297: [root@10.204.217.99] out: ++ echo running 2015-05-19 12:27:20:081859: [root@10.204.217.99] out: + status=running 2015-05-19 12:27:20:083112: [root@10.204.217.99] out: + '[' running == stopped ']' 2015-05-19 12:27:20:083192: [root@10.204.217.99] out: + echo '======= Starting the services ======' 2015-05-19 12:27:20:083239: [root@10.204.217.99] out: ======= Starting the services ====== 2015-05-19 12:27:20:083284: [root@10.204.217.99] out: + for svc in heat-api heat-api-cfn heat-engine 2015-05-19 12:27:20:083329: [root@10.204.217.99] out: + service heat-api restart 2015-05-19 12:27:20:083373: [root@10.204.217.99] out: heat-api: ERROR (not running) 2015-05-19 12:27:20:215103: [root@10.204.217.99] out: heat-api: started 2015-05-19 12:27:21:217106: [root@10.204.217.99] out: + for svc in heat-api heat-api-cfn heat-engine 2015-05-19 12:27:21:217222: [root@10.204.217.99] out: + service heat-api-cfn restart 2015-05-19 12:27:21:217270: [root@10.204.217.99] out: heat-api-cfn: ERROR (not running) 2015-05-19 12:27:21:348946: [root@10.204.217.99] out: heat-api-cfn: started 2015-05-19 12:27:22:381618: [root@10.204.217.99] out: + for svc in heat-api heat-api-cfn heat-engine 2015-05-19 12:27:22:381817: [root@10.204.217.99] out: + service heat-engine restart 2015-05-19 12:27:22:381912: [root@10.204.217.99] out: heat-engine: ERROR (not running) 2015-05-19 12:27:22:445723: [root@10.204.217.99] out: heat-engine: started 2015-05-19 12:27:23:610809: [root@10.204.217.99] out: [localhost] local: service mysql restart 2015-05-19 12:27:23:611003: [root@10.204.217.99] out: * Stopping MySQL database server mysqld 2015-05-19 12:27:23:642741: [root@10.204.217.99] out: * Killing MySQL database server by signal mysqld 2015-05-19 12:27:23:658403: [root@10.204.217.99] out: ...done. 2015-05-19 12:27:27:671705: [root@10.204.217.99] out: * Starting MySQL database server mysqld 2015-05-19 12:27:27:703538: [root@10.204.217.99] out: ...done. 2015-05-19 12:27:31:740677: [root@10.204.217.99] out: [localhost] local: service supervisor-openstack restart 2015-05-19 12:27:31:740874: [root@10.204.217.99] out: supervisor-openstack stop/waiting 2015-05-19 12:27:59:078596: [root@10.204.217.99] out: supervisor-openstack start/running, process 8989 2015-05-19 12:27:59:094215: [root@10.204.217.99] out: 2015-05-19 12:27:59:101633: 2015-05-19 12:27:59:120927: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:27:59:121068: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:27:59:185934: [root@10.204.217.99] out: 2015-05-19 12:27:59:186136: 2015-05-19 12:27:59:186408: [root@10.204.217.99] sudo: dpkg-query -l "contrail-openstack-dashboard" | grep -q ^.i 2015-05-19 12:27:59:186700: [root@10.204.217.99] sudo: sed -i '/^HORIZON_CONFIG.*customization_module.*/d' /etc/openstack-dashboard/local_settings.py 2015-05-19 12:27:59:455692: [root@10.204.217.99] sudo: printf "HORIZON_CONFIG['customization_module'] = 'contrail_openstack_dashboard.overrides' 2015-05-19 12:27:59:553862: " >> /etc/openstack-dashboard/local_settings.py 2015-05-19 12:27:59:553955: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:27:59:609423: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:27:59:674702: [root@10.204.217.99] out: 2015-05-19 12:27:59:675951: 2015-05-19 12:27:59:707198: [root@10.204.217.99] sudo: sed -i '/LOGOUT_URL.*/d' /etc/openstack-dashboard/local_settings.py 2015-05-19 12:27:59:707508: [root@10.204.217.99] sudo: printf "LOGOUT_URL='/horizon/auth/logout/' 2015-05-19 12:27:59:748796: " >> /etc/openstack-dashboard/local_settings.py 2015-05-19 12:27:59:748869: [root@10.204.217.99] sudo: service apache2 restart 2015-05-19 12:27:59:803581: [root@10.204.217.99] out: * Restarting web server apache2 2015-05-19 12:27:59:868864: [root@10.204.217.99] out: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message 2015-05-19 12:28:01:001756: [root@10.204.217.99] out: ...done. 2015-05-19 12:28:01:003064: [root@10.204.217.99] out: 2015-05-19 12:28:01:003226: 2015-05-19 12:28:01:008693: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:28:01:008826: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:28:01:105909: [root@10.204.217.99] out: 2015-05-19 12:28:01:109252: 2015-05-19 12:28:01:138143: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:28:01:138295: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:28:01:179015: [root@10.204.217.99] out: 2015-05-19 12:28:01:179134: 2015-05-19 12:28:01:181570: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:28:01:181721: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:28:01:278465: [root@10.204.217.99] out: 2015-05-19 12:28:01:278583: 2015-05-19 12:28:01:278705: Dist is ubuntu 2015-05-19 12:28:01:278805: [root@10.204.217.99] sudo: dpkg -s nova-common | grep Version: | cut -d' ' -f2 | cut -d'-' -f1 2015-05-19 12:28:01:278867: [root@10.204.217.99] out: 1:2014.2.2 2015-05-19 12:28:01:411000: [root@10.204.217.99] out: 2015-05-19 12:28:01:411124: 2015-05-19 12:28:01:411225: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:28:01:411334: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:28:01:476258: [root@10.204.217.99] out: 2015-05-19 12:28:01:479523: 2015-05-19 12:28:01:508578: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:28:01:508817: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:28:01:560889: [root@10.204.217.99] out: 2015-05-19 12:28:01:564211: 2015-05-19 12:28:01:591884: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:28:01:592039: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:28:01:640798: [root@10.204.217.99] out: 2015-05-19 12:28:01:640916: 2015-05-19 12:28:01:641050: Dist is ubuntu 2015-05-19 12:28:01:641158: [root@10.204.217.99] sudo: dpkg -s nova-common | grep Version: | cut -d' ' -f2 | cut -d'-' -f1 2015-05-19 12:28:01:641219: [root@10.204.217.99] out: 1:2014.2.2 2015-05-19 12:28:01:770511: [root@10.204.217.99] out: 2015-05-19 12:28:01:770632: 2015-05-19 12:28:01:770731: [root@10.204.217.99] sudo: service mongodb stop 2015-05-19 12:28:01:770864: [root@10.204.217.99] out: mongodb stop/waiting 2015-05-19 12:28:01:988536: [root@10.204.217.99] out: 2015-05-19 12:28:01:988672: 2015-05-19 12:28:01:988919: [root@10.204.217.99] sudo: sed -i -e '/^[ ]*bind/s/^/#/' /etc/mongodb.conf 2015-05-19 12:28:01:989023: [root@10.204.217.99] sudo: service mongodb start 2015-05-19 12:28:02:035829: [root@10.204.217.99] out: mongodb start/running, process 9399 2015-05-19 12:28:02:168408: [root@10.204.217.99] out: 2015-05-19 12:28:02:168527: 2015-05-19 12:28:02:168625: [root@10.204.217.99] sudo: service mongodb status | grep not 2015-05-19 12:28:02:168722: [root@10.204.217.99] sudo: mongo --host 10.204.217.99 --quiet --eval "db.system.users.find({'user':'ceilometer'}).count()" ceilometer 2015-05-19 12:28:02:249988: [root@10.204.217.99] out: 0 2015-05-19 12:28:02:383361: [root@10.204.217.99] out: 2015-05-19 12:28:02:383479: 2015-05-19 12:28:02:385557: [root@10.204.217.99] sudo: mongo --host 10.204.217.99 --eval 'db = db.getSiblingDB("ceilometer"); db.addUser({user: "ceilometer", pwd: "CEILOMETER_DBPASS", roles: [ "readWrite", "dbAdmin" ]})' 2015-05-19 12:28:02:385676: [root@10.204.217.99] out: MongoDB shell version: 2.4.9 2015-05-19 12:28:02:420590: [root@10.204.217.99] out: connecting to: 10.204.217.99:27017/test 2015-05-19 12:28:02:484168: [root@10.204.217.99] out: { 2015-05-19 12:28:02:484276: [root@10.204.217.99] out: "user" : "ceilometer", 2015-05-19 12:28:02:484325: [root@10.204.217.99] out: "pwd" : "447c1db3b92df9035684b39ad9fa2185", 2015-05-19 12:28:02:484372: [root@10.204.217.99] out: "roles" : [ 2015-05-19 12:28:02:484417: [root@10.204.217.99] out: "readWrite", 2015-05-19 12:28:02:484462: [root@10.204.217.99] out: "dbAdmin" 2015-05-19 12:28:02:484506: [root@10.204.217.99] out: ], 2015-05-19 12:28:02:484549: [root@10.204.217.99] out: "_id" : ObjectId("555adefab71b6f5f25fae5c1") 2015-05-19 12:28:02:484615: [root@10.204.217.99] out: } 2015-05-19 12:28:02:484660: [root@10.204.217.99] out: 2015-05-19 12:28:02:551140: 2015-05-19 12:28:02:551303: [root@10.204.217.99] sudo: openstack-config --set /etc/ceilometer/ceilometer.conf database connection mongodb://ceilometer:CEILOMETER_DBPASS@10.204.217.99:27017/ceilometer 2015-05-19 12:28:02:551424: [root@10.204.217.99] sudo: openstack-config --set /etc/ceilometer/ceilometer.conf DEFAULT rabbit_host 10.204.217.99 2015-05-19 12:28:02:648653: [root@10.204.217.99] sudo: openstack-config --set /etc/ceilometer/ceilometer.conf DEFAULT log_dir /var/log/ceilometer 2015-05-19 12:28:02:748577: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:28:02:845750: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:28:02:944042: [root@10.204.217.99] out: 2015-05-19 12:28:02:944162: 2015-05-19 12:28:02:944360: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:28:02:944503: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:28:02:994539: [root@10.204.217.99] out: 2015-05-19 12:28:02:995978: 2015-05-19 12:28:03:025645: Dist is ubuntu 2015-05-19 12:28:03:025767: [root@10.204.217.99] sudo: dpkg -s nova-common | grep Version: | cut -d' ' -f2 | cut -d'-' -f1 2015-05-19 12:28:03:025833: [root@10.204.217.99] out: 1:2014.2.2 2015-05-19 12:28:03:106843: [root@10.204.217.99] out: 2015-05-19 12:28:03:106970: 2015-05-19 12:28:03:107154: [root@10.204.217.99] sudo: openstack-config --set /etc/ceilometer/ceilometer.conf publisher metering_secret a74ca26452848001921c 2015-05-19 12:28:03:107256: [root@10.204.217.99] sudo: openstack-config --set /etc/ceilometer/ceilometer.conf DEFAULT auth_strategy keystone 2015-05-19 12:28:03:204555: [root@10.204.217.99] sudo: source /etc/contrail/openstackrc;keystone user-get ceilometer 2015-05-19 12:28:03:288012: [root@10.204.217.99] out: No user with a name or ID of 'ceilometer' exists. 2015-05-19 12:28:06:288429: [root@10.204.217.99] out: 2015-05-19 12:28:06:295787: 2015-05-19 12:28:06:325138: [root@10.204.217.99] sudo: source /etc/contrail/openstackrc;keystone user-create --name=ceilometer --pass=CEILOMETER_PASS --tenant=service --email=ceilometer@example.com 2015-05-19 12:28:06:325318: [root@10.204.217.99] out: +----------+----------------------------------+ 2015-05-19 12:28:07:708445: [root@10.204.217.99] out: | Property | Value | 2015-05-19 12:28:07:708560: [root@10.204.217.99] out: +----------+----------------------------------+ 2015-05-19 12:28:07:708650: [root@10.204.217.99] out: | email | ceilometer@example.com | 2015-05-19 12:28:07:708736: [root@10.204.217.99] out: | enabled | True | 2015-05-19 12:28:07:708822: [root@10.204.217.99] out: | id | d6919f96fa8a4205bf8978b2effd2bc4 | 2015-05-19 12:28:07:708907: [root@10.204.217.99] out: | name | ceilometer | 2015-05-19 12:28:07:708992: [root@10.204.217.99] out: | tenantId | f385ecc3c3df41a8866614ebc5b9a3fc | 2015-05-19 12:28:07:709077: [root@10.204.217.99] out: | username | ceilometer | 2015-05-19 12:28:07:709162: [root@10.204.217.99] out: +----------+----------------------------------+ 2015-05-19 12:28:07:709247: [root@10.204.217.99] out: 2015-05-19 12:28:07:709951: 2015-05-19 12:28:07:710215: [root@10.204.217.99] sudo: source /etc/contrail/openstackrc;keystone user-role-add --user=ceilometer --tenant=service --role=admin 2015-05-19 12:28:07:710434: [root@10.204.217.99] sudo: grep '^auth_host =' /etc/ceilometer/ceilometer.conf 2015-05-19 12:28:08:360102: [root@10.204.217.99] sudo: openstack-config --set /etc/ceilometer/ceilometer.conf keystone_authtoken admin_password CEILOMETER_PASS 2015-05-19 12:28:08:415066: [root@10.204.217.99] sudo: openstack-config --set /etc/ceilometer/ceilometer.conf keystone_authtoken admin_user ceilometer 2015-05-19 12:28:08:512748: [root@10.204.217.99] sudo: openstack-config --set /etc/ceilometer/ceilometer.conf keystone_authtoken admin_tenant_name service 2015-05-19 12:28:08:610450: [root@10.204.217.99] sudo: openstack-config --set /etc/ceilometer/ceilometer.conf keystone_authtoken auth_uri http://10.204.217.99:5000 2015-05-19 12:28:08:708415: [root@10.204.217.99] sudo: openstack-config --set /etc/ceilometer/ceilometer.conf keystone_authtoken auth_protocol http 2015-05-19 12:28:08:805998: [root@10.204.217.99] sudo: openstack-config --set /etc/ceilometer/ceilometer.conf keystone_authtoken auth_port 35357 2015-05-19 12:28:08:887786: [root@10.204.217.99] sudo: openstack-config --set /etc/ceilometer/ceilometer.conf keystone_authtoken auth_host 10.204.217.99 2015-05-19 12:28:08:985344: [root@10.204.217.99] sudo: openstack-config --set /etc/ceilometer/ceilometer.conf service_credentials os_password CEILOMETER_PASS 2015-05-19 12:28:09:083548: [root@10.204.217.99] sudo: openstack-config --set /etc/ceilometer/ceilometer.conf service_credentials os_tenant_name service 2015-05-19 12:28:09:165530: [root@10.204.217.99] sudo: openstack-config --set /etc/ceilometer/ceilometer.conf service_credentials os_username ceilometer 2015-05-19 12:28:09:263447: [root@10.204.217.99] sudo: openstack-config --set /etc/ceilometer/ceilometer.conf service_credentials os_auth_url http://10.204.217.99:5000/v2.0 2015-05-19 12:28:09:345220: [root@10.204.217.99] sudo: source /etc/contrail/openstackrc;keystone service-list | grep ceilometer 2015-05-19 12:28:09:443046: [root@10.204.217.99] sudo: source /etc/contrail/openstackrc;keystone service-create --name=ceilometer --type=metering --description="Telemetry" 2015-05-19 12:28:09:762409: [root@10.204.217.99] out: +-------------+----------------------------------+ 2015-05-19 12:28:10:128182: [root@10.204.217.99] out: | Property | Value | 2015-05-19 12:28:10:128237: [root@10.204.217.99] out: +-------------+----------------------------------+ 2015-05-19 12:28:10:128279: [root@10.204.217.99] out: | description | Telemetry | 2015-05-19 12:28:10:128319: [root@10.204.217.99] out: | enabled | True | 2015-05-19 12:28:10:128358: [root@10.204.217.99] out: | id | d658400e5e8f45ae86c52fa75d51f914 | 2015-05-19 12:28:10:128448: [root@10.204.217.99] out: | name | ceilometer | 2015-05-19 12:28:10:128575: [root@10.204.217.99] out: | type | metering | 2015-05-19 12:28:10:128618: [root@10.204.217.99] out: +-------------+----------------------------------+ 2015-05-19 12:28:10:128658: [root@10.204.217.99] out: 2015-05-19 12:28:10:136349: 2015-05-19 12:28:10:160747: [root@10.204.217.99] sudo: source /etc/contrail/openstackrc;keystone endpoint-create --service-id=$(keystone service-list | awk '/ metering / {print $2}') --publicurl=http://10.204.217.99:8777 --internalurl=http://10.204.217.99:8777 --adminurl=http://10.204.217.99:8777 --region=RegionOne 2015-05-19 12:28:10:160962: [root@10.204.217.99] out: +-------------+----------------------------------+ 2015-05-19 12:28:10:943184: [root@10.204.217.99] out: | Property | Value | 2015-05-19 12:28:10:943294: [root@10.204.217.99] out: +-------------+----------------------------------+ 2015-05-19 12:28:10:943378: [root@10.204.217.99] out: | adminurl | http://10.204.217.99:8777 | 2015-05-19 12:28:10:943441: [root@10.204.217.99] out: | id | 864887fdb804496bb53b415c099ea04d | 2015-05-19 12:28:10:943498: [root@10.204.217.99] out: | internalurl | http://10.204.217.99:8777 | 2015-05-19 12:28:10:943553: [root@10.204.217.99] out: | publicurl | http://10.204.217.99:8777 | 2015-05-19 12:28:10:943615: [root@10.204.217.99] out: | region | RegionOne | 2015-05-19 12:28:10:943676: [root@10.204.217.99] out: | service_id | d658400e5e8f45ae86c52fa75d51f914 | 2015-05-19 12:28:10:943728: [root@10.204.217.99] out: +-------------+----------------------------------+ 2015-05-19 12:28:10:943791: [root@10.204.217.99] out: 2015-05-19 12:28:10:951504: 2015-05-19 12:28:10:979945: [root@10.204.217.99] download: /tmp/tmpAOVYoV/pipeline.yaml <- /etc/ceilometer/pipeline.yaml 2015-05-19 12:28:11:015595: Excluding floating IP meters from source meter_source 2015-05-19 12:28:11:037073: [root@10.204.217.99] sudo: (tempdir=$(mktemp -d); echo $tempdir) 2015-05-19 12:28:11:043901: [root@10.204.217.99] out: /tmp/tmp.O5QEsENqhl 2015-05-19 12:28:11:076605: [root@10.204.217.99] out: 2015-05-19 12:28:11:076920: 2015-05-19 12:28:11:081582: [root@10.204.217.99] put: /tmp/tmpAOVYoV/pipeline.yaml -> /tmp/tmp.O5QEsENqhl/pipeline.yaml 2015-05-19 12:28:11:153402: [root@10.204.217.99] sudo: mv /tmp/tmp.O5QEsENqhl/pipeline.yaml /etc/ceilometer/pipeline.yaml 2015-05-19 12:28:11:180315: [localhost] local: rm -rf /tmp/tmpAOVYoV 2015-05-19 12:28:11:235118: [root@10.204.217.99] sudo: rm -rf /tmp/tmp.O5QEsENqhl 2015-05-19 12:28:11:239214: [root@10.204.217.99] sudo: service ceilometer-agent-central restart 2015-05-19 12:28:11:294520: [root@10.204.217.99] out: ceilometer-agent-central stop/waiting 2015-05-19 12:28:11:392227: [root@10.204.217.99] out: ceilometer-agent-central start/running, process 9930 2015-05-19 12:28:11:399808: [root@10.204.217.99] out: 2015-05-19 12:28:11:400022: 2015-05-19 12:28:11:428828: [root@10.204.217.99] sudo: service ceilometer-agent-notification restart 2015-05-19 12:28:11:428942: [root@10.204.217.99] out: ceilometer-agent-notification stop/waiting 2015-05-19 12:28:11:501018: [root@10.204.217.99] out: ceilometer-agent-notification start/running, process 9950 2015-05-19 12:28:11:501179: [root@10.204.217.99] out: 2015-05-19 12:28:11:501348: 2015-05-19 12:28:11:501471: [root@10.204.217.99] sudo: service ceilometer-api restart 2015-05-19 12:28:11:501598: [root@10.204.217.99] out: ceilometer-api stop/waiting 2015-05-19 12:28:11:551016: [root@10.204.217.99] out: ceilometer-api start/running, process 9972 2015-05-19 12:28:11:551111: [root@10.204.217.99] out: 2015-05-19 12:28:11:551295: 2015-05-19 12:28:11:552532: [root@10.204.217.99] sudo: service ceilometer-collector restart 2015-05-19 12:28:11:552639: [root@10.204.217.99] out: ceilometer-collector stop/waiting 2015-05-19 12:28:11:686191: [root@10.204.217.99] out: ceilometer-collector start/running, process 9995 2015-05-19 12:28:11:686247: [root@10.204.217.99] out: 2015-05-19 12:28:11:686390: 2015-05-19 12:28:11:686602: [root@10.204.217.99] sudo: service ceilometer-alarm-evaluator restart 2015-05-19 12:28:11:686706: [root@10.204.217.99] out: ceilometer-alarm-evaluator stop/waiting 2015-05-19 12:28:11:783482: [root@10.204.217.99] out: ceilometer-alarm-evaluator start/running, process 10021 2015-05-19 12:28:11:790830: [root@10.204.217.99] out: 2015-05-19 12:28:11:790991: 2015-05-19 12:28:11:820082: [root@10.204.217.99] sudo: service ceilometer-alarm-notifier restart 2015-05-19 12:28:11:820189: [root@10.204.217.99] out: ceilometer-alarm-notifier stop/waiting 2015-05-19 12:28:11:892670: [root@10.204.217.99] out: ceilometer-alarm-notifier start/running, process 10045 2015-05-19 12:28:11:893875: [root@10.204.217.99] out: 2015-05-19 12:28:11:901453: 2015-05-19 12:28:11:929417: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:28:11:929698: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:28:11:981758: [root@10.204.217.99] out: 2015-05-19 12:28:11:981876: 2015-05-19 12:28:11:987459: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:28:11:987625: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:28:12:052777: [root@10.204.217.99] out: 2015-05-19 12:28:12:052895: 2015-05-19 12:28:12:053044: Dist is ubuntu 2015-05-19 12:28:12:053152: [root@10.204.217.99] sudo: dpkg -s nova-common | grep Version: | cut -d' ' -f2 | cut -d'-' -f1 2015-05-19 12:28:12:053216: [root@10.204.217.99] out: 1:2014.2.2 2015-05-19 12:28:12:152842: [root@10.204.217.99] out: 2015-05-19 12:28:12:152964: 2015-05-19 12:28:12:153065: [root@10.204.217.99] sudo: openstack-config --set /etc/glance/glance-api.conf DEFAULT notification_driver messaging 2015-05-19 12:28:12:153180: [root@10.204.217.99] sudo: openstack-config --set /etc/glance/glance-api.conf DEFAULT rabbit_password guest 2015-05-19 12:28:12:250161: [root@10.204.217.99] sudo: openstack-config --set /etc/glance/glance-api.conf DEFAULT rabbit_host 10.204.217.99 2015-05-19 12:28:12:347372: [root@10.204.217.99] sudo: openstack-config --set /etc/glance/glance-api.conf DEFAULT rpc_backend rabbit 2015-05-19 12:28:12:444131: [root@10.204.217.99] sudo: service glance-registry restart 2015-05-19 12:28:12:541234: [root@10.204.217.99] out: glance-registry: stopped 2015-05-19 12:28:12:906738: [root@10.204.217.99] out: glance-registry: started 2015-05-19 12:28:14:672821: [root@10.204.217.99] out: 2015-05-19 12:28:14:673138: 2015-05-19 12:28:14:673535: [root@10.204.217.99] sudo: service glance-api restart 2015-05-19 12:28:14:673735: [root@10.204.217.99] out: glance-api: stopped 2015-05-19 12:28:15:793089: [root@10.204.217.99] out: glance-api: started 2015-05-19 12:28:17:295347: [root@10.204.217.99] out: 2015-05-19 12:28:17:295650: 2015-05-19 12:28:17:295888: [root@10.204.217.99] Executing task 'verify_openstack' 2015-05-19 12:28:17:296233: [root@10.204.217.99] sudo: service keystone status 2015-05-19 12:28:17:296448: [root@10.204.217.99] out: keystone RUNNING pid 9095, uptime 0:00:17 2015-05-19 12:28:17:414359: [root@10.204.217.99] out: 2015-05-19 12:28:17:414846: 2015-05-19 12:28:17:415103: [root@10.204.217.99] sudo: source /etc/contrail/openstackrc; keystone tenant-list 2015-05-19 12:28:17:415353: [root@10.204.217.99] out: +----------------------------------+--------------------+---------+ 2015-05-19 12:28:17:749596: [root@10.204.217.99] out: | id | name | enabled | 2015-05-19 12:28:17:749712: [root@10.204.217.99] out: +----------------------------------+--------------------+---------+ 2015-05-19 12:28:17:749977: [root@10.204.217.99] out: | 74bdb185e8054bd4a8eb0c35acebc66a | admin | True | 2015-05-19 12:28:17:750125: [root@10.204.217.99] out: | 46a0c894b8e54c9a8752d3d27d447f11 | demo | True | 2015-05-19 12:28:17:750238: [root@10.204.217.99] out: | c977c7591df94e19988b7b91ef1f838d | invisible_to_admin | True | 2015-05-19 12:28:17:750327: [root@10.204.217.99] out: | f385ecc3c3df41a8866614ebc5b9a3fc | service | True | 2015-05-19 12:28:17:750433: [root@10.204.217.99] out: +----------------------------------+--------------------+---------+ 2015-05-19 12:28:17:750521: [root@10.204.217.99] out: 2015-05-19 12:28:17:751117: 2015-05-19 12:28:17:751370: [root@10.204.217.99] Executing task 'setup_cfgm' 2015-05-19 12:28:17:751727: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:28:17:752064: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:28:17:817366: [root@10.204.217.99] out: 2015-05-19 12:28:17:820699: 2015-05-19 12:28:17:849876: [root@10.204.217.99] sudo: sudo sed -i 's/ENABLED=.*/ENABLED=1/g' /etc/default/haproxy 2015-05-19 12:28:17:850190: [root@10.204.217.99] run: (tempdir=$(mktemp -d); echo $tempdir) 2015-05-19 12:28:17:892009: [root@10.204.217.99] out: /tmp/tmp.E9hjZ9Py4i 2015-05-19 12:28:17:941220: [root@10.204.217.99] out: 2015-05-19 12:28:17:941479: 2015-05-19 12:28:17:941808: [root@10.204.217.99] sudo: cp -rf /etc/haproxy/haproxy.cfg /tmp/tmp.E9hjZ9Py4i/tmphaproxy.cfg 2015-05-19 12:28:17:942032: [root@10.204.217.99] sudo: chmod -R 777 /tmp/tmp.E9hjZ9Py4i/tmphaproxy.cfg 2015-05-19 12:28:17:996738: [root@10.204.217.99] download: /tmp/haproxy-root@10.204.217.99-config <- /tmp/tmp.E9hjZ9Py4i/tmphaproxy.cfg 2015-05-19 12:28:18:125449: [root@10.204.217.99] sudo: rm -rf /tmp/tmp.E9hjZ9Py4i 2015-05-19 12:28:18:131057: [localhost] local: sed -i -e '/^#contrail-config-marker-start/,/^#contrail-config-marker-end/d' /tmp/haproxy-root@10.204.217.99-config 2015-05-19 12:28:18:218249: [localhost] local: sed -i -e 's/frontend\s*main\s*\*:5000/frontend main *:5001/' /tmp/haproxy-root@10.204.217.99-config 2015-05-19 12:28:18:222897: [localhost] local: sed -i -e 's/ssl-relay 0.0.0.0:8443/ssl-relay 0.0.0.0:5002/' /tmp/haproxy-root@10.204.217.99-config 2015-05-19 12:28:18:227330: [root@10.204.217.99] put: /tmp/haproxy-root@10.204.217.99-config -> /etc/haproxy/haproxy.cfg 2015-05-19 12:28:18:271659: [localhost] local: rm /tmp/haproxy-root@10.204.217.99-config 2015-05-19 12:28:18:298802: [root@10.204.217.99] sudo: chkconfig haproxy on 2015-05-19 12:28:18:302994: [root@10.204.217.99] sudo: service haproxy restart 2015-05-19 12:28:18:358206: [root@10.204.217.99] out: * Restarting haproxy haproxy 2015-05-19 12:28:18:423615: [root@10.204.217.99] out: [ALERT] 138/122818 (10260) : sendto logger #1 failed: Resource temporarily unavailable (errno=11) 2015-05-19 12:28:18:424184: [root@10.204.217.99] out: ...done. 2015-05-19 12:28:18:424545: [root@10.204.217.99] out: 2015-05-19 12:28:18:425147: 2015-05-19 12:28:18:456151: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:28:18:456459: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:28:18:529738: [root@10.204.217.99] out: 2015-05-19 12:28:18:530149: 2015-05-19 12:28:18:530393: [root@10.204.217.99] sudo: rm /etc/init/supervisor-config.override 2015-05-19 12:28:18:530777: [root@10.204.217.99] sudo: rm /etc/init/neutron-server.override 2015-05-19 12:28:18:561533: [root@10.204.217.99] sudo: sudo ls /etc/contrail/service.token 2015-05-19 12:28:18:648594: [root@10.204.217.99] out: /etc/contrail/service.token 2015-05-19 12:28:18:746025: [root@10.204.217.99] out: 2015-05-19 12:28:18:746455: 2015-05-19 12:28:18:746703: [root@10.204.217.99] sudo: sudo cat /etc/contrail/service.token 2015-05-19 12:28:18:746915: [root@10.204.217.99] out: 228c309425f7df134ecc 2015-05-19 12:28:18:812617: [root@10.204.217.99] sudo: grep "^[ ]*admin_token" /etc/keystone/keystone.conf | tr -d ' '| awk -F"=" {'print $2'} 2015-05-19 12:28:18:813000: [root@10.204.217.99] out: 228c309425f7df134ecc 2015-05-19 12:28:18:862565: [root@10.204.217.99] out: 2015-05-19 12:28:18:862902: 2015-05-19 12:28:18:867650: [root@10.204.217.99] sudo: setup-vnc-config --self_ip 10.204.217.99 --collector_ip 10.204.217.99 --multi_tenancy --cassandra_ip_list 10.204.217.99 --zookeeper_ip_list 10.204.217.99 --quantum_port 9697 --nworkers 1 --service_token 228c309425f7df134ecc --amqp_server_ip 10.204.217.99 --orchestrator openstack --keystone_ip 10.204.217.99 --keystone_admin_passwd contrail123 --keystone_service_tenant_name service --keystone_auth_protocol http --keystone_auth_port 35357 --keystone_admin_token 228c309425f7df134ecc --keystone_insecure False --region_name RegionOne 2015-05-19 12:28:18:867959: [root@10.204.217.99] out: [localhost] local: ln -sf /bin/true /sbin/chkconfig 2015-05-19 12:28:19:097538: [root@10.204.217.99] out: [localhost] local: ln -sf /bin/true /sbin/chkconfig 2015-05-19 12:28:19:097832: [root@10.204.217.99] out: [localhost] local: sudo sed 's/SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config > config.new 2015-05-19 12:28:19:097936: [root@10.204.217.99] out: [localhost] local: sudo mv config.new /etc/selinux/config 2015-05-19 12:28:19:098029: [root@10.204.217.99] out: [localhost] local: setenforce 0 2015-05-19 12:28:19:105684: [root@10.204.217.99] out: /bin/sh: 1: setenforce: not found 2015-05-19 12:28:19:105837: [root@10.204.217.99] out: 2015-05-19 12:28:19:105937: [root@10.204.217.99] out: Warning: local() encountered an error (return code 127) while executing 'setenforce 0' 2015-05-19 12:28:19:106162: [root@10.204.217.99] out: 2015-05-19 12:28:19:106313: [root@10.204.217.99] out: [localhost] local: rm config.new 2015-05-19 12:28:19:106415: [root@10.204.217.99] out: rm: cannot remove ‘config.new’: No such file or directory 2015-05-19 12:28:19:108032: [root@10.204.217.99] out: 2015-05-19 12:28:19:108222: [root@10.204.217.99] out: Warning: local() encountered an error (return code 1) while executing 'rm config.new' 2015-05-19 12:28:19:108367: [root@10.204.217.99] out: 2015-05-19 12:28:19:108518: [root@10.204.217.99] out: [localhost] local: sudo chkconfig iptables off 2015-05-19 12:28:19:108676: [root@10.204.217.99] out: [localhost] local: sudo iptables --flush 2015-05-19 12:28:19:124545: [root@10.204.217.99] out: [localhost] local: sudo sed '/DAEMON_COREFILE_LIMIT=.*/d' /etc/sysconfig/init > /etc/sysconfig/init.new 2015-05-19 12:28:19:126009: [root@10.204.217.99] out: /bin/sh: 1: cannot create /etc/sysconfig/init.new: Directory nonexistent 2015-05-19 12:28:19:127556: [root@10.204.217.99] out: 2015-05-19 12:28:19:127830: [root@10.204.217.99] out: Warning: local() encountered an error (return code 2) while executing 'sudo sed '/DAEMON_COREFILE_LIMIT=.*/d' /etc/sysconfig/init > /etc/sysconfig/init.new' 2015-05-19 12:28:19:127939: [root@10.204.217.99] out: 2015-05-19 12:28:19:128176: [root@10.204.217.99] out: [localhost] local: sudo mv /etc/sysconfig/init.new /etc/sysconfig/init 2015-05-19 12:28:19:128556: [root@10.204.217.99] out: mv: cannot stat ‘/etc/sysconfig/init.new’: No such file or directory 2015-05-19 12:28:19:136076: [root@10.204.217.99] out: 2015-05-19 12:28:19:137530: [root@10.204.217.99] out: Warning: local() encountered an error (return code 1) while executing 'sudo mv /etc/sysconfig/init.new /etc/sysconfig/init' 2015-05-19 12:28:19:137798: [root@10.204.217.99] out: 2015-05-19 12:28:19:137911: [root@10.204.217.99] out: kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t 2015-05-19 12:28:19:138002: [root@10.204.217.99] out: [localhost] local: grep -q 'kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t' /etc/sysctl.conf || echo 'kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t' >> /etc/sysctl.conf 2015-05-19 12:28:19:138094: [root@10.204.217.99] out: [localhost] local: sudo sed 's/net.ipv4.ip_forward.*/net.ipv4.ip_forward = 1/g' /etc/sysctl.conf > /tmp/sysctl.new 2015-05-19 12:28:19:141742: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/sysctl.new /etc/sysctl.conf 2015-05-19 12:28:19:149193: [root@10.204.217.99] out: [localhost] local: rm /tmp/sysctl.new 2015-05-19 12:28:19:156666: [root@10.204.217.99] out: rm: cannot remove ‘/tmp/sysctl.new’: No such file or directory 2015-05-19 12:28:19:158120: [root@10.204.217.99] out: 2015-05-19 12:28:19:158274: [root@10.204.217.99] out: Warning: local() encountered an error (return code 1) while executing 'rm /tmp/sysctl.new' 2015-05-19 12:28:19:158383: [root@10.204.217.99] out: 2015-05-19 12:28:19:158480: [root@10.204.217.99] out: [localhost] local: sysctl -p 2015-05-19 12:28:19:158556: [root@10.204.217.99] out: fs.file-max = 65535 2015-05-19 12:28:19:160232: [root@10.204.217.99] out: kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t 2015-05-19 12:28:19:160351: [root@10.204.217.99] out: net.ipv4.ip_local_reserved_ports = 35357,35358,35357,35358,35357,35358,33306 2015-05-19 12:28:19:160424: [root@10.204.217.99] out: [localhost] local: mkdir -p /var/crashes 2015-05-19 12:28:19:160523: [root@10.204.217.99] out: [localhost] local: chmod 777 /var/crashes 2015-05-19 12:28:19:164115: [root@10.204.217.99] out: [localhost] local: sed -i 's/crashkernel=.*\([ | \"]\)/crashkernel=384M-2G:64M,2G-16G:128M,16G-:256M\1/g' /etc/default/grub.d/kexec-tools.cfg 2015-05-19 12:28:19:167552: [root@10.204.217.99] out: [localhost] local: [ -f /etc/default/kdump-tools ] && sed -i 's/USE_KDUMP=0/USE_KDUMP=1/' /etc/default/kdump-tools 2015-05-19 12:28:19:168976: [root@10.204.217.99] out: [localhost] local: update-grub 2015-05-19 12:28:19:172441: [root@10.204.217.99] out: Generating grub configuration file ... 2015-05-19 12:28:20:037354: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 10455: /usr/sbin/grub-probe 2015-05-19 12:28:20:770049: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 10455: /usr/sbin/grub-probe 2015-05-19 12:28:20:801795: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 10466: /usr/sbin/grub-probe 2015-05-19 12:28:20:809463: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 10466: /usr/sbin/grub-probe 2015-05-19 12:28:20:841246: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 10477: /usr/sbin/grub-probe 2015-05-19 12:28:20:856910: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 10477: /usr/sbin/grub-probe 2015-05-19 12:28:20:888656: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 10488: /usr/sbin/grub-probe 2015-05-19 12:28:20:989109: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 10488: /usr/sbin/grub-probe 2015-05-19 12:28:21:189727: [root@10.204.217.99] out: Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported. 2015-05-19 12:28:21:590563: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 10544: /usr/sbin/grub-probe 2015-05-19 12:28:21:590668: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 10544: /usr/sbin/grub-probe 2015-05-19 12:28:21:654341: [root@10.204.217.99] out: Found linux image: /boot/vmlinuz-3.13.0-40-generic 2015-05-19 12:28:21:718202: [root@10.204.217.99] out: Found initrd image: /boot/initrd.img-3.13.0-40-generic 2015-05-19 12:28:21:718392: [root@10.204.217.99] out: Found linux image: /boot/vmlinuz-3.13.0-24-generic 2015-05-19 12:28:22:319494: [root@10.204.217.99] out: Found initrd image: /boot/initrd.img-3.13.0-24-generic 2015-05-19 12:28:22:319677: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 10876: /usr/sbin/grub-probe 2015-05-19 12:28:22:351375: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 10876: /usr/sbin/grub-probe 2015-05-19 12:28:22:515329: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on lvs invocation. Parent PID 10970: /bin/sh 2015-05-19 12:28:22:579515: [root@10.204.217.99] out: done 2015-05-19 12:28:22:695326: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/tmpNqgkGP/contrail-keystone-auth.conf /etc/contrail/ 2015-05-19 12:28:22:695507: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/tmpNqgkGP/log4j.properties /etc/ifmap-server/ 2015-05-19 12:28:22:703057: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/tmpNqgkGP/authorization.properties /etc/ifmap-server/ 2015-05-19 12:28:22:710603: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/tmpNqgkGP/basicauthusers.properties /etc/ifmap-server/ 2015-05-19 12:28:22:718174: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/tmpNqgkGP/publisher.properties /etc/ifmap-server/ 2015-05-19 12:28:22:725781: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/tmpNqgkGP/contrail-api.conf /etc/contrail/ 2015-05-19 12:28:22:741429: [root@10.204.217.99] out: [localhost] local: sudo openstack-config --set /etc/contrail/contrail-api.conf DEFAULTS auth keystone 2015-05-19 12:28:22:741626: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/tmpNqgkGP/contrail-api.ini /etc/contrail/supervisord_config_files/ 2015-05-19 12:28:22:773397: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/tmpNqgkGP/contrail-api /etc/init.d/ 2015-05-19 12:28:22:780847: [root@10.204.217.99] out: [localhost] local: sudo chmod a+x /etc/init.d/contrail-api 2015-05-19 12:28:22:784232: [root@10.204.217.99] out: [localhost] local: sudo mkdir -p /etc/neutron/plugins/opencontrail 2015-05-19 12:28:22:791782: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/tmpNqgkGP/contrail_plugin.ini /etc/neutron/plugins/opencontrail/ContrailPlugin.ini 2015-05-19 12:28:22:799353: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/NEUTRON_PLUGIN_CONFIG=.*/NEUTRON_PLUGIN_CONFIG="\/etc\/neutron\/plugins\/opencontrail\/ContrailPlugin.ini"/g' /etc/default/neutron-server 2015-05-19 12:28:22:806929: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/tmpNqgkGP/contrail-schema.conf /etc/contrail/contrail-schema.conf 2015-05-19 12:28:22:814510: [root@10.204.217.99] out: [localhost] local: sudo chmod a+x /etc/init.d/contrail-schema 2015-05-19 12:28:22:830157: [root@10.204.217.99] out: [localhost] local: sudo openstack-config --set /etc/contrail/supervisord_config_files/contrail-schema.ini program:contrail-schema command "/usr/bin/contrail-schema --conf_file /etc/contrail/contrail-schema.conf --conf_file /etc/contrail/contrail-keystone-auth.conf" 2015-05-19 12:28:22:831661: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/tmpNqgkGP/contrail-device-manager.conf /etc/contrail/contrail-device-manager.conf 2015-05-19 12:28:22:863425: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/tmpNqgkGP/contrail-svc-monitor.conf /etc/contrail/contrail-svc-monitor.conf 2015-05-19 12:28:22:866978: [root@10.204.217.99] out: [localhost] local: sudo openstack-config --set /etc/contrail/supervisord_config_files/contrail-svc-monitor.ini program:contrail-svc-monitor command "/usr/bin/contrail-svc-monitor --conf_file /etc/contrail/contrail-svc-monitor.conf --conf_file /etc/contrail/contrail-keystone-auth.conf" 2015-05-19 12:28:22:882630: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/tmpNqgkGP/contrail-discovery.conf /etc/contrail/ 2015-05-19 12:28:22:914415: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/tmpNqgkGP/contrail-discovery.ini /etc/contrail/supervisord_config_files/ 2015-05-19 12:28:22:914633: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/tmpNqgkGP/contrail-discovery /etc/init.d/ 2015-05-19 12:28:22:922224: [root@10.204.217.99] out: [localhost] local: sudo chmod a+x /etc/init.d/contrail-discovery 2015-05-19 12:28:22:929793: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/tmpNqgkGP/vnc_api_lib.ini /etc/contrail/ 2015-05-19 12:28:22:937323: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/tmpNqgkGP/contrail-config-nodemgr.conf /etc/contrail/contrail-config-nodemgr.conf 2015-05-19 12:28:22:952968: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/tmpNqgkGP/contrail_sudoers /etc/sudoers.d/ 2015-05-19 12:28:22:954308: [root@10.204.217.99] out: [localhost] local: sudo chmod 440 /etc/sudoers.d/contrail_sudoers 2015-05-19 12:28:22:961873: [root@10.204.217.99] out: [localhost] local: sudo echo SERVICE_TENANT=service >> /tmp/tmpNqgkGP/ctrl-details 2015-05-19 12:28:22:969441: [root@10.204.217.99] out: [localhost] local: sudo echo SERVICE_TOKEN=228c309425f7df134ecc >> /tmp/tmpNqgkGP/ctrl-details 2015-05-19 12:28:22:977021: [root@10.204.217.99] out: [localhost] local: sudo echo AUTH_PROTOCOL=http >> /tmp/tmpNqgkGP/ctrl-details 2015-05-19 12:28:22:992727: [root@10.204.217.99] out: [localhost] local: sudo echo QUANTUM_PROTOCOL=http >> /tmp/tmpNqgkGP/ctrl-details 2015-05-19 12:28:22:994140: [root@10.204.217.99] out: [localhost] local: sudo echo ADMIN_TOKEN=contrail123 >> /tmp/tmpNqgkGP/ctrl-details 2015-05-19 12:28:23:009785: [root@10.204.217.99] out: [localhost] local: sudo echo CONTROLLER=10.204.217.99 >> /tmp/tmpNqgkGP/ctrl-details 2015-05-19 12:28:23:011166: [root@10.204.217.99] out: [localhost] local: sudo echo AMQP_SERVER=10.204.217.99 >> /tmp/tmpNqgkGP/ctrl-details 2015-05-19 12:28:23:018713: [root@10.204.217.99] out: [localhost] local: sudo echo QUANTUM=10.204.217.99 >> /tmp/tmpNqgkGP/ctrl-details 2015-05-19 12:28:23:026244: [root@10.204.217.99] out: [localhost] local: sudo echo QUANTUM_PORT=9697 >> /tmp/tmpNqgkGP/ctrl-details 2015-05-19 12:28:23:033704: [root@10.204.217.99] out: [localhost] local: sudo cp /tmp/tmpNqgkGP/ctrl-details /etc/contrail/ctrl-details 2015-05-19 12:28:23:041218: [root@10.204.217.99] out: [localhost] local: sudo rm /tmp/tmpNqgkGP/ctrl-details 2015-05-19 12:28:23:048709: [root@10.204.217.99] out: [localhost] local: setup-quantum-in-keystone --ks_server_ip 10.204.217.99 --quant_server_ip 10.204.217.99 --tenant admin --user admin --password contrail123 --svc_password contrail123 --root_password None --region_name RegionOne 2015-05-19 12:28:23:056260: [root@10.204.217.99] out: tenant service exists! 2015-05-19 12:28:23:357010: [root@10.204.217.99] out: admin role exists! 2015-05-19 12:28:23:657728: [root@10.204.217.99] out: [localhost] local: sudo config-server-setup.sh 2015-05-19 12:28:23:958383: [root@10.204.217.99] out: + '[' -f /etc/redhat-release ']' 2015-05-19 12:28:23:958484: [root@10.204.217.99] out: + '[' -f /etc/lsb-release ']' 2015-05-19 12:28:23:958529: [root@10.204.217.99] out: + egrep -q 'DISTRIB_ID.*Ubuntu' /etc/lsb-release 2015-05-19 12:28:23:958570: [root@10.204.217.99] out: + is_ubuntu=1 2015-05-19 12:28:23:958611: [root@10.204.217.99] out: + is_redhat=0 2015-05-19 12:28:23:958653: [root@10.204.217.99] out: + web_svc=apache2 2015-05-19 12:28:23:958694: [root@10.204.217.99] out: + '[' '!' -f /usr/bin/nodejs ']' 2015-05-19 12:28:23:958734: [root@10.204.217.99] out: + echo '======= Enabling the services ======' 2015-05-19 12:28:23:958774: [root@10.204.217.99] out: ======= Enabling the services ====== 2015-05-19 12:28:23:958815: [root@10.204.217.99] out: + for svc in rabbitmq-server '$web_svc' memcached 2015-05-19 12:28:23:958854: [root@10.204.217.99] out: + chkconfig rabbitmq-server on 2015-05-19 12:28:23:958894: [root@10.204.217.99] out: + for svc in rabbitmq-server '$web_svc' memcached 2015-05-19 12:28:23:958934: [root@10.204.217.99] out: + chkconfig apache2 on 2015-05-19 12:28:23:958973: [root@10.204.217.99] out: + for svc in rabbitmq-server '$web_svc' memcached 2015-05-19 12:28:23:959014: [root@10.204.217.99] out: + chkconfig memcached on 2015-05-19 12:28:23:959054: [root@10.204.217.99] out: + for svc in supervisor-support-service supervisor-config quantum-server puppetmaster 2015-05-19 12:28:23:959095: [root@10.204.217.99] out: + chkconfig supervisor-support-service on 2015-05-19 12:28:23:959135: [root@10.204.217.99] out: + for svc in supervisor-support-service supervisor-config quantum-server puppetmaster 2015-05-19 12:28:23:959175: [root@10.204.217.99] out: + chkconfig supervisor-config on 2015-05-19 12:28:23:959219: [root@10.204.217.99] out: + for svc in supervisor-support-service supervisor-config quantum-server puppetmaster 2015-05-19 12:28:23:959260: [root@10.204.217.99] out: + chkconfig quantum-server on 2015-05-19 12:28:23:959300: [root@10.204.217.99] out: + for svc in supervisor-support-service supervisor-config quantum-server puppetmaster 2015-05-19 12:28:23:959340: [root@10.204.217.99] out: + chkconfig puppetmaster on 2015-05-19 12:28:23:959388: [root@10.204.217.99] out: + echo '======= Starting the services ======' 2015-05-19 12:28:23:959429: [root@10.204.217.99] out: ======= Starting the services ====== 2015-05-19 12:28:23:959469: [root@10.204.217.99] out: + for svc in rabbitmq-server '$web_svc' memcached 2015-05-19 12:28:23:959509: [root@10.204.217.99] out: + service rabbitmq-server restart 2015-05-19 12:28:23:959557: [root@10.204.217.99] out: rabbitmq-server: stopped 2015-05-19 12:28:25:025380: [root@10.204.217.99] out: rabbitmq-server: started 2015-05-19 12:28:30:396063: [root@10.204.217.99] out: + for svc in rabbitmq-server '$web_svc' memcached 2015-05-19 12:28:30:396248: [root@10.204.217.99] out: + service apache2 restart 2015-05-19 12:28:30:396337: [root@10.204.217.99] out: * Restarting web server apache2 2015-05-19 12:28:30:396420: [root@10.204.217.99] out: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message 2015-05-19 12:28:31:561696: [root@10.204.217.99] out: ...done. 2015-05-19 12:28:32:563265: [root@10.204.217.99] out: + for svc in rabbitmq-server '$web_svc' memcached 2015-05-19 12:28:32:563449: [root@10.204.217.99] out: + service memcached restart 2015-05-19 12:28:32:563545: [root@10.204.217.99] out: Restarting memcached: memcached. 2015-05-19 12:28:32:595331: [root@10.204.217.99] out: + for svc in puppetmaster 2015-05-19 12:28:32:595489: [root@10.204.217.99] out: + service puppetmaster restart 2015-05-19 12:28:32:595583: [root@10.204.217.99] out: puppetmaster: unrecognized service 2015-05-19 12:28:32:597007: [root@10.204.217.99] out: + tries=0 2015-05-19 12:28:32:597157: [root@10.204.217.99] out: + '[' 0 -lt 10 ']' 2015-05-19 12:28:32:597255: [root@10.204.217.99] out: + wget -O- http://localhost:8443 2015-05-19 12:28:32:597347: [root@10.204.217.99] out: + '[' 4 -eq 0 ']' 2015-05-19 12:28:32:661324: [root@10.204.217.99] out: + tries=1 2015-05-19 12:28:32:661476: [root@10.204.217.99] out: + sleep 1 2015-05-19 12:28:32:661582: [root@10.204.217.99] out: + '[' 1 -lt 10 ']' 2015-05-19 12:28:33:663237: [root@10.204.217.99] out: + wget -O- http://localhost:8443 2015-05-19 12:28:33:663413: [root@10.204.217.99] out: + '[' 4 -eq 0 ']' 2015-05-19 12:28:33:663507: [root@10.204.217.99] out: + tries=2 2015-05-19 12:28:33:663597: [root@10.204.217.99] out: + sleep 1 2015-05-19 12:28:33:663687: [root@10.204.217.99] out: + '[' 2 -lt 10 ']' 2015-05-19 12:28:34:665540: [root@10.204.217.99] out: + wget -O- http://localhost:8443 2015-05-19 12:28:34:665720: [root@10.204.217.99] out: + '[' 4 -eq 0 ']' 2015-05-19 12:28:34:665816: [root@10.204.217.99] out: + tries=3 2015-05-19 12:28:34:665907: [root@10.204.217.99] out: + sleep 1 2015-05-19 12:28:34:665997: [root@10.204.217.99] out: + '[' 3 -lt 10 ']' 2015-05-19 12:28:35:667747: [root@10.204.217.99] out: + wget -O- http://localhost:8443 2015-05-19 12:28:35:667950: [root@10.204.217.99] out: + '[' 4 -eq 0 ']' 2015-05-19 12:28:35:668072: [root@10.204.217.99] out: + tries=4 2015-05-19 12:28:35:668263: [root@10.204.217.99] out: + sleep 1 2015-05-19 12:28:35:668414: [root@10.204.217.99] out: + '[' 4 -lt 10 ']' 2015-05-19 12:28:36:670389: [root@10.204.217.99] out: + wget -O- http://localhost:8443 2015-05-19 12:28:36:670570: [root@10.204.217.99] out: + '[' 4 -eq 0 ']' 2015-05-19 12:28:36:670665: [root@10.204.217.99] out: + tries=5 2015-05-19 12:28:36:670754: [root@10.204.217.99] out: + sleep 1 2015-05-19 12:28:36:670843: [root@10.204.217.99] out: + '[' 5 -lt 10 ']' 2015-05-19 12:28:37:672655: [root@10.204.217.99] out: + wget -O- http://localhost:8443 2015-05-19 12:28:37:674213: [root@10.204.217.99] out: + '[' 4 -eq 0 ']' 2015-05-19 12:28:37:674361: [root@10.204.217.99] out: + tries=6 2015-05-19 12:28:37:674458: [root@10.204.217.99] out: + sleep 1 2015-05-19 12:28:37:674548: [root@10.204.217.99] out: + '[' 6 -lt 10 ']' 2015-05-19 12:28:38:676497: [root@10.204.217.99] out: + wget -O- http://localhost:8443 2015-05-19 12:28:38:676713: [root@10.204.217.99] out: + '[' 4 -eq 0 ']' 2015-05-19 12:28:38:676870: [root@10.204.217.99] out: + tries=7 2015-05-19 12:28:38:676997: [root@10.204.217.99] out: + sleep 1 2015-05-19 12:28:38:677126: [root@10.204.217.99] out: + '[' 7 -lt 10 ']' 2015-05-19 12:28:39:678946: [root@10.204.217.99] out: + wget -O- http://localhost:8443 2015-05-19 12:28:39:679128: [root@10.204.217.99] out: + '[' 4 -eq 0 ']' 2015-05-19 12:28:39:679222: [root@10.204.217.99] out: + tries=8 2015-05-19 12:28:39:679312: [root@10.204.217.99] out: + sleep 1 2015-05-19 12:28:39:679400: [root@10.204.217.99] out: + '[' 8 -lt 10 ']' 2015-05-19 12:28:40:681124: [root@10.204.217.99] out: + wget -O- http://localhost:8443 2015-05-19 12:28:40:681303: [root@10.204.217.99] out: + '[' 4 -eq 0 ']' 2015-05-19 12:28:40:681398: [root@10.204.217.99] out: + tries=9 2015-05-19 12:28:40:681497: [root@10.204.217.99] out: + sleep 1 2015-05-19 12:28:40:681590: [root@10.204.217.99] out: + '[' 9 -lt 10 ']' 2015-05-19 12:28:41:683409: [root@10.204.217.99] out: + wget -O- http://localhost:8443 2015-05-19 12:28:41:683589: [root@10.204.217.99] out: + '[' 4 -eq 0 ']' 2015-05-19 12:28:41:683683: [root@10.204.217.99] out: + tries=10 2015-05-19 12:28:41:683772: [root@10.204.217.99] out: + sleep 1 2015-05-19 12:28:41:683860: [root@10.204.217.99] out: + '[' 10 -lt 10 ']' 2015-05-19 12:28:42:685685: [root@10.204.217.99] out: + chkconfig supervisor-config on 2015-05-19 12:28:42:685864: [root@10.204.217.99] out: + service supervisor-config restart 2015-05-19 12:28:42:685966: [root@10.204.217.99] out: stop: Unknown instance: 2015-05-19 12:28:42:686067: [root@10.204.217.99] out: supervisor-config start/running, process 11515 2015-05-19 12:28:42:693570: [root@10.204.217.99] out: [localhost] local: sudo service rabbitmq-server status 2015-05-19 12:28:42:693729: [root@10.204.217.99] out: [rabbitmq-server] started by supervisor config. 2015-05-19 12:28:42:794147: [root@10.204.217.99] out: [localhost] local: sudo service contrail-api status 2015-05-19 12:28:42:794268: [root@10.204.217.99] out: Error {'succeeded': True, 'failed': False, 'return_code': 0, 'stderr': ''} in getting status of [contrail-api]. 2015-05-19 12:28:42:857993: [root@10.204.217.99] out: [contrail-api and rabbitmq] not yet started by supervisor config, Retrying. 2015-05-19 12:28:42:858088: [root@10.204.217.99] out: [localhost] local: sudo service rabbitmq-server status 2015-05-19 12:28:44:860644: [root@10.204.217.99] out: [rabbitmq-server] started by supervisor config. 2015-05-19 12:28:44:960977: [root@10.204.217.99] out: [localhost] local: sudo service contrail-api status 2015-05-19 12:28:44:961076: [root@10.204.217.99] out: [contrail-api] started by supervisor config. 2015-05-19 12:28:45:024708: [root@10.204.217.99] out: [contrail-api and rabbitmq] started by supervisor config, continue to provision. 2015-05-19 12:28:45:024806: [root@10.204.217.99] out: [localhost] local: sudo quantum-server-setup.sh 2015-05-19 12:28:45:024852: [root@10.204.217.99] out: + '[' -f /etc/redhat-release ']' 2015-05-19 12:28:45:056394: [root@10.204.217.99] out: + '[' -f /etc/lsb-release ']' 2015-05-19 12:28:45:056491: [root@10.204.217.99] out: + egrep -q 'DISTRIB_ID.*Ubuntu' /etc/lsb-release 2015-05-19 12:28:45:056534: [root@10.204.217.99] out: + is_ubuntu=1 2015-05-19 12:28:45:056576: [root@10.204.217.99] out: + is_redhat=0 2015-05-19 12:28:45:056618: [root@10.204.217.99] out: + web_svc=apache2 2015-05-19 12:28:45:056659: [root@10.204.217.99] out: + mysql_svc=mysql 2015-05-19 12:28:45:056700: [root@10.204.217.99] out: + msg_svc=rabbitmq-server 2015-05-19 12:28:45:056740: [root@10.204.217.99] out: + chkconfig mysql 2015-05-19 12:28:45:056780: [root@10.204.217.99] out: + ret=0 2015-05-19 12:28:45:056821: [root@10.204.217.99] out: + '[' 0 -ne 0 ']' 2015-05-19 12:28:45:056861: [root@10.204.217.99] out: + source /etc/contrail/ctrl-details 2015-05-19 12:28:45:056910: [root@10.204.217.99] out: ++ SERVICE_TENANT=service 2015-05-19 12:28:45:056959: [root@10.204.217.99] out: ++ SERVICE_TOKEN=228c309425f7df134ecc 2015-05-19 12:28:45:056999: [root@10.204.217.99] out: ++ AUTH_PROTOCOL=http 2015-05-19 12:28:45:057039: [root@10.204.217.99] out: ++ QUANTUM_PROTOCOL=http 2015-05-19 12:28:45:057093: [root@10.204.217.99] out: ++ ADMIN_TOKEN=contrail123 2015-05-19 12:28:45:057137: [root@10.204.217.99] out: ++ CONTROLLER=10.204.217.99 2015-05-19 12:28:45:057177: [root@10.204.217.99] out: ++ AMQP_SERVER=10.204.217.99 2015-05-19 12:28:45:057218: [root@10.204.217.99] out: ++ QUANTUM=10.204.217.99 2015-05-19 12:28:45:057260: [root@10.204.217.99] out: ++ QUANTUM_PORT=9697 2015-05-19 12:28:45:057300: [root@10.204.217.99] out: + ADMIN_TOKEN=contrail123 2015-05-19 12:28:45:057340: [root@10.204.217.99] out: + SERVICE_TOKEN=228c309425f7df134ecc 2015-05-19 12:28:45:057389: [root@10.204.217.99] out: + OPENSTACK_INDEX=0 2015-05-19 12:28:45:057429: [root@10.204.217.99] out: + INTERNAL_VIP=none 2015-05-19 12:28:45:057478: [root@10.204.217.99] out: + controller_ip=10.204.217.99 2015-05-19 12:28:45:057543: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:28:45:057582: [root@10.204.217.99] out: + cat 2015-05-19 12:28:45:057622: [root@10.204.217.99] out: + '[' -d /etc/neutron ']' 2015-05-19 12:28:45:057661: [root@10.204.217.99] out: + net_svc_name=neutron 2015-05-19 12:28:45:057701: [root@10.204.217.99] out: + for svc in '$net_svc_name' 2015-05-19 12:28:45:057740: [root@10.204.217.99] out: + openstack-config --set /etc/neutron/neutron.conf DEFAULT bind_port 9697 2015-05-19 12:28:45:057780: [root@10.204.217.99] out: + openstack-config --set /etc/neutron/neutron.conf DEFAULT auth_strategy keystone 2015-05-19 12:28:45:065860: [root@10.204.217.99] out: + openstack-config --set /etc/neutron/neutron.conf DEFAULT allow_overlapping_ips True 2015-05-19 12:28:45:166244: [root@10.204.217.99] out: + openstack-config --set /etc/neutron/neutron.conf keystone_authtoken admin_tenant_name service 2015-05-19 12:28:45:166467: [root@10.204.217.99] out: + openstack-config --set /etc/neutron/neutron.conf keystone_authtoken admin_user neutron 2015-05-19 12:28:45:198108: [root@10.204.217.99] out: + openstack-config --set /etc/neutron/neutron.conf keystone_authtoken admin_password contrail123 2015-05-19 12:28:45:229705: [root@10.204.217.99] out: + openstack-config --set /etc/neutron/neutron.conf keystone_authtoken auth_host 10.204.217.99 2015-05-19 12:28:45:237132: [root@10.204.217.99] out: + openstack-config --set /etc/neutron/neutron.conf keystone_authtoken admin_token 228c309425f7df134ecc 2015-05-19 12:28:45:268690: [root@10.204.217.99] out: + openstack-config --set /etc/neutron/neutron.conf keystone_authtoken auth_protocol http 2015-05-19 12:28:45:276202: [root@10.204.217.99] out: + openstack-config --set /etc/neutron/neutron.conf quotas quota_driver neutron_plugin_contrail.plugins.opencontrail.quota.driver.QuotaDriver 2015-05-19 12:28:45:307761: [root@10.204.217.99] out: + openstack-config --set /etc/neutron/neutron.conf QUOTAS quota_network -1 2015-05-19 12:28:45:323233: [root@10.204.217.99] out: + openstack-config --set /etc/neutron/neutron.conf QUOTAS quota_subnet -1 2015-05-19 12:28:45:354765: [root@10.204.217.99] out: + openstack-config --set /etc/neutron/neutron.conf QUOTAS quota_port -1 2015-05-19 12:28:45:386353: [root@10.204.217.99] out: + '[' -d /etc/neutron ']' 2015-05-19 12:28:45:401869: [root@10.204.217.99] out: ++ python -c 'from distutils.sysconfig import get_python_lib; print(get_python_lib())' 2015-05-19 12:28:45:401965: [root@10.204.217.99] out: + PYDIST=/usr/lib/python2.7/dist-packages 2015-05-19 12:28:45:502509: [root@10.204.217.99] out: + openstack-config --set /etc/neutron/neutron.conf DEFAULT core_plugin neutron_plugin_contrail.plugins.opencontrail.contrail_plugin.NeutronPluginContrailCoreV2 2015-05-19 12:28:45:502611: [root@10.204.217.99] out: + openstack-config --set /etc/neutron/neutron.conf DEFAULT api_extensions_path extensions:/usr/lib/python2.7/dist-packages/neutron_plugin_contrail/extensions 2015-05-19 12:28:45:534281: [root@10.204.217.99] out: + openstack-config --set /etc/neutron/neutron.conf DEFAULT rabbit_host 10.204.217.99 2015-05-19 12:28:45:549710: [root@10.204.217.99] out: + openstack-config --set /etc/neutron/neutron.conf DEFAULT service_plugins neutron_plugin_contrail.plugins.opencontrail.loadbalancer.plugin.LoadBalancerPlugin 2015-05-19 12:28:45:581251: [root@10.204.217.99] out: + openstack-config --del /etc/neutron/neutron.conf service_providers service_provider 2015-05-19 12:28:45:588715: [root@10.204.217.99] out: + openstack-config --set /etc/neutron/neutron.conf service_providers service_provider LOADBALANCER:Opencontrail:neutron_plugin_contrail.plugins.opencontrail.loadbalancer.driver.OpencontrailLoadbalancerDriver:default 2015-05-19 12:28:45:652454: [root@10.204.217.99] out: + '[' -f /usr/share/neutron/neutron-dist.conf ']' 2015-05-19 12:28:45:652554: [root@10.204.217.99] out: + openstack-config --set /etc/neutron/neutron.conf DEFAULT log_format '%(asctime)s.%(msecs)d %(levelname)8s [%(name)s] %(message)s' 2015-05-19 12:28:45:652599: [root@10.204.217.99] out: + INTERNAL_VIP=none 2015-05-19 12:28:45:668054: [root@10.204.217.99] out: + '[' none '!=' none ']' 2015-05-19 12:28:45:668158: [root@10.204.217.99] out: + net_svc_upstart='/etc/init/$net_svc_name-server.conf' 2015-05-19 12:28:45:668206: [root@10.204.217.99] out: + '[' -f '/etc/init/$net_svc_name-server.conf' ']' 2015-05-19 12:28:45:668251: [root@10.204.217.99] out: + echo '======= Enabling the services ======' 2015-05-19 12:28:45:668295: [root@10.204.217.99] out: ======= Enabling the services ====== 2015-05-19 12:28:45:668338: [root@10.204.217.99] out: + for svc in '$msg_svc' '$web_svc' memcached 2015-05-19 12:28:45:668382: [root@10.204.217.99] out: + chkconfig rabbitmq-server on 2015-05-19 12:28:45:668425: [root@10.204.217.99] out: + for svc in '$msg_svc' '$web_svc' memcached 2015-05-19 12:28:45:668468: [root@10.204.217.99] out: + chkconfig apache2 on 2015-05-19 12:28:45:668510: [root@10.204.217.99] out: + for svc in '$msg_svc' '$web_svc' memcached 2015-05-19 12:28:45:668553: [root@10.204.217.99] out: + chkconfig memcached on 2015-05-19 12:28:45:668595: [root@10.204.217.99] out: + for svc in '$net_svc_name-server' 2015-05-19 12:28:45:668638: [root@10.204.217.99] out: + chkconfig neutron-server on 2015-05-19 12:28:45:668680: [root@10.204.217.99] out: + echo '======= Starting the services ======' 2015-05-19 12:28:45:668722: [root@10.204.217.99] out: ======= Starting the services ====== 2015-05-19 12:28:45:668764: [root@10.204.217.99] out: + for svc in '$msg_svc' '$web_svc' memcached 2015-05-19 12:28:45:668806: [root@10.204.217.99] out: + service rabbitmq-server restart 2015-05-19 12:28:45:668853: [root@10.204.217.99] out: rabbitmq-server: stopped 2015-05-19 12:28:46:770738: [root@10.204.217.99] out: rabbitmq-server: started 2015-05-19 12:28:52:542081: [root@10.204.217.99] out: + for svc in '$msg_svc' '$web_svc' memcached 2015-05-19 12:28:52:542273: [root@10.204.217.99] out: + service apache2 restart 2015-05-19 12:28:52:542370: [root@10.204.217.99] out: * Restarting web server apache2 2015-05-19 12:28:52:542460: [root@10.204.217.99] out: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message 2015-05-19 12:28:53:707872: [root@10.204.217.99] out: ...done. 2015-05-19 12:28:54:709615: [root@10.204.217.99] out: + for svc in '$msg_svc' '$web_svc' memcached 2015-05-19 12:28:54:709801: [root@10.204.217.99] out: + service memcached restart 2015-05-19 12:28:54:709898: [root@10.204.217.99] out: Restarting memcached: memcached. 2015-05-19 12:28:54:741681: [root@10.204.217.99] out: + service neutron-server restart 2015-05-19 12:28:54:741854: [root@10.204.217.99] out: stop: Unknown instance: 2015-05-19 12:28:54:749508: [root@10.204.217.99] out: neutron-server start/running, process 12207 2015-05-19 12:28:54:765220: [root@10.204.217.99] out: 2015-05-19 12:28:54:780745: 2015-05-19 12:28:54:787929: [root@10.204.217.99] Executing task 'verify_cfgm' 2015-05-19 12:28:54:788161: [root@10.204.217.99] sudo: service supervisor-config status 2015-05-19 12:28:54:788276: [root@10.204.217.99] out: supervisor-config start/running, process 11515 2015-05-19 12:28:54:836330: [root@10.204.217.99] out: 2015-05-19 12:28:54:836506: 2015-05-19 12:28:54:841640: [root@10.204.217.99] sudo: service contrail-api status 2015-05-19 12:28:54:841857: [root@10.204.217.99] out: contrail-api:0 RUNNING pid 11537, uptime 0:00:12 2015-05-19 12:28:54:975014: [root@10.204.217.99] out: 2015-05-19 12:28:54:975199: 2015-05-19 12:28:54:975510: [root@10.204.217.99] sudo: service contrail-discovery status 2015-05-19 12:28:54:975627: [root@10.204.217.99] out: contrail-discovery:0 RUNNING pid 11536, uptime 0:00:13 2015-05-19 12:28:55:092518: [root@10.204.217.99] out: 2015-05-19 12:28:55:092882: 2015-05-19 12:28:55:093066: [root@10.204.217.99] sudo: service contrail-schema status 2015-05-19 12:28:55:093212: [root@10.204.217.99] out: contrail-schema RUNNING pid 11539, uptime 0:00:13 2015-05-19 12:28:55:210206: [root@10.204.217.99] out: 2015-05-19 12:28:55:210628: 2015-05-19 12:28:55:210932: [root@10.204.217.99] sudo: service contrail-svc-monitor status 2015-05-19 12:28:55:211109: [root@10.204.217.99] out: contrail-svc-monitor RUNNING pid 11540, uptime 0:00:13 2015-05-19 12:28:55:344648: [root@10.204.217.99] out: 2015-05-19 12:28:55:344762: 2015-05-19 12:28:55:345152: [root@10.204.217.99] Executing task 'setup_control' 2015-05-19 12:28:55:345321: [root@10.204.217.99] sudo: sed -i -e '/10.204.217.99:/d' -e '/10.204.217.99.dns:/d' /etc/ifmap-server/basicauthusers.properties 2015-05-19 12:28:55:345518: [root@10.204.217.99] sudo: echo '10.204.217.99:10.204.217.99' >> /etc/ifmap-server/basicauthusers.properties 2015-05-19 12:28:55:394022: [root@10.204.217.99] sudo: echo '10.204.217.99.dns:10.204.217.99.dns' >> /etc/ifmap-server/basicauthusers.properties 2015-05-19 12:28:55:481253: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:28:55:536057: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:28:55:601301: [root@10.204.217.99] out: 2015-05-19 12:28:55:601750: 2015-05-19 12:28:55:602029: [root@10.204.217.99] sudo: rm /etc/init/supervisor-control.override 2015-05-19 12:28:55:602336: [root@10.204.217.99] sudo: rm /etc/init/supervisor-dns.override 2015-05-19 12:28:55:688685: [root@10.204.217.99] sudo: setup-vnc-control --self_ip 10.204.217.99 --cfgm_ip 10.204.217.99 --collector_ip 10.204.217.99 2015-05-19 12:28:55:742238: [root@10.204.217.99] out: [localhost] local: ln -sf /bin/true /sbin/chkconfig 2015-05-19 12:28:56:007037: [root@10.204.217.99] out: [localhost] local: sudo sed 's/SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config > config.new 2015-05-19 12:28:56:010351: [root@10.204.217.99] out: [localhost] local: sudo mv config.new /etc/selinux/config 2015-05-19 12:28:56:029645: [root@10.204.217.99] out: [localhost] local: setenforce 0 2015-05-19 12:28:56:033015: [root@10.204.217.99] out: /bin/sh: 1: setenforce: not found 2015-05-19 12:28:56:040417: [root@10.204.217.99] out: 2015-05-19 12:28:56:040524: [root@10.204.217.99] out: Warning: local() encountered an error (return code 127) while executing 'setenforce 0' 2015-05-19 12:28:56:040571: [root@10.204.217.99] out: 2015-05-19 12:28:56:040616: [root@10.204.217.99] out: [localhost] local: rm config.new 2015-05-19 12:28:56:040659: [root@10.204.217.99] out: rm: cannot remove ‘config.new’: No such file or directory 2015-05-19 12:28:56:044065: [root@10.204.217.99] out: 2015-05-19 12:28:56:044176: [root@10.204.217.99] out: Warning: local() encountered an error (return code 1) while executing 'rm config.new' 2015-05-19 12:28:56:044223: [root@10.204.217.99] out: 2015-05-19 12:28:56:044267: [root@10.204.217.99] out: [localhost] local: sudo chkconfig iptables off 2015-05-19 12:28:56:044310: [root@10.204.217.99] out: [localhost] local: sudo iptables --flush 2015-05-19 12:28:56:051754: [root@10.204.217.99] out: [localhost] local: sudo sed '/DAEMON_COREFILE_LIMIT=.*/d' /etc/sysconfig/init > /etc/sysconfig/init.new 2015-05-19 12:28:56:059333: [root@10.204.217.99] out: /bin/sh: 1: cannot create /etc/sysconfig/init.new: Directory nonexistent 2015-05-19 12:28:56:059443: [root@10.204.217.99] out: 2015-05-19 12:28:56:059501: [root@10.204.217.99] out: Warning: local() encountered an error (return code 2) while executing 'sudo sed '/DAEMON_COREFILE_LIMIT=.*/d' /etc/sysconfig/init > /etc/sysconfig/init.new' 2015-05-19 12:28:56:059547: [root@10.204.217.99] out: 2015-05-19 12:28:56:059592: [root@10.204.217.99] out: [localhost] local: sudo mv /etc/sysconfig/init.new /etc/sysconfig/init 2015-05-19 12:28:56:059634: [root@10.204.217.99] out: mv: cannot stat ‘/etc/sysconfig/init.new’: No such file or directory 2015-05-19 12:28:56:067160: [root@10.204.217.99] out: 2015-05-19 12:28:56:067261: [root@10.204.217.99] out: Warning: local() encountered an error (return code 1) while executing 'sudo mv /etc/sysconfig/init.new /etc/sysconfig/init' 2015-05-19 12:28:56:067309: [root@10.204.217.99] out: 2015-05-19 12:28:56:067355: [root@10.204.217.99] out: kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t 2015-05-19 12:28:56:067398: [root@10.204.217.99] out: [localhost] local: grep -q 'kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t' /etc/sysctl.conf || echo 'kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t' >> /etc/sysctl.conf 2015-05-19 12:28:56:067443: [root@10.204.217.99] out: [localhost] local: sudo sed 's/net.ipv4.ip_forward.*/net.ipv4.ip_forward = 1/g' /etc/sysctl.conf > /tmp/sysctl.new 2015-05-19 12:28:56:070863: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/sysctl.new /etc/sysctl.conf 2015-05-19 12:28:56:075421: [root@10.204.217.99] out: [localhost] local: rm /tmp/sysctl.new 2015-05-19 12:28:56:082882: [root@10.204.217.99] out: rm: cannot remove ‘/tmp/sysctl.new’: No such file or directory 2015-05-19 12:28:56:083228: [root@10.204.217.99] out: 2015-05-19 12:28:56:083615: [root@10.204.217.99] out: Warning: local() encountered an error (return code 1) while executing 'rm /tmp/sysctl.new' 2015-05-19 12:28:56:083729: [root@10.204.217.99] out: 2015-05-19 12:28:56:083776: [root@10.204.217.99] out: [localhost] local: sysctl -p 2015-05-19 12:28:56:083927: [root@10.204.217.99] out: fs.file-max = 65535 2015-05-19 12:28:56:087202: [root@10.204.217.99] out: kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t 2015-05-19 12:28:56:087300: [root@10.204.217.99] out: net.ipv4.ip_local_reserved_ports = 35357,35358,35357,35358,35357,35358,33306 2015-05-19 12:28:56:087352: [root@10.204.217.99] out: [localhost] local: mkdir -p /var/crashes 2015-05-19 12:28:56:087400: [root@10.204.217.99] out: [localhost] local: chmod 777 /var/crashes 2015-05-19 12:28:56:088687: [root@10.204.217.99] out: [localhost] local: sed -i 's/crashkernel=.*\([ | \"]\)/crashkernel=384M-2G:64M,2G-16G:128M,16G-:256M\1/g' /etc/default/grub.d/kexec-tools.cfg 2015-05-19 12:28:56:088763: [root@10.204.217.99] out: [localhost] local: [ -f /etc/default/kdump-tools ] && sed -i 's/USE_KDUMP=0/USE_KDUMP=1/' /etc/default/kdump-tools 2015-05-19 12:28:56:092087: [root@10.204.217.99] out: [localhost] local: update-grub 2015-05-19 12:28:56:095397: [root@10.204.217.99] out: Generating grub configuration file ... 2015-05-19 12:28:58:598820: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 12495: /usr/sbin/grub-probe 2015-05-19 12:28:59:900845: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 12495: /usr/sbin/grub-probe 2015-05-19 12:28:59:964675: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 12507: /usr/sbin/grub-probe 2015-05-19 12:28:59:964782: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 12507: /usr/sbin/grub-probe 2015-05-19 12:28:59:996371: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 12518: /usr/sbin/grub-probe 2015-05-19 12:29:00:011843: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 12518: /usr/sbin/grub-probe 2015-05-19 12:29:00:043524: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 12530: /usr/sbin/grub-probe 2015-05-19 12:29:00:244120: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 12530: /usr/sbin/grub-probe 2015-05-19 12:29:00:544797: [root@10.204.217.99] out: Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported. 2015-05-19 12:29:01:009205: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 12587: /usr/sbin/grub-probe 2015-05-19 12:29:01:009339: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 12587: /usr/sbin/grub-probe 2015-05-19 12:29:01:040993: [root@10.204.217.99] out: Found linux image: /boot/vmlinuz-3.13.0-40-generic 2015-05-19 12:29:01:072843: [root@10.204.217.99] out: Found initrd image: /boot/initrd.img-3.13.0-40-generic 2015-05-19 12:29:01:080441: [root@10.204.217.99] out: Found linux image: /boot/vmlinuz-3.13.0-24-generic 2015-05-19 12:29:01:496544: [root@10.204.217.99] out: Found initrd image: /boot/initrd.img-3.13.0-24-generic 2015-05-19 12:29:01:503961: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 12968: /usr/sbin/grub-probe 2015-05-19 12:29:01:535505: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 12968: /usr/sbin/grub-probe 2015-05-19 12:29:01:699246: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on lvs invocation. Parent PID 13062: /bin/sh 2015-05-19 12:29:01:715289: [root@10.204.217.99] out: done 2015-05-19 12:29:01:879085: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/tmpmnQXUS/contrail-control.conf /etc/contrail/contrail-control.conf 2015-05-19 12:29:01:879179: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/tmpmnQXUS/contrail-dns.conf /etc/contrail/contrail-dns.conf 2015-05-19 12:29:01:879231: [root@10.204.217.99] out: [localhost] local: sed -i 's/secret "secret123";/secret "xvysmOR8lnUQRBcunkC6vg==";/g' /etc/contrail/dns/contrail-rndc.conf 2015-05-19 12:29:01:879278: [root@10.204.217.99] out: [localhost] local: sed -i 's/secret "secret123";/secret "xvysmOR8lnUQRBcunkC6vg==";/g' /etc/contrail/dns/contrail-named.conf 2015-05-19 12:29:01:879325: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/tmpmnQXUS/contrail-control-nodemgr.conf /etc/contrail/contrail-control-nodemgr.conf 2015-05-19 12:29:01:879370: [root@10.204.217.99] out: [localhost] local: sudo control-server-setup.sh 2015-05-19 12:29:01:879414: [root@10.204.217.99] out: stop: Unknown instance: 2015-05-19 12:29:01:979795: [root@10.204.217.99] out: supervisor-control start/running, process 13215 2015-05-19 12:29:01:979889: [root@10.204.217.99] out: 2015-05-19 12:29:01:980037: 2015-05-19 12:29:01:983358: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:29:01:983470: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:29:02:049416: [root@10.204.217.99] out: 2015-05-19 12:29:02:049630: 2015-05-19 12:29:02:049801: [root@10.204.217.99] Executing task 'verify_control' 2015-05-19 12:29:02:050019: [root@10.204.217.99] sudo: service supervisor-control status 2015-05-19 12:29:02:050122: [root@10.204.217.99] out: supervisor-control start/running, process 13215 2015-05-19 12:29:02:114655: [root@10.204.217.99] out: 2015-05-19 12:29:02:114856: 2015-05-19 12:29:02:115063: [root@10.204.217.99] sudo: service contrail-control status 2015-05-19 12:29:02:115174: [root@10.204.217.99] out: contrail-control STARTING 2015-05-19 12:29:02:261634: [root@10.204.217.99] out: 2015-05-19 12:29:02:262917: 2015-05-19 12:29:02:270917: [root@10.204.217.99] sudo: service contrail-control status 2015-05-19 12:29:22:291205: [root@10.204.217.99] out: contrail-control RUNNING pid 13249, uptime 0:00:20 2015-05-19 12:29:22:395106: [root@10.204.217.99] out: 2015-05-19 12:29:22:395352: 2015-05-19 12:29:22:395781: [root@10.204.217.99] Executing task 'setup_collector' 2015-05-19 12:29:22:395992: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:29:22:396246: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:29:22:461451: [root@10.204.217.99] out: 2015-05-19 12:29:22:465066: 2015-05-19 12:29:22:493803: [root@10.204.217.99] sudo: service redis-server stop 2015-05-19 12:29:22:494072: [root@10.204.217.99] out: Stopping redis-server: redis-server. 2015-05-19 12:29:22:675188: [root@10.204.217.99] out: 2015-05-19 12:29:23:676760: 2015-05-19 12:29:23:683638: [root@10.204.217.99] sudo: sed -i -e '/^[ ]*bind/s/^/#/' /etc/redis/redis.conf 2015-05-19 12:29:23:683846: [root@10.204.217.99] sudo: service redis-server start 2015-05-19 12:29:23:749738: [root@10.204.217.99] out: Starting redis-server: redis-server. 2015-05-19 12:29:23:814882: [root@10.204.217.99] out: 2015-05-19 12:29:23:815331: 2015-05-19 12:29:23:815575: [root@10.204.217.99] sudo: service redis-server status | grep not 2015-05-19 12:29:23:815780: [root@10.204.217.99] sudo: grep "^[ ]*admin_token" /etc/keystone/keystone.conf | tr -d ' '| awk -F"=" {'print $2'} 2015-05-19 12:29:23:881559: [root@10.204.217.99] out: 228c309425f7df134ecc 2015-05-19 12:29:23:930777: [root@10.204.217.99] out: 2015-05-19 12:29:23:931040: 2015-05-19 12:29:23:936199: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:29:23:936494: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:29:24:033949: [root@10.204.217.99] out: 2015-05-19 12:29:24:037309: 2015-05-19 12:29:24:066197: [root@10.204.217.99] sudo: rm /etc/init/supervisor-analytics.override 2015-05-19 12:29:24:066554: setup-vnc-collector --cassandra_ip_list 10.204.217.99 --cfgm_ip 10.204.217.99 --self_collector_ip 10.204.217.99 --num_nodes 1 --analytics_data_ttl 48 --analytics_config_audit_ttl -1 --analytics_statistics_ttl -1 --analytics_flow_ttl -1 --kafka_enabled None --keystone_ip 10.204.217.99 --keystone_admin_user admin --keystone_admin_passwd contrail123 --keystone_admin_tenant_name service --keystone_auth_protocol http --keystone_auth_port 35357 --keystone_admin_token 228c309425f7df134ecc --keystone_insecure False 2015-05-19 12:29:24:097141: [root@10.204.217.99] sudo: setup-vnc-collector --cassandra_ip_list 10.204.217.99 --cfgm_ip 10.204.217.99 --self_collector_ip 10.204.217.99 --num_nodes 1 --analytics_data_ttl 48 --analytics_config_audit_ttl -1 --analytics_statistics_ttl -1 --analytics_flow_ttl -1 --kafka_enabled None --keystone_ip 10.204.217.99 --keystone_admin_user admin --keystone_admin_passwd contrail123 --keystone_admin_tenant_name service --keystone_auth_protocol http --keystone_auth_port 35357 --keystone_admin_token 228c309425f7df134ecc --keystone_insecure False 2015-05-19 12:29:24:097286: [root@10.204.217.99] out: [localhost] local: ln -sf /bin/true /sbin/chkconfig 2015-05-19 12:29:24:326720: [root@10.204.217.99] out: [localhost] local: sudo sed 's/SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config > config.new 2015-05-19 12:29:24:326871: [root@10.204.217.99] out: [localhost] local: sudo mv config.new /etc/selinux/config 2015-05-19 12:29:24:326949: [root@10.204.217.99] out: [localhost] local: setenforce 0 2015-05-19 12:29:24:327046: [root@10.204.217.99] out: /bin/sh: 1: setenforce: not found 2015-05-19 12:29:24:327171: [root@10.204.217.99] out: 2015-05-19 12:29:24:327259: [root@10.204.217.99] out: Warning: local() encountered an error (return code 127) while executing 'setenforce 0' 2015-05-19 12:29:24:327348: [root@10.204.217.99] out: 2015-05-19 12:29:24:327437: [root@10.204.217.99] out: [localhost] local: rm config.new 2015-05-19 12:29:24:327523: [root@10.204.217.99] out: rm: cannot remove ‘config.new’: No such file or directory 2015-05-19 12:29:24:327611: [root@10.204.217.99] out: 2015-05-19 12:29:24:327699: [root@10.204.217.99] out: Warning: local() encountered an error (return code 1) while executing 'rm config.new' 2015-05-19 12:29:24:327784: [root@10.204.217.99] out: 2015-05-19 12:29:24:327873: [root@10.204.217.99] out: [localhost] local: sudo chkconfig iptables off 2015-05-19 12:29:24:327974: [root@10.204.217.99] out: [localhost] local: sudo iptables --flush 2015-05-19 12:29:24:336149: [root@10.204.217.99] out: [localhost] local: sudo sed '/DAEMON_COREFILE_LIMIT=.*/d' /etc/sysconfig/init > /etc/sysconfig/init.new 2015-05-19 12:29:24:343834: [root@10.204.217.99] out: /bin/sh: 1: cannot create /etc/sysconfig/init.new: Directory nonexistent 2015-05-19 12:29:24:343997: [root@10.204.217.99] out: 2015-05-19 12:29:24:344100: [root@10.204.217.99] out: Warning: local() encountered an error (return code 2) while executing 'sudo sed '/DAEMON_COREFILE_LIMIT=.*/d' /etc/sysconfig/init > /etc/sysconfig/init.new' 2015-05-19 12:29:24:344260: [root@10.204.217.99] out: 2015-05-19 12:29:24:344401: [root@10.204.217.99] out: [localhost] local: sudo mv /etc/sysconfig/init.new /etc/sysconfig/init 2015-05-19 12:29:24:344528: [root@10.204.217.99] out: mv: cannot stat ‘/etc/sysconfig/init.new’: No such file or directory 2015-05-19 12:29:24:352353: [root@10.204.217.99] out: 2015-05-19 12:29:24:353815: [root@10.204.217.99] out: Warning: local() encountered an error (return code 1) while executing 'sudo mv /etc/sysconfig/init.new /etc/sysconfig/init' 2015-05-19 12:29:24:353977: [root@10.204.217.99] out: 2015-05-19 12:29:24:354074: [root@10.204.217.99] out: kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t 2015-05-19 12:29:24:354161: [root@10.204.217.99] out: [localhost] local: grep -q 'kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t' /etc/sysctl.conf || echo 'kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t' >> /etc/sysctl.conf 2015-05-19 12:29:24:354252: [root@10.204.217.99] out: [localhost] local: sudo sed 's/net.ipv4.ip_forward.*/net.ipv4.ip_forward = 1/g' /etc/sysctl.conf > /tmp/sysctl.new 2015-05-19 12:29:24:357923: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/sysctl.new /etc/sysctl.conf 2015-05-19 12:29:24:365450: [root@10.204.217.99] out: [localhost] local: rm /tmp/sysctl.new 2015-05-19 12:29:24:381160: [root@10.204.217.99] out: rm: cannot remove ‘/tmp/sysctl.new’: No such file or directory 2015-05-19 12:29:24:381332: [root@10.204.217.99] out: 2015-05-19 12:29:24:381429: [root@10.204.217.99] out: Warning: local() encountered an error (return code 1) while executing 'rm /tmp/sysctl.new' 2015-05-19 12:29:24:381543: [root@10.204.217.99] out: 2015-05-19 12:29:24:381642: [root@10.204.217.99] out: [localhost] local: sysctl -p 2015-05-19 12:29:24:381729: [root@10.204.217.99] out: fs.file-max = 65535 2015-05-19 12:29:24:381816: [root@10.204.217.99] out: kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t 2015-05-19 12:29:24:381907: [root@10.204.217.99] out: net.ipv4.ip_local_reserved_ports = 35357,35358,35357,35358,35357,35358,33306 2015-05-19 12:29:24:381996: [root@10.204.217.99] out: [localhost] local: mkdir -p /var/crashes 2015-05-19 12:29:24:382084: [root@10.204.217.99] out: [localhost] local: chmod 777 /var/crashes 2015-05-19 12:29:24:384007: [root@10.204.217.99] out: [localhost] local: sed -i 's/crashkernel=.*\([ | \"]\)/crashkernel=384M-2G:64M,2G-16G:128M,16G-:256M\1/g' /etc/default/grub.d/kexec-tools.cfg 2015-05-19 12:29:24:387429: [root@10.204.217.99] out: [localhost] local: [ -f /etc/default/kdump-tools ] && sed -i 's/USE_KDUMP=0/USE_KDUMP=1/' /etc/default/kdump-tools 2015-05-19 12:29:24:390844: [root@10.204.217.99] out: [localhost] local: update-grub 2015-05-19 12:29:24:394342: [root@10.204.217.99] out: Generating grub configuration file ... 2015-05-19 12:29:25:195721: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 14657: /usr/sbin/grub-probe 2015-05-19 12:29:25:728037: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 14657: /usr/sbin/grub-probe 2015-05-19 12:29:25:759805: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 14668: /usr/sbin/grub-probe 2015-05-19 12:29:25:791510: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 14668: /usr/sbin/grub-probe 2015-05-19 12:29:25:807170: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 14679: /usr/sbin/grub-probe 2015-05-19 12:29:25:838911: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 14679: /usr/sbin/grub-probe 2015-05-19 12:29:25:854584: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 14690: /usr/sbin/grub-probe 2015-05-19 12:29:25:958382: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 14690: /usr/sbin/grub-probe 2015-05-19 12:29:26:122339: [root@10.204.217.99] out: Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported. 2015-05-19 12:29:26:554647: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 14747: /usr/sbin/grub-probe 2015-05-19 12:29:26:570341: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 14747: /usr/sbin/grub-probe 2015-05-19 12:29:26:670837: [root@10.204.217.99] out: Found linux image: /boot/vmlinuz-3.13.0-40-generic 2015-05-19 12:29:26:678460: [root@10.204.217.99] out: Found initrd image: /boot/initrd.img-3.13.0-40-generic 2015-05-19 12:29:26:686087: [root@10.204.217.99] out: Found linux image: /boot/vmlinuz-3.13.0-24-generic 2015-05-19 12:29:27:150422: [root@10.204.217.99] out: Found initrd image: /boot/initrd.img-3.13.0-24-generic 2015-05-19 12:29:27:150616: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 15078: /usr/sbin/grub-probe 2015-05-19 12:29:27:214529: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 15078: /usr/sbin/grub-probe 2015-05-19 12:29:27:315040: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on lvs invocation. Parent PID 15173: /bin/sh 2015-05-19 12:29:27:415555: [root@10.204.217.99] out: done 2015-05-19 12:29:27:531397: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/tmpVF9i86/contrail-collector.conf /etc/contrail/contrail-collector.conf 2015-05-19 12:29:27:531596: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/tmpVF9i86/contrail-query-engine.conf /etc/contrail/contrail-query-engine.conf 2015-05-19 12:29:27:539198: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/tmpVF9i86/contrail-analytics-api.conf /etc/contrail/contrail-analytics-api.conf 2015-05-19 12:29:27:546749: [root@10.204.217.99] out: [localhost] local: mkdir -p /etc/snmp 2015-05-19 12:29:27:554325: [root@10.204.217.99] out: [localhost] local: echo 'mibs +ALL' > /etc/snmp/snmp.conf 2015-05-19 12:29:27:557857: [root@10.204.217.99] out: [localhost] local: [ -f /etc/contrail/contrail-snmp-collector.conf ] || > /etc/contrail/contrail-snmp-collector.conf 2015-05-19 12:29:27:559174: [root@10.204.217.99] out: [localhost] local: openstack-config --set /etc/contrail/contrail-snmp-collector.conf DEFAULTS zookeeper '10.204.217.99:2181' 2015-05-19 12:29:27:560537: [root@10.204.217.99] out: [localhost] local: openstack-config --set /etc/contrail/contrail-snmp-collector.conf DISCOVERY disc_server_ip '10.204.217.99' 2015-05-19 12:29:27:592260: [root@10.204.217.99] out: [localhost] local: openstack-config --set /etc/contrail/contrail-snmp-collector.conf DISCOVERY disc_server_port '5998' 2015-05-19 12:29:27:607959: [root@10.204.217.99] out: [localhost] local: openstack-config --set /etc/contrail/supervisord_analytics_files/contrail-snmp-collector.ini program:contrail-snmp-collector command '/usr/bin/contrail-snmp-collector --conf_file /etc/contrail/contrail-snmp-collector.conf --conf_file /etc/contrail/contrail-keystone-auth.conf' 2015-05-19 12:29:27:623615: [root@10.204.217.99] out: [localhost] local: [ -f /etc/contrail/contrail-topology.conf ] || > /etc/contrail/contrail-topology.conf 2015-05-19 12:29:27:639154: [root@10.204.217.99] out: [localhost] local: openstack-config --set /etc/contrail/contrail-topology.conf DEFAULTS zookeeper '10.204.217.99:2181' 2015-05-19 12:29:27:639628: [root@10.204.217.99] out: [localhost] local: openstack-config --set /etc/contrail/supervisord_analytics_files/contrail-topology.ini program:contrail-topology command '/usr/bin/contrail-topology --conf_file /etc/contrail/contrail-topology.conf' 2015-05-19 12:29:27:671304: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/tmpVF9i86/contrail-analytics-nodemgr.conf /etc/contrail/contrail-analytics-nodemgr.conf 2015-05-19 12:29:27:687013: [root@10.204.217.99] out: [localhost] local: sudo collector-server-setup.sh multinode 2015-05-19 12:29:27:694602: [root@10.204.217.99] out: stop: Unknown instance: 2015-05-19 12:29:27:726296: [root@10.204.217.99] out: supervisor-analytics start/running, process 15336 2015-05-19 12:29:27:729784: [root@10.204.217.99] out: 2015-05-19 12:29:27:745387: 2015-05-19 12:29:27:768432: [root@10.204.217.99] Executing task 'verify_collector' 2015-05-19 12:29:27:768608: [root@10.204.217.99] sudo: service supervisor-analytics status 2015-05-19 12:29:27:768722: [root@10.204.217.99] out: supervisor-analytics start/running, process 15336 2015-05-19 12:29:27:800791: [root@10.204.217.99] out: 2015-05-19 12:29:27:800937: 2015-05-19 12:29:27:805950: [root@10.204.217.99] sudo: service contrail-collector status 2015-05-19 12:29:27:806084: [root@10.204.217.99] out: contrail-collector STARTING 2015-05-19 12:29:27:971917: [root@10.204.217.99] out: 2015-05-19 12:29:27:972034: 2015-05-19 12:29:27:973135: [root@10.204.217.99] sudo: service contrail-collector status 2015-05-19 12:29:47:992422: [root@10.204.217.99] out: contrail-collector RUNNING pid 15365, uptime 0:00:21 2015-05-19 12:29:48:096318: [root@10.204.217.99] out: 2015-05-19 12:29:48:096708: 2015-05-19 12:29:48:097083: [root@10.204.217.99] sudo: service contrail-analytics-api status 2015-05-19 12:29:48:097304: [root@10.204.217.99] out: contrail-analytics-api RUNNING pid 15367, uptime 0:00:21 2015-05-19 12:29:48:231258: [root@10.204.217.99] out: 2015-05-19 12:29:48:231405: 2015-05-19 12:29:48:233898: [root@10.204.217.99] sudo: service contrail-query-engine status 2015-05-19 12:29:48:234095: [root@10.204.217.99] out: contrail-query-engine RUNNING pid 15366, uptime 0:00:21 2015-05-19 12:29:48:368055: [root@10.204.217.99] out: 2015-05-19 12:29:48:368511: 2015-05-19 12:29:48:369251: [root@10.204.217.99] Executing task 'setup_webui' 2015-05-19 12:29:48:369552: [root@10.204.217.99] sudo: grep "^[ ]*admin_token" /etc/keystone/keystone.conf | tr -d ' '| awk -F"=" {'print $2'} 2015-05-19 12:29:48:370002: [root@10.204.217.99] out: 228c309425f7df134ecc 2015-05-19 12:29:48:419162: [root@10.204.217.99] out: 2015-05-19 12:29:48:420532: 2015-05-19 12:29:48:435784: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:29:48:436105: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:29:48:533704: [root@10.204.217.99] out: 2015-05-19 12:29:48:534033: 2015-05-19 12:29:48:534464: [root@10.204.217.99] sudo: rm /etc/init/supervisor-webui.override 2015-05-19 12:29:48:534754: [root@10.204.217.99] sudo: service redis-server start 2015-05-19 12:29:48:566078: [root@10.204.217.99] out: Starting redis-server: failed 2015-05-19 12:29:48:632246: [root@10.204.217.99] out: 2015-05-19 12:29:48:632515: 2015-05-19 12:29:48:632902: [root@10.204.217.99] sudo: service redis-server status | grep not 2015-05-19 12:29:48:633100: [root@10.204.217.99] sudo: setup-vnc-webui --cfgm_ip 10.204.217.99 --collector_ip 10.204.217.99 --cassandra_ip_list 10.204.217.99 --orchestrator openstack --keystone_ip 10.204.217.99 --openstack_ip 10.204.217.99 --admin_user admin --admin_password contrail123 --admin_token 228c309425f7df134ecc --admin_tenant_name admin 2015-05-19 12:29:48:699018: [root@10.204.217.99] out: [localhost] local: ln -sf /bin/true /sbin/chkconfig 2015-05-19 12:29:48:933410: [root@10.204.217.99] out: [localhost] local: sudo sed 's/SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config > config.new 2015-05-19 12:29:48:934639: [root@10.204.217.99] out: [localhost] local: sudo mv config.new /etc/selinux/config 2015-05-19 12:29:48:934765: [root@10.204.217.99] out: [localhost] local: setenforce 0 2015-05-19 12:29:48:934957: [root@10.204.217.99] out: /bin/sh: 1: setenforce: not found 2015-05-19 12:29:48:935067: [root@10.204.217.99] out: 2015-05-19 12:29:48:935607: [root@10.204.217.99] out: Warning: local() encountered an error (return code 127) while executing 'setenforce 0' 2015-05-19 12:29:48:935883: [root@10.204.217.99] out: 2015-05-19 12:29:48:936113: [root@10.204.217.99] out: [localhost] local: rm config.new 2015-05-19 12:29:48:936389: [root@10.204.217.99] out: rm: cannot remove ‘config.new’: No such file or directory 2015-05-19 12:29:48:936832: [root@10.204.217.99] out: 2015-05-19 12:29:48:936980: [root@10.204.217.99] out: Warning: local() encountered an error (return code 1) while executing 'rm config.new' 2015-05-19 12:29:48:937105: [root@10.204.217.99] out: 2015-05-19 12:29:48:937222: [root@10.204.217.99] out: [localhost] local: sudo chkconfig iptables off 2015-05-19 12:29:48:937330: [root@10.204.217.99] out: [localhost] local: sudo iptables --flush 2015-05-19 12:29:48:945190: [root@10.204.217.99] out: [localhost] local: sudo sed '/DAEMON_COREFILE_LIMIT=.*/d' /etc/sysconfig/init > /etc/sysconfig/init.new 2015-05-19 12:29:48:952792: [root@10.204.217.99] out: /bin/sh: 1: cannot create /etc/sysconfig/init.new: Directory nonexistent 2015-05-19 12:29:48:954305: [root@10.204.217.99] out: 2015-05-19 12:29:48:954424: [root@10.204.217.99] out: Warning: local() encountered an error (return code 2) while executing 'sudo sed '/DAEMON_COREFILE_LIMIT=.*/d' /etc/sysconfig/init > /etc/sysconfig/init.new' 2015-05-19 12:29:48:954520: [root@10.204.217.99] out: 2015-05-19 12:29:48:954620: [root@10.204.217.99] out: [localhost] local: sudo mv /etc/sysconfig/init.new /etc/sysconfig/init 2015-05-19 12:29:48:954715: [root@10.204.217.99] out: mv: cannot stat ‘/etc/sysconfig/init.new’: No such file or directory 2015-05-19 12:29:48:962672: [root@10.204.217.99] out: 2015-05-19 12:29:48:963019: [root@10.204.217.99] out: Warning: local() encountered an error (return code 1) while executing 'sudo mv /etc/sysconfig/init.new /etc/sysconfig/init' 2015-05-19 12:29:48:963108: [root@10.204.217.99] out: 2015-05-19 12:29:48:963185: [root@10.204.217.99] out: kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t 2015-05-19 12:29:48:963257: [root@10.204.217.99] out: [localhost] local: grep -q 'kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t' /etc/sysctl.conf || echo 'kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t' >> /etc/sysctl.conf 2015-05-19 12:29:48:963622: [root@10.204.217.99] out: [localhost] local: sudo sed 's/net.ipv4.ip_forward.*/net.ipv4.ip_forward = 1/g' /etc/sysctl.conf > /tmp/sysctl.new 2015-05-19 12:29:48:967048: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/sysctl.new /etc/sysctl.conf 2015-05-19 12:29:48:974637: [root@10.204.217.99] out: [localhost] local: rm /tmp/sysctl.new 2015-05-19 12:29:48:990310: [root@10.204.217.99] out: rm: cannot remove ‘/tmp/sysctl.new’: No such file or directory 2015-05-19 12:29:48:990477: [root@10.204.217.99] out: 2015-05-19 12:29:48:990574: [root@10.204.217.99] out: Warning: local() encountered an error (return code 1) while executing 'rm /tmp/sysctl.new' 2015-05-19 12:29:48:990666: [root@10.204.217.99] out: 2015-05-19 12:29:48:990757: [root@10.204.217.99] out: [localhost] local: sysctl -p 2015-05-19 12:29:48:990845: [root@10.204.217.99] out: fs.file-max = 65535 2015-05-19 12:29:48:990933: [root@10.204.217.99] out: kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t 2015-05-19 12:29:48:991022: [root@10.204.217.99] out: net.ipv4.ip_local_reserved_ports = 35357,35358,35357,35358,35357,35358,33306 2015-05-19 12:29:48:991110: [root@10.204.217.99] out: [localhost] local: mkdir -p /var/crashes 2015-05-19 12:29:48:991199: [root@10.204.217.99] out: [localhost] local: chmod 777 /var/crashes 2015-05-19 12:29:48:993029: [root@10.204.217.99] out: [localhost] local: sed -i 's/crashkernel=.*\([ | \"]\)/crashkernel=384M-2G:64M,2G-16G:128M,16G-:256M\1/g' /etc/default/grub.d/kexec-tools.cfg 2015-05-19 12:29:48:996566: [root@10.204.217.99] out: [localhost] local: [ -f /etc/default/kdump-tools ] && sed -i 's/USE_KDUMP=0/USE_KDUMP=1/' /etc/default/kdump-tools 2015-05-19 12:29:49:000075: [root@10.204.217.99] out: [localhost] local: update-grub 2015-05-19 12:29:49:003545: [root@10.204.217.99] out: Generating grub configuration file ... 2015-05-19 12:29:49:968560: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 16771: /usr/sbin/grub-probe 2015-05-19 12:29:50:633280: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 16771: /usr/sbin/grub-probe 2015-05-19 12:29:50:636833: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 16782: /usr/sbin/grub-probe 2015-05-19 12:29:50:668562: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 16782: /usr/sbin/grub-probe 2015-05-19 12:29:50:700339: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 16793: /usr/sbin/grub-probe 2015-05-19 12:29:50:707859: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 16793: /usr/sbin/grub-probe 2015-05-19 12:29:50:739534: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 16804: /usr/sbin/grub-probe 2015-05-19 12:29:50:903658: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 16804: /usr/sbin/grub-probe 2015-05-19 12:29:51:035434: [root@10.204.217.99] out: Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported. 2015-05-19 12:29:51:499887: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 16861: /usr/sbin/grub-probe 2015-05-19 12:29:51:500073: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 16861: /usr/sbin/grub-probe 2015-05-19 12:29:51:563903: [root@10.204.217.99] out: Found linux image: /boot/vmlinuz-3.13.0-40-generic 2015-05-19 12:29:51:595670: [root@10.204.217.99] out: Found initrd image: /boot/initrd.img-3.13.0-40-generic 2015-05-19 12:29:51:611373: [root@10.204.217.99] out: Found linux image: /boot/vmlinuz-3.13.0-24-generic 2015-05-19 12:29:52:412824: [root@10.204.217.99] out: Found initrd image: /boot/initrd.img-3.13.0-24-generic 2015-05-19 12:29:52:428509: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 17193: /usr/sbin/grub-probe 2015-05-19 12:29:52:492347: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 17193: /usr/sbin/grub-probe 2015-05-19 12:29:52:692972: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on lvs invocation. Parent PID 17287: /bin/sh 2015-05-19 12:29:52:756809: [root@10.204.217.99] out: done 2015-05-19 12:29:52:888829: [root@10.204.217.99] out: [localhost] local: sudo sed "s/config.cnfg.server_ip.*/config.cnfg.server_ip = '10.204.217.99';/g" /etc/contrail/config.global.js > config.global.js.new 2015-05-19 12:29:52:889013: [root@10.204.217.99] out: [localhost] local: sudo mv config.global.js.new /etc/contrail/config.global.js 2015-05-19 12:29:52:889112: [root@10.204.217.99] out: [localhost] local: sudo sed "s/config.networkManager.ip.*/config.networkManager.ip = '10.204.217.99';/g" /etc/contrail/config.global.js > config.global.js.new 2015-05-19 12:29:52:896737: [root@10.204.217.99] out: [localhost] local: sudo mv config.global.js.new /etc/contrail/config.global.js 2015-05-19 12:29:52:912456: [root@10.204.217.99] out: [localhost] local: sudo sed "s/config.imageManager.ip.*/config.imageManager.ip = '10.204.217.99';/g" /etc/contrail/config.global.js > config.global.js.new 2015-05-19 12:29:52:913915: [root@10.204.217.99] out: [localhost] local: sudo mv config.global.js.new /etc/contrail/config.global.js 2015-05-19 12:29:52:929571: [root@10.204.217.99] out: [localhost] local: sudo sed "s/config.computeManager.ip.*/config.computeManager.ip = '10.204.217.99';/g" /etc/contrail/config.global.js > config.global.js.new 2015-05-19 12:29:52:929731: [root@10.204.217.99] out: [localhost] local: sudo mv config.global.js.new /etc/contrail/config.global.js 2015-05-19 12:29:52:945305: [root@10.204.217.99] out: [localhost] local: sudo sed "s/config.identityManager.ip.*/config.identityManager.ip = '10.204.217.99';/g" /etc/contrail/config.global.js > config.global.js.new 2015-05-19 12:29:52:946626: [root@10.204.217.99] out: [localhost] local: sudo mv config.global.js.new /etc/contrail/config.global.js 2015-05-19 12:29:52:962297: [root@10.204.217.99] out: [localhost] local: sudo sed "s/config.storageManager.ip.*/config.storageManager.ip = '10.204.217.99';/g" /etc/contrail/config.global.js > config.global.js.new 2015-05-19 12:29:52:962469: [root@10.204.217.99] out: [localhost] local: sudo mv config.global.js.new /etc/contrail/config.global.js 2015-05-19 12:29:52:970011: [root@10.204.217.99] out: [localhost] local: sudo sed "s/auth.admin_user.*/auth.admin_user = 'admin';/g" /etc/contrail/contrail-webui-userauth.js > contrail-webui-userauth.js.new 2015-05-19 12:29:52:985657: [root@10.204.217.99] out: [localhost] local: sudo mv contrail-webui-userauth.js.new /etc/contrail/contrail-webui-userauth.js 2015-05-19 12:29:52:989179: [root@10.204.217.99] out: [localhost] local: sudo sed "s/auth.admin_password.*/auth.admin_password = 'contrail123';/g" /etc/contrail/contrail-webui-userauth.js > contrail-webui-userauth.js.new 2015-05-19 12:29:52:996772: [root@10.204.217.99] out: [localhost] local: sudo mv contrail-webui-userauth.js.new /etc/contrail/contrail-webui-userauth.js 2015-05-19 12:29:53:012437: [root@10.204.217.99] out: [localhost] local: sudo sed "s/auth.admin_token.*/auth.admin_token = '228c309425f7df134ecc';/g" /etc/contrail/contrail-webui-userauth.js > contrail-webui-userauth.js.new 2015-05-19 12:29:53:013772: [root@10.204.217.99] out: [localhost] local: sudo mv contrail-webui-userauth.js.new /etc/contrail/contrail-webui-userauth.js 2015-05-19 12:29:53:021275: [root@10.204.217.99] out: [localhost] local: sudo sed "s/auth.admin_tenant_name.*/auth.admin_tenant_name = 'admin';/g" /etc/contrail/contrail-webui-userauth.js > contrail-webui-userauth.js.new 2015-05-19 12:29:53:036989: [root@10.204.217.99] out: [localhost] local: sudo mv contrail-webui-userauth.js.new /etc/contrail/contrail-webui-userauth.js 2015-05-19 12:29:53:040469: [root@10.204.217.99] out: [localhost] local: sudo sed "s/config.analytics.server_ip.*/config.analytics.server_ip = '10.204.217.99';/g" /etc/contrail/config.global.js > config.global.js.new 2015-05-19 12:29:53:048149: [root@10.204.217.99] out: [localhost] local: sudo mv config.global.js.new /etc/contrail/config.global.js 2015-05-19 12:29:53:055707: [root@10.204.217.99] out: [localhost] local: sudo sed "s/config.cassandra.server_ips.*/config.cassandra.server_ips = ['10.204.217.99'];/g" /etc/contrail/config.global.js > config.global.js.new 2015-05-19 12:29:53:071358: [root@10.204.217.99] out: [localhost] local: sudo mv config.global.js.new /etc/contrail/config.global.js 2015-05-19 12:29:53:074911: [root@10.204.217.99] out: [localhost] local: sudo webui-server-setup.sh 2015-05-19 12:29:53:090576: [root@10.204.217.99] out: stop: Unknown instance: 2015-05-19 12:29:53:122335: [root@10.204.217.99] out: supervisor-webui start/running, process 17490 2015-05-19 12:29:53:129899: [root@10.204.217.99] out: 2015-05-19 12:29:53:145407: 2015-05-19 12:29:53:149950: [root@10.204.217.99] Executing task 'verify_webui' 2015-05-19 12:29:53:150110: [root@10.204.217.99] sudo: service supervisor-webui status 2015-05-19 12:29:53:150212: [root@10.204.217.99] out: supervisor-webui start/running, process 17490 2015-05-19 12:29:53:198756: [root@10.204.217.99] out: 2015-05-19 12:29:53:198888: 2015-05-19 12:29:53:204133: [root@10.204.217.99] Executing task 'setup_vrouter' 2015-05-19 12:29:53:204307: INFO: Retrieve (/etc/nova/nova.conf) file from (root@10.204.217.99) and copy to (/tmp/tmpTuQk8g/nova.conf) 2015-05-19 12:29:53:318451: [root@10.204.217.99] run: (tempdir=$(mktemp -d); echo $tempdir) 2015-05-19 12:29:53:318582: [root@10.204.217.99] out: /tmp/tmp.lMYll7Jnxa 2015-05-19 12:29:53:498781: [root@10.204.217.99] out: 2015-05-19 12:29:53:499214: 2015-05-19 12:29:53:499441: [root@10.204.217.99] sudo: cp -rf /etc/nova/nova.conf /tmp/tmp.lMYll7Jnxa/tmpnova.conf 2015-05-19 12:29:53:499634: [root@10.204.217.99] sudo: chmod -R 777 /tmp/tmp.lMYll7Jnxa/tmpnova.conf 2015-05-19 12:29:53:554864: [root@10.204.217.99] download: /tmp/tmpTuQk8g/nova.conf <- /tmp/tmp.lMYll7Jnxa/tmpnova.conf 2015-05-19 12:29:53:683924: [root@10.204.217.99] sudo: rm -rf /tmp/tmp.lMYll7Jnxa 2015-05-19 12:29:53:689047: WARNING: Exception (No option 'neutron_metadata_proxy_shared_secret' in section: 'DEFAULT') during retrieving (neutron_metadata_proxy_shared_secret) from section (DEFAULT) 2015-05-19 12:29:53:777279: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:29:53:777727: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:29:53:843377: [root@10.204.217.99] out: 2015-05-19 12:29:53:844032: 2015-05-19 12:29:53:845930: [root@10.204.217.99] sudo: sudo sed -i 's/ENABLED=.*/ENABLED=1/g' /etc/default/haproxy 2015-05-19 12:29:53:846088: [root@10.204.217.99] sudo: sudo ls /etc/contrail/service.token 2015-05-19 12:29:53:944371: [root@10.204.217.99] out: /etc/contrail/service.token 2015-05-19 12:29:54:009617: [root@10.204.217.99] out: 2015-05-19 12:29:54:009907: 2015-05-19 12:29:54:010306: [root@10.204.217.99] sudo: sudo cat /etc/contrail/service.token 2015-05-19 12:29:54:010504: [root@10.204.217.99] out: 228c309425f7df134ecc 2015-05-19 12:29:54:076179: No dpdk section in testbed file on host root@10.204.217.99. 2015-05-19 12:29:54:076523: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:29:54:076695: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:29:54:141868: [root@10.204.217.99] out: 2015-05-19 12:29:54:145249: 2015-05-19 12:29:54:174221: [root@10.204.217.99] sudo: rm /etc/init/supervisor-vrouter.override 2015-05-19 12:29:54:174531: setup-vnc-compute --self_ip 10.204.217.99 --cfgm_ip 10.204.217.99 --cfgm_user root --cfgm_passwd c0ntrail123 --ncontrols 1 --amqp_server_ip 10.204.217.99 --service_token 228c309425f7df134ecc --orchestrator openstack --hypervisor docker --keystone_ip 10.204.217.99 --openstack_mgmt_ip 10.204.217.99 --keystone_auth_protocol http --keystone_auth_port 35357 --quantum_service_protocol http --keystone_admin_user admin --keystone_admin_password contrail123 2015-05-19 12:29:54:205125: [root@10.204.217.99] sudo: setup-vnc-compute --self_ip 10.204.217.99 --cfgm_ip 10.204.217.99 --cfgm_user root --cfgm_passwd c0ntrail123 --ncontrols 1 --amqp_server_ip 10.204.217.99 --service_token 228c309425f7df134ecc --orchestrator openstack --hypervisor docker --keystone_ip 10.204.217.99 --openstack_mgmt_ip 10.204.217.99 --keystone_auth_protocol http --keystone_auth_port 35357 --quantum_service_protocol http --keystone_admin_user admin --keystone_admin_password contrail123 2015-05-19 12:29:54:205281: [root@10.204.217.99] out: [localhost] local: ln -sf /bin/true /sbin/chkconfig 2015-05-19 12:29:54:471618: [root@10.204.217.99] out: [localhost] local: ln -sf /bin/true /sbin/chkconfig 2015-05-19 12:29:54:471706: [root@10.204.217.99] out: [localhost] local: sudo sed 's/SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config > config.new 2015-05-19 12:29:54:471758: [root@10.204.217.99] out: [localhost] local: sudo mv config.new /etc/selinux/config 2015-05-19 12:29:54:471805: [root@10.204.217.99] out: [localhost] local: setenforce 0 2015-05-19 12:29:54:471851: [root@10.204.217.99] out: /bin/sh: 1: setenforce: not found 2015-05-19 12:29:54:471895: [root@10.204.217.99] out: 2015-05-19 12:29:54:471943: [root@10.204.217.99] out: Warning: local() encountered an error (return code 127) while executing 'setenforce 0' 2015-05-19 12:29:54:471987: [root@10.204.217.99] out: 2015-05-19 12:29:54:472039: [root@10.204.217.99] out: [localhost] local: rm config.new 2015-05-19 12:29:54:472083: [root@10.204.217.99] out: rm: cannot remove ‘config.new’: No such file or directory 2015-05-19 12:29:54:472127: [root@10.204.217.99] out: 2015-05-19 12:29:54:472169: [root@10.204.217.99] out: Warning: local() encountered an error (return code 1) while executing 'rm config.new' 2015-05-19 12:29:54:472211: [root@10.204.217.99] out: 2015-05-19 12:29:54:472254: [root@10.204.217.99] out: [localhost] local: sudo chkconfig iptables off 2015-05-19 12:29:54:472295: [root@10.204.217.99] out: [localhost] local: sudo iptables --flush 2015-05-19 12:29:54:472338: [root@10.204.217.99] out: [localhost] local: sudo sed '/DAEMON_COREFILE_LIMIT=.*/d' /etc/sysconfig/init > /etc/sysconfig/init.new 2015-05-19 12:29:54:472385: [root@10.204.217.99] out: /bin/sh: 1: cannot create /etc/sysconfig/init.new: Directory nonexistent 2015-05-19 12:29:54:472430: [root@10.204.217.99] out: 2015-05-19 12:29:54:472473: [root@10.204.217.99] out: Warning: local() encountered an error (return code 2) while executing 'sudo sed '/DAEMON_COREFILE_LIMIT=.*/d' /etc/sysconfig/init > /etc/sysconfig/init.new' 2015-05-19 12:29:54:472515: [root@10.204.217.99] out: 2015-05-19 12:29:54:472559: [root@10.204.217.99] out: [localhost] local: sudo mv /etc/sysconfig/init.new /etc/sysconfig/init 2015-05-19 12:29:54:472601: [root@10.204.217.99] out: mv: cannot stat ‘/etc/sysconfig/init.new’: No such file or directory 2015-05-19 12:29:54:474320: [root@10.204.217.99] out: 2015-05-19 12:29:54:474393: [root@10.204.217.99] out: Warning: local() encountered an error (return code 1) while executing 'sudo mv /etc/sysconfig/init.new /etc/sysconfig/init' 2015-05-19 12:29:54:474439: [root@10.204.217.99] out: 2015-05-19 12:29:54:474483: [root@10.204.217.99] out: kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t 2015-05-19 12:29:54:474525: [root@10.204.217.99] out: [localhost] local: grep -q 'kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t' /etc/sysctl.conf || echo 'kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t' >> /etc/sysctl.conf 2015-05-19 12:29:54:474569: [root@10.204.217.99] out: [localhost] local: sudo sed 's/net.ipv4.ip_forward.*/net.ipv4.ip_forward = 1/g' /etc/sysctl.conf > /tmp/sysctl.new 2015-05-19 12:29:54:475903: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/sysctl.new /etc/sysctl.conf 2015-05-19 12:29:54:483242: [root@10.204.217.99] out: [localhost] local: rm /tmp/sysctl.new 2015-05-19 12:29:54:486708: [root@10.204.217.99] out: rm: cannot remove ‘/tmp/sysctl.new’: No such file or directory 2015-05-19 12:29:54:487973: [root@10.204.217.99] out: 2015-05-19 12:29:54:488050: [root@10.204.217.99] out: Warning: local() encountered an error (return code 1) while executing 'rm /tmp/sysctl.new' 2015-05-19 12:29:54:488097: [root@10.204.217.99] out: 2015-05-19 12:29:54:488141: [root@10.204.217.99] out: [localhost] local: sysctl -p 2015-05-19 12:29:54:488184: [root@10.204.217.99] out: fs.file-max = 65535 2015-05-19 12:29:54:489474: [root@10.204.217.99] out: kernel.core_pattern = /var/crashes/core.%e.%p.%h.%t 2015-05-19 12:29:54:490704: [root@10.204.217.99] out: net.ipv4.ip_local_reserved_ports = 35357,35358,35357,35358,35357,35358,33306 2015-05-19 12:29:54:490770: [root@10.204.217.99] out: [localhost] local: mkdir -p /var/crashes 2015-05-19 12:29:54:490818: [root@10.204.217.99] out: [localhost] local: chmod 777 /var/crashes 2015-05-19 12:29:54:492060: [root@10.204.217.99] out: [localhost] local: sed -i 's/crashkernel=.*\([ | \"]\)/crashkernel=384M-2G:64M,2G-16G:128M,16G-:256M\1/g' /etc/default/grub.d/kexec-tools.cfg 2015-05-19 12:29:54:493275: [root@10.204.217.99] out: [localhost] local: [ -f /etc/default/kdump-tools ] && sed -i 's/USE_KDUMP=0/USE_KDUMP=1/' /etc/default/kdump-tools 2015-05-19 12:29:54:496571: [root@10.204.217.99] out: [localhost] local: update-grub 2015-05-19 12:29:54:497784: [root@10.204.217.99] out: Generating grub configuration file ... 2015-05-19 12:29:55:061885: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 17761: /usr/sbin/grub-probe 2015-05-19 12:29:55:626040: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 17761: /usr/sbin/grub-probe 2015-05-19 12:29:55:629392: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 17772: /usr/sbin/grub-probe 2015-05-19 12:29:55:644843: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 17772: /usr/sbin/grub-probe 2015-05-19 12:29:55:676354: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 17783: /usr/sbin/grub-probe 2015-05-19 12:29:55:676452: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 17783: /usr/sbin/grub-probe 2015-05-19 12:29:55:707959: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 17794: /usr/sbin/grub-probe 2015-05-19 12:29:55:808258: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 17794: /usr/sbin/grub-probe 2015-05-19 12:29:55:972134: [root@10.204.217.99] out: Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported. 2015-05-19 12:29:56:380339: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 17851: /usr/sbin/grub-probe 2015-05-19 12:29:56:396079: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 17851: /usr/sbin/grub-probe 2015-05-19 12:29:56:459770: [root@10.204.217.99] out: Found linux image: /boot/vmlinuz-3.13.0-40-generic 2015-05-19 12:29:56:523589: [root@10.204.217.99] out: Found initrd image: /boot/initrd.img-3.13.0-40-generic 2015-05-19 12:29:56:523793: [root@10.204.217.99] out: Found linux image: /boot/vmlinuz-3.13.0-24-generic 2015-05-19 12:29:56:925793: [root@10.204.217.99] out: Found initrd image: /boot/initrd.img-3.13.0-24-generic 2015-05-19 12:29:56:941441: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 18184: /usr/sbin/grub-probe 2015-05-19 12:29:57:005246: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 18184: /usr/sbin/grub-probe 2015-05-19 12:29:57:121034: [root@10.204.217.99] out: File descriptor 3 (/dev/null) leaked on lvs invocation. Parent PID 18278: /bin/sh 2015-05-19 12:29:57:221579: [root@10.204.217.99] out: done 2015-05-19 12:29:57:323328: [root@10.204.217.99] out: [localhost] local: openstack-config --set /etc/nova/nova.conf DEFAULT neutron_admin_auth_url http://10.204.217.99:5000/v2.0 2015-05-19 12:29:57:355118: [root@10.204.217.99] out: [localhost] local: sudo sed -i 's/rpc_backend = nova.openstack.common.rpc.impl_qpid/#rpc_backend = nova.openstack.common.rpc.impl_qpid/g' /etc/nova/nova.conf 2015-05-19 12:29:57:386948: [root@10.204.217.99] out: [localhost] local: sudo grep -q '^cgroup_device_acl' /etc/libvirt/qemu.conf 2015-05-19 12:29:57:387179: [root@10.204.217.99] out: 2015-05-19 12:29:57:394878: [root@10.204.217.99] out: Warning: local() encountered an error (return code 1) while executing 'sudo grep -q '^cgroup_device_acl' /etc/libvirt/qemu.conf' 2015-05-19 12:29:57:395036: [root@10.204.217.99] out: 2015-05-19 12:29:57:395146: [root@10.204.217.99] out: [localhost] local: sudo echo 'cgroup_device_acl = [' >> /etc/libvirt/qemu.conf 2015-05-19 12:29:57:395234: [root@10.204.217.99] out: [localhost] local: sudo echo ' "/dev/null", "/dev/full", "/dev/zero",' >> /etc/libvirt/qemu.conf 2015-05-19 12:29:57:402849: [root@10.204.217.99] out: [localhost] local: sudo echo ' "/dev/random", "/dev/urandom",' >> /etc/libvirt/qemu.conf 2015-05-19 12:29:57:418504: [root@10.204.217.99] out: [localhost] local: sudo echo ' "/dev/ptmx", "/dev/kvm", "/dev/kqemu",' >> /etc/libvirt/qemu.conf 2015-05-19 12:29:57:419885: [root@10.204.217.99] out: [localhost] local: sudo echo ' "/dev/rtc", "/dev/hpet","/dev/net/tun",' >> /etc/libvirt/qemu.conf 2015-05-19 12:29:57:427487: [root@10.204.217.99] out: [localhost] local: sudo echo ']' >> /etc/libvirt/qemu.conf 2015-05-19 12:29:57:443066: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/tmpoPn33k/vrouter_nodemgr_param /etc/contrail/vrouter_nodemgr_param 2015-05-19 12:29:57:446464: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/tmpoPn33k/default_pmac /etc/contrail/default_pmac 2015-05-19 12:29:57:453989: [root@10.204.217.99] out: [localhost] local: netstat -rn | grep ^"0.0.0.0" | head -n 1 | grep p1p1 | awk '{ print $2 }' 2015-05-19 12:29:57:469545: [root@10.204.217.99] out: [localhost] local: sudo sed 's/dev=.*/dev=p1p1/g' /etc/contrail/agent_param.tmpl > agent_param.new 2015-05-19 12:29:57:469673: [root@10.204.217.99] out: [localhost] local: sudo mv agent_param.new /etc/contrail/agent_param 2015-05-19 12:29:57:477132: [root@10.204.217.99] out: [localhost] local: sudo cp /tmp/tmpoPn33k/vnswad.conf /etc/contrail/contrail-vrouter-agent.conf 2015-05-19 12:29:57:484723: [root@10.204.217.99] out: [localhost] local: sudo rm /tmp/tmpoPn33k/vnswad.conf* 2015-05-19 12:29:57:492298: [root@10.204.217.99] out: [localhost] local: cp /etc/network/interfaces /tmp/tmpoPn33k/interfaces 2015-05-19 12:29:57:507963: [root@10.204.217.99] out: [localhost] local: sed -i '/auto p1p1/,/auto/{/auto/!d}' /tmp/tmpoPn33k/interfaces 2015-05-19 12:29:57:508164: [root@10.204.217.99] out: [localhost] local: sed -i '/auto p1p1/d' /tmp/tmpoPn33k/interfaces 2015-05-19 12:29:57:508268: [root@10.204.217.99] out: [localhost] local: echo 'auto p1p1' >> /tmp/tmpoPn33k/interfaces 2015-05-19 12:29:57:511835: [root@10.204.217.99] out: [localhost] local: echo 'iface p1p1 inet manual' >> /tmp/tmpoPn33k/interfaces 2015-05-19 12:29:57:511974: [root@10.204.217.99] out: [localhost] local: echo ' pre-up ifconfig p1p1 up' >> /tmp/tmpoPn33k/interfaces 2015-05-19 12:29:57:515470: [root@10.204.217.99] out: [localhost] local: echo ' post-down ifconfig p1p1 down' >> /tmp/tmpoPn33k/interfaces 2015-05-19 12:29:57:516926: [root@10.204.217.99] out: [localhost] local: echo ' pre-up ethtool --offload p1p1 rx off' >> /tmp/tmpoPn33k/interfaces 2015-05-19 12:29:57:518353: [root@10.204.217.99] out: [localhost] local: echo ' pre-up ethtool --offload p1p1 tx off' >> /tmp/tmpoPn33k/interfaces 2015-05-19 12:29:57:519765: [root@10.204.217.99] out: [localhost] local: echo '' >> /tmp/tmpoPn33k/interfaces 2015-05-19 12:29:57:521211: [root@10.204.217.99] out: [localhost] local: echo '' >> /tmp/tmpoPn33k/interfaces 2015-05-19 12:29:57:524655: [root@10.204.217.99] out: [localhost] local: echo 'auto vhost0' >> /tmp/tmpoPn33k/interfaces 2015-05-19 12:29:57:525169: [root@10.204.217.99] out: [localhost] local: echo 'iface vhost0 inet static' >> /tmp/tmpoPn33k/interfaces 2015-05-19 12:29:57:528705: [root@10.204.217.99] out: [localhost] local: echo ' pre-up /opt/contrail/bin/if-vhost0' >> /tmp/tmpoPn33k/interfaces 2015-05-19 12:29:57:528863: [root@10.204.217.99] out: [localhost] local: echo ' netmask 255.255.255.0' >> /tmp/tmpoPn33k/interfaces 2015-05-19 12:29:57:532401: [root@10.204.217.99] out: [localhost] local: echo ' network_name application' >> /tmp/tmpoPn33k/interfaces 2015-05-19 12:29:57:532880: [root@10.204.217.99] out: [localhost] local: echo ' address 10.204.217.99' >> /tmp/tmpoPn33k/interfaces 2015-05-19 12:29:57:536381: [root@10.204.217.99] out: [localhost] local: echo ' gateway 10.204.217.254' >> /tmp/tmpoPn33k/interfaces 2015-05-19 12:29:57:536524: [root@10.204.217.99] out: [localhost] local: grep ^"search" /etc/resolv.conf | awk '{$1="";print $0}' 2015-05-19 12:29:57:539977: [root@10.204.217.99] out: [localhost] local: echo ' dns-search englab.juniper.net juniper.net' >> /tmp/tmpoPn33k/interfaces 2015-05-19 12:29:57:541520: [root@10.204.217.99] out: [localhost] local: grep "^nameserver\>" /etc/resolv.conf | awk '{print $2}' 2015-05-19 12:29:57:544952: [root@10.204.217.99] out: [localhost] local: echo -n ' dns-nameservers' >> /tmp/tmpoPn33k/interfaces 2015-05-19 12:29:57:546276: [root@10.204.217.99] out: [localhost] local: echo -n ' 10.204.216.51' >> /tmp/tmpoPn33k/interfaces 2015-05-19 12:29:57:547790: [root@10.204.217.99] out: [localhost] local: echo -n ' 172.29.147.60' >> /tmp/tmpoPn33k/interfaces 2015-05-19 12:29:57:551233: [root@10.204.217.99] out: [localhost] local: echo -n ' 10.209.194.133' >> /tmp/tmpoPn33k/interfaces 2015-05-19 12:29:57:551340: [root@10.204.217.99] out: [localhost] local: echo ' 2015-05-19 12:29:57:552642: [root@10.204.217.99] out: ' >> /tmp/tmpoPn33k/interfaces 2015-05-19 12:29:57:552728: [root@10.204.217.99] out: [localhost] local: sudo mv -f /tmp/tmpoPn33k/interfaces /etc/network/interfaces 2015-05-19 12:29:57:554071: [root@10.204.217.99] out: [localhost] local: sudo mv /tmp/tmpoPn33k/contrail-vrouter-nodemgr.conf /etc/contrail/contrail-vrouter-nodemgr.conf 2015-05-19 12:29:57:569597: [root@10.204.217.99] out: [localhost] local: sudo echo SERVICE_TOKEN=228c309425f7df134ecc >> /tmp/tmpoPn33k/ctrl-details 2015-05-19 12:29:57:571016: [root@10.204.217.99] out: [localhost] local: sudo echo AUTH_PROTOCOL=http >> /tmp/tmpoPn33k/ctrl-details 2015-05-19 12:29:57:586674: [root@10.204.217.99] out: [localhost] local: sudo echo QUANTUM_PROTOCOL=http >> /tmp/tmpoPn33k/ctrl-details 2015-05-19 12:29:57:590194: [root@10.204.217.99] out: [localhost] local: sudo echo ADMIN_TOKEN=contrail123 >> /tmp/tmpoPn33k/ctrl-details 2015-05-19 12:29:57:597682: [root@10.204.217.99] out: [localhost] local: sudo echo CONTROLLER=10.204.217.99 >> /tmp/tmpoPn33k/ctrl-details 2015-05-19 12:29:57:605132: [root@10.204.217.99] out: [localhost] local: sudo echo AMQP_SERVER=10.204.217.99 >> /tmp/tmpoPn33k/ctrl-details 2015-05-19 12:29:57:612586: [root@10.204.217.99] out: [localhost] local: sudo echo HYPERVISOR=docker >> /tmp/tmpoPn33k/ctrl-details 2015-05-19 12:29:57:620112: [root@10.204.217.99] out: [localhost] local: sudo echo QUANTUM=10.204.217.99 >> /tmp/tmpoPn33k/ctrl-details 2015-05-19 12:29:57:627587: [root@10.204.217.99] out: [localhost] local: sudo echo QUANTUM_PORT=None >> /tmp/tmpoPn33k/ctrl-details 2015-05-19 12:29:57:631019: [root@10.204.217.99] out: [localhost] local: sudo echo COMPUTE=10.204.217.99 >> /tmp/tmpoPn33k/ctrl-details 2015-05-19 12:29:57:638579: [root@10.204.217.99] out: [localhost] local: sudo echo CONTROLLER_MGMT=10.204.217.99 >> /tmp/tmpoPn33k/ctrl-details 2015-05-19 12:29:57:646145: [root@10.204.217.99] out: [localhost] local: sudo cp /tmp/tmpoPn33k/ctrl-details /etc/contrail/ctrl-details 2015-05-19 12:29:57:653626: [root@10.204.217.99] out: [localhost] local: sudo rm /tmp/tmpoPn33k/ctrl-details 2015-05-19 12:29:57:669208: [root@10.204.217.99] out: [localhost] local: sudo service libvirt-bin restart 2015-05-19 12:29:57:669329: [root@10.204.217.99] out: libvirt-bin stop/waiting 2015-05-19 12:29:57:733200: [root@10.204.217.99] out: libvirt-bin start/running, process 18549 2015-05-19 12:29:57:733389: [root@10.204.217.99] out: [localhost] local: sudo compute-server-setup.sh 2015-05-19 12:29:57:733500: [root@10.204.217.99] out: 1:2014.2.2-0ubuntu1~cloud0.2contrail 2015-05-19 12:29:57:797355: [root@10.204.217.99] out: kvm_intel 143148 0 2015-05-19 12:29:57:797497: [root@10.204.217.99] out: kvm 455785 1 kvm_intel 2015-05-19 12:29:57:797559: [root@10.204.217.99] out: [localhost] local: chkconfig nova-compute on 2015-05-19 12:29:58:098139: [root@10.204.217.99] out: [localhost] local: service nova-compute restart 2015-05-19 12:29:58:098259: [root@10.204.217.99] out: nova-compute stop/waiting 2015-05-19 12:29:58:098317: [root@10.204.217.99] out: nova-compute start/running, process 18721 2015-05-19 12:29:58:106203: [root@10.204.217.99] out: [localhost] local: chkconfig supervisor-vrouter on 2015-05-19 12:29:58:108825: [root@10.204.217.99] out: [localhost] local: python /opt/contrail/utils/provision_vrouter.py --host_name nodec59 --host_ip 10.204.217.99 --api_server_ip 10.204.217.99 --oper add --admin_user admin --admin_password contrail123 --admin_tenant_name admin --openstack_ip 10.204.217.99 2015-05-19 12:29:58:112156: [root@10.204.217.99] out: 2015-05-19 12:29:58:412662: 2015-05-19 12:29:58:412975: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:29:58:413113: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:29:58:467143: [root@10.204.217.99] out: 2015-05-19 12:29:58:467289: 2015-05-19 12:29:58:467422: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:29:58:467574: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:29:58:533924: [root@10.204.217.99] out: 2015-05-19 12:29:58:534045: 2015-05-19 12:29:58:534247: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:29:58:534391: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:29:58:599690: [root@10.204.217.99] out: 2015-05-19 12:29:58:599828: 2015-05-19 12:29:58:599970: Dist is ubuntu 2015-05-19 12:29:58:600102: [root@10.204.217.99] sudo: dpkg -s nova-common | grep Version: | cut -d' ' -f2 | cut -d'-' -f1 2015-05-19 12:29:58:600169: [root@10.204.217.99] out: 1:2014.2.2 2015-05-19 12:29:58:667521: [root@10.204.217.99] out: 2015-05-19 12:29:58:667643: 2015-05-19 12:29:58:668815: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:29:58:668929: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:29:58:735069: [root@10.204.217.99] out: 2015-05-19 12:29:58:735236: 2015-05-19 12:29:58:735428: [root@10.204.217.99] sudo: python -c 'from platform import linux_distribution; print linux_distribution()' 2015-05-19 12:29:58:735702: [root@10.204.217.99] out: ('Ubuntu', '14.04', 'trusty') 2015-05-19 12:29:58:801537: [root@10.204.217.99] out: 2015-05-19 12:29:58:801669: 2015-05-19 12:29:58:801754: [root@10.204.217.99] sudo: grep '^instance_usage_audit =' /etc/nova/nova.conf 2015-05-19 12:29:58:801917: [root@10.204.217.99] sudo: openstack-config --set /etc/nova/nova.conf DEFAULT notification_driver ceilometer.compute.nova_notifier 2015-05-19 12:29:58:888064: [root@10.204.217.99] sudo: openstack-config --set /etc/nova/nova.conf DEFAULT notification_driver nova.openstack.common.notifier.rpc_notifier 2015-05-19 12:29:58:953204: [root@10.204.217.99] sudo: openstack-config --set /etc/nova/nova.conf DEFAULT notify_on_state_change vm_and_task_state 2015-05-19 12:29:59:018098: [root@10.204.217.99] sudo: openstack-config --set /etc/nova/nova.conf DEFAULT instance_usage_audit_period hour 2015-05-19 12:29:59:085577: [root@10.204.217.99] sudo: openstack-config --set /etc/nova/nova.conf DEFAULT instance_usage_audit True 2015-05-19 12:29:59:214691: [root@10.204.217.99] sudo: service nova-compute restart 2015-05-19 12:29:59:257685: [root@10.204.217.99] out: nova-compute stop/waiting 2015-05-19 12:29:59:423676: [root@10.204.217.99] out: nova-compute start/running, process 18928 2015-05-19 12:29:59:423770: [root@10.204.217.99] out: 2015-05-19 12:29:59:424146: 2015-05-19 12:29:59:425139: [root@10.204.217.99] Executing task 'prov_config_node' 2015-05-19 12:29:59:425369: [root@10.204.217.99] sudo: hostname 2015-05-19 12:29:59:425559: [root@10.204.217.99] out: nodec59 2015-05-19 12:29:59:506354: [root@10.204.217.99] out: 2015-05-19 12:29:59:506530: 2015-05-19 12:29:59:506670: [root@10.204.217.99] sudo: python provision_config_node.py --api_server_ip 10.204.217.99 --host_name nodec59 --host_ip 10.204.217.99 --oper add --admin_user admin --admin_password contrail123 --admin_tenant_name admin 2015-05-19 12:29:59:506832: [root@10.204.217.99] Executing task 'prov_database_node' 2015-05-19 12:29:59:772727: [root@10.204.217.99] sudo: hostname 2015-05-19 12:29:59:772865: [root@10.204.217.99] out: nodec59 2015-05-19 12:29:59:825437: [root@10.204.217.99] out: 2015-05-19 12:29:59:825574: 2015-05-19 12:29:59:829185: [root@10.204.217.99] sudo: python provision_database_node.py --api_server_ip 10.204.217.99 --host_name nodec59 --host_ip 10.204.217.99 --oper add --admin_user admin --admin_password contrail123 --admin_tenant_name admin 2015-05-19 12:29:59:829351: [root@10.204.217.99] Executing task 'prov_analytics_node' 2015-05-19 12:30:00:581795: [root@10.204.217.99] sudo: hostname 2015-05-19 12:30:00:581950: [root@10.204.217.99] out: nodec59 2015-05-19 12:30:00:662398: [root@10.204.217.99] out: 2015-05-19 12:30:00:662543: 2015-05-19 12:30:00:668857: [root@10.204.217.99] sudo: python provision_analytics_node.py --api_server_ip 10.204.217.99 --host_name nodec59 --host_ip 10.204.217.99 --oper add --admin_user admin --admin_password contrail123 --admin_tenant_name admin 2015-05-19 12:30:00:669035: [root@10.204.217.99] Executing task 'prov_control_bgp' 2015-05-19 12:30:01:006115: [root@10.204.217.99] sudo: hostname 2015-05-19 12:30:01:006303: [root@10.204.217.99] out: nodec59 2015-05-19 12:30:01:056601: [root@10.204.217.99] out: 2015-05-19 12:30:01:056739: 2015-05-19 12:30:01:060250: Configuring global system config with the ASN 2015-05-19 12:30:01:060371: [root@10.204.217.99] sudo: python provision_control.py --api_server_ip 10.204.217.99 --api_server_port 8082 --router_asn 64512 --admin_user admin --admin_password contrail123 --admin_tenant_name admin 2015-05-19 12:30:01:060473: Adding control node as bgp router 2015-05-19 12:30:01:359115: [root@10.204.217.99] sudo: python provision_control.py --api_server_ip 10.204.217.99 --api_server_port 8082 --router_asn 64512 --admin_user admin --admin_password contrail123 --admin_tenant_name admin --host_name nodec59 --host_ip 10.204.217.99 --oper add 2015-05-19 12:30:01:359190: [root@10.204.217.99] Executing task 'prov_external_bgp' 2015-05-19 12:30:01:724553: [root@10.204.217.99] sudo: python provision_mx.py --api_server_ip 10.204.217.99 --api_server_port 8082 --router_name mx1 --router_ip 10.204.217.99 --router_asn 64512 --admin_user admin --admin_password contrail123 --admin_tenant_name admin 2015-05-19 12:30:01:724854: [root@10.204.217.99] Executing task 'prov_metadata_services' 2015-05-19 12:30:02:159695: [root@10.204.217.99] sudo: python /opt/contrail/utils/provision_linklocal.py --admin_user admin --admin_password contrail123 --ipfabric_service_ip 10.204.217.99 --api_server_ip 10.204.217.99 --linklocal_service_name metadata --linklocal_service_ip 169.254.169.254 --linklocal_service_port 80 --ipfabric_service_port 8775 --oper add 2015-05-19 12:30:02:159854: [root@10.204.217.99] out: Created.UUID is 1043a85f-4917-41fd-926b-127bd0432866 2015-05-19 12:30:02:593928: [root@10.204.217.99] out: 2015-05-19 12:30:02:594057: 2015-05-19 12:30:02:594344: [root@10.204.217.99] Executing task 'prov_encap_type' 2015-05-19 12:30:02:594491: [root@10.204.217.99] sudo: python /opt/contrail/utils/provision_encap.py --admin_user admin --admin_password contrail123 --encap_priority MPLSoUDP,MPLSoGRE,VXLAN --oper add 2015-05-19 12:30:02:594635: [root@10.204.217.99] out: Updated.{"global-vrouter-config": {"href": "http://127.0.0.1:8082/global-vrouter-config/1043a85f-4917-41fd-926b-127bd0432866", "uuid": "1043a85f-4917-41fd-926b-127bd0432866"}} 2015-05-19 12:30:02:891283: [root@10.204.217.99] out: 2015-05-19 12:30:02:891418: 2015-05-19 12:30:02:891531: [root@10.204.217.99] Executing task 'setup_remote_syslog' 2015-05-19 12:30:12:901804: env.rsyslog_params has to be defined and 'status' set to 'enable/disable' to setup/cleanup remote syslog. 2015-05-19 12:30:12:901978: [root@10.204.217.99] Executing task 'setup_nova_aggregate' 2015-05-19 12:30:12:902175: [root@10.204.217.99] download: /tmp/openstackrc <- /etc/contrail/openstackrc 2015-05-19 12:30:12:911857: [root@10.204.217.99] put: /tmp/openstackrc -> /etc/contrail/openstackrc 2015-05-19 12:30:12:985208: [root@10.204.217.99] sudo: (source /etc/contrail/openstackrc; nova aggregate-list) 2015-05-19 12:30:13:005572: [root@10.204.217.99] out: +----+------+-------------------+ 2015-05-19 12:30:14:373480: [root@10.204.217.99] out: | Id | Name | Availability Zone | 2015-05-19 12:30:14:373569: [root@10.204.217.99] out: +----+------+-------------------+ 2015-05-19 12:30:14:373611: [root@10.204.217.99] out: +----+------+-------------------+ 2015-05-19 12:30:14:373651: [root@10.204.217.99] out: 2015-05-19 12:30:14:381094: 2015-05-19 12:30:14:388824: [root@10.204.217.99] sudo: (source /etc/contrail/openstackrc; nova aggregate-create docker nova/docker) 2015-05-19 12:30:14:389050: [root@10.204.217.99] out: ERROR (Unauthorized): Unauthorized (HTTP 401) (Request-ID: req-77bfdedb-b53a-4c6a-b81b-2b84de912df7) 2015-05-19 12:30:15:087959: [root@10.204.217.99] out: 2015-05-19 12:30:15:103506: 2015-05-19 12:30:15:124766: Disconnecting from 10.204.217.99... done. 2015-05-19 12:30:15:239092: 2015-05-19 12:21:02:668676: Warning: sudo() received nonzero return code 2 while executing 'sed -i '/umask 007/ a\limit nofile 10240 10240' /etc/init/mysql.conf'! 2015-05-19 12:21:02:668676: 2015-05-19 12:21:02:668676: 2015-05-19 12:21:03:010223: Warning: sudo() received nonzero return code 1 while executing 'grep '^net.ipv4.ip_local_reserved_ports' /etc/sysctl.conf > /dev/null 2>&1'! 2015-05-19 12:21:03:010223: 2015-05-19 12:21:03:010223: 2015-05-19 12:21:03:186617: Warning: sudo() received nonzero return code 2 while executing 'sudo ls /etc/contrail/service.token'! 2015-05-19 12:21:03:186617: 2015-05-19 12:21:03:186617: 2015-05-19 12:28:02:249877: Warning: sudo() received nonzero return code 1 while executing 'service mongodb status | grep not'! 2015-05-19 12:28:02:249877: 2015-05-19 12:28:02:249877: 2015-05-19 12:28:06:325225: Warning: sudo() received nonzero return code 1 while executing 'source /etc/contrail/openstackrc;keystone user-get ceilometer'! 2015-05-19 12:28:06:325225: 2015-05-19 12:28:06:325225: 2015-05-19 12:28:08:414860: Warning: sudo() received nonzero return code 1 while executing 'grep '^auth_host =' /etc/ceilometer/ceilometer.conf'! 2015-05-19 12:28:08:414860: 2015-05-19 12:28:08:414860: 2015-05-19 12:28:09:762187: Warning: sudo() received nonzero return code 1 while executing 'source /etc/contrail/openstackrc;keystone service-list | grep ceilometer'! 2015-05-19 12:28:09:762187: 2015-05-19 12:28:09:762187: 2015-05-19 12:29:23:881102: Warning: sudo() received nonzero return code 1 while executing 'service redis-server status | grep not'! 2015-05-19 12:29:23:881102: 2015-05-19 12:29:23:881102: 2015-05-19 12:29:48:698776: Warning: sudo() received nonzero return code 1 while executing 'service redis-server status | grep not'! 2015-05-19 12:29:48:698776: 2015-05-19 12:29:48:698776: 2015-05-19 12:29:58:887935: Warning: sudo() received nonzero return code 1 while executing 'grep '^instance_usage_audit =' /etc/nova/nova.conf'! 2015-05-19 12:29:58:887935: 2015-05-19 12:29:58:887935: 2015-05-19 12:30:15:124919: Fatal error: sudo() received nonzero return code 1 while executing! 2015-05-19 12:30:15:124919: 2015-05-19 12:30:15:124919: Requested: (source /etc/contrail/openstackrc; nova aggregate-create docker nova/docker) 2015-05-19 12:30:15:124919: Executed: sudo -S -p 'sudo password:' /bin/bash -l -c "(source /etc/contrail/openstackrc; nova aggregate-create docker nova/docker)" 2015-05-19 12:30:15:124919: 2015-05-19 12:30:15:124962: Aborting. 2015-05-19 12:30:15:124962: