Coder Social home page Coder Social logo

openstack-ansible's Introduction

README.md

Bootstraping networking

Before we can run the OpenStack playbook on the nodes, we must prepare the networking on the nodes.

A few minimal manual steps has to be done before bootstraping the networking in the machines:

  1. Ensure eth0 comes up; i.e.

    echo '' > /lib/udev/rules.d/75-persistent-net-generator.rules

    echo '' > /etc/udev/rules.d/70-persistent-net.rules

  2. Disable SELINUX; i.e. sed -ie 's/^SELINUX=.*/SELINUX=disabled/' /etc/selinux/config

  3. Disable firewall; i.e. chkconfig iptables off; chkconfig ip6tables off

  4. root is able to ssh using a private key; i.e. the public key is added to /root/.ssh/authorized_keys

Once the machines are ready and running, edit the bootstrap-network-inventory.ini file and update the current DHCP-assigned IPs. This allows the bootstrap-network.yml playbook to hit each box and configure the network automatically for you.

% ansible-playbook -i bootstrap-network-inventory.ini bootstrap-network.yml

Few other things

  • % yum install -y libselinux-python

Running the OpenStack playbook

Before running the playbook, copy the passwords.yml.template file to passwords.yml and update the passwords and other information in that file.

To run the playbook, run the following command:

  % ansible-playbook -i open-stack-inventory.ini open-stack-playbook.yml --extra-vars @passwords.yml --ask-vault-pass

openstack-ansible's People

Contributors

karlchu avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

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.