Created
March 19, 2018 20:33
-
-
Save firemanxbr/d31dcefdf13458105203542449f7f4c5 to your computer and use it in GitHub Desktop.
qemu image failing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TASK [minishift : Initialization of minishift cluster with profile minishift] ******************************************************************************************************************************************** | |
task path: /home/firemanxbr/GitHub/contra-env-setup/playbooks/roles/minishift/tasks/init_minishift.yml:10 | |
Using module file /usr/lib/python2.7/site-packages/ansible/modules/commands/command.py | |
<localhost> ESTABLISH SSH CONNECTION FOR USER: avocado | |
<localhost> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=12345 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=avocado -o ConnectTimeout=10 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ControlPath=/home/firemanxbr/.ansible/cp/b0d3931675 localhost '/bin/sh -c '"'"'echo ~ && sleep 0'"'"'' | |
<localhost> (0, '/home/avocado\n', '') | |
<localhost> ESTABLISH SSH CONNECTION FOR USER: avocado | |
<localhost> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=12345 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=avocado -o ConnectTimeout=10 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ControlPath=/home/firemanxbr/.ansible/cp/b0d3931675 localhost '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo /home/avocado/.ansible/tmp/ansible-tmp-1521488195.81-187390181322826 `" && echo ansible-tmp-1521488195.81-187390181322826="` echo /home/avocado/.ansible/tmp/ansible-tmp-1521488195.81-187390181322826 `" ) && sleep 0'"'"'' | |
<localhost> (0, 'ansible-tmp-1521488195.81-187390181322826=/home/avocado/.ansible/tmp/ansible-tmp-1521488195.81-187390181322826\n', '') | |
<localhost> PUT /tmp/tmpLYL4w1 TO /home/avocado/.ansible/tmp/ansible-tmp-1521488195.81-187390181322826/command.py | |
<localhost> SSH: EXEC sftp -b - -C -o ControlMaster=auto -o ControlPersist=60s -o Port=12345 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=avocado -o ConnectTimeout=10 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ControlPath=/home/firemanxbr/.ansible/cp/b0d3931675 '[localhost]' | |
<localhost> (0, 'sftp> put /tmp/tmpLYL4w1 /home/avocado/.ansible/tmp/ansible-tmp-1521488195.81-187390181322826/command.py\n', '') | |
<localhost> ESTABLISH SSH CONNECTION FOR USER: avocado | |
<localhost> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=12345 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=avocado -o ConnectTimeout=10 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ControlPath=/home/firemanxbr/.ansible/cp/b0d3931675 localhost '/bin/sh -c '"'"'chmod u+x /home/avocado/.ansible/tmp/ansible-tmp-1521488195.81-187390181322826/ /home/avocado/.ansible/tmp/ansible-tmp-1521488195.81-187390181322826/command.py && sleep 0'"'"'' | |
<localhost> (0, '', '') | |
<localhost> ESTABLISH SSH CONNECTION FOR USER: avocado | |
<localhost> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o Port=12345 -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=avocado -o ConnectTimeout=10 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ControlPath=/home/firemanxbr/.ansible/cp/b0d3931675 -tt localhost '/bin/sh -c '"'"'/usr/bin/python /home/avocado/.ansible/tmp/ansible-tmp-1521488195.81-187390181322826/command.py; rm -rf "/home/avocado/.ansible/tmp/ansible-tmp-1521488195.81-187390181322826/" > /dev/null 2>&1 && sleep 0'"'"'' | |
<localhost> (0, '\r\n{"changed": true, "end": "2018-03-19 19:36:37.105801", "stdout": "-- minishift version: v1.14.0+1ec5877\\n-- Starting profile \'minishift\'\\n-- Checking if requested OpenShift version \'v3.7.1\' is valid ... OK\\n-- Checking if requested OpenShift version \'v3.7.1\' is supported ... OK\\n-- Checking if requested hypervisor \'kvm\' is supported on this platform ... OK\\n-- Checking if KVM driver is installed ... \\n Driver is available at /usr/local/bin/docker-machine-driver-kvm ... \\n Checking driver binary is executable ... OK\\n-- Checking if Libvirt is installed ... OK\\n-- Checking if Libvirt default network is present ... FAIL", "cmd": ["/home/avocado/minishift/minishift", "start", "--profile", "minishift", "--disk-size", "40gb", "--memory", "6400mb", "--iso-url", "file:////home/avocado/minishift/minishift.iso", "--show-libmachine-logs", "-v5"], "failed": true, "delta": "0:00:01.078924", "stderr": " See the \'Setting Up the Driver Plug-in\' topic (https://docs.openshift.org/latest/minishift/getting-started/setting-up-driver-plugin.html) for more information", "rc": 1, "invocation": {"module_args": {"warn": true, "executable": null, "_uses_shell": false, "_raw_params": "/home/avocado/minishift/minishift start --profile minishift --disk-size 40gb --memory6400mb --iso-url file:////home/avocado/minishift/minishift.iso --show-libmachine-logs -v5", "removes": null, "creates": null, "chdir": null, "stdin": null}}, "start": "2018-03-19 19:36:36.026877", "msg": "non-zero return code"}\r\n', 'Shared connection to localhost closed.\r\n') | |
fatal: [localhost]: FAILED! => { | |
"changed": true, | |
"cmd": [ | |
"/home/avocado/minishift/minishift", | |
"start", | |
"--profile", | |
"minishift", | |
"--disk-size", | |
"40gb", | |
"--memory", | |
"6400mb", | |
"--iso-url", | |
"file:////home/avocado/minishift/minishift.iso", | |
"--show-libmachine-logs", | |
"-v5" | |
], | |
"delta": "0:00:01.078924", | |
"end": "2018-03-19 19:36:37.105801", | |
"invocation": { | |
"module_args": { | |
"_raw_params": "/home/avocado/minishift/minishift start --profile minishift --disk-size 40gb --memory 6400mb --iso-url file:////home/avocado/minishift/minishift.iso --show-libmachine-logs -v5", | |
"_uses_shell": false, | |
"chdir": null, | |
"creates": null, | |
"executable": null, | |
"removes": null, | |
"stdin": null, | |
"warn": true | |
} | |
}, | |
"msg": "non-zero return code", | |
"rc": 1, | |
"start": "2018-03-19 19:36:36.026877", | |
"stderr": " See the 'Setting Up the Driver Plug-in' topic (https://docs.openshift.org/latest/minishift/getting-started/setting-up-driver-plugin.html) for more information", | |
"stderr_lines": [ | |
" See the 'Setting Up the Driver Plug-in' topic (https://docs.openshift.org/latest/minishift/getting-started/setting-up-driver-plugin.html) for more information" | |
], | |
"stdout": "-- minishift version: v1.14.0+1ec5877\n-- Starting profile 'minishift'\n-- Checking if requested OpenShift version 'v3.7.1' is valid ... OK\n-- Checking if requested OpenShift version 'v3.7.1' is supported ... OK\n-- Checking if requested hypervisor 'kvm' is supported on this platform ... OK\n-- Checking if KVM driver is installed ... \n Driver is available at /usr/local/bin/docker-machine-driver-kvm ... \n Checking driver binary is executable ... OK\n-- Checking if Libvirt is installed ... OK\n-- Checking if Libvirt default network is present ... FAIL", | |
"stdout_lines": [ | |
"-- minishift version: v1.14.0+1ec5877", | |
"-- Starting profile 'minishift'", | |
"-- Checking if requested OpenShift version 'v3.7.1' is valid ... OK", | |
"-- Checking if requested OpenShift version 'v3.7.1' is supported ... OK", | |
"-- Checking if requested hypervisor 'kvm' is supported on this platform ... OK", | |
"-- Checking if KVM driver is installed ... ", | |
" Driver is available at /usr/local/bin/docker-machine-driver-kvm ... ", | |
" Checking driver binary is executable ... OK", | |
"-- Checking if Libvirt is installed ... OK", | |
"-- Checking if Libvirt default network is present ... FAIL" | |
] | |
} | |
to retry, use: --limit @/home/firemanxbr/GitHub/contra-env-setup/playbooks/setup.retry | |
PLAY RECAP *************************************************************************************************************************************************************************************************************** | |
localhost : ok=19 changed=7 unreachable=0 failed=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If this is for Fedora 27. I did an update to the image and then reinstalled libvirt and it worked for me.
This was an image I used on CI-RHOS (Openstack).