Triggered by Gerrit: https://review.openstack.org/451741
[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/hudson619801332348284344.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/41/451741/1 # timeout=10
> git rev-parse d592501fac8b129de15b4bd13001d597efed1e40^{commit} # timeout=10
Checking out Revision d592501fac8b129de15b4bd13001d597efed1e40 (refs/changes/41/451741/1)
> git config core.sparsecheckout # timeout=10
> git checkout -f d592501fac8b129de15b4bd13001d597efed1e40 # 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/hudson1093741524094389925.sh
Cloning into '/opt/bifrost'...
Cloning into '/opt/releng'...
From https://git.openstack.org/openstack/bifrost
* branch refs/changes/41/451741/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 d592501... Package requirements role.
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): 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): 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.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 06:29:52-- 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% 29.3M=0s
2017-03-30 06:29:53 (29.3 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-requirements : Ensure openSUSE Tumbleweed has the correct family TAGS: []
bifrost-requirements : Ensure openSUSE Leap has the correct family TAGS: []
bifrost-requirements : Include OS family-specific defaults TAGS: []
bifrost-requirements : Include OS distribution-specific defaults TAGS: []
bifrost-requirements : 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 : If VENV is set in the environment, enable installation into venv 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 : If VENV is set in the environment, enable installation into venv 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-1490869801.66-119852075104828 `" && echo ansible-tmp-1490869801.66-119852075104828="` echo $HOME/.ansible/tmp/ansible-tmp-1490869801.66-119852075104828 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpwB9o0r TO /root/.ansible/tmp/ansible-tmp-1490869801.66-119852075104828/setup
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869801.66-119852075104828/ /root/.ansible/tmp/ansible-tmp-1490869801.66-119852075104828/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-1490869801.66-119852075104828/setup; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869801.66-119852075104828/" > /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-1490869803.58-113479975043100 `" && echo ansible-tmp-1490869803.58-113479975043100="` echo $HOME/.ansible/tmp/ansible-tmp-1490869803.58-113479975043100 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpp9I8P_ TO /root/.ansible/tmp/ansible-tmp-1490869803.58-113479975043100/stat
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869803.58-113479975043100/ /root/.ansible/tmp/ansible-tmp-1490869803.58-113479975043100/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-1490869803.58-113479975043100/stat; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869803.58-113479975043100/" > /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-1490869804.14-49886587308263 `" && echo ansible-tmp-1490869804.14-49886587308263="` echo $HOME/.ansible/tmp/ansible-tmp-1490869804.14-49886587308263 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpPWJ8jl TO /root/.ansible/tmp/ansible-tmp-1490869804.14-49886587308263/yum
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869804.14-49886587308263/ /root/.ansible/tmp/ansible-tmp-1490869804.14-49886587308263/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-1490869804.14-49886587308263/yum; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869804.14-49886587308263/" > /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-1490869805.08-237424662780872 `" && echo ansible-tmp-1490869805.08-237424662780872="` echo $HOME/.ansible/tmp/ansible-tmp-1490869805.08-237424662780872 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpuB1HuI TO /root/.ansible/tmp/ansible-tmp-1490869805.08-237424662780872/service
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869805.08-237424662780872/ /root/.ansible/tmp/ansible-tmp-1490869805.08-237424662780872/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-1490869805.08-237424662780872/service; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869805.08-237424662780872/" > /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-1490869805.64-264394783186843 `" && echo ansible-tmp-1490869805.64-264394783186843="` echo $HOME/.ansible/tmp/ansible-tmp-1490869805.64-264394783186843 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpYQJcgE TO /root/.ansible/tmp/ansible-tmp-1490869805.64-264394783186843/sysctl
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869805.64-264394783186843/ /root/.ansible/tmp/ansible-tmp-1490869805.64-264394783186843/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-1490869805.64-264394783186843/sysctl; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869805.64-264394783186843/" > /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-1490869806.0-98212904870201 `" && echo ansible-tmp-1490869806.0-98212904870201="` echo $HOME/.ansible/tmp/ansible-tmp-1490869806.0-98212904870201 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmphpWeUK TO /root/.ansible/tmp/ansible-tmp-1490869806.0-98212904870201/stat
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869806.0-98212904870201/ /root/.ansible/tmp/ansible-tmp-1490869806.0-98212904870201/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-1490869806.0-98212904870201/stat; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869806.0-98212904870201/" > /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": 1490797239.2783782, "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-1490869806.28-140144368260155 `" && echo ansible-tmp-1490869806.28-140144368260155="` echo $HOME/.ansible/tmp/ansible-tmp-1490869806.28-140144368260155 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpBiXFGe TO /root/.ansible/tmp/ansible-tmp-1490869806.28-140144368260155/stat
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869806.28-140144368260155/ /root/.ansible/tmp/ansible-tmp-1490869806.28-140144368260155/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-1490869806.28-140144368260155/stat; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869806.28-140144368260155/" > /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-1490869806.75-268083025628022 `" && echo ansible-tmp-1490869806.75-268083025628022="` echo $HOME/.ansible/tmp/ansible-tmp-1490869806.75-268083025628022 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp4zbU7d TO /root/.ansible/tmp/ansible-tmp-1490869806.75-268083025628022/virt_net
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869806.75-268083025628022/ /root/.ansible/tmp/ansible-tmp-1490869806.75-268083025628022/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-1490869806.75-268083025628022/virt_net; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869806.75-268083025628022/" > /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-1490869807.09-23872277080760 `" && echo ansible-tmp-1490869807.09-23872277080760="` echo $HOME/.ansible/tmp/ansible-tmp-1490869807.09-23872277080760 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpTD2ncS TO /root/.ansible/tmp/ansible-tmp-1490869807.09-23872277080760/virt_net
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869807.09-23872277080760/ /root/.ansible/tmp/ansible-tmp-1490869807.09-23872277080760/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-1490869807.09-23872277080760/virt_net; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869807.09-23872277080760/" > /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-1490869807.54-24728006347996 `" && echo ansible-tmp-1490869807.54-24728006347996="` echo $HOME/.ansible/tmp/ansible-tmp-1490869807.54-24728006347996 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpGWEQlc TO /root/.ansible/tmp/ansible-tmp-1490869807.54-24728006347996/virt_net
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869807.54-24728006347996/ /root/.ansible/tmp/ansible-tmp-1490869807.54-24728006347996/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-1490869807.54-24728006347996/virt_net; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869807.54-24728006347996/" > /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-1490869807.88-151419801556369 `" && echo ansible-tmp-1490869807.88-151419801556369="` echo $HOME/.ansible/tmp/ansible-tmp-1490869807.88-151419801556369 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpSgZ7q_ TO /root/.ansible/tmp/ansible-tmp-1490869807.88-151419801556369/virt_net
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869807.88-151419801556369/ /root/.ansible/tmp/ansible-tmp-1490869807.88-151419801556369/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-1490869807.88-151419801556369/virt_net; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869807.88-151419801556369/" > /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-1490869808.23-117903565229648 `" && echo ansible-tmp-1490869808.23-117903565229648="` echo $HOME/.ansible/tmp/ansible-tmp-1490869808.23-117903565229648 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpk1tScl TO /root/.ansible/tmp/ansible-tmp-1490869808.23-117903565229648/virt_net
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869808.23-117903565229648/ /root/.ansible/tmp/ansible-tmp-1490869808.23-117903565229648/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-1490869808.23-117903565229648/virt_net; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869808.23-117903565229648/" > /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-1490869808.76-147949305245524 `" && echo ansible-tmp-1490869808.76-147949305245524="` echo $HOME/.ansible/tmp/ansible-tmp-1490869808.76-147949305245524 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpx6UAHS TO /root/.ansible/tmp/ansible-tmp-1490869808.76-147949305245524/virt_pool
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869808.76-147949305245524/ /root/.ansible/tmp/ansible-tmp-1490869808.76-147949305245524/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-1490869808.76-147949305245524/virt_pool; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869808.76-147949305245524/" > /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-1490869809.12-170293236810734 `" && echo ansible-tmp-1490869809.12-170293236810734="` echo $HOME/.ansible/tmp/ansible-tmp-1490869809.12-170293236810734 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp3IoWrO TO /root/.ansible/tmp/ansible-tmp-1490869809.12-170293236810734/virt_pool
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869809.12-170293236810734/ /root/.ansible/tmp/ansible-tmp-1490869809.12-170293236810734/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-1490869809.12-170293236810734/virt_pool; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869809.12-170293236810734/" > /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-1490869809.53-70541754818917 `" && echo ansible-tmp-1490869809.53-70541754818917="` echo $HOME/.ansible/tmp/ansible-tmp-1490869809.53-70541754818917 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpSRgA61 TO /root/.ansible/tmp/ansible-tmp-1490869809.53-70541754818917/file
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869809.53-70541754818917/ /root/.ansible/tmp/ansible-tmp-1490869809.53-70541754818917/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-1490869809.53-70541754818917/file; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869809.53-70541754818917/" > /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-1490869809.9-14106395574642 `" && echo ansible-tmp-1490869809.9-14106395574642="` echo $HOME/.ansible/tmp/ansible-tmp-1490869809.9-14106395574642 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpielVFd TO /root/.ansible/tmp/ansible-tmp-1490869809.9-14106395574642/pip
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869809.9-14106395574642/ /root/.ansible/tmp/ansible-tmp-1490869809.9-14106395574642/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-1490869809.9-14106395574642/pip; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869809.9-14106395574642/" > /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-1490869812.21-258451166445554 `" && echo ansible-tmp-1490869812.21-258451166445554="` echo $HOME/.ansible/tmp/ansible-tmp-1490869812.21-258451166445554 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpAlKPLo TO /root/.ansible/tmp/ansible-tmp-1490869812.21-258451166445554/virt_pool
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869812.21-258451166445554/ /root/.ansible/tmp/ansible-tmp-1490869812.21-258451166445554/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-1490869812.21-258451166445554/virt_pool; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869812.21-258451166445554/" > /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": "533240033280", "size_total": "544168124416", "size_used": "10928091136", "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-1490869812.64-130797747375895 `" && echo ansible-tmp-1490869812.64-130797747375895="` echo $HOME/.ansible/tmp/ansible-tmp-1490869812.64-130797747375895 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpftqVsp TO /root/.ansible/tmp/ansible-tmp-1490869812.64-130797747375895/virt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869812.64-130797747375895/ /root/.ansible/tmp/ansible-tmp-1490869812.64-130797747375895/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-1490869812.64-130797747375895/virt; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869812.64-130797747375895/" > /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-1490869813.02-106615437050978 `" && echo ansible-tmp-1490869813.02-106615437050978="` echo $HOME/.ansible/tmp/ansible-tmp-1490869813.02-106615437050978 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp5xboYy TO /root/.ansible/tmp/ansible-tmp-1490869813.02-106615437050978/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869813.02-106615437050978/ /root/.ansible/tmp/ansible-tmp-1490869813.02-106615437050978/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-1490869813.02-106615437050978/command; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869813.02-106615437050978/" > /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.255650", "end": "2017-03-30 06:30:13.451635", "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 06:30:13.195985", "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-1490869813.66-131178557511082 `" && echo ansible-tmp-1490869813.66-131178557511082="` echo $HOME/.ansible/tmp/ansible-tmp-1490869813.66-131178557511082 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp4hgxLn TO /root/.ansible/tmp/ansible-tmp-1490869813.66-131178557511082/file
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869813.66-131178557511082/ /root/.ansible/tmp/ansible-tmp-1490869813.66-131178557511082/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-1490869813.66-131178557511082/file; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869813.66-131178557511082/" > /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-1490869814.02-53220877031956 `" && echo ansible-tmp-1490869814.02-53220877031956="` echo $HOME/.ansible/tmp/ansible-tmp-1490869814.02-53220877031956 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpgCgKQU TO /root/.ansible/tmp/ansible-tmp-1490869814.02-53220877031956/virt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869814.02-53220877031956/ /root/.ansible/tmp/ansible-tmp-1490869814.02-53220877031956/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-1490869814.02-53220877031956/virt; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869814.02-53220877031956/" > /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-1490869814.37-269174503020585 `" && echo ansible-tmp-1490869814.37-269174503020585="` echo $HOME/.ansible/tmp/ansible-tmp-1490869814.37-269174503020585 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpwqy881 TO /root/.ansible/tmp/ansible-tmp-1490869814.37-269174503020585/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869814.37-269174503020585/ /root/.ansible/tmp/ansible-tmp-1490869814.37-269174503020585/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-1490869814.37-269174503020585/command; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869814.37-269174503020585/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "cmd": ["vbmc", "list"], "delta": "0:00:00.519777", "end": "2017-03-30 06:30:15.059777", "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 06:30:14.540000", "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-1490869815.33-277037229659819 `" && echo ansible-tmp-1490869815.33-277037229659819="` echo $HOME/.ansible/tmp/ansible-tmp-1490869815.33-277037229659819 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpGrsQxL TO /root/.ansible/tmp/ansible-tmp-1490869815.33-277037229659819/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869815.33-277037229659819/ /root/.ansible/tmp/ansible-tmp-1490869815.33-277037229659819/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-1490869815.33-277037229659819/command; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869815.33-277037229659819/" > /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.548630", "end": "2017-03-30 06:30:16.057854", "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 06:30:15.509224", "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-1490869816.17-118622887596359 `" && echo ansible-tmp-1490869816.17-118622887596359="` echo $HOME/.ansible/tmp/ansible-tmp-1490869816.17-118622887596359 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp7gBjMN TO /root/.ansible/tmp/ansible-tmp-1490869816.17-118622887596359/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869816.17-118622887596359/ /root/.ansible/tmp/ansible-tmp-1490869816.17-118622887596359/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-1490869816.17-118622887596359/command; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869816.17-118622887596359/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "cmd": ["vbmc", "start", "xcimaster"], "delta": "0:00:01.517503", "end": "2017-03-30 06:30:17.866781", "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 06:30:16.349278", "stderr": "2017-03-30 06:30:16,864.864 25335 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-1490869817.98-163176835576951 `" && echo ansible-tmp-1490869817.98-163176835576951="` echo $HOME/.ansible/tmp/ansible-tmp-1490869817.98-163176835576951 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpkMFChc TO /root/.ansible/tmp/ansible-tmp-1490869817.98-163176835576951/virt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869817.98-163176835576951/ /root/.ansible/tmp/ansible-tmp-1490869817.98-163176835576951/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-1490869817.98-163176835576951/virt; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869817.98-163176835576951/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"changed": false, "get_xml": "\n xcimaster\n 90123608-8794-4728-a9bd-1df3ea22f165\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:5c:50:b4"}, "changed": false, "invocation": {"module_args": {"vm_mac": "52:54:00:5c:50:b4"}, "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:5c:50:b4"}], "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:5c:50:b4"}], "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:5c:50:b4"}], "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:5c:50:b4"}], "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-1490869818.75-170680043189546 `" && echo ansible-tmp-1490869818.75-170680043189546="` echo $HOME/.ansible/tmp/ansible-tmp-1490869818.75-170680043189546 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpE_z01I TO /root/.ansible/tmp/ansible-tmp-1490869818.75-170680043189546/virt_pool
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869818.75-170680043189546/ /root/.ansible/tmp/ansible-tmp-1490869818.75-170680043189546/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-1490869818.75-170680043189546/virt_pool; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869818.75-170680043189546/" > /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": "533239832576", "size_total": "544168124416", "size_used": "10928291840", "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-1490869819.12-273665602595000 `" && echo ansible-tmp-1490869819.12-273665602595000="` echo $HOME/.ansible/tmp/ansible-tmp-1490869819.12-273665602595000 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpZN21D8 TO /root/.ansible/tmp/ansible-tmp-1490869819.12-273665602595000/virt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869819.12-273665602595000/ /root/.ansible/tmp/ansible-tmp-1490869819.12-273665602595000/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-1490869819.12-273665602595000/virt; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869819.12-273665602595000/" > /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-1490869819.91-215213973783695 `" && echo ansible-tmp-1490869819.91-215213973783695="` echo $HOME/.ansible/tmp/ansible-tmp-1490869819.91-215213973783695 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpJf9QYg TO /root/.ansible/tmp/ansible-tmp-1490869819.91-215213973783695/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869819.91-215213973783695/ /root/.ansible/tmp/ansible-tmp-1490869819.91-215213973783695/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-1490869819.91-215213973783695/command; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869819.91-215213973783695/" > /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.222968", "end": "2017-03-30 06:30:20.302538", "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 06:30:20.079570", "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-1490869820.51-29868718127276 `" && echo ansible-tmp-1490869820.51-29868718127276="` echo $HOME/.ansible/tmp/ansible-tmp-1490869820.51-29868718127276 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp7zTSV0 TO /root/.ansible/tmp/ansible-tmp-1490869820.51-29868718127276/file
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869820.51-29868718127276/ /root/.ansible/tmp/ansible-tmp-1490869820.51-29868718127276/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-1490869820.51-29868718127276/file; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869820.51-29868718127276/" > /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-1490869820.89-38773618146756 `" && echo ansible-tmp-1490869820.89-38773618146756="` echo $HOME/.ansible/tmp/ansible-tmp-1490869820.89-38773618146756 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpB_B1Dg TO /root/.ansible/tmp/ansible-tmp-1490869820.89-38773618146756/virt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869820.89-38773618146756/ /root/.ansible/tmp/ansible-tmp-1490869820.89-38773618146756/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-1490869820.89-38773618146756/virt; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869820.89-38773618146756/" > /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-1490869821.29-140693980232031 `" && echo ansible-tmp-1490869821.29-140693980232031="` echo $HOME/.ansible/tmp/ansible-tmp-1490869821.29-140693980232031 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpvYFq_j TO /root/.ansible/tmp/ansible-tmp-1490869821.29-140693980232031/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869821.29-140693980232031/ /root/.ansible/tmp/ansible-tmp-1490869821.29-140693980232031/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-1490869821.29-140693980232031/command; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869821.29-140693980232031/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "cmd": ["vbmc", "list"], "delta": "0:00:00.521681", "end": "2017-03-30 06:30:21.991576", "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 06:30:21.469895", "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-1490869822.27-33303563005384 `" && echo ansible-tmp-1490869822.27-33303563005384="` echo $HOME/.ansible/tmp/ansible-tmp-1490869822.27-33303563005384 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpQoVD5I TO /root/.ansible/tmp/ansible-tmp-1490869822.27-33303563005384/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869822.27-33303563005384/ /root/.ansible/tmp/ansible-tmp-1490869822.27-33303563005384/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-1490869822.27-33303563005384/command; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869822.27-33303563005384/" > /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.544090", "end": "2017-03-30 06:30:22.990800", "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 06:30:22.446710", "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-1490869823.1-151766961733121 `" && echo ansible-tmp-1490869823.1-151766961733121="` echo $HOME/.ansible/tmp/ansible-tmp-1490869823.1-151766961733121 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp2fSv7f TO /root/.ansible/tmp/ansible-tmp-1490869823.1-151766961733121/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869823.1-151766961733121/ /root/.ansible/tmp/ansible-tmp-1490869823.1-151766961733121/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-1490869823.1-151766961733121/command; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869823.1-151766961733121/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "cmd": ["vbmc", "start", "controller00"], "delta": "0:00:01.520989", "end": "2017-03-30 06:30:24.792996", "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 06:30:23.272007", "stderr": "2017-03-30 06:30:23,791.791 25526 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-1490869824.91-97434618716327 `" && echo ansible-tmp-1490869824.91-97434618716327="` echo $HOME/.ansible/tmp/ansible-tmp-1490869824.91-97434618716327 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp0ZtiPO TO /root/.ansible/tmp/ansible-tmp-1490869824.91-97434618716327/virt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869824.91-97434618716327/ /root/.ansible/tmp/ansible-tmp-1490869824.91-97434618716327/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-1490869824.91-97434618716327/virt; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869824.91-97434618716327/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"changed": false, "get_xml": "\n controller00\n 009f94ce-9d14-49a6-99ce-621bc62ceb26\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:d8:0b:fc"}, "changed": false, "invocation": {"module_args": {"vm_mac": "52:54:00:d8:0b:fc"}, "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:d8:0b:fc"}], "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:d8:0b:fc"}], "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:d8:0b:fc"}], "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:5c:50:b4"}], "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:d8:0b:fc"}], "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:5c:50:b4"}], "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-1490869825.67-192908486164614 `" && echo ansible-tmp-1490869825.67-192908486164614="` echo $HOME/.ansible/tmp/ansible-tmp-1490869825.67-192908486164614 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpy5nLLf TO /root/.ansible/tmp/ansible-tmp-1490869825.67-192908486164614/virt_pool
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869825.67-192908486164614/ /root/.ansible/tmp/ansible-tmp-1490869825.67-192908486164614/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-1490869825.67-192908486164614/virt_pool; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869825.67-192908486164614/" > /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": "533239631872", "size_total": "544168124416", "size_used": "10928492544", "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-1490869826.01-263819765714597 `" && echo ansible-tmp-1490869826.01-263819765714597="` echo $HOME/.ansible/tmp/ansible-tmp-1490869826.01-263819765714597 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpFhV_eb TO /root/.ansible/tmp/ansible-tmp-1490869826.01-263819765714597/virt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869826.01-263819765714597/ /root/.ansible/tmp/ansible-tmp-1490869826.01-263819765714597/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-1490869826.01-263819765714597/virt; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869826.01-263819765714597/" > /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", "controller00"]}
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-1490869826.39-198562719306422 `" && echo ansible-tmp-1490869826.39-198562719306422="` echo $HOME/.ansible/tmp/ansible-tmp-1490869826.39-198562719306422 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpkLeR5u TO /root/.ansible/tmp/ansible-tmp-1490869826.39-198562719306422/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869826.39-198562719306422/ /root/.ansible/tmp/ansible-tmp-1490869826.39-198562719306422/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-1490869826.39-198562719306422/command; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869826.39-198562719306422/" > /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.211757", "end": "2017-03-30 06:30:26.779016", "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 06:30:26.567259", "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-1490869826.98-56680014066983 `" && echo ansible-tmp-1490869826.98-56680014066983="` echo $HOME/.ansible/tmp/ansible-tmp-1490869826.98-56680014066983 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp1Jgcrp TO /root/.ansible/tmp/ansible-tmp-1490869826.98-56680014066983/file
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869826.98-56680014066983/ /root/.ansible/tmp/ansible-tmp-1490869826.98-56680014066983/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-1490869826.98-56680014066983/file; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869826.98-56680014066983/" > /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-1490869827.35-111280148585971 `" && echo ansible-tmp-1490869827.35-111280148585971="` echo $HOME/.ansible/tmp/ansible-tmp-1490869827.35-111280148585971 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp20MmlT TO /root/.ansible/tmp/ansible-tmp-1490869827.35-111280148585971/virt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869827.35-111280148585971/ /root/.ansible/tmp/ansible-tmp-1490869827.35-111280148585971/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-1490869827.35-111280148585971/virt; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869827.35-111280148585971/" > /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-1490869827.68-21202315239937 `" && echo ansible-tmp-1490869827.68-21202315239937="` echo $HOME/.ansible/tmp/ansible-tmp-1490869827.68-21202315239937 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpkTLsdJ TO /root/.ansible/tmp/ansible-tmp-1490869827.68-21202315239937/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869827.68-21202315239937/ /root/.ansible/tmp/ansible-tmp-1490869827.68-21202315239937/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-1490869827.68-21202315239937/command; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869827.68-21202315239937/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "cmd": ["vbmc", "list"], "delta": "0:00:00.581884", "end": "2017-03-30 06:30:28.425443", "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 06:30:27.843559", "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-1490869828.71-252062694897390 `" && echo ansible-tmp-1490869828.71-252062694897390="` echo $HOME/.ansible/tmp/ansible-tmp-1490869828.71-252062694897390 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp3CI3u1 TO /root/.ansible/tmp/ansible-tmp-1490869828.71-252062694897390/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869828.71-252062694897390/ /root/.ansible/tmp/ansible-tmp-1490869828.71-252062694897390/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-1490869828.71-252062694897390/command; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869828.71-252062694897390/" > /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.548646", "end": "2017-03-30 06:30:29.451681", "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 06:30:28.903035", "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-1490869829.56-96025524863537 `" && echo ansible-tmp-1490869829.56-96025524863537="` echo $HOME/.ansible/tmp/ansible-tmp-1490869829.56-96025524863537 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpFxZOWE TO /root/.ansible/tmp/ansible-tmp-1490869829.56-96025524863537/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869829.56-96025524863537/ /root/.ansible/tmp/ansible-tmp-1490869829.56-96025524863537/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-1490869829.56-96025524863537/command; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869829.56-96025524863537/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "cmd": ["vbmc", "start", "compute00"], "delta": "0:00:01.534064", "end": "2017-03-30 06:30:31.270317", "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 06:30:29.736253", "stderr": "2017-03-30 06:30:30,268.268 25716 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-1490869831.38-248826053491770 `" && echo ansible-tmp-1490869831.38-248826053491770="` echo $HOME/.ansible/tmp/ansible-tmp-1490869831.38-248826053491770 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpfmDceb TO /root/.ansible/tmp/ansible-tmp-1490869831.38-248826053491770/virt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869831.38-248826053491770/ /root/.ansible/tmp/ansible-tmp-1490869831.38-248826053491770/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-1490869831.38-248826053491770/virt; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869831.38-248826053491770/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"changed": false, "get_xml": "\n compute00\n 4b4b6664-3cca-4945-8371-e3125ab5d4f8\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:66:d3:41"}, "changed": false, "invocation": {"module_args": {"vm_mac": "52:54:00:66:d3:41"}, "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:66:d3:41"}], "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:66:d3:41"}], "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:66:d3:41"}], "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:d8:0b:fc"}], "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:5c:50:b4"}], "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:66:d3:41"}], "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:d8:0b:fc"}], "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:5c:50:b4"}], "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-1490869831.98-239609928428934 `" && echo ansible-tmp-1490869831.98-239609928428934="` echo $HOME/.ansible/tmp/ansible-tmp-1490869831.98-239609928428934 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpxdtC0X TO /root/.ansible/tmp/ansible-tmp-1490869831.98-239609928428934/file
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869831.98-239609928428934/ /root/.ansible/tmp/ansible-tmp-1490869831.98-239609928428934/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-1490869831.98-239609928428934/file; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869831.98-239609928428934/" > /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-1490869832.25-53229840075105 `" && echo ansible-tmp-1490869832.25-53229840075105="` echo $HOME/.ansible/tmp/ansible-tmp-1490869832.25-53229840075105 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpM135KV TO /root/.ansible/tmp/ansible-tmp-1490869832.25-53229840075105/stat
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869832.25-53229840075105/ /root/.ansible/tmp/ansible-tmp-1490869832.25-53229840075105/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-1490869832.25-53229840075105/stat; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869832.25-53229840075105/" > /dev/null 2>&1 && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490869832.45-122318716979136 `" && echo ansible-tmp-1490869832.45-122318716979136="` echo $HOME/.ansible/tmp/ansible-tmp-1490869832.45-122318716979136 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp445lie TO /root/.ansible/tmp/ansible-tmp-1490869832.45-122318716979136/source
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869832.45-122318716979136/ /root/.ansible/tmp/ansible-tmp-1490869832.45-122318716979136/source && sleep 0'
<127.0.0.1> PUT /tmp/tmp_WV09m TO /root/.ansible/tmp/ansible-tmp-1490869832.45-122318716979136/copy
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869832.45-122318716979136/ /root/.ansible/tmp/ansible-tmp-1490869832.45-122318716979136/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-1490869832.45-122318716979136/copy; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869832.45-122318716979136/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "checksum": "a66befd2bd9139776d424a622d4a5e182ba26c04", "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": "tmp445lie", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/root/.ansible/tmp/ansible-tmp-1490869832.45-122318716979136/source", "validate": null}}, "md5sum": "9d6cac252dfb5171f7e773e27063af0b", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:admin_home_t:s0", "size": 2230, "src": "/root/.ansible/tmp/ansible-tmp-1490869832.45-122318716979136/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-1490869832.83-17519052631893 `" && echo ansible-tmp-1490869832.83-17519052631893="` echo $HOME/.ansible/tmp/ansible-tmp-1490869832.83-17519052631893 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmphygQ1X TO /root/.ansible/tmp/ansible-tmp-1490869832.83-17519052631893/file
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869832.83-17519052631893/ /root/.ansible/tmp/ansible-tmp-1490869832.83-17519052631893/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-1490869832.83-17519052631893/file; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869832.83-17519052631893/" > /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-1490869836.2-2558106517395 `" && echo ansible-tmp-1490869836.2-2558106517395="` echo $HOME/.ansible/tmp/ansible-tmp-1490869836.2-2558106517395 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpD5fpDv TO /root/.ansible/tmp/ansible-tmp-1490869836.2-2558106517395/setup
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869836.2-2558106517395/ /root/.ansible/tmp/ansible-tmp-1490869836.2-2558106517395/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-1490869836.2-2558106517395/setup; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869836.2-2558106517395/" > /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-1490869836.8-17512825303678 `" && echo ansible-tmp-1490869836.8-17512825303678="` echo $HOME/.ansible/tmp/ansible-tmp-1490869836.8-17512825303678 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpOstvg9 TO /root/.ansible/tmp/ansible-tmp-1490869836.8-17512825303678/file
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869836.8-17512825303678/ /root/.ansible/tmp/ansible-tmp-1490869836.8-17512825303678/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-1490869836.8-17512825303678/file; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869836.8-17512825303678/" > /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-1490869837.12-150367688872742 `" && echo ansible-tmp-1490869837.12-150367688872742="` echo $HOME/.ansible/tmp/ansible-tmp-1490869837.12-150367688872742 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpWYheUr TO /root/.ansible/tmp/ansible-tmp-1490869837.12-150367688872742/setup
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869837.12-150367688872742/ /root/.ansible/tmp/ansible-tmp-1490869837.12-150367688872742/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-1490869837.12-150367688872742/setup; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869837.12-150367688872742/" > /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-1490869837.83-42374614315452 `" && echo ansible-tmp-1490869837.83-42374614315452="` echo $HOME/.ansible/tmp/ansible-tmp-1490869837.83-42374614315452 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpaIYeYp TO /root/.ansible/tmp/ansible-tmp-1490869837.83-42374614315452/file
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869837.83-42374614315452/ /root/.ansible/tmp/ansible-tmp-1490869837.83-42374614315452/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-1490869837.83-42374614315452/file; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869837.83-42374614315452/" > /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-1490869838.29-1245544960475 `" && echo ansible-tmp-1490869838.29-1245544960475="` echo $HOME/.ansible/tmp/ansible-tmp-1490869838.29-1245544960475 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpxzjHhh TO /root/.ansible/tmp/ansible-tmp-1490869838.29-1245544960475/git
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869838.29-1245544960475/ /root/.ansible/tmp/ansible-tmp-1490869838.29-1245544960475/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-1490869838.29-1245544960475/git; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869838.29-1245544960475/" > /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": "22e8bb2b4d3ed26519621847b4c9e1d820c8fe3c", "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-1490869847.58-136532892675680 `" && echo ansible-tmp-1490869847.58-136532892675680="` echo $HOME/.ansible/tmp/ansible-tmp-1490869847.58-136532892675680 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpdOtMHl TO /root/.ansible/tmp/ansible-tmp-1490869847.58-136532892675680/git
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869847.58-136532892675680/ /root/.ansible/tmp/ansible-tmp-1490869847.58-136532892675680/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-1490869847.58-136532892675680/git; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869847.58-136532892675680/" > /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-1490869850.99-6197149816372 `" && echo ansible-tmp-1490869850.99-6197149816372="` echo $HOME/.ansible/tmp/ansible-tmp-1490869850.99-6197149816372 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpw_tVsl TO /root/.ansible/tmp/ansible-tmp-1490869850.99-6197149816372/git
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869850.99-6197149816372/ /root/.ansible/tmp/ansible-tmp-1490869850.99-6197149816372/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-1490869850.99-6197149816372/git; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869850.99-6197149816372/" > /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": "49095d5323edcbb0303f74d8f6f44e44e8b48594", "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-1490869855.07-7709527318490 `" && echo ansible-tmp-1490869855.07-7709527318490="` echo $HOME/.ansible/tmp/ansible-tmp-1490869855.07-7709527318490 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpGMvzhF TO /root/.ansible/tmp/ansible-tmp-1490869855.07-7709527318490/git
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869855.07-7709527318490/ /root/.ansible/tmp/ansible-tmp-1490869855.07-7709527318490/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-1490869855.07-7709527318490/git; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869855.07-7709527318490/" > /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-1490869859.3-262001600892355 `" && echo ansible-tmp-1490869859.3-262001600892355="` echo $HOME/.ansible/tmp/ansible-tmp-1490869859.3-262001600892355 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpRCZjzy TO /root/.ansible/tmp/ansible-tmp-1490869859.3-262001600892355/git
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869859.3-262001600892355/ /root/.ansible/tmp/ansible-tmp-1490869859.3-262001600892355/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-1490869859.3-262001600892355/git; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869859.3-262001600892355/" > /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-1490869862.84-259738894432312 `" && echo ansible-tmp-1490869862.84-259738894432312="` echo $HOME/.ansible/tmp/ansible-tmp-1490869862.84-259738894432312 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpwzTkwQ TO /root/.ansible/tmp/ansible-tmp-1490869862.84-259738894432312/git
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869862.84-259738894432312/ /root/.ansible/tmp/ansible-tmp-1490869862.84-259738894432312/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-1490869862.84-259738894432312/git; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869862.84-259738894432312/" > /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-1490869865.57-166065537134794 `" && echo ansible-tmp-1490869865.57-166065537134794="` echo $HOME/.ansible/tmp/ansible-tmp-1490869865.57-166065537134794 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpj2jlJk TO /root/.ansible/tmp/ansible-tmp-1490869865.57-166065537134794/git
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869865.57-166065537134794/ /root/.ansible/tmp/ansible-tmp-1490869865.57-166065537134794/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-1490869865.57-166065537134794/git; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869865.57-166065537134794/" > /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": "98c20b00876908a1850b97b7e8a3dde891016954", "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-1490869869.97-270020335439428 `" && echo ansible-tmp-1490869869.97-270020335439428="` echo $HOME/.ansible/tmp/ansible-tmp-1490869869.97-270020335439428 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmptMa_8l TO /root/.ansible/tmp/ansible-tmp-1490869869.97-270020335439428/git
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869869.97-270020335439428/ /root/.ansible/tmp/ansible-tmp-1490869869.97-270020335439428/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-1490869869.97-270020335439428/git; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869869.97-270020335439428/" > /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-1490869872.3-219931849075233 `" && echo ansible-tmp-1490869872.3-219931849075233="` echo $HOME/.ansible/tmp/ansible-tmp-1490869872.3-219931849075233 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpiEpzq9 TO /root/.ansible/tmp/ansible-tmp-1490869872.3-219931849075233/git
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869872.3-219931849075233/ /root/.ansible/tmp/ansible-tmp-1490869872.3-219931849075233/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-1490869872.3-219931849075233/git; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869872.3-219931849075233/" > /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": "9421c5f67b93aaa6ca02ca7f9c405a780f7d918a", "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-1490869885.91-33704386200619 `" && echo ansible-tmp-1490869885.91-33704386200619="` echo $HOME/.ansible/tmp/ansible-tmp-1490869885.91-33704386200619 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp9ZskfX TO /root/.ansible/tmp/ansible-tmp-1490869885.91-33704386200619/setup
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490869885.91-33704386200619/ /root/.ansible/tmp/ansible-tmp-1490869885.91-33704386200619/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-1490869885.91-33704386200619/setup; rm -rf "/root/.ansible/tmp/ansible-tmp-1490869885.91-33704386200619/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1]
TASK [bifrost-requirements : Ensure openSUSE Tumbleweed has the correct family]
task path: /opt/bifrost/playbooks/roles/bifrost-requirements/tasks/main.yml:19
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-requirements : Ensure openSUSE Leap has the correct family] ******
task path: /opt/bifrost/playbooks/roles/bifrost-requirements/tasks/main.yml:24
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-requirements : Include OS family-specific defaults] **************
task path: /opt/bifrost/playbooks/roles/bifrost-requirements/tasks/main.yml:33
ok: [127.0.0.1] => (item=/opt/bifrost/playbooks/roles/bifrost-requirements/defaults/ironic/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-requirements/defaults/ironic/required_defaults_RedHat_family.yml"}, "module_name": "include_vars"}, "item": "/opt/bifrost/playbooks/roles/bifrost-requirements/defaults/ironic/required_defaults_RedHat_family.yml"}
TASK [bifrost-requirements : Include OS distribution-specific defaults] ********
task path: /opt/bifrost/playbooks/roles/bifrost-requirements/tasks/main.yml:39
fatal: [127.0.0.1]: FAILED! => {"failed": true, "msg": "No file was found when using with_first_found. Use the 'skip: true' option to allow this task to be skipped if no files are found"}
NO MORE HOSTS LEFT *************************************************************
to retry, use: --limit @/opt/bifrost/playbooks/opnfv-virtual.retry
PLAY RECAP *********************************************************************
127.0.0.1 : ok=8 changed=1 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
CommandException: No URLs matched: gs://artifacts.opnfv.org/cross-community-ci/openstack/bifrost/review.openstack.org/451741/1/openstack-bifrost-verify-centos7-virtual-master/index.html
Uploading collected bifrost build logs to http://artifacts.opnfv.org/cross-community-ci/openstack/bifrost/review.openstack.org/451741/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/451741/1/openstack-bifrost-verify-centos7-virtual-master/index.html landing page
Uploading the final console output