redhat-openstack / tripleo-quickstart

Ansible roles for setting up TripleO virtual environments and building images
16 stars 15 forks source link

quickstart undercloud installation issue #5

Closed ermingpei closed 8 years ago

ermingpei commented 8 years ago

~

3 plays in /home/stack/.quickstart/usr/local/share/tripleo-quickstart/playbooks/quickstart.yml

PLAY [Add virthost to inventory] ***

TASK [provision/manual : Create working_dir] *** ok: [localhost] => {"changed": false, "gid": 1000, "group": "stack", "mode": "0775", "owner": "stack", "path": "/home/stack/.quickstart", "secontext": "unconfined_u:object_r:user_home_t:s0", "size": 87, "state": "directory", "uid": 1000}

TASK [provision/manual : Create empty ssh config file] ***** changed: [localhost] => {"changed": true, "dest": "/home/stack/.quickstart/ssh.config.ansible", "gid": 1000, "group": "stack", "mode": "0664", "owner": "stack", "secontext": "unconfined_u:object_r:user_home_t:s0", "size": 0, "state": "file", "uid": 1000}

TASK [provision/manual : Add the virthost to the inventory] **** creating host via 'add_host': hostname=host0 changed: [localhost] => {"add_host": {"groups": ["virthost"], "host_name": "host0", "host_vars": {"ansible_fqdn": "*****.ualberta.ca", "ansible_ssh_host": "cirrus.nic.ualberta.ca", "ansible_ssh_private_key_file": "/home/stack/.ssh/id_rsa", "ansible_ssh_user": "stack", "local_working_dir": "/home/stack/.quickstart"}}, "changed": true}

TASK [rebuild-inventory : rebuild-inventory] *** changed: [localhost] => {"changed": true, "checksum": "7f041b7ad7074f3700330a48a4c52b8282218255", "dest": "/home/stack/.quickstart/hosts", "gid": 1000, "group": "stack", "md5sum": "e64ff5b25e4eba5bc4955f6682684318", "mode": "0664", "owner": "stack", "secontext": "unconfined_u:object_r:user_home_t:s0", "size": 176, "src": "/home/stack/.ansible/tmp/ansible-tmp-1454365142.58-185300564260252/source", "state": "file", "uid": 1000}

PLAY [Setup undercloud and baremetal vms and networks in libvirt] **

TASK [teardown/check : check if libvirt is running] **** ok: [host0] => {"changed": false, "cmd": "rpm -qa libvirt && systemctl status libvirtd", "delta": "0:00:01.206875", "end": "2016-02-01 15:19:05.154115", "failed": false, "failed_when_result": false, "rc": 0, "start": "2016-02-01 15:19:03.947240", "stderr": "", "stdout": "libvirt-1.2.17-13.el7_2.2.x86_64\n● libvirtd.service - Virtualization daemon\n Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled)\n Active: active (running) since Mon 2016-01-25 14:16:44 MST; 1 weeks 0 days ago\n Docs: man:libvirtd(8)\n http://libvirt.org\n Main PID: 3339 (libvirtd)\n CGroup: /system.slice/libvirtd.service\n ├─3143 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper\n ├─3144 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirtleaseshelper\n └─3339 /usr/sbin/libvirtd\n\nJan 26 15:27:47 cirrus.nic.ualberta.ca libvirtd[3339]: Received unexpected event 3\nJan 26 15:27:47 cirrus.nic.ualberta.ca libvirtd[3339]: Received unexpected event 3\nJan 26 15:29:49 cirrus.nic.ualberta.ca libvirtd[3339]: Received unexpected event 3\nJan 26 15:29:49 ****.ualberta.ca libvirtd[3339]: Received unexpected event 3\nJan 26 15:37:22 *.ualberta.ca libvirtd[3339]: Received unexpected event 3\nJan 26 15:37:22 ****.ualberta.ca libvirtd[3339]: Received unexpected event 3\nFeb 01 13:45:58 cirrus.nic.ualberta.ca libvirtd[3339]: Received unexpected event 3\nFeb 01 13:45:58 *.ualberta.ca libvirtd[3339]: Received unexpected event 3\nFeb 01 13:46:59 **.ualberta.ca libvirtd[3339]: Received unexpected event 3\nFeb 01 13:46:59 **.ualberta.ca libvirtd[3339]: Received unexpected event 3", "stdout_lines": ["libvirt-1.2.17-13.el7_2.2.x86_64", "● libvirtd.service - Virtualization daemon", " Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled)", " Active: active (running) since Mon 2016-01-25 14:16:44 MST; 1 weeks 0 days ago", " Docs: man:libvirtd(8)", " http://libvirt.org", " Main PID: 3339 (libvirtd)", " CGroup: /system.slice/libvirtd.service", " ├─3143 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirt_leaseshelper", " ├─3144 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/libexec/libvirtleaseshelper", " └─3339 /usr/sbin/libvirtd", "", "Jan 26 15:27:47 *_.ualberta.ca libvirtd[3339]: Received unexpected event 3", "Jan 26 15:27:47 **__.ualberta.ca libvirtd[3339]: Received unexpected event 3", "Jan 26 15:29:49 cirrus.nic.ualberta.ca libvirtd[3339]: Received unexpected event 3", "Jan 26 15:29:49 _.ualberta.ca libvirtd[3339]: Received unexpected event 3", "Jan 26 15:37:22 ****.ualberta.ca libvirtd[3339]: Received unexpected event 3"], "warnings": ["Consider using yum module rather than running rpm"]} [WARNING]: Consider using yum module rather than running rpm

TASK [teardown/networks : Delete external network] ***** ok: [host0] => {"changed": false}

TASK [teardown/networks : Delete the OVS bridges] ** failed: [host0] => (item={u'name': u'bridget'}) => {"cmd": "ovs-vsctl -t 5 br-exists bridget", "failed": true, "item": {"name": "bridget"}, "msg": "[Errno 2] No such file or directory", "rc": 2}

PLAY RECAP ***** host0 : ok=2 changed=0 unreachable=0 failed=1
localhost : ok=4 changed=3 unreachable=0 failed=0

ermingpei commented 8 years ago

Problem resolved by the developer, Trown.