Triggered by Gerrit: https://review.openstack.org/451351
[EnvInject] - Loading node environment variables.
Building remotely on intel-virtual7 (infra-virtual-trusty bifrost-verify-virtual) in workspace /home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-trusty-virtual-master
Running Prebuild steps
[openstack-bifrost-verify-trusty-virtual-master] $ /bin/bash /tmp/hudson5997389593898110526.sh
Success build forhudson.tasks.Shell@48300b2d
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-trusty-virtual-master # timeout=10
Fetching upstream changes from https://git.openstack.org/openstack/bifrost
> git --version # timeout=10
> git -c core.askpass=true fetch --tags --progress https://git.openstack.org/openstack/bifrost +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://git.openstack.org/openstack/bifrost # timeout=10
> git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url https://git.openstack.org/openstack/bifrost # timeout=10
Fetching upstream changes from https://git.openstack.org/openstack/bifrost
> git -c core.askpass=true fetch --tags --progress https://git.openstack.org/openstack/bifrost refs/changes/51/451351/1 # timeout=10
> git rev-parse d771c4cad8e7666c9bc2a09fa19f3ec49fd1d446^{commit} # timeout=10
Checking out Revision d771c4cad8e7666c9bc2a09fa19f3ec49fd1d446 (refs/changes/51/451351/1)
> git config core.sparsecheckout # timeout=10
> git checkout -f d771c4cad8e7666c9bc2a09fa19f3ec49fd1d446 # timeout=10
> git rev-parse FETCH_HEAD^{commit} # timeout=10
> git rev-list 2600d546ed7116f5aad81972b0987a269f3c45b4 # timeout=10
[description-setter] Description set: Built on intel-virtual7
[openstack-bifrost-verify-trusty-virtual-master] $ /bin/bash /tmp/hudson8511444239078385663.sh
Cloning into '/opt/bifrost'...
Cloning into '/opt/releng'...
From https://git.openstack.org/openstack/bifrost
* branch refs/changes/51/451351/1 -> FETCH_HEAD
Note: checking out 'FETCH_HEAD'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at d771c4c... Do not overrride enable_venv by local lookup
Domain compute00 destroyed
Domain compute00 has been undefined
Domain controller00 destroyed
Domain controller00 has been undefined
Domain xcimaster destroyed
Domain xcimaster has been undefined
ironic-conductor stop/waiting
removing inventory files created by previous builds
removing ironic database
removing leases
removing logs
restarting services
* Restarting DNS forwarder and DHCP server dnsmasq
...done.
libvirtd: unrecognized service
ironic-api stop/waiting
ironic-api start/running, process 2748
ironic-conductor start/running, process 2759
ironic-inspector stop/waiting
ironic-inspector start/running, process 2772
+ 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=trusty
+ DIB_OS_RELEASE=trusty
+ export DIB_OS_ELEMENT=ubuntu-minimal
+ DIB_OS_ELEMENT=ubuntu-minimal
+ export DIB_OS_PACKAGES=vlan,vim,less,bridge-utils,language-pack-en,iputils-ping,rsyslog,curl
+ DIB_OS_PACKAGES=vlan,vim,less,bridge-utils,language-pack-en,iputils-ping,rsyslog,curl
+ export EXTRA_DIB_ELEMENTS=openssh-server
+ EXTRA_DIB_ELEMENTS=openssh-server
+ set +x +o nounset
NOTICE: Not using virtualenv for this installation.
/usr/local/bin/pip
Requirement already satisfied: pip>6.0 in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied: pbr>=2.0.0 in /usr/local/lib/python2.7/dist-packages (from -r /opt/bifrost/scripts/../requirements.txt (line 4))
Requirement already satisfied: oslo.config>=3.22.0 in /usr/local/lib/python2.7/dist-packages (from -r /opt/bifrost/scripts/../requirements.txt (line 5))
Requirement already satisfied: oslo.log>=3.11.0 in /usr/local/lib/python2.7/dist-packages (from -r /opt/bifrost/scripts/../requirements.txt (line 6))
Requirement already satisfied: stevedore>=1.20.0 in /usr/local/lib/python2.7/dist-packages (from oslo.config>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 5))
Requirement already satisfied: debtcollector>=1.2.0 in /usr/local/lib/python2.7/dist-packages (from oslo.config>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 5))
Requirement already satisfied: six>=1.9.0 in /usr/local/lib/python2.7/dist-packages (from oslo.config>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 5))
Requirement already satisfied: netaddr!=0.7.16,>=0.7.13 in /usr/local/lib/python2.7/dist-packages (from oslo.config>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 5))
Requirement already satisfied: oslo.i18n>=2.1.0 in /usr/local/lib/python2.7/dist-packages (from oslo.config>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 5))
Requirement already satisfied: rfc3986>=0.3.1 in /usr/local/lib/python2.7/dist-packages (from oslo.config>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 5))
Requirement already satisfied: oslo.context>=2.12.0 in /usr/local/lib/python2.7/dist-packages (from oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6))
Requirement already satisfied: python-dateutil>=2.4.2 in /usr/local/lib/python2.7/dist-packages (from oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6))
Requirement already satisfied: oslo.serialization>=1.10.0 in /usr/local/lib/python2.7/dist-packages (from oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6))
Requirement already satisfied: monotonic>=0.6 in /usr/local/lib/python2.7/dist-packages (from oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6))
Requirement already satisfied: pyinotify>=0.9.6; sys_platform != "win32" and sys_platform != "darwin" and sys_platform != "sunos5" in /usr/local/lib/python2.7/dist-packages (from oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6))
Requirement already satisfied: oslo.utils>=3.20.0 in /usr/local/lib/python2.7/dist-packages (from oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6))
Requirement already satisfied: wrapt>=1.7.0 in /usr/local/lib/python2.7/dist-packages (from debtcollector>=1.2.0->oslo.config>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 5))
Requirement already satisfied: funcsigs>=0.4; python_version == "2.7" or python_version == "2.6" in /usr/local/lib/python2.7/dist-packages (from debtcollector>=1.2.0->oslo.config>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 5))
Requirement already satisfied: Babel>=2.3.4 in /usr/local/lib/python2.7/dist-packages (from oslo.i18n>=2.1.0->oslo.config>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 5))
Requirement already satisfied: positional>=1.1.1 in /usr/local/lib/python2.7/dist-packages (from oslo.context>=2.12.0->oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6))
Requirement already satisfied: pytz>=2013.6 in /usr/local/lib/python2.7/dist-packages (from oslo.serialization>=1.10.0->oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6))
Requirement already satisfied: msgpack-python>=0.4.0 in /usr/local/lib/python2.7/dist-packages (from oslo.serialization>=1.10.0->oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6))
Requirement already satisfied: iso8601>=0.1.11 in /usr/local/lib/python2.7/dist-packages (from oslo.utils>=3.20.0->oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6))
Requirement already satisfied: pyparsing>=2.1.0 in /usr/local/lib/python2.7/dist-packages (from oslo.utils>=3.20.0->oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6))
Requirement already satisfied: netifaces>=0.10.4 in /usr/local/lib/python2.7/dist-packages (from oslo.utils>=3.20.0->oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6))
The directory '/home/jenkins/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/jenkins/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
SNIMissingWarning
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Requirement already up-to-date: ansible<2.2 in /home/jenkins/.local/lib/python2.7/site-packages
Requirement already up-to-date: paramiko in /usr/local/lib/python2.7/dist-packages (from ansible<2.2)
Requirement already up-to-date: jinja2 in /usr/local/lib/python2.7/dist-packages (from ansible<2.2)
Requirement already up-to-date: PyYAML in /usr/local/lib/python2.7/dist-packages (from ansible<2.2)
Requirement already up-to-date: setuptools in /home/jenkins/.local/lib/python2.7/site-packages (from ansible<2.2)
Requirement already up-to-date: pycrypto>=2.6 in /usr/local/lib/python2.7/dist-packages (from ansible<2.2)
Requirement already up-to-date: pyasn1>=0.1.7 in /home/jenkins/.local/lib/python2.7/site-packages (from paramiko->ansible<2.2)
Requirement already up-to-date: cryptography>=1.1 in /home/jenkins/.local/lib/python2.7/site-packages (from paramiko->ansible<2.2)
Requirement already up-to-date: MarkupSafe>=0.23 in /usr/local/lib/python2.7/dist-packages (from jinja2->ansible<2.2)
Requirement already up-to-date: appdirs>=1.4.0 in /usr/local/lib/python2.7/dist-packages (from setuptools->ansible<2.2)
Requirement already up-to-date: packaging>=16.8 in /usr/local/lib/python2.7/dist-packages (from setuptools->ansible<2.2)
Requirement already up-to-date: six>=1.6.0 in /usr/local/lib/python2.7/dist-packages (from setuptools->ansible<2.2)
Requirement already up-to-date: idna>=2.1 in /home/jenkins/.local/lib/python2.7/site-packages (from cryptography>=1.1->paramiko->ansible<2.2)
Requirement already up-to-date: asn1crypto>=0.21.0 in /home/jenkins/.local/lib/python2.7/site-packages (from cryptography>=1.1->paramiko->ansible<2.2)
Requirement already up-to-date: enum34 in /usr/local/lib/python2.7/dist-packages (from cryptography>=1.1->paramiko->ansible<2.2)
Requirement already up-to-date: ipaddress in /usr/local/lib/python2.7/dist-packages (from cryptography>=1.1->paramiko->ansible<2.2)
Requirement already up-to-date: cffi>=1.4.1 in /home/jenkins/.local/lib/python2.7/site-packages (from cryptography>=1.1->paramiko->ansible<2.2)
Requirement already up-to-date: pyparsing in /usr/local/lib/python2.7/dist-packages (from packaging>=16.8->setuptools->ansible<2.2)
Requirement already up-to-date: pycparser in /usr/local/lib/python2.7/dist-packages (from cffi>=1.4.1->cryptography>=1.1->paramiko->ansible<2.2)
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
[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 10:01:45-- 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% 47.4M=0s
2017-03-30 10:01:45 (47.4 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
+ /usr/local/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
+ /usr/local/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
+ /usr/local/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: []
+ /usr/local/bin/ansible-playbook -vvvv -i inventory/localhost opnfv-virtual.yaml --list-tasks -e testing_user=root
No config file found; using defaults
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/inspector_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/staging_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/bootstrap.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/keystone_setup.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/ironic_config.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/inspector_bootstrap.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/keystone_setup_inspector.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/create_tftpboot.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/get_ipxe.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/download_ipa_image.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/start.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/inspector_start.yml
statically included: /opt/bifrost/playbooks/roles/bifrost-configdrives-dynamic/tasks/update_facts_from_ironic.yaml
statically included: /opt/bifrost/playbooks/roles/bifrost-configdrives-dynamic/tasks/ssh_public_key_path.yaml
6 plays in opnfv-virtual.yaml
playbook: opnfv-virtual.yaml
play #1 (localhost): Setting pre-test conditions TAGS: []
tasks:
Remove pre-existing leases file TAGS: []
play #2 (localhost): Executes install, enrollment, and testing in one playbook TAGS: []
tasks:
Override the ipv4_gateway setting TAGS: []
bifrost-prep-for-install : ensure installation root folder exists TAGS: []
bifrost-prep-for-install : Download via GIT TAGS: []
bifrost-prep-for-install : Copy from local path TAGS: []
play #3 (localhost): Executes install, enrollment, and testing in one playbook TAGS: []
tasks:
bifrost-ironic-install : Ensure openSUSE Tumbleweed has the correct family TAGS: []
bifrost-ironic-install : Ensure openSUSE Leap has the correct family TAGS: []
bifrost-ironic-install : Include OS family-specific defaults TAGS: []
bifrost-ironic-install : Include OS distribution-specific defaults TAGS: []
bifrost-ironic-install : Include OS version-specific defaults TAGS: []
bifrost-ironic-install : Update Package Cache TAGS: []
bifrost-ironic-install : Install packages TAGS: []
bifrost-ironic-install : Install Ubuntu 14.10 (and later) packages TAGS: []
bifrost-ironic-install : If running in CI, set source install facts just to be sure TAGS: []
bifrost-ironic-install : Ensure /opt/stack is present TAGS: []
bifrost-ironic-install : set virtualenv_command TAGS: []
bifrost-ironic-install : Install {{ package }} package from pip TAGS: []
bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: []
bifrost-ironic-install : set virtualenv_command TAGS: []
bifrost-ironic-install : Install {{ package }} package from pip TAGS: []
bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: []
bifrost-ironic-install : Install iSCSI client if PXE driver support is enabled TAGS: []
bifrost-ironic-install : install shade from PyPI TAGS: []
bifrost-ironic-install : install shade from source TAGS: []
bifrost-ironic-install : set virtualenv_command TAGS: []
bifrost-ironic-install : Install {{ package }} package from pip TAGS: []
bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: []
bifrost-ironic-install : set virtualenv_command TAGS: []
bifrost-ironic-install : Install {{ package }} package from pip TAGS: []
bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: []
bifrost-ironic-install : set virtualenv_command TAGS: []
bifrost-ironic-install : Install {{ package }} package from pip TAGS: []
bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: []
bifrost-ironic-install : set virtualenv_command TAGS: []
bifrost-ironic-install : Install {{ package }} package from pip TAGS: []
bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: []
bifrost-ironic-install : set virtualenv_command TAGS: []
bifrost-ironic-install : Install {{ package }} package from pip TAGS: []
bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: []
bifrost-ironic-install : set virtualenv_command TAGS: []
bifrost-ironic-install : Install {{ package }} package from pip TAGS: []
bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: []
bifrost-ironic-install : set virtualenv_command TAGS: []
bifrost-ironic-install : Install {{ package }} package from pip TAGS: []
bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: []
bifrost-ironic-install : set virtualenv_command TAGS: []
bifrost-ironic-install : Install {{ package }} package from pip TAGS: []
bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: []
bifrost-ironic-install : set virtualenv_command TAGS: []
bifrost-ironic-install : Install {{ package }} package from pip TAGS: []
bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: []
bifrost-ironic-install : set virtualenv_command TAGS: []
bifrost-ironic-install : Install {{ package }} package from pip TAGS: []
bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: []
bifrost-ironic-install : Fail if authentication configuration conflicts. TAGS: []
bifrost-ironic-install : Start database service TAGS: []
bifrost-ironic-install : RabbitMQ - Testing if hostname is defined in /etc/hosts TAGS: []
bifrost-ironic-install : RabbitMQ - Fixing /etc/hosts TAGS: []
bifrost-ironic-install : Stop and disable the epmd service and socket on SUSE TAGS: []
bifrost-ironic-install : Start rabbitmq-server TAGS: []
bifrost-ironic-install : Wait for rabbitmq TAGS: []
bifrost-ironic-install : Ensure guest user is removed from rabbitmq TAGS: []
bifrost-ironic-install : Create ironic user in RabbitMQ TAGS: []
bifrost-ironic-install : Set mysql_username if environment variable mysql_user is set TAGS: []
bifrost-ironic-install : Set mysql_password if environment variable mysql_pass is set TAGS: []
bifrost-ironic-install : MySQL - Creating DB TAGS: []
bifrost-ironic-install : MySQL - Creating user for Ironic TAGS: []
bifrost-ironic-install : Create an ironic service group TAGS: []
bifrost-ironic-install : Create an ironic service user TAGS: []
bifrost-ironic-install : Ensure /etc/ironic exists TAGS: []
bifrost-ironic-install : Copy rootwrap.conf from ironic source folder TAGS: []
bifrost-ironic-install : Copy rootwrap.d contents from ironic source folder TAGS: []
bifrost-ironic-install : Error if credentials are undefined. TAGS: []
bifrost-ironic-install : Ensure service project is present TAGS: []
bifrost-ironic-install : Create service user for ironic TAGS: []
bifrost-ironic-install : Associate ironic user to admin role TAGS: []
bifrost-ironic-install : Create keystone service record for ironic TAGS: []
bifrost-ironic-install : Check ironic admin endpoint exists TAGS: []
bifrost-ironic-install : Check ironic public endpoint exists TAGS: []
bifrost-ironic-install : Check ironic internal endpoint exists TAGS: []
bifrost-ironic-install : Create ironic admin endpoint TAGS: []
bifrost-ironic-install : Create ironic public endpoint TAGS: []
bifrost-ironic-install : Create ironic internal endpoint TAGS: []
bifrost-ironic-install : Create baremetal_admin role TAGS: []
bifrost-ironic-install : Create baremetal_observer role TAGS: []
bifrost-ironic-install : Create baremetal project TAGS: []
bifrost-ironic-install : Create bifrost user TAGS: []
bifrost-ironic-install : Associate bifrost user with baremetal_admin TAGS: []
bifrost-ironic-install : Refresh facts TAGS: []
bifrost-ironic-install : Fail if the network interface does not exist TAGS: []
bifrost-ironic-install : Fail if the network interface has no IP address assigned TAGS: []
bifrost-ironic-install : Update driver list if PXE drivers are enabled TAGS: []
bifrost-ironic-install : Create ironic config TAGS: []
bifrost-ironic-install : Set sudoers for PXE driver support if enabled TAGS: []
bifrost-ironic-install : Copy policy.json to /etc/ironic TAGS: []
bifrost-ironic-install : Create ironic DB Schema TAGS: []
bifrost-ironic-install : Upgrade ironic DB Schema TAGS: []
bifrost-ironic-install : Create service folder if systemd template is defined TAGS: []
bifrost-ironic-install : MySQL - Create database TAGS: []
bifrost-ironic-install : MySQL - Create user for inspector TAGS: []
bifrost-ironic-install : Inspector - Ensure /etc/ironic-inspector/ exists TAGS: []
bifrost-ironic-install : Error if credentials are undefined. TAGS: []
bifrost-ironic-install : Create service user for ironic-inspector TAGS: []
bifrost-ironic-install : Associate ironic_inspector user to admin role TAGS: []
bifrost-ironic-install : Create keystone service record for ironic-inspector TAGS: []
bifrost-ironic-install : Check ironic-inspector admin endpoint exists TAGS: []
bifrost-ironic-install : Check ironic-inspector public endpoint exists TAGS: []
bifrost-ironic-install : Check ironic-inspector internal endpoint exists TAGS: []
bifrost-ironic-install : Create ironic-inspector admin endpoint TAGS: []
bifrost-ironic-install : Create ironic-inspector public endpoint TAGS: []
bifrost-ironic-install : Create ironic-inspector internal endpoint TAGS: []
bifrost-ironic-install : Create inspector_user user TAGS: []
bifrost-ironic-install : Associate inspector_user with baremetal_admin TAGS: []
bifrost-ironic-install : Inspector - Place Configuration TAGS: []
bifrost-ironic-install : Inspector - create data folder TAGS: []
bifrost-ironic-install : Inspector - create log folder TAGS: []
bifrost-ironic-install : Upgrade inspector DB Schema TAGS: []
bifrost-ironic-install : Inspector - Get ironic-inspector install location TAGS: []
bifrost-ironic-install : Inspector - Place service TAGS: []
bifrost-ironic-install : Inspector - Explicitly permit TCP/5050 for ironic-inspector callback TAGS: []
bifrost-ironic-install : Get ironic-api & ironic-conductor install location TAGS: []
bifrost-ironic-install : Set permissions for /var/lib/ironic for the ironic user TAGS: []
bifrost-ironic-install : Place ironic services TAGS: []
bifrost-ironic-install : Set up PXE and iPXE folders TAGS: []
bifrost-ironic-install : Place tftpd map-file TAGS: []
bifrost-ironic-install : Disable service {{ tftp_service_name }} TAGS: []
bifrost-ironic-install : Set pxelinux.0 source (for Ubuntu >=14.10) TAGS: []
bifrost-ironic-install : Determine if pxelinux.0 is in place TAGS: []
bifrost-ironic-install : Place pxelinux.0 TAGS: []
bifrost-ironic-install : Place boot.ipxe helper script /etc/ironic TAGS: []
bifrost-ironic-install : Pre-stage boot.ipxe into /httpboot/ TAGS: []
bifrost-ironic-install : Place tftp config file TAGS: []
bifrost-ironic-install : Create {{ ipxe_dir }} TAGS: []
bifrost-ironic-install : Get ipxe files TAGS: []
bifrost-ironic-install : Copy iPXE image into place TAGS: []
bifrost-ironic-install : Copy full iPXE image into /httpboot TAGS: []
bifrost-ironic-install : Copy full iPXE image into /tftpboot TAGS: []
bifrost-ironic-install : Determine if folder exists, else create and populate folder. TAGS: []
bifrost-ironic-install : Create master_images folder TAGS: []
bifrost-ironic-install : Inspector - Place default tftp boot file in {{ http_boot_folder}}/pxelinux.cfg/ TAGS: []
bifrost-ironic-install : Setup Inventory Hosts Directory TAGS: []
bifrost-ironic-install : Setup Inventory DHCP Hosts Directory TAGS: []
bifrost-ironic-install : Deploy dnsmasq configuration file TAGS: []
bifrost-ironic-install : Look for libvirt dnsmasq config TAGS: []
bifrost-ironic-install : Disable libvirt dnsmasq config TAGS: []
bifrost-ironic-install : Deploy nginx configuration file for serving HTTP requests TAGS: []
bifrost-ironic-install : Test if IPA kernel is present TAGS: []
bifrost-ironic-install : Download IPA kernel checksum file TAGS: []
bifrost-ironic-install : Extract IPA kernel checksum TAGS: []
fail TAGS: []
set_fact TAGS: []
bifrost-ironic-install : Download IPA kernel TAGS: []
bifrost-ironic-install : Test if IPA image is present TAGS: []
bifrost-ironic-install : Download IPA image checksum TAGS: []
bifrost-ironic-install : Extract IPA ramdisk checksum TAGS: []
fail TAGS: []
set_fact TAGS: []
bifrost-ironic-install : Download IPA image TAGS: []
bifrost-ironic-install : Download cirros to use for deployment if requested TAGS: []
bifrost-ironic-install : "Explicitly permit nginx port (TCP) for file downloads from nodes to be provisioned"
TAGS: []
bifrost-ironic-install : Explicitly permit TCP/6385 for IPA callback TAGS: []
bifrost-ironic-install : Explicitly allow nginx and IPA port (TCP) on selinux TAGS: []
bifrost-ironic-install : Add proper context on created data for http_boot TAGS: []
bifrost-ironic-install : Copy ironic policy file to temporary directory TAGS: []
bifrost-ironic-install : Check ironic policy module TAGS: []
bifrost-ironic-install : Package ironic policy module TAGS: []
bifrost-ironic-install : Include ironic policy module TAGS: []
bifrost-ironic-install : Enable ironic policy module TAGS: []
bifrost-ironic-install : Configure remote logging TAGS: []
bifrost-ironic-install : Reload systemd configuration TAGS: []
bifrost-ironic-install : Ensure rsyslog is running with current config TAGS: []
bifrost-ironic-install : Start database service TAGS: []
bifrost-ironic-install : Start rabbitmq-server TAGS: []
bifrost-ironic-install : Inspector - (re)starting ironic-inspector service TAGS: []
bifrost-ironic-install : Start ironic-conductor TAGS: []
bifrost-ironic-install : Start ironic-api TAGS: []
bifrost-ironic-install : Start ironic-conductor TAGS: []
bifrost-ironic-install : Start ironic-api TAGS: []
bifrost-ironic-install : Stop existing libvirt dnsmasq processes TAGS: []
bifrost-ironic-install : Ensure services are running with current config TAGS: []
bifrost-ironic-install : Ensure dnsmasq is running with current config TAGS: []
bifrost-ironic-install : Send services a reload signal TAGS: []
bifrost-ironic-install : Send services a force-reload signal TAGS: []
bifrost-create-dib-image : Test if image is present TAGS: []
bifrost-create-dib-image : Test if image is present - {{ dib_imagename }}.{{ dib_imagetype | default('qcow2') }} TAGS: []
bifrost-create-dib-image : Test if image is present - {{ dib_imagename }}.initramfs TAGS: []
bifrost-create-dib-image : Build tracing (-x) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build uncompressed (-u) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build clear environment (-c) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build no tmpfs (--no-tmpfs) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build offline (--offline) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build skip default base element (-n) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build architecture (-a) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build image name (-o) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build image type (-t) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build image size (--image-size) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build image cache (--image-cache) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build max online resize (--max-online-resize) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build minimum tmpfs size (--min-tmpfs) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build mkfs options (--mkfs-options) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build qemu image options (--qemu-img-options) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build root label (--root-label) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build ramdisk element (--ramdisk-element) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build install type (--install-type) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build packages (-p) option for disk-image-create TAGS: []
bifrost-create-dib-image : Set default of Debian Jessie if building debian and not explicitly set, overwride with dib_os_release setting TAGS: []
bifrost-create-dib-image : Initialize the DIB environment variables fact TAGS: []
bifrost-create-dib-image : Set the DIB_RELEASE environment variable if set TAGS: []
bifrost-create-dib-image : Build argument list TAGS: []
bifrost-create-dib-image : Initiate image build TAGS: []
bifrost-create-dib-image : Initiate ramdisk build TAGS: []
bifrost-create-dib-image : Update permission of generated image TAGS: []
bifrost-create-dib-image : Restore proper context on created data for http_boot TAGS: []
bifrost-create-dib-image : Test if image is present TAGS: []
bifrost-create-dib-image : Test if image is present - {{ dib_imagename }}.{{ dib_imagetype | default('qcow2') }} TAGS: []
bifrost-create-dib-image : Test if image is present - {{ dib_imagename }}.initramfs TAGS: []
bifrost-create-dib-image : Build tracing (-x) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build uncompressed (-u) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build clear environment (-c) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build no tmpfs (--no-tmpfs) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build offline (--offline) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build skip default base element (-n) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build architecture (-a) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build image name (-o) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build image type (-t) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build image size (--image-size) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build image cache (--image-cache) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build max online resize (--max-online-resize) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build minimum tmpfs size (--min-tmpfs) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build mkfs options (--mkfs-options) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build qemu image options (--qemu-img-options) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build root label (--root-label) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build ramdisk element (--ramdisk-element) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build install type (--install-type) option for disk-image-create TAGS: []
bifrost-create-dib-image : Build packages (-p) option for disk-image-create TAGS: []
bifrost-create-dib-image : Set default of Debian Jessie if building debian and not explicitly set, overwride with dib_os_release setting TAGS: []
bifrost-create-dib-image : Initialize the DIB environment variables fact TAGS: []
bifrost-create-dib-image : Set the DIB_RELEASE environment variable if set TAGS: []
bifrost-create-dib-image : Build argument list TAGS: []
bifrost-create-dib-image : Initiate image build TAGS: []
bifrost-create-dib-image : Initiate ramdisk build TAGS: []
bifrost-create-dib-image : Update permission of generated image TAGS: []
bifrost-create-dib-image : Restore proper context on created data for http_boot TAGS: []
play #4 (baremetal): Enroll node with Ironic TAGS: []
tasks:
ironic-enroll-dynamic : Collect facts TAGS: []
ironic-enroll-dynamic : If in noauth mode, unset authentication parameters. TAGS: []
ironic-enroll-dynamic : Execute os_client_config to collect facts TAGS: []
ironic-enroll-dynamic : Set os_client_config's auth parameters if not already set. TAGS: []
ironic-enroll-dynamic : Dynamic enrollment TAGS: []
ironic-inspect-node : Collect facts TAGS: []
ironic-inspect-node : If in noauth mode, unset authentication parameters. TAGS: []
ironic-inspect-node : Execute os_client_config to collect facts TAGS: []
ironic-inspect-node : Set os_client_config's auth parameters if not already set. TAGS: []
ironic-inspect-node : Setup DHCP for nodes. TAGS: []
ironic-inspect-node : Setup DNS address for nodes. TAGS: []
ironic-inspect-node : Sending dnsmasq HUP TAGS: []
ironic-inspect-node : Execute node introspection TAGS: []
play #5 (baremetal): Create configuration drive files and deploy machines TAGS: []
tasks:
bifrost-configdrives-dynamic : If in noauth mode, set auth parameters accordingly. TAGS: []
bifrost-configdrives-dynamic : Execute os_client_config to collect facts TAGS: []
bifrost-configdrives-dynamic : Set os_client_config's auth parameters if not already set. TAGS: []
bifrost-configdrives-dynamic : Collecting node facts TAGS: []
bifrost-configdrives-dynamic : Defined ssh_public_key_path - Check to see if there is a file where the ssh_public_key_path is defined TAGS: []
bifrost-configdrives-dynamic : Defined ssh_public_key_path - Error if ssh_public_key_path is not valid TAGS: []
bifrost-configdrives-dynamic : Defined ssh_public_key_path - Read SSH public key in TAGS: []
bifrost-configdrives-dynamic : Make temporary folder to build configdrive TAGS: []
bifrost-configdrives-dynamic : Make metadata folder - /openstack/{{ metadata_version }} TAGS: []
bifrost-configdrives-dynamic : Make metadata folder - /openstack/latest TAGS: []
bifrost-configdrives-dynamic : Place template in each openstack/{{ metadata_version }} folder TAGS: []
bifrost-configdrives-dynamic : Place template in each openstack/latest folder TAGS: []
bifrost-configdrives-dynamic : Generate network_data TAGS: []
bifrost-configdrives-dynamic : Place network data template in each openstack/latest folder TAGS: []
bifrost-configdrives-dynamic : Place deprecated network info file location in each openstack/latest folder TAGS: []
bifrost-configdrives-dynamic : Make metadata folder - /openstack/latest TAGS: []
bifrost-configdrives-dynamic : Write network Debian style interface template TAGS: []
bifrost-configdrives-dynamic : Check if mkisofs is available TAGS: []
bifrost-configdrives-dynamic : If mkisofs is not available, fallback to genisoimage TAGS: []
bifrost-configdrives-dynamic : Check if genisoimage is available TAGS: []
bifrost-configdrives-dynamic : fail if genisoimage is not available. TAGS: []
bifrost-configdrives-dynamic : Make config drive files TAGS: []
bifrost-configdrives-dynamic : Make config drive files base64 encoded and gzip compressed TAGS: []
bifrost-configdrives-dynamic : Cleanup configdrive .iso files TAGS: []
bifrost-configdrives-dynamic : Cleanup configdrive temp folder TAGS: []
bifrost-deploy-nodes-dynamic : Obtain setup facts TAGS: []
bifrost-deploy-nodes-dynamic : If in noauth mode, unset authentication parameters. TAGS: []
bifrost-deploy-nodes-dynamic : Execute os_client_config to collect facts TAGS: []
bifrost-deploy-nodes-dynamic : Set os_client_config's auth parameters if not already set. TAGS: []
bifrost-deploy-nodes-dynamic : Setup DHCP for nodes. TAGS: []
bifrost-deploy-nodes-dynamic : Setup DNS address for nodes. TAGS: []
bifrost-deploy-nodes-dynamic : Sending dnsmasq HUP TAGS: []
bifrost-deploy-nodes-dynamic : Deploy to hardware - Using custom instance_info. TAGS: []
bifrost-deploy-nodes-dynamic : Collect the checksum of the deployment image. TAGS: []
bifrost-deploy-nodes-dynamic : Error if deploy_image is not present, and instance_info is not defined TAGS: []
bifrost-deploy-nodes-dynamic : Deploy to hardware - bifrost default TAGS: []
play #6 (baremetal): Deploy machines. TAGS: []
tasks:
bifrost-prepare-for-test-dynamic : Wait for the base testvm machine to become available. TAGS: []
bifrost-prepare-for-test-dynamic : Pause for 4 seconds to allow testvm to become fully operational and to avoid any potential sshd startup race. TAGS: []
bifrost-prepare-for-test-dynamic : Add testvm(s) to Ansible Inventory TAGS: []
bifrost-prepare-for-test-dynamic : Ensure ~/.ssh/known_hosts is present TAGS: []
bifrost-prepare-for-test-dynamic : Remove testvm hosts from SSH known_hosts file. TAGS: []
bifrost-prepare-for-test-dynamic : Pause before asking for keyscan, to avoid races TAGS: []
bifrost-prepare-for-test-dynamic : Re-check SSH connectivity prior to proceeding with multi-node testing
TAGS: []
bifrost-prepare-for-test-dynamic : Additional SSH startup pause when performing multi-node testing
TAGS: []
bifrost-prepare-for-test-dynamic : Add testvm hosts from SSH known_hosts file. TAGS: []
+ /usr/local/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-1490893311.24-199971025848547 `" && echo ansible-tmp-1490893311.24-199971025848547="` echo $HOME/.ansible/tmp/ansible-tmp-1490893311.24-199971025848547 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpk4ekJL TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893311.24-199971025848547/setup
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893311.24-199971025848547/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893311.24-199971025848547/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893311.24-199971025848547/setup; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893311.24-199971025848547/" > /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
<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-1490893312.71-183087325810942 `" && echo ansible-tmp-1490893312.71-183087325810942="` echo $HOME/.ansible/tmp/ansible-tmp-1490893312.71-183087325810942 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpjOD0VM TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893312.71-183087325810942/apt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893312.71-183087325810942/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893312.71-183087325810942/apt && 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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893312.71-183087325810942/apt; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893312.71-183087325810942/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"cache_update_time": 1490893313, "cache_updated": true, "changed": false, "invocation": {"module_args": {"allow_unauthenticated": false, "autoremove": false, "cache_valid_time": null, "deb": null, "default_release": null, "dpkg_options": "force-confdef,force-confold", "force": false, "install_recommends": null, "only_upgrade": false, "package": null, "purge": false, "state": "present", "update_cache": true, "upgrade": null}, "module_name": "apt"}}
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_Debian.yml) => {"ansible_facts": {"libvirt_service_name": "libvirt-bin", "required_packages": ["libvirt-bin", "qemu-utils", "qemu-kvm", "qemu-system-x86", "sgabios", "python-libvirt", "python-lxml", "pkg-config", "libvirt-dev"], "sgabios_dir": "/usr/share/qemu/"}, "invocation": {"module_args": {"_raw_params": "/opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/templates/../defaults/required_defaults_Debian.yml"}, "module_name": "include_vars"}, "item": "/opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/templates/../defaults/required_defaults_Debian.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-1490893327.86-275541205116389 `" && echo ansible-tmp-1490893327.86-275541205116389="` echo $HOME/.ansible/tmp/ansible-tmp-1490893327.86-275541205116389 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpM_GSYz TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893327.86-275541205116389/stat
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893327.86-275541205116389/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893327.86-275541205116389/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893327.86-275541205116389/stat; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893327.86-275541205116389/" > /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-1490893328.24-257818747707083 `" && echo ansible-tmp-1490893328.24-257818747707083="` echo $HOME/.ansible/tmp/ansible-tmp-1490893328.24-257818747707083 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp8BtiMq TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893328.24-257818747707083/apt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893328.24-257818747707083/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893328.24-257818747707083/apt && 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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893328.24-257818747707083/apt; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893328.24-257818747707083/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => (item=[u'libvirt-bin', u'qemu-utils', u'qemu-kvm', u'qemu-system-x86', u'sgabios', u'python-libvirt', u'python-lxml', u'pkg-config', u'libvirt-dev']) => {"cache_update_time": 0, "cache_updated": false, "changed": false, "invocation": {"module_args": {"allow_unauthenticated": false, "autoremove": false, "cache_valid_time": null, "deb": null, "default_release": null, "dpkg_options": "force-confdef,force-confold", "force": false, "install_recommends": null, "name": ["libvirt-bin", "qemu-utils", "qemu-kvm", "qemu-system-x86", "sgabios", "python-libvirt", "python-lxml", "pkg-config", "libvirt-dev"], "only_upgrade": false, "package": ["libvirt-bin", "qemu-utils", "qemu-kvm", "qemu-system-x86", "sgabios", "python-libvirt", "python-lxml", "pkg-config", "libvirt-dev"], "purge": false, "state": "present", "update_cache": false, "upgrade": null}, "module_name": "apt"}, "item": ["libvirt-bin", "qemu-utils", "qemu-kvm", "qemu-system-x86", "sgabios", "python-libvirt", "python-lxml", "pkg-config", "libvirt-dev"]}
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-1490893329.3-117620026738664 `" && echo ansible-tmp-1490893329.3-117620026738664="` echo $HOME/.ansible/tmp/ansible-tmp-1490893329.3-117620026738664 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp7Pwm7p TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893329.3-117620026738664/service
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893329.3-117620026738664/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893329.3-117620026738664/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893329.3-117620026738664/service; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893329.3-117620026738664/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "invocation": {"module_args": {"arguments": "", "enabled": null, "name": "libvirt-bin", "pattern": null, "runlevel": "default", "sleep": null, "state": "restarted"}, "module_name": "service"}, "name": "libvirt-bin", "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-1490893331.74-125990355534239 `" && echo ansible-tmp-1490893331.74-125990355534239="` echo $HOME/.ansible/tmp/ansible-tmp-1490893331.74-125990355534239 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpTzLbl0 TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893331.74-125990355534239/sysctl
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893331.74-125990355534239/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893331.74-125990355534239/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893331.74-125990355534239/sysctl; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893331.74-125990355534239/" > /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/qemu/] **********
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-1490893332.08-92274171570240 `" && echo ansible-tmp-1490893332.08-92274171570240="` echo $HOME/.ansible/tmp/ansible-tmp-1490893332.08-92274171570240 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmph5toJn TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893332.08-92274171570240/stat
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893332.08-92274171570240/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893332.08-92274171570240/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893332.08-92274171570240/stat; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893332.08-92274171570240/" > /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/qemu//sgabios.bin"}, "module_name": "stat"}, "stat": {"atime": 1490883641.823526, "ctime": 1485533718.664178, "dev": 64769, "exists": true, "gid": 0, "gr_name": "root", "inode": 2103490, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/usr/share/misc/sgabios.bin", "mode": "0777", "mtime": 1386457998.0, "nlink": 1, "path": "/usr/share/qemu//sgabios.bin", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 19, "uid": 0, "wgrp": true, "woth": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}}
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-1490893332.28-86790968855306 `" && echo ansible-tmp-1490893332.28-86790968855306="` echo $HOME/.ansible/tmp/ansible-tmp-1490893332.28-86790968855306 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp4efE06 TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893332.28-86790968855306/stat
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893332.28-86790968855306/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893332.28-86790968855306/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893332.28-86790968855306/stat; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893332.28-86790968855306/" > /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": {"atime": 1490883641.823526, "checksum": "4db09c1b5a6a9eae1a0fc2e3f125cea5e7761e17", "ctime": 1485533718.660178, "dev": 64769, "exists": true, "gid": 0, "gr_name": "root", "inode": 1978685, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "md5": "dedab9673a42b66275e3e70188e8508c", "mode": "0644", "mtime": 1386457997.0, "nlink": 1, "path": "/usr/share/misc/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 : 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-1490893332.67-179358906188170 `" && echo ansible-tmp-1490893332.67-179358906188170="` echo $HOME/.ansible/tmp/ansible-tmp-1490893332.67-179358906188170 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpxa_tG8 TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893332.67-179358906188170/virt_net
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893332.67-179358906188170/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893332.67-179358906188170/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893332.67-179358906188170/virt_net; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893332.67-179358906188170/" > /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-1490893332.92-55645151326386 `" && echo ansible-tmp-1490893332.92-55645151326386="` echo $HOME/.ansible/tmp/ansible-tmp-1490893332.92-55645151326386 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpKw7oPF TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893332.92-55645151326386/virt_net
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893332.92-55645151326386/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893332.92-55645151326386/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893332.92-55645151326386/virt_net; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893332.92-55645151326386/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"ansible_facts": {"ansible_libvirt_networks": {"default": {"autostart": "yes", "bridge": "virbr0", "forward_mode": "nat", "persistent": "yes", "state": "active", "uuid": "60e1ce3c-0a0d-4901-889e-571083bc578a"}}}, "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-1490893333.26-220217178798080 `" && echo ansible-tmp-1490893333.26-220217178798080="` echo $HOME/.ansible/tmp/ansible-tmp-1490893333.26-220217178798080 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpU95yh1 TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893333.26-220217178798080/virt_net
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893333.26-220217178798080/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893333.26-220217178798080/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893333.26-220217178798080/virt_net; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893333.26-220217178798080/" > /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-1490893333.51-250341332104759 `" && echo ansible-tmp-1490893333.51-250341332104759="` echo $HOME/.ansible/tmp/ansible-tmp-1490893333.51-250341332104759 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpV1VA0I TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893333.51-250341332104759/virt_net
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893333.51-250341332104759/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893333.51-250341332104759/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893333.51-250341332104759/virt_net; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893333.51-250341332104759/" > /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-1490893333.76-109310324138068 `" && echo ansible-tmp-1490893333.76-109310324138068="` echo $HOME/.ansible/tmp/ansible-tmp-1490893333.76-109310324138068 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp53fjOw TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893333.76-109310324138068/virt_net
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893333.76-109310324138068/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893333.76-109310324138068/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893333.76-109310324138068/virt_net; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893333.76-109310324138068/" > /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-1490893334.17-186831150618865 `" && echo ansible-tmp-1490893334.17-186831150618865="` echo $HOME/.ansible/tmp/ansible-tmp-1490893334.17-186831150618865 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp_gAYuT TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893334.17-186831150618865/virt_pool
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893334.17-186831150618865/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893334.17-186831150618865/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893334.17-186831150618865/virt_pool; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893334.17-186831150618865/" > /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-1490893334.42-93389518912065 `" && echo ansible-tmp-1490893334.42-93389518912065="` echo $HOME/.ansible/tmp/ansible-tmp-1490893334.42-93389518912065 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp8T3WKy TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893334.42-93389518912065/virt_pool
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893334.42-93389518912065/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893334.42-93389518912065/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893334.42-93389518912065/virt_pool; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893334.42-93389518912065/" > /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-1490893334.73-116544993209710 `" && echo ansible-tmp-1490893334.73-116544993209710="` echo $HOME/.ansible/tmp/ansible-tmp-1490893334.73-116544993209710 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpVDcG_K TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893334.73-116544993209710/file
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893334.73-116544993209710/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893334.73-116544993209710/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893334.73-116544993209710/file; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893334.73-116544993209710/" > /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", "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-1490893335.02-280128997885548 `" && echo ansible-tmp-1490893335.02-280128997885548="` echo $HOME/.ansible/tmp/ansible-tmp-1490893335.02-280128997885548 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpo4F3Nb TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893335.02-280128997885548/pip
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893335.02-280128997885548/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893335.02-280128997885548/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893335.02-280128997885548/pip; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893335.02-280128997885548/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"changed": false, "cmd": "/usr/local/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": "The directory '/home/jenkins/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.\nThe directory '/home/jenkins/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.\n/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.\n SNIMissingWarning\n/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.\n InsecurePlatformWarning\n", "stdout": "Requirement already satisfied: virtualbmc in /usr/local/lib/python2.7/dist-packages\nRequirement already satisfied: pyghmi>=1.0.9 in /usr/local/lib/python2.7/dist-packages (from virtualbmc)\nRequirement already satisfied: PrettyTable<0.8,>=0.7.1 in /usr/local/lib/python2.7/dist-packages (from virtualbmc)\nRequirement already satisfied: libvirt-python>=1.2.5 in /usr/local/lib/python2.7/dist-packages (from virtualbmc)\nRequirement already satisfied: six>=1.9.0 in /usr/local/lib/python2.7/dist-packages (from virtualbmc)\nRequirement already satisfied: pbr>=1.8 in /usr/local/lib/python2.7/dist-packages (from virtualbmc)\nRequirement already satisfied: pycrypto>=2.6 in /usr/local/lib/python2.7/dist-packages (from pyghmi>=1.0.9->virtualbmc)\n", "stdout_lines": ["Requirement already satisfied: virtualbmc in /usr/local/lib/python2.7/dist-packages", "Requirement already satisfied: pyghmi>=1.0.9 in /usr/local/lib/python2.7/dist-packages (from virtualbmc)", "Requirement already satisfied: PrettyTable<0.8,>=0.7.1 in /usr/local/lib/python2.7/dist-packages (from virtualbmc)", "Requirement already satisfied: libvirt-python>=1.2.5 in /usr/local/lib/python2.7/dist-packages (from virtualbmc)", "Requirement already satisfied: six>=1.9.0 in /usr/local/lib/python2.7/dist-packages (from virtualbmc)", "Requirement already satisfied: pbr>=1.8 in /usr/local/lib/python2.7/dist-packages (from virtualbmc)", "Requirement already satisfied: pycrypto>=2.6 in /usr/local/lib/python2.7/dist-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
ok: [127.0.0.1] => {"ansible_facts": {"prealloc": "--prealloc-metadata"}, "changed": false, "invocation": {"module_args": {"prealloc": "--prealloc-metadata"}, "module_name": "set_fact"}}
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-1490893336.93-277682839211722 `" && echo ansible-tmp-1490893336.93-277682839211722="` echo $HOME/.ansible/tmp/ansible-tmp-1490893336.93-277682839211722 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpGZZG3c TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893336.93-277682839211722/virt_pool
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893336.93-277682839211722/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893336.93-277682839211722/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893336.93-277682839211722/virt_pool; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893336.93-277682839211722/" > /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": "542233305088", "size_total": "545222148096", "size_used": "2988843008", "state": "active", "status": "running", "type": "dir", "uuid": "ca4e36b0-d0f3-4eff-b0e6-80573c4e7b60", "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-1490893337.34-73260710156566 `" && echo ansible-tmp-1490893337.34-73260710156566="` echo $HOME/.ansible/tmp/ansible-tmp-1490893337.34-73260710156566 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpb3sPIb TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893337.34-73260710156566/virt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893337.34-73260710156566/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893337.34-73260710156566/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893337.34-73260710156566/virt; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893337.34-73260710156566/" > /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-1490893337.67-123997743330733 `" && echo ansible-tmp-1490893337.67-123997743330733="` echo $HOME/.ansible/tmp/ansible-tmp-1490893337.67-123997743330733 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpjJ0hsX TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893337.67-123997743330733/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893337.67-123997743330733/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893337.67-123997743330733/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893337.67-123997743330733/command; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893337.67-123997743330733/" > /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", "--prealloc-metadata"], "delta": "0:00:00.717734", "end": "2017-03-30 10:02:18.510053", "invocation": {"module_args": {"_raw_params": "virsh --connect qemu:///system vol-create-as default xcimaster.qcow2 31G --format qcow2 --prealloc-metadata", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 0, "start": "2017-03-30 10:02:17.792319", "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-1490893338.68-26666718397182 `" && echo ansible-tmp-1490893338.68-26666718397182="` echo $HOME/.ansible/tmp/ansible-tmp-1490893338.68-26666718397182 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp8Nz203 TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893338.68-26666718397182/file
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893338.68-26666718397182/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893338.68-26666718397182/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893338.68-26666718397182/file; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893338.68-26666718397182/" > /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", "size": 33291304960, "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
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893338.87-42985527877064 `" && echo ansible-tmp-1490893338.87-42985527877064="` echo $HOME/.ansible/tmp/ansible-tmp-1490893338.87-42985527877064 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpNy6Bzj TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893338.87-42985527877064/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893338.87-42985527877064/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893338.87-42985527877064/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893338.87-42985527877064/command; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893338.87-42985527877064/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "cmd": ["chattr", "+C", "/var/lib/libvirt/images/xcimaster.qcow2"], "delta": "0:00:00.004246", "end": "2017-03-30 10:02:19.003671", "invocation": {"module_args": {"_raw_params": "chattr +C /var/lib/libvirt/images/xcimaster.qcow2", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 0, "start": "2017-03-30 10:02:18.999425", "stderr": "", "stdout": "", "stdout_lines": [], "warnings": []}
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-1490893339.11-35640011831969 `" && echo ansible-tmp-1490893339.11-35640011831969="` echo $HOME/.ansible/tmp/ansible-tmp-1490893339.11-35640011831969 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpUTuVAn TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893339.11-35640011831969/virt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893339.11-35640011831969/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893339.11-35640011831969/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893339.11-35640011831969/virt; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893339.11-35640011831969/" > /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/bin/qemu-system-x86_64\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-1490893339.35-77327929416378 `" && echo ansible-tmp-1490893339.35-77327929416378="` echo $HOME/.ansible/tmp/ansible-tmp-1490893339.35-77327929416378 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpnhpHoY TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893339.35-77327929416378/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893339.35-77327929416378/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893339.35-77327929416378/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893339.35-77327929416378/command; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893339.35-77327929416378/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "cmd": ["vbmc", "list"], "delta": "0:00:00.268950", "end": "2017-03-30 10:02:19.746094", "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 10:02:19.477144", "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-1490893339.95-120495564548728 `" && echo ansible-tmp-1490893339.95-120495564548728="` echo $HOME/.ansible/tmp/ansible-tmp-1490893339.95-120495564548728 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpbh56CR TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893339.95-120495564548728/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893339.95-120495564548728/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893339.95-120495564548728/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893339.95-120495564548728/command; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893339.95-120495564548728/" > /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.275610", "end": "2017-03-30 10:02:20.331802", "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 10:02:20.056192", "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-1490893340.42-188589160950916 `" && echo ansible-tmp-1490893340.42-188589160950916="` echo $HOME/.ansible/tmp/ansible-tmp-1490893340.42-188589160950916 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp4Ikfqg TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893340.42-188589160950916/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893340.42-188589160950916/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893340.42-188589160950916/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893340.42-188589160950916/command; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893340.42-188589160950916/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "cmd": ["vbmc", "start", "xcimaster"], "delta": "0:00:01.336303", "end": "2017-03-30 10:02:21.875553", "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 10:02:20.539250", "stderr": "2017-03-30 10:02:20,874.874 3861 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-1490893341.97-277302860899222 `" && echo ansible-tmp-1490893341.97-277302860899222="` echo $HOME/.ansible/tmp/ansible-tmp-1490893341.97-277302860899222 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpAXlrIU TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893341.97-277302860899222/virt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893341.97-277302860899222/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893341.97-277302860899222/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893341.97-277302860899222/virt; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893341.97-277302860899222/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"changed": false, "get_xml": "\n xcimaster\n 18b492fb-4803-487f-9671-075af6250573\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/bin/qemu-system-x86_64\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:ea:26:17"}, "changed": false, "invocation": {"module_args": {"vm_mac": "52:54:00:ea:26:17"}, "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:ea:26:17"}], "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:ea:26:17"}], "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:ea:26:17"}], "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:ea:26:17"}], "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
ok: [127.0.0.1] => {"ansible_facts": {"prealloc": "--prealloc-metadata"}, "changed": false, "invocation": {"module_args": {"prealloc": "--prealloc-metadata"}, "module_name": "set_fact"}}
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-1490893342.6-72903506362075 `" && echo ansible-tmp-1490893342.6-72903506362075="` echo $HOME/.ansible/tmp/ansible-tmp-1490893342.6-72903506362075 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmprrhEBF TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893342.6-72903506362075/virt_pool
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893342.6-72903506362075/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893342.6-72903506362075/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893342.6-72903506362075/virt_pool; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893342.6-72903506362075/" > /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": "508947308544", "size_total": "545222148096", "size_used": "36274839552", "state": "active", "status": "running", "type": "dir", "uuid": "ca4e36b0-d0f3-4eff-b0e6-80573c4e7b60", "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-1490893342.9-55407811609530 `" && echo ansible-tmp-1490893342.9-55407811609530="` echo $HOME/.ansible/tmp/ansible-tmp-1490893342.9-55407811609530 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpZFKRGd TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893342.9-55407811609530/virt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893342.9-55407811609530/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893342.9-55407811609530/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893342.9-55407811609530/virt; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893342.9-55407811609530/" > /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-1490893344.17-113646612515625 `" && echo ansible-tmp-1490893344.17-113646612515625="` echo $HOME/.ansible/tmp/ansible-tmp-1490893344.17-113646612515625 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpoLAsl_ TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893344.17-113646612515625/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893344.17-113646612515625/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893344.17-113646612515625/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893344.17-113646612515625/command; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893344.17-113646612515625/" > /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", "--prealloc-metadata"], "delta": "0:00:01.338151", "end": "2017-03-30 10:02:25.626608", "invocation": {"module_args": {"_raw_params": "virsh --connect qemu:///system vol-create-as default controller00.qcow2 31G --format qcow2 --prealloc-metadata", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 0, "start": "2017-03-30 10:02:24.288457", "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-1490893345.8-39204426130628 `" && echo ansible-tmp-1490893345.8-39204426130628="` echo $HOME/.ansible/tmp/ansible-tmp-1490893345.8-39204426130628 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpvkT8tm TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893345.8-39204426130628/file
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893345.8-39204426130628/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893345.8-39204426130628/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893345.8-39204426130628/file; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893345.8-39204426130628/" > /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", "size": 33291304960, "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
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893346.02-207100694157482 `" && echo ansible-tmp-1490893346.02-207100694157482="` echo $HOME/.ansible/tmp/ansible-tmp-1490893346.02-207100694157482 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpb5T66_ TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893346.02-207100694157482/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893346.02-207100694157482/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893346.02-207100694157482/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893346.02-207100694157482/command; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893346.02-207100694157482/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "cmd": ["chattr", "+C", "/var/lib/libvirt/images/controller00.qcow2"], "delta": "0:00:00.004381", "end": "2017-03-30 10:02:26.154380", "invocation": {"module_args": {"_raw_params": "chattr +C /var/lib/libvirt/images/controller00.qcow2", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 0, "start": "2017-03-30 10:02:26.149999", "stderr": "", "stdout": "", "stdout_lines": [], "warnings": []}
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-1490893346.26-78815510170697 `" && echo ansible-tmp-1490893346.26-78815510170697="` echo $HOME/.ansible/tmp/ansible-tmp-1490893346.26-78815510170697 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpKMpPe9 TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893346.26-78815510170697/virt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893346.26-78815510170697/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893346.26-78815510170697/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893346.26-78815510170697/virt; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893346.26-78815510170697/" > /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/bin/qemu-system-x86_64\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-1490893346.64-218644333975195 `" && echo ansible-tmp-1490893346.64-218644333975195="` echo $HOME/.ansible/tmp/ansible-tmp-1490893346.64-218644333975195 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpo5Xt7L TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893346.64-218644333975195/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893346.64-218644333975195/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893346.64-218644333975195/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893346.64-218644333975195/command; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893346.64-218644333975195/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "cmd": ["vbmc", "list"], "delta": "0:00:00.328491", "end": "2017-03-30 10:02:27.084524", "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 10:02:26.756033", "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-1490893347.3-28013703529934 `" && echo ansible-tmp-1490893347.3-28013703529934="` echo $HOME/.ansible/tmp/ansible-tmp-1490893347.3-28013703529934 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpRR3xxd TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893347.3-28013703529934/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893347.3-28013703529934/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893347.3-28013703529934/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893347.3-28013703529934/command; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893347.3-28013703529934/" > /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.333925", "end": "2017-03-30 10:02:27.755310", "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 10:02:27.421385", "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-1490893347.83-70326788853285 `" && echo ansible-tmp-1490893347.83-70326788853285="` echo $HOME/.ansible/tmp/ansible-tmp-1490893347.83-70326788853285 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpILaAZ_ TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893347.83-70326788853285/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893347.83-70326788853285/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893347.83-70326788853285/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893347.83-70326788853285/command; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893347.83-70326788853285/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "cmd": ["vbmc", "start", "controller00"], "delta": "0:00:01.338481", "end": "2017-03-30 10:02:29.299952", "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 10:02:27.961471", "stderr": "2017-03-30 10:02:28,297.297 4092 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-1490893349.39-83209517098905 `" && echo ansible-tmp-1490893349.39-83209517098905="` echo $HOME/.ansible/tmp/ansible-tmp-1490893349.39-83209517098905 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpjP5Ajp TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893349.39-83209517098905/virt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893349.39-83209517098905/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893349.39-83209517098905/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893349.39-83209517098905/virt; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893349.39-83209517098905/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"changed": false, "get_xml": "\n controller00\n 9fc8d848-19b4-4711-b03e-505258814d72\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/bin/qemu-system-x86_64\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:67:41:3b"}, "changed": false, "invocation": {"module_args": {"vm_mac": "52:54:00:67:41:3b"}, "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:67:41:3b"}], "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:67:41:3b"}], "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:67:41:3b"}], "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:ea:26:17"}], "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:67:41:3b"}], "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:ea:26:17"}], "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
ok: [127.0.0.1] => {"ansible_facts": {"prealloc": "--prealloc-metadata"}, "changed": false, "invocation": {"module_args": {"prealloc": "--prealloc-metadata"}, "module_name": "set_fact"}}
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-1490893349.96-271255200918227 `" && echo ansible-tmp-1490893349.96-271255200918227="` echo $HOME/.ansible/tmp/ansible-tmp-1490893349.96-271255200918227 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpuxbMYM TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893349.96-271255200918227/virt_pool
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893349.96-271255200918227/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893349.96-271255200918227/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893349.96-271255200918227/virt_pool; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893349.96-271255200918227/" > /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": "475661312000", "size_total": "545222148096", "size_used": "69560836096", "state": "active", "status": "running", "type": "dir", "uuid": "ca4e36b0-d0f3-4eff-b0e6-80573c4e7b60", "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-1490893350.25-190979464524171 `" && echo ansible-tmp-1490893350.25-190979464524171="` echo $HOME/.ansible/tmp/ansible-tmp-1490893350.25-190979464524171 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpe_81ik TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893350.25-190979464524171/virt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893350.25-190979464524171/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893350.25-190979464524171/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893350.25-190979464524171/virt; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893350.25-190979464524171/" > /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-1490893350.51-66482811960907 `" && echo ansible-tmp-1490893350.51-66482811960907="` echo $HOME/.ansible/tmp/ansible-tmp-1490893350.51-66482811960907 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpibGjEr TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893350.51-66482811960907/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893350.51-66482811960907/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893350.51-66482811960907/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893350.51-66482811960907/command; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893350.51-66482811960907/" > /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", "--prealloc-metadata"], "delta": "0:00:01.517202", "end": "2017-03-30 10:02:32.153376", "invocation": {"module_args": {"_raw_params": "virsh --connect qemu:///system vol-create-as default compute00.qcow2 31G --format qcow2 --prealloc-metadata", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 0, "start": "2017-03-30 10:02:30.636174", "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-1490893352.32-96879453207339 `" && echo ansible-tmp-1490893352.32-96879453207339="` echo $HOME/.ansible/tmp/ansible-tmp-1490893352.32-96879453207339 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpW9UBms TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893352.32-96879453207339/file
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893352.32-96879453207339/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893352.32-96879453207339/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893352.32-96879453207339/file; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893352.32-96879453207339/" > /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", "size": 33291304960, "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
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893352.53-62400875034798 `" && echo ansible-tmp-1490893352.53-62400875034798="` echo $HOME/.ansible/tmp/ansible-tmp-1490893352.53-62400875034798 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpiv6z6a TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893352.53-62400875034798/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893352.53-62400875034798/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893352.53-62400875034798/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893352.53-62400875034798/command; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893352.53-62400875034798/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "cmd": ["chattr", "+C", "/var/lib/libvirt/images/compute00.qcow2"], "delta": "0:00:00.004349", "end": "2017-03-30 10:02:32.662553", "invocation": {"module_args": {"_raw_params": "chattr +C /var/lib/libvirt/images/compute00.qcow2", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 0, "start": "2017-03-30 10:02:32.658204", "stderr": "", "stdout": "", "stdout_lines": [], "warnings": []}
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-1490893352.74-200471448833066 `" && echo ansible-tmp-1490893352.74-200471448833066="` echo $HOME/.ansible/tmp/ansible-tmp-1490893352.74-200471448833066 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpNZxH1Q TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893352.74-200471448833066/virt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893352.74-200471448833066/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893352.74-200471448833066/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893352.74-200471448833066/virt; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893352.74-200471448833066/" > /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/bin/qemu-system-x86_64\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-1490893353.01-222027133237883 `" && echo ansible-tmp-1490893353.01-222027133237883="` echo $HOME/.ansible/tmp/ansible-tmp-1490893353.01-222027133237883 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpHGIcqI TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893353.01-222027133237883/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893353.01-222027133237883/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893353.01-222027133237883/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893353.01-222027133237883/command; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893353.01-222027133237883/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "cmd": ["vbmc", "list"], "delta": "0:00:00.305780", "end": "2017-03-30 10:02:33.445724", "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 10:02:33.139944", "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-1490893353.66-143605748983118 `" && echo ansible-tmp-1490893353.66-143605748983118="` echo $HOME/.ansible/tmp/ansible-tmp-1490893353.66-143605748983118 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp9ynlKj TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893353.66-143605748983118/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893353.66-143605748983118/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893353.66-143605748983118/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893353.66-143605748983118/command; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893353.66-143605748983118/" > /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.333608", "end": "2017-03-30 10:02:34.124671", "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 10:02:33.791063", "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-1490893354.22-54151835861719 `" && echo ansible-tmp-1490893354.22-54151835861719="` echo $HOME/.ansible/tmp/ansible-tmp-1490893354.22-54151835861719 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpuo8Q_2 TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893354.22-54151835861719/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893354.22-54151835861719/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893354.22-54151835861719/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893354.22-54151835861719/command; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893354.22-54151835861719/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "cmd": ["vbmc", "start", "compute00"], "delta": "0:00:01.325792", "end": "2017-03-30 10:02:35.669436", "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 10:02:34.343644", "stderr": "2017-03-30 10:02:34,667.667 4323 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-1490893355.75-63252576144378 `" && echo ansible-tmp-1490893355.75-63252576144378="` echo $HOME/.ansible/tmp/ansible-tmp-1490893355.75-63252576144378 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpDAekh0 TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893355.75-63252576144378/virt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893355.75-63252576144378/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893355.75-63252576144378/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893355.75-63252576144378/virt; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893355.75-63252576144378/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"changed": false, "get_xml": "\n compute00\n 8a5588f1-7db6-4bd3-9983-155ef2bc459a\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/bin/qemu-system-x86_64\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:57:98:d6"}, "changed": false, "invocation": {"module_args": {"vm_mac": "52:54:00:57:98:d6"}, "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:57:98:d6"}], "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:57:98:d6"}], "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:57:98:d6"}], "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:67:41:3b"}], "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:ea:26:17"}], "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:57:98:d6"}], "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:67:41:3b"}], "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:ea:26:17"}], "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-1490893356.21-145675384136708 `" && echo ansible-tmp-1490893356.21-145675384136708="` echo $HOME/.ansible/tmp/ansible-tmp-1490893356.21-145675384136708 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpCekFjn TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893356.21-145675384136708/file
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893356.21-145675384136708/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893356.21-145675384136708/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893356.21-145675384136708/file; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893356.21-145675384136708/" > /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-1490893356.4-111607571317674 `" && echo ansible-tmp-1490893356.4-111607571317674="` echo $HOME/.ansible/tmp/ansible-tmp-1490893356.4-111607571317674 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp6BKTQc TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893356.4-111607571317674/stat
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893356.4-111607571317674/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893356.4-111607571317674/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893356.4-111607571317674/stat; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893356.4-111607571317674/" > /dev/null 2>&1 && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893356.53-30631496586751 `" && echo ansible-tmp-1490893356.53-30631496586751="` echo $HOME/.ansible/tmp/ansible-tmp-1490893356.53-30631496586751 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp_Wyim0 TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893356.53-30631496586751/source
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893356.53-30631496586751/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893356.53-30631496586751/source && sleep 0'
<127.0.0.1> PUT /tmp/tmp2uDNqn TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893356.53-30631496586751/copy
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893356.53-30631496586751/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893356.53-30631496586751/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893356.53-30631496586751/copy; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893356.53-30631496586751/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "checksum": "484de7f0889a81ab4b336cebdea42b36a1b890b5", "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": "tmp_Wyim0", "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1490893356.53-30631496586751/source", "validate": null}}, "md5sum": "e0f2789c95a6cb5d82bf8cef2cebb7c7", "mode": "0644", "owner": "root", "size": 2230, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1490893356.53-30631496586751/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-1490893356.8-41604674456337 `" && echo ansible-tmp-1490893356.8-41604674456337="` echo $HOME/.ansible/tmp/ansible-tmp-1490893356.8-41604674456337 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpfckJFm TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893356.8-41604674456337/file
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893356.8-41604674456337/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893356.8-41604674456337/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893356.8-41604674456337/file; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893356.8-41604674456337/" > /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", "size": 2230, "state": "file", "uid": 1000}
PLAY RECAP *********************************************************************
127.0.0.1 : ok=83 changed=24 unreachable=0 failed=0
+ /usr/local/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-1490893360.28-215702475874836 `" && echo ansible-tmp-1490893360.28-215702475874836="` echo $HOME/.ansible/tmp/ansible-tmp-1490893360.28-215702475874836 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpbNvQxf TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893360.28-215702475874836/setup
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893360.28-215702475874836/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893360.28-215702475874836/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893360.28-215702475874836/setup; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893360.28-215702475874836/" > /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-1490893361.07-20883176921465 `" && echo ansible-tmp-1490893361.07-20883176921465="` echo $HOME/.ansible/tmp/ansible-tmp-1490893361.07-20883176921465 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpRjLufl TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893361.07-20883176921465/file
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893361.07-20883176921465/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893361.07-20883176921465/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893361.07-20883176921465/file; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893361.07-20883176921465/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "diff": {"after": {"path": "/var/lib/misc/dnsmasq.leases", "state": "absent"}, "before": {"path": "/var/lib/misc/dnsmasq.leases", "state": "file"}}, "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-1490893361.3-132689270335890 `" && echo ansible-tmp-1490893361.3-132689270335890="` echo $HOME/.ansible/tmp/ansible-tmp-1490893361.3-132689270335890 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpOVJEjG TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893361.3-132689270335890/setup
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893361.3-132689270335890/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893361.3-132689270335890/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893361.3-132689270335890/setup; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893361.3-132689270335890/" > /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-1490893362.18-148777926461594 `" && echo ansible-tmp-1490893362.18-148777926461594="` echo $HOME/.ansible/tmp/ansible-tmp-1490893362.18-148777926461594 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpa1lyb8 TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893362.18-148777926461594/file
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893362.18-148777926461594/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893362.18-148777926461594/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893362.18-148777926461594/file; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893362.18-148777926461594/" > /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", "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-1490893362.53-168362993578340 `" && echo ansible-tmp-1490893362.53-168362993578340="` echo $HOME/.ansible/tmp/ansible-tmp-1490893362.53-168362993578340 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpHcV69c TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893362.53-168362993578340/git
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893362.53-168362993578340/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893362.53-168362993578340/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893362.53-168362993578340/git; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893362.53-168362993578340/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => (item={u'git_branch': u'master', u'git_folder': u'/opt/stack/ironic', u'name': u'ironic', u'git_url': u'https://git.openstack.org/openstack/ironic'}) => {"after": "76d21c710a6d564be0957efbbcb0cb887d16bef9", "before": null, "changed": true, "invocation": {"module_args": {"accept_hostkey": false, "bare": false, "clone": true, "depth": null, "dest": "/opt/stack/ironic", "executable": null, "force": true, "key_file": null, "recursive": true, "reference": null, "refspec": null, "remote": "origin", "repo": "https://git.openstack.org/openstack/ironic", "ssh_opts": null, "track_submodules": false, "update": true, "verify_commit": false, "version": "master"}, "module_name": "git"}, "item": {"git_branch": "master", "git_folder": "/opt/stack/ironic", "git_url": "https://git.openstack.org/openstack/ironic", "name": "ironic"}, "warnings": []}
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893373.66-191262831956898 `" && echo ansible-tmp-1490893373.66-191262831956898="` echo $HOME/.ansible/tmp/ansible-tmp-1490893373.66-191262831956898 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpAt3QS1 TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893373.66-191262831956898/git
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893373.66-191262831956898/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893373.66-191262831956898/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893373.66-191262831956898/git; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893373.66-191262831956898/" > /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-1490893378.25-241859784940841 `" && echo ansible-tmp-1490893378.25-241859784940841="` echo $HOME/.ansible/tmp/ansible-tmp-1490893378.25-241859784940841 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpAsNmjZ TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893378.25-241859784940841/git
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893378.25-241859784940841/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893378.25-241859784940841/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893378.25-241859784940841/git; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893378.25-241859784940841/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => (item={u'git_branch': u'master', u'git_folder': u'/opt/stack/shade', u'name': u'shade', u'git_url': u'https://git.openstack.org/openstack-infra/shade'}) => {"after": "4fd20a7e5d3bce4f8adac1c842f52c13fcd333df", "before": null, "changed": true, "invocation": {"module_args": {"accept_hostkey": false, "bare": false, "clone": true, "depth": null, "dest": "/opt/stack/shade", "executable": null, "force": true, "key_file": null, "recursive": true, "reference": null, "refspec": null, "remote": "origin", "repo": "https://git.openstack.org/openstack-infra/shade", "ssh_opts": null, "track_submodules": false, "update": true, "verify_commit": false, "version": "master"}, "module_name": "git"}, "item": {"git_branch": "master", "git_folder": "/opt/stack/shade", "git_url": "https://git.openstack.org/openstack-infra/shade", "name": "shade"}, "warnings": []}
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893383.77-257560942962579 `" && echo ansible-tmp-1490893383.77-257560942962579="` echo $HOME/.ansible/tmp/ansible-tmp-1490893383.77-257560942962579 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp2lyF4n TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893383.77-257560942962579/git
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893383.77-257560942962579/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893383.77-257560942962579/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893383.77-257560942962579/git; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893383.77-257560942962579/" > /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-1490893389.72-171290632507827 `" && echo ansible-tmp-1490893389.72-171290632507827="` echo $HOME/.ansible/tmp/ansible-tmp-1490893389.72-171290632507827 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpV1ZeNj TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893389.72-171290632507827/git
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893389.72-171290632507827/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893389.72-171290632507827/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893389.72-171290632507827/git; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893389.72-171290632507827/" > /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-1490893396.29-145528055466494 `" && echo ansible-tmp-1490893396.29-145528055466494="` echo $HOME/.ansible/tmp/ansible-tmp-1490893396.29-145528055466494 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpgqooU0 TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893396.29-145528055466494/git
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893396.29-145528055466494/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893396.29-145528055466494/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893396.29-145528055466494/git; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893396.29-145528055466494/" > /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-1490893399.02-87721655019537 `" && echo ansible-tmp-1490893399.02-87721655019537="` echo $HOME/.ansible/tmp/ansible-tmp-1490893399.02-87721655019537 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpgdJZB0 TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893399.02-87721655019537/git
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893399.02-87721655019537/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893399.02-87721655019537/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893399.02-87721655019537/git; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893399.02-87721655019537/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => (item={u'git_branch': u'master', u'git_folder': u'/opt/stack/requirements', u'name': u'requirements', u'git_url': u'https://git.openstack.org/openstack/requirements'}) => {"after": "94f903b47580febe4b4509b8b48f8cd32a80a7c6", "before": null, "changed": true, "invocation": {"module_args": {"accept_hostkey": false, "bare": false, "clone": true, "depth": null, "dest": "/opt/stack/requirements", "executable": null, "force": true, "key_file": null, "recursive": true, "reference": null, "refspec": null, "remote": "origin", "repo": "https://git.openstack.org/openstack/requirements", "ssh_opts": null, "track_submodules": false, "update": true, "verify_commit": false, "version": "master"}, "module_name": "git"}, "item": {"git_branch": "master", "git_folder": "/opt/stack/requirements", "git_url": "https://git.openstack.org/openstack/requirements", "name": "requirements"}, "warnings": []}
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893404.79-279374622570353 `" && echo ansible-tmp-1490893404.79-279374622570353="` echo $HOME/.ansible/tmp/ansible-tmp-1490893404.79-279374622570353 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpFayksB TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893404.79-279374622570353/git
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893404.79-279374622570353/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893404.79-279374622570353/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893404.79-279374622570353/git; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893404.79-279374622570353/" > /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-1490893407.78-206880171158628 `" && echo ansible-tmp-1490893407.78-206880171158628="` echo $HOME/.ansible/tmp/ansible-tmp-1490893407.78-206880171158628 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpgpDJ8W TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893407.78-206880171158628/git
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893407.78-206880171158628/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893407.78-206880171158628/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893407.78-206880171158628/git; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893407.78-206880171158628/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => (item={u'git_branch': u'master', u'git_folder': u'/opt/stack/keystone', u'name': u'keystone', u'git_url': u'https://git.openstack.org/openstack/keystone'}) => {"after": "2481ceb5438023891c0d15b5d274a90aef3e5c00", "before": null, "changed": true, "invocation": {"module_args": {"accept_hostkey": false, "bare": false, "clone": true, "depth": null, "dest": "/opt/stack/keystone", "executable": null, "force": true, "key_file": null, "recursive": true, "reference": null, "refspec": null, "remote": "origin", "repo": "https://git.openstack.org/openstack/keystone", "ssh_opts": null, "track_submodules": false, "update": true, "verify_commit": false, "version": "master"}, "module_name": "git"}, "item": {"git_branch": "master", "git_folder": "/opt/stack/keystone", "git_url": "https://git.openstack.org/openstack/keystone", "name": "keystone"}, "warnings": []}
TASK [bifrost-prep-for-install : Copy from local path] *************************
task path: /opt/bifrost/playbooks/roles/bifrost-prep-for-install/tasks/main.yml:35
skipping: [127.0.0.1] => (item={u'git_branch': u'master', u'git_folder': u'/opt/stack/ironic', u'name': u'ironic', u'git_url': u'https://git.openstack.org/openstack/ironic'}) => {"changed": false, "item": {"git_branch": "master", "git_folder": "/opt/stack/ironic", "git_url": "https://git.openstack.org/openstack/ironic", "name": "ironic"}, "skip_reason": "Conditional check failed", "skipped": true}
skipping: [127.0.0.1] => (item={u'git_branch': u'master', u'git_folder': u'/opt/stack/python-ironicclient', u'name': u'ironicclient', u'git_url': u'https://git.openstack.org/openstack/python-ironicclient'}) => {"changed": false, "item": {"git_branch": "master", "git_folder": "/opt/stack/python-ironicclient", "git_url": "https://git.openstack.org/openstack/python-ironicclient", "name": "ironicclient"}, "skip_reason": "Conditional check failed", "skipped": true}
skipping: [127.0.0.1] => (item={u'git_branch': u'master', u'git_folder': u'/opt/stack/shade', u'name': u'shade', u'git_url': u'https://git.openstack.org/openstack-infra/shade'}) => {"changed": false, "item": {"git_branch": "master", "git_folder": "/opt/stack/shade", "git_url": "https://git.openstack.org/openstack-infra/shade", "name": "shade"}, "skip_reason": "Conditional check failed", "skipped": true}
skipping: [127.0.0.1] => (item={u'git_branch': u'master', u'git_folder': u'/opt/stack/diskimage-builder', u'name': u'dib', u'git_url': u'https://git.openstack.org/openstack/diskimage-builder'}) => {"changed": false, "item": {"git_branch": "master", "git_folder": "/opt/stack/diskimage-builder", "git_url": "https://git.openstack.org/openstack/diskimage-builder", "name": "dib"}, "skip_reason": "Conditional check failed", "skipped": true}
skipping: [127.0.0.1] => (item={u'git_branch': u'master', u'git_folder': u'/opt/stack/ironic-inspector', u'name': u'ironicinspector', u'git_url': u'https://github.com/openstack/ironic-inspector'}) => {"changed": false, "item": {"git_branch": "master", "git_folder": "/opt/stack/ironic-inspector", "git_url": "https://github.com/openstack/ironic-inspector", "name": "ironicinspector"}, "skip_reason": "Conditional check failed", "skipped": true}
skipping: [127.0.0.1] => (item={u'git_branch': u'master', u'git_folder': u'/opt/stack/python-ironic-inspector-client', u'name': u'ironicinspectorclient', u'git_url': u'https://github.com/openstack/python-ironic-inspector-client'}) => {"changed": false, "item": {"git_branch": "master", "git_folder": "/opt/stack/python-ironic-inspector-client", "git_url": "https://github.com/openstack/python-ironic-inspector-client", "name": "ironicinspectorclient"}, "skip_reason": "Conditional check failed", "skipped": true}
skipping: [127.0.0.1] => (item={u'git_branch': u'master', u'git_folder': u'/opt/stack/requirements', u'name': u'requirements', u'git_url': u'https://git.openstack.org/openstack/requirements'}) => {"changed": false, "item": {"git_branch": "master", "git_folder": "/opt/stack/requirements", "git_url": "https://git.openstack.org/openstack/requirements", "name": "requirements"}, "skip_reason": "Conditional check failed", "skipped": true}
skipping: [127.0.0.1] => (item={u'git_branch': u'master', u'git_folder': u'/opt/stack/ironic-staging-drivers', u'name': u'ironic-staging-drivers', u'git_url': u'https://git.openstack.org/openstack/ironic-staging-drivers'}) => {"changed": false, "item": {"git_branch": "master", "git_folder": "/opt/stack/ironic-staging-drivers", "git_url": "https://git.openstack.org/openstack/ironic-staging-drivers", "name": "ironic-staging-drivers"}, "skip_reason": "Conditional check failed", "skipped": true}
skipping: [127.0.0.1] => (item={u'git_branch': u'master', u'git_folder': u'/opt/stack/keystone', u'name': u'keystone', u'git_url': u'https://git.openstack.org/openstack/keystone'}) => {"changed": false, "item": {"git_branch": "master", "git_folder": "/opt/stack/keystone", "git_url": "https://git.openstack.org/openstack/keystone", "name": "keystone"}, "skip_reason": "Conditional check failed", "skipped": true}
PLAY [Executes install, enrollment, and testing in one playbook] ***************
TASK [setup] *******************************************************************
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893423.15-114446620376271 `" && echo ansible-tmp-1490893423.15-114446620376271="` echo $HOME/.ansible/tmp/ansible-tmp-1490893423.15-114446620376271 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpx7ueJn TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893423.15-114446620376271/setup
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893423.15-114446620376271/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893423.15-114446620376271/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893423.15-114446620376271/setup; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893423.15-114446620376271/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1]
TASK [bifrost-ironic-install : Ensure openSUSE Tumbleweed has the correct family] ***
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/main.yml:21
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-ironic-install : Ensure openSUSE Leap has the correct family] ****
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/main.yml:26
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-ironic-install : Include OS family-specific defaults] ************
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/main.yml:35
ok: [127.0.0.1] => (item=/opt/bifrost/playbooks/roles/bifrost-ironic-install/templates/../defaults/required_defaults_Debian_family.yml) => {"ansible_facts": {"init_dest_dir": "/etc/init/", "init_ext": ".conf", "init_template": "upstart_template.j2", "ipxe_dir": "/usr/lib/ipxe/", "ipxe_full_binary": "ipxe.pxe", "ironic_rootwrap_dir": "/usr/local/bin/", "iscsi_client_package": "open-iscsi", "mysql_service_name": "mysql", "nginx_user": "www-data", "required_packages": ["mysql-server", "rabbitmq-server", "python-dev", "python-mysqldb", "python-configparser", "libffi-dev", "libxslt1-dev", "libssl-dev", "libxml2-dev", "ipxe", "tftpd-hpa", "tftp-hpa", "syslinux-common", "syslinux", "xinetd", "parted", "ipmitool", "psmisc", "nginx", "wget", "genisoimage", "kpartx", "qemu-utils", "python-openwsman", "debootstrap", "uuid-runtime", "curl", "dnsmasq", "socat", "python-pip", "gcc"], "syslinux_tftp_dir": "/usr/lib/syslinux/", "tftp_service_name": "tftpd-hpa"}, "invocation": {"module_args": {"_raw_params": "/opt/bifrost/playbooks/roles/bifrost-ironic-install/templates/../defaults/required_defaults_Debian_family.yml"}, "module_name": "include_vars"}, "item": "/opt/bifrost/playbooks/roles/bifrost-ironic-install/templates/../defaults/required_defaults_Debian_family.yml"}
TASK [bifrost-ironic-install : Include OS distribution-specific defaults] ******
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/main.yml:41
ok: [127.0.0.1] => (item=/opt/bifrost/playbooks/roles/bifrost-ironic-install/templates/../defaults/dummy-defaults.yml) => {"ansible_facts": {}, "invocation": {"module_args": {"_raw_params": "/opt/bifrost/playbooks/roles/bifrost-ironic-install/templates/../defaults/dummy-defaults.yml"}, "module_name": "include_vars"}, "item": "/opt/bifrost/playbooks/roles/bifrost-ironic-install/templates/../defaults/dummy-defaults.yml"}
TASK [bifrost-ironic-install : Include OS version-specific defaults] ***********
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/main.yml:47
ok: [127.0.0.1] => (item=/opt/bifrost/playbooks/roles/bifrost-ironic-install/templates/../defaults/dummy-defaults.yml) => {"ansible_facts": {}, "invocation": {"module_args": {"_raw_params": "/opt/bifrost/playbooks/roles/bifrost-ironic-install/templates/../defaults/dummy-defaults.yml"}, "module_name": "include_vars"}, "item": "/opt/bifrost/playbooks/roles/bifrost-ironic-install/templates/../defaults/dummy-defaults.yml"}
TASK [bifrost-ironic-install : Update Package Cache] ***************************
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/install.yml:16
<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-1490893425.59-87776125987192 `" && echo ansible-tmp-1490893425.59-87776125987192="` echo $HOME/.ansible/tmp/ansible-tmp-1490893425.59-87776125987192 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp0BPvA8 TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893425.59-87776125987192/apt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893425.59-87776125987192/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893425.59-87776125987192/apt && 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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893425.59-87776125987192/apt; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893425.59-87776125987192/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"cache_update_time": 1490893426, "cache_updated": true, "changed": false, "invocation": {"module_args": {"allow_unauthenticated": false, "autoremove": false, "cache_valid_time": null, "deb": null, "default_release": null, "dpkg_options": "force-confdef,force-confold", "force": false, "install_recommends": null, "only_upgrade": false, "package": null, "purge": false, "state": "present", "update_cache": true, "upgrade": null}, "module_name": "apt"}}
TASK [bifrost-ironic-install : Install packages] *******************************
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/install.yml:20
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893434.77-156886623310480 `" && echo ansible-tmp-1490893434.77-156886623310480="` echo $HOME/.ansible/tmp/ansible-tmp-1490893434.77-156886623310480 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmppelZeI TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893434.77-156886623310480/apt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893434.77-156886623310480/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893434.77-156886623310480/apt && 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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893434.77-156886623310480/apt; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893434.77-156886623310480/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => (item=[u'mysql-server', u'rabbitmq-server', u'python-dev', u'python-mysqldb', u'python-configparser', u'libffi-dev', u'libxslt1-dev', u'libssl-dev', u'libxml2-dev', u'ipxe', u'tftpd-hpa', u'tftp-hpa', u'syslinux-common', u'syslinux', u'xinetd', u'parted', u'ipmitool', u'psmisc', u'nginx', u'wget', u'genisoimage', u'kpartx', u'qemu-utils', u'python-openwsman', u'debootstrap', u'uuid-runtime', u'curl', u'dnsmasq', u'socat', u'python-pip', u'gcc']) => {"cache_update_time": 0, "cache_updated": false, "changed": false, "invocation": {"module_args": {"allow_unauthenticated": false, "autoremove": false, "cache_valid_time": null, "deb": null, "default_release": null, "dpkg_options": "force-confdef,force-confold", "force": false, "install_recommends": null, "name": ["mysql-server", "rabbitmq-server", "python-dev", "python-mysqldb", "python-configparser", "libffi-dev", "libxslt1-dev", "libssl-dev", "libxml2-dev", "ipxe", "tftpd-hpa", "tftp-hpa", "syslinux-common", "syslinux", "xinetd", "parted", "ipmitool", "psmisc", "nginx", "wget", "genisoimage", "kpartx", "qemu-utils", "python-openwsman", "debootstrap", "uuid-runtime", "curl", "dnsmasq", "socat", "python-pip", "gcc"], "only_upgrade": false, "package": ["mysql-server", "rabbitmq-server", "python-dev", "python-mysqldb", "python-configparser", "libffi-dev", "libxslt1-dev", "libssl-dev", "libxml2-dev", "ipxe", "tftpd-hpa", "tftp-hpa", "syslinux-common", "syslinux", "xinetd", "parted", "ipmitool", "psmisc", "nginx", "wget", "genisoimage", "kpartx", "qemu-utils", "python-openwsman", "debootstrap", "uuid-runtime", "curl", "dnsmasq", "socat", "python-pip", "gcc"], "purge": false, "state": "present", "update_cache": false, "upgrade": null}, "module_name": "apt"}, "item": ["mysql-server", "rabbitmq-server", "python-dev", "python-mysqldb", "python-configparser", "libffi-dev", "libxslt1-dev", "libssl-dev", "libxml2-dev", "ipxe", "tftpd-hpa", "tftp-hpa", "syslinux-common", "syslinux", "xinetd", "parted", "ipmitool", "psmisc", "nginx", "wget", "genisoimage", "kpartx", "qemu-utils", "python-openwsman", "debootstrap", "uuid-runtime", "curl", "dnsmasq", "socat", "python-pip", "gcc"]}
TASK [bifrost-ironic-install : Install Ubuntu 14.10 (and later) packages] ******
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/install.yml:25
skipping: [127.0.0.1] => (item=[]) => {"changed": false, "item": [], "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-ironic-install : If running in CI, set source install facts just to be sure] ***
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/install.yml:33
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-ironic-install : Ensure /opt/stack is present] *******************
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/install.yml:42
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893436.37-263636533580640 `" && echo ansible-tmp-1490893436.37-263636533580640="` echo $HOME/.ansible/tmp/ansible-tmp-1490893436.37-263636533580640 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmprbsqf2 TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893436.37-263636533580640/file
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893436.37-263636533580640/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893436.37-263636533580640/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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893436.37-263636533580640/file; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893436.37-263636533580640/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"changed": false, "diff": {"after": {"path": "/opt/stack"}, "before": {"path": "/opt/stack"}}, "gid": 0, "group": "root", "invocation": {"module_args": {"backup": null, "content": null, "delimiter": null, "diff_peek": null, "directory_mode": null, "follow": false, "force": false, "group": "root", "mode": null, "name": "/opt/stack", "original_basename": null, "owner": "root", "path": "/opt/stack", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "validate": null}, "module_name": "file"}, "mode": "0755", "owner": "root", "path": "/opt/stack", "size": 4096, "state": "directory", "uid": 0}
TASK [bifrost-ironic-install : set virtualenv_command] *************************
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml:17
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-ironic-install : Install proliantutils package from pip] *********
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml:22
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-ironic-install : Install from {{ sourcedir }} using pip] *********
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml:38
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-ironic-install : set virtualenv_command] *************************
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml:17
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-ironic-install : Install UcsSdk package from pip] ****************
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml:22
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-ironic-install : Install from {{ sourcedir }} using pip] *********
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml:38
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-ironic-install : Install iSCSI client if PXE driver support is enabled] ***
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/install.yml:57
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893437.33-18464509554673 `" && echo ansible-tmp-1490893437.33-18464509554673="` echo $HOME/.ansible/tmp/ansible-tmp-1490893437.33-18464509554673 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp4t5kEU TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893437.33-18464509554673/apt
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893437.33-18464509554673/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893437.33-18464509554673/apt && 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 /home/jenkins/.ansible/tmp/ansible-tmp-1490893437.33-18464509554673/apt; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893437.33-18464509554673/" > /dev/null 2>&1 && sleep 0'
ok: [127.0.0.1] => {"cache_update_time": 0, "cache_updated": false, "changed": false, "invocation": {"module_args": {"allow_unauthenticated": false, "autoremove": false, "cache_valid_time": null, "deb": null, "default_release": null, "dpkg_options": "force-confdef,force-confold", "force": false, "install_recommends": null, "name": "open-iscsi", "only_upgrade": false, "package": ["open-iscsi"], "purge": false, "state": "present", "update_cache": false, "upgrade": null}, "module_name": "apt"}}
TASK [bifrost-ironic-install : install shade from PyPI] ************************
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/install.yml:64
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-ironic-install : install shade from source] **********************
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/install.yml:67
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893438.41-129333762397157 `" && echo ansible-tmp-1490893438.41-129333762397157="` echo $HOME/.ansible/tmp/ansible-tmp-1490893438.41-129333762397157 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp5_qtGl TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893438.41-129333762397157/command
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893438.41-129333762397157/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893438.41-129333762397157/command && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 http_proxy='"'"''"'"' LC_MESSAGES=en_US.UTF-8 https_proxy='"'"''"'"' /usr/bin/python /home/jenkins/.ansible/tmp/ansible-tmp-1490893438.41-129333762397157/command; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893438.41-129333762397157/" > /dev/null 2>&1 && sleep 0'
changed: [127.0.0.1] => {"changed": true, "cmd": ["/usr/bin/python", "-m", "pip", "install", "/opt/stack/shade"], "delta": "0:00:02.847961", "end": "2017-03-30 10:04:01.392966", "invocation": {"module_args": {"_raw_params": "/usr/bin/python -m pip install /opt/stack/shade", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 0, "start": "2017-03-30 10:03:58.545005", "stderr": "The directory '/home/jenkins/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.\nThe directory '/home/jenkins/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.\n/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.\n SNIMissingWarning\n/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning.\n InsecurePlatformWarning", "stdout": "Processing /opt/stack/shade\n Requirement already satisfied (use --upgrade to upgrade): shade==1.18.2.dev17 from file:///opt/stack/shade in /usr/local/lib/python2.7/dist-packages\nRequirement already satisfied: pbr>=2.0.0 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)\nRequirement already satisfied: munch>=2.1.0 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)\nRequirement already satisfied: decorator>=3.4.0 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)\nRequirement already satisfied: jmespath>=0.9.0 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)\nRequirement already satisfied: jsonpatch>=1.1 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)\nRequirement already satisfied: ipaddress>=1.0.7 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)\nRequirement already satisfied: os-client-config>=1.22.0 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)\nRequirement already satisfied: requestsexceptions>=1.2.0 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)\nRequirement already satisfied: six>=1.9.0 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)\nRequirement already satisfied: futures>=3.0 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)\nRequirement already satisfied: keystoneauth1>=2.18.0 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)\nRequirement already satisfied: netifaces>=0.10.4 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)\nRequirement already satisfied: python-novaclient>=7.1.0 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)\nRequirement already satisfied: python-keystoneclient>=3.8.0 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)\nRequirement already satisfied: python-cinderclient>=2.0.1 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)\nRequirement already satisfied: python-neutronclient>=5.1.0 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)\nRequirement already satisfied: python-ironicclient>=1.11.0 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)\nRequirement already satisfied: python-designateclient>=1.5.0 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)\nRequirement already satisfied: dogpile.cache>=0.6.2 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)\nRequirement already satisfied: jsonpointer>=1.9 in /usr/local/lib/python2.7/dist-packages (from jsonpatch>=1.1->shade==1.18.2.dev17)\nRequirement already satisfied: PyYAML>=3.1.0 in /usr/local/lib/python2.7/dist-packages (from os-client-config>=1.22.0->shade==1.18.2.dev17)\nRequirement already satisfied: appdirs>=1.3.0 in /usr/local/lib/python2.7/dist-packages (from os-client-config>=1.22.0->shade==1.18.2.dev17)\nRequirement already satisfied: iso8601>=0.1.11 in /usr/local/lib/python2.7/dist-packages (from keystoneauth1>=2.18.0->shade==1.18.2.dev17)\nRequirement already satisfied: stevedore>=1.20.0 in /usr/local/lib/python2.7/dist-packages (from keystoneauth1>=2.18.0->shade==1.18.2.dev17)\nRequirement already satisfied: positional>=1.1.1 in /usr/local/lib/python2.7/dist-packages (from keystoneauth1>=2.18.0->shade==1.18.2.dev17)\nRequirement already satisfied: requests!=2.12.2,!=2.13.0,>=2.10.0 in /usr/local/lib/python2.7/dist-packages (from keystoneauth1>=2.18.0->shade==1.18.2.dev17)\nRequirement already satisfied: PrettyTable<0.8,>=0.7.1 in /usr/local/lib/python2.7/dist-packages (from python-novaclient>=7.1.0->shade==1.18.2.dev17)\nRequirement already satisfied: oslo.serialization>=1.10.0 in /usr/local/lib/python2.7/dist-packages (from python-novaclient>=7.1.0->shade==1.18.2.dev17)\nRequirement already satisfied: oslo.utils>=3.18.0 in /usr/local/lib/python2.7/dist-packages (from python-novaclient>=7.1.0->shade==1.18.2.dev17)\nRequirement already satisfied: simplejson>=2.2.0 in /usr/local/lib/python2.7/dist-packages (from python-novaclient>=7.1.0->shade==1.18.2.dev17)\nRequirement already satisfied: oslo.i18n>=2.1.0 in /usr/local/lib/python2.7/dist-packages (from python-novaclient>=7.1.0->shade==1.18.2.dev17)\nRequirement already satisfied: Babel>=2.3.4 in /usr/local/lib/python2.7/dist-packages (from python-novaclient>=7.1.0->shade==1.18.2.dev17)\nRequirement already satisfied: debtcollector>=1.2.0 in /usr/local/lib/python2.7/dist-packages (from python-keystoneclient>=3.8.0->shade==1.18.2.dev17)\nRequirement already satisfied: oslo.config!=3.18.0,>=3.14.0 in /usr/local/lib/python2.7/dist-packages (from python-keystoneclient>=3.8.0->shade==1.18.2.dev17)\nRequirement already satisfied: osc-lib>=1.2.0 in /usr/local/lib/python2.7/dist-packages (from python-neutronclient>=5.1.0->shade==1.18.2.dev17)\nRequirement already satisfied: netaddr!=0.7.16,>=0.7.13 in /usr/local/lib/python2.7/dist-packages (from python-neutronclient>=5.1.0->shade==1.18.2.dev17)\nRequirement already satisfied: cliff>=2.3.0 in /usr/local/lib/python2.7/dist-packages (from python-neutronclient>=5.1.0->shade==1.18.2.dev17)\nRequirement already satisfied: jsonschema!=2.5.0,<3.0.0,>=2.0.0 in /usr/local/lib/python2.7/dist-packages (from python-ironicclient>=1.11.0->shade==1.18.2.dev17)\nRequirement already satisfied: python-openstackclient>=3.3.0 in /usr/local/lib/python2.7/dist-packages (from python-ironicclient>=1.11.0->shade==1.18.2.dev17)\nRequirement already satisfied: wrapt in /usr/local/lib/python2.7/dist-packages (from positional>=1.1.1->keystoneauth1>=2.18.0->shade==1.18.2.dev17)\nRequirement already satisfied: pytz>=2013.6 in /usr/local/lib/python2.7/dist-packages (from oslo.serialization>=1.10.0->python-novaclient>=7.1.0->shade==1.18.2.dev17)\nRequirement already satisfied: msgpack-python>=0.4.0 in /usr/local/lib/python2.7/dist-packages (from oslo.serialization>=1.10.0->python-novaclient>=7.1.0->shade==1.18.2.dev17)\nRequirement already satisfied: funcsigs>=0.4; python_version == \"2.7\" or python_version == \"2.6\" in /usr/local/lib/python2.7/dist-packages (from oslo.utils>=3.18.0->python-novaclient>=7.1.0->shade==1.18.2.dev17)\nRequirement already satisfied: monotonic>=0.6 in /usr/local/lib/python2.7/dist-packages (from oslo.utils>=3.18.0->python-novaclient>=7.1.0->shade==1.18.2.dev17)\nRequirement already satisfied: pyparsing>=2.1.0 in /usr/local/lib/python2.7/dist-packages (from oslo.utils>=3.18.0->python-novaclient>=7.1.0->shade==1.18.2.dev17)\nRequirement already satisfied: rfc3986>=0.3.1 in /usr/local/lib/python2.7/dist-packages (from oslo.config!=3.18.0,>=3.14.0->python-keystoneclient>=3.8.0->shade==1.18.2.dev17)\nRequirement already satisfied: cmd2>=0.6.7 in /usr/local/lib/python2.7/dist-packages (from cliff>=2.3.0->python-neutronclient>=5.1.0->shade==1.18.2.dev17)\nRequirement already satisfied: unicodecsv>=0.8.0; python_version < \"3.0\" in /usr/local/lib/python2.7/dist-packages (from cliff>=2.3.0->python-neutronclient>=5.1.0->shade==1.18.2.dev17)\nRequirement already satisfied: functools32; python_version == \"2.7\" in /usr/local/lib/python2.7/dist-packages (from jsonschema!=2.5.0,<3.0.0,>=2.0.0->python-ironicclient>=1.11.0->shade==1.18.2.dev17)\nRequirement already satisfied: openstacksdk>=0.9.13 in /usr/local/lib/python2.7/dist-packages (from python-openstackclient>=3.3.0->python-ironicclient>=1.11.0->shade==1.18.2.dev17)\nRequirement already satisfied: python-glanceclient>=2.5.0 in /usr/local/lib/python2.7/dist-packages (from python-openstackclient>=3.3.0->python-ironicclient>=1.11.0->shade==1.18.2.dev17)\nRequirement already satisfied: deprecation>=1.0 in /usr/local/lib/python2.7/dist-packages (from openstacksdk>=0.9.13->python-openstackclient>=3.3.0->python-ironicclient>=1.11.0->shade==1.18.2.dev17)\nRequirement already satisfied: warlock!=1.3.0,<2,>=1.0.1 in /usr/local/lib/python2.7/dist-packages (from python-glanceclient>=2.5.0->python-openstackclient>=3.3.0->python-ironicclient>=1.11.0->shade==1.18.2.dev17)", "stdout_lines": ["Processing /opt/stack/shade", " Requirement already satisfied (use --upgrade to upgrade): shade==1.18.2.dev17 from file:///opt/stack/shade in /usr/local/lib/python2.7/dist-packages", "Requirement already satisfied: pbr>=2.0.0 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)", "Requirement already satisfied: munch>=2.1.0 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)", "Requirement already satisfied: decorator>=3.4.0 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)", "Requirement already satisfied: jmespath>=0.9.0 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)", "Requirement already satisfied: jsonpatch>=1.1 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)", "Requirement already satisfied: ipaddress>=1.0.7 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)", "Requirement already satisfied: os-client-config>=1.22.0 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)", "Requirement already satisfied: requestsexceptions>=1.2.0 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)", "Requirement already satisfied: six>=1.9.0 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)", "Requirement already satisfied: futures>=3.0 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)", "Requirement already satisfied: keystoneauth1>=2.18.0 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)", "Requirement already satisfied: netifaces>=0.10.4 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)", "Requirement already satisfied: python-novaclient>=7.1.0 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)", "Requirement already satisfied: python-keystoneclient>=3.8.0 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)", "Requirement already satisfied: python-cinderclient>=2.0.1 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)", "Requirement already satisfied: python-neutronclient>=5.1.0 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)", "Requirement already satisfied: python-ironicclient>=1.11.0 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)", "Requirement already satisfied: python-designateclient>=1.5.0 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)", "Requirement already satisfied: dogpile.cache>=0.6.2 in /usr/local/lib/python2.7/dist-packages (from shade==1.18.2.dev17)", "Requirement already satisfied: jsonpointer>=1.9 in /usr/local/lib/python2.7/dist-packages (from jsonpatch>=1.1->shade==1.18.2.dev17)", "Requirement already satisfied: PyYAML>=3.1.0 in /usr/local/lib/python2.7/dist-packages (from os-client-config>=1.22.0->shade==1.18.2.dev17)", "Requirement already satisfied: appdirs>=1.3.0 in /usr/local/lib/python2.7/dist-packages (from os-client-config>=1.22.0->shade==1.18.2.dev17)", "Requirement already satisfied: iso8601>=0.1.11 in /usr/local/lib/python2.7/dist-packages (from keystoneauth1>=2.18.0->shade==1.18.2.dev17)", "Requirement already satisfied: stevedore>=1.20.0 in /usr/local/lib/python2.7/dist-packages (from keystoneauth1>=2.18.0->shade==1.18.2.dev17)", "Requirement already satisfied: positional>=1.1.1 in /usr/local/lib/python2.7/dist-packages (from keystoneauth1>=2.18.0->shade==1.18.2.dev17)", "Requirement already satisfied: requests!=2.12.2,!=2.13.0,>=2.10.0 in /usr/local/lib/python2.7/dist-packages (from keystoneauth1>=2.18.0->shade==1.18.2.dev17)", "Requirement already satisfied: PrettyTable<0.8,>=0.7.1 in /usr/local/lib/python2.7/dist-packages (from python-novaclient>=7.1.0->shade==1.18.2.dev17)", "Requirement already satisfied: oslo.serialization>=1.10.0 in /usr/local/lib/python2.7/dist-packages (from python-novaclient>=7.1.0->shade==1.18.2.dev17)", "Requirement already satisfied: oslo.utils>=3.18.0 in /usr/local/lib/python2.7/dist-packages (from python-novaclient>=7.1.0->shade==1.18.2.dev17)", "Requirement already satisfied: simplejson>=2.2.0 in /usr/local/lib/python2.7/dist-packages (from python-novaclient>=7.1.0->shade==1.18.2.dev17)", "Requirement already satisfied: oslo.i18n>=2.1.0 in /usr/local/lib/python2.7/dist-packages (from python-novaclient>=7.1.0->shade==1.18.2.dev17)", "Requirement already satisfied: Babel>=2.3.4 in /usr/local/lib/python2.7/dist-packages (from python-novaclient>=7.1.0->shade==1.18.2.dev17)", "Requirement already satisfied: debtcollector>=1.2.0 in /usr/local/lib/python2.7/dist-packages (from python-keystoneclient>=3.8.0->shade==1.18.2.dev17)", "Requirement already satisfied: oslo.config!=3.18.0,>=3.14.0 in /usr/local/lib/python2.7/dist-packages (from python-keystoneclient>=3.8.0->shade==1.18.2.dev17)", "Requirement already satisfied: osc-lib>=1.2.0 in /usr/local/lib/python2.7/dist-packages (from python-neutronclient>=5.1.0->shade==1.18.2.dev17)", "Requirement already satisfied: netaddr!=0.7.16,>=0.7.13 in /usr/local/lib/python2.7/dist-packages (from python-neutronclient>=5.1.0->shade==1.18.2.dev17)", "Requirement already satisfied: cliff>=2.3.0 in /usr/local/lib/python2.7/dist-packages (from python-neutronclient>=5.1.0->shade==1.18.2.dev17)", "Requirement already satisfied: jsonschema!=2.5.0,<3.0.0,>=2.0.0 in /usr/local/lib/python2.7/dist-packages (from python-ironicclient>=1.11.0->shade==1.18.2.dev17)", "Requirement already satisfied: python-openstackclient>=3.3.0 in /usr/local/lib/python2.7/dist-packages (from python-ironicclient>=1.11.0->shade==1.18.2.dev17)", "Requirement already satisfied: wrapt in /usr/local/lib/python2.7/dist-packages (from positional>=1.1.1->keystoneauth1>=2.18.0->shade==1.18.2.dev17)", "Requirement already satisfied: pytz>=2013.6 in /usr/local/lib/python2.7/dist-packages (from oslo.serialization>=1.10.0->python-novaclient>=7.1.0->shade==1.18.2.dev17)", "Requirement already satisfied: msgpack-python>=0.4.0 in /usr/local/lib/python2.7/dist-packages (from oslo.serialization>=1.10.0->python-novaclient>=7.1.0->shade==1.18.2.dev17)", "Requirement already satisfied: funcsigs>=0.4; python_version == \"2.7\" or python_version == \"2.6\" in /usr/local/lib/python2.7/dist-packages (from oslo.utils>=3.18.0->python-novaclient>=7.1.0->shade==1.18.2.dev17)", "Requirement already satisfied: monotonic>=0.6 in /usr/local/lib/python2.7/dist-packages (from oslo.utils>=3.18.0->python-novaclient>=7.1.0->shade==1.18.2.dev17)", "Requirement already satisfied: pyparsing>=2.1.0 in /usr/local/lib/python2.7/dist-packages (from oslo.utils>=3.18.0->python-novaclient>=7.1.0->shade==1.18.2.dev17)", "Requirement already satisfied: rfc3986>=0.3.1 in /usr/local/lib/python2.7/dist-packages (from oslo.config!=3.18.0,>=3.14.0->python-keystoneclient>=3.8.0->shade==1.18.2.dev17)", "Requirement already satisfied: cmd2>=0.6.7 in /usr/local/lib/python2.7/dist-packages (from cliff>=2.3.0->python-neutronclient>=5.1.0->shade==1.18.2.dev17)", "Requirement already satisfied: unicodecsv>=0.8.0; python_version < \"3.0\" in /usr/local/lib/python2.7/dist-packages (from cliff>=2.3.0->python-neutronclient>=5.1.0->shade==1.18.2.dev17)", "Requirement already satisfied: functools32; python_version == \"2.7\" in /usr/local/lib/python2.7/dist-packages (from jsonschema!=2.5.0,<3.0.0,>=2.0.0->python-ironicclient>=1.11.0->shade==1.18.2.dev17)", "Requirement already satisfied: openstacksdk>=0.9.13 in /usr/local/lib/python2.7/dist-packages (from python-openstackclient>=3.3.0->python-ironicclient>=1.11.0->shade==1.18.2.dev17)", "Requirement already satisfied: python-glanceclient>=2.5.0 in /usr/local/lib/python2.7/dist-packages (from python-openstackclient>=3.3.0->python-ironicclient>=1.11.0->shade==1.18.2.dev17)", "Requirement already satisfied: deprecation>=1.0 in /usr/local/lib/python2.7/dist-packages (from openstacksdk>=0.9.13->python-openstackclient>=3.3.0->python-ironicclient>=1.11.0->shade==1.18.2.dev17)", "Requirement already satisfied: warlock!=1.3.0,<2,>=1.0.1 in /usr/local/lib/python2.7/dist-packages (from python-glanceclient>=2.5.0->python-openstackclient>=3.3.0->python-ironicclient>=1.11.0->shade==1.18.2.dev17)"], "warnings": []}
TASK [bifrost-ironic-install : set virtualenv_command] *************************
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml:17
skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true}
TASK [bifrost-ironic-install : Install dib-utils package from pip] *************
task path: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml:22
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893441.73-13429770936340 `" && echo ansible-tmp-1490893441.73-13429770936340="` echo $HOME/.ansible/tmp/ansible-tmp-1490893441.73-13429770936340 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp_louBr TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893441.73-13429770936340/pip
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893441.73-13429770936340/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893441.73-13429770936340/pip && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 http_proxy='"'"''"'"' LC_MESSAGES=en_US.UTF-8 https_proxy='"'"''"'"' /usr/bin/python /home/jenkins/.ansible/tmp/ansible-tmp-1490893441.73-13429770936340/pip; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893441.73-13429770936340/" > /dev/null 2>&1 && sleep 0'
FAILED - RETRYING: TASK: bifrost-ironic-install : Install dib-utils package from pip (5 retries left).Result was: {"attempts": 1, "failed": true, "invocation": {"module_args": {"chdir": null, "editable": true, "executable": null, "extra_args": null, "name": "dib-utils", "requirements": null, "state": "present", "umask": null, "use_mirrors": true, "version": null, "virtualenv": "/opt/stack/bifrost", "virtualenv_command": "virtualenv", "virtualenv_python": null, "virtualenv_site_packages": false}, "module_name": "pip"}, "msg": "Failed to find required executable virtualenv", "retries": 6}
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893451.89-134978444322719 `" && echo ansible-tmp-1490893451.89-134978444322719="` echo $HOME/.ansible/tmp/ansible-tmp-1490893451.89-134978444322719 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmp026yPb TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893451.89-134978444322719/pip
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893451.89-134978444322719/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893451.89-134978444322719/pip && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 http_proxy='"'"''"'"' LC_MESSAGES=en_US.UTF-8 https_proxy='"'"''"'"' /usr/bin/python /home/jenkins/.ansible/tmp/ansible-tmp-1490893451.89-134978444322719/pip; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893451.89-134978444322719/" > /dev/null 2>&1 && sleep 0'
FAILED - RETRYING: TASK: bifrost-ironic-install : Install dib-utils package from pip (4 retries left).Result was: {"attempts": 2, "failed": true, "invocation": {"module_args": {"chdir": null, "editable": true, "executable": null, "extra_args": null, "name": "dib-utils", "requirements": null, "state": "present", "umask": null, "use_mirrors": true, "version": null, "virtualenv": "/opt/stack/bifrost", "virtualenv_command": "virtualenv", "virtualenv_python": null, "virtualenv_site_packages": false}, "module_name": "pip"}, "msg": "Failed to find required executable virtualenv", "retries": 6}
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893462.06-70120396738212 `" && echo ansible-tmp-1490893462.06-70120396738212="` echo $HOME/.ansible/tmp/ansible-tmp-1490893462.06-70120396738212 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpvwOFuG TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893462.06-70120396738212/pip
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893462.06-70120396738212/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893462.06-70120396738212/pip && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 http_proxy='"'"''"'"' LC_MESSAGES=en_US.UTF-8 https_proxy='"'"''"'"' /usr/bin/python /home/jenkins/.ansible/tmp/ansible-tmp-1490893462.06-70120396738212/pip; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893462.06-70120396738212/" > /dev/null 2>&1 && sleep 0'
FAILED - RETRYING: TASK: bifrost-ironic-install : Install dib-utils package from pip (3 retries left).Result was: {"attempts": 3, "failed": true, "invocation": {"module_args": {"chdir": null, "editable": true, "executable": null, "extra_args": null, "name": "dib-utils", "requirements": null, "state": "present", "umask": null, "use_mirrors": true, "version": null, "virtualenv": "/opt/stack/bifrost", "virtualenv_command": "virtualenv", "virtualenv_python": null, "virtualenv_site_packages": false}, "module_name": "pip"}, "msg": "Failed to find required executable virtualenv", "retries": 6}
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893472.23-263926853502854 `" && echo ansible-tmp-1490893472.23-263926853502854="` echo $HOME/.ansible/tmp/ansible-tmp-1490893472.23-263926853502854 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpWKR1W_ TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893472.23-263926853502854/pip
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893472.23-263926853502854/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893472.23-263926853502854/pip && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 http_proxy='"'"''"'"' LC_MESSAGES=en_US.UTF-8 https_proxy='"'"''"'"' /usr/bin/python /home/jenkins/.ansible/tmp/ansible-tmp-1490893472.23-263926853502854/pip; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893472.23-263926853502854/" > /dev/null 2>&1 && sleep 0'
FAILED - RETRYING: TASK: bifrost-ironic-install : Install dib-utils package from pip (2 retries left).Result was: {"attempts": 4, "failed": true, "invocation": {"module_args": {"chdir": null, "editable": true, "executable": null, "extra_args": null, "name": "dib-utils", "requirements": null, "state": "present", "umask": null, "use_mirrors": true, "version": null, "virtualenv": "/opt/stack/bifrost", "virtualenv_command": "virtualenv", "virtualenv_python": null, "virtualenv_site_packages": false}, "module_name": "pip"}, "msg": "Failed to find required executable virtualenv", "retries": 6}
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893482.4-169104562199041 `" && echo ansible-tmp-1490893482.4-169104562199041="` echo $HOME/.ansible/tmp/ansible-tmp-1490893482.4-169104562199041 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpPwVaB1 TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893482.4-169104562199041/pip
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893482.4-169104562199041/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893482.4-169104562199041/pip && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 http_proxy='"'"''"'"' LC_MESSAGES=en_US.UTF-8 https_proxy='"'"''"'"' /usr/bin/python /home/jenkins/.ansible/tmp/ansible-tmp-1490893482.4-169104562199041/pip; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893482.4-169104562199041/" > /dev/null 2>&1 && sleep 0'
FAILED - RETRYING: TASK: bifrost-ironic-install : Install dib-utils package from pip (1 retries left).Result was: {"attempts": 5, "failed": true, "invocation": {"module_args": {"chdir": null, "editable": true, "executable": null, "extra_args": null, "name": "dib-utils", "requirements": null, "state": "present", "umask": null, "use_mirrors": true, "version": null, "virtualenv": "/opt/stack/bifrost", "virtualenv_command": "virtualenv", "virtualenv_python": null, "virtualenv_site_packages": false}, "module_name": "pip"}, "msg": "Failed to find required executable virtualenv", "retries": 6}
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490893492.56-272551203888720 `" && echo ansible-tmp-1490893492.56-272551203888720="` echo $HOME/.ansible/tmp/ansible-tmp-1490893492.56-272551203888720 `" ) && sleep 0'
<127.0.0.1> PUT /tmp/tmpIGqXN7 TO /home/jenkins/.ansible/tmp/ansible-tmp-1490893492.56-272551203888720/pip
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/jenkins/.ansible/tmp/ansible-tmp-1490893492.56-272551203888720/ /home/jenkins/.ansible/tmp/ansible-tmp-1490893492.56-272551203888720/pip && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 http_proxy='"'"''"'"' LC_MESSAGES=en_US.UTF-8 https_proxy='"'"''"'"' /usr/bin/python /home/jenkins/.ansible/tmp/ansible-tmp-1490893492.56-272551203888720/pip; rm -rf "/home/jenkins/.ansible/tmp/ansible-tmp-1490893492.56-272551203888720/" > /dev/null 2>&1 && sleep 0'
fatal: [127.0.0.1]: FAILED! => {"changed": false, "failed": true, "invocation": {"module_args": {"chdir": null, "editable": true, "executable": null, "extra_args": null, "name": "dib-utils", "requirements": null, "state": "present", "umask": null, "use_mirrors": true, "version": null, "virtualenv": "/opt/stack/bifrost", "virtualenv_command": "virtualenv", "virtualenv_python": null, "virtualenv_site_packages": false}, "module_name": "pip"}, "msg": "Failed to find required executable virtualenv"}
NO MORE HOSTS LEFT *************************************************************
to retry, use: --limit @/opt/bifrost/playbooks/opnfv-virtual.retry
PLAY RECAP *********************************************************************
127.0.0.1 : ok=15 changed=3 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-trusty-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-trusty-virtual-master/logs ']'
+ mkdir -p /home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-trusty-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-trusty-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-trusty-virtual-master/logs/xcimaster_console.log
chown: cannot access '/home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-trusty-virtual-master/logs/xcimaster_console.log': No such file or directory
+ sudo chmod o+r /home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-trusty-virtual-master/logs/xcimaster_console.log
chmod: cannot access '/home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-trusty-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-trusty-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-trusty-virtual-master/logs/controller00_console.log
chown: cannot access '/home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-trusty-virtual-master/logs/controller00_console.log': No such file or directory
+ sudo chmod o+r /home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-trusty-virtual-master/logs/controller00_console.log
chmod: cannot access '/home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-trusty-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-trusty-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-trusty-virtual-master/logs/compute00_console.log
chown: cannot access '/home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-trusty-virtual-master/logs/compute00_console.log': No such file or directory
+ sudo chmod o+r /home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-trusty-virtual-master/logs/compute00_console.log
chmod: cannot access '/home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-trusty-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 cp /var/log/upstart/ironic-api.log /home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-trusty-virtual-master/logs/
+ sudo cp /var/log/upstart/ironic-conductor.log /home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-trusty-virtual-master/logs/
+ sudo chown root /home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-trusty-virtual-master/logs/ironic-api.log
+ sudo chown root /home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-trusty-virtual-master/logs/ironic-conductor.log
+ sudo chmod o+r /home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-trusty-virtual-master/logs/ironic-api.log
+ sudo chmod o+r /home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-trusty-virtual-master/logs/ironic-conductor.log
+ exit 0
Uploading collected bifrost build logs to http://artifacts.opnfv.org/cross-community-ci/openstack/bifrost/review.openstack.org/451351/1/openstack-bifrost-verify-trusty-virtual-master
Compressing and uploading dmesg.log
Compressing and uploading interface_counters.log
Compressing and uploading iptables.log
Compressing and uploading ironic-api.log
Compressing and uploading ironic-conductor.log
Compressing and uploading netstat.log
Generating the http://artifacts.opnfv.org/cross-community-ci/openstack/bifrost/review.openstack.org/451351/1/openstack-bifrost-verify-trusty-virtual-master/index.html landing page
Uploading the final console output