Triggered by Gerrit: https://review.openstack.org/451351
[EnvInject] - Loading node environment variables.
Building remotely on intel-virtual8 (bifrost-verify-virtual infra-virtual-centos7) in workspace /home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-centos7-virtual-master
Running Prebuild steps
[openstack-bifrost-verify-centos7-virtual-master] $ /bin/bash /tmp/hudson1347491029111753115.sh
Success build forhudson.tasks.Shell@6fe53fd4
Wiping out workspace first.
Cloning the remote Git repository
Cloning repository https://git.openstack.org/openstack/bifrost
> git init /home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-centos7-virtual-master # timeout=10
Fetching upstream changes from https://git.openstack.org/openstack/bifrost
> git --version # timeout=10
> git -c core.askpass=true fetch --tags --progress https://git.openstack.org/openstack/bifrost +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://git.openstack.org/openstack/bifrost # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://git.openstack.org/openstack/bifrost # timeout=10
Fetching upstream changes from https://git.openstack.org/openstack/bifrost
> git -c core.askpass=true fetch --tags --progress https://git.openstack.org/openstack/bifrost refs/changes/51/451351/1 # timeout=10
> git rev-parse d771c4cad8e7666c9bc2a09fa19f3ec49fd1d446^{commit} # timeout=10
Checking out Revision d771c4cad8e7666c9bc2a09fa19f3ec49fd1d446 (refs/changes/51/451351/1)
> git config core.sparsecheckout # timeout=10
> git checkout -f d771c4cad8e7666c9bc2a09fa19f3ec49fd1d446 # timeout=10
> git rev-parse FETCH_HEAD^{commit} # timeout=10
> git rev-list 2600d546ed7116f5aad81972b0987a269f3c45b4 # timeout=10
[description-setter] Description set: Built on intel-virtual8
[openstack-bifrost-verify-centos7-virtual-master] $ /bin/bash /tmp/hudson342947771002160077.sh
Cloning into '/opt/bifrost'...
Cloning into '/opt/releng'...
From https://git.openstack.org/openstack/bifrost
* branch refs/changes/51/451351/1 -> FETCH_HEAD
Note: checking out 'FETCH_HEAD'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at d771c4c... Do not overrride enable_venv by local lookup
Domain compute00 destroyed
Domain compute00 has been undefined
Domain controller00 destroyed
Domain controller00 has been undefined
Domain xcimaster destroyed
Domain xcimaster has been undefined
Redirecting to /bin/systemctl stop ironic-conductor.service
removing inventory files created by previous builds
removing ironic database
removing leases
removing logs
restarting services
Redirecting to /bin/systemctl restart dnsmasq.service
Redirecting to /bin/systemctl restart libvirtd.service
Redirecting to /bin/systemctl restart ironic-api.service
Redirecting to /bin/systemctl start ironic-conductor.service
Redirecting to /bin/systemctl restart ironic-inspector.service
+ set -o pipefail
+ export PYTHONUNBUFFERED=1
+ PYTHONUNBUFFERED=1
+++ dirname ./scripts/bifrost-provision.sh
++ cd ./scripts
++ pwd
+ SCRIPT_HOME=/opt/bifrost/scripts
+ BIFROST_HOME=/opt/bifrost/scripts/..
+ ANSIBLE_INSTALL_ROOT=/opt/stack
+ ANSIBLE_VERBOSITY=-vvvv
+ ENABLE_VENV=false
+ USE_DHCP=false
+ USE_VENV=false
+ BUILD_IMAGE=true
+ PROVISION_WAIT_TIMEOUT=3600
++ git rev-parse --abbrev-ref HEAD
+ CURRENT_BIFROST_BRANCH=HEAD
+ '[' HEAD = master ']'
+ BAREMETAL_DATA_FILE=/tmp/baremetal.csv
+ INVENTORY_FILE_FORMAT=baremetal_csv_file
+ export BIFROST_INVENTORY_SOURCE=/tmp/baremetal.csv
+ BIFROST_INVENTORY_SOURCE=/tmp/baremetal.csv
+ export TEST_VM_NUM_NODES=3
+ TEST_VM_NUM_NODES=3
+ export 'TEST_VM_NODE_NAMES=xcimaster controller00 compute00'
+ TEST_VM_NODE_NAMES='xcimaster controller00 compute00'
+ export VM_DOMAIN_TYPE=kvm
+ VM_DOMAIN_TYPE=kvm
+ export VM_CPU=2
+ VM_CPU=2
+ export VM_DISK=30
+ VM_DISK=30
+ export VM_MEMORY_SIZE=4096
+ VM_MEMORY_SIZE=4096
+ export VM_DISK_CACHE=unsafe
+ VM_DISK_CACHE=unsafe
+ TEST_PLAYBOOK=opnfv-virtual.yaml
+ USE_INSPECTOR=true
+ USE_CIRROS=false
+ TESTING_USER=root
+ DOWNLOAD_IPA=true
+ CREATE_IPA_IMAGE=false
+ INSPECT_NODES=true
+ INVENTORY_DHCP=false
+ INVENTORY_DHCP_STATIC_IP=false
+ WRITE_INTERFACES_FILE=true
+ export DIB_DEV_USER_PWDLESS_SUDO=yes
+ DIB_DEV_USER_PWDLESS_SUDO=yes
+ export DIB_DEV_USER_PASSWORD=devuser
+ DIB_DEV_USER_PASSWORD=devuser
+ export DIB_OS_RELEASE=7
+ DIB_OS_RELEASE=7
+ export DIB_OS_ELEMENT=centos7
+ DIB_OS_ELEMENT=centos7
+ export DIB_OS_PACKAGES=vim,less,bridge-utils,iputils,rsyslog,curl
+ DIB_OS_PACKAGES=vim,less,bridge-utils,iputils,rsyslog,curl
+ export EXTRA_DIB_ELEMENTS=openssh-server
+ EXTRA_DIB_ELEMENTS=openssh-server
+ set +x +o nounset
which: no dnf in (/sbin:/bin:/usr/sbin:/usr/bin)
NOTICE: Not using virtualenv for this installation.
/bin/pip
Requirement already satisfied (use --upgrade to upgrade): pip>6.0 in /usr/lib/python2.7/site-packages
You are using pip version 8.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Requirement already satisfied (use --upgrade to upgrade): pbr>=2.0.0 in /usr/lib/python2.7/site-packages (from -r /opt/bifrost/scripts/../requirements.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): oslo.config>=3.22.0 in /usr/lib/python2.7/site-packages (from -r /opt/bifrost/scripts/../requirements.txt (line 5))
Requirement already satisfied (use --upgrade to upgrade): oslo.log>=3.11.0 in /usr/lib/python2.7/site-packages (from -r /opt/bifrost/scripts/../requirements.txt (line 6))
Requirement already satisfied (use --upgrade to upgrade): rfc3986>=0.3.1 in /usr/lib/python2.7/site-packages (from oslo.config>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 5))
Requirement already satisfied (use --upgrade to upgrade): oslo.i18n>=2.1.0 in /usr/lib/python2.7/site-packages (from oslo.config>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 5))
Requirement already satisfied (use --upgrade to upgrade): six>=1.9.0 in /usr/lib/python2.7/site-packages (from oslo.config>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 5))
Requirement already satisfied (use --upgrade to upgrade): netaddr!=0.7.16,>=0.7.13 in /usr/lib/python2.7/site-packages (from oslo.config>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 5))
Requirement already satisfied (use --upgrade to upgrade): debtcollector>=1.2.0 in /usr/lib/python2.7/site-packages (from oslo.config>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 5))
Requirement already satisfied (use --upgrade to upgrade): stevedore>=1.20.0 in /usr/lib/python2.7/site-packages (from oslo.config>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 5))
Requirement already satisfied (use --upgrade to upgrade): oslo.utils>=3.20.0 in /usr/lib/python2.7/site-packages (from oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6))
Requirement already satisfied (use --upgrade to upgrade): monotonic>=0.6 in /usr/lib/python2.7/site-packages (from oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6))
Requirement already satisfied (use --upgrade to upgrade): pyinotify>=0.9.6; sys_platform != "win32" and sys_platform != "darwin" and sys_platform != "sunos5" in /usr/lib/python2.7/site-packages (from oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6))
Requirement already satisfied (use --upgrade to upgrade): python-dateutil>=2.4.2 in /usr/lib/python2.7/site-packages (from oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6))
Requirement already satisfied (use --upgrade to upgrade): oslo.serialization>=1.10.0 in /usr/lib/python2.7/site-packages (from oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6))
Requirement already satisfied (use --upgrade to upgrade): oslo.context>=2.12.0 in /usr/lib/python2.7/site-packages (from oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6))
Requirement already satisfied (use --upgrade to upgrade): Babel>=2.3.4 in /usr/lib/python2.7/site-packages (from oslo.i18n>=2.1.0->oslo.config>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 5))
Requirement already satisfied (use --upgrade to upgrade): wrapt>=1.7.0 in /usr/lib64/python2.7/site-packages (from debtcollector>=1.2.0->oslo.config>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 5))
Requirement already satisfied (use --upgrade to upgrade): funcsigs>=0.4; python_version == "2.7" or python_version == "2.6" in /usr/lib/python2.7/site-packages (from debtcollector>=1.2.0->oslo.config>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 5))
Requirement already satisfied (use --upgrade to upgrade): netifaces>=0.10.4 in /usr/lib64/python2.7/site-packages (from oslo.utils>=3.20.0->oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6))
Requirement already satisfied (use --upgrade to upgrade): pyparsing>=2.1.0 in /usr/lib/python2.7/site-packages (from oslo.utils>=3.20.0->oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6))
Requirement already satisfied (use --upgrade to upgrade): iso8601>=0.1.11 in /usr/lib/python2.7/site-packages (from oslo.utils>=3.20.0->oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6))
Requirement already satisfied (use --upgrade to upgrade): pytz>=2013.6 in /usr/lib/python2.7/site-packages (from oslo.utils>=3.20.0->oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6))
Requirement already satisfied (use --upgrade to upgrade): msgpack-python>=0.4.0 in /usr/lib64/python2.7/site-packages (from oslo.serialization>=1.10.0->oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6))
Requirement already satisfied (use --upgrade to upgrade): positional>=1.1.1 in /usr/lib/python2.7/site-packages (from oslo.context>=2.12.0->oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6))
You are using pip version 8.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Requirement already up-to-date: ansible<2.2 in /root/.local/lib/python2.7/site-packages
Requirement already up-to-date: paramiko in /root/.local/lib/python2.7/site-packages (from ansible<2.2)
Requirement already up-to-date: jinja2 in /usr/lib/python2.7/site-packages (from ansible<2.2)
Requirement already up-to-date: PyYAML in /usr/lib64/python2.7/site-packages (from ansible<2.2)
Requirement already up-to-date: setuptools in /root/.local/lib/python2.7/site-packages (from ansible<2.2)
Requirement already up-to-date: pycrypto>=2.6 in /usr/lib64/python2.7/site-packages (from ansible<2.2)
Requirement already up-to-date: cryptography>=1.1 in /root/.local/lib/python2.7/site-packages (from paramiko->ansible<2.2)
Requirement already up-to-date: pyasn1>=0.1.7 in /root/.local/lib/python2.7/site-packages (from paramiko->ansible<2.2)
Requirement already up-to-date: MarkupSafe>=0.23 in /usr/lib64/python2.7/site-packages (from jinja2->ansible<2.2)
Requirement already up-to-date: six>=1.6.0 in /usr/lib/python2.7/site-packages (from setuptools->ansible<2.2)
Requirement already up-to-date: appdirs>=1.4.0 in /usr/lib/python2.7/site-packages (from setuptools->ansible<2.2)
Requirement already up-to-date: packaging>=16.8 in /usr/lib/python2.7/site-packages (from setuptools->ansible<2.2)
Requirement already up-to-date: idna>=2.1 in /root/.local/lib/python2.7/site-packages (from cryptography>=1.1->paramiko->ansible<2.2)
Requirement already up-to-date: asn1crypto>=0.21.0 in /root/.local/lib/python2.7/site-packages (from cryptography>=1.1->paramiko->ansible<2.2)
Requirement already up-to-date: enum34 in /usr/lib/python2.7/site-packages (from cryptography>=1.1->paramiko->ansible<2.2)
Requirement already up-to-date: ipaddress in /usr/lib/python2.7/site-packages (from cryptography>=1.1->paramiko->ansible<2.2)
Requirement already up-to-date: cffi>=1.4.1 in /root/.local/lib/python2.7/site-packages (from cryptography>=1.1->paramiko->ansible<2.2)
Requirement already up-to-date: pyparsing in /usr/lib/python2.7/site-packages (from packaging>=16.8->setuptools->ansible<2.2)
Requirement already up-to-date: pycparser in /usr/lib/python2.7/site-packages (from cffi>=1.4.1->cryptography>=1.1->paramiko->ansible<2.2)
You are using pip version 8.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
[WARNING]: Host file not found: /etc/ansible/hosts
[WARNING]: provided hosts list is empty, only localhost is available
"changed": false,
[WARNING]: Host file not found: /etc/ansible/hosts
[WARNING]: provided hosts list is empty, only localhost is available
"changed": false,
[WARNING]: Host file not found: /etc/ansible/hosts
[WARNING]: provided hosts list is empty, only localhost is available
"changed": false,
[WARNING]: Host file not found: /etc/ansible/hosts
[WARNING]: provided hosts list is empty, only localhost is available
--2017-03-30 13:02:07-- https://raw.githubusercontent.com/ansible/ansible-modules-extras/stable-2.2/cloud/openstack/os_keystone_service.py
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.192.133, 151.101.64.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6224 (6.1K) [text/plain]
Saving to: ‘/opt/bifrost/scripts/../playbooks/library/os_keystone_service.py’
0K ...... 100% 50.2M=0s
2017-03-30 13:02:07 (50.2 MB/s) - ‘/opt/bifrost/scripts/../playbooks/library/os_keystone_service.py’ saved [6224/6224]
To use bifrost, do
Prepend ~/.local/bin to your PATH if it is not that way already..
.. or use full path to local Ansible at ~/.local/bin/ansible-playbook
source env-vars
Then run playbooks as normal.
Sourcing this file is no longer needed! Ansible is always installed from PyPI
+ trap logs_on_exit EXIT
+ cd /opt/bifrost/scripts/../playbooks
+ for task in syntax-check list-tasks
+ /bin/ansible-playbook -vvvv -i inventory/localhost test-bifrost-create-vm.yaml --syntax-check
No config file found; using defaults
statically included: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml
1 plays in test-bifrost-create-vm.yaml
playbook: test-bifrost-create-vm.yaml
+ /bin/ansible-playbook -vvvv -i inventory/localhost opnfv-virtual.yaml --syntax-check -e testing_user=root
No config file found; using defaults
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/inspector_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/staging_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/bootstrap.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/keystone_setup.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/ironic_config.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/inspector_bootstrap.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/keystone_setup_inspector.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/create_tftpboot.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/get_ipxe.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/download_ipa_image.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/start.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/inspector_start.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-configdrives-dynamic/tasks/update_facts_from_ironic.yaml
statically included: /opt/bifrost/playbooks/roles/bifrost-configdrives-dynamic/tasks/ssh_public_key_path.yaml
6 plays in opnfv-virtual.yaml
playbook: opnfv-virtual.yaml
+ for task in syntax-check list-tasks
+ /bin/ansible-playbook -vvvv -i inventory/localhost test-bifrost-create-vm.yaml --list-tasks
No config file found; using defaults
statically included: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml
1 plays in test-bifrost-create-vm.yaml
playbook: test-bifrost-create-vm.yaml
play #1 (localhost): Executes install, enrollment, and testing in one playbook TAGS: []
tasks:
Warn if baremetal_csv_file is defined TAGS: []
Re-set baremetal json to csv file if defined TAGS: []
Set default baremetal.json file if not already defined TAGS: []
Set ci_testing flag if a list of changes are found in the environment variables TAGS: []
Set ci_testing_zuul if it appears we are running in upstream OpenStack CI TAGS: []
Collect process list if running in OpenStack CI TAGS: []
Collect list of listening network sockets if running in OpenStack CI TAGS: []
bifrost-create-vm-nodes : produce warning when csv file is defined TAGS: []
bifrost-create-vm-nodes : override baremetal_json_file with csv file path TAGS: []
bifrost-create-vm-nodes : Ensure openSUSE Tumbleweed has the correct family TAGS: []
bifrost-create-vm-nodes : Ensure openSUSE Leap has the correct family TAGS: []
bifrost-create-vm-nodes : Update apt cache if Ubuntu/Debian TAGS: []
bifrost-create-vm-nodes : Load distribution defaults TAGS: []
bifrost-create-vm-nodes : Include OS version-specific defaults TAGS: []
bifrost-create-vm-nodes : Check for dnf TAGS: []
bifrost-create-vm-nodes : Adjust ansible_pkg_mgr if dnf exists TAGS: []
bifrost-create-vm-nodes : Install required packages TAGS: []
bifrost-create-vm-nodes : Restart libvirt service TAGS: []
bifrost-create-vm-nodes : Enable IP forwarding in sysctl TAGS: []
bifrost-create-vm-nodes : Look for sgabios in {{ sgabios_dir }} TAGS: []
bifrost-create-vm-nodes : Look for sgabios in /usr/share/misc TAGS: []
bifrost-create-vm-nodes : Place sgabios.bin TAGS: []
bifrost-create-vm-nodes : ensure libvirt network is present TAGS: []
bifrost-create-vm-nodes : find facts on libvirt networks TAGS: []
bifrost-create-vm-nodes : Delete network interface if virtual network is not active TAGS: []
bifrost-create-vm-nodes : set libvirt network to autostart TAGS: []
bifrost-create-vm-nodes : ensure libvirt network is running TAGS: []
bifrost-create-vm-nodes : get libvirt network status TAGS: []
bifrost-create-vm-nodes : fail if libvirt network is not active TAGS: []
bifrost-create-vm-nodes : define a libvirt pool if not set TAGS: []
bifrost-create-vm-nodes : ensure libvirt pool is running TAGS: []
bifrost-create-vm-nodes : create dir for bm logs TAGS: []
bifrost-create-vm-nodes : install virtualbmc TAGS: []
bifrost-create-vm-nodes : truncate explicit list of vm names TAGS: []
bifrost-create-vm-nodes : generate test vm names TAGS: []
bifrost-create-vm-nodes : set test vm names TAGS: []
bifrost-create-vm-nodes : create placeholder var for vm entries in JSON format TAGS: []
include TAGS: []
bifrost-create-vm-nodes : remove previous baremetal data file TAGS: []
bifrost-create-vm-nodes : write to baremetal json file TAGS: []
bifrost-create-vm-nodes : "Set file permissions such that the baremetal data file can be read by the user executing Ansible"
TAGS: []
+ /bin/ansible-playbook -vvvv -i inventory/localhost opnfv-virtual.yaml --list-tasks -e testing_user=root
No config file found; using defaults
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/inspector_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/staging_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/bootstrap.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/keystone_setup.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/ironic_config.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/inspector_bootstrap.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/keystone_setup_inspector.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/create_tftpboot.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/get_ipxe.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/download_ipa_image.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/start.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/inspector_start.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-configdrives-dynamic/tasks/update_facts_from_ironic.yaml
statically included: /opt/bifrost/playbooks/roles/bifrost-configdrives-dynamic/tasks/ssh_public_key_path.yaml
6 plays in opnfv-virtual.yaml
playbook: opnfv-virtual.yaml
play #1 (localhost): Setting pre-test conditions TAGS: []
tasks:
Remove pre-existing leases file TAGS: []
play #2 (localhost): Executes install, enrollment, and testing in one playbook TAGS: []
tasks:
Override the ipv4_gateway setting TAGS: []
bifrost-prep-for-install : ensure installation root folder exists TAGS: []
bifrost-prep-for-install : Download via GIT TAGS: []
bifrost-prep-for-install : Copy from local path TAGS: []
play #3 (localhost): Executes install, enrollment, and testing in one playbook TAGS: []
tasks:
bifrost-ironic-install : Ensure openSUSE Tumbleweed has the correct family TAGS: []
bifrost-ironic-install : Ensure openSUSE Leap has the correct family TAGS: []
bifrost-ironic-install : Include OS family-specific defaults TAGS: []
bifrost-ironic-install : Include OS distribution-specific defaults TAGS: []
bifrost-ironic-install : Include OS version-specific defaults TAGS: []
bifrost-ironic-install : Update Package Cache TAGS: []
bifrost-ironic-install : Install packages TAGS: []
bifrost-ironic-install : Install Ubuntu 14.10 (and later) packages TAGS: []
bifrost-ironic-install : If running in CI, set source install facts just to be sure TAGS: []
bifrost-ironic-install : Ensure /opt/stack is present TAGS: []
bifrost-ironic-install : set virtualenv_command TAGS: []
bifrost-ironic-install : Install {{ package }} package from pip TAGS: []
bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: []
bifrost-ironic-install : set virtualenv_command TAGS: []
bifrost-ironic-install : Install {{ package }} package from pip TAGS: []
bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: []
bifrost-ironic-install : Install iSCSI client if PXE driver support is enabled TAGS: []
bifrost-ironic-install : install shade from PyPI TAGS: []
bifrost-ironic-install : install shade from source TAGS: []
bifrost-ironic-install : set virtualenv_command TAGS: []
bifrost-ironic-install : Install {{ package }} package from pip TAGS: []
bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: []
bifrost-ironic-install : set virtualenv_command TAGS: []
bifrost-ironic-install : Install {{ package }} package from pip TAGS: []
bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: []
bifrost-ironic-install : set virtualenv_command TAGS: []
bifrost-ironic-install : Install {{ package }} package from pip TAGS: []
bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: []
bifrost-ironic-install : set virtualenv_command TAGS: []
bifrost-ironic-install : Install {{ package }} package from pip TAGS: []
bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: []
bifrost-ironic-install : set virtualenv_command TAGS: []
bifrost-ironic-install : Install {{ package }} package from pip TAGS: []
bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: []
bifrost-ironic-install : set virtualenv_command TAGS: []
bifrost-ironic-install : Install {{ package }} package from pip TAGS: []
bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: []
bifrost-ironic-install : set virtualenv_command TAGS: []
bifrost-ironic-install : Install {{ package }} package from pip TAGS: []
bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: []
bifrost-ironic-install : set virtualenv_command TAGS: []
bifrost-ironic-install : Install {{ package }} package from pip TAGS: []
bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: []
bifrost-ironic-install : set virtualenv_command TAGS: []
bifrost-ironic-install : Install {{ package }} package from pip TAGS: []
bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: []
bifrost-ironic-install : set virtualenv_command TAGS: []
bifrost-ironic-install : Install {{ package }} package from pip TAGS: []
bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: []
bifrost-ironic-install : Fail if authentication configuration conflicts. TAGS: []
bifrost-ironic-install : Start database service TAGS: []
bifrost-ironic-install : RabbitMQ - Testing if hostname is defined in /etc/hosts TAGS: []
bifrost-ironic-install : RabbitMQ - Fixing /etc/hosts TAGS: []
bifrost-ironic-install : Stop and disable the epmd service and socket on SUSE TAGS: []
bifrost-ironic-install : Start rabbitmq-server TAGS: []
bifrost-ironic-install : Wait for rabbitmq TAGS: []
bifrost-ironic-install : Ensure guest user is removed from rabbitmq TAGS: []
bifrost-ironic-install : Create ironic user in RabbitMQ TAGS: []
bifrost-ironic-install : Set mysql_username if environment variable mysql_user is set TAGS: []
bifrost-ironic-install : Set mysql_password if environment variable mysql_pass is set TAGS: []
bifrost-ironic-install : MySQL - Creating DB TAGS: []
bifrost-ironic-install : MySQL - Creating user for Ironic TAGS: []
bifrost-ironic-install : Create an ironic service group TAGS: []
bifrost-ironic-install : Create an ironic service user TAGS: []
bifrost-ironic-install : Ensure /etc/ironic exists TAGS: []
bifrost-ironic-install : Copy rootwrap.conf from ironic source folder TAGS: []
bifrost-ironic-install : Copy rootwrap.d contents from ironic source folder TAGS: []
bifrost-ironic-install : Error if credentials are undefined. TAGS: []
bifrost-ironic-install : Ensure service project is present TAGS: []
bifrost-ironic-install : Create service user for ironic TAGS: []
bifrost-ironic-install : Associate ironic user to admin role TAGS: []
bifrost-ironic-install : Create keystone service record for ironic TAGS: []
bifrost-ironic-install : Check ironic admin endpoint exists TAGS: []
bifrost-ironic-install : Check ironic public endpoint exists TAGS: []
bifrost-ironic-install : Check ironic internal endpoint exists TAGS: []
bifrost-ironic-install : Create ironic admin endpoint TAGS: []
bifrost-ironic-install : Create ironic public endpoint TAGS: []
bifrost-ironic-install : Create ironic internal endpoint TAGS: []
bifrost-ironic-install : Create baremetal_admin role TAGS: []
bifrost-ironic-install : Create baremetal_observer role TAGS: []
bifrost-ironic-install : Create baremetal project TAGS: []
bifrost-ironic-install : Create bifrost user TAGS: []
bifrost-ironic-install : Associate bifrost user with baremetal_admin TAGS: []
bifrost-ironic-install : Refresh facts TAGS: []
bifrost-ironic-install : Fail if the network interface does not exist TAGS: []
bifrost-ironic-install : Fail if the network interface has no IP address assigned TAGS: []
bifrost-ironic-install : Update driver list if PXE drivers are enabled TAGS: []
bifrost-ironic-install : Create ironic config TAGS: []
bifrost-ironic-install : Set sudoers for PXE driver support if enabled TAGS: []
bifrost-ironic-install : Copy policy.json to /etc/ironic TAGS: []
bifrost-ironic-install : Create ironic DB Schema TAGS: []
bifrost-ironic-install : Upgrade ironic DB Schema TAGS: []
bifrost-ironic-install : Create service folder if systemd template is defined TAGS: []
bifrost-ironic-install : MySQL - Create database TAGS: []
bifrost-ironic-install : MySQL - Create user for inspector TAGS: []
bifrost-ironic-install : Inspector - Ensure /etc/ironic-inspector/ exists TAGS: []
bifrost-ironic-install : Error if credentials are undefined. TAGS: []
bifrost-ironic-install : Create service user for ironic-inspector TAGS: []
bifrost-ironic-install : Associate ironic_inspector user to admin role TAGS: []
bifrost-ironic-install : Create keystone service record for ironic-inspector TAGS: []
bifrost-ironic-install : Check ironic-inspector admin endpoint exists TAGS: []
bifrost-ironic-install : Check ironic-inspector public endpoint exists TAGS: []
bifrost-ironic-install : Check ironic-inspector internal endpoint exists TAGS: []
bifrost-ironic-install : Create ironic-inspector admin endpoint TAGS: []
bifrost-ironic-install : Create ironic-inspector public endpoint TAGS: []
bifrost-ironic-install : Create ironic-inspector internal endpoint TAGS: []
bifrost-ironic-install : Create inspector_user user TAGS: []
bifrost-ironic-install : Associate inspector_user with baremetal_admin TAGS: []
bifrost-ironic-install : Inspector - Place Configuration TAGS: []
bifrost-ironic-install : Inspector - create data folder TAGS: []
bifrost-ironic-install : Inspector - create log folder TAGS: []
bifrost-ironic-install : Upgrade inspector DB Schema TAGS: []
bifrost-ironic-install : Inspector - Get ironic-inspector install location TAGS: []
bifrost-ironic-install : Inspector - Place service TAGS: []
bifrost-ironic-install : Inspector - Explicitly permit TCP/5050 for ironic-inspector callback TAGS: []
bifrost-ironic-install : Get ironic-api & ironic-conductor install location TAGS: []
bifrost-ironic-install : Set permissions for /var/lib/ironic for the ironic user TAGS: []
bifrost-ironic-install : Place ironic services TAGS: []
bifrost-ironic-install : Set up PXE and iPXE folders TAGS: []
bifrost-ironic-install : Place tftpd map-file TAGS: []
bifrost-ironic-install : Disable service {{ tftp_service_name }} TAGS: []
bifrost-ironic-install : Set pxelinux.0 source (for Ubuntu >=14.10) TAGS: []
bifrost-ironic-install : Determine if pxelinux.0 is in place TAGS: []
bifrost-ironic-install : Place pxelinux.0 TAGS: []
bifrost-ironic-install : Place boot.ipxe helper script /etc/ironic TAGS: []
bifrost-ironic-install : Pre-stage boot.ipxe into /httpboot/ TAGS: []
bifrost-ironic-install : Place tftp config file TAGS: []
bifrost-ironic-install : Create {{ ipxe_dir }} TAGS: []
bifrost-ironic-install : Get ipxe files TAGS: []
bifrost-ironic-install : Copy iPXE image into place TAGS: []
bifrost-ironic-install : Copy full iPXE image into /httpboot TAGS: []
bifrost-ironic-install : Copy full iPXE image into /tftpboot TAGS: []
bifrost-ironic-install : Determine if folder exists, else create and populate folder. TAGS: []
bifrost-ironic-install : Create master_images folder TAGS: []
bifrost-ironic-install : Inspector - Place default tftp boot file in {{ http_boot_folder}}/pxelinux.cfg/ TAGS: []
bifrost-ironic-install : Setup Inventory Hosts Directory TAGS: []
bifrost-ironic-install : Setup Inventory DHCP Hosts Directory TAGS: []
bifrost-ironic-install : Deploy dnsmasq configuration file TAGS: []
bifrost-ironic-install : Look for libvirt dnsmasq config TAGS: []
bifrost-ironic-install : Disable libvirt dnsmasq config TAGS: []
bifrost-ironic-install : Deploy nginx configuration file for serving HTTP requests TAGS: []
bifrost-ironic-install : Test if IPA kernel is present TAGS: []
bifrost-ironic-install : Download IPA kernel checksum file TAGS: []
bifrost-ironic-install : Extract IPA kernel checksum TAGS: []
fail TAGS: []
set_fact TAGS: []
bifrost-ironic-install : Download IPA kernel TAGS: []
bifrost-ironic-install : Test if IPA image is present TAGS: []
bifrost-ironic-install : Download IPA image checksum TAGS: []
bifrost-ironic-install : Extract IPA ramdisk checksum TAGS: []
fail TAGS: []
set_fact TAGS: []
bifrost-ironic-install : Download IPA image TAGS: []
bifrost-ironic-install : Download cirros to use for deployment if requested TAGS: []
bifrost-ironic-install : "Explicitly permit nginx port (TCP) for file downloads from nodes to be provisioned"
TAGS: []
bifrost-ironic-install : Explicitly permit TCP/6385 for IPA callback TAGS: []
bifrost-ironic-install : Explicitly allow nginx and IPA port (TCP) on selinux TAGS: []
bifrost-ironic-install : Add proper context on created data for http_boot TAGS: []
bifrost-ironic-install : Copy ironic policy file to temporary directory TAGS: []
bifrost-ironic-install : Check ironic policy module TAGS: []
bifrost-ironic-install : Package ironic policy module TAGS: []
bifrost-ironic-install : Include ironic policy module TAGS: []
bifrost-ironic-install : Enable ironic policy module TAGS: []
bifrost-ironic-install : Configure remote logging TAGS: []
bifrost-ironic-install : Reload systemd configuration TAGS: []
bifrost-ironic-install : Ensure rsyslog is running with current config TAGS: []
bifrost-ironic-install : Start database service TAGS: []
bifrost-ironic-install : Start rabbitmq-server TAGS: []
bifrost-ironic-install : Inspector - (re)starting ironic-inspector service TAGS: []
bifrost-ironic-install : Start ironic-conductor TAGS: []
bifrost-ironic-install : Start ironic-api TAGS: []
bifrost-ironic-install : Start ironic-conductor TAGS: []
bifrost-ironic-install : Start ironic-api TAGS: []
bifrost-ironic-install : Stop existing libvirt dnsmasq processes TAGS: []
bifrost-ironic-install : Ensure services are running with current config TAGS: []
bifrost-ironic-install : Ensure dnsmasq is running with current config TAGS: []
bifrost-ironic-install : Send services a reload signal TAGS: []
bifrost-ironic-install : Send services a force-reload signal TAGS: []
bifrost-create-dib-image : Test if image is present TAGS: []
bifrost-create-dib-image : Test if image is present - {{ dib_imagename }}.{{ dib_imagetype | default('qcow2') }} TAGS: []
bifrost-create-dib-image : Test if image is present - {{ dib_imagename }}.initramfs TAGS: []
bifrost-create-dib-image : Build tracing (-x) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build uncompressed (-u) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build clear environment (-c) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build no tmpfs (--no-tmpfs) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build offline (--offline) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build skip default base element (-n) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build architecture (-a) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build image name (-o) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build image type (-t) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build image size (--image-size) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build image cache (--image-cache) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build max online resize (--max-online-resize) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build minimum tmpfs size (--min-tmpfs) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build mkfs options (--mkfs-options) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build qemu image options (--qemu-img-options) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build root label (--root-label) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build ramdisk element (--ramdisk-element) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build install type (--install-type) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build packages (-p) option for disk-image-create TAGS: []
bifrost-create-dib-image : Set default of Debian Jessie if building debian and not explicitly set, overwride with dib_os_release setting TAGS: []
bifrost-create-dib-image : Initialize the DIB environment variables fact TAGS: []
bifrost-create-dib-image : Set the DIB_RELEASE environment variable if set TAGS: []
bifrost-create-dib-image : Build argument list TAGS: []
bifrost-create-dib-image : Initiate image build TAGS: []
bifrost-create-dib-image : Initiate ramdisk build TAGS: []
bifrost-create-dib-image : Update permission of generated image TAGS: []
bifrost-create-dib-image : Restore proper context on created data for http_boot TAGS: []
bifrost-create-dib-image : Test if image is present TAGS: []
bifrost-create-dib-image : Test if image is present - {{ dib_imagename }}.{{ dib_imagetype | default('qcow2') }} TAGS: []
bifrost-create-dib-image : Test if image is present - {{ dib_imagename }}.initramfs TAGS: []
bifrost-create-dib-image : Build tracing (-x) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build uncompressed (-u) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build clear environment (-c) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build no tmpfs (--no-tmpfs) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build offline (--offline) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build skip default base element (-n) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build architecture (-a) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build image name (-o) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build image type (-t) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build image size (--image-size) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build image cache (--image-cache) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build max online resize (--max-online-resize) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build minimum tmpfs size (--min-tmpfs) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build mkfs options (--mkfs-options) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build qemu image options (--qemu-img-options) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build root label (--root-label) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build ramdisk element (--ramdisk-element) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build install type (--install-type) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build packages (-p) option for disk-image-create TAGS: []
bifrost-create-dib-image : Set default of Debian Jessie if building debian and not explicitly set, overwride with dib_os_release setting TAGS: []
bifrost-create-dib-image : Initialize the DIB environment variables fact TAGS: []
bifrost-create-dib-image : Set the DIB_RELEASE environment variable if set TAGS: []
bifrost-create-dib-image : Build argument list TAGS: []
bifrost-create-dib-image : Initiate image build TAGS: []
bifrost-create-dib-image : Initiate ramdisk build TAGS: []
bifrost-create-dib-image : Update permission of generated image TAGS: []
bifrost-create-dib-image : Restore proper context on created data for http_boot TAGS: []
play #4 (baremetal): Enroll node with Ironic TAGS: []
tasks:
ironic-enroll-dynamic : Collect facts TAGS: []
ironic-enroll-dynamic : If in noauth mode, unset authentication parameters. TAGS: []
ironic-enroll-dynamic : Execute os_client_config to collect facts TAGS: []
ironic-enroll-dynamic : Set os_client_config's auth parameters if not already set. TAGS: []
ironic-enroll-dynamic : Dynamic enrollment TAGS: []
ironic-inspect-node : Collect facts TAGS: []
ironic-inspect-node : If in noauth mode, unset authentication parameters. TAGS: []
ironic-inspect-node : Execute os_client_config to collect facts TAGS: []
ironic-inspect-node : Set os_client_config's auth parameters if not already set. TAGS: []
ironic-inspect-node : Setup DHCP for nodes. TAGS: []
ironic-inspect-node : Setup DNS address for nodes. TAGS: []
ironic-inspect-node : Sending dnsmasq HUP TAGS: []
ironic-inspect-node : Execute node introspection TAGS: []
play #5 (baremetal): Create configuration drive files and deploy machines TAGS: []
tasks:
bifrost-configdrives-dynamic : If in noauth mode, set auth parameters accordingly. TAGS: []
bifrost-configdrives-dynamic : Execute os_client_config to collect facts TAGS: []
bifrost-configdrives-dynamic : Set os_client_config's auth parameters if not already set. TAGS: []
bifrost-configdrives-dynamic : Collecting node facts TAGS: []
bifrost-configdrives-dynamic : Defined ssh_public_key_path - Check to see if there is a file where the ssh_public_key_path is defined TAGS: []
bifrost-configdrives-dynamic : Defined ssh_public_key_path - Error if ssh_public_key_path is not valid TAGS: []
bifrost-configdrives-dynamic : Defined ssh_public_key_path - Read SSH public key in TAGS: []
bifrost-configdrives-dynamic : Make temporary folder to build configdrive TAGS: []
bifrost-configdrives-dynamic : Make metadata folder - /openstack/{{ metadata_version }} TAGS: []
bifrost-configdrives-dynamic : Make metadata folder - /openstack/latest TAGS: []
bifrost-configdrives-dynamic : Place template in each openstack/{{ metadata_version }} folder TAGS: []
bifrost-configdrives-dynamic : Place template in each openstack/latest folder TAGS: []
bifrost-configdrives-dynamic : Generate network_data TAGS: []
bifrost-configdrives-dynamic : Place network data template in each openstack/latest folder TAGS: []
bifrost-configdrives-dynamic : Place deprecated network info file location in each openstack/latest folder TAGS: []
bifrost-configdrives-dynamic : Make metadata folder - /openstack/latest TAGS: []
bifrost-configdrives-dynamic : Write network Debian style interface template TAGS: []
bifrost-configdrives-dynamic : Check if mkisofs is available TAGS: []
bifrost-configdrives-dynamic : If mkisofs is not available, fallback to genisoimage TAGS: []
bifrost-configdrives-dynamic : Check if genisoimage is available TAGS: []
bifrost-configdrives-dynamic : fail if genisoimage is not available. TAGS: []
bifrost-configdrives-dynamic : Make config drive files TAGS: []
bifrost-configdrives-dynamic : Make config drive files base64 encoded and gzip compressed TAGS: []
bifrost-configdrives-dynamic : Cleanup configdrive .iso files TAGS: []
bifrost-configdrives-dynamic : Cleanup configdrive temp folder TAGS: []
bifrost-deploy-nodes-dynamic : Obtain setup facts TAGS: []
bifrost-deploy-nodes-dynamic : If in noauth mode, unset authentication parameters. TAGS: []
bifrost-deploy-nodes-dynamic : Execute os_client_config to collect facts TAGS: []
bifrost-deploy-nodes-dynamic : Set os_client_config's auth parameters if not already set. TAGS: []
bifrost-deploy-nodes-dynamic : Setup DHCP for nodes. TAGS: []
bifrost-deploy-nodes-dynamic : Setup DNS address for nodes. TAGS: []
bifrost-deploy-nodes-dynamic : Sending dnsmasq HUP TAGS: []
bifrost-deploy-nodes-dynamic : Deploy to hardware - Using custom instance_info. TAGS: []
bifrost-deploy-nodes-dynamic : Collect the checksum of the deployment image. TAGS: []
bifrost-deploy-nodes-dynamic : Error if deploy_image is not present, and instance_info is not defined TAGS: []
bifrost-deploy-nodes-dynamic : Deploy to hardware - bifrost default TAGS: []
play #6 (baremetal): Deploy machines. TAGS: []
tasks:
bifrost-prepare-for-test-dynamic : Wait for the base testvm machine to become available. TAGS: []
bifrost-prepare-for-test-dynamic : Pause for 4 seconds to allow testvm to become fully operational and to avoid any potential sshd startup race. TAGS: []
bifrost-prepare-for-test-dynamic : Add testvm(s) to Ansible Inventory TAGS: []
bifrost-prepare-for-test-dynamic : Ensure ~/.ssh/known_hosts is present TAGS: []
bifrost-prepare-for-test-dynamic : Remove testvm hosts from SSH known_hosts file. TAGS: []
bifrost-prepare-for-test-dynamic : Pause before asking for keyscan, to avoid races TAGS: []
bifrost-prepare-for-test-dynamic : Re-check SSH connectivity prior to proceeding with multi-node testing
TAGS: []
bifrost-prepare-for-test-dynamic : Additional SSH startup pause when performing multi-node testing
TAGS: []
bifrost-prepare-for-test-dynamic : Add testvm hosts from SSH known_hosts file. TAGS: []
+ /bin/ansible-playbook -vvvv -i inventory/localhost test-bifrost-create-vm.yaml -e test_vm_num_nodes=3 -e test_vm_memory_size=4096 -e enable_venv=false -e test_vm_domain_type=kvm -e baremetal_csv_file=/tmp/baremetal.csv
No config file found; using defaults
statically included: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml
Loaded callback default of type stdout, v2.0
PLAYBOOK: test-bifrost-create-vm.yaml ******************************************
1 plays in test-bifrost-create-vm.yaml
PLAY [Executes install, enrollment, and testing in one playbook] ***************
TASK [setup] *******************************************************************
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893334.63-113081687200796 `" && echo ansible-tmp-1490893334.63-113081687200796="` echo $HOME/.ansible/tmp/ansible-tmp-1490893334.63-113081687200796 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpK9pjKh TO /root/.ansible/tmp/ansible-tmp-1490893334.63-113081687200796/setup
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893334.63-113081687200796/ /root/.ansible/tmp/ansible-tmp-1490893334.63-113081687200796/setup && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893334.63-113081687200796/setup; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893334.63-113081687200796/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1]
TASK [Warn if baremetal_csv_file is defined] ***********************************
task path: /opt/bifrost/playbooks/test-bifrost-create-vm.yaml:9
ok: [127.0.0.1] => {
"msg": "\"WARNING - 'baremetal_csv_file' variable is defined. Its use is deprecated. The file created will be in JSON format. Use 'baremetal_json_file' variable instead.\"\n"
}
TASK [Re-set baremetal json to csv file if defined] ****************************
task path: /opt/bifrost/playbooks/test-bifrost-create-vm.yaml:16
ok: [127.0.0.1] => {"ansible_facts": {"baremetal_json_file": "/tmp/baremetal.csv"}, "changed": false, "invocation": {"module_args": {"baremetal_json_file": "/tmp/baremetal.csv"}, "module_name": "set_fact"}}
TASK [Set default baremetal.json file if not already defined] ******************
task path: /opt/bifrost/playbooks/test-bifrost-create-vm.yaml:20
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [Set ci_testing flag if a list of changes are found in the environment variables] ***
task path: /opt/bifrost/playbooks/test-bifrost-create-vm.yaml:24
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [Set ci_testing_zuul if it appears we are running in upstream OpenStack CI] ***
task path: /opt/bifrost/playbooks/test-bifrost-create-vm.yaml:28
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [Collect process list if running in OpenStack CI] *************************
task path: /opt/bifrost/playbooks/test-bifrost-create-vm.yaml:32
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [Collect list of listening network sockets if running in OpenStack CI] ****
task path: /opt/bifrost/playbooks/test-bifrost-create-vm.yaml:35
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-create-vm-nodes : produce warning when csv file is defined] ******
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:15
ok: [127.0.0.1] => {
"msg": "\"WARNING - Variable 'baremetal_csv_file' is deprecated. For backward compatibility, its value will be used as path for file to write data for created 'virtual' baremetal nodes, but the file will be JSON formatted.\"\n"
}
TASK [bifrost-create-vm-nodes : override baremetal_json_file with csv file path] ***
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:24
ok: [127.0.0.1] => {"ansible_facts": {"baremetal_json_file": "/tmp/baremetal.csv"}, "changed": false, "invocation": {"module_args": {"baremetal_json_file": "/tmp/baremetal.csv"}, "module_name": "set_fact"}}
TASK [bifrost-create-vm-nodes : Ensure openSUSE Tumbleweed has the correct family] ***
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:34
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-create-vm-nodes : Ensure openSUSE Leap has the correct family] ***
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:39
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-create-vm-nodes : Update apt cache if Ubuntu/Debian] *************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:45
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-create-vm-nodes : Load distribution defaults] ********************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:50
ok: [127.0.0.1] => (item=/opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/templates/../defaults/required_defaults_CentOS.yml) => {"ansible_facts": {"libvirt_service_name": "libvirtd", "required_packages": ["qemu-img", "qemu-kvm-tools", "qemu-kvm", "qemu-kvm-common", "sgabios", "sgabios-bin", "libvirt", "libvirt-client", "libvirt-daemon", "libvirt-daemon-config-network", "libvirt-daemon-config-nwfilter", "libvirt-daemon-driver-network", "libvirt-daemon-driver-nodedev", "libvirt-daemon-driver-nwfilter", "libvirt-daemon-driver-qemu", "libvirt-daemon-driver-secret", "libvirt-daemon-driver-storage", "libvirt-daemon-kvm", "libvirt-python", "python-lxml", "pkgconfig", "libvirt-devel"], "sgabios_dir": "/usr/share/sgabios/", "test_vm_emulator": "/usr/libexec/qemu-kvm", "test_vm_machine": "pc"}, "invocation": {"module_args": {"_raw_params": "/opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/templates/../defaults/required_defaults_CentOS.yml"}, "module_name": "include_vars"}, "item": "/opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/templates/../defaults/required_defaults_CentOS.yml"}
TASK [bifrost-create-vm-nodes : Include OS version-specific defaults] **********
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:56
ok: [127.0.0.1] => (item=/opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/templates/../defaults/dummy-defaults.yml) => {"ansible_facts": {}, "invocation": {"module_args": {"_raw_params": "/opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/templates/../defaults/dummy-defaults.yml"}, "module_name": "include_vars"}, "item": "/opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/templates/../defaults/dummy-defaults.yml"}
TASK [bifrost-create-vm-nodes : Check for dnf] *********************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:65
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893336.52-279739182089701 `" && echo ansible-tmp-1490893336.52-279739182089701="` echo $HOME/.ansible/tmp/ansible-tmp-1490893336.52-279739182089701 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpiSJTLJ TO /root/.ansible/tmp/ansible-tmp-1490893336.52-279739182089701/stat
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893336.52-279739182089701/ /root/.ansible/tmp/ansible-tmp-1490893336.52-279739182089701/stat && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893336.52-279739182089701/stat; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893336.52-279739182089701/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"changed": false, "invocation": {"module_args": {"checksum_algorithm": "sha1", "follow": false, "get_checksum": true, "get_md5": true, "mime": false, "path": "/usr/bin/dnf"}, "module_name": "stat"}, "stat": {"exists": false}}
TASK [bifrost-create-vm-nodes : Adjust ansible_pkg_mgr if dnf exists] **********
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:70
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-create-vm-nodes : Install required packages] *********************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:75
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893337.09-186815531320862 `" && echo ansible-tmp-1490893337.09-186815531320862="` echo $HOME/.ansible/tmp/ansible-tmp-1490893337.09-186815531320862 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpywYxkm TO /root/.ansible/tmp/ansible-tmp-1490893337.09-186815531320862/yum
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893337.09-186815531320862/ /root/.ansible/tmp/ansible-tmp-1490893337.09-186815531320862/yum && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893337.09-186815531320862/yum; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893337.09-186815531320862/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => (item=[u'qemu-img', u'qemu-kvm-tools', u'qemu-kvm', u'qemu-kvm-common', u'sgabios', u'sgabios-bin', u'libvirt', u'libvirt-client', u'libvirt-daemon', u'libvirt-daemon-config-network', u'libvirt-daemon-config-nwfilter', u'libvirt-daemon-driver-network', u'libvirt-daemon-driver-nodedev', u'libvirt-daemon-driver-nwfilter', u'libvirt-daemon-driver-qemu', u'libvirt-daemon-driver-secret', u'libvirt-daemon-driver-storage', u'libvirt-daemon-kvm', u'libvirt-python', u'python-lxml', u'pkgconfig', u'libvirt-devel']) => {"changed": false, "invocation": {"module_args": {"conf_file": null, "disable_gpg_check": false, "disablerepo": null, "enablerepo": null, "exclude": null, "install_repoquery": true, "list": null, "name": ["qemu-img", "qemu-kvm-tools", "qemu-kvm", "qemu-kvm-common", "sgabios", "sgabios-bin", "libvirt", "libvirt-client", "libvirt-daemon", "libvirt-daemon-config-network", "libvirt-daemon-config-nwfilter", "libvirt-daemon-driver-network", "libvirt-daemon-driver-nodedev", "libvirt-daemon-driver-nwfilter", "libvirt-daemon-driver-qemu", "libvirt-daemon-driver-secret", "libvirt-daemon-driver-storage", "libvirt-daemon-kvm", "libvirt-python", "python-lxml", "pkgconfig", "libvirt-devel"], "state": "present", "update_cache": false, "validate_certs": true}, "module_name": "yum"}, "item": ["qemu-img", "qemu-kvm-tools", "qemu-kvm", "qemu-kvm-common", "sgabios", "sgabios-bin", "libvirt", "libvirt-client", "libvirt-daemon", "libvirt-daemon-config-network", "libvirt-daemon-config-nwfilter", "libvirt-daemon-driver-network", "libvirt-daemon-driver-nodedev", "libvirt-daemon-driver-nwfilter", "libvirt-daemon-driver-qemu", "libvirt-daemon-driver-secret", "libvirt-daemon-driver-storage", "libvirt-daemon-kvm", "libvirt-python", "python-lxml", "pkgconfig", "libvirt-devel"], "msg": "", "rc": 0, "results": ["qemu-img-10:1.5.3-126.el7_3.3.x86_64 providing qemu-img is already installed", "qemu-kvm-tools-10:1.5.3-126.el7_3.3.x86_64 providing qemu-kvm-tools is already installed", "qemu-kvm-10:1.5.3-126.el7_3.3.x86_64 providing qemu-kvm is already installed", "qemu-kvm-common-10:1.5.3-126.el7_3.3.x86_64 providing qemu-kvm-common is already installed", "sgabios-1:0.20110622svn-4.el7.x86_64 providing sgabios is already installed", "sgabios-bin-1:0.20110622svn-4.el7.noarch providing sgabios-bin is already installed", "libvirt-2.0.0-10.el7_3.4.x86_64 providing libvirt is already installed", "libvirt-client-2.0.0-10.el7_3.4.x86_64 providing libvirt-client is already installed", "libvirt-daemon-2.0.0-10.el7_3.4.x86_64 providing libvirt-daemon is already installed", "libvirt-daemon-config-network-2.0.0-10.el7_3.4.x86_64 providing libvirt-daemon-config-network is already installed", "libvirt-daemon-config-nwfilter-2.0.0-10.el7_3.4.x86_64 providing libvirt-daemon-config-nwfilter is already installed", "libvirt-daemon-driver-network-2.0.0-10.el7_3.4.x86_64 providing libvirt-daemon-driver-network is already installed", "libvirt-daemon-driver-nodedev-2.0.0-10.el7_3.4.x86_64 providing libvirt-daemon-driver-nodedev is already installed", "libvirt-daemon-driver-nwfilter-2.0.0-10.el7_3.4.x86_64 providing libvirt-daemon-driver-nwfilter is already installed", "libvirt-daemon-driver-qemu-2.0.0-10.el7_3.4.x86_64 providing libvirt-daemon-driver-qemu is already installed", "libvirt-daemon-driver-secret-2.0.0-10.el7_3.4.x86_64 providing libvirt-daemon-driver-secret is already installed", "libvirt-daemon-driver-storage-2.0.0-10.el7_3.4.x86_64 providing libvirt-daemon-driver-storage is already installed", "libvirt-daemon-kvm-2.0.0-10.el7_3.4.x86_64 providing libvirt-daemon-kvm is already installed", "libvirt-python-2.0.0-2.el7.x86_64 providing libvirt-python is already installed", "python-lxml-3.2.1-4.el7.x86_64 providing python-lxml is already installed", "pkgconfig-1:0.27.1-4.el7.x86_64 providing pkgconfig is already installed", "libvirt-devel-2.0.0-10.el7_3.4.x86_64 providing libvirt-devel is already installed"]}
TASK [bifrost-create-vm-nodes : Restart libvirt service] ***********************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml:18
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893337.99-69171359915126 `" && echo ansible-tmp-1490893337.99-69171359915126="` echo $HOME/.ansible/tmp/ansible-tmp-1490893337.99-69171359915126 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpYWOrzv TO /root/.ansible/tmp/ansible-tmp-1490893337.99-69171359915126/service
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893337.99-69171359915126/ /root/.ansible/tmp/ansible-tmp-1490893337.99-69171359915126/service && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893337.99-69171359915126/service; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893337.99-69171359915126/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "invocation": {"module_args": {"arguments": "", "enabled": null, "name": "libvirtd", "pattern": null, "runlevel": "default", "sleep": null, "state": "restarted"}, "module_name": "service"}, "name": "libvirtd", "state": "started"}
TASK [bifrost-create-vm-nodes : Enable IP forwarding in sysctl] ****************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml:23
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893338.52-133435001653828 `" && echo ansible-tmp-1490893338.52-133435001653828="` echo $HOME/.ansible/tmp/ansible-tmp-1490893338.52-133435001653828 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp1492iI TO /root/.ansible/tmp/ansible-tmp-1490893338.52-133435001653828/sysctl
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893338.52-133435001653828/ /root/.ansible/tmp/ansible-tmp-1490893338.52-133435001653828/sysctl && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893338.52-133435001653828/sysctl; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893338.52-133435001653828/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"changed": false, "invocation": {"module_args": {"ignoreerrors": false, "name": "net.ipv4.ip_forward", "reload": true, "state": "present", "sysctl_file": "/etc/sysctl.conf", "sysctl_set": true, "value": "1"}, "module_name": "sysctl"}}
TASK [bifrost-create-vm-nodes : Look for sgabios in /usr/share/sgabios/] *******
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml:33
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893338.87-83828409773928 `" && echo ansible-tmp-1490893338.87-83828409773928="` echo $HOME/.ansible/tmp/ansible-tmp-1490893338.87-83828409773928 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpM755gF TO /root/.ansible/tmp/ansible-tmp-1490893338.87-83828409773928/stat
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893338.87-83828409773928/ /root/.ansible/tmp/ansible-tmp-1490893338.87-83828409773928/stat && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893338.87-83828409773928/stat; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893338.87-83828409773928/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"changed": false, "invocation": {"module_args": {"checksum_algorithm": "sha1", "follow": false, "get_checksum": true, "get_md5": true, "mime": false, "path": "/usr/share/sgabios//sgabios.bin"}, "module_name": "stat"}, "stat": {"atime": 1490883778.298755, "checksum": "3fd9d481465cd69a92d6955d2ab0dfe88c164dab", "ctime": 1485940076.2699363, "dev": 64770, "exists": true, "gid": 0, "gr_name": "root", "inode": 4203220, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "md5": "bfec44555ca3f3fb54666179cfe4bc97", "mode": "0644", "mtime": 1402349628.0, "nlink": 1, "path": "/usr/share/sgabios//sgabios.bin", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false}}
TASK [bifrost-create-vm-nodes : Look for sgabios in /usr/share/misc] ***********
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml:37
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893339.14-151549154845852 `" && echo ansible-tmp-1490893339.14-151549154845852="` echo $HOME/.ansible/tmp/ansible-tmp-1490893339.14-151549154845852 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmphongGZ TO /root/.ansible/tmp/ansible-tmp-1490893339.14-151549154845852/stat
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893339.14-151549154845852/ /root/.ansible/tmp/ansible-tmp-1490893339.14-151549154845852/stat && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893339.14-151549154845852/stat; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893339.14-151549154845852/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"changed": false, "invocation": {"module_args": {"checksum_algorithm": "sha1", "follow": false, "get_checksum": true, "get_md5": true, "mime": false, "path": "/usr/share/misc/sgabios.bin"}, "module_name": "stat"}, "stat": {"exists": false}}
TASK [bifrost-create-vm-nodes : Place sgabios.bin] *****************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml:41
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-create-vm-nodes : ensure libvirt network is present] *************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml:47
File lookup using /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/templates/net.xml.j2 as file
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893339.59-211731089017015 `" && echo ansible-tmp-1490893339.59-211731089017015="` echo $HOME/.ansible/tmp/ansible-tmp-1490893339.59-211731089017015 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpmyfi2s TO /root/.ansible/tmp/ansible-tmp-1490893339.59-211731089017015/virt_net
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893339.59-211731089017015/ /root/.ansible/tmp/ansible-tmp-1490893339.59-211731089017015/virt_net && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893339.59-211731089017015/virt_net; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893339.59-211731089017015/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"changed": false, "invocation": {"module_args": {"autostart": null, "command": null, "name": "default", "state": "present", "uri": "qemu:///system", "xml": "\n default\n \n \n \n \n \n \n \n \n \n \n \n\n"}, "module_name": "virt_net"}}
TASK [bifrost-create-vm-nodes : find facts on libvirt networks] ****************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml:54
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893341.56-43687447202794 `" && echo ansible-tmp-1490893341.56-43687447202794="` echo $HOME/.ansible/tmp/ansible-tmp-1490893341.56-43687447202794 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpWzlmdC TO /root/.ansible/tmp/ansible-tmp-1490893341.56-43687447202794/virt_net
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893341.56-43687447202794/ /root/.ansible/tmp/ansible-tmp-1490893341.56-43687447202794/virt_net && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893341.56-43687447202794/virt_net; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893341.56-43687447202794/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"ansible_facts": {"ansible_libvirt_networks": {"default": {"autostart": "yes", "bridge": "virbr0", "forward_mode": "nat", "macaddress": "52:54:00:20:d5:c6", "persistent": "yes", "state": "active", "uuid": "5f8c9a57-5cf3-4bc1-b8ae-c944c6a3e57d"}}}, "changed": false, "invocation": {"module_args": {"autostart": null, "command": "facts", "name": null, "state": null, "uri": "qemu:///system", "xml": null}, "module_name": "virt_net"}}
TASK [bifrost-create-vm-nodes : Delete network interface if virtual network is not active] ***
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml:60
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-create-vm-nodes : set libvirt network to autostart] **************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml:67
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893342.32-140796300772885 `" && echo ansible-tmp-1490893342.32-140796300772885="` echo $HOME/.ansible/tmp/ansible-tmp-1490893342.32-140796300772885 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpmwM1Yx TO /root/.ansible/tmp/ansible-tmp-1490893342.32-140796300772885/virt_net
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893342.32-140796300772885/ /root/.ansible/tmp/ansible-tmp-1490893342.32-140796300772885/virt_net && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893342.32-140796300772885/virt_net; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893342.32-140796300772885/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"changed": false, "invocation": {"module_args": {"autostart": true, "command": null, "name": "default", "state": null, "uri": "qemu:///system", "xml": null}, "module_name": "virt_net"}}
TASK [bifrost-create-vm-nodes : ensure libvirt network is running] *************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml:73
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893342.64-109154848872465 `" && echo ansible-tmp-1490893342.64-109154848872465="` echo $HOME/.ansible/tmp/ansible-tmp-1490893342.64-109154848872465 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp5CstEM TO /root/.ansible/tmp/ansible-tmp-1490893342.64-109154848872465/virt_net
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893342.64-109154848872465/ /root/.ansible/tmp/ansible-tmp-1490893342.64-109154848872465/virt_net && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893342.64-109154848872465/virt_net; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893342.64-109154848872465/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"changed": false, "invocation": {"module_args": {"autostart": null, "command": null, "name": "default", "state": "active", "uri": "qemu:///system", "xml": null}, "module_name": "virt_net"}}
TASK [bifrost-create-vm-nodes : get libvirt network status] ********************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml:79
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893342.97-197915500765956 `" && echo ansible-tmp-1490893342.97-197915500765956="` echo $HOME/.ansible/tmp/ansible-tmp-1490893342.97-197915500765956 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpgSHKFc TO /root/.ansible/tmp/ansible-tmp-1490893342.97-197915500765956/virt_net
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893342.97-197915500765956/ /root/.ansible/tmp/ansible-tmp-1490893342.97-197915500765956/virt_net && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893342.97-197915500765956/virt_net; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893342.97-197915500765956/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"changed": false, "invocation": {"module_args": {"autostart": null, "command": "status", "name": "default", "state": null, "uri": "qemu:///system", "xml": null}, "module_name": "virt_net"}, "status": "active"}
TASK [bifrost-create-vm-nodes : fail if libvirt network is not active] *********
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml:86
ok: [127.0.0.1] => {"changed": false, "invocation": {"module_args": {"that": "test_vm_net_status.status == 'active'"}, "module_name": "assert"}, "msg": "all assertions passed"}
TASK [bifrost-create-vm-nodes : define a libvirt pool if not set] **************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml:90
File lookup using /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/templates/pool_dir.xml.j2 as file
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893343.72-36445811114104 `" && echo ansible-tmp-1490893343.72-36445811114104="` echo $HOME/.ansible/tmp/ansible-tmp-1490893343.72-36445811114104 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpwHCaWV TO /root/.ansible/tmp/ansible-tmp-1490893343.72-36445811114104/virt_pool
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893343.72-36445811114104/ /root/.ansible/tmp/ansible-tmp-1490893343.72-36445811114104/virt_pool && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893343.72-36445811114104/virt_pool; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893343.72-36445811114104/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"changed": false, "invocation": {"module_args": {"autostart": null, "command": null, "mode": null, "name": "default", "state": "present", "uri": "qemu:///system", "xml": "\n default\n \n /var/lib/libvirt/images\n \n\n\n"}, "module_name": "virt_pool"}}
TASK [bifrost-create-vm-nodes : ensure libvirt pool is running] ****************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml:97
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893344.04-18091986792096 `" && echo ansible-tmp-1490893344.04-18091986792096="` echo $HOME/.ansible/tmp/ansible-tmp-1490893344.04-18091986792096 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp27Gjaf TO /root/.ansible/tmp/ansible-tmp-1490893344.04-18091986792096/virt_pool
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893344.04-18091986792096/ /root/.ansible/tmp/ansible-tmp-1490893344.04-18091986792096/virt_pool && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893344.04-18091986792096/virt_pool; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893344.04-18091986792096/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"changed": false, "invocation": {"module_args": {"autostart": true, "command": null, "mode": null, "name": "default", "state": "active", "uri": "qemu:///system", "xml": null}, "module_name": "virt_pool"}}
TASK [bifrost-create-vm-nodes : create dir for bm logs] ************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml:104
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893344.45-227277731655342 `" && echo ansible-tmp-1490893344.45-227277731655342="` echo $HOME/.ansible/tmp/ansible-tmp-1490893344.45-227277731655342 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpRyKgAS TO /root/.ansible/tmp/ansible-tmp-1490893344.45-227277731655342/file
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893344.45-227277731655342/ /root/.ansible/tmp/ansible-tmp-1490893344.45-227277731655342/file && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893344.45-227277731655342/file; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893344.45-227277731655342/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"changed": false, "diff": {"after": {"path": "/var/log/libvirt/baremetal_logs"}, "before": {"path": "/var/log/libvirt/baremetal_logs"}}, "gid": 0, "group": "root", "invocation": {"module_args": {"backup": null, "content": null, "delimiter": null, "diff_peek": null, "directory_mode": null, "follow": false, "force": false, "group": null, "mode": "o+rx", "original_basename": null, "owner": null, "path": "/var/log/libvirt/baremetal_logs", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "validate": null}, "module_name": "file"}, "mode": "0755", "owner": "root", "path": "/var/log/libvirt/baremetal_logs", "secontext": "system_u:object_r:virt_log_t:s0", "size": 4096, "state": "directory", "uid": 0}
TASK [bifrost-create-vm-nodes : install virtualbmc] ****************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml:110
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893344.81-38192144392806 `" && echo ansible-tmp-1490893344.81-38192144392806="` echo $HOME/.ansible/tmp/ansible-tmp-1490893344.81-38192144392806 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp1hoBfK TO /root/.ansible/tmp/ansible-tmp-1490893344.81-38192144392806/pip
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893344.81-38192144392806/ /root/.ansible/tmp/ansible-tmp-1490893344.81-38192144392806/pip && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893344.81-38192144392806/pip; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893344.81-38192144392806/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"changed": false, "cmd": "/bin/pip install virtualbmc", "invocation": {"module_args": {"chdir": null, "editable": true, "executable": null, "extra_args": null, "name": "virtualbmc", "requirements": null, "state": "present", "umask": null, "use_mirrors": true, "version": null, "virtualenv": null, "virtualenv_command": "virtualenv", "virtualenv_python": null, "virtualenv_site_packages": false}, "module_name": "pip"}, "name": "virtualbmc", "requirements": null, "state": "present", "stderr": "You are using pip version 8.1.2, however version 9.0.1 is available.\nYou should consider upgrading via the 'pip install --upgrade pip' command.\n", "stdout": "Requirement already satisfied (use --upgrade to upgrade): virtualbmc in /usr/lib/python2.7/site-packages\nRequirement already satisfied (use --upgrade to upgrade): libvirt-python>=1.2.5 in /usr/lib64/python2.7/site-packages (from virtualbmc)\nRequirement already satisfied (use --upgrade to upgrade): pbr>=1.8 in /usr/lib/python2.7/site-packages (from virtualbmc)\nRequirement already satisfied (use --upgrade to upgrade): pyghmi>=1.0.9 in /usr/lib/python2.7/site-packages (from virtualbmc)\nRequirement already satisfied (use --upgrade to upgrade): PrettyTable<0.8,>=0.7.1 in /usr/lib/python2.7/site-packages (from virtualbmc)\nRequirement already satisfied (use --upgrade to upgrade): six>=1.9.0 in /usr/lib/python2.7/site-packages (from virtualbmc)\nRequirement already satisfied (use --upgrade to upgrade): pycrypto>=2.6 in /usr/lib64/python2.7/site-packages (from pyghmi>=1.0.9->virtualbmc)\n", "stdout_lines": ["Requirement already satisfied (use --upgrade to upgrade): virtualbmc in /usr/lib/python2.7/site-packages", "Requirement already satisfied (use --upgrade to upgrade): libvirt-python>=1.2.5 in /usr/lib64/python2.7/site-packages (from virtualbmc)", "Requirement already satisfied (use --upgrade to upgrade): pbr>=1.8 in /usr/lib/python2.7/site-packages (from virtualbmc)", "Requirement already satisfied (use --upgrade to upgrade): pyghmi>=1.0.9 in /usr/lib/python2.7/site-packages (from virtualbmc)", "Requirement already satisfied (use --upgrade to upgrade): PrettyTable<0.8,>=0.7.1 in /usr/lib/python2.7/site-packages (from virtualbmc)", "Requirement already satisfied (use --upgrade to upgrade): six>=1.9.0 in /usr/lib/python2.7/site-packages (from virtualbmc)", "Requirement already satisfied (use --upgrade to upgrade): pycrypto>=2.6 in /usr/lib64/python2.7/site-packages (from pyghmi>=1.0.9->virtualbmc)"], "version": null, "virtualenv": null}
TASK [bifrost-create-vm-nodes : truncate explicit list of vm names] ************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:81
ok: [127.0.0.1] => {"ansible_facts": {"test_vm_node_names": ["xcimaster", "controller00", "compute00"]}, "changed": false, "invocation": {"module_args": {"test_vm_node_names": ["xcimaster", "controller00", "compute00"]}, "module_name": "set_fact"}}
TASK [bifrost-create-vm-nodes : generate test vm names] ************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:85
skipping: [127.0.0.1] => (item=testvm1) => {"changed": false, "item": "testvm1", "skip_reason": "Conditional check failed", "skipped": true}
skipping: [127.0.0.1] => (item=testvm2) => {"changed": false, "item": "testvm2", "skip_reason": "Conditional check failed", "skipped": true}
skipping: [127.0.0.1] => (item=testvm3) => {"changed": false, "item": "testvm3", "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-create-vm-nodes : set test vm names] *****************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:91
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-create-vm-nodes : create placeholder var for vm entries in JSON format] ***
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:96
ok: [127.0.0.1] => {"ansible_facts": {"testvm_json_data": {}}, "changed": false, "invocation": {"module_args": {"testvm_json_data": {}}, "module_name": "set_fact"}}
TASK [bifrost-create-vm-nodes : include] ***************************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:100
included: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml for 127.0.0.1
included: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml for 127.0.0.1
included: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml for 127.0.0.1
TASK [bifrost-create-vm-nodes : set_fact] **************************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:18
ok: [127.0.0.1] => {"ansible_facts": {"vm_log_file": "/var/log/libvirt/baremetal_logs/xcimaster_console.log", "vm_name": "xcimaster"}, "changed": false, "invocation": {"module_args": {"vm_log_file": "/var/log/libvirt/baremetal_logs/xcimaster_console.log", "vm_name": "xcimaster"}, "module_name": "set_fact"}}
TASK [bifrost-create-vm-nodes : set prealloc arg for Debian] *******************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:22
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-create-vm-nodes : list info on pools] ****************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:29
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893346.97-124642183044250 `" && echo ansible-tmp-1490893346.97-124642183044250="` echo $HOME/.ansible/tmp/ansible-tmp-1490893346.97-124642183044250 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpqVnImr TO /root/.ansible/tmp/ansible-tmp-1490893346.97-124642183044250/virt_pool
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893346.97-124642183044250/ /root/.ansible/tmp/ansible-tmp-1490893346.97-124642183044250/virt_pool && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893346.97-124642183044250/virt_pool; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893346.97-124642183044250/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"ansible_facts": {"ansible_libvirt_pools": {"default": {"autostart": "yes", "path": "/var/lib/libvirt/images", "persistent": "yes", "size_available": "533315506176", "size_total": "544168124416", "size_used": "10852618240", "state": "active", "status": "running", "type": "dir", "uuid": "924dd168-b835-4492-b30b-abbf331f6100", "volume_count": 0, "volumes": []}}}, "changed": false, "invocation": {"module_args": {"autostart": null, "command": "facts", "mode": null, "name": null, "state": null, "uri": "qemu:///system", "xml": null}, "module_name": "virt_pool"}}
TASK [bifrost-create-vm-nodes : list existing vms] *****************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:34
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893347.4-112968416753818 `" && echo ansible-tmp-1490893347.4-112968416753818="` echo $HOME/.ansible/tmp/ansible-tmp-1490893347.4-112968416753818 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpPASmYD TO /root/.ansible/tmp/ansible-tmp-1490893347.4-112968416753818/virt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893347.4-112968416753818/ /root/.ansible/tmp/ansible-tmp-1490893347.4-112968416753818/virt && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893347.4-112968416753818/virt; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893347.4-112968416753818/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"changed": false, "invocation": {"module_args": {"command": "list_vms", "name": null, "state": null, "uri": "qemu:///system", "xml": null}, "module_name": "virt"}, "list_vms": []}
TASK [bifrost-create-vm-nodes : create volume for vm] **************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:43
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893347.8-68127012832972 `" && echo ansible-tmp-1490893347.8-68127012832972="` echo $HOME/.ansible/tmp/ansible-tmp-1490893347.8-68127012832972 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpz8uGHa TO /root/.ansible/tmp/ansible-tmp-1490893347.8-68127012832972/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893347.8-68127012832972/ /root/.ansible/tmp/ansible-tmp-1490893347.8-68127012832972/command && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893347.8-68127012832972/command; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893347.8-68127012832972/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "cmd": ["virsh", "--connect", "qemu:///system", "vol-create-as", "default", "xcimaster.qcow2", "31G", "--format", "qcow2"], "delta": "0:00:00.350050", "end": "2017-03-30 13:02:28.319896", "invocation": {"module_args": {"_raw_params": "virsh --connect qemu:///system vol-create-as default xcimaster.qcow2 31G --format qcow2 ", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 0, "start": "2017-03-30 13:02:27.969846", "stderr": "", "stdout": "Vol xcimaster.qcow2 created", "stdout_lines": ["Vol xcimaster.qcow2 created"], "warnings": []}
TASK [bifrost-create-vm-nodes : set path to the volume created] ****************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:51
ok: [127.0.0.1] => {"ansible_facts": {"vm_volume_path": "/var/lib/libvirt/images/xcimaster.qcow2"}, "changed": false, "invocation": {"module_args": {"vm_volume_path": "/var/lib/libvirt/images/xcimaster.qcow2"}, "module_name": "set_fact"}}
TASK [bifrost-create-vm-nodes : pre-touch the vm volume] ***********************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:55
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893348.52-147584524117611 `" && echo ansible-tmp-1490893348.52-147584524117611="` echo $HOME/.ansible/tmp/ansible-tmp-1490893348.52-147584524117611 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmphwoKGp TO /root/.ansible/tmp/ansible-tmp-1490893348.52-147584524117611/file
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893348.52-147584524117611/ /root/.ansible/tmp/ansible-tmp-1490893348.52-147584524117611/file && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893348.52-147584524117611/file; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893348.52-147584524117611/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "dest": "/var/lib/libvirt/images/xcimaster.qcow2", "diff": {"after": {"path": "/var/lib/libvirt/images/xcimaster.qcow2", "state": "touch"}, "before": {"path": "/var/lib/libvirt/images/xcimaster.qcow2", "state": "file"}}, "gid": 0, "group": "root", "invocation": {"module_args": {"backup": null, "content": null, "delimiter": null, "diff_peek": null, "directory_mode": null, "follow": false, "force": false, "group": null, "mode": null, "original_basename": null, "owner": null, "path": "/var/lib/libvirt/images/xcimaster.qcow2", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "touch", "validate": null}, "module_name": "file"}, "mode": "0600", "owner": "root", "secontext": "system_u:object_r:virt_image_t:s0", "size": 197120, "state": "file", "uid": 0}
TASK [bifrost-create-vm-nodes : set copy-on-write for volume on non-CentOS systems] ***
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:64
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-create-vm-nodes : create_vm] *************************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:71
File lookup using /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/templates/testvm.xml.j2 as file
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893348.89-221736282667929 `" && echo ansible-tmp-1490893348.89-221736282667929="` echo $HOME/.ansible/tmp/ansible-tmp-1490893348.89-221736282667929 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp88Yh1z TO /root/.ansible/tmp/ansible-tmp-1490893348.89-221736282667929/virt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893348.89-221736282667929/ /root/.ansible/tmp/ansible-tmp-1490893348.89-221736282667929/virt && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893348.89-221736282667929/virt; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893348.89-221736282667929/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "created": "xcimaster", "invocation": {"module_args": {"command": "define", "name": "xcimaster", "state": null, "uri": "qemu:///system", "xml": "\n xcimaster\n 4096\n 2\n \n hvm\n \n \n \n \n \n \n \n \n \n \n destroy\n restart\n restart\n \n /usr/libexec/qemu-kvm\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n"}, "module_name": "virt"}}
TASK [bifrost-create-vm-nodes : get list of nodes from virtualbmc] *************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:93
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893349.33-55873790663827 `" && echo ansible-tmp-1490893349.33-55873790663827="` echo $HOME/.ansible/tmp/ansible-tmp-1490893349.33-55873790663827 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpUzQi0C TO /root/.ansible/tmp/ansible-tmp-1490893349.33-55873790663827/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893349.33-55873790663827/ /root/.ansible/tmp/ansible-tmp-1490893349.33-55873790663827/command && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893349.33-55873790663827/command; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893349.33-55873790663827/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "cmd": ["vbmc", "list"], "delta": "0:00:00.524335", "end": "2017-03-30 13:02:30.018553", "invocation": {"module_args": {"_raw_params": "vbmc list", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 0, "start": "2017-03-30 13:02:29.494218", "stderr": "", "stdout": "+-------------+--------+---------+------+\n| Domain name | Status | Address | Port |\n+-------------+--------+---------+------+\n+-------------+--------+---------+------+", "stdout_lines": ["+-------------+--------+---------+------+", "| Domain name | Status | Address | Port |", "+-------------+--------+---------+------+", "+-------------+--------+---------+------+"], "warnings": []}
TASK [bifrost-create-vm-nodes : delete vm from virtualbmc if it is there] ******
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:98
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-create-vm-nodes : set_fact] **************************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:102
ok: [127.0.0.1] => {"ansible_facts": {"virtual_ipmi_port": "623"}, "changed": false, "invocation": {"module_args": {"virtual_ipmi_port": "623"}, "module_name": "set_fact"}}
TASK [bifrost-create-vm-nodes : plug vm into vbmc] *****************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:105
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893350.28-262490139212765 `" && echo ansible-tmp-1490893350.28-262490139212765="` echo $HOME/.ansible/tmp/ansible-tmp-1490893350.28-262490139212765 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp_U54kj TO /root/.ansible/tmp/ansible-tmp-1490893350.28-262490139212765/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893350.28-262490139212765/ /root/.ansible/tmp/ansible-tmp-1490893350.28-262490139212765/command && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893350.28-262490139212765/command; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893350.28-262490139212765/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "cmd": ["vbmc", "add", "xcimaster", "--libvirt-uri", "qemu:///system", "--port", "623"], "delta": "0:00:00.531756", "end": "2017-03-30 13:02:30.991314", "invocation": {"module_args": {"_raw_params": "vbmc add xcimaster --libvirt-uri qemu:///system --port 623", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 0, "start": "2017-03-30 13:02:30.459558", "stderr": "", "stdout": "", "stdout_lines": [], "warnings": []}
TASK [bifrost-create-vm-nodes : start virtualbmc] ******************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:108
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893351.1-89326336502825 `" && echo ansible-tmp-1490893351.1-89326336502825="` echo $HOME/.ansible/tmp/ansible-tmp-1490893351.1-89326336502825 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpUhYDdq TO /root/.ansible/tmp/ansible-tmp-1490893351.1-89326336502825/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893351.1-89326336502825/ /root/.ansible/tmp/ansible-tmp-1490893351.1-89326336502825/command && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893351.1-89326336502825/command; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893351.1-89326336502825/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "cmd": ["vbmc", "start", "xcimaster"], "delta": "0:00:01.366113", "end": "2017-03-30 13:02:32.633772", "invocation": {"module_args": {"_raw_params": "vbmc start xcimaster", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 0, "start": "2017-03-30 13:02:31.267659", "stderr": "2017-03-30 13:02:31,632.632 23406 INFO VirtualBMC [-] Virtual BMC for domain xcimaster started", "stdout": "", "stdout_lines": [], "warnings": []}
TASK [bifrost-create-vm-nodes : get XML of the vm] *****************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:111
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893352.74-216185588016706 `" && echo ansible-tmp-1490893352.74-216185588016706="` echo $HOME/.ansible/tmp/ansible-tmp-1490893352.74-216185588016706 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpSzQt4z TO /root/.ansible/tmp/ansible-tmp-1490893352.74-216185588016706/virt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893352.74-216185588016706/ /root/.ansible/tmp/ansible-tmp-1490893352.74-216185588016706/virt && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893352.74-216185588016706/virt; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893352.74-216185588016706/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"changed": false, "get_xml": "\n xcimaster\n 729cbbac-8eeb-4569-862e-32154135bfc5\n 4194304\n 4194304\n 2\n \n hvm\n \n \n \n \n \n \n \n \n \n \n destroy\n restart\n restart\n \n /usr/libexec/qemu-kvm\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n", "invocation": {"module_args": {"command": "get_xml", "name": "xcimaster", "state": null, "uri": "qemu:///system", "xml": null}, "module_name": "virt"}}
TASK [bifrost-create-vm-nodes : get MAC from vm XML] ***************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:118
ok: [127.0.0.1] => {"ansible_facts": {"vm_mac": "52:54:00:e3:ec:99"}, "changed": false, "invocation": {"module_args": {"vm_mac": "52:54:00:e3:ec:99"}, "module_name": "set_fact"}}
TASK [bifrost-create-vm-nodes : set the json entry for vm] *********************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:124
ok: [127.0.0.1] => {"ansible_facts": {"testvm_data": {"ansible_ssh_host": "192.168.122.2", "driver": "agent_ipmitool", "driver_info": {"power": {"ipmi_address": "192.168.122.1", "ipmi_password": "password", "ipmi_port": "623", "ipmi_username": "admin"}}, "ipv4_address": "192.168.122.2", "name": "xcimaster", "nics": [{"mac": "52:54:00:e3:ec:99"}], "properties": {"cpu_arch": "x86_64", "cpus": "2", "disk_size": "30", "ram": "4096"}, "uuid": "72010e8e-a3bd-519e-92fa-a69484f8298f"}}, "changed": false, "invocation": {"module_args": {"testvm_data": {"ansible_ssh_host": "192.168.122.2", "driver": "agent_ipmitool", "driver_info": {"power": {"ipmi_address": "192.168.122.1", "ipmi_password": "password", "ipmi_port": "623", "ipmi_username": "admin"}}, "ipv4_address": "192.168.122.2", "name": "xcimaster", "nics": [{"mac": "52:54:00:e3:ec:99"}], "properties": {"cpu_arch": "x86_64", "cpus": "2", "disk_size": "30", "ram": "4096"}, "uuid": "72010e8e-a3bd-519e-92fa-a69484f8298f"}}, "module_name": "set_fact"}}
TASK [bifrost-create-vm-nodes : add created vm info] ***************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:146
ok: [127.0.0.1] => {"ansible_facts": {"testvm_json_data": {"xcimaster": {"ansible_ssh_host": "192.168.122.2", "driver": "agent_ipmitool", "driver_info": {"power": {"ipmi_address": "192.168.122.1", "ipmi_password": "password", "ipmi_port": "623", "ipmi_username": "admin"}}, "ipv4_address": "192.168.122.2", "name": "xcimaster", "nics": [{"mac": "52:54:00:e3:ec:99"}], "properties": {"cpu_arch": "x86_64", "cpus": "2", "disk_size": "30", "ram": "4096"}, "uuid": "72010e8e-a3bd-519e-92fa-a69484f8298f"}}}, "changed": false, "invocation": {"module_args": {"testvm_json_data": {"xcimaster": {"ansible_ssh_host": "192.168.122.2", "driver": "agent_ipmitool", "driver_info": {"power": {"ipmi_address": "192.168.122.1", "ipmi_password": "password", "ipmi_port": "623", "ipmi_username": "admin"}}, "ipv4_address": "192.168.122.2", "name": "xcimaster", "nics": [{"mac": "52:54:00:e3:ec:99"}], "properties": {"cpu_arch": "x86_64", "cpus": "2", "disk_size": "30", "ram": "4096"}, "uuid": "72010e8e-a3bd-519e-92fa-a69484f8298f"}}}, "module_name": "set_fact"}}
TASK [bifrost-create-vm-nodes : set_fact] **************************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:18
ok: [127.0.0.1] => {"ansible_facts": {"vm_log_file": "/var/log/libvirt/baremetal_logs/controller00_console.log", "vm_name": "controller00"}, "changed": false, "invocation": {"module_args": {"vm_log_file": "/var/log/libvirt/baremetal_logs/controller00_console.log", "vm_name": "controller00"}, "module_name": "set_fact"}}
TASK [bifrost-create-vm-nodes : set prealloc arg for Debian] *******************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:22
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-create-vm-nodes : list info on pools] ****************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:29
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893353.43-122509854904181 `" && echo ansible-tmp-1490893353.43-122509854904181="` echo $HOME/.ansible/tmp/ansible-tmp-1490893353.43-122509854904181 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpyLqWJp TO /root/.ansible/tmp/ansible-tmp-1490893353.43-122509854904181/virt_pool
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893353.43-122509854904181/ /root/.ansible/tmp/ansible-tmp-1490893353.43-122509854904181/virt_pool && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893353.43-122509854904181/virt_pool; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893353.43-122509854904181/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"ansible_facts": {"ansible_libvirt_pools": {"default": {"autostart": "yes", "path": "/var/lib/libvirt/images", "persistent": "yes", "size_available": "533315305472", "size_total": "544168124416", "size_used": "10852818944", "state": "active", "status": "running", "type": "dir", "uuid": "924dd168-b835-4492-b30b-abbf331f6100", "volume_count": 1, "volumes": ["xcimaster.qcow2"]}}}, "changed": false, "invocation": {"module_args": {"autostart": null, "command": "facts", "mode": null, "name": null, "state": null, "uri": "qemu:///system", "xml": null}, "module_name": "virt_pool"}}
TASK [bifrost-create-vm-nodes : list existing vms] *****************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:34
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893353.76-106489761326502 `" && echo ansible-tmp-1490893353.76-106489761326502="` echo $HOME/.ansible/tmp/ansible-tmp-1490893353.76-106489761326502 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpCGx5zs TO /root/.ansible/tmp/ansible-tmp-1490893353.76-106489761326502/virt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893353.76-106489761326502/ /root/.ansible/tmp/ansible-tmp-1490893353.76-106489761326502/virt && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893353.76-106489761326502/virt; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893353.76-106489761326502/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"changed": false, "invocation": {"module_args": {"command": "list_vms", "name": null, "state": null, "uri": "qemu:///system", "xml": null}, "module_name": "virt"}, "list_vms": ["xcimaster"]}
TASK [bifrost-create-vm-nodes : create volume for vm] **************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:43
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893354.08-216499500707329 `" && echo ansible-tmp-1490893354.08-216499500707329="` echo $HOME/.ansible/tmp/ansible-tmp-1490893354.08-216499500707329 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpa3Av09 TO /root/.ansible/tmp/ansible-tmp-1490893354.08-216499500707329/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893354.08-216499500707329/ /root/.ansible/tmp/ansible-tmp-1490893354.08-216499500707329/command && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893354.08-216499500707329/command; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893354.08-216499500707329/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "cmd": ["virsh", "--connect", "qemu:///system", "vol-create-as", "default", "controller00.qcow2", "31G", "--format", "qcow2"], "delta": "0:00:00.565050", "end": "2017-03-30 13:02:34.821752", "invocation": {"module_args": {"_raw_params": "virsh --connect qemu:///system vol-create-as default controller00.qcow2 31G --format qcow2 ", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 0, "start": "2017-03-30 13:02:34.256702", "stderr": "", "stdout": "Vol controller00.qcow2 created", "stdout_lines": ["Vol controller00.qcow2 created"], "warnings": []}
TASK [bifrost-create-vm-nodes : set path to the volume created] ****************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:51
ok: [127.0.0.1] => {"ansible_facts": {"vm_volume_path": "/var/lib/libvirt/images/controller00.qcow2"}, "changed": false, "invocation": {"module_args": {"vm_volume_path": "/var/lib/libvirt/images/controller00.qcow2"}, "module_name": "set_fact"}}
TASK [bifrost-create-vm-nodes : pre-touch the vm volume] ***********************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:55
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893355.04-258670611746606 `" && echo ansible-tmp-1490893355.04-258670611746606="` echo $HOME/.ansible/tmp/ansible-tmp-1490893355.04-258670611746606 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpihi1Ng TO /root/.ansible/tmp/ansible-tmp-1490893355.04-258670611746606/file
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893355.04-258670611746606/ /root/.ansible/tmp/ansible-tmp-1490893355.04-258670611746606/file && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893355.04-258670611746606/file; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893355.04-258670611746606/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "dest": "/var/lib/libvirt/images/controller00.qcow2", "diff": {"after": {"path": "/var/lib/libvirt/images/controller00.qcow2", "state": "touch"}, "before": {"path": "/var/lib/libvirt/images/controller00.qcow2", "state": "file"}}, "gid": 0, "group": "root", "invocation": {"module_args": {"backup": null, "content": null, "delimiter": null, "diff_peek": null, "directory_mode": null, "follow": false, "force": false, "group": null, "mode": null, "original_basename": null, "owner": null, "path": "/var/lib/libvirt/images/controller00.qcow2", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "touch", "validate": null}, "module_name": "file"}, "mode": "0600", "owner": "root", "secontext": "system_u:object_r:virt_image_t:s0", "size": 197120, "state": "file", "uid": 0}
TASK [bifrost-create-vm-nodes : set copy-on-write for volume on non-CentOS systems] ***
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:64
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-create-vm-nodes : create_vm] *************************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:71
File lookup using /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/templates/testvm.xml.j2 as file
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893355.38-80178971291548 `" && echo ansible-tmp-1490893355.38-80178971291548="` echo $HOME/.ansible/tmp/ansible-tmp-1490893355.38-80178971291548 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpQafrTu TO /root/.ansible/tmp/ansible-tmp-1490893355.38-80178971291548/virt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893355.38-80178971291548/ /root/.ansible/tmp/ansible-tmp-1490893355.38-80178971291548/virt && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893355.38-80178971291548/virt; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893355.38-80178971291548/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "created": "controller00", "invocation": {"module_args": {"command": "define", "name": "controller00", "state": null, "uri": "qemu:///system", "xml": "\n controller00\n 4096\n 2\n \n hvm\n \n \n \n \n \n \n \n \n \n \n destroy\n restart\n restart\n \n /usr/libexec/qemu-kvm\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n"}, "module_name": "virt"}}
TASK [bifrost-create-vm-nodes : get list of nodes from virtualbmc] *************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:93
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893355.72-14942542930313 `" && echo ansible-tmp-1490893355.72-14942542930313="` echo $HOME/.ansible/tmp/ansible-tmp-1490893355.72-14942542930313 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpeCd05B TO /root/.ansible/tmp/ansible-tmp-1490893355.72-14942542930313/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893355.72-14942542930313/ /root/.ansible/tmp/ansible-tmp-1490893355.72-14942542930313/command && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893355.72-14942542930313/command; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893355.72-14942542930313/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "cmd": ["vbmc", "list"], "delta": "0:00:00.542407", "end": "2017-03-30 13:02:36.412447", "invocation": {"module_args": {"_raw_params": "vbmc list", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 0, "start": "2017-03-30 13:02:35.870040", "stderr": "", "stdout": "+-------------+---------+---------+------+\n| Domain name | Status | Address | Port |\n+-------------+---------+---------+------+\n| xcimaster | running | :: | 623 |\n+-------------+---------+---------+------+", "stdout_lines": ["+-------------+---------+---------+------+", "| Domain name | Status | Address | Port |", "+-------------+---------+---------+------+", "| xcimaster | running | :: | 623 |", "+-------------+---------+---------+------+"], "warnings": []}
TASK [bifrost-create-vm-nodes : delete vm from virtualbmc if it is there] ******
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:98
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-create-vm-nodes : set_fact] **************************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:102
ok: [127.0.0.1] => {"ansible_facts": {"virtual_ipmi_port": "624"}, "changed": false, "invocation": {"module_args": {"virtual_ipmi_port": "624"}, "module_name": "set_fact"}}
TASK [bifrost-create-vm-nodes : plug vm into vbmc] *****************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:105
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893356.67-69546055665575 `" && echo ansible-tmp-1490893356.67-69546055665575="` echo $HOME/.ansible/tmp/ansible-tmp-1490893356.67-69546055665575 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpjMSyAA TO /root/.ansible/tmp/ansible-tmp-1490893356.67-69546055665575/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893356.67-69546055665575/ /root/.ansible/tmp/ansible-tmp-1490893356.67-69546055665575/command && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893356.67-69546055665575/command; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893356.67-69546055665575/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "cmd": ["vbmc", "add", "controller00", "--libvirt-uri", "qemu:///system", "--port", "624"], "delta": "0:00:00.534485", "end": "2017-03-30 13:02:37.387977", "invocation": {"module_args": {"_raw_params": "vbmc add controller00 --libvirt-uri qemu:///system --port 624", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 0, "start": "2017-03-30 13:02:36.853492", "stderr": "", "stdout": "", "stdout_lines": [], "warnings": []}
TASK [bifrost-create-vm-nodes : start virtualbmc] ******************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:108
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893357.49-39395079094021 `" && echo ansible-tmp-1490893357.49-39395079094021="` echo $HOME/.ansible/tmp/ansible-tmp-1490893357.49-39395079094021 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpIReYUf TO /root/.ansible/tmp/ansible-tmp-1490893357.49-39395079094021/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893357.49-39395079094021/ /root/.ansible/tmp/ansible-tmp-1490893357.49-39395079094021/command && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893357.49-39395079094021/command; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893357.49-39395079094021/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "cmd": ["vbmc", "start", "controller00"], "delta": "0:00:01.533146", "end": "2017-03-30 13:02:39.208182", "invocation": {"module_args": {"_raw_params": "vbmc start controller00", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 0, "start": "2017-03-30 13:02:37.675036", "stderr": "2017-03-30 13:02:38,206.206 23606 INFO VirtualBMC [-] Virtual BMC for domain controller00 started", "stdout": "", "stdout_lines": [], "warnings": []}
TASK [bifrost-create-vm-nodes : get XML of the vm] *****************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:111
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893359.32-157546915237740 `" && echo ansible-tmp-1490893359.32-157546915237740="` echo $HOME/.ansible/tmp/ansible-tmp-1490893359.32-157546915237740 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpXV0BmX TO /root/.ansible/tmp/ansible-tmp-1490893359.32-157546915237740/virt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893359.32-157546915237740/ /root/.ansible/tmp/ansible-tmp-1490893359.32-157546915237740/virt && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893359.32-157546915237740/virt; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893359.32-157546915237740/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"changed": false, "get_xml": "\n controller00\n 8bf0a00b-bf07-4eee-9369-afa5a6d72e3c\n 4194304\n 4194304\n 2\n \n hvm\n \n \n \n \n \n \n \n \n \n \n destroy\n restart\n restart\n \n /usr/libexec/qemu-kvm\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n", "invocation": {"module_args": {"command": "get_xml", "name": "controller00", "state": null, "uri": "qemu:///system", "xml": null}, "module_name": "virt"}}
TASK [bifrost-create-vm-nodes : get MAC from vm XML] ***************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:118
ok: [127.0.0.1] => {"ansible_facts": {"vm_mac": "52:54:00:b0:fb:0e"}, "changed": false, "invocation": {"module_args": {"vm_mac": "52:54:00:b0:fb:0e"}, "module_name": "set_fact"}}
TASK [bifrost-create-vm-nodes : set the json entry for vm] *********************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:124
ok: [127.0.0.1] => {"ansible_facts": {"testvm_data": {"ansible_ssh_host": "192.168.122.3", "driver": "agent_ipmitool", "driver_info": {"power": {"ipmi_address": "192.168.122.1", "ipmi_password": "password", "ipmi_port": "624", "ipmi_username": "admin"}}, "ipv4_address": "192.168.122.3", "name": "controller00", "nics": [{"mac": "52:54:00:b0:fb:0e"}], "properties": {"cpu_arch": "x86_64", "cpus": "2", "disk_size": "30", "ram": "4096"}, "uuid": "e1369efa-5391-5035-8533-3a065c44a584"}}, "changed": false, "invocation": {"module_args": {"testvm_data": {"ansible_ssh_host": "192.168.122.3", "driver": "agent_ipmitool", "driver_info": {"power": {"ipmi_address": "192.168.122.1", "ipmi_password": "password", "ipmi_port": "624", "ipmi_username": "admin"}}, "ipv4_address": "192.168.122.3", "name": "controller00", "nics": [{"mac": "52:54:00:b0:fb:0e"}], "properties": {"cpu_arch": "x86_64", "cpus": "2", "disk_size": "30", "ram": "4096"}, "uuid": "e1369efa-5391-5035-8533-3a065c44a584"}}, "module_name": "set_fact"}}
TASK [bifrost-create-vm-nodes : add created vm info] ***************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:146
ok: [127.0.0.1] => {"ansible_facts": {"testvm_json_data": {"controller00": {"ansible_ssh_host": "192.168.122.3", "driver": "agent_ipmitool", "driver_info": {"power": {"ipmi_address": "192.168.122.1", "ipmi_password": "password", "ipmi_port": "624", "ipmi_username": "admin"}}, "ipv4_address": "192.168.122.3", "name": "controller00", "nics": [{"mac": "52:54:00:b0:fb:0e"}], "properties": {"cpu_arch": "x86_64", "cpus": "2", "disk_size": "30", "ram": "4096"}, "uuid": "e1369efa-5391-5035-8533-3a065c44a584"}, "xcimaster": {"ansible_ssh_host": "192.168.122.2", "driver": "agent_ipmitool", "driver_info": {"power": {"ipmi_address": "192.168.122.1", "ipmi_password": "password", "ipmi_port": "623", "ipmi_username": "admin"}}, "ipv4_address": "192.168.122.2", "name": "xcimaster", "nics": [{"mac": "52:54:00:e3:ec:99"}], "properties": {"cpu_arch": "x86_64", "cpus": "2", "disk_size": "30", "ram": "4096"}, "uuid": "72010e8e-a3bd-519e-92fa-a69484f8298f"}}}, "changed": false, "invocation": {"module_args": {"testvm_json_data": {"controller00": {"ansible_ssh_host": "192.168.122.3", "driver": "agent_ipmitool", "driver_info": {"power": {"ipmi_address": "192.168.122.1", "ipmi_password": "password", "ipmi_port": "624", "ipmi_username": "admin"}}, "ipv4_address": "192.168.122.3", "name": "controller00", "nics": [{"mac": "52:54:00:b0:fb:0e"}], "properties": {"cpu_arch": "x86_64", "cpus": "2", "disk_size": "30", "ram": "4096"}, "uuid": "e1369efa-5391-5035-8533-3a065c44a584"}, "xcimaster": {"ansible_ssh_host": "192.168.122.2", "driver": "agent_ipmitool", "driver_info": {"power": {"ipmi_address": "192.168.122.1", "ipmi_password": "password", "ipmi_port": "623", "ipmi_username": "admin"}}, "ipv4_address": "192.168.122.2", "name": "xcimaster", "nics": [{"mac": "52:54:00:e3:ec:99"}], "properties": {"cpu_arch": "x86_64", "cpus": "2", "disk_size": "30", "ram": "4096"}, "uuid": "72010e8e-a3bd-519e-92fa-a69484f8298f"}}}, "module_name": "set_fact"}}
TASK [bifrost-create-vm-nodes : set_fact] **************************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:18
ok: [127.0.0.1] => {"ansible_facts": {"vm_log_file": "/var/log/libvirt/baremetal_logs/compute00_console.log", "vm_name": "compute00"}, "changed": false, "invocation": {"module_args": {"vm_log_file": "/var/log/libvirt/baremetal_logs/compute00_console.log", "vm_name": "compute00"}, "module_name": "set_fact"}}
TASK [bifrost-create-vm-nodes : set prealloc arg for Debian] *******************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:22
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-create-vm-nodes : list info on pools] ****************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:29
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893360.06-259191104281251 `" && echo ansible-tmp-1490893360.06-259191104281251="` echo $HOME/.ansible/tmp/ansible-tmp-1490893360.06-259191104281251 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpGY9r_L TO /root/.ansible/tmp/ansible-tmp-1490893360.06-259191104281251/virt_pool
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893360.06-259191104281251/ /root/.ansible/tmp/ansible-tmp-1490893360.06-259191104281251/virt_pool && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893360.06-259191104281251/virt_pool; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893360.06-259191104281251/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"ansible_facts": {"ansible_libvirt_pools": {"default": {"autostart": "yes", "path": "/var/lib/libvirt/images", "persistent": "yes", "size_available": "533315104768", "size_total": "544168124416", "size_used": "10853019648", "state": "active", "status": "running", "type": "dir", "uuid": "924dd168-b835-4492-b30b-abbf331f6100", "volume_count": 2, "volumes": ["xcimaster.qcow2", "controller00.qcow2"]}}}, "changed": false, "invocation": {"module_args": {"autostart": null, "command": "facts", "mode": null, "name": null, "state": null, "uri": "qemu:///system", "xml": null}, "module_name": "virt_pool"}}
TASK [bifrost-create-vm-nodes : list existing vms] *****************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:34
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893360.39-189413870555610 `" && echo ansible-tmp-1490893360.39-189413870555610="` echo $HOME/.ansible/tmp/ansible-tmp-1490893360.39-189413870555610 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpHf3Bd1 TO /root/.ansible/tmp/ansible-tmp-1490893360.39-189413870555610/virt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893360.39-189413870555610/ /root/.ansible/tmp/ansible-tmp-1490893360.39-189413870555610/virt && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893360.39-189413870555610/virt; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893360.39-189413870555610/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"changed": false, "invocation": {"module_args": {"command": "list_vms", "name": null, "state": null, "uri": "qemu:///system", "xml": null}, "module_name": "virt"}, "list_vms": ["controller00", "xcimaster"]}
TASK [bifrost-create-vm-nodes : create volume for vm] **************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:43
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893360.72-41460399236117 `" && echo ansible-tmp-1490893360.72-41460399236117="` echo $HOME/.ansible/tmp/ansible-tmp-1490893360.72-41460399236117 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpSnNmJ5 TO /root/.ansible/tmp/ansible-tmp-1490893360.72-41460399236117/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893360.72-41460399236117/ /root/.ansible/tmp/ansible-tmp-1490893360.72-41460399236117/command && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893360.72-41460399236117/command; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893360.72-41460399236117/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "cmd": ["virsh", "--connect", "qemu:///system", "vol-create-as", "default", "compute00.qcow2", "31G", "--format", "qcow2"], "delta": "0:00:00.201780", "end": "2017-03-30 13:02:41.133265", "invocation": {"module_args": {"_raw_params": "virsh --connect qemu:///system vol-create-as default compute00.qcow2 31G --format qcow2 ", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 0, "start": "2017-03-30 13:02:40.931485", "stderr": "", "stdout": "Vol compute00.qcow2 created", "stdout_lines": ["Vol compute00.qcow2 created"], "warnings": []}
TASK [bifrost-create-vm-nodes : set path to the volume created] ****************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:51
ok: [127.0.0.1] => {"ansible_facts": {"vm_volume_path": "/var/lib/libvirt/images/compute00.qcow2"}, "changed": false, "invocation": {"module_args": {"vm_volume_path": "/var/lib/libvirt/images/compute00.qcow2"}, "module_name": "set_fact"}}
TASK [bifrost-create-vm-nodes : pre-touch the vm volume] ***********************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:55
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893361.35-278219292212082 `" && echo ansible-tmp-1490893361.35-278219292212082="` echo $HOME/.ansible/tmp/ansible-tmp-1490893361.35-278219292212082 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpFNHH7Q TO /root/.ansible/tmp/ansible-tmp-1490893361.35-278219292212082/file
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893361.35-278219292212082/ /root/.ansible/tmp/ansible-tmp-1490893361.35-278219292212082/file && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893361.35-278219292212082/file; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893361.35-278219292212082/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "dest": "/var/lib/libvirt/images/compute00.qcow2", "diff": {"after": {"path": "/var/lib/libvirt/images/compute00.qcow2", "state": "touch"}, "before": {"path": "/var/lib/libvirt/images/compute00.qcow2", "state": "file"}}, "gid": 0, "group": "root", "invocation": {"module_args": {"backup": null, "content": null, "delimiter": null, "diff_peek": null, "directory_mode": null, "follow": false, "force": false, "group": null, "mode": null, "original_basename": null, "owner": null, "path": "/var/lib/libvirt/images/compute00.qcow2", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "touch", "validate": null}, "module_name": "file"}, "mode": "0600", "owner": "root", "secontext": "system_u:object_r:virt_image_t:s0", "size": 197120, "state": "file", "uid": 0}
TASK [bifrost-create-vm-nodes : set copy-on-write for volume on non-CentOS systems] ***
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:64
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-create-vm-nodes : create_vm] *************************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:71
File lookup using /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/templates/testvm.xml.j2 as file
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893361.71-198951868422321 `" && echo ansible-tmp-1490893361.71-198951868422321="` echo $HOME/.ansible/tmp/ansible-tmp-1490893361.71-198951868422321 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpH2s9ic TO /root/.ansible/tmp/ansible-tmp-1490893361.71-198951868422321/virt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893361.71-198951868422321/ /root/.ansible/tmp/ansible-tmp-1490893361.71-198951868422321/virt && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893361.71-198951868422321/virt; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893361.71-198951868422321/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "created": "compute00", "invocation": {"module_args": {"command": "define", "name": "compute00", "state": null, "uri": "qemu:///system", "xml": "\n compute00\n 4096\n 2\n \n hvm\n \n \n \n \n \n \n \n \n \n \n destroy\n restart\n restart\n \n /usr/libexec/qemu-kvm\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n"}, "module_name": "virt"}}
TASK [bifrost-create-vm-nodes : get list of nodes from virtualbmc] *************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:93
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893362.85-247821699981571 `" && echo ansible-tmp-1490893362.85-247821699981571="` echo $HOME/.ansible/tmp/ansible-tmp-1490893362.85-247821699981571 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpNf7D4n TO /root/.ansible/tmp/ansible-tmp-1490893362.85-247821699981571/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893362.85-247821699981571/ /root/.ansible/tmp/ansible-tmp-1490893362.85-247821699981571/command && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893362.85-247821699981571/command; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893362.85-247821699981571/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "cmd": ["vbmc", "list"], "delta": "0:00:00.544540", "end": "2017-03-30 13:02:43.568995", "invocation": {"module_args": {"_raw_params": "vbmc list", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 0, "start": "2017-03-30 13:02:43.024455", "stderr": "", "stdout": "+--------------+---------+---------+------+\n| Domain name | Status | Address | Port |\n+--------------+---------+---------+------+\n| controller00 | running | :: | 624 |\n| xcimaster | running | :: | 623 |\n+--------------+---------+---------+------+", "stdout_lines": ["+--------------+---------+---------+------+", "| Domain name | Status | Address | Port |", "+--------------+---------+---------+------+", "| controller00 | running | :: | 624 |", "| xcimaster | running | :: | 623 |", "+--------------+---------+---------+------+"], "warnings": []}
TASK [bifrost-create-vm-nodes : delete vm from virtualbmc if it is there] ******
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:98
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-create-vm-nodes : set_fact] **************************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:102
ok: [127.0.0.1] => {"ansible_facts": {"virtual_ipmi_port": "625"}, "changed": false, "invocation": {"module_args": {"virtual_ipmi_port": "625"}, "module_name": "set_fact"}}
TASK [bifrost-create-vm-nodes : plug vm into vbmc] *****************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:105
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893363.83-49906929863716 `" && echo ansible-tmp-1490893363.83-49906929863716="` echo $HOME/.ansible/tmp/ansible-tmp-1490893363.83-49906929863716 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpGjrrNI TO /root/.ansible/tmp/ansible-tmp-1490893363.83-49906929863716/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893363.83-49906929863716/ /root/.ansible/tmp/ansible-tmp-1490893363.83-49906929863716/command && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893363.83-49906929863716/command; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893363.83-49906929863716/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "cmd": ["vbmc", "add", "compute00", "--libvirt-uri", "qemu:///system", "--port", "625"], "delta": "0:00:00.545750", "end": "2017-03-30 13:02:44.548072", "invocation": {"module_args": {"_raw_params": "vbmc add compute00 --libvirt-uri qemu:///system --port 625", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 0, "start": "2017-03-30 13:02:44.002322", "stderr": "", "stdout": "", "stdout_lines": [], "warnings": []}
TASK [bifrost-create-vm-nodes : start virtualbmc] ******************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:108
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893364.65-130877575709098 `" && echo ansible-tmp-1490893364.65-130877575709098="` echo $HOME/.ansible/tmp/ansible-tmp-1490893364.65-130877575709098 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpkrKM5l TO /root/.ansible/tmp/ansible-tmp-1490893364.65-130877575709098/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893364.65-130877575709098/ /root/.ansible/tmp/ansible-tmp-1490893364.65-130877575709098/command && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893364.65-130877575709098/command; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893364.65-130877575709098/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "cmd": ["vbmc", "start", "compute00"], "delta": "0:00:01.514561", "end": "2017-03-30 13:02:46.329064", "invocation": {"module_args": {"_raw_params": "vbmc start compute00", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 0, "start": "2017-03-30 13:02:44.814503", "stderr": "2017-03-30 13:02:45,327.327 23797 INFO VirtualBMC [-] Virtual BMC for domain compute00 started", "stdout": "", "stdout_lines": [], "warnings": []}
TASK [bifrost-create-vm-nodes : get XML of the vm] *****************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:111
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893366.43-103023142608072 `" && echo ansible-tmp-1490893366.43-103023142608072="` echo $HOME/.ansible/tmp/ansible-tmp-1490893366.43-103023142608072 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpPojDxG TO /root/.ansible/tmp/ansible-tmp-1490893366.43-103023142608072/virt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893366.43-103023142608072/ /root/.ansible/tmp/ansible-tmp-1490893366.43-103023142608072/virt && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893366.43-103023142608072/virt; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893366.43-103023142608072/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"changed": false, "get_xml": "\n compute00\n 98c45b1f-bdaa-4b49-8bfe-9e4269ac2c09\n 4194304\n 4194304\n 2\n \n hvm\n \n \n \n \n \n \n \n \n \n \n destroy\n restart\n restart\n \n /usr/libexec/qemu-kvm\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n", "invocation": {"module_args": {"command": "get_xml", "name": "compute00", "state": null, "uri": "qemu:///system", "xml": null}, "module_name": "virt"}}
TASK [bifrost-create-vm-nodes : get MAC from vm XML] ***************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:118
ok: [127.0.0.1] => {"ansible_facts": {"vm_mac": "52:54:00:cc:c5:0b"}, "changed": false, "invocation": {"module_args": {"vm_mac": "52:54:00:cc:c5:0b"}, "module_name": "set_fact"}}
TASK [bifrost-create-vm-nodes : set the json entry for vm] *********************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:124
ok: [127.0.0.1] => {"ansible_facts": {"testvm_data": {"ansible_ssh_host": "192.168.122.4", "driver": "agent_ipmitool", "driver_info": {"power": {"ipmi_address": "192.168.122.1", "ipmi_password": "password", "ipmi_port": "625", "ipmi_username": "admin"}}, "ipv4_address": "192.168.122.4", "name": "compute00", "nics": [{"mac": "52:54:00:cc:c5:0b"}], "properties": {"cpu_arch": "x86_64", "cpus": "2", "disk_size": "30", "ram": "4096"}, "uuid": "c1a56cb3-fcef-59d5-8105-7e6815154f70"}}, "changed": false, "invocation": {"module_args": {"testvm_data": {"ansible_ssh_host": "192.168.122.4", "driver": "agent_ipmitool", "driver_info": {"power": {"ipmi_address": "192.168.122.1", "ipmi_password": "password", "ipmi_port": "625", "ipmi_username": "admin"}}, "ipv4_address": "192.168.122.4", "name": "compute00", "nics": [{"mac": "52:54:00:cc:c5:0b"}], "properties": {"cpu_arch": "x86_64", "cpus": "2", "disk_size": "30", "ram": "4096"}, "uuid": "c1a56cb3-fcef-59d5-8105-7e6815154f70"}}, "module_name": "set_fact"}}
TASK [bifrost-create-vm-nodes : add created vm info] ***************************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:146
ok: [127.0.0.1] => {"ansible_facts": {"testvm_json_data": {"compute00": {"ansible_ssh_host": "192.168.122.4", "driver": "agent_ipmitool", "driver_info": {"power": {"ipmi_address": "192.168.122.1", "ipmi_password": "password", "ipmi_port": "625", "ipmi_username": "admin"}}, "ipv4_address": "192.168.122.4", "name": "compute00", "nics": [{"mac": "52:54:00:cc:c5:0b"}], "properties": {"cpu_arch": "x86_64", "cpus": "2", "disk_size": "30", "ram": "4096"}, "uuid": "c1a56cb3-fcef-59d5-8105-7e6815154f70"}, "controller00": {"ansible_ssh_host": "192.168.122.3", "driver": "agent_ipmitool", "driver_info": {"power": {"ipmi_address": "192.168.122.1", "ipmi_password": "password", "ipmi_port": "624", "ipmi_username": "admin"}}, "ipv4_address": "192.168.122.3", "name": "controller00", "nics": [{"mac": "52:54:00:b0:fb:0e"}], "properties": {"cpu_arch": "x86_64", "cpus": "2", "disk_size": "30", "ram": "4096"}, "uuid": "e1369efa-5391-5035-8533-3a065c44a584"}, "xcimaster": {"ansible_ssh_host": "192.168.122.2", "driver": "agent_ipmitool", "driver_info": {"power": {"ipmi_address": "192.168.122.1", "ipmi_password": "password", "ipmi_port": "623", "ipmi_username": "admin"}}, "ipv4_address": "192.168.122.2", "name": "xcimaster", "nics": [{"mac": "52:54:00:e3:ec:99"}], "properties": {"cpu_arch": "x86_64", "cpus": "2", "disk_size": "30", "ram": "4096"}, "uuid": "72010e8e-a3bd-519e-92fa-a69484f8298f"}}}, "changed": false, "invocation": {"module_args": {"testvm_json_data": {"compute00": {"ansible_ssh_host": "192.168.122.4", "driver": "agent_ipmitool", "driver_info": {"power": {"ipmi_address": "192.168.122.1", "ipmi_password": "password", "ipmi_port": "625", "ipmi_username": "admin"}}, "ipv4_address": "192.168.122.4", "name": "compute00", "nics": [{"mac": "52:54:00:cc:c5:0b"}], "properties": {"cpu_arch": "x86_64", "cpus": "2", "disk_size": "30", "ram": "4096"}, "uuid": "c1a56cb3-fcef-59d5-8105-7e6815154f70"}, "controller00": {"ansible_ssh_host": "192.168.122.3", "driver": "agent_ipmitool", "driver_info": {"power": {"ipmi_address": "192.168.122.1", "ipmi_password": "password", "ipmi_port": "624", "ipmi_username": "admin"}}, "ipv4_address": "192.168.122.3", "name": "controller00", "nics": [{"mac": "52:54:00:b0:fb:0e"}], "properties": {"cpu_arch": "x86_64", "cpus": "2", "disk_size": "30", "ram": "4096"}, "uuid": "e1369efa-5391-5035-8533-3a065c44a584"}, "xcimaster": {"ansible_ssh_host": "192.168.122.2", "driver": "agent_ipmitool", "driver_info": {"power": {"ipmi_address": "192.168.122.1", "ipmi_password": "password", "ipmi_port": "623", "ipmi_username": "admin"}}, "ipv4_address": "192.168.122.2", "name": "xcimaster", "nics": [{"mac": "52:54:00:e3:ec:99"}], "properties": {"cpu_arch": "x86_64", "cpus": "2", "disk_size": "30", "ram": "4096"}, "uuid": "72010e8e-a3bd-519e-92fa-a69484f8298f"}}}, "module_name": "set_fact"}}
TASK [bifrost-create-vm-nodes : remove previous baremetal data file] ***********
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:103
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893367.99-265102990795382 `" && echo ansible-tmp-1490893367.99-265102990795382="` echo $HOME/.ansible/tmp/ansible-tmp-1490893367.99-265102990795382 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpOQxdwA TO /root/.ansible/tmp/ansible-tmp-1490893367.99-265102990795382/file
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893367.99-265102990795382/ /root/.ansible/tmp/ansible-tmp-1490893367.99-265102990795382/file && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893367.99-265102990795382/file; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893367.99-265102990795382/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"changed": false, "invocation": {"module_args": {"backup": null, "content": null, "delimiter": null, "diff_peek": null, "directory_mode": null, "follow": false, "force": false, "group": null, "mode": null, "original_basename": null, "owner": null, "path": "/tmp/baremetal.csv", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "absent", "validate": null}, "module_name": "file"}, "path": "/tmp/baremetal.csv", "state": "absent"}
TASK [bifrost-create-vm-nodes : write to baremetal json file] ******************
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:108
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893368.26-154703642362002 `" && echo ansible-tmp-1490893368.26-154703642362002="` echo $HOME/.ansible/tmp/ansible-tmp-1490893368.26-154703642362002 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmplYStap TO /root/.ansible/tmp/ansible-tmp-1490893368.26-154703642362002/stat
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893368.26-154703642362002/ /root/.ansible/tmp/ansible-tmp-1490893368.26-154703642362002/stat && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893368.26-154703642362002/stat; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893368.26-154703642362002/" > /dev/null 2>&1 && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893368.45-127794222784413 `" && echo ansible-tmp-1490893368.45-127794222784413="` echo $HOME/.ansible/tmp/ansible-tmp-1490893368.45-127794222784413 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpSRS3BA TO /root/.ansible/tmp/ansible-tmp-1490893368.45-127794222784413/source
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893368.45-127794222784413/ /root/.ansible/tmp/ansible-tmp-1490893368.45-127794222784413/source && sleep 0'
<127.0.0.1> PUT /tmp/tmp4FYxMY TO /root/.ansible/tmp/ansible-tmp-1490893368.45-127794222784413/copy
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893368.45-127794222784413/ /root/.ansible/tmp/ansible-tmp-1490893368.45-127794222784413/copy && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893368.45-127794222784413/copy; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893368.45-127794222784413/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "checksum": "7af1b2628063191237afe095dc7d12cad81a3bc5", "dest": "/tmp/baremetal.csv", "gid": 0, "group": "root", "invocation": {"module_args": {"backup": false, "content": null, "delimiter": null, "dest": "/tmp/baremetal.csv", "directory_mode": null, "follow": false, "force": true, "group": null, "mode": null, "original_basename": "tmpSRS3BA", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1490893368.45-127794222784413/source", "validate": null}}, "md5sum": "c0fb55b311ce43114df093979fb10777", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:admin_home_t:s0", "size": 2230, "src": "/root/.ansible/tmp/ansible-tmp-1490893368.45-127794222784413/source", "state": "file", "uid": 0}
TASK [bifrost-create-vm-nodes : "Set file permissions such that the baremetal data file can be read by the user executing Ansible"] ***
task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:113
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893368.82-201266789612972 `" && echo ansible-tmp-1490893368.82-201266789612972="` echo $HOME/.ansible/tmp/ansible-tmp-1490893368.82-201266789612972 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp6zUeBL TO /root/.ansible/tmp/ansible-tmp-1490893368.82-201266789612972/file
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893368.82-201266789612972/ /root/.ansible/tmp/ansible-tmp-1490893368.82-201266789612972/file && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893368.82-201266789612972/file; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893368.82-201266789612972/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "diff": {"after": {"owner": 1000, "path": "/tmp/baremetal.csv"}, "before": {"owner": 0, "path": "/tmp/baremetal.csv"}}, "gid": 0, "group": "root", "invocation": {"module_args": {"backup": null, "content": null, "delimiter": null, "diff_peek": null, "directory_mode": null, "follow": false, "force": false, "group": null, "mode": null, "original_basename": null, "owner": "jenkins", "path": "/tmp/baremetal.csv", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": null, "validate": null}, "module_name": "file"}, "mode": "0644", "owner": "jenkins", "path": "/tmp/baremetal.csv", "secontext": "system_u:object_r:admin_home_t:s0", "size": 2230, "state": "file", "uid": 1000}
PLAY RECAP *********************************************************************
127.0.0.1 : ok=76 changed=21 unreachable=0 failed=0
+ /bin/ansible-playbook -vvvv -i inventory/bifrost_inventory.py opnfv-virtual.yaml -e use_cirros=false -e testing_user=root -e test_vm_num_nodes=3 -e inventory_dhcp=false -e inventory_dhcp_static_ip=false -e enable_venv=false -e enable_inspector=true -e inspect_nodes=true -e download_ipa=true -e create_ipa_image=false -e write_interfaces_file=true -e ipv4_gateway=192.168.122.1 -e wait_timeout=3600
No config file found; using defaults
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/inspector_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/staging_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/bootstrap.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/keystone_setup.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/ironic_config.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/inspector_bootstrap.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/keystone_setup_inspector.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/create_tftpboot.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/get_ipxe.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/download_ipa_image.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/start.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/inspector_start.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-configdrives-dynamic/tasks/update_facts_from_ironic.yaml
statically included: /opt/bifrost/playbooks/roles/bifrost-configdrives-dynamic/tasks/ssh_public_key_path.yaml
Loaded callback default of type stdout, v2.0
PLAYBOOK: opnfv-virtual.yaml ***************************************************
6 plays in opnfv-virtual.yaml
PLAY [Setting pre-test conditions] *********************************************
TASK [setup] *******************************************************************
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893372.11-203103341219727 `" && echo ansible-tmp-1490893372.11-203103341219727="` echo $HOME/.ansible/tmp/ansible-tmp-1490893372.11-203103341219727 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpf0zPai TO /root/.ansible/tmp/ansible-tmp-1490893372.11-203103341219727/setup
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893372.11-203103341219727/ /root/.ansible/tmp/ansible-tmp-1490893372.11-203103341219727/setup && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893372.11-203103341219727/setup; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893372.11-203103341219727/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1]
TASK [Remove pre-existing leases file] *****************************************
task path: /opt/bifrost/playbooks/opnfv-virtual.yaml:16
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893372.72-102521208486968 `" && echo ansible-tmp-1490893372.72-102521208486968="` echo $HOME/.ansible/tmp/ansible-tmp-1490893372.72-102521208486968 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpt48ahp TO /root/.ansible/tmp/ansible-tmp-1490893372.72-102521208486968/file
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893372.72-102521208486968/ /root/.ansible/tmp/ansible-tmp-1490893372.72-102521208486968/file && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893372.72-102521208486968/file; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893372.72-102521208486968/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"changed": false, "invocation": {"module_args": {"backup": null, "content": null, "delimiter": null, "diff_peek": null, "directory_mode": null, "follow": false, "force": false, "group": null, "mode": null, "original_basename": null, "owner": null, "path": "/var/lib/misc/dnsmasq.leases", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "absent", "validate": null}, "module_name": "file"}, "path": "/var/lib/misc/dnsmasq.leases", "state": "absent"}
PLAY [Executes install, enrollment, and testing in one playbook] ***************
TASK [setup] *******************************************************************
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893374.14-52322963406031 `" && echo ansible-tmp-1490893374.14-52322963406031="` echo $HOME/.ansible/tmp/ansible-tmp-1490893374.14-52322963406031 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpx9qIAo TO /root/.ansible/tmp/ansible-tmp-1490893374.14-52322963406031/setup
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893374.14-52322963406031/ /root/.ansible/tmp/ansible-tmp-1490893374.14-52322963406031/setup && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 http_proxy='"'"''"'"' LC_MESSAGES=en_US.UTF-8 https_proxy='"'"''"'"' /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893374.14-52322963406031/setup; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893374.14-52322963406031/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1]
TASK [Override the ipv4_gateway setting] ***************************************
task path: /opt/bifrost/playbooks/opnfv-virtual.yaml:24
ok: [127.0.0.1] => {"ansible_facts": {"ipv4_gateway": "192.168.122.1"}, "changed": false, "invocation": {"module_args": {"ipv4_gateway": "192.168.122.1"}, "module_name": "set_fact"}}
TASK [bifrost-prep-for-install : ensure installation root folder exists] *******
task path: /opt/bifrost/playbooks/roles/bifrost-prep-for-install/tasks/main.yml:16
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893374.85-233129492700036 `" && echo ansible-tmp-1490893374.85-233129492700036="` echo $HOME/.ansible/tmp/ansible-tmp-1490893374.85-233129492700036 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp0qkCtG TO /root/.ansible/tmp/ansible-tmp-1490893374.85-233129492700036/file
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893374.85-233129492700036/ /root/.ansible/tmp/ansible-tmp-1490893374.85-233129492700036/file && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 http_proxy='"'"''"'"' LC_MESSAGES=en_US.UTF-8 https_proxy='"'"''"'"' /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893374.85-233129492700036/file; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893374.85-233129492700036/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"changed": false, "diff": {"after": {"path": "/opt/stack"}, "before": {"path": "/opt/stack"}}, "gid": 0, "group": "root", "invocation": {"module_args": {"backup": null, "content": null, "delimiter": null, "dest": "/opt/stack", "diff_peek": null, "directory_mode": null, "follow": false, "force": false, "group": "0", "mode": null, "original_basename": null, "owner": "root", "path": "/opt/stack", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "validate": null}, "module_name": "file"}, "mode": "0755", "owner": "root", "path": "/opt/stack", "secontext": "system_u:object_r:usr_t:s0", "size": 4096, "state": "directory", "uid": 0}
TASK [bifrost-prep-for-install : Download via GIT] *****************************
task path: /opt/bifrost/playbooks/roles/bifrost-prep-for-install/tasks/main.yml:24
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893375.32-212173725507956 `" && echo ansible-tmp-1490893375.32-212173725507956="` echo $HOME/.ansible/tmp/ansible-tmp-1490893375.32-212173725507956 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpsgUSo0 TO /root/.ansible/tmp/ansible-tmp-1490893375.32-212173725507956/git
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893375.32-212173725507956/ /root/.ansible/tmp/ansible-tmp-1490893375.32-212173725507956/git && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 http_proxy='"'"''"'"' LC_MESSAGES=en_US.UTF-8 https_proxy='"'"''"'"' /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893375.32-212173725507956/git; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893375.32-212173725507956/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => (item={u'git_branch': u'master', u'git_folder': u'/opt/stack/ironic', u'name': u'ironic', u'git_url': u'https://git.openstack.org/openstack/ironic'}) => {"after": "76d21c710a6d564be0957efbbcb0cb887d16bef9", "before": null, "changed": true, "invocation": {"module_args": {"accept_hostkey": false, "bare": false, "clone": true, "depth": null, "dest": "/opt/stack/ironic", "executable": null, "force": true, "key_file": null, "recursive": true, "reference": null, "refspec": null, "remote": "origin", "repo": "https://git.openstack.org/openstack/ironic", "ssh_opts": null, "track_submodules": false, "update": true, "verify_commit": false, "version": "master"}, "module_name": "git"}, "item": {"git_branch": "master", "git_folder": "/opt/stack/ironic", "git_url": "https://git.openstack.org/openstack/ironic", "name": "ironic"}, "warnings": []}
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893388.97-191249770514302 `" && echo ansible-tmp-1490893388.97-191249770514302="` echo $HOME/.ansible/tmp/ansible-tmp-1490893388.97-191249770514302 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpQMPuCl TO /root/.ansible/tmp/ansible-tmp-1490893388.97-191249770514302/git
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893388.97-191249770514302/ /root/.ansible/tmp/ansible-tmp-1490893388.97-191249770514302/git && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 http_proxy='"'"''"'"' LC_MESSAGES=en_US.UTF-8 https_proxy='"'"''"'"' /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893388.97-191249770514302/git; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893388.97-191249770514302/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => (item={u'git_branch': u'master', u'git_folder': u'/opt/stack/python-ironicclient', u'name': u'ironicclient', u'git_url': u'https://git.openstack.org/openstack/python-ironicclient'}) => {"after": "27663efdd35b051edcfec2e197a84c14efa0c7b2", "before": null, "changed": true, "invocation": {"module_args": {"accept_hostkey": false, "bare": false, "clone": true, "depth": null, "dest": "/opt/stack/python-ironicclient", "executable": null, "force": true, "key_file": null, "recursive": true, "reference": null, "refspec": null, "remote": "origin", "repo": "https://git.openstack.org/openstack/python-ironicclient", "ssh_opts": null, "track_submodules": false, "update": true, "verify_commit": false, "version": "master"}, "module_name": "git"}, "item": {"git_branch": "master", "git_folder": "/opt/stack/python-ironicclient", "git_url": "https://git.openstack.org/openstack/python-ironicclient", "name": "ironicclient"}, "warnings": []}
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893392.5-105746672581073 `" && echo ansible-tmp-1490893392.5-105746672581073="` echo $HOME/.ansible/tmp/ansible-tmp-1490893392.5-105746672581073 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmptuf1Xi TO /root/.ansible/tmp/ansible-tmp-1490893392.5-105746672581073/git
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893392.5-105746672581073/ /root/.ansible/tmp/ansible-tmp-1490893392.5-105746672581073/git && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 http_proxy='"'"''"'"' LC_MESSAGES=en_US.UTF-8 https_proxy='"'"''"'"' /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893392.5-105746672581073/git; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893392.5-105746672581073/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => (item={u'git_branch': u'master', u'git_folder': u'/opt/stack/shade', u'name': u'shade', u'git_url': u'https://git.openstack.org/openstack-infra/shade'}) => {"after": "4fd20a7e5d3bce4f8adac1c842f52c13fcd333df", "before": null, "changed": true, "invocation": {"module_args": {"accept_hostkey": false, "bare": false, "clone": true, "depth": null, "dest": "/opt/stack/shade", "executable": null, "force": true, "key_file": null, "recursive": true, "reference": null, "refspec": null, "remote": "origin", "repo": "https://git.openstack.org/openstack-infra/shade", "ssh_opts": null, "track_submodules": false, "update": true, "verify_commit": false, "version": "master"}, "module_name": "git"}, "item": {"git_branch": "master", "git_folder": "/opt/stack/shade", "git_url": "https://git.openstack.org/openstack-infra/shade", "name": "shade"}, "warnings": []}
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893397.16-232379027979329 `" && echo ansible-tmp-1490893397.16-232379027979329="` echo $HOME/.ansible/tmp/ansible-tmp-1490893397.16-232379027979329 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpjaAx4M TO /root/.ansible/tmp/ansible-tmp-1490893397.16-232379027979329/git
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893397.16-232379027979329/ /root/.ansible/tmp/ansible-tmp-1490893397.16-232379027979329/git && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 http_proxy='"'"''"'"' LC_MESSAGES=en_US.UTF-8 https_proxy='"'"''"'"' /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893397.16-232379027979329/git; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893397.16-232379027979329/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => (item={u'git_branch': u'master', u'git_folder': u'/opt/stack/diskimage-builder', u'name': u'dib', u'git_url': u'https://git.openstack.org/openstack/diskimage-builder'}) => {"after": "87236af75c954efc6eceab8c956a666b87a43edc", "before": null, "changed": true, "invocation": {"module_args": {"accept_hostkey": false, "bare": false, "clone": true, "depth": null, "dest": "/opt/stack/diskimage-builder", "executable": null, "force": true, "key_file": null, "recursive": true, "reference": null, "refspec": null, "remote": "origin", "repo": "https://git.openstack.org/openstack/diskimage-builder", "ssh_opts": null, "track_submodules": false, "update": true, "verify_commit": false, "version": "master"}, "module_name": "git"}, "item": {"git_branch": "master", "git_folder": "/opt/stack/diskimage-builder", "git_url": "https://git.openstack.org/openstack/diskimage-builder", "name": "dib"}, "warnings": []}
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893401.63-95458618306586 `" && echo ansible-tmp-1490893401.63-95458618306586="` echo $HOME/.ansible/tmp/ansible-tmp-1490893401.63-95458618306586 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpbHPEEk TO /root/.ansible/tmp/ansible-tmp-1490893401.63-95458618306586/git
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893401.63-95458618306586/ /root/.ansible/tmp/ansible-tmp-1490893401.63-95458618306586/git && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 http_proxy='"'"''"'"' LC_MESSAGES=en_US.UTF-8 https_proxy='"'"''"'"' /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893401.63-95458618306586/git; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893401.63-95458618306586/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => (item={u'git_branch': u'master', u'git_folder': u'/opt/stack/ironic-inspector', u'name': u'ironicinspector', u'git_url': u'https://github.com/openstack/ironic-inspector'}) => {"after": "67292f14503f0f3ad7ba41138b842c04cbbff596", "before": null, "changed": true, "invocation": {"module_args": {"accept_hostkey": false, "bare": false, "clone": true, "depth": null, "dest": "/opt/stack/ironic-inspector", "executable": null, "force": true, "key_file": null, "recursive": true, "reference": null, "refspec": null, "remote": "origin", "repo": "https://github.com/openstack/ironic-inspector", "ssh_opts": null, "track_submodules": false, "update": true, "verify_commit": false, "version": "master"}, "module_name": "git"}, "item": {"git_branch": "master", "git_folder": "/opt/stack/ironic-inspector", "git_url": "https://github.com/openstack/ironic-inspector", "name": "ironicinspector"}, "warnings": []}
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893404.87-89756423323537 `" && echo ansible-tmp-1490893404.87-89756423323537="` echo $HOME/.ansible/tmp/ansible-tmp-1490893404.87-89756423323537 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpaZp4dl TO /root/.ansible/tmp/ansible-tmp-1490893404.87-89756423323537/git
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893404.87-89756423323537/ /root/.ansible/tmp/ansible-tmp-1490893404.87-89756423323537/git && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 http_proxy='"'"''"'"' LC_MESSAGES=en_US.UTF-8 https_proxy='"'"''"'"' /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893404.87-89756423323537/git; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893404.87-89756423323537/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => (item={u'git_branch': u'master', u'git_folder': u'/opt/stack/python-ironic-inspector-client', u'name': u'ironicinspectorclient', u'git_url': u'https://github.com/openstack/python-ironic-inspector-client'}) => {"after": "045fd9e680f5a3153d147950c4cb866a313e15e0", "before": null, "changed": true, "invocation": {"module_args": {"accept_hostkey": false, "bare": false, "clone": true, "depth": null, "dest": "/opt/stack/python-ironic-inspector-client", "executable": null, "force": true, "key_file": null, "recursive": true, "reference": null, "refspec": null, "remote": "origin", "repo": "https://github.com/openstack/python-ironic-inspector-client", "ssh_opts": null, "track_submodules": false, "update": true, "verify_commit": false, "version": "master"}, "module_name": "git"}, "item": {"git_branch": "master", "git_folder": "/opt/stack/python-ironic-inspector-client", "git_url": "https://github.com/openstack/python-ironic-inspector-client", "name": "ironicinspectorclient"}, "warnings": []}
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893407.12-80414512231607 `" && echo ansible-tmp-1490893407.12-80414512231607="` echo $HOME/.ansible/tmp/ansible-tmp-1490893407.12-80414512231607 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpMpXFQp TO /root/.ansible/tmp/ansible-tmp-1490893407.12-80414512231607/git
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893407.12-80414512231607/ /root/.ansible/tmp/ansible-tmp-1490893407.12-80414512231607/git && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 http_proxy='"'"''"'"' LC_MESSAGES=en_US.UTF-8 https_proxy='"'"''"'"' /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893407.12-80414512231607/git; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893407.12-80414512231607/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => (item={u'git_branch': u'master', u'git_folder': u'/opt/stack/requirements', u'name': u'requirements', u'git_url': u'https://git.openstack.org/openstack/requirements'}) => {"after": "94f903b47580febe4b4509b8b48f8cd32a80a7c6", "before": null, "changed": true, "invocation": {"module_args": {"accept_hostkey": false, "bare": false, "clone": true, "depth": null, "dest": "/opt/stack/requirements", "executable": null, "force": true, "key_file": null, "recursive": true, "reference": null, "refspec": null, "remote": "origin", "repo": "https://git.openstack.org/openstack/requirements", "ssh_opts": null, "track_submodules": false, "update": true, "verify_commit": false, "version": "master"}, "module_name": "git"}, "item": {"git_branch": "master", "git_folder": "/opt/stack/requirements", "git_url": "https://git.openstack.org/openstack/requirements", "name": "requirements"}, "warnings": []}
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893412.47-263820648444851 `" && echo ansible-tmp-1490893412.47-263820648444851="` echo $HOME/.ansible/tmp/ansible-tmp-1490893412.47-263820648444851 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp63KZNT TO /root/.ansible/tmp/ansible-tmp-1490893412.47-263820648444851/git
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893412.47-263820648444851/ /root/.ansible/tmp/ansible-tmp-1490893412.47-263820648444851/git && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 http_proxy='"'"''"'"' LC_MESSAGES=en_US.UTF-8 https_proxy='"'"''"'"' /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893412.47-263820648444851/git; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893412.47-263820648444851/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => (item={u'git_branch': u'master', u'git_folder': u'/opt/stack/ironic-staging-drivers', u'name': u'ironic-staging-drivers', u'git_url': u'https://git.openstack.org/openstack/ironic-staging-drivers'}) => {"after": "7dc7cd2a3d09b50492ecf892e4d92f503bc19d95", "before": null, "changed": true, "invocation": {"module_args": {"accept_hostkey": false, "bare": false, "clone": true, "depth": null, "dest": "/opt/stack/ironic-staging-drivers", "executable": null, "force": true, "key_file": null, "recursive": true, "reference": null, "refspec": null, "remote": "origin", "repo": "https://git.openstack.org/openstack/ironic-staging-drivers", "ssh_opts": null, "track_submodules": false, "update": true, "verify_commit": false, "version": "master"}, "module_name": "git"}, "item": {"git_branch": "master", "git_folder": "/opt/stack/ironic-staging-drivers", "git_url": "https://git.openstack.org/openstack/ironic-staging-drivers", "name": "ironic-staging-drivers"}, "warnings": []}
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893414.78-164917670491181 `" && echo ansible-tmp-1490893414.78-164917670491181="` echo $HOME/.ansible/tmp/ansible-tmp-1490893414.78-164917670491181 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpSyoHbp TO /root/.ansible/tmp/ansible-tmp-1490893414.78-164917670491181/git
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893414.78-164917670491181/ /root/.ansible/tmp/ansible-tmp-1490893414.78-164917670491181/git && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 http_proxy='"'"''"'"' LC_MESSAGES=en_US.UTF-8 https_proxy='"'"''"'"' /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893414.78-164917670491181/git; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893414.78-164917670491181/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => (item={u'git_branch': u'master', u'git_folder': u'/opt/stack/keystone', u'name': u'keystone', u'git_url': u'https://git.openstack.org/openstack/keystone'}) => {"after": "2481ceb5438023891c0d15b5d274a90aef3e5c00", "before": null, "changed": true, "invocation": {"module_args": {"accept_hostkey": false, "bare": false, "clone": true, "depth": null, "dest": "/opt/stack/keystone", "executable": null, "force": true, "key_file": null, "recursive": true, "reference": null, "refspec": null, "remote": "origin", "repo": "https://git.openstack.org/openstack/keystone", "ssh_opts": null, "track_submodules": false, "update": true, "verify_commit": false, "version": "master"}, "module_name": "git"}, "item": {"git_branch": "master", "git_folder": "/opt/stack/keystone", "git_url": "https://git.openstack.org/openstack/keystone", "name": "keystone"}, "warnings": []}
TASK [bifrost-prep-for-install : Copy from local path] *************************
task path: /opt/bifrost/playbooks/roles/bifrost-prep-for-install/tasks/main.yml:35
skipping: [127.0.0.1] => (item={u'git_branch': u'master', u'git_folder': u'/opt/stack/ironic', u'name': u'ironic', u'git_url': u'https://git.openstack.org/openstack/ironic'}) => {"changed": false, "item": {"git_branch": "master", "git_folder": "/opt/stack/ironic", "git_url": "https://git.openstack.org/openstack/ironic", "name": "ironic"}, "skip_reason": "Conditional check failed", "skipped": true}
skipping: [127.0.0.1] => (item={u'git_branch': u'master', u'git_folder': u'/opt/stack/python-ironicclient', u'name': u'ironicclient', u'git_url': u'https://git.openstack.org/openstack/python-ironicclient'}) => {"changed": false, "item": {"git_branch": "master", "git_folder": "/opt/stack/python-ironicclient", "git_url": "https://git.openstack.org/openstack/python-ironicclient", "name": "ironicclient"}, "skip_reason": "Conditional check failed", "skipped": true}
skipping: [127.0.0.1] => (item={u'git_branch': u'master', u'git_folder': u'/opt/stack/shade', u'name': u'shade', u'git_url': u'https://git.openstack.org/openstack-infra/shade'}) => {"changed": false, "item": {"git_branch": "master", "git_folder": "/opt/stack/shade", "git_url": "https://git.openstack.org/openstack-infra/shade", "name": "shade"}, "skip_reason": "Conditional check failed", "skipped": true}
skipping: [127.0.0.1] => (item={u'git_branch': u'master', u'git_folder': u'/opt/stack/diskimage-builder', u'name': u'dib', u'git_url': u'https://git.openstack.org/openstack/diskimage-builder'}) => {"changed": false, "item": {"git_branch": "master", "git_folder": "/opt/stack/diskimage-builder", "git_url": "https://git.openstack.org/openstack/diskimage-builder", "name": "dib"}, "skip_reason": "Conditional check failed", "skipped": true}
skipping: [127.0.0.1] => (item={u'git_branch': u'master', u'git_folder': u'/opt/stack/ironic-inspector', u'name': u'ironicinspector', u'git_url': u'https://github.com/openstack/ironic-inspector'}) => {"changed": false, "item": {"git_branch": "master", "git_folder": "/opt/stack/ironic-inspector", "git_url": "https://github.com/openstack/ironic-inspector", "name": "ironicinspector"}, "skip_reason": "Conditional check failed", "skipped": true}
skipping: [127.0.0.1] => (item={u'git_branch': u'master', u'git_folder': u'/opt/stack/python-ironic-inspector-client', u'name': u'ironicinspectorclient', u'git_url': u'https://github.com/openstack/python-ironic-inspector-client'}) => {"changed": false, "item": {"git_branch": "master", "git_folder": "/opt/stack/python-ironic-inspector-client", "git_url": "https://github.com/openstack/python-ironic-inspector-client", "name": "ironicinspectorclient"}, "skip_reason": "Conditional check failed", "skipped": true}
skipping: [127.0.0.1] => (item={u'git_branch': u'master', u'git_folder': u'/opt/stack/requirements', u'name': u'requirements', u'git_url': u'https://git.openstack.org/openstack/requirements'}) => {"changed": false, "item": {"git_branch": "master", "git_folder": "/opt/stack/requirements", "git_url": "https://git.openstack.org/openstack/requirements", "name": "requirements"}, "skip_reason": "Conditional check failed", "skipped": true}
skipping: [127.0.0.1] => (item={u'git_branch': u'master', u'git_folder': u'/opt/stack/ironic-staging-drivers', u'name': u'ironic-staging-drivers', u'git_url': u'https://git.openstack.org/openstack/ironic-staging-drivers'}) => {"changed": false, "item": {"git_branch": "master", "git_folder": "/opt/stack/ironic-staging-drivers", "git_url": "https://git.openstack.org/openstack/ironic-staging-drivers", "name": "ironic-staging-drivers"}, "skip_reason": "Conditional check failed", "skipped": true}
skipping: [127.0.0.1] => (item={u'git_branch': u'master', u'git_folder': u'/opt/stack/keystone', u'name': u'keystone', u'git_url': u'https://git.openstack.org/openstack/keystone'}) => {"changed": false, "item": {"git_branch": "master", "git_folder": "/opt/stack/keystone", "git_url": "https://git.openstack.org/openstack/keystone", "name": "keystone"}, "skip_reason": "Conditional check failed", "skipped": true}
PLAY [Executes install, enrollment, and testing in one playbook] ***************
TASK [setup] *******************************************************************
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893434.36-37615461528286 `" && echo ansible-tmp-1490893434.36-37615461528286="` echo $HOME/.ansible/tmp/ansible-tmp-1490893434.36-37615461528286 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpUeJMqi TO /root/.ansible/tmp/ansible-tmp-1490893434.36-37615461528286/setup
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893434.36-37615461528286/ /root/.ansible/tmp/ansible-tmp-1490893434.36-37615461528286/setup && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 http_proxy='"'"''"'"' LC_MESSAGES=en_US.UTF-8 https_proxy='"'"''"'"' /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893434.36-37615461528286/setup; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893434.36-37615461528286/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1]
TASK [bifrost-ironic-install : Ensure openSUSE Tumbleweed has the correct family] ***
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/main.yml:21
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-ironic-install : Ensure openSUSE Leap has the correct family] ****
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/main.yml:26
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-ironic-install : Include OS family-specific defaults] ************
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/main.yml:35
ok: [127.0.0.1] => (item=/opt/bifrost/playbooks/roles/bifrost-ironic-install/templates/../defaults/required_defaults_RedHat_family.yml) => {"ansible_facts": {"init_dest_dir": "/usr/lib/systemd/system/", "init_ext": ".service", "init_template": "systemd_template.j2", "ipxe_dir": "/usr/share/ipxe/", "ipxe_full_binary": "ipxe.lkrn", "ironic_rootwrap_dir": "/usr/bin/", "iscsi_client_package": "iscsi-initiator-utils", "mysql_service_name": "mariadb", "nginx_user": "nginx", "required_packages": ["mariadb-server", "dnsmasq", "rabbitmq-server", "python-devel", "MySQL-python", "python-iniparse", "libffi-devel", "libxslt-devel", "openssl-devel", "libxml2-devel", "ipxe-bootimgs", "tftp-server", "syslinux", "syslinux-tftpboot", "xinetd", "parted", "ipmitool", "psmisc", "nginx", "wget", "genisoimage", "kpartx", "qemu-kvm-tools", "qemu-img", "openwsman-python", "libselinux-python", "policycoreutils-python", "debootstrap", "gcc", "python2-pip", "socat"], "syslinux_tftp_dir": "/var/lib/tftpboot", "tftp_service_name": "tftp"}, "invocation": {"module_args": {"_raw_params": "/opt/bifrost/playbooks/roles/bifrost-ironic-install/templates/../defaults/required_defaults_RedHat_family.yml"}, "module_name": "include_vars"}, "item": "/opt/bifrost/playbooks/roles/bifrost-ironic-install/templates/../defaults/required_defaults_RedHat_family.yml"}
TASK [bifrost-ironic-install : Include OS distribution-specific defaults] ******
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/main.yml:41
ok: [127.0.0.1] => (item=/opt/bifrost/playbooks/roles/bifrost-ironic-install/templates/../defaults/dummy-defaults.yml) => {"ansible_facts": {}, "invocation": {"module_args": {"_raw_params": "/opt/bifrost/playbooks/roles/bifrost-ironic-install/templates/../defaults/dummy-defaults.yml"}, "module_name": "include_vars"}, "item": "/opt/bifrost/playbooks/roles/bifrost-ironic-install/templates/../defaults/dummy-defaults.yml"}
TASK [bifrost-ironic-install : Include OS version-specific defaults] ***********
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/main.yml:47
ok: [127.0.0.1] => (item=/opt/bifrost/playbooks/roles/bifrost-ironic-install/templates/../defaults/dummy-defaults.yml) => {"ansible_facts": {}, "invocation": {"module_args": {"_raw_params": "/opt/bifrost/playbooks/roles/bifrost-ironic-install/templates/../defaults/dummy-defaults.yml"}, "module_name": "include_vars"}, "item": "/opt/bifrost/playbooks/roles/bifrost-ironic-install/templates/../defaults/dummy-defaults.yml"}
TASK [bifrost-ironic-install : Update Package Cache] ***************************
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/install.yml:16
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-ironic-install : Install packages] *******************************
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/install.yml:20
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893437.85-109738949107093 `" && echo ansible-tmp-1490893437.85-109738949107093="` echo $HOME/.ansible/tmp/ansible-tmp-1490893437.85-109738949107093 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpQKE62h TO /root/.ansible/tmp/ansible-tmp-1490893437.85-109738949107093/yum
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893437.85-109738949107093/ /root/.ansible/tmp/ansible-tmp-1490893437.85-109738949107093/yum && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 http_proxy='"'"''"'"' LC_MESSAGES=en_US.UTF-8 https_proxy='"'"''"'"' /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893437.85-109738949107093/yum; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893437.85-109738949107093/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => (item=[u'mariadb-server', u'dnsmasq', u'rabbitmq-server', u'python-devel', u'MySQL-python', u'python-iniparse', u'libffi-devel', u'libxslt-devel', u'openssl-devel', u'libxml2-devel', u'ipxe-bootimgs', u'tftp-server', u'syslinux', u'syslinux-tftpboot', u'xinetd', u'parted', u'ipmitool', u'psmisc', u'nginx', u'wget', u'genisoimage', u'kpartx', u'qemu-kvm-tools', u'qemu-img', u'openwsman-python', u'libselinux-python', u'policycoreutils-python', u'debootstrap', u'gcc', u'python2-pip', u'socat']) => {"changed": false, "invocation": {"module_args": {"conf_file": null, "disable_gpg_check": false, "disablerepo": null, "enablerepo": null, "exclude": null, "install_repoquery": true, "list": null, "name": ["mariadb-server", "dnsmasq", "rabbitmq-server", "python-devel", "MySQL-python", "python-iniparse", "libffi-devel", "libxslt-devel", "openssl-devel", "libxml2-devel", "ipxe-bootimgs", "tftp-server", "syslinux", "syslinux-tftpboot", "xinetd", "parted", "ipmitool", "psmisc", "nginx", "wget", "genisoimage", "kpartx", "qemu-kvm-tools", "qemu-img", "openwsman-python", "libselinux-python", "policycoreutils-python", "debootstrap", "gcc", "python2-pip", "socat"], "state": "present", "update_cache": false, "validate_certs": true}, "module_name": "yum"}, "item": ["mariadb-server", "dnsmasq", "rabbitmq-server", "python-devel", "MySQL-python", "python-iniparse", "libffi-devel", "libxslt-devel", "openssl-devel", "libxml2-devel", "ipxe-bootimgs", "tftp-server", "syslinux", "syslinux-tftpboot", "xinetd", "parted", "ipmitool", "psmisc", "nginx", "wget", "genisoimage", "kpartx", "qemu-kvm-tools", "qemu-img", "openwsman-python", "libselinux-python", "policycoreutils-python", "debootstrap", "gcc", "python2-pip", "socat"], "msg": "", "rc": 0, "results": ["mariadb-server-1:5.5.52-1.el7.x86_64 providing mariadb-server is already installed", "dnsmasq-2.66-21.el7.x86_64 providing dnsmasq is already installed", "rabbitmq-server-3.3.5-28.el7.noarch providing rabbitmq-server is already installed", "python-devel-2.7.5-48.el7.x86_64 providing python-devel is already installed", "MySQL-python-1.2.5-1.el7.x86_64 providing MySQL-python is already installed", "python-iniparse-0.4-9.el7.noarch providing python-iniparse is already installed", "libffi-devel-3.0.13-18.el7.x86_64 providing libffi-devel is already installed", "libxslt-devel-1.1.28-5.el7.x86_64 providing libxslt-devel is already installed", "openssl-devel-1:1.0.1e-60.el7.x86_64 providing openssl-devel is already installed", "libxml2-devel-2.9.1-6.el7_2.3.x86_64 providing libxml2-devel is already installed", "ipxe-bootimgs-20160127-5.git6366fa7a.el7.noarch providing ipxe-bootimgs is already installed", "tftp-server-5.2-13.el7.x86_64 providing tftp-server is already installed", "syslinux-4.05-13.el7.x86_64 providing syslinux is already installed", "syslinux-tftpboot-4.05-13.el7.x86_64 providing syslinux-tftpboot is already installed", "xinetd-2:2.3.15-13.el7.x86_64 providing xinetd is already installed", "parted-3.1-28.el7.x86_64 providing parted is already installed", "ipmitool-1.8.15-7.el7.x86_64 providing ipmitool is already installed", "psmisc-22.20-11.el7.x86_64 providing psmisc is already installed", "nginx-1:1.10.2-1.el7.x86_64 providing nginx is already installed", "wget-1.14-13.el7.x86_64 providing wget is already installed", "genisoimage-1.1.11-23.el7.x86_64 providing genisoimage is already installed", "kpartx-0.4.9-99.el7_3.1.x86_64 providing kpartx is already installed", "qemu-kvm-tools-10:1.5.3-126.el7_3.3.x86_64 providing qemu-kvm-tools is already installed", "qemu-img-10:1.5.3-126.el7_3.3.x86_64 providing qemu-img is already installed", "openwsman-python-2.3.6-13.el7.x86_64 providing openwsman-python is already installed", "libselinux-python-2.5-6.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-11.el7_3.x86_64 providing policycoreutils-python is already installed", "debootstrap-1.0.85-1.el7.noarch providing debootstrap is already installed", "gcc-4.8.5-11.el7.x86_64 providing gcc is already installed", "python2-pip-8.1.2-5.el7.noarch providing python2-pip is already installed", "socat-1.7.2.2-5.el7.x86_64 providing socat is already installed"]}
TASK [bifrost-ironic-install : Install Ubuntu 14.10 (and later) packages] ******
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/install.yml:25
skipping: [127.0.0.1] => (item=[]) => {"changed": false, "item": [], "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-ironic-install : If running in CI, set source install facts just to be sure] ***
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/install.yml:33
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-ironic-install : Ensure /opt/stack is present] *******************
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/install.yml:42
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893439.39-138212320220662 `" && echo ansible-tmp-1490893439.39-138212320220662="` echo $HOME/.ansible/tmp/ansible-tmp-1490893439.39-138212320220662 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpwMDsYy TO /root/.ansible/tmp/ansible-tmp-1490893439.39-138212320220662/file
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893439.39-138212320220662/ /root/.ansible/tmp/ansible-tmp-1490893439.39-138212320220662/file && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 http_proxy='"'"''"'"' LC_MESSAGES=en_US.UTF-8 https_proxy='"'"''"'"' /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893439.39-138212320220662/file; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893439.39-138212320220662/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"changed": false, "diff": {"after": {"path": "/opt/stack"}, "before": {"path": "/opt/stack"}}, "gid": 0, "group": "root", "invocation": {"module_args": {"backup": null, "content": null, "delimiter": null, "diff_peek": null, "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": null, "name": "/opt/stack", "original_basename": null, "owner": "root", "path": "/opt/stack", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "validate": null}, "module_name": "file"}, "mode": "0755", "owner": "root", "path": "/opt/stack", "secontext": "system_u:object_r:usr_t:s0", "size": 4096, "state": "directory", "uid": 0}
TASK [bifrost-ironic-install : set virtualenv_command] *************************
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml:17
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-ironic-install : Install proliantutils package from pip] *********
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml:22
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-ironic-install : Install from {{ sourcedir }} using pip] *********
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml:38
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-ironic-install : set virtualenv_command] *************************
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml:17
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-ironic-install : Install UcsSdk package from pip] ****************
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml:22
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-ironic-install : Install from {{ sourcedir }} using pip] *********
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml:38
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-ironic-install : Install iSCSI client if PXE driver support is enabled] ***
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/install.yml:57
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893440.6-112150159332173 `" && echo ansible-tmp-1490893440.6-112150159332173="` echo $HOME/.ansible/tmp/ansible-tmp-1490893440.6-112150159332173 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpLkp0GT TO /root/.ansible/tmp/ansible-tmp-1490893440.6-112150159332173/yum
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893440.6-112150159332173/ /root/.ansible/tmp/ansible-tmp-1490893440.6-112150159332173/yum && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 http_proxy='"'"''"'"' LC_MESSAGES=en_US.UTF-8 https_proxy='"'"''"'"' /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893440.6-112150159332173/yum; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893440.6-112150159332173/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"changed": false, "invocation": {"module_args": {"conf_file": null, "disable_gpg_check": false, "disablerepo": null, "enablerepo": null, "exclude": null, "install_repoquery": true, "list": null, "name": ["iscsi-initiator-utils"], "state": "present", "update_cache": false, "validate_certs": true}, "module_name": "yum"}, "msg": "", "rc": 0, "results": ["iscsi-initiator-utils-6.2.0.873-35.el7.x86_64 providing iscsi-initiator-utils is already installed"]}
TASK [bifrost-ironic-install : install shade from PyPI] ************************
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/install.yml:64
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-ironic-install : install shade from source] **********************
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/install.yml:67
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893441.45-50936987877570 `" && echo ansible-tmp-1490893441.45-50936987877570="` echo $HOME/.ansible/tmp/ansible-tmp-1490893441.45-50936987877570 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpMIxoky TO /root/.ansible/tmp/ansible-tmp-1490893441.45-50936987877570/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893441.45-50936987877570/ /root/.ansible/tmp/ansible-tmp-1490893441.45-50936987877570/command && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 http_proxy='"'"''"'"' LC_MESSAGES=en_US.UTF-8 https_proxy='"'"''"'"' /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893441.45-50936987877570/command; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893441.45-50936987877570/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "cmd": ["/usr/bin/python", "-m", "pip", "install", "/opt/stack/shade"], "delta": "0:00:02.375052", "end": "2017-03-30 13:04:03.997840", "invocation": {"module_args": {"_raw_params": "/usr/bin/python -m pip install /opt/stack/shade", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 0, "start": "2017-03-30 13:04:01.622788", "stderr": "You are using pip version 8.1.2, however version 9.0.1 is available.\nYou should consider upgrading via the 'pip install --upgrade pip' command.", "stdout": "Processing /opt/stack/shade\n Requirement already satisfied (use --upgrade to upgrade): shade==1.18.2.dev17 from file:///opt/stack/shade in /usr/lib/python2.7/site-packages\nRequirement already satisfied (use --upgrade to upgrade): pbr>=2.0.0 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): munch>=2.1.0 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): decorator>=3.4.0 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): jmespath>=0.9.0 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): jsonpatch>=1.1 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): ipaddress>=1.0.7 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): os-client-config>=1.22.0 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): requestsexceptions>=1.2.0 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): six>=1.9.0 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): futures>=3.0 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): keystoneauth1>=2.18.0 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): netifaces>=0.10.4 in /usr/lib64/python2.7/site-packages (from shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): python-novaclient>=7.1.0 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): python-keystoneclient>=3.8.0 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): python-cinderclient>=2.0.1 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): python-neutronclient>=5.1.0 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): python-ironicclient>=1.11.0 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): python-designateclient>=1.5.0 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): dogpile.cache>=0.6.2 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): jsonpointer>=1.9 in /usr/lib/python2.7/site-packages (from jsonpatch>=1.1->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): appdirs>=1.3.0 in /usr/lib/python2.7/site-packages (from os-client-config>=1.22.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): PyYAML>=3.1.0 in /usr/lib64/python2.7/site-packages (from os-client-config>=1.22.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): requests!=2.12.2,!=2.13.0,>=2.10.0 in /usr/lib/python2.7/site-packages (from keystoneauth1>=2.18.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): positional>=1.1.1 in /usr/lib/python2.7/site-packages (from keystoneauth1>=2.18.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): stevedore>=1.20.0 in /usr/lib/python2.7/site-packages (from keystoneauth1>=2.18.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): iso8601>=0.1.11 in /usr/lib/python2.7/site-packages (from keystoneauth1>=2.18.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): Babel>=2.3.4 in /usr/lib/python2.7/site-packages (from python-novaclient>=7.1.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): oslo.i18n>=2.1.0 in /usr/lib/python2.7/site-packages (from python-novaclient>=7.1.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): simplejson>=2.2.0 in /usr/lib64/python2.7/site-packages (from python-novaclient>=7.1.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): oslo.utils>=3.18.0 in /usr/lib/python2.7/site-packages (from python-novaclient>=7.1.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): oslo.serialization>=1.10.0 in /usr/lib/python2.7/site-packages (from python-novaclient>=7.1.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): PrettyTable<0.8,>=0.7.1 in /usr/lib/python2.7/site-packages (from python-novaclient>=7.1.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): oslo.config!=3.18.0,>=3.14.0 in /usr/lib/python2.7/site-packages (from python-keystoneclient>=3.8.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): debtcollector>=1.2.0 in /usr/lib/python2.7/site-packages (from python-keystoneclient>=3.8.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): cliff>=2.3.0 in /usr/lib/python2.7/site-packages (from python-neutronclient>=5.1.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): netaddr!=0.7.16,>=0.7.13 in /usr/lib/python2.7/site-packages (from python-neutronclient>=5.1.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): osc-lib>=1.2.0 in /usr/lib/python2.7/site-packages (from python-neutronclient>=5.1.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): python-openstackclient>=3.3.0 in /usr/lib/python2.7/site-packages (from python-ironicclient>=1.11.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): jsonschema!=2.5.0,<3.0.0,>=2.0.0 in /usr/lib/python2.7/site-packages (from python-ironicclient>=1.11.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): wrapt in /usr/lib64/python2.7/site-packages (from positional>=1.1.1->keystoneauth1>=2.18.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): pytz>=0a in /usr/lib/python2.7/site-packages (from Babel>=2.3.4->python-novaclient>=7.1.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): funcsigs>=0.4; python_version == \"2.7\" or python_version == \"2.6\" in /usr/lib/python2.7/site-packages (from oslo.utils>=3.18.0->python-novaclient>=7.1.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): monotonic>=0.6 in /usr/lib/python2.7/site-packages (from oslo.utils>=3.18.0->python-novaclient>=7.1.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): pyparsing>=2.1.0 in /usr/lib/python2.7/site-packages (from oslo.utils>=3.18.0->python-novaclient>=7.1.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): msgpack-python>=0.4.0 in /usr/lib64/python2.7/site-packages (from oslo.serialization>=1.10.0->python-novaclient>=7.1.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): rfc3986>=0.3.1 in /usr/lib/python2.7/site-packages (from oslo.config!=3.18.0,>=3.14.0->python-keystoneclient>=3.8.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): unicodecsv>=0.8.0; python_version < \"3.0\" in /usr/lib/python2.7/site-packages (from cliff>=2.3.0->python-neutronclient>=5.1.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): cmd2>=0.6.7 in /usr/lib/python2.7/site-packages (from cliff>=2.3.0->python-neutronclient>=5.1.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): python-glanceclient>=2.5.0 in /usr/lib/python2.7/site-packages (from python-openstackclient>=3.3.0->python-ironicclient>=1.11.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): openstacksdk>=0.9.13 in /usr/lib/python2.7/site-packages (from python-openstackclient>=3.3.0->python-ironicclient>=1.11.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): functools32; python_version == \"2.7\" in /usr/lib/python2.7/site-packages (from jsonschema!=2.5.0,<3.0.0,>=2.0.0->python-ironicclient>=1.11.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): warlock!=1.3.0,<2,>=1.0.1 in /usr/lib/python2.7/site-packages (from python-glanceclient>=2.5.0->python-openstackclient>=3.3.0->python-ironicclient>=1.11.0->shade==1.18.2.dev17)\nRequirement already satisfied (use --upgrade to upgrade): deprecation>=1.0 in /usr/lib/python2.7/site-packages (from openstacksdk>=0.9.13->python-openstackclient>=3.3.0->python-ironicclient>=1.11.0->shade==1.18.2.dev17)", "stdout_lines": ["Processing /opt/stack/shade", " Requirement already satisfied (use --upgrade to upgrade): shade==1.18.2.dev17 from file:///opt/stack/shade in /usr/lib/python2.7/site-packages", "Requirement already satisfied (use --upgrade to upgrade): pbr>=2.0.0 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): munch>=2.1.0 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): decorator>=3.4.0 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): jmespath>=0.9.0 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): jsonpatch>=1.1 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): ipaddress>=1.0.7 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): os-client-config>=1.22.0 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): requestsexceptions>=1.2.0 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): six>=1.9.0 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): futures>=3.0 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): keystoneauth1>=2.18.0 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): netifaces>=0.10.4 in /usr/lib64/python2.7/site-packages (from shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): python-novaclient>=7.1.0 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): python-keystoneclient>=3.8.0 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): python-cinderclient>=2.0.1 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): python-neutronclient>=5.1.0 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): python-ironicclient>=1.11.0 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): python-designateclient>=1.5.0 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): dogpile.cache>=0.6.2 in /usr/lib/python2.7/site-packages (from shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): jsonpointer>=1.9 in /usr/lib/python2.7/site-packages (from jsonpatch>=1.1->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): appdirs>=1.3.0 in /usr/lib/python2.7/site-packages (from os-client-config>=1.22.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): PyYAML>=3.1.0 in /usr/lib64/python2.7/site-packages (from os-client-config>=1.22.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): requests!=2.12.2,!=2.13.0,>=2.10.0 in /usr/lib/python2.7/site-packages (from keystoneauth1>=2.18.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): positional>=1.1.1 in /usr/lib/python2.7/site-packages (from keystoneauth1>=2.18.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): stevedore>=1.20.0 in /usr/lib/python2.7/site-packages (from keystoneauth1>=2.18.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): iso8601>=0.1.11 in /usr/lib/python2.7/site-packages (from keystoneauth1>=2.18.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): Babel>=2.3.4 in /usr/lib/python2.7/site-packages (from python-novaclient>=7.1.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): oslo.i18n>=2.1.0 in /usr/lib/python2.7/site-packages (from python-novaclient>=7.1.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): simplejson>=2.2.0 in /usr/lib64/python2.7/site-packages (from python-novaclient>=7.1.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): oslo.utils>=3.18.0 in /usr/lib/python2.7/site-packages (from python-novaclient>=7.1.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): oslo.serialization>=1.10.0 in /usr/lib/python2.7/site-packages (from python-novaclient>=7.1.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): PrettyTable<0.8,>=0.7.1 in /usr/lib/python2.7/site-packages (from python-novaclient>=7.1.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): oslo.config!=3.18.0,>=3.14.0 in /usr/lib/python2.7/site-packages (from python-keystoneclient>=3.8.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): debtcollector>=1.2.0 in /usr/lib/python2.7/site-packages (from python-keystoneclient>=3.8.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): cliff>=2.3.0 in /usr/lib/python2.7/site-packages (from python-neutronclient>=5.1.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): netaddr!=0.7.16,>=0.7.13 in /usr/lib/python2.7/site-packages (from python-neutronclient>=5.1.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): osc-lib>=1.2.0 in /usr/lib/python2.7/site-packages (from python-neutronclient>=5.1.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): python-openstackclient>=3.3.0 in /usr/lib/python2.7/site-packages (from python-ironicclient>=1.11.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): jsonschema!=2.5.0,<3.0.0,>=2.0.0 in /usr/lib/python2.7/site-packages (from python-ironicclient>=1.11.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): wrapt in /usr/lib64/python2.7/site-packages (from positional>=1.1.1->keystoneauth1>=2.18.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): pytz>=0a in /usr/lib/python2.7/site-packages (from Babel>=2.3.4->python-novaclient>=7.1.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): funcsigs>=0.4; python_version == \"2.7\" or python_version == \"2.6\" in /usr/lib/python2.7/site-packages (from oslo.utils>=3.18.0->python-novaclient>=7.1.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): monotonic>=0.6 in /usr/lib/python2.7/site-packages (from oslo.utils>=3.18.0->python-novaclient>=7.1.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): pyparsing>=2.1.0 in /usr/lib/python2.7/site-packages (from oslo.utils>=3.18.0->python-novaclient>=7.1.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): msgpack-python>=0.4.0 in /usr/lib64/python2.7/site-packages (from oslo.serialization>=1.10.0->python-novaclient>=7.1.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): rfc3986>=0.3.1 in /usr/lib/python2.7/site-packages (from oslo.config!=3.18.0,>=3.14.0->python-keystoneclient>=3.8.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): unicodecsv>=0.8.0; python_version < \"3.0\" in /usr/lib/python2.7/site-packages (from cliff>=2.3.0->python-neutronclient>=5.1.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): cmd2>=0.6.7 in /usr/lib/python2.7/site-packages (from cliff>=2.3.0->python-neutronclient>=5.1.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): python-glanceclient>=2.5.0 in /usr/lib/python2.7/site-packages (from python-openstackclient>=3.3.0->python-ironicclient>=1.11.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): openstacksdk>=0.9.13 in /usr/lib/python2.7/site-packages (from python-openstackclient>=3.3.0->python-ironicclient>=1.11.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): functools32; python_version == \"2.7\" in /usr/lib/python2.7/site-packages (from jsonschema!=2.5.0,<3.0.0,>=2.0.0->python-ironicclient>=1.11.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): warlock!=1.3.0,<2,>=1.0.1 in /usr/lib/python2.7/site-packages (from python-glanceclient>=2.5.0->python-openstackclient>=3.3.0->python-ironicclient>=1.11.0->shade==1.18.2.dev17)", "Requirement already satisfied (use --upgrade to upgrade): deprecation>=1.0 in /usr/lib/python2.7/site-packages (from openstacksdk>=0.9.13->python-openstackclient>=3.3.0->python-ironicclient>=1.11.0->shade==1.18.2.dev17)"], "warnings": []}
TASK [bifrost-ironic-install : set virtualenv_command] *************************
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml:17
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-ironic-install : Install dib-utils package from pip] *************
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml:22
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893444.4-263895829267523 `" && echo ansible-tmp-1490893444.4-263895829267523="` echo $HOME/.ansible/tmp/ansible-tmp-1490893444.4-263895829267523 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpHxdOfH TO /root/.ansible/tmp/ansible-tmp-1490893444.4-263895829267523/pip
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893444.4-263895829267523/ /root/.ansible/tmp/ansible-tmp-1490893444.4-263895829267523/pip && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 http_proxy='"'"''"'"' LC_MESSAGES=en_US.UTF-8 https_proxy='"'"''"'"' /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893444.4-263895829267523/pip; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893444.4-263895829267523/" > /dev/null 2>&1 && sleep 0'
FAILED - RETRYING: TASK: bifrost-ironic-install : Install dib-utils package from pip (5 retries left).Result was: {"attempts": 1, "failed": true, "invocation": {"module_args": {"chdir": null, "editable": true, "executable": null, "extra_args": null, "name": "dib-utils", "requirements": null, "state": "present", "umask": null, "use_mirrors": true, "version": null, "virtualenv": "/opt/stack/bifrost", "virtualenv_command": "virtualenv", "virtualenv_python": null, "virtualenv_site_packages": false}, "module_name": "pip"}, "msg": "Failed to find required executable virtualenv", "retries": 6}
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893454.61-119749683946116 `" && echo ansible-tmp-1490893454.61-119749683946116="` echo $HOME/.ansible/tmp/ansible-tmp-1490893454.61-119749683946116 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpt74DGO TO /root/.ansible/tmp/ansible-tmp-1490893454.61-119749683946116/pip
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893454.61-119749683946116/ /root/.ansible/tmp/ansible-tmp-1490893454.61-119749683946116/pip && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 http_proxy='"'"''"'"' LC_MESSAGES=en_US.UTF-8 https_proxy='"'"''"'"' /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893454.61-119749683946116/pip; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893454.61-119749683946116/" > /dev/null 2>&1 && sleep 0'
FAILED - RETRYING: TASK: bifrost-ironic-install : Install dib-utils package from pip (4 retries left).Result was: {"attempts": 2, "failed": true, "invocation": {"module_args": {"chdir": null, "editable": true, "executable": null, "extra_args": null, "name": "dib-utils", "requirements": null, "state": "present", "umask": null, "use_mirrors": true, "version": null, "virtualenv": "/opt/stack/bifrost", "virtualenv_command": "virtualenv", "virtualenv_python": null, "virtualenv_site_packages": false}, "module_name": "pip"}, "msg": "Failed to find required executable virtualenv", "retries": 6}
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893464.78-269783316589349 `" && echo ansible-tmp-1490893464.78-269783316589349="` echo $HOME/.ansible/tmp/ansible-tmp-1490893464.78-269783316589349 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp9FvDfZ TO /root/.ansible/tmp/ansible-tmp-1490893464.78-269783316589349/pip
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893464.78-269783316589349/ /root/.ansible/tmp/ansible-tmp-1490893464.78-269783316589349/pip && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 http_proxy='"'"''"'"' LC_MESSAGES=en_US.UTF-8 https_proxy='"'"''"'"' /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893464.78-269783316589349/pip; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893464.78-269783316589349/" > /dev/null 2>&1 && sleep 0'
FAILED - RETRYING: TASK: bifrost-ironic-install : Install dib-utils package from pip (3 retries left).Result was: {"attempts": 3, "failed": true, "invocation": {"module_args": {"chdir": null, "editable": true, "executable": null, "extra_args": null, "name": "dib-utils", "requirements": null, "state": "present", "umask": null, "use_mirrors": true, "version": null, "virtualenv": "/opt/stack/bifrost", "virtualenv_command": "virtualenv", "virtualenv_python": null, "virtualenv_site_packages": false}, "module_name": "pip"}, "msg": "Failed to find required executable virtualenv", "retries": 6}
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893475.0-35685683588927 `" && echo ansible-tmp-1490893475.0-35685683588927="` echo $HOME/.ansible/tmp/ansible-tmp-1490893475.0-35685683588927 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp67kizU TO /root/.ansible/tmp/ansible-tmp-1490893475.0-35685683588927/pip
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893475.0-35685683588927/ /root/.ansible/tmp/ansible-tmp-1490893475.0-35685683588927/pip && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 http_proxy='"'"''"'"' LC_MESSAGES=en_US.UTF-8 https_proxy='"'"''"'"' /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893475.0-35685683588927/pip; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893475.0-35685683588927/" > /dev/null 2>&1 && sleep 0'
FAILED - RETRYING: TASK: bifrost-ironic-install : Install dib-utils package from pip (2 retries left).Result was: {"attempts": 4, "failed": true, "invocation": {"module_args": {"chdir": null, "editable": true, "executable": null, "extra_args": null, "name": "dib-utils", "requirements": null, "state": "present", "umask": null, "use_mirrors": true, "version": null, "virtualenv": "/opt/stack/bifrost", "virtualenv_command": "virtualenv", "virtualenv_python": null, "virtualenv_site_packages": false}, "module_name": "pip"}, "msg": "Failed to find required executable virtualenv", "retries": 6}
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893485.22-93450813588235 `" && echo ansible-tmp-1490893485.22-93450813588235="` echo $HOME/.ansible/tmp/ansible-tmp-1490893485.22-93450813588235 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpN0YUma TO /root/.ansible/tmp/ansible-tmp-1490893485.22-93450813588235/pip
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893485.22-93450813588235/ /root/.ansible/tmp/ansible-tmp-1490893485.22-93450813588235/pip && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 http_proxy='"'"''"'"' LC_MESSAGES=en_US.UTF-8 https_proxy='"'"''"'"' /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893485.22-93450813588235/pip; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893485.22-93450813588235/" > /dev/null 2>&1 && sleep 0'
FAILED - RETRYING: TASK: bifrost-ironic-install : Install dib-utils package from pip (1 retries left).Result was: {"attempts": 5, "failed": true, "invocation": {"module_args": {"chdir": null, "editable": true, "executable": null, "extra_args": null, "name": "dib-utils", "requirements": null, "state": "present", "umask": null, "use_mirrors": true, "version": null, "virtualenv": "/opt/stack/bifrost", "virtualenv_command": "virtualenv", "virtualenv_python": null, "virtualenv_site_packages": false}, "module_name": "pip"}, "msg": "Failed to find required executable virtualenv", "retries": 6}
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893495.43-12358648514526 `" && echo ansible-tmp-1490893495.43-12358648514526="` echo $HOME/.ansible/tmp/ansible-tmp-1490893495.43-12358648514526 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpG26IJi TO /root/.ansible/tmp/ansible-tmp-1490893495.43-12358648514526/pip
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490893495.43-12358648514526/ /root/.ansible/tmp/ansible-tmp-1490893495.43-12358648514526/pip && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 http_proxy='"'"''"'"' LC_MESSAGES=en_US.UTF-8 https_proxy='"'"''"'"' /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490893495.43-12358648514526/pip; rm -rf "/root/.ansible/tmp/ansible-tmp-1490893495.43-12358648514526/" > /dev/null 2>&1 && sleep 0'
fatal: [127.0.0.1]: FAILED! => {"changed": false, "failed": true, "invocation": {"module_args": {"chdir": null, "editable": true, "executable": null, "extra_args": null, "name": "dib-utils", "requirements": null, "state": "present", "umask": null, "use_mirrors": true, "version": null, "virtualenv": "/opt/stack/bifrost", "virtualenv_command": "virtualenv", "virtualenv_python": null, "virtualenv_site_packages": false}, "module_name": "pip"}, "msg": "Failed to find required executable virtualenv"}
NO MORE HOSTS LEFT *************************************************************
to retry, use: --limit @/opt/bifrost/playbooks/opnfv-virtual.retry
PLAY RECAP *********************************************************************
127.0.0.1 : ok=14 changed=2 unreachable=0 failed=1
+ logs_on_exit
+ /opt/bifrost/scripts/collect-test-info.sh
+ set -o pipefail
+++ dirname /opt/bifrost/scripts/collect-test-info.sh
++ cd /opt/bifrost/scripts
++ pwd
+ SCRIPT_HOME=/opt/bifrost/scripts
+ LOG_LOCATION=/home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-centos7-virtual-master/logs
+ echo 'Making logs directory and collecting logs.'
Making logs directory and collecting logs.
+ '[' -d /home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-centos7-virtual-master/logs ']'
+ mkdir -p /home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-centos7-virtual-master/logs
+ '[' -z x ']'
+ for TEST_VM_NODE_NAME in '${TEST_VM_NODE_NAMES}'
+ sudo cp /var/log/libvirt/baremetal_logs/xcimaster_console.log /home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-centos7-virtual-master/logs
cp: cannot stat ‘/var/log/libvirt/baremetal_logs/xcimaster_console.log’: No such file or directory
+ sudo chown root /home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-centos7-virtual-master/logs/xcimaster_console.log
chown: cannot access ‘/home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-centos7-virtual-master/logs/xcimaster_console.log’: No such file or directory
+ sudo chmod o+r /home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-centos7-virtual-master/logs/xcimaster_console.log
chmod: cannot access ‘/home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-centos7-virtual-master/logs/xcimaster_console.log’: No such file or directory
+ for TEST_VM_NODE_NAME in '${TEST_VM_NODE_NAMES}'
+ sudo cp /var/log/libvirt/baremetal_logs/controller00_console.log /home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-centos7-virtual-master/logs
cp: cannot stat ‘/var/log/libvirt/baremetal_logs/controller00_console.log’: No such file or directory
+ sudo chown root /home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-centos7-virtual-master/logs/controller00_console.log
chown: cannot access ‘/home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-centos7-virtual-master/logs/controller00_console.log’: No such file or directory
+ sudo chmod o+r /home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-centos7-virtual-master/logs/controller00_console.log
chmod: cannot access ‘/home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-centos7-virtual-master/logs/controller00_console.log’: No such file or directory
+ for TEST_VM_NODE_NAME in '${TEST_VM_NODE_NAMES}'
+ sudo cp /var/log/libvirt/baremetal_logs/compute00_console.log /home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-centos7-virtual-master/logs
cp: cannot stat ‘/var/log/libvirt/baremetal_logs/compute00_console.log’: No such file or directory
+ sudo chown root /home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-centos7-virtual-master/logs/compute00_console.log
chown: cannot access ‘/home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-centos7-virtual-master/logs/compute00_console.log’: No such file or directory
+ sudo chmod o+r /home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-centos7-virtual-master/logs/compute00_console.log
chmod: cannot access ‘/home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-centos7-virtual-master/logs/compute00_console.log’: No such file or directory
+ dmesg
+ sudo netstat -apn
++ iptables --version
+ sudo iptables -L -n -v
++ ip link
+ ip -s link
++ journalctl --version
+ sudo journalctl -u ironic-api
+ sudo journalctl -u ironic-conductor
+ sudo chown root /home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-centos7-virtual-master/logs/ironic-api.log
+ sudo chown root /home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-centos7-virtual-master/logs/ironic-conductor.log
+ sudo chmod o+r /home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-centos7-virtual-master/logs/ironic-api.log
+ sudo chmod o+r /home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-centos7-virtual-master/logs/ironic-conductor.log
+ exit 0
Uploading collected bifrost build logs to http://artifacts.opnfv.org/cross-community-ci/openstack/bifrost/review.openstack.org/451351/1/openstack-bifrost-verify-centos7-virtual-master
Compressing and uploading dmesg.log
Compressing and uploading interface_counters.log
Compressing and uploading iptables.log
Compressing and uploading ironic-api.log
Compressing and uploading ironic-conductor.log
Compressing and uploading netstat.log
Generating the http://artifacts.opnfv.org/cross-community-ci/openstack/bifrost/review.openstack.org/451351/1/openstack-bifrost-verify-centos7-virtual-master/index.html landing page
Uploading the final console output