Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transient network and autostart issue #63

Open
mbaldessari opened this issue Mar 24, 2016 · 3 comments
Open

Transient network and autostart issue #63

mbaldessari opened this issue Mar 24, 2016 · 3 comments
Labels

Comments

@mbaldessari
Copy link

Just updated this morning to latest git. I am running on quickstart on the same host:
./quickstart.sh -v --working-dir ../quickstart-workdir
--config playbooks/centosci/ha.yml
--undercloud-image-url 'file:///usr/share/quickstart_images/mitaka/undercloud.qcow2'
-t all localhost

It fails like the following:
TASK [environment/setup : Mark libvirt networks as autostarted] ***************
task path: /home/michele/quickstart-workdir/tripleo-quickstart/playbooks/roles/environment/setup/tasks/main.yml:18
Thursday 24 March 2016 10:55:00 +0000 (0:00:00.221) 0:00:05.795 ********
ESTABLISH LOCAL CONNECTION FOR USER: michele
localhost EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1458816900.54-73773413224148 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1458816900.54-73773413224148 )" )
localhost PUT /tmp/tmp3W4izl TO /home/michele/.ansible/tmp/ansible-tmp-1458816900.54-73773413224148/virt_net
localhost EXEC /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-qikrjvgriqozalarsqhxyahpdkpyolja; LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /home/michele/.ansible/tmp/ansible-tmp-145
8816900.54-73773413224148/virt_net; rm -rf "/home/michele/.ansible/tmp/ansible-tmp-1458816900.54-73773413224148/" > /dev/null 2>&1'"'"''
localhost EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1458816900.62-173761948479521 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1458816900.62-173761948479521 )" )
localhost PUT /tmp/tmpJ0LQtj TO /home/michele/.ansible/tmp/ansible-tmp-1458816900.62-173761948479521/virt_net
localhost EXEC /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-ydjcrfdsbdfodzlwtgyeumoswmrktirs; LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8 /usr/bin/python /home/michele/.ansible/tmp/ansible-tmp-145
8816900.62-173761948479521/virt_net; rm -rf "/home/michele/.ansible/tmp/ansible-tmp-1458816900.62-173761948479521/" > /dev/null 2>&1'"'"''
failed: [localhost] => (item={u'bridge': u'brext', u'forward_mode': u'nat', u'name': u'external', u'netmask': u'255.255.255.0', u'nat_port_range': [1024, 65535], u'address': u'192.168.23.1', u'dhcp_range': [u'192.168.23.10', u'192.168.23
.50']}) => {"failed": true, "invocation": {"module_args": {"autostart": "yes", "command": null, "name": "external", "state": null, "uri": "qemu:///system", "xml": null}, "module_name": "virt_net"}, "item": {"address": "192.168.23.1", "br
idge": "brext", "dhcp_range": ["192.168.23.10", "192.168.23.50"], "forward_mode": "nat", "name": "external", "nat_port_range": [1024, 65535], "netmask": "255.255.255.0"}, "msg": "Requested operation is not valid: cannot set autostart for
transient network"}
failed: [localhost] => (item={u'bridge': u'brovc', u'name': u'overcloud'}) => {"failed": true, "invocation": {"module_args": {"autostart": "yes", "command": null, "name": "overcloud", "state": null, "uri": "qemu:///system", "xml": null},
"module_name": "virt_net"}, "item": {"bridge": "brovc", "name": "overcloud"}, "msg": "Requested operation is not valid: cannot set autostart for transient network"}

PLAY RECAP *********************************************************************
localhost : ok=16 changed=4 unreachable=0 failed=1

@trown
Copy link
Contributor

trown commented Mar 31, 2016

@mbaldessari sorry I did not see this one sooner, are you still hitting this on master?

I am curious if f9c5df2 might have fixed this.

@trown trown added the bug label Mar 31, 2016
@mbaldessari
Copy link
Author

Wave not seen this one recently. I'll close this, will reopen in LP should I re-see it

@weshayutin
Copy link
Contributor

seeing this quite a bit on virthosts w/o libvirt installed initially..

looking into a fix/workaround now
https://cupracer.de/libvirt-cannot-set-autostart-for-transient-network/

task path: /home/rhos-ci/jenkins/workspace/poc-whayutin-rdo-mitaka-cat/ci-ansible-tripleo/.cat/usr/local/share/tripleo-quickstart/playbooks/roles/environment/setup/tasks/main.yml:20
00:04:18.487 Friday 13 May 2016 03:15:40 +0000 (0:0:1.400) 0:1:2.750 ****************
00:04:19.863 failed: [hp-dl320g8-11.lab.eng.brq.redhat.com] => (item={u'bridge': u'brext', u'forward_mode': u'nat', u'name': u'external', u'netmask': u'255.255.255.0', u'nat_port_range': [1024, 65535], u'address': u'192.168.23.1', u'dhcp_range': [u'192.168.23.10', u'192.168.23.50']}) => {"failed": true, "item": {"address": "192.168.23.1", "bridge": "brext", "dhcp_range": ["192.168.23.10", "192.168.23.50"], "forward_mode": "nat", "name": "external", "nat_port_range": [1024, 65535], "netmask": "255.255.255.0"}, "msg": "Requested operation is not valid: cannot set autostart for transient network"}
00:04:19.872 failed: [hp-dl320g8-11.lab.eng.brq.redhat.com] => (item={u'bridge': u'brovc', u'name': u'overcloud'}) => {"failed": true, "item": {"bridge": "brovc", "name": "overcloud"}, "msg": "Requested operation is not valid: cannot set autostart for transient network"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants