Coder Social home page Coder Social logo

devstack-environment's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

devstack-environment's Issues

Some environment variables not set in Hardware deployments

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]

vagrant up : ssh error during Ansible

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.