Vcenter-as-compute: setup-vnc-galera fails when executing mysql_install_db
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R4.0 |
Fix Committed
|
Critical
|
amudhar | |||
Trunk |
Fix Committed
|
Critical
|
amudhar |
Bug Description
This issue seen on Vcenter-as-compute sanity setup with latest #16 (newton) during fab setup_all
Please find below the details,
::
::
2017-05-30 17:04:18:015149: [root@10.87.36.10] out: [localhost] local: sudo mv /tmp/tmprfc2IB/
2017-05-30 17:04:18:030836: [root@10.87.36.10] out: [localhost] local: echo 1 > /etc/contrail/
2017-05-30 17:04:18:038368: [root@10.87.36.10] out: [localhost] local: chkconfig mysql on
2017-05-30 17:04:18:041122: [root@10.87.36.10] out: [localhost] local: chown -R mysql:mysql /var/lib/mysql/
2017-05-30 17:04:18:044572: [root@10.87.36.10] out: [localhost] local: service mysql restart
2017-05-30 17:04:18:052176: [root@10.87.36.10] out: Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details.
2017-05-30 17:04:55:406122: [root@10.87.36.10] out:
2017-05-30 17:04:55:406271: [root@10.87.36.10] out: Warning: local() encountered an error (return code 1) while executing 'service mysql restart'
2017-05-30 17:04:55:406343: [root@10.87.36.10] out:
2017-05-30 17:04:55:406414: [root@10.87.36.10] out: [localhost] local: mysql_install_db --user=mysql --ldata=
2017-05-30 17:04:55:406487: [root@10.87.36.10] out: mysql_install_db: [ERROR] unknown variable 'ldata=
2017-05-30 17:04:55:410246: [root@10.87.36.10] out: 2017-05-30 17:04:55 [ERROR] Unrecognized options
2017-05-30 17:04:55:410370: [root@10.87.36.10] out:
2017-05-30 17:04:55:410449: [root@10.87.36.10] out: Fatal error: local() encountered an error (return code 1) while executing 'mysql_install_db --user=mysql --ldata=
2017-05-30 17:04:55:410514: [root@10.87.36.10] out:
2017-05-30 17:04:55:410579: [root@10.87.36.10] out: Aborting.
2017-05-30 17:04:55:410639: [root@10.87.36.10] out:
2017-05-30 17:04:55:442570:
2017-05-30 17:04:55:442983: Disconnecting from 10.87.36.20... done.
2017-05-30 17:04:55:507218: Disconnecting from 10.87.36.15... done.
2017-05-30 17:04:55:621216: Disconnecting from 10.87.36.19... done.
2017-05-30 17:04:55:735081: Disconnecting from 10.87.36.18... done.
2017-05-30 17:04:55:798946: Disconnecting from 10.87.36.12... done.
2017-05-30 17:04:55:814656: Disconnecting from 10.87.36.21... done.
2017-05-30 17:04:55:928859: Disconnecting from 10.87.36.11... done.
2017-05-30 17:04:55:960760: Disconnecting from 10.87.36.10... done.
2017-05-30 17:04:56:074927:
2017-05-30 17:03:58:572925: Warning: sudo() received nonzero return code 1 while executing 'ip addr | grep 10.87.36.25'!
2017-05-30 17:03:58:572925:
2017-05-30 17:03:58:572925:
2017-05-30 17:04:09:833724: Warning: sudo() received nonzero return code 1 while executing 'service haproxy restart'!
2017-05-30 17:04:09:833724:
2017-05-30 17:04:09:833724:
2017-05-30 17:04:10:568258: Warning: sudo() received nonzero return code 1 while executing 'service haproxy restart'!
2017-05-30 17:04:10:568258:
2017-05-30 17:04:10:568258:
2017-05-30 17:04:11:348750: Warning: sudo() received nonzero return code 1 while executing 'service haproxy restart'!
2017-05-30 17:04:11:348750:
2017-05-30 17:04:11:348750:
2017-05-30 17:04:55:443106: Fatal error: sudo() received nonzero return code 1 while executing!
2017-05-30 17:04:55:443106:
2017-05-30 17:04:55:443106: Requested: setup-vnc-galera --self_ip 10.87.36.10 --keystone_ip 10.87.36.25 --galera_ip_list 10.87.36.10 10.87.36.11 10.87.36.12 --internal_vip 10.87.36.25 --openstack_index 1 --zoo_ip_list 10.87.36.10 10.87.36.11 10.87.36.12 --keystone_user keystone --keystone_pass keystone --cmon_user cmon --cmon_pass cmon --monitor_galera True
2017-05-30 17:04:55:443106: Executed: sudo -S -p 'sudo password:' /bin/bash -l -c "cd /opt/contrail/bin && setup-vnc-galera --self_ip 10.87.36.10 --keystone_ip 10.87.36.25 --galera_ip_list 10.87.36.10 10.87.36.11 10.87.36.12 --internal_vip 10.87.36.25 --openstack_index 1 --zoo_ip_list 10.87.36.10 10.87.36.11 10.87.36.12 --keystone_user keystone --keystone_pass keystone --cmon_user cmon --cmon_pass cmon --monitor_galera True"
2017-05-30 17:04:55:443106:
2017-05-30 17:04:55:443142: Aborting.
nsarath@ ubuntu- build04: /auto/cores/ 1694570$ ls -ltrd *
-rw-r--r-- 1 nsarath test 24309760 May 30 17:44 Esxi-2-log.tar
-rw-r--r-- 1 nsarath test 251525120 May 30 17:45 Ctrl-A-log.tar
-rw-r--r-- 1 nsarath test 290150400 May 30 17:45 Ctrl-B-log.tar
-rw-r--r-- 1 nsarath test 24064000 May 30 17:45 Esxi-1-log.tar
-rw-r--r-- 1 nsarath test 272128000 May 30 17:45 Ctrl-C-log.tar
-rw-r--r-- 1 nsarath test 15626240 May 30 17:45 Kvm-1-log.tar
-rw-r--r-- 1 nsarath test 8253440 May 30 17:46 Ctrl-A-Utils.tar