Triggered by Gerrit: https://gerrit.opnfv.org/gerrit/31683 [EnvInject] - Loading node environment variables. Building remotely on intel-virtual8 (bifrost-verify-virtual infra-virtual-centos7) in workspace /home/jenkins/opnfv/slave_root/workspace/opnfv-bifrost-verify-centos7-virtual-master Running Prebuild steps [opnfv-bifrost-verify-centos7-virtual-master] $ /bin/bash /tmp/hudson4697046260937561180.sh Success build forhudson.tasks.Shell@45f3028e Wiping out workspace first. Cloning the remote Git repository Cloning repository https://gerrit.opnfv.org/gerrit/releng > git init /home/jenkins/opnfv/slave_root/workspace/opnfv-bifrost-verify-centos7-virtual-master # timeout=10 Fetching upstream changes from https://gerrit.opnfv.org/gerrit/releng > git --version # timeout=10 > git -c core.askpass=true fetch --tags --progress https://gerrit.opnfv.org/gerrit/releng +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://gerrit.opnfv.org/gerrit/releng # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://gerrit.opnfv.org/gerrit/releng # timeout=10 Fetching upstream changes from https://gerrit.opnfv.org/gerrit/releng > git -c core.askpass=true fetch --tags --progress https://gerrit.opnfv.org/gerrit/releng refs/changes/83/31683/1 # timeout=10 > git rev-parse fe898c2ee7ba00f1fc9ab75af3e252c89f6a9572^{commit} # timeout=10 Checking out Revision fe898c2ee7ba00f1fc9ab75af3e252c89f6a9572 (refs/changes/83/31683/1) > git config core.sparsecheckout # timeout=10 > git checkout -f fe898c2ee7ba00f1fc9ab75af3e252c89f6a9572 # timeout=10 > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list 01508737693731742269326d6ae92a17bebea433 # timeout=10 [description-setter] Description set: Built on intel-virtual8 [opnfv-bifrost-verify-centos7-virtual-master] $ /bin/bash /tmp/hudson2866246075776782945.sh Cloning into '/opt/bifrost'... Cloning into '/opt/releng'... From https://gerrit.opnfv.org/gerrit/releng * branch refs/changes/83/31683/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 fe898c2... Test: Please ignore, testing bifrost updates Redirecting to /bin/systemctl stop ironic-conductor.service removing inventory files created by previous builds removing ironic database ERROR 1049 (42000): Unknown database 'ironic' removing leases removing logs restarting services Redirecting to /bin/systemctl restart dnsmasq.service Redirecting to /bin/systemctl restart libvirtd.service Redirecting to /bin/systemctl restart ironic-api.service Redirecting to /bin/systemctl start ironic-conductor.service Redirecting to /bin/systemctl restart ironic-inspector.service + set -o pipefail + export PYTHONUNBUFFERED=1 + PYTHONUNBUFFERED=1 +++ dirname ./scripts/bifrost-provision.sh ++ cd ./scripts ++ pwd + SCRIPT_HOME=/opt/bifrost/scripts + BIFROST_HOME=/opt/bifrost/scripts/.. + ANSIBLE_INSTALL_ROOT=/opt/stack + 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=master + '[' master = master ']' + BAREMETAL_DATA_FILE=/tmp/baremetal.json + INVENTORY_FILE_FORMAT=baremetal_json_file + export BIFROST_INVENTORY_SOURCE=/tmp/baremetal.json + BIFROST_INVENTORY_SOURCE=/tmp/baremetal.json + export TEST_VM_NUM_NODES=3 + TEST_VM_NUM_NODES=3 + export 'TEST_VM_NODE_NAMES=xcimaster controller00 compute00' + TEST_VM_NODE_NAMES='xcimaster controller00 compute00' + export VM_DOMAIN_TYPE=kvm + VM_DOMAIN_TYPE=kvm + export VM_CPU=2 + VM_CPU=2 + export VM_DISK=30 + VM_DISK=30 + export VM_MEMORY_SIZE=4096 + VM_MEMORY_SIZE=4096 + export VM_DISK_CACHE=unsafe + VM_DISK_CACHE=unsafe + TEST_PLAYBOOK=opnfv-virtual.yaml + USE_INSPECTOR=true + USE_CIRROS=false + TESTING_USER=root + DOWNLOAD_IPA=true + CREATE_IPA_IMAGE=false + INSPECT_NODES=true + INVENTORY_DHCP=false + INVENTORY_DHCP_STATIC_IP=false + WRITE_INTERFACES_FILE=true + export DIB_DEV_USER_PWDLESS_SUDO=yes + DIB_DEV_USER_PWDLESS_SUDO=yes + export DIB_DEV_USER_PASSWORD=devuser + DIB_DEV_USER_PASSWORD=devuser + export DIB_OS_RELEASE=7 + DIB_OS_RELEASE=7 + export DIB_OS_ELEMENT=centos7 + DIB_OS_ELEMENT=centos7 + export DIB_OS_PACKAGES=vim,less,bridge-utils,iputils,rsyslog,curl + DIB_OS_PACKAGES=vim,less,bridge-utils,iputils,rsyslog,curl + export EXTRA_DIB_ELEMENTS=openssh-server + EXTRA_DIB_ELEMENTS=openssh-server + set +x +o nounset which: no dnf in (/sbin:/bin:/usr/sbin:/usr/bin) NOTICE: Not using virtualenv for this installation. /bin/pip Requirement already satisfied (use --upgrade to upgrade): pip>6.0 in /usr/lib/python2.7/site-packages You are using pip version 8.1.2, however version 9.0.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Requirement already satisfied (use --upgrade to upgrade): pbr>=2.0.0 in /usr/lib/python2.7/site-packages (from -r /opt/bifrost/scripts/../requirements.txt (line 4)) Requirement already satisfied (use --upgrade to upgrade): oslo.config>=3.22.0 in /usr/lib/python2.7/site-packages (from -r /opt/bifrost/scripts/../requirements.txt (line 5)) Requirement already satisfied (use --upgrade to upgrade): oslo.log>=3.11.0 in /usr/lib/python2.7/site-packages (from -r /opt/bifrost/scripts/../requirements.txt (line 6)) Requirement already satisfied (use --upgrade to upgrade): rfc3986>=0.3.1 in /usr/lib/python2.7/site-packages (from oslo.config>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 5)) Requirement already satisfied (use --upgrade to upgrade): oslo.i18n>=2.1.0 in /usr/lib/python2.7/site-packages (from oslo.config>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 5)) Requirement already satisfied (use --upgrade to upgrade): six>=1.9.0 in /usr/lib/python2.7/site-packages (from oslo.config>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 5)) Requirement already satisfied (use --upgrade to upgrade): netaddr!=0.7.16,>=0.7.13 in /usr/lib/python2.7/site-packages (from oslo.config>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 5)) Requirement already satisfied (use --upgrade to upgrade): debtcollector>=1.2.0 in /usr/lib/python2.7/site-packages (from oslo.config>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 5)) Requirement already satisfied (use --upgrade to upgrade): stevedore>=1.20.0 in /usr/lib/python2.7/site-packages (from oslo.config>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 5)) Requirement already satisfied (use --upgrade to upgrade): oslo.utils>=3.20.0 in /usr/lib/python2.7/site-packages (from oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6)) Requirement already satisfied (use --upgrade to upgrade): monotonic>=0.6 in /usr/lib/python2.7/site-packages (from oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6)) Requirement already satisfied (use --upgrade to upgrade): pyinotify>=0.9.6; sys_platform != "win32" and sys_platform != "darwin" and sys_platform != "sunos5" in /usr/lib/python2.7/site-packages (from oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6)) Requirement already satisfied (use --upgrade to upgrade): python-dateutil>=2.4.2 in /usr/lib/python2.7/site-packages (from oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6)) Requirement already satisfied (use --upgrade to upgrade): oslo.context>=2.12.0 in /usr/lib/python2.7/site-packages (from oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6)) Requirement already satisfied (use --upgrade to upgrade): oslo.serialization>=1.10.0 in /usr/lib/python2.7/site-packages (from oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6)) Requirement already satisfied (use --upgrade to upgrade): Babel>=2.3.4 in /usr/lib/python2.7/site-packages (from oslo.i18n>=2.1.0->oslo.config>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 5)) Requirement already satisfied (use --upgrade to upgrade): wrapt>=1.7.0 in /usr/lib64/python2.7/site-packages (from debtcollector>=1.2.0->oslo.config>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 5)) Requirement already satisfied (use --upgrade to upgrade): funcsigs>=0.4; python_version == "2.7" or python_version == "2.6" in /usr/lib/python2.7/site-packages (from debtcollector>=1.2.0->oslo.config>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 5)) Requirement already satisfied (use --upgrade to upgrade): netifaces>=0.10.4 in /usr/lib64/python2.7/site-packages (from oslo.utils>=3.20.0->oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6)) Requirement already satisfied (use --upgrade to upgrade): pyparsing>=2.1.0 in /usr/lib/python2.7/site-packages (from oslo.utils>=3.20.0->oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6)) Requirement already satisfied (use --upgrade to upgrade): iso8601>=0.1.11 in /usr/lib/python2.7/site-packages (from oslo.utils>=3.20.0->oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6)) Requirement already satisfied (use --upgrade to upgrade): pytz>=2013.6 in /usr/lib/python2.7/site-packages (from oslo.utils>=3.20.0->oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6)) Requirement already satisfied (use --upgrade to upgrade): positional>=1.1.1 in /usr/lib/python2.7/site-packages (from oslo.context>=2.12.0->oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6)) Requirement already satisfied (use --upgrade to upgrade): msgpack-python>=0.4.0 in /usr/lib64/python2.7/site-packages (from oslo.serialization>=1.10.0->oslo.log>=3.11.0->-r /opt/bifrost/scripts/../requirements.txt (line 6)) You are using pip version 8.1.2, however version 9.0.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. Requirement already up-to-date: ansible<2.2 in /root/.local/lib/python2.7/site-packages Requirement already up-to-date: paramiko in /root/.local/lib/python2.7/site-packages (from ansible<2.2) Collecting jinja2<2.9 (from ansible<2.2) Using cached Jinja2-2.8.1-py2.py3-none-any.whl Requirement already up-to-date: PyYAML in /usr/lib64/python2.7/site-packages (from ansible<2.2) Requirement already up-to-date: setuptools in /root/.local/lib/python2.7/site-packages (from ansible<2.2) Requirement already up-to-date: pycrypto>=2.6 in /usr/lib64/python2.7/site-packages (from ansible<2.2) Requirement already up-to-date: cryptography>=1.1 in /root/.local/lib/python2.7/site-packages (from paramiko->ansible<2.2) Requirement already up-to-date: pyasn1>=0.1.7 in /root/.local/lib/python2.7/site-packages (from paramiko->ansible<2.2) Requirement already up-to-date: MarkupSafe in /usr/lib64/python2.7/site-packages (from jinja2<2.9->ansible<2.2) Requirement already up-to-date: six>=1.6.0 in /usr/lib/python2.7/site-packages (from setuptools->ansible<2.2) Requirement already up-to-date: appdirs>=1.4.0 in /usr/lib/python2.7/site-packages (from setuptools->ansible<2.2) Requirement already up-to-date: packaging>=16.8 in /usr/lib/python2.7/site-packages (from setuptools->ansible<2.2) Requirement already up-to-date: idna>=2.1 in /root/.local/lib/python2.7/site-packages (from cryptography>=1.1->paramiko->ansible<2.2) Requirement already up-to-date: asn1crypto>=0.21.0 in /root/.local/lib/python2.7/site-packages (from cryptography>=1.1->paramiko->ansible<2.2) Requirement already up-to-date: enum34 in /usr/lib/python2.7/site-packages (from cryptography>=1.1->paramiko->ansible<2.2) Requirement already up-to-date: ipaddress in /usr/lib/python2.7/site-packages (from cryptography>=1.1->paramiko->ansible<2.2) Requirement already up-to-date: cffi>=1.4.1 in /root/.local/lib/python2.7/site-packages (from cryptography>=1.1->paramiko->ansible<2.2) Requirement already up-to-date: pyparsing in /usr/lib/python2.7/site-packages (from packaging>=16.8->setuptools->ansible<2.2) Requirement already up-to-date: pycparser in /usr/lib/python2.7/site-packages (from cffi>=1.4.1->cryptography>=1.1->paramiko->ansible<2.2) Installing collected packages: jinja2 Successfully installed jinja2-2.8.1 You are using pip version 8.1.2, however version 9.0.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. [WARNING]: Host file not found: /etc/ansible/hosts [WARNING]: provided hosts list is empty, only localhost is available "changed": false, [WARNING]: Host file not found: /etc/ansible/hosts [WARNING]: provided hosts list is empty, only localhost is available "changed": false, [WARNING]: Host file not found: /etc/ansible/hosts [WARNING]: provided hosts list is empty, only localhost is available "changed": false, [WARNING]: Host file not found: /etc/ansible/hosts [WARNING]: provided hosts list is empty, only localhost is available --2017-03-24 05:42:50-- 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.128.133, 151.101.64.133, 151.101.192.133, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.128.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.3M=0s 2017-03-24 05:42:50 (47.3 MB/s) - ‘/opt/bifrost/scripts/../playbooks/library/os_keystone_service.py’ saved [6224/6224] To use bifrost, do Prepend ~/.local/bin to your PATH if it is not that way already.. .. or use full path to local Ansible at ~/.local/bin/ansible-playbook source env-vars Then run playbooks as normal. Sourcing this file is no longer needed! Ansible is always installed from PyPI + trap logs_on_exit EXIT + cd /opt/bifrost/scripts/../playbooks + for task in syntax-check list-tasks + /bin/ansible-playbook -vvvv -i inventory/localhost test-bifrost-create-vm.yaml --syntax-check No config file found; using defaults statically included: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml 1 plays in test-bifrost-create-vm.yaml playbook: test-bifrost-create-vm.yaml + /bin/ansible-playbook -vvvv -i inventory/localhost opnfv-virtual.yaml --syntax-check -e testing_user=root No config file found; using defaults statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/inspector_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/staging_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/bootstrap.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/keystone_setup.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/ironic_config.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/inspector_bootstrap.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/keystone_setup_inspector.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/create_tftpboot.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/get_ipxe.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/download_ipa_image.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/start.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/inspector_start.yml statically included: /opt/bifrost/playbooks/roles/bifrost-configdrives-dynamic/tasks/update_facts_from_ironic.yaml statically included: /opt/bifrost/playbooks/roles/bifrost-configdrives-dynamic/tasks/ssh_public_key_path.yaml 6 plays in opnfv-virtual.yaml playbook: opnfv-virtual.yaml + for task in syntax-check list-tasks + /bin/ansible-playbook -vvvv -i inventory/localhost test-bifrost-create-vm.yaml --list-tasks No config file found; using defaults statically included: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml 1 plays in test-bifrost-create-vm.yaml playbook: test-bifrost-create-vm.yaml play #1 (localhost): Executes install, enrollment, and testing in one playbook TAGS: [] tasks: Warn if baremetal_csv_file is defined TAGS: [] Re-set baremetal json to csv file if defined TAGS: [] Set default baremetal.json file if not already defined TAGS: [] Set ci_testing flag if a list of changes are found in the environment variables TAGS: [] Set ci_testing_zuul if it appears we are running in upstream OpenStack CI TAGS: [] Collect process list if running in OpenStack CI TAGS: [] Collect list of listening network sockets if running in OpenStack CI TAGS: [] bifrost-create-vm-nodes : produce warning when csv file is defined TAGS: [] bifrost-create-vm-nodes : override baremetal_json_file with csv file path TAGS: [] bifrost-create-vm-nodes : Ensure openSUSE Tumbleweed has the correct family TAGS: [] bifrost-create-vm-nodes : Ensure openSUSE Leap has the correct family TAGS: [] bifrost-create-vm-nodes : Update apt cache if Ubuntu/Debian TAGS: [] bifrost-create-vm-nodes : Load distribution defaults TAGS: [] bifrost-create-vm-nodes : Include OS version-specific defaults TAGS: [] bifrost-create-vm-nodes : Check for dnf TAGS: [] bifrost-create-vm-nodes : Adjust ansible_pkg_mgr if dnf exists TAGS: [] bifrost-create-vm-nodes : Install required packages TAGS: [] bifrost-create-vm-nodes : Restart libvirt service TAGS: [] bifrost-create-vm-nodes : Enable IP forwarding in sysctl TAGS: [] bifrost-create-vm-nodes : Look for sgabios in {{ sgabios_dir }} TAGS: [] bifrost-create-vm-nodes : Look for sgabios in /usr/share/misc TAGS: [] bifrost-create-vm-nodes : Place sgabios.bin TAGS: [] bifrost-create-vm-nodes : ensure libvirt network is present TAGS: [] bifrost-create-vm-nodes : find facts on libvirt networks TAGS: [] bifrost-create-vm-nodes : Delete network interface if virtual network is not active TAGS: [] bifrost-create-vm-nodes : set libvirt network to autostart TAGS: [] bifrost-create-vm-nodes : ensure libvirt network is running TAGS: [] bifrost-create-vm-nodes : get libvirt network status TAGS: [] bifrost-create-vm-nodes : fail if libvirt network is not active TAGS: [] bifrost-create-vm-nodes : define a libvirt pool if not set TAGS: [] bifrost-create-vm-nodes : ensure libvirt pool is running TAGS: [] bifrost-create-vm-nodes : create dir for bm logs TAGS: [] bifrost-create-vm-nodes : install virtualbmc TAGS: [] bifrost-create-vm-nodes : truncate explicit list of vm names TAGS: [] bifrost-create-vm-nodes : generate test vm names TAGS: [] bifrost-create-vm-nodes : set test vm names TAGS: [] bifrost-create-vm-nodes : create placeholder var for vm entries in JSON format TAGS: [] include TAGS: [] bifrost-create-vm-nodes : remove previous baremetal data file TAGS: [] bifrost-create-vm-nodes : write to baremetal json file TAGS: [] bifrost-create-vm-nodes : "Set file permissions such that the baremetal data file can be read by the user executing Ansible" TAGS: [] + /bin/ansible-playbook -vvvv -i inventory/localhost opnfv-virtual.yaml --list-tasks -e testing_user=root No config file found; using defaults statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/inspector_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/staging_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/bootstrap.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/keystone_setup.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/ironic_config.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/inspector_bootstrap.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/keystone_setup_inspector.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/create_tftpboot.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/get_ipxe.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/download_ipa_image.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/start.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/inspector_start.yml statically included: /opt/bifrost/playbooks/roles/bifrost-configdrives-dynamic/tasks/update_facts_from_ironic.yaml statically included: /opt/bifrost/playbooks/roles/bifrost-configdrives-dynamic/tasks/ssh_public_key_path.yaml 6 plays in opnfv-virtual.yaml playbook: opnfv-virtual.yaml play #1 (localhost): Setting pre-test conditions TAGS: [] tasks: Remove pre-existing leases file TAGS: [] play #2 (localhost): Executes install, enrollment, and testing in one playbook TAGS: [] tasks: Override the ipv4_gateway setting TAGS: [] bifrost-prep-for-install : ensure installation root folder exists TAGS: [] bifrost-prep-for-install : Download via GIT TAGS: [] bifrost-prep-for-install : Copy from local path TAGS: [] play #3 (localhost): Executes install, enrollment, and testing in one playbook TAGS: [] tasks: bifrost-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 : If VENV is set in the environment, enable installation into venv TAGS: [] bifrost-ironic-install : Ensure /opt/stack is present TAGS: [] bifrost-ironic-install : set virtualenv_command TAGS: [] bifrost-ironic-install : Install {{ package }} package from pip TAGS: [] bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: [] bifrost-ironic-install : set virtualenv_command TAGS: [] bifrost-ironic-install : Install {{ package }} package from pip TAGS: [] bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: [] bifrost-ironic-install : Install iSCSI client if PXE driver support is enabled TAGS: [] bifrost-ironic-install : install shade from PyPI TAGS: [] bifrost-ironic-install : install shade from source TAGS: [] bifrost-ironic-install : set virtualenv_command TAGS: [] bifrost-ironic-install : Install {{ package }} package from pip TAGS: [] bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: [] bifrost-ironic-install : set virtualenv_command TAGS: [] bifrost-ironic-install : Install {{ package }} package from pip TAGS: [] bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: [] bifrost-ironic-install : set virtualenv_command TAGS: [] bifrost-ironic-install : Install {{ package }} package from pip TAGS: [] bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: [] bifrost-ironic-install : set virtualenv_command TAGS: [] bifrost-ironic-install : Install {{ package }} package from pip TAGS: [] bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: [] bifrost-ironic-install : set virtualenv_command TAGS: [] bifrost-ironic-install : Install {{ package }} package from pip TAGS: [] bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: [] bifrost-ironic-install : set virtualenv_command TAGS: [] bifrost-ironic-install : Install {{ package }} package from pip TAGS: [] bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: [] bifrost-ironic-install : set virtualenv_command TAGS: [] bifrost-ironic-install : Install {{ package }} package from pip TAGS: [] bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: [] bifrost-ironic-install : set virtualenv_command TAGS: [] bifrost-ironic-install : Install {{ package }} package from pip TAGS: [] bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: [] bifrost-ironic-install : set virtualenv_command TAGS: [] bifrost-ironic-install : Install {{ package }} package from pip TAGS: [] bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: [] bifrost-ironic-install : set virtualenv_command TAGS: [] bifrost-ironic-install : Install {{ package }} package from pip TAGS: [] bifrost-ironic-install : Install from {{ sourcedir }} using pip TAGS: [] bifrost-ironic-install : Fail if authentication configuration conflicts. TAGS: [] bifrost-ironic-install : If VENV is set in the environment, enable installation into venv TAGS: [] bifrost-ironic-install : Start database service TAGS: [] bifrost-ironic-install : RabbitMQ - Testing if hostname is defined in /etc/hosts TAGS: [] bifrost-ironic-install : RabbitMQ - Fixing /etc/hosts TAGS: [] bifrost-ironic-install : Stop and disable the epmd service and socket on SUSE TAGS: [] bifrost-ironic-install : Start rabbitmq-server TAGS: [] bifrost-ironic-install : Wait for rabbitmq TAGS: [] bifrost-ironic-install : Ensure guest user is removed from rabbitmq TAGS: [] bifrost-ironic-install : Create ironic user in RabbitMQ TAGS: [] bifrost-ironic-install : Set mysql_username if environment variable mysql_user is set TAGS: [] bifrost-ironic-install : Set mysql_password if environment variable mysql_pass is set TAGS: [] bifrost-ironic-install : MySQL - Creating DB TAGS: [] bifrost-ironic-install : MySQL - Creating user for Ironic TAGS: [] bifrost-ironic-install : Create an ironic service group TAGS: [] bifrost-ironic-install : Create an ironic service user TAGS: [] bifrost-ironic-install : Ensure /etc/ironic exists TAGS: [] bifrost-ironic-install : Copy rootwrap.conf from ironic source folder TAGS: [] bifrost-ironic-install : Copy rootwrap.d contents from ironic source folder TAGS: [] bifrost-ironic-install : Error if credentials are undefined. TAGS: [] bifrost-ironic-install : Ensure service project is present TAGS: [] bifrost-ironic-install : Create service user for ironic TAGS: [] bifrost-ironic-install : Associate ironic user to admin role TAGS: [] bifrost-ironic-install : Create keystone service record for ironic TAGS: [] bifrost-ironic-install : Check ironic admin endpoint exists TAGS: [] bifrost-ironic-install : Check ironic public endpoint exists TAGS: [] bifrost-ironic-install : Check ironic internal endpoint exists TAGS: [] bifrost-ironic-install : Create ironic admin endpoint TAGS: [] bifrost-ironic-install : Create ironic public endpoint TAGS: [] bifrost-ironic-install : Create ironic internal endpoint TAGS: [] bifrost-ironic-install : Create baremetal_admin role TAGS: [] bifrost-ironic-install : Create baremetal_observer role TAGS: [] bifrost-ironic-install : Create baremetal project TAGS: [] bifrost-ironic-install : Create bifrost user TAGS: [] bifrost-ironic-install : Associate bifrost user with baremetal_admin TAGS: [] bifrost-ironic-install : Refresh facts TAGS: [] bifrost-ironic-install : Fail if the network interface does not exist TAGS: [] bifrost-ironic-install : Fail if the network interface has no IP address assigned TAGS: [] bifrost-ironic-install : Update driver list if PXE drivers are enabled TAGS: [] bifrost-ironic-install : Create ironic config TAGS: [] bifrost-ironic-install : Set sudoers for PXE driver support if enabled TAGS: [] bifrost-ironic-install : Copy policy.json to /etc/ironic TAGS: [] bifrost-ironic-install : Create ironic DB Schema TAGS: [] bifrost-ironic-install : Upgrade ironic DB Schema TAGS: [] bifrost-ironic-install : Create service folder if systemd template is defined TAGS: [] bifrost-ironic-install : MySQL - Create database TAGS: [] bifrost-ironic-install : MySQL - Create user for inspector TAGS: [] bifrost-ironic-install : Inspector - Ensure /etc/ironic-inspector/ exists TAGS: [] bifrost-ironic-install : Error if credentials are undefined. TAGS: [] bifrost-ironic-install : Create service user for ironic-inspector TAGS: [] bifrost-ironic-install : Associate ironic_inspector user to admin role TAGS: [] bifrost-ironic-install : Create keystone service record for ironic-inspector TAGS: [] bifrost-ironic-install : Check ironic-inspector admin endpoint exists TAGS: [] bifrost-ironic-install : Check ironic-inspector public endpoint exists TAGS: [] bifrost-ironic-install : Check ironic-inspector internal endpoint exists TAGS: [] bifrost-ironic-install : Create ironic-inspector admin endpoint TAGS: [] bifrost-ironic-install : Create ironic-inspector public endpoint TAGS: [] bifrost-ironic-install : Create ironic-inspector internal endpoint TAGS: [] bifrost-ironic-install : Create inspector_user user TAGS: [] bifrost-ironic-install : Associate inspector_user with baremetal_admin TAGS: [] bifrost-ironic-install : Inspector - Place Configuration TAGS: [] bifrost-ironic-install : Inspector - create data folder TAGS: [] bifrost-ironic-install : Inspector - create log folder TAGS: [] bifrost-ironic-install : Upgrade inspector DB Schema TAGS: [] bifrost-ironic-install : Inspector - Get ironic-inspector install location TAGS: [] bifrost-ironic-install : Inspector - Place service TAGS: [] bifrost-ironic-install : Inspector - Explicitly permit TCP/5050 for ironic-inspector callback TAGS: [] bifrost-ironic-install : Get ironic-api & ironic-conductor install location TAGS: [] bifrost-ironic-install : Set permissions for /var/lib/ironic for the ironic user TAGS: [] bifrost-ironic-install : Place ironic services TAGS: [] bifrost-ironic-install : Set up PXE and iPXE folders TAGS: [] bifrost-ironic-install : Place tftpd map-file TAGS: [] bifrost-ironic-install : Disable service {{ tftp_service_name }} TAGS: [] bifrost-ironic-install : Set pxelinux.0 source (for Ubuntu >=14.10) TAGS: [] bifrost-ironic-install : Determine if pxelinux.0 is in place TAGS: [] bifrost-ironic-install : Place pxelinux.0 TAGS: [] bifrost-ironic-install : Place boot.ipxe helper script /etc/ironic TAGS: [] bifrost-ironic-install : Pre-stage boot.ipxe into /httpboot/ TAGS: [] bifrost-ironic-install : Place tftp config file TAGS: [] bifrost-ironic-install : Create {{ ipxe_dir }} TAGS: [] bifrost-ironic-install : Get ipxe files TAGS: [] bifrost-ironic-install : Copy iPXE image into place TAGS: [] bifrost-ironic-install : Copy full iPXE image into /httpboot TAGS: [] bifrost-ironic-install : Copy full iPXE image into /tftpboot TAGS: [] bifrost-ironic-install : Determine if folder exists, else create and populate folder. TAGS: [] bifrost-ironic-install : Create master_images folder TAGS: [] bifrost-ironic-install : Inspector - Place default tftp boot file in {{ http_boot_folder}}/pxelinux.cfg/ TAGS: [] bifrost-ironic-install : Setup Inventory Hosts Directory TAGS: [] bifrost-ironic-install : Setup Inventory DHCP Hosts Directory TAGS: [] bifrost-ironic-install : Deploy dnsmasq configuration file TAGS: [] bifrost-ironic-install : Look for libvirt dnsmasq config TAGS: [] bifrost-ironic-install : Disable libvirt dnsmasq config TAGS: [] bifrost-ironic-install : Deploy nginx configuration file for serving HTTP requests TAGS: [] bifrost-ironic-install : Test if IPA kernel is present TAGS: [] bifrost-ironic-install : Download IPA kernel checksum file TAGS: [] bifrost-ironic-install : Extract IPA kernel checksum TAGS: [] fail TAGS: [] set_fact TAGS: [] bifrost-ironic-install : Download IPA kernel TAGS: [] bifrost-ironic-install : Test if IPA image is present TAGS: [] bifrost-ironic-install : Download IPA image checksum TAGS: [] bifrost-ironic-install : Extract IPA ramdisk checksum TAGS: [] fail TAGS: [] set_fact TAGS: [] bifrost-ironic-install : Download IPA image TAGS: [] bifrost-ironic-install : Download cirros to use for deployment if requested TAGS: [] bifrost-ironic-install : "Explicitly permit nginx port (TCP) for file downloads from nodes to be provisioned" TAGS: [] bifrost-ironic-install : Explicitly permit TCP/6385 for IPA callback TAGS: [] bifrost-ironic-install : Explicitly allow nginx and IPA port (TCP) on selinux TAGS: [] bifrost-ironic-install : Add proper context on created data for http_boot TAGS: [] bifrost-ironic-install : Copy ironic policy file to temporary directory TAGS: [] bifrost-ironic-install : Check ironic policy module TAGS: [] bifrost-ironic-install : Package ironic policy module TAGS: [] bifrost-ironic-install : Include ironic policy module TAGS: [] bifrost-ironic-install : Enable ironic policy module TAGS: [] bifrost-ironic-install : Configure remote logging TAGS: [] bifrost-ironic-install : Reload systemd configuration TAGS: [] bifrost-ironic-install : Ensure rsyslog is running with current config TAGS: [] bifrost-ironic-install : Start database service TAGS: [] bifrost-ironic-install : Start rabbitmq-server TAGS: [] bifrost-ironic-install : Inspector - (re)starting ironic-inspector service TAGS: [] bifrost-ironic-install : Start ironic-conductor TAGS: [] bifrost-ironic-install : Start ironic-api TAGS: [] bifrost-ironic-install : Start ironic-conductor TAGS: [] bifrost-ironic-install : Start ironic-api TAGS: [] bifrost-ironic-install : Stop existing libvirt dnsmasq processes TAGS: [] bifrost-ironic-install : Ensure services are running with current config TAGS: [] bifrost-ironic-install : Ensure dnsmasq is running with current config TAGS: [] bifrost-ironic-install : Send services a reload signal TAGS: [] bifrost-ironic-install : Send services a force-reload signal TAGS: [] bifrost-create-dib-image : Test if image is present TAGS: [] bifrost-create-dib-image : Test if image is present - {{ dib_imagename }}.{{ dib_imagetype | default('qcow2') }} TAGS: [] bifrost-create-dib-image : Test if image is present - {{ dib_imagename }}.initramfs TAGS: [] bifrost-create-dib-image : Build tracing (-x) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build uncompressed (-u) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build clear environment (-c) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build no tmpfs (--no-tmpfs) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build offline (--offline) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build skip default base element (-n) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build architecture (-a) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build image name (-o) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build image type (-t) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build image size (--image-size) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build image cache (--image-cache) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build max online resize (--max-online-resize) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build minimum tmpfs size (--min-tmpfs) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build mkfs options (--mkfs-options) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build qemu image options (--qemu-img-options) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build root label (--root-label) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build ramdisk element (--ramdisk-element) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build install type (--install-type) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build packages (-p) option for disk-image-create TAGS: [] bifrost-create-dib-image : Set default of Debian Jessie if building debian and not explicitly set, overwride with dib_os_release setting TAGS: [] bifrost-create-dib-image : Initialize the DIB environment variables fact TAGS: [] bifrost-create-dib-image : Set the DIB_RELEASE environment variable if set TAGS: [] bifrost-create-dib-image : Build argument list TAGS: [] bifrost-create-dib-image : Initiate image build TAGS: [] bifrost-create-dib-image : Initiate ramdisk build TAGS: [] bifrost-create-dib-image : Update permission of generated image TAGS: [] bifrost-create-dib-image : Restore proper context on created data for http_boot TAGS: [] bifrost-create-dib-image : Test if image is present TAGS: [] bifrost-create-dib-image : Test if image is present - {{ dib_imagename }}.{{ dib_imagetype | default('qcow2') }} TAGS: [] bifrost-create-dib-image : Test if image is present - {{ dib_imagename }}.initramfs TAGS: [] bifrost-create-dib-image : Build tracing (-x) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build uncompressed (-u) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build clear environment (-c) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build no tmpfs (--no-tmpfs) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build offline (--offline) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build skip default base element (-n) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build architecture (-a) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build image name (-o) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build image type (-t) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build image size (--image-size) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build image cache (--image-cache) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build max online resize (--max-online-resize) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build minimum tmpfs size (--min-tmpfs) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build mkfs options (--mkfs-options) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build qemu image options (--qemu-img-options) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build root label (--root-label) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build ramdisk element (--ramdisk-element) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build install type (--install-type) option for disk-image-create TAGS: [] bifrost-create-dib-image : Build packages (-p) option for disk-image-create TAGS: [] bifrost-create-dib-image : Set default of Debian Jessie if building debian and not explicitly set, overwride with dib_os_release setting TAGS: [] bifrost-create-dib-image : Initialize the DIB environment variables fact TAGS: [] bifrost-create-dib-image : Set the DIB_RELEASE environment variable if set TAGS: [] bifrost-create-dib-image : Build argument list TAGS: [] bifrost-create-dib-image : Initiate image build TAGS: [] bifrost-create-dib-image : Initiate ramdisk build TAGS: [] bifrost-create-dib-image : Update permission of generated image TAGS: [] bifrost-create-dib-image : Restore proper context on created data for http_boot TAGS: [] play #4 (baremetal): Enroll node with Ironic TAGS: [] tasks: ironic-enroll-dynamic : Collect facts TAGS: [] ironic-enroll-dynamic : If in noauth mode, unset authentication parameters. TAGS: [] ironic-enroll-dynamic : Execute os_client_config to collect facts TAGS: [] ironic-enroll-dynamic : Set os_client_config's auth parameters if not already set. TAGS: [] ironic-enroll-dynamic : Dynamic enrollment TAGS: [] ironic-inspect-node : Collect facts TAGS: [] ironic-inspect-node : If in noauth mode, unset authentication parameters. TAGS: [] ironic-inspect-node : Execute os_client_config to collect facts TAGS: [] ironic-inspect-node : Set os_client_config's auth parameters if not already set. TAGS: [] ironic-inspect-node : Setup DHCP for nodes. TAGS: [] ironic-inspect-node : Setup DNS address for nodes. TAGS: [] ironic-inspect-node : Sending dnsmasq HUP TAGS: [] ironic-inspect-node : Execute node introspection TAGS: [] play #5 (baremetal): Create configuration drive files and deploy machines TAGS: [] tasks: bifrost-configdrives-dynamic : If in noauth mode, set auth parameters accordingly. TAGS: [] bifrost-configdrives-dynamic : Execute os_client_config to collect facts TAGS: [] bifrost-configdrives-dynamic : Set os_client_config's auth parameters if not already set. TAGS: [] bifrost-configdrives-dynamic : Collecting node facts TAGS: [] bifrost-configdrives-dynamic : Defined ssh_public_key_path - Check to see if there is a file where the ssh_public_key_path is defined TAGS: [] bifrost-configdrives-dynamic : Defined ssh_public_key_path - Error if ssh_public_key_path is not valid TAGS: [] bifrost-configdrives-dynamic : Defined ssh_public_key_path - Read SSH public key in TAGS: [] bifrost-configdrives-dynamic : Make temporary folder to build configdrive TAGS: [] bifrost-configdrives-dynamic : Make metadata folder - /openstack/{{ metadata_version }} TAGS: [] bifrost-configdrives-dynamic : Make metadata folder - /openstack/latest TAGS: [] bifrost-configdrives-dynamic : Place template in each openstack/{{ metadata_version }} folder TAGS: [] bifrost-configdrives-dynamic : Place template in each openstack/latest folder TAGS: [] bifrost-configdrives-dynamic : Generate network_data TAGS: [] bifrost-configdrives-dynamic : Place network data template in each openstack/latest folder TAGS: [] bifrost-configdrives-dynamic : Place deprecated network info file location in each openstack/latest folder TAGS: [] bifrost-configdrives-dynamic : Make metadata folder - /openstack/latest TAGS: [] bifrost-configdrives-dynamic : Write network Debian style interface template TAGS: [] bifrost-configdrives-dynamic : Check if mkisofs is available TAGS: [] bifrost-configdrives-dynamic : If mkisofs is not available, fallback to genisoimage TAGS: [] bifrost-configdrives-dynamic : Check if genisoimage is available TAGS: [] bifrost-configdrives-dynamic : fail if genisoimage is not available. TAGS: [] bifrost-configdrives-dynamic : Make config drive files TAGS: [] bifrost-configdrives-dynamic : Make config drive files base64 encoded and gzip compressed TAGS: [] bifrost-configdrives-dynamic : Cleanup configdrive .iso files TAGS: [] bifrost-configdrives-dynamic : Cleanup configdrive temp folder TAGS: [] bifrost-deploy-nodes-dynamic : Obtain setup facts TAGS: [] bifrost-deploy-nodes-dynamic : If in noauth mode, unset authentication parameters. TAGS: [] bifrost-deploy-nodes-dynamic : Execute os_client_config to collect facts TAGS: [] bifrost-deploy-nodes-dynamic : Set os_client_config's auth parameters if not already set. TAGS: [] bifrost-deploy-nodes-dynamic : Setup DHCP for nodes. TAGS: [] bifrost-deploy-nodes-dynamic : Setup DNS address for nodes. TAGS: [] bifrost-deploy-nodes-dynamic : Sending dnsmasq HUP TAGS: [] bifrost-deploy-nodes-dynamic : Deploy to hardware - Using custom instance_info. TAGS: [] bifrost-deploy-nodes-dynamic : Collect the checksum of the deployment image. TAGS: [] bifrost-deploy-nodes-dynamic : Error if deploy_image is not present, and instance_info is not defined TAGS: [] bifrost-deploy-nodes-dynamic : Deploy to hardware - bifrost default TAGS: [] play #6 (baremetal): Deploy machines. TAGS: [] tasks: bifrost-prepare-for-test-dynamic : Wait for the base testvm machine to become available. TAGS: [] bifrost-prepare-for-test-dynamic : Pause for 4 seconds to allow testvm to become fully operational and to avoid any potential sshd startup race. TAGS: [] bifrost-prepare-for-test-dynamic : Add testvm(s) to Ansible Inventory TAGS: [] bifrost-prepare-for-test-dynamic : Ensure ~/.ssh/known_hosts is present TAGS: [] bifrost-prepare-for-test-dynamic : Remove testvm hosts from SSH known_hosts file. TAGS: [] bifrost-prepare-for-test-dynamic : Pause before asking for keyscan, to avoid races TAGS: [] bifrost-prepare-for-test-dynamic : Re-check SSH connectivity prior to proceeding with multi-node testing TAGS: [] bifrost-prepare-for-test-dynamic : Additional SSH startup pause when performing multi-node testing TAGS: [] bifrost-prepare-for-test-dynamic : Add testvm hosts from SSH known_hosts file. TAGS: [] + /bin/ansible-playbook -vvvv -i inventory/localhost test-bifrost-create-vm.yaml -e test_vm_num_nodes=3 -e test_vm_memory_size=4096 -e enable_venv=false -e test_vm_domain_type=kvm -e baremetal_json_file=/tmp/baremetal.json 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-1490348580.31-186354873690479 `" && echo ansible-tmp-1490348580.31-186354873690479="` echo $HOME/.ansible/tmp/ansible-tmp-1490348580.31-186354873690479 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmpo86nkG TO /root/.ansible/tmp/ansible-tmp-1490348580.31-186354873690479/setup <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490348580.31-186354873690479/ /root/.ansible/tmp/ansible-tmp-1490348580.31-186354873690479/setup && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490348580.31-186354873690479/setup; rm -rf "/root/.ansible/tmp/ansible-tmp-1490348580.31-186354873690479/" > /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 skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true} TASK [Re-set baremetal json to csv file if defined] **************************** task path: /opt/bifrost/playbooks/test-bifrost-create-vm.yaml:16 skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true} 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 skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true} 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 skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true} TASK [bifrost-create-vm-nodes : Ensure openSUSE Tumbleweed has the correct family] *** task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:34 skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true} TASK [bifrost-create-vm-nodes : Ensure openSUSE Leap has the correct family] *** task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:39 skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true} TASK [bifrost-create-vm-nodes : Update apt cache if Ubuntu/Debian] ************* task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:45 skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true} TASK [bifrost-create-vm-nodes : Load distribution defaults] ******************** task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:50 ok: [127.0.0.1] => (item=/opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/templates/../defaults/required_defaults_CentOS.yml) => {"ansible_facts": {"libvirt_service_name": "libvirtd", "required_packages": ["qemu-img", "qemu-kvm-tools", "qemu-kvm", "qemu-kvm-common", "sgabios", "sgabios-bin", "libvirt", "libvirt-client", "libvirt-daemon", "libvirt-daemon-config-network", "libvirt-daemon-config-nwfilter", "libvirt-daemon-driver-network", "libvirt-daemon-driver-nodedev", "libvirt-daemon-driver-nwfilter", "libvirt-daemon-driver-qemu", "libvirt-daemon-driver-secret", "libvirt-daemon-driver-storage", "libvirt-daemon-kvm", "libvirt-python", "python-lxml", "pkgconfig", "libvirt-devel"], "sgabios_dir": "/usr/share/sgabios/", "test_vm_emulator": "/usr/libexec/qemu-kvm", "test_vm_machine": "pc"}, "invocation": {"module_args": {"_raw_params": "/opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/templates/../defaults/required_defaults_CentOS.yml"}, "module_name": "include_vars"}, "item": "/opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/templates/../defaults/required_defaults_CentOS.yml"} TASK [bifrost-create-vm-nodes : Include OS version-specific defaults] ********** task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:56 ok: [127.0.0.1] => (item=/opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/templates/../defaults/dummy-defaults.yml) => {"ansible_facts": {}, "invocation": {"module_args": {"_raw_params": "/opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/templates/../defaults/dummy-defaults.yml"}, "module_name": "include_vars"}, "item": "/opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/templates/../defaults/dummy-defaults.yml"} TASK [bifrost-create-vm-nodes : Check for dnf] ********************************* task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:65 <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490348582.23-207361282945262 `" && echo ansible-tmp-1490348582.23-207361282945262="` echo $HOME/.ansible/tmp/ansible-tmp-1490348582.23-207361282945262 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmp7HX_T0 TO /root/.ansible/tmp/ansible-tmp-1490348582.23-207361282945262/stat <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490348582.23-207361282945262/ /root/.ansible/tmp/ansible-tmp-1490348582.23-207361282945262/stat && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490348582.23-207361282945262/stat; rm -rf "/root/.ansible/tmp/ansible-tmp-1490348582.23-207361282945262/" > /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-1490348582.81-255061846903320 `" && echo ansible-tmp-1490348582.81-255061846903320="` echo $HOME/.ansible/tmp/ansible-tmp-1490348582.81-255061846903320 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmpHC8ZZB TO /root/.ansible/tmp/ansible-tmp-1490348582.81-255061846903320/yum <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490348582.81-255061846903320/ /root/.ansible/tmp/ansible-tmp-1490348582.81-255061846903320/yum && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490348582.81-255061846903320/yum; rm -rf "/root/.ansible/tmp/ansible-tmp-1490348582.81-255061846903320/" > /dev/null 2>&1 && sleep 0' ok: [127.0.0.1] => (item=[u'qemu-img', u'qemu-kvm-tools', u'qemu-kvm', u'qemu-kvm-common', u'sgabios', u'sgabios-bin', u'libvirt', u'libvirt-client', u'libvirt-daemon', u'libvirt-daemon-config-network', u'libvirt-daemon-config-nwfilter', u'libvirt-daemon-driver-network', u'libvirt-daemon-driver-nodedev', u'libvirt-daemon-driver-nwfilter', u'libvirt-daemon-driver-qemu', u'libvirt-daemon-driver-secret', u'libvirt-daemon-driver-storage', u'libvirt-daemon-kvm', u'libvirt-python', u'python-lxml', u'pkgconfig', u'libvirt-devel']) => {"changed": false, "invocation": {"module_args": {"conf_file": null, "disable_gpg_check": false, "disablerepo": null, "enablerepo": null, "exclude": null, "install_repoquery": true, "list": null, "name": ["qemu-img", "qemu-kvm-tools", "qemu-kvm", "qemu-kvm-common", "sgabios", "sgabios-bin", "libvirt", "libvirt-client", "libvirt-daemon", "libvirt-daemon-config-network", "libvirt-daemon-config-nwfilter", "libvirt-daemon-driver-network", "libvirt-daemon-driver-nodedev", "libvirt-daemon-driver-nwfilter", "libvirt-daemon-driver-qemu", "libvirt-daemon-driver-secret", "libvirt-daemon-driver-storage", "libvirt-daemon-kvm", "libvirt-python", "python-lxml", "pkgconfig", "libvirt-devel"], "state": "present", "update_cache": false, "validate_certs": true}, "module_name": "yum"}, "item": ["qemu-img", "qemu-kvm-tools", "qemu-kvm", "qemu-kvm-common", "sgabios", "sgabios-bin", "libvirt", "libvirt-client", "libvirt-daemon", "libvirt-daemon-config-network", "libvirt-daemon-config-nwfilter", "libvirt-daemon-driver-network", "libvirt-daemon-driver-nodedev", "libvirt-daemon-driver-nwfilter", "libvirt-daemon-driver-qemu", "libvirt-daemon-driver-secret", "libvirt-daemon-driver-storage", "libvirt-daemon-kvm", "libvirt-python", "python-lxml", "pkgconfig", "libvirt-devel"], "msg": "", "rc": 0, "results": ["qemu-img-10:1.5.3-126.el7_3.3.x86_64 providing qemu-img is already installed", "qemu-kvm-tools-10:1.5.3-126.el7_3.3.x86_64 providing qemu-kvm-tools is already installed", "qemu-kvm-10:1.5.3-126.el7_3.3.x86_64 providing qemu-kvm is already installed", "qemu-kvm-common-10:1.5.3-126.el7_3.3.x86_64 providing qemu-kvm-common is already installed", "sgabios-1:0.20110622svn-4.el7.x86_64 providing sgabios is already installed", "sgabios-bin-1:0.20110622svn-4.el7.noarch providing sgabios-bin is already installed", "libvirt-2.0.0-10.el7_3.4.x86_64 providing libvirt is already installed", "libvirt-client-2.0.0-10.el7_3.4.x86_64 providing libvirt-client is already installed", "libvirt-daemon-2.0.0-10.el7_3.4.x86_64 providing libvirt-daemon is already installed", "libvirt-daemon-config-network-2.0.0-10.el7_3.4.x86_64 providing libvirt-daemon-config-network is already installed", "libvirt-daemon-config-nwfilter-2.0.0-10.el7_3.4.x86_64 providing libvirt-daemon-config-nwfilter is already installed", "libvirt-daemon-driver-network-2.0.0-10.el7_3.4.x86_64 providing libvirt-daemon-driver-network is already installed", "libvirt-daemon-driver-nodedev-2.0.0-10.el7_3.4.x86_64 providing libvirt-daemon-driver-nodedev is already installed", "libvirt-daemon-driver-nwfilter-2.0.0-10.el7_3.4.x86_64 providing libvirt-daemon-driver-nwfilter is already installed", "libvirt-daemon-driver-qemu-2.0.0-10.el7_3.4.x86_64 providing libvirt-daemon-driver-qemu is already installed", "libvirt-daemon-driver-secret-2.0.0-10.el7_3.4.x86_64 providing libvirt-daemon-driver-secret is already installed", "libvirt-daemon-driver-storage-2.0.0-10.el7_3.4.x86_64 providing libvirt-daemon-driver-storage is already installed", "libvirt-daemon-kvm-2.0.0-10.el7_3.4.x86_64 providing libvirt-daemon-kvm is already installed", "libvirt-python-2.0.0-2.el7.x86_64 providing libvirt-python is already installed", "python-lxml-3.2.1-4.el7.x86_64 providing python-lxml is already installed", "pkgconfig-1:0.27.1-4.el7.x86_64 providing pkgconfig is already installed", "libvirt-devel-2.0.0-10.el7_3.4.x86_64 providing libvirt-devel is already installed"]} TASK [bifrost-create-vm-nodes : Restart libvirt service] *********************** task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml:18 <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490348583.61-254867501509282 `" && echo ansible-tmp-1490348583.61-254867501509282="` echo $HOME/.ansible/tmp/ansible-tmp-1490348583.61-254867501509282 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmpSvSnU6 TO /root/.ansible/tmp/ansible-tmp-1490348583.61-254867501509282/service <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490348583.61-254867501509282/ /root/.ansible/tmp/ansible-tmp-1490348583.61-254867501509282/service && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490348583.61-254867501509282/service; rm -rf "/root/.ansible/tmp/ansible-tmp-1490348583.61-254867501509282/" > /dev/null 2>&1 && sleep 0' changed: [127.0.0.1] => {"changed": true, "invocation": {"module_args": {"arguments": "", "enabled": null, "name": "libvirtd", "pattern": null, "runlevel": "default", "sleep": null, "state": "restarted"}, "module_name": "service"}, "name": "libvirtd", "state": "started"} TASK [bifrost-create-vm-nodes : Enable IP forwarding in sysctl] **************** task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml:23 <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490348584.18-27878999458237 `" && echo ansible-tmp-1490348584.18-27878999458237="` echo $HOME/.ansible/tmp/ansible-tmp-1490348584.18-27878999458237 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmpk30NhN TO /root/.ansible/tmp/ansible-tmp-1490348584.18-27878999458237/sysctl <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490348584.18-27878999458237/ /root/.ansible/tmp/ansible-tmp-1490348584.18-27878999458237/sysctl && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490348584.18-27878999458237/sysctl; rm -rf "/root/.ansible/tmp/ansible-tmp-1490348584.18-27878999458237/" > /dev/null 2>&1 && sleep 0' ok: [127.0.0.1] => {"changed": false, "invocation": {"module_args": {"ignoreerrors": false, "name": "net.ipv4.ip_forward", "reload": true, "state": "present", "sysctl_file": "/etc/sysctl.conf", "sysctl_set": true, "value": "1"}, "module_name": "sysctl"}} TASK [bifrost-create-vm-nodes : Look for sgabios in /usr/share/sgabios/] ******* task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml:33 <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490348584.54-209704451948656 `" && echo ansible-tmp-1490348584.54-209704451948656="` echo $HOME/.ansible/tmp/ansible-tmp-1490348584.54-209704451948656 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmpiszOeM TO /root/.ansible/tmp/ansible-tmp-1490348584.54-209704451948656/stat <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490348584.54-209704451948656/ /root/.ansible/tmp/ansible-tmp-1490348584.54-209704451948656/stat && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490348584.54-209704451948656/stat; rm -rf "/root/.ansible/tmp/ansible-tmp-1490348584.54-209704451948656/" > /dev/null 2>&1 && sleep 0' ok: [127.0.0.1] => {"changed": false, "invocation": {"module_args": {"checksum_algorithm": "sha1", "follow": false, "get_checksum": true, "get_md5": true, "mime": false, "path": "/usr/share/sgabios//sgabios.bin"}, "module_name": "stat"}, "stat": {"atime": 1490269757.5759625, "checksum": "3fd9d481465cd69a92d6955d2ab0dfe88c164dab", "ctime": 1485940076.2699363, "dev": 64770, "exists": true, "gid": 0, "gr_name": "root", "inode": 4203220, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "md5": "bfec44555ca3f3fb54666179cfe4bc97", "mode": "0644", "mtime": 1402349628.0, "nlink": 1, "path": "/usr/share/sgabios//sgabios.bin", "pw_name": "root", "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 0, "wgrp": false, "woth": false, "wusr": true, "xgrp": false, "xoth": false, "xusr": false}} TASK [bifrost-create-vm-nodes : Look for sgabios in /usr/share/misc] *********** task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml:37 <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490348584.82-272996411044809 `" && echo ansible-tmp-1490348584.82-272996411044809="` echo $HOME/.ansible/tmp/ansible-tmp-1490348584.82-272996411044809 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmppXSR45 TO /root/.ansible/tmp/ansible-tmp-1490348584.82-272996411044809/stat <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490348584.82-272996411044809/ /root/.ansible/tmp/ansible-tmp-1490348584.82-272996411044809/stat && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490348584.82-272996411044809/stat; rm -rf "/root/.ansible/tmp/ansible-tmp-1490348584.82-272996411044809/" > /dev/null 2>&1 && sleep 0' ok: [127.0.0.1] => {"changed": false, "invocation": {"module_args": {"checksum_algorithm": "sha1", "follow": false, "get_checksum": true, "get_md5": true, "mime": false, "path": "/usr/share/misc/sgabios.bin"}, "module_name": "stat"}, "stat": {"exists": false}} TASK [bifrost-create-vm-nodes : Place sgabios.bin] ***************************** task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml:41 skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true} TASK [bifrost-create-vm-nodes : ensure libvirt network is present] ************* task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml:47 File lookup using /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/templates/net.xml.j2 as file <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490348585.26-248260798813368 `" && echo ansible-tmp-1490348585.26-248260798813368="` echo $HOME/.ansible/tmp/ansible-tmp-1490348585.26-248260798813368 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmpBC56mf TO /root/.ansible/tmp/ansible-tmp-1490348585.26-248260798813368/virt_net <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490348585.26-248260798813368/ /root/.ansible/tmp/ansible-tmp-1490348585.26-248260798813368/virt_net && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490348585.26-248260798813368/virt_net; rm -rf "/root/.ansible/tmp/ansible-tmp-1490348585.26-248260798813368/" > /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-1490348587.29-16351919285671 `" && echo ansible-tmp-1490348587.29-16351919285671="` echo $HOME/.ansible/tmp/ansible-tmp-1490348587.29-16351919285671 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmpfNXTfs TO /root/.ansible/tmp/ansible-tmp-1490348587.29-16351919285671/virt_net <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490348587.29-16351919285671/ /root/.ansible/tmp/ansible-tmp-1490348587.29-16351919285671/virt_net && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490348587.29-16351919285671/virt_net; rm -rf "/root/.ansible/tmp/ansible-tmp-1490348587.29-16351919285671/" > /dev/null 2>&1 && sleep 0' ok: [127.0.0.1] => {"ansible_facts": {"ansible_libvirt_networks": {"default": {"autostart": "yes", "bridge": "virbr0", "forward_mode": "nat", "macaddress": "52:54:00:20:d5:c6", "persistent": "yes", "state": "active", "uuid": "5f8c9a57-5cf3-4bc1-b8ae-c944c6a3e57d"}}}, "changed": false, "invocation": {"module_args": {"autostart": null, "command": "facts", "name": null, "state": null, "uri": "qemu:///system", "xml": null}, "module_name": "virt_net"}} TASK [bifrost-create-vm-nodes : Delete network interface if virtual network is not active] *** task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml:60 skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true} TASK [bifrost-create-vm-nodes : set libvirt network to autostart] ************** task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml:67 <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490348587.71-272768494318982 `" && echo ansible-tmp-1490348587.71-272768494318982="` echo $HOME/.ansible/tmp/ansible-tmp-1490348587.71-272768494318982 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmp8DDwIs TO /root/.ansible/tmp/ansible-tmp-1490348587.71-272768494318982/virt_net <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490348587.71-272768494318982/ /root/.ansible/tmp/ansible-tmp-1490348587.71-272768494318982/virt_net && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490348587.71-272768494318982/virt_net; rm -rf "/root/.ansible/tmp/ansible-tmp-1490348587.71-272768494318982/" > /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-1490348588.02-233442884895399 `" && echo ansible-tmp-1490348588.02-233442884895399="` echo $HOME/.ansible/tmp/ansible-tmp-1490348588.02-233442884895399 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmpsJJkSs TO /root/.ansible/tmp/ansible-tmp-1490348588.02-233442884895399/virt_net <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490348588.02-233442884895399/ /root/.ansible/tmp/ansible-tmp-1490348588.02-233442884895399/virt_net && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490348588.02-233442884895399/virt_net; rm -rf "/root/.ansible/tmp/ansible-tmp-1490348588.02-233442884895399/" > /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-1490348588.35-76228855596627 `" && echo ansible-tmp-1490348588.35-76228855596627="` echo $HOME/.ansible/tmp/ansible-tmp-1490348588.35-76228855596627 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmpFUSPSA TO /root/.ansible/tmp/ansible-tmp-1490348588.35-76228855596627/virt_net <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490348588.35-76228855596627/ /root/.ansible/tmp/ansible-tmp-1490348588.35-76228855596627/virt_net && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490348588.35-76228855596627/virt_net; rm -rf "/root/.ansible/tmp/ansible-tmp-1490348588.35-76228855596627/" > /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-1490348588.87-22869185430464 `" && echo ansible-tmp-1490348588.87-22869185430464="` echo $HOME/.ansible/tmp/ansible-tmp-1490348588.87-22869185430464 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmp6RNHkq TO /root/.ansible/tmp/ansible-tmp-1490348588.87-22869185430464/virt_pool <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490348588.87-22869185430464/ /root/.ansible/tmp/ansible-tmp-1490348588.87-22869185430464/virt_pool && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490348588.87-22869185430464/virt_pool; rm -rf "/root/.ansible/tmp/ansible-tmp-1490348588.87-22869185430464/" > /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-1490348589.19-256094539328852 `" && echo ansible-tmp-1490348589.19-256094539328852="` echo $HOME/.ansible/tmp/ansible-tmp-1490348589.19-256094539328852 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmp7ShiwX TO /root/.ansible/tmp/ansible-tmp-1490348589.19-256094539328852/virt_pool <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490348589.19-256094539328852/ /root/.ansible/tmp/ansible-tmp-1490348589.19-256094539328852/virt_pool && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490348589.19-256094539328852/virt_pool; rm -rf "/root/.ansible/tmp/ansible-tmp-1490348589.19-256094539328852/" > /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-1490348590.49-44435147525756 `" && echo ansible-tmp-1490348590.49-44435147525756="` echo $HOME/.ansible/tmp/ansible-tmp-1490348590.49-44435147525756 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmppGpLQ5 TO /root/.ansible/tmp/ansible-tmp-1490348590.49-44435147525756/file <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490348590.49-44435147525756/ /root/.ansible/tmp/ansible-tmp-1490348590.49-44435147525756/file && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490348590.49-44435147525756/file; rm -rf "/root/.ansible/tmp/ansible-tmp-1490348590.49-44435147525756/" > /dev/null 2>&1 && sleep 0' ok: [127.0.0.1] => {"changed": false, "diff": {"after": {"path": "/var/log/libvirt/baremetal_logs"}, "before": {"path": "/var/log/libvirt/baremetal_logs"}}, "gid": 0, "group": "root", "invocation": {"module_args": {"backup": null, "content": null, "delimiter": null, "diff_peek": null, "directory_mode": null, "follow": false, "force": false, "group": null, "mode": "o+rx", "original_basename": null, "owner": null, "path": "/var/log/libvirt/baremetal_logs", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "validate": null}, "module_name": "file"}, "mode": "0755", "owner": "root", "path": "/var/log/libvirt/baremetal_logs", "secontext": "system_u:object_r:virt_log_t:s0", "size": 4096, "state": "directory", "uid": 0} TASK [bifrost-create-vm-nodes : install virtualbmc] **************************** task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml:110 <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490348590.86-279274446455713 `" && echo ansible-tmp-1490348590.86-279274446455713="` echo $HOME/.ansible/tmp/ansible-tmp-1490348590.86-279274446455713 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmp1TOOHx TO /root/.ansible/tmp/ansible-tmp-1490348590.86-279274446455713/pip <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490348590.86-279274446455713/ /root/.ansible/tmp/ansible-tmp-1490348590.86-279274446455713/pip && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490348590.86-279274446455713/pip; rm -rf "/root/.ansible/tmp/ansible-tmp-1490348590.86-279274446455713/" > /dev/null 2>&1 && sleep 0' ok: [127.0.0.1] => {"changed": false, "cmd": "/bin/pip install virtualbmc", "invocation": {"module_args": {"chdir": null, "editable": true, "executable": null, "extra_args": null, "name": "virtualbmc", "requirements": null, "state": "present", "umask": null, "use_mirrors": true, "version": null, "virtualenv": null, "virtualenv_command": "virtualenv", "virtualenv_python": null, "virtualenv_site_packages": false}, "module_name": "pip"}, "name": "virtualbmc", "requirements": null, "state": "present", "stderr": "You are using pip version 8.1.2, however version 9.0.1 is available.\nYou should consider upgrading via the 'pip install --upgrade pip' command.\n", "stdout": "Requirement already satisfied (use --upgrade to upgrade): virtualbmc in /usr/lib/python2.7/site-packages\nRequirement already satisfied (use --upgrade to upgrade): libvirt-python>=1.2.5 in /usr/lib64/python2.7/site-packages (from virtualbmc)\nRequirement already satisfied (use --upgrade to upgrade): pbr>=1.8 in /usr/lib/python2.7/site-packages (from virtualbmc)\nRequirement already satisfied (use --upgrade to upgrade): pyghmi>=1.0.9 in /usr/lib/python2.7/site-packages (from virtualbmc)\nRequirement already satisfied (use --upgrade to upgrade): PrettyTable<0.8,>=0.7.1 in /usr/lib/python2.7/site-packages (from virtualbmc)\nRequirement already satisfied (use --upgrade to upgrade): six>=1.9.0 in /usr/lib/python2.7/site-packages (from virtualbmc)\nRequirement already satisfied (use --upgrade to upgrade): pycrypto>=2.6 in /usr/lib64/python2.7/site-packages (from pyghmi>=1.0.9->virtualbmc)\n", "stdout_lines": ["Requirement already satisfied (use --upgrade to upgrade): virtualbmc in /usr/lib/python2.7/site-packages", "Requirement already satisfied (use --upgrade to upgrade): libvirt-python>=1.2.5 in /usr/lib64/python2.7/site-packages (from virtualbmc)", "Requirement already satisfied (use --upgrade to upgrade): pbr>=1.8 in /usr/lib/python2.7/site-packages (from virtualbmc)", "Requirement already satisfied (use --upgrade to upgrade): pyghmi>=1.0.9 in /usr/lib/python2.7/site-packages (from virtualbmc)", "Requirement already satisfied (use --upgrade to upgrade): PrettyTable<0.8,>=0.7.1 in /usr/lib/python2.7/site-packages (from virtualbmc)", "Requirement already satisfied (use --upgrade to upgrade): six>=1.9.0 in /usr/lib/python2.7/site-packages (from virtualbmc)", "Requirement already satisfied (use --upgrade to upgrade): pycrypto>=2.6 in /usr/lib64/python2.7/site-packages (from pyghmi>=1.0.9->virtualbmc)"], "version": null, "virtualenv": null} TASK [bifrost-create-vm-nodes : truncate explicit list of vm names] ************ task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:81 ok: [127.0.0.1] => {"ansible_facts": {"test_vm_node_names": ["xcimaster", "controller00", "compute00"]}, "changed": false, "invocation": {"module_args": {"test_vm_node_names": ["xcimaster", "controller00", "compute00"]}, "module_name": "set_fact"}} TASK [bifrost-create-vm-nodes : generate test vm names] ************************ task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:85 skipping: [127.0.0.1] => (item=testvm1) => {"changed": false, "item": "testvm1", "skip_reason": "Conditional check failed", "skipped": true} skipping: [127.0.0.1] => (item=testvm2) => {"changed": false, "item": "testvm2", "skip_reason": "Conditional check failed", "skipped": true} skipping: [127.0.0.1] => (item=testvm3) => {"changed": false, "item": "testvm3", "skip_reason": "Conditional check failed", "skipped": true} TASK [bifrost-create-vm-nodes : set test vm names] ***************************** task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:91 skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true} TASK [bifrost-create-vm-nodes : create placeholder var for vm entries in JSON format] *** task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:96 ok: [127.0.0.1] => {"ansible_facts": {"testvm_json_data": {}}, "changed": false, "invocation": {"module_args": {"testvm_json_data": {}}, "module_name": "set_fact"}} TASK [bifrost-create-vm-nodes : include] *************************************** task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:100 included: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml for 127.0.0.1 included: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml for 127.0.0.1 included: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml for 127.0.0.1 TASK [bifrost-create-vm-nodes : set_fact] ************************************** task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:18 ok: [127.0.0.1] => {"ansible_facts": {"vm_log_file": "/var/log/libvirt/baremetal_logs/xcimaster_console.log", "vm_name": "xcimaster"}, "changed": false, "invocation": {"module_args": {"vm_log_file": "/var/log/libvirt/baremetal_logs/xcimaster_console.log", "vm_name": "xcimaster"}, "module_name": "set_fact"}} TASK [bifrost-create-vm-nodes : set prealloc arg for Debian] ******************* task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:22 skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true} TASK [bifrost-create-vm-nodes : list info on pools] **************************** task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:29 <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490348593.04-196954065728348 `" && echo ansible-tmp-1490348593.04-196954065728348="` echo $HOME/.ansible/tmp/ansible-tmp-1490348593.04-196954065728348 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmpSiQcUD TO /root/.ansible/tmp/ansible-tmp-1490348593.04-196954065728348/virt_pool <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490348593.04-196954065728348/ /root/.ansible/tmp/ansible-tmp-1490348593.04-196954065728348/virt_pool && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490348593.04-196954065728348/virt_pool; rm -rf "/root/.ansible/tmp/ansible-tmp-1490348593.04-196954065728348/" > /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": "533503025152", "size_total": "544168124416", "size_used": "10665099264", "state": "active", "status": "running", "type": "dir", "uuid": "924dd168-b835-4492-b30b-abbf331f6100", "volume_count": 0, "volumes": []}}}, "changed": false, "invocation": {"module_args": {"autostart": null, "command": "facts", "mode": null, "name": null, "state": null, "uri": "qemu:///system", "xml": null}, "module_name": "virt_pool"}} TASK [bifrost-create-vm-nodes : list existing vms] ***************************** task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:34 <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490348593.48-114523432475418 `" && echo ansible-tmp-1490348593.48-114523432475418="` echo $HOME/.ansible/tmp/ansible-tmp-1490348593.48-114523432475418 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmpZ4YEyt TO /root/.ansible/tmp/ansible-tmp-1490348593.48-114523432475418/virt <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490348593.48-114523432475418/ /root/.ansible/tmp/ansible-tmp-1490348593.48-114523432475418/virt && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490348593.48-114523432475418/virt; rm -rf "/root/.ansible/tmp/ansible-tmp-1490348593.48-114523432475418/" > /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-1490348593.88-40728798798296 `" && echo ansible-tmp-1490348593.88-40728798798296="` echo $HOME/.ansible/tmp/ansible-tmp-1490348593.88-40728798798296 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmp1S3YJt TO /root/.ansible/tmp/ansible-tmp-1490348593.88-40728798798296/command <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490348593.88-40728798798296/ /root/.ansible/tmp/ansible-tmp-1490348593.88-40728798798296/command && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490348593.88-40728798798296/command; rm -rf "/root/.ansible/tmp/ansible-tmp-1490348593.88-40728798798296/" > /dev/null 2>&1 && sleep 0' changed: [127.0.0.1] => {"changed": true, "cmd": ["virsh", "--connect", "qemu:///system", "vol-create-as", "default", "xcimaster.qcow2", "31G", "--format", "qcow2"], "delta": "0:00:02.619736", "end": "2017-03-24 05:43:16.663847", "invocation": {"module_args": {"_raw_params": "virsh --connect qemu:///system vol-create-as default xcimaster.qcow2 31G --format qcow2 ", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 0, "start": "2017-03-24 05:43:14.044111", "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-1490348596.88-106630929681351 `" && echo ansible-tmp-1490348596.88-106630929681351="` echo $HOME/.ansible/tmp/ansible-tmp-1490348596.88-106630929681351 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmppH_pIf TO /root/.ansible/tmp/ansible-tmp-1490348596.88-106630929681351/file <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490348596.88-106630929681351/ /root/.ansible/tmp/ansible-tmp-1490348596.88-106630929681351/file && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490348596.88-106630929681351/file; rm -rf "/root/.ansible/tmp/ansible-tmp-1490348596.88-106630929681351/" > /dev/null 2>&1 && sleep 0' changed: [127.0.0.1] => {"changed": true, "dest": "/var/lib/libvirt/images/xcimaster.qcow2", "diff": {"after": {"path": "/var/lib/libvirt/images/xcimaster.qcow2", "state": "touch"}, "before": {"path": "/var/lib/libvirt/images/xcimaster.qcow2", "state": "file"}}, "gid": 0, "group": "root", "invocation": {"module_args": {"backup": null, "content": null, "delimiter": null, "diff_peek": null, "directory_mode": null, "follow": false, "force": false, "group": null, "mode": null, "original_basename": null, "owner": null, "path": "/var/lib/libvirt/images/xcimaster.qcow2", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "touch", "validate": null}, "module_name": "file"}, "mode": "0600", "owner": "root", "secontext": "system_u:object_r:virt_image_t:s0", "size": 197120, "state": "file", "uid": 0} TASK [bifrost-create-vm-nodes : set copy-on-write for volume on non-CentOS systems] *** task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:64 skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true} TASK [bifrost-create-vm-nodes : create_vm] ************************************* task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:71 File lookup using /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/templates/testvm.xml.j2 as file <127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: root <127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1490348597.26-237903275691138 `" && echo ansible-tmp-1490348597.26-237903275691138="` echo $HOME/.ansible/tmp/ansible-tmp-1490348597.26-237903275691138 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmp30JUYv TO /root/.ansible/tmp/ansible-tmp-1490348597.26-237903275691138/virt <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1490348597.26-237903275691138/ /root/.ansible/tmp/ansible-tmp-1490348597.26-237903275691138/virt && sleep 0' <127.0.0.1> EXEC /bin/sh -c 'LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1490348597.26-237903275691138/virt; rm -rf "/root/.ansible/tmp/ansible-tmp-1490348597.26-237903275691138/" > /dev/null 2>&1 && sleep 0' changed: [127.0.0.1] => {"changed": true, "created": "xcimaster", "invocation": {"module_args": {"command": "define", "name": "xcimaster", "state": null, "uri": "qemu:///system", "xml": "\n xcimaster\n 4096\n 2\n \n hvm\n \n \n \n \n \n \n \n \n \n \n destroy\n restart\n restart\n \n /usr/libexec/qemu-kvm\n \n \n \n \n
\n \n \n
\n \n \n \n \n \n \n