Giter VIP home page Giter VIP logo

juno-saltstack's Introduction

Salt tools for OpenStack Juno

Dependencies: dkilcy/saltstack-base

Install OpenStack Juno in a 3+ node architecture with neutron networking on CentOS 7.

Node Deployment

Contents:

  • states: SaltStack state files
  • pillar: SaltStack pillar data
  • notes : Documentation and sample configuration files
Prerequesites
  • Salt Master is installed on the utility (workstation) node.
  • Salt Minion is installed on all OpenStack nodes.

Update Salt Master

  1. Create /etc/salt/master.d/99-salt-envs.conf
file_roots:
 base:
   - /srv/salt/base/states
 openstack:
   - /srv/salt/openstack/states

pillar_roots:
 base:
   - /srv/salt/base/pillar
 openstack:
   - /srv/salt/openstack/pillar
  1. Point Salt to the git repository: ln -sf ~/git/juno-saltstack /srv/salt/openstack
  2. Restart the Salt Master: systemctl restart salt-master.service

Update Salt Minions

From the Salt master:

  1. Test connectivity to the pillars: salt '*' test.ping
  2. Set the grains for each machine
salt 'controller*' grains.setvals "{'juno-saltstack':{'role':'controller'}}"
salt 'compute*' grains.setvals "{'juno-saltstack':{'role':'compute'}}"
salt 'network*' grains.setvals "{'juno-saltstack':{'role':'network'}}"
  1. Refresh and sync the minions:
salt '*' saltutil.refresh_pillar
salt '*' saltutil.sync_all

juno-saltstack's People

Contributors

dkilcy avatar

Watchers

Tiangui Zheng 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.