ciscosystems / devstack-environment Goto Github PK
View Code? Open in Web Editor NEWA single- or multi-node DevStack deployment driven by Vagrant and Ansible
License: Apache License 2.0
A single- or multi-node DevStack deployment driven by Vagrant and Ansible
License: Apache License 2.0
I am trying to deploy a Hardware deployment. My controller configures fine but the compute-1 server fails. When I look for an error in the compute-1 server logs I find that there are some environment variables not set through the installation process:
ERROR: openstack You must provide a username via either --os-username or env[OS_USERNAME]
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.