Triggered by Gerrit: https://review.openstack.org/452514 [EnvInject] - Loading node environment variables. Building remotely on intel-virtual9 (bifrost-verify-virtual infra-virtual-suse) in workspace /home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-suse-virtual-master Running Prebuild steps [openstack-bifrost-verify-suse-virtual-master] $ /bin/bash /tmp/hudson3722394397077740805.sh Success build forhudson.tasks.Shell@36eb1bd3 Wiping out workspace first. Cloning the remote Git repository Cloning repository https://git.openstack.org/openstack/bifrost > git init /home/jenkins/opnfv/slave_root/workspace/openstack-bifrost-verify-suse-virtual-master # timeout=10 Fetching upstream changes from https://git.openstack.org/openstack/bifrost > git --version # timeout=10 > git -c core.askpass=true fetch --tags --progress https://git.openstack.org/openstack/bifrost +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://git.openstack.org/openstack/bifrost # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://git.openstack.org/openstack/bifrost # timeout=10 Fetching upstream changes from https://git.openstack.org/openstack/bifrost > git -c core.askpass=true fetch --tags --progress https://git.openstack.org/openstack/bifrost refs/changes/14/452514/1 # timeout=10 > git rev-parse 01e54a36cb53ea43be594ba9986971da7152a4e1^{commit} # timeout=10 Checking out Revision 01e54a36cb53ea43be594ba9986971da7152a4e1 (refs/changes/14/452514/1) > git config core.sparsecheckout # timeout=10 > git checkout -f 01e54a36cb53ea43be594ba9986971da7152a4e1 # timeout=10 > git rev-parse FETCH_HEAD^{commit} # timeout=10 > git rev-list 9c13febd3db40d04f8609f8e5ba26d9f8485ce6f # timeout=10 [description-setter] Description set: Built on intel-virtual9 [openstack-bifrost-verify-suse-virtual-master] $ /bin/bash /tmp/hudson6043267639635285652.sh Cloning into '/opt/bifrost'... Cloning into '/opt/releng'... From https://git.openstack.org/openstack/bifrost * branch refs/changes/14/452514/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 HEAD is now at 01e54a3... WIP: Experimental Neutron Installation Domain compute00 destroyed Domain compute00 has been undefined Domain controller00 destroyed Domain controller00 has been undefined Domain xcimaster destroyed Domain xcimaster has been undefined removing inventory files created by previous builds removing ironic database removing leases removing logs restarting services + set -o pipefail + export PYTHONUNBUFFERED=1 + PYTHONUNBUFFERED=1 +++ dirname ./scripts/bifrost-provision.sh ++ cd ./scripts ++ pwd + SCRIPT_HOME=/opt/bifrost/scripts + BIFROST_HOME=/opt/bifrost/scripts/.. + ANSIBLE_INSTALL_ROOT=/opt/stack + ANSIBLE_VERBOSITY=-vvvv + ENABLE_VENV=false + USE_DHCP=false + USE_VENV=false + BUILD_IMAGE=true + PROVISION_WAIT_TIMEOUT=3600 ++ git rev-parse --abbrev-ref HEAD + CURRENT_BIFROST_BRANCH=HEAD + '[' HEAD = master ']' + BAREMETAL_DATA_FILE=/tmp/baremetal.csv + INVENTORY_FILE_FORMAT=baremetal_csv_file + export BIFROST_INVENTORY_SOURCE=/tmp/baremetal.csv + BIFROST_INVENTORY_SOURCE=/tmp/baremetal.csv + export TEST_VM_NUM_NODES=3 + TEST_VM_NUM_NODES=3 + export 'TEST_VM_NODE_NAMES=xcimaster controller00 compute00' + TEST_VM_NODE_NAMES='xcimaster controller00 compute00' + export VM_DOMAIN_TYPE=kvm + VM_DOMAIN_TYPE=kvm + export VM_CPU=2 + VM_CPU=2 + export VM_DISK=30 + VM_DISK=30 + export VM_MEMORY_SIZE=4096 + VM_MEMORY_SIZE=4096 + export VM_DISK_CACHE=unsafe + VM_DISK_CACHE=unsafe + TEST_PLAYBOOK=opnfv-virtual.yaml + USE_INSPECTOR=true + USE_CIRROS=false + TESTING_USER=root + DOWNLOAD_IPA=true + CREATE_IPA_IMAGE=false + INSPECT_NODES=true + INVENTORY_DHCP=false + INVENTORY_DHCP_STATIC_IP=false + WRITE_INTERFACES_FILE=true + export DIB_DEV_USER_PWDLESS_SUDO=yes + DIB_DEV_USER_PWDLESS_SUDO=yes + export DIB_DEV_USER_PASSWORD=devuser + DIB_DEV_USER_PASSWORD=devuser + export DIB_OS_RELEASE=42.2 + DIB_OS_RELEASE=42.2 + export DIB_OS_ELEMENT=opensuse-minimal + DIB_OS_ELEMENT=opensuse-minimal + 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 Loading repository data... Reading installed packages... 'libffi-devel' not found in package names. Trying capabilities. 'libffi-devel-gcc5' providing 'libffi-devel' is already installed. Resolving package dependencies... Nothing to do. NOTICE: Not using virtualenv for this installation. /usr/bin/pip Requirement already satisfied: pip>6.0 in /usr/lib/python2.7/site-packages Requirement already satisfied: pbr>=2.0.0 in /usr/lib/python2.7/site-packages (from -r /opt/bifrost/scripts/../requirements.txt (line 4)) Requirement already satisfied: oslo.config>=3.22.0 in /usr/lib/python2.7/site-packages (from -r /opt/bifrost/scripts/../requirements.txt (line 5)) Requirement already satisfied: oslo.log>=3.22.0 in /usr/lib/python2.7/site-packages (from -r /opt/bifrost/scripts/../requirements.txt (line 6)) Requirement already satisfied: 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: 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: 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: 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: 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: 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: oslo.utils>=3.20.0 in /usr/lib/python2.7/site-packages (from oslo.log>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 6)) Requirement already satisfied: oslo.serialization>=1.10.0 in /usr/lib/python2.7/site-packages (from oslo.log>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 6)) Requirement already satisfied: monotonic>=0.6 in /usr/lib/python2.7/site-packages (from oslo.log>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 6)) Requirement already satisfied: oslo.context>=2.12.0 in /usr/lib/python2.7/site-packages (from oslo.log>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 6)) Requirement already satisfied: pyinotify>=0.9.6; sys_platform != "win32" and sys_platform != "darwin" and sys_platform != "sunos5" in /usr/lib/python2.7/site-packages (from oslo.log>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 6)) Requirement already satisfied: python-dateutil>=2.4.2 in /usr/lib/python2.7/site-packages (from oslo.log>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 6)) Requirement already satisfied: 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: 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: 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: pytz>=2013.6 in /usr/lib/python2.7/site-packages (from oslo.utils>=3.20.0->oslo.log>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 6)) Requirement already satisfied: netifaces>=0.10.4 in /usr/lib64/python2.7/site-packages (from oslo.utils>=3.20.0->oslo.log>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 6)) Requirement already satisfied: iso8601>=0.1.11 in /usr/lib/python2.7/site-packages (from oslo.utils>=3.20.0->oslo.log>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 6)) Requirement already satisfied: pyparsing>=2.1.0 in /usr/lib/python2.7/site-packages (from oslo.utils>=3.20.0->oslo.log>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 6)) Requirement already satisfied: msgpack-python>=0.4.0 in /usr/lib64/python2.7/site-packages (from oslo.serialization>=1.10.0->oslo.log>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 6)) Requirement already satisfied: positional>=1.1.1 in /usr/lib/python2.7/site-packages (from oslo.context>=2.12.0->oslo.log>=3.22.0->-r /opt/bifrost/scripts/../requirements.txt (line 6)) Requirement already up-to-date: ansible<2.2 in /root/.local/lib/python2.7/site-packages Requirement already up-to-date: setuptools in /root/.local/lib/python2.7/site-packages (from ansible<2.2) Requirement already up-to-date: jinja2 in /usr/lib/python2.7/site-packages (from ansible<2.2) Requirement already up-to-date: PyYAML in /usr/lib64/python2.7/site-packages (from ansible<2.2) Requirement already up-to-date: pycrypto>=2.6 in /usr/lib64/python2.7/site-packages (from ansible<2.2) Requirement already up-to-date: paramiko in /root/.local/lib/python2.7/site-packages (from 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: appdirs>=1.4.0 in /usr/lib/python2.7/site-packages (from setuptools->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: MarkupSafe>=0.23 in /usr/lib64/python2.7/site-packages (from jinja2->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: cryptography>=1.1 in /root/.local/lib/python2.7/site-packages (from 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: 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: 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: idna>=2.1 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: pycparser in /usr/lib/python2.7/site-packages (from cffi>=1.4.1->cryptography>=1.1->paramiko->ansible<2.2) [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-04-02 08:20:23-- https://raw.githubusercontent.com/ansible/ansible-modules-extras/stable-2.2/cloud/openstack/os_keystone_service.py Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.192.133, 151.101.64.133, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 6224 (6.1K) [text/plain] Saving to: '/opt/bifrost/scripts/../playbooks/library/os_keystone_service.py' 0K ...... 100% 55.9M=0s 2017-04-02 08:20:23 (55.9 MB/s) - '/opt/bifrost/scripts/../playbooks/library/os_keystone_service.py' saved [6224/6224] To use bifrost, do Prepend ~/.local/bin to your PATH if it is not that way already.. .. or use full path to local Ansible at ~/.local/bin/ansible-playbook source env-vars Then run playbooks as normal. Sourcing this file is no longer needed! Ansible is always installed from PyPI + trap logs_on_exit EXIT + cd /opt/bifrost/scripts/../playbooks + for task in syntax-check list-tasks + /usr/bin/ansible-playbook -vvvv -i inventory/localhost test-bifrost-create-vm.yaml --syntax-check Using /etc/ansible/ansible.cfg as config file statically included: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml 1 plays in test-bifrost-create-vm.yaml playbook: test-bifrost-create-vm.yaml + /usr/bin/ansible-playbook -vvvv -i inventory/localhost opnfv-virtual.yaml --syntax-check -e testing_user=root Using /etc/ansible/ansible.cfg as config file 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/inspector_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/staging_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/pip_install.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/bootstrap.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/keystone_setup.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/ironic_config.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/inspector_bootstrap.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/keystone_setup_inspector.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/create_tftpboot.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/get_ipxe.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/download_ipa_image.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/start.yml statically included: /opt/bifrost/playbooks/roles/bifrost-ironic-install/tasks/inspector_start.yml statically included: /opt/bifrost/playbooks/roles/bifrost-configdrives-dynamic/tasks/update_facts_from_ironic.yaml statically included: /opt/bifrost/playbooks/roles/bifrost-configdrives-dynamic/tasks/ssh_public_key_path.yaml 6 plays in opnfv-virtual.yaml playbook: opnfv-virtual.yaml + for task in syntax-check list-tasks + /usr/bin/ansible-playbook -vvvv -i inventory/localhost test-bifrost-create-vm.yaml --list-tasks Using /etc/ansible/ansible.cfg as config file 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 : Stop default dnsmasq service TAGS: [] bifrost-create-vm-nodes : ensure libvirt network is present TAGS: [] bifrost-create-vm-nodes : find facts on libvirt networks TAGS: [] bifrost-create-vm-nodes : Delete network interface if virtual network is not active TAGS: [] bifrost-create-vm-nodes : set libvirt network to autostart TAGS: [] bifrost-create-vm-nodes : ensure libvirt network is running TAGS: [] bifrost-create-vm-nodes : get libvirt network status TAGS: [] bifrost-create-vm-nodes : fail if libvirt network is not active TAGS: [] bifrost-create-vm-nodes : define a libvirt pool if not set TAGS: [] bifrost-create-vm-nodes : ensure libvirt pool is running TAGS: [] bifrost-create-vm-nodes : create dir for bm logs TAGS: [] bifrost-create-vm-nodes : install virtualbmc TAGS: [] bifrost-create-vm-nodes : truncate explicit list of vm names TAGS: [] bifrost-create-vm-nodes : generate test vm names TAGS: [] bifrost-create-vm-nodes : set test vm names TAGS: [] bifrost-create-vm-nodes : create placeholder var for vm entries in JSON format TAGS: [] include TAGS: [] bifrost-create-vm-nodes : remove previous baremetal data file TAGS: [] bifrost-create-vm-nodes : write to baremetal json file TAGS: [] bifrost-create-vm-nodes : "Set file permissions such that the baremetal data file can be read by the user executing Ansible" TAGS: [] + /usr/bin/ansible-playbook -vvvv -i inventory/localhost opnfv-virtual.yaml --list-tasks -e testing_user=root Using /etc/ansible/ansible.cfg as config file 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/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 : 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: [] + /usr/bin/ansible-playbook -vvvv -i inventory/localhost test-bifrost-create-vm.yaml -e test_vm_num_nodes=3 -e test_vm_memory_size=4096 -e enable_venv=false -e test_vm_domain_type=kvm -e baremetal_csv_file=/tmp/baremetal.csv Using /etc/ansible/ansible.cfg as config file statically included: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml Loaded callback default of type stdout, v2.0 Loaded callback profile_tasks of type aggregate, 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] ******************************************************************* Sunday 02 April 2017 08:20:35 +0100 (0:00:00.057) 0:00:00.057 ********** <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-1491117635.52-76898566101958 `" && echo ansible-tmp-1491117635.52-76898566101958="` echo $HOME/.ansible/tmp/ansible-tmp-1491117635.52-76898566101958 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmpVkjCeU TO /root/.ansible/tmp/ansible-tmp-1491117635.52-76898566101958/setup <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1491117635.52-76898566101958/ /root/.ansible/tmp/ansible-tmp-1491117635.52-76898566101958/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-1491117635.52-76898566101958/setup; rm -rf "/root/.ansible/tmp/ansible-tmp-1491117635.52-76898566101958/" > /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 Sunday 02 April 2017 08:20:35 +0100 (0:00:00.650) 0:00:00.708 ********** ok: [127.0.0.1] => { "msg": "\"WARNING - 'baremetal_csv_file' variable is defined. Its use is deprecated. The file created will be in JSON format. Use 'baremetal_json_file' variable instead.\"\n" } TASK [Re-set baremetal json to csv file if defined] **************************** task path: /opt/bifrost/playbooks/test-bifrost-create-vm.yaml:16 Sunday 02 April 2017 08:20:36 +0100 (0:00:00.060) 0:00:00.769 ********** ok: [127.0.0.1] => {"ansible_facts": {"baremetal_json_file": "/tmp/baremetal.csv"}, "changed": false, "invocation": {"module_args": {"baremetal_json_file": "/tmp/baremetal.csv"}, "module_name": "set_fact"}} TASK [Set default baremetal.json file if not already defined] ****************** task path: /opt/bifrost/playbooks/test-bifrost-create-vm.yaml:20 Sunday 02 April 2017 08:20:36 +0100 (0:00:00.061) 0:00:00.831 ********** 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 Sunday 02 April 2017 08:20:36 +0100 (0:00:00.068) 0:00:00.899 ********** 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 Sunday 02 April 2017 08:20:36 +0100 (0:00:00.053) 0:00:00.953 ********** 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 Sunday 02 April 2017 08:20:36 +0100 (0:00:00.054) 0:00:01.007 ********** 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 Sunday 02 April 2017 08:20:36 +0100 (0:00:00.054) 0:00:01.062 ********** 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 Sunday 02 April 2017 08:20:36 +0100 (0:00:00.050) 0:00:01.112 ********** ok: [127.0.0.1] => { "msg": "\"WARNING - Variable 'baremetal_csv_file' is deprecated. For backward compatibility, its value will be used as path for file to write data for created 'virtual' baremetal nodes, but the file will be JSON formatted.\"\n" } TASK [bifrost-create-vm-nodes : override baremetal_json_file with csv file path] *** task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:24 Sunday 02 April 2017 08:20:36 +0100 (0:00:00.077) 0:00:01.190 ********** ok: [127.0.0.1] => {"ansible_facts": {"baremetal_json_file": "/tmp/baremetal.csv"}, "changed": false, "invocation": {"module_args": {"baremetal_json_file": "/tmp/baremetal.csv"}, "module_name": "set_fact"}} TASK [bifrost-create-vm-nodes : Ensure openSUSE Tumbleweed has the correct family] *** task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/main.yml:34 Sunday 02 April 2017 08:20:36 +0100 (0:00:00.062) 0:00:01.252 ********** 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 Sunday 02 April 2017 08:20:36 +0100 (0:00:00.074) 0:00:01.327 ********** 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 Sunday 02 April 2017 08:20:36 +0100 (0:00:00.070) 0:00:01.398 ********** 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 Sunday 02 April 2017 08:20:36 +0100 (0:00:00.066) 0:00:01.464 ********** ok: [127.0.0.1] => (item=/opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/templates/../defaults/required_defaults_Suse.yml) => {"ansible_facts": {"libvirt_service_name": "libvirtd", "required_packages": ["qemu-tools", "qemu-kvm", "qemu-x86", "qemu-sgabios", "libvirt", "libvirt-client", "libvirt-daemon", "libvirt-python", "python-lxml", "pkg-config", "libvirt-devel"], "sgabios_dir": "/usr/share/sgabios/"}, "invocation": {"module_args": {"_raw_params": "/opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/templates/../defaults/required_defaults_Suse.yml"}, "module_name": "include_vars"}, "item": "/opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/templates/../defaults/required_defaults_Suse.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 Sunday 02 April 2017 08:20:36 +0100 (0:00:00.136) 0:00:01.601 ********** 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 Sunday 02 April 2017 08:20:36 +0100 (0:00:00.129) 0:00:01.731 ********** <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-1491117637.08-245829246030893 `" && echo ansible-tmp-1491117637.08-245829246030893="` echo $HOME/.ansible/tmp/ansible-tmp-1491117637.08-245829246030893 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmpONNKX2 TO /root/.ansible/tmp/ansible-tmp-1491117637.08-245829246030893/stat <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1491117637.08-245829246030893/ /root/.ansible/tmp/ansible-tmp-1491117637.08-245829246030893/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-1491117637.08-245829246030893/stat; rm -rf "/root/.ansible/tmp/ansible-tmp-1491117637.08-245829246030893/" > /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 Sunday 02 April 2017 08:20:37 +0100 (0:00:00.328) 0:00:02.059 ********** 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 Sunday 02 April 2017 08:20:37 +0100 (0:00:00.072) 0:00:02.132 ********** <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-1491117637.54-40576102188702 `" && echo ansible-tmp-1491117637.54-40576102188702="` echo $HOME/.ansible/tmp/ansible-tmp-1491117637.54-40576102188702 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmpiH7noa TO /root/.ansible/tmp/ansible-tmp-1491117637.54-40576102188702/zypper <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1491117637.54-40576102188702/ /root/.ansible/tmp/ansible-tmp-1491117637.54-40576102188702/zypper && 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-1491117637.54-40576102188702/zypper; rm -rf "/root/.ansible/tmp/ansible-tmp-1491117637.54-40576102188702/" > /dev/null 2>&1 && sleep 0' ok: [127.0.0.1] => (item=[u'qemu-tools', u'qemu-kvm', u'qemu-x86', u'qemu-sgabios', u'libvirt', u'libvirt-client', u'libvirt-daemon', u'libvirt-python', u'python-lxml', u'pkg-config', u'libvirt-devel']) => {"changed": false, "invocation": {"module_args": {"disable_gpg_check": false, "disable_recommends": true, "name": ["qemu-tools", "qemu-kvm", "qemu-x86", "qemu-sgabios", "libvirt", "libvirt-client", "libvirt-daemon", "libvirt-python", "python-lxml", "pkg-config", "libvirt-devel"], "state": "present", "type": "package"}, "module_name": "zypper"}, "item": ["qemu-tools", "qemu-kvm", "qemu-x86", "qemu-sgabios", "libvirt", "libvirt-client", "libvirt-daemon", "libvirt-python", "python-lxml", "pkg-config", "libvirt-devel"], "name": ["qemu-tools", "qemu-kvm", "qemu-x86", "qemu-sgabios", "libvirt", "libvirt-client", "libvirt-daemon", "libvirt-python", "python-lxml", "pkg-config", "libvirt-devel"], "rc": 0, "state": "present"} TASK [bifrost-create-vm-nodes : Restart libvirt service] *********************** task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml:18 Sunday 02 April 2017 08:20:37 +0100 (0:00:00.442) 0:00:02.575 ********** <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-1491117637.95-38104933727389 `" && echo ansible-tmp-1491117637.95-38104933727389="` echo $HOME/.ansible/tmp/ansible-tmp-1491117637.95-38104933727389 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmp7XYCDH TO /root/.ansible/tmp/ansible-tmp-1491117637.95-38104933727389/service <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1491117637.95-38104933727389/ /root/.ansible/tmp/ansible-tmp-1491117637.95-38104933727389/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-1491117637.95-38104933727389/service; rm -rf "/root/.ansible/tmp/ansible-tmp-1491117637.95-38104933727389/" > /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 Sunday 02 April 2017 08:20:38 +0100 (0:00:00.510) 0:00:03.085 ********** <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-1491117638.43-198764459933998 `" && echo ansible-tmp-1491117638.43-198764459933998="` echo $HOME/.ansible/tmp/ansible-tmp-1491117638.43-198764459933998 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmpQGs9GQ TO /root/.ansible/tmp/ansible-tmp-1491117638.43-198764459933998/sysctl <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1491117638.43-198764459933998/ /root/.ansible/tmp/ansible-tmp-1491117638.43-198764459933998/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-1491117638.43-198764459933998/sysctl; rm -rf "/root/.ansible/tmp/ansible-tmp-1491117638.43-198764459933998/" > /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 Sunday 02 April 2017 08:20:38 +0100 (0:00:00.362) 0:00:03.448 ********** <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-1491117638.71-29011704541711 `" && echo ansible-tmp-1491117638.71-29011704541711="` echo $HOME/.ansible/tmp/ansible-tmp-1491117638.71-29011704541711 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmpW2FpNB TO /root/.ansible/tmp/ansible-tmp-1491117638.71-29011704541711/stat <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1491117638.71-29011704541711/ /root/.ansible/tmp/ansible-tmp-1491117638.71-29011704541711/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-1491117638.71-29011704541711/stat; rm -rf "/root/.ansible/tmp/ansible-tmp-1491117638.71-29011704541711/" > /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": {"exists": 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 Sunday 02 April 2017 08:20:39 +0100 (0:00:00.749) 0:00:04.197 ********** <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-1491117639.47-203391906447343 `" && echo ansible-tmp-1491117639.47-203391906447343="` echo $HOME/.ansible/tmp/ansible-tmp-1491117639.47-203391906447343 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmpNZVCEw TO /root/.ansible/tmp/ansible-tmp-1491117639.47-203391906447343/stat <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1491117639.47-203391906447343/ /root/.ansible/tmp/ansible-tmp-1491117639.47-203391906447343/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-1491117639.47-203391906447343/stat; rm -rf "/root/.ansible/tmp/ansible-tmp-1491117639.47-203391906447343/" > /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 Sunday 02 April 2017 08:20:39 +0100 (0:00:00.275) 0:00:04.473 ********** skipping: [127.0.0.1] => {"changed": false, "skip_reason": "Conditional check failed", "skipped": true} TASK [bifrost-create-vm-nodes : Stop default dnsmasq service] ****************** task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml:49 Sunday 02 April 2017 08:20:39 +0100 (0:00:00.059) 0:00:04.532 ********** <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-1491117639.8-168845230892525 `" && echo ansible-tmp-1491117639.8-168845230892525="` echo $HOME/.ansible/tmp/ansible-tmp-1491117639.8-168845230892525 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmpzoj7tN TO /root/.ansible/tmp/ansible-tmp-1491117639.8-168845230892525/service <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1491117639.8-168845230892525/ /root/.ansible/tmp/ansible-tmp-1491117639.8-168845230892525/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-1491117639.8-168845230892525/service; rm -rf "/root/.ansible/tmp/ansible-tmp-1491117639.8-168845230892525/" > /dev/null 2>&1 && sleep 0' changed: [127.0.0.1] => {"changed": true, "invocation": {"module_args": {"arguments": "", "enabled": null, "name": "dnsmasq", "pattern": null, "runlevel": "default", "sleep": null, "state": "stopped"}, "module_name": "service"}, "name": "dnsmasq", "state": "stopped"} TASK [bifrost-create-vm-nodes : ensure libvirt network is present] ************* task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml:54 Sunday 02 April 2017 08:20:40 +0100 (0:00:00.302) 0:00:04.834 ********** 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-1491117640.21-218748466196498 `" && echo ansible-tmp-1491117640.21-218748466196498="` echo $HOME/.ansible/tmp/ansible-tmp-1491117640.21-218748466196498 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmpfijk3L TO /root/.ansible/tmp/ansible-tmp-1491117640.21-218748466196498/virt_net <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1491117640.21-218748466196498/ /root/.ansible/tmp/ansible-tmp-1491117640.21-218748466196498/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-1491117640.21-218748466196498/virt_net; rm -rf "/root/.ansible/tmp/ansible-tmp-1491117640.21-218748466196498/" > /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:61 Sunday 02 April 2017 08:20:40 +0100 (0:00:00.400) 0:00:05.234 ********** <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-1491117640.51-203838082550884 `" && echo ansible-tmp-1491117640.51-203838082550884="` echo $HOME/.ansible/tmp/ansible-tmp-1491117640.51-203838082550884 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmplodaqX TO /root/.ansible/tmp/ansible-tmp-1491117640.51-203838082550884/virt_net <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1491117640.51-203838082550884/ /root/.ansible/tmp/ansible-tmp-1491117640.51-203838082550884/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-1491117640.51-203838082550884/virt_net; rm -rf "/root/.ansible/tmp/ansible-tmp-1491117640.51-203838082550884/" > /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:ee:8a:76", "persistent": "yes", "state": "active", "uuid": "439627dc-7d11-47b9-9b12-11c6211bffbc"}}}, "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:67 Sunday 02 April 2017 08:20:40 +0100 (0:00:00.314) 0:00:05.548 ********** 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:74 Sunday 02 April 2017 08:20:40 +0100 (0:00:00.064) 0:00:05.613 ********** <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-1491117640.89-15359996440644 `" && echo ansible-tmp-1491117640.89-15359996440644="` echo $HOME/.ansible/tmp/ansible-tmp-1491117640.89-15359996440644 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmpIfCN0U TO /root/.ansible/tmp/ansible-tmp-1491117640.89-15359996440644/virt_net <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1491117640.89-15359996440644/ /root/.ansible/tmp/ansible-tmp-1491117640.89-15359996440644/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-1491117640.89-15359996440644/virt_net; rm -rf "/root/.ansible/tmp/ansible-tmp-1491117640.89-15359996440644/" > /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:80 Sunday 02 April 2017 08:20:41 +0100 (0:00:00.468) 0:00:06.082 ********** <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-1491117641.36-21018995607016 `" && echo ansible-tmp-1491117641.36-21018995607016="` echo $HOME/.ansible/tmp/ansible-tmp-1491117641.36-21018995607016 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmp1MnOJI TO /root/.ansible/tmp/ansible-tmp-1491117641.36-21018995607016/virt_net <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1491117641.36-21018995607016/ /root/.ansible/tmp/ansible-tmp-1491117641.36-21018995607016/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-1491117641.36-21018995607016/virt_net; rm -rf "/root/.ansible/tmp/ansible-tmp-1491117641.36-21018995607016/" > /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:86 Sunday 02 April 2017 08:20:41 +0100 (0:00:00.393) 0:00:06.475 ********** <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-1491117641.75-210139275169373 `" && echo ansible-tmp-1491117641.75-210139275169373="` echo $HOME/.ansible/tmp/ansible-tmp-1491117641.75-210139275169373 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmpuBZfZL TO /root/.ansible/tmp/ansible-tmp-1491117641.75-210139275169373/virt_net <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1491117641.75-210139275169373/ /root/.ansible/tmp/ansible-tmp-1491117641.75-210139275169373/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-1491117641.75-210139275169373/virt_net; rm -rf "/root/.ansible/tmp/ansible-tmp-1491117641.75-210139275169373/" > /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:93 Sunday 02 April 2017 08:20:42 +0100 (0:00:00.375) 0:00:06.851 ********** 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:97 Sunday 02 April 2017 08:20:42 +0100 (0:00:00.067) 0:00:06.918 ********** 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-1491117642.28-248631797708657 `" && echo ansible-tmp-1491117642.28-248631797708657="` echo $HOME/.ansible/tmp/ansible-tmp-1491117642.28-248631797708657 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmpTNNz5e TO /root/.ansible/tmp/ansible-tmp-1491117642.28-248631797708657/virt_pool <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1491117642.28-248631797708657/ /root/.ansible/tmp/ansible-tmp-1491117642.28-248631797708657/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-1491117642.28-248631797708657/virt_pool; rm -rf "/root/.ansible/tmp/ansible-tmp-1491117642.28-248631797708657/" > /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:104 Sunday 02 April 2017 08:20:42 +0100 (0:00:00.399) 0:00:07.317 ********** <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-1491117642.6-196267136741797 `" && echo ansible-tmp-1491117642.6-196267136741797="` echo $HOME/.ansible/tmp/ansible-tmp-1491117642.6-196267136741797 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmp6ml2lw TO /root/.ansible/tmp/ansible-tmp-1491117642.6-196267136741797/virt_pool <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1491117642.6-196267136741797/ /root/.ansible/tmp/ansible-tmp-1491117642.6-196267136741797/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-1491117642.6-196267136741797/virt_pool; rm -rf "/root/.ansible/tmp/ansible-tmp-1491117642.6-196267136741797/" > /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:111 Sunday 02 April 2017 08:20:42 +0100 (0:00:00.329) 0:00:07.647 ********** <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-1491117643.0-31752866390665 `" && echo ansible-tmp-1491117643.0-31752866390665="` echo $HOME/.ansible/tmp/ansible-tmp-1491117643.0-31752866390665 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmpA44j1R TO /root/.ansible/tmp/ansible-tmp-1491117643.0-31752866390665/file <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1491117643.0-31752866390665/ /root/.ansible/tmp/ansible-tmp-1491117643.0-31752866390665/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-1491117643.0-31752866390665/file; rm -rf "/root/.ansible/tmp/ansible-tmp-1491117643.0-31752866390665/" > /dev/null 2>&1 && sleep 0' ok: [127.0.0.1] => {"changed": false, "diff": {"after": {"path": "/var/log/libvirt/baremetal_logs"}, "before": {"path": "/var/log/libvirt/baremetal_logs"}}, "gid": 0, "group": "root", "invocation": {"module_args": {"backup": null, "content": null, "delimiter": null, "diff_peek": null, "directory_mode": null, "follow": false, "force": false, "group": null, "mode": "o+rx", "original_basename": null, "owner": null, "path": "/var/log/libvirt/baremetal_logs", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "directory", "validate": null}, "module_name": "file"}, "mode": "0755", "owner": "root", "path": "/var/log/libvirt/baremetal_logs", "size": 4096, "state": "directory", "uid": 0} TASK [bifrost-create-vm-nodes : install virtualbmc] **************************** task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml:117 Sunday 02 April 2017 08:20:43 +0100 (0:00:00.322) 0:00:07.969 ********** <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-1491117643.28-7819771099423 `" && echo ansible-tmp-1491117643.28-7819771099423="` echo $HOME/.ansible/tmp/ansible-tmp-1491117643.28-7819771099423 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmpsAFv4j TO /root/.ansible/tmp/ansible-tmp-1491117643.28-7819771099423/pip <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1491117643.28-7819771099423/ /root/.ansible/tmp/ansible-tmp-1491117643.28-7819771099423/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-1491117643.28-7819771099423/pip; rm -rf "/root/.ansible/tmp/ansible-tmp-1491117643.28-7819771099423/" > /dev/null 2>&1 && sleep 0' ok: [127.0.0.1] => {"changed": false, "cmd": "/usr/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": "", "stdout": "Requirement already satisfied: virtualbmc in /usr/lib/python2.7/site-packages\nRequirement already satisfied: PrettyTable<0.8,>=0.7.1 in /usr/lib/python2.7/site-packages (from virtualbmc)\nRequirement already satisfied: pyghmi>=1.0.9 in /usr/lib/python2.7/site-packages (from virtualbmc)\nRequirement already satisfied: six>=1.9.0 in /usr/lib/python2.7/site-packages (from virtualbmc)\nRequirement already satisfied: pbr>=1.8 in /usr/lib/python2.7/site-packages (from virtualbmc)\nRequirement already satisfied: libvirt-python>=1.2.5 in /usr/lib64/python2.7/site-packages (from virtualbmc)\nRequirement already satisfied: pycrypto>=2.6 in /usr/lib64/python2.7/site-packages (from pyghmi>=1.0.9->virtualbmc)\n", "stdout_lines": ["Requirement already satisfied: virtualbmc in /usr/lib/python2.7/site-packages", "Requirement already satisfied: PrettyTable<0.8,>=0.7.1 in /usr/lib/python2.7/site-packages (from virtualbmc)", "Requirement already satisfied: pyghmi>=1.0.9 in /usr/lib/python2.7/site-packages (from virtualbmc)", "Requirement already satisfied: six>=1.9.0 in /usr/lib/python2.7/site-packages (from virtualbmc)", "Requirement already satisfied: pbr>=1.8 in /usr/lib/python2.7/site-packages (from virtualbmc)", "Requirement already satisfied: libvirt-python>=1.2.5 in /usr/lib64/python2.7/site-packages (from virtualbmc)", "Requirement already satisfied: 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 Sunday 02 April 2017 08:20:44 +0100 (0:00:01.074) 0:00:09.044 ********** 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 Sunday 02 April 2017 08:20:44 +0100 (0:00:00.045) 0:00:09.090 ********** 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 Sunday 02 April 2017 08:20:44 +0100 (0:00:00.185) 0:00:09.275 ********** 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 Sunday 02 April 2017 08:20:44 +0100 (0:00:00.035) 0:00:09.311 ********** 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 Sunday 02 April 2017 08:20:44 +0100 (0:00:00.035) 0:00:09.346 ********** 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 Sunday 02 April 2017 08:20:44 +0100 (0:00:00.386) 0:00:09.732 ********** 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 Sunday 02 April 2017 08:20:45 +0100 (0:00:00.079) 0:00:09.812 ********** 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 Sunday 02 April 2017 08:20:45 +0100 (0:00:00.047) 0:00:09.859 ********** <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-1491117645.12-194630020029897 `" && echo ansible-tmp-1491117645.12-194630020029897="` echo $HOME/.ansible/tmp/ansible-tmp-1491117645.12-194630020029897 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmpVE2qzK TO /root/.ansible/tmp/ansible-tmp-1491117645.12-194630020029897/virt_pool <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1491117645.12-194630020029897/ /root/.ansible/tmp/ansible-tmp-1491117645.12-194630020029897/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-1491117645.12-194630020029897/virt_pool; rm -rf "/root/.ansible/tmp/ansible-tmp-1491117645.12-194630020029897/" > /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": "534476099584", "size_total": "545222148096", "size_used": "10746048512", "state": "active", "status": "running", "type": "dir", "uuid": "73e34526-e5d0-4a18-bb2a-7080e73090ed", "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 Sunday 02 April 2017 08:20:45 +0100 (0:00:00.316) 0:00:10.176 ********** <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-1491117645.49-204532838578677 `" && echo ansible-tmp-1491117645.49-204532838578677="` echo $HOME/.ansible/tmp/ansible-tmp-1491117645.49-204532838578677 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmp5Fk4QY TO /root/.ansible/tmp/ansible-tmp-1491117645.49-204532838578677/virt <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1491117645.49-204532838578677/ /root/.ansible/tmp/ansible-tmp-1491117645.49-204532838578677/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-1491117645.49-204532838578677/virt; rm -rf "/root/.ansible/tmp/ansible-tmp-1491117645.49-204532838578677/" > /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 Sunday 02 April 2017 08:20:45 +0100 (0:00:00.330) 0:00:10.506 ********** <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-1491117645.86-100727072047192 `" && echo ansible-tmp-1491117645.86-100727072047192="` echo $HOME/.ansible/tmp/ansible-tmp-1491117645.86-100727072047192 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmpaFlCkv TO /root/.ansible/tmp/ansible-tmp-1491117645.86-100727072047192/command <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1491117645.86-100727072047192/ /root/.ansible/tmp/ansible-tmp-1491117645.86-100727072047192/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-1491117645.86-100727072047192/command; rm -rf "/root/.ansible/tmp/ansible-tmp-1491117645.86-100727072047192/" > /dev/null 2>&1 && sleep 0' changed: [127.0.0.1] => {"changed": true, "cmd": ["virsh", "--connect", "qemu:///system", "vol-create-as", "default", "xcimaster.qcow2", "31G", "--format", "qcow2"], "delta": "0:00:00.893793", "end": "2017-04-02 08:20:46.888327", "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-04-02 08:20:45.994534", "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 Sunday 02 April 2017 08:20:46 +0100 (0:00:01.189) 0:00:11.696 ********** 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 Sunday 02 April 2017 08:20:46 +0100 (0:00:00.062) 0:00:11.758 ********** <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-1491117647.02-88549284638779 `" && echo ansible-tmp-1491117647.02-88549284638779="` echo $HOME/.ansible/tmp/ansible-tmp-1491117647.02-88549284638779 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmpQ8t7gZ TO /root/.ansible/tmp/ansible-tmp-1491117647.02-88549284638779/file <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1491117647.02-88549284638779/ /root/.ansible/tmp/ansible-tmp-1491117647.02-88549284638779/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-1491117647.02-88549284638779/file; rm -rf "/root/.ansible/tmp/ansible-tmp-1491117647.02-88549284638779/" > /dev/null 2>&1 && sleep 0' changed: [127.0.0.1] => {"changed": true, "dest": "/var/lib/libvirt/images/xcimaster.qcow2", "diff": {"after": {"path": "/var/lib/libvirt/images/xcimaster.qcow2", "state": "touch"}, "before": {"path": "/var/lib/libvirt/images/xcimaster.qcow2", "state": "file"}}, "gid": 0, "group": "root", "invocation": {"module_args": {"backup": null, "content": null, "delimiter": null, "diff_peek": null, "directory_mode": null, "follow": false, "force": false, "group": null, "mode": null, "original_basename": null, "owner": null, "path": "/var/lib/libvirt/images/xcimaster.qcow2", "recurse": false, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "touch", "validate": null}, "module_name": "file"}, "mode": "0600", "owner": "root", "size": 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 Sunday 02 April 2017 08:20:47 +0100 (0:00:00.233) 0:00:11.991 ********** <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-1491117647.27-63304399951135 `" && echo ansible-tmp-1491117647.27-63304399951135="` echo $HOME/.ansible/tmp/ansible-tmp-1491117647.27-63304399951135 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmpBW1FXI TO /root/.ansible/tmp/ansible-tmp-1491117647.27-63304399951135/command <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1491117647.27-63304399951135/ /root/.ansible/tmp/ansible-tmp-1491117647.27-63304399951135/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-1491117647.27-63304399951135/command; rm -rf "/root/.ansible/tmp/ansible-tmp-1491117647.27-63304399951135/" > /dev/null 2>&1 && sleep 0' changed: [127.0.0.1] => {"changed": true, "cmd": ["chattr", "+C", "/var/lib/libvirt/images/xcimaster.qcow2"], "delta": "0:00:00.003886", "end": "2017-04-02 08:20:47.427269", "invocation": {"module_args": {"_raw_params": "chattr +C /var/lib/libvirt/images/xcimaster.qcow2", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 0, "start": "2017-04-02 08:20:47.423383", "stderr": "", "stdout": "", "stdout_lines": [], "warnings": []} TASK [bifrost-create-vm-nodes : create_vm] ************************************* task path: /opt/bifrost/playbooks/roles/bifrost-create-vm-nodes/tasks/create_vm.yml:71 Sunday 02 April 2017 08:20:47 +0100 (0:00:00.245) 0:00:12.237 ********** 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-1491117647.52-101173403375221 `" && echo ansible-tmp-1491117647.52-101173403375221="` echo $HOME/.ansible/tmp/ansible-tmp-1491117647.52-101173403375221 `" ) && sleep 0' <127.0.0.1> PUT /tmp/tmpo2Si1L TO /root/.ansible/tmp/ansible-tmp-1491117647.52-101173403375221/virt <127.0.0.1> EXEC /bin/sh -c 'chmod u+x /root/.ansible/tmp/ansible-tmp-1491117647.52-101173403375221/ /root/.ansible/tmp/ansible-tmp-1491117647.52-101173403375221/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-1491117647.52-101173403375221/virt; rm -rf "/root/.ansible/tmp/ansible-tmp-1491117647.52-101173403375221/" > /dev/null 2>&1 && sleep 0' changed: [127.0.0.1] => {"changed": true, "created": "xcimaster", "invocation": {"module_args": {"command": "define", "name": "xcimaster", "state": null, "uri": "qemu:///system", "xml": "\n xcimaster\n 4096\n 2\n \n hvm\n \n \n \n \n \n \n \n \n \n \n destroy\n restart\n restart\n \n /usr/bin/qemu-system-x86_64\n \n \n \n \n
\n \n \n
\n \n \n \n \n \n \n