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.
Contents:
- states: SaltStack state files
- pillar: SaltStack pillar data
- notes : Documentation and sample configuration files
- Salt Master is installed on the utility (workstation) node.
- Salt Minion is installed on all OpenStack nodes.
- 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
- Point Salt to the git repository:
ln -sf ~/git/juno-saltstack /srv/salt/openstack
- Restart the Salt Master:
systemctl restart salt-master.service
From the Salt master:
- Test connectivity to the pillars:
salt '*' test.ping
- 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'}}"
- Refresh and sync the minions:
salt '*' saltutil.refresh_pillar
salt '*' saltutil.sync_all