Hello,
I'm trying to set up the default devstack environment you provide, using Vagrant and Ansible.
I clone the repo, and type vagrant up, but after creating the 3 VMs, installing the guest additions and all, i get the error below. Here's a tail of the log :
Is it a problem with my network config on the host ?
I'm running fresh ubuntu 14.04, eth0, regular config.
TASK: [cacher | start the devpi service] **************************************
<192.168.99.99> ESTABLISH CONNECTION FOR USER: vagrant
<192.168.99.99> REMOTE_MODULE service name=devpi state=restarted
<192.168.99.99> EXEC ['ssh', '-C', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/home/eoutin/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'IdentityFile=/home/eoutin/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '192.168.99.99', u'/bin/sh -c 'sudo -k && sudo -H -S -p "[sudo via ansible, key=qgucjuiheurccrbiitoisubtkhhmugno] password: " -u root /bin/sh -c '"'"'echo SUDO-SUCCESS-qgucjuiheurccrbiitoisubtkhhmugno; LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8 /usr/bin/python'"'"''']
changed: [apt-pip-cache] => {"changed": true, "item": "", "name": "devpi", "state": "started"}
TASK: [cacher | install cronjob for restarts] *********************************
<192.168.99.99> ESTABLISH CONNECTION FOR USER: vagrant
<192.168.99.99> REMOTE_MODULE cron name="devpi" job="service devpi start > /dev/null"
<192.168.99.99> EXEC ['ssh', '-C', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/home/eoutin/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'IdentityFile=/home/eoutin/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '192.168.99.99', u'/bin/sh -c 'sudo -k && sudo -H -S -p "[sudo via ansible, key=dgqwdiumpidmrjdsisodjeuvittteief] password: " -u root /bin/sh -c '"'"'echo SUDO-SUCCESS-dgqwdiumpidmrjdsisodjeuvittteief; LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8 /usr/bin/python'"'"''']
changed: [apt-pip-cache] => {"changed": true, "item": "", "jobs": ["devpi"]}
NOTIFIED: [cacher | restart server] *******************************************
<192.168.99.99> ESTABLISH CONNECTION FOR USER: vagrant
<192.168.99.99> REMOTE_MODULE command /sbin/reboot
<192.168.99.99> EXEC ['ssh', '-C', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/home/eoutin/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'IdentityFile=/home/eoutin/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '192.168.99.99', u'/bin/sh -c 'sudo -k && sudo -H -S -p "[sudo via ansible, key=vosekamvfzwtxcujhqmrewkxrxnasxqz] password: " -u root /bin/sh -c '"'"'echo SUDO-SUCCESS-vosekamvfzwtxcujhqmrewkxrxnasxqz; LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8 /usr/bin/python'"'"''']
changed: [apt-pip-cache] => {"changed": true, "cmd": ["/sbin/reboot"], "delta": "0:00:00.022779", "end": "2014-06-08 23:24:16.636893", "item": "", "rc": 0, "start": "2014-06-08 23:24:16.614114", "stderr": "", "stdout": ""}
PLAY [waiting for caches to come online] **************************************
skipping: no hosts matched
PLAY [basic configs on all servers] *******************************************
GATHERING FACTS ***************************************************************
<192.168.99.99> ESTABLISH CONNECTION FOR USER: vagrant
<192.168.99.99> REMOTE_MODULE setup
<192.168.99.99> EXEC ['ssh', '-C', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/home/eoutin/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'IdentityFile=/home/eoutin/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '192.168.99.99', u'/bin/sh -c 'sudo -k && sudo -H -S -p "[sudo via ansible, key=igahlzzfculmqadnemuctycfskwxpmqq] password: " -u root /bin/sh -c '"'"'echo SUDO-SUCCESS-igahlzzfculmqadnemuctycfskwxpmqq; LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8 /usr/bin/python'"'"''']
fatal: [apt-pip-cache] => SSH Error: data could not be sent to the remote host. Make sure this host can be reached over ssh
TASK: [common | disable mlocate runs] *****************************************
FATAL: no hosts matched or all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/home/eoutin/site.retry
apt-pip-cache : ok=17 changed=13 unreachable=1 failed=0
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
Thanks for sharing your project, any help apreciated.
eo
Hello,
I'm trying to set up the default devstack environment you provide, using Vagrant and Ansible.
I clone the repo, and type vagrant up, but after creating the 3 VMs, installing the guest additions and all, i get the error below. Here's a tail of the log :
Is it a problem with my network config on the host ?
I'm running fresh ubuntu 14.04, eth0, regular config.
TASK: [cacher | start the devpi service] **************************************
<192.168.99.99> ESTABLISH CONNECTION FOR USER: vagrant
<192.168.99.99> REMOTE_MODULE service name=devpi state=restarted
<192.168.99.99> EXEC ['ssh', '-C', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/home/eoutin/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'IdentityFile=/home/eoutin/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '192.168.99.99', u'/bin/sh -c 'sudo -k && sudo -H -S -p "[sudo via ansible, key=qgucjuiheurccrbiitoisubtkhhmugno] password: " -u root /bin/sh -c '"'"'echo SUDO-SUCCESS-qgucjuiheurccrbiitoisubtkhhmugno; LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8 /usr/bin/python'"'"''']
changed: [apt-pip-cache] => {"changed": true, "item": "", "name": "devpi", "state": "started"}
TASK: [cacher | install cronjob for restarts] *********************************
<192.168.99.99> ESTABLISH CONNECTION FOR USER: vagrant
<192.168.99.99> REMOTE_MODULE cron name="devpi" job="service devpi start > /dev/null"
<192.168.99.99> EXEC ['ssh', '-C', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/home/eoutin/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'IdentityFile=/home/eoutin/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '192.168.99.99', u'/bin/sh -c 'sudo -k && sudo -H -S -p "[sudo via ansible, key=dgqwdiumpidmrjdsisodjeuvittteief] password: " -u root /bin/sh -c '"'"'echo SUDO-SUCCESS-dgqwdiumpidmrjdsisodjeuvittteief; LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8 /usr/bin/python'"'"''']
changed: [apt-pip-cache] => {"changed": true, "item": "", "jobs": ["devpi"]}
NOTIFIED: [cacher | restart server] *******************************************
<192.168.99.99> ESTABLISH CONNECTION FOR USER: vagrant
<192.168.99.99> REMOTE_MODULE command /sbin/reboot
<192.168.99.99> EXEC ['ssh', '-C', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/home/eoutin/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'IdentityFile=/home/eoutin/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '192.168.99.99', u'/bin/sh -c 'sudo -k && sudo -H -S -p "[sudo via ansible, key=vosekamvfzwtxcujhqmrewkxrxnasxqz] password: " -u root /bin/sh -c '"'"'echo SUDO-SUCCESS-vosekamvfzwtxcujhqmrewkxrxnasxqz; LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8 /usr/bin/python'"'"''']
changed: [apt-pip-cache] => {"changed": true, "cmd": ["/sbin/reboot"], "delta": "0:00:00.022779", "end": "2014-06-08 23:24:16.636893", "item": "", "rc": 0, "start": "2014-06-08 23:24:16.614114", "stderr": "", "stdout": ""}
PLAY [waiting for caches to come online] **************************************
skipping: no hosts matched
PLAY [basic configs on all servers] *******************************************
GATHERING FACTS ***************************************************************
<192.168.99.99> ESTABLISH CONNECTION FOR USER: vagrant
<192.168.99.99> REMOTE_MODULE setup
<192.168.99.99> EXEC ['ssh', '-C', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/home/eoutin/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'StrictHostKeyChecking=no', '-o', 'IdentityFile=/home/eoutin/.vagrant.d/insecure_private_key', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=vagrant', '-o', 'ConnectTimeout=10', '192.168.99.99', u'/bin/sh -c 'sudo -k && sudo -H -S -p "[sudo via ansible, key=igahlzzfculmqadnemuctycfskwxpmqq] password: " -u root /bin/sh -c '"'"'echo SUDO-SUCCESS-igahlzzfculmqadnemuctycfskwxpmqq; LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8 /usr/bin/python'"'"''']
fatal: [apt-pip-cache] => SSH Error: data could not be sent to the remote host. Make sure this host can be reached over ssh
TASK: [common | disable mlocate runs] *****************************************
FATAL: no hosts matched or all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/home/eoutin/site.retry
apt-pip-cache : ok=17 changed=13 unreachable=1 failed=0
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
Thanks for sharing your project, any help apreciated.
eo