Skip to content

dkilcy/juno-saltstack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Salt tools for OpenStack Juno

This project is Deprecated and no longer being actively maintained. OpenStack Kilo is out. See dkilcy/kilo-saltstack

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

About

OpenStack Juno on CentOS 7

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published