1.6 KiB
Home OpenStack-Salt Development Documentation
Formula guidelines
The OpenStack-Salt formulas are stored in the formulas directory /usr/share/salt-formulas/env.
There are several top-level formulas that are run to prepare the host machines before actually deploying OpenStack and associated services.
Running Formulas
The recommended way of running formulas is through Salt orchestration framework. Orchestration is accomplished in salt primarily through the Orchestrate Runner.
salt-run state.orchestrate orch.systemOr directly calling formula by Salt state module.
salt-call state.sls formulaSetting up the Physical Hosts
Run salt-run state.orchestrate orch.bare_metal to set up the physical hosts for further setup.
Setting up Infrastructure Services
Infrastructure services services such as RabbitMQ, memcached, galera, and monitoring services which are not actually OpenStack services, but that OpenStack relies on.
Run salt-run state.orchestrate orch.infrastructure to install these services.
Setting up OpenStack Services
Running salt-run state.orchestrate orch.openstack will install the following OpenStack services:
- Keystone
- Nova
- Glance
- Cinder
- Neutron
- Horizon
Optional services
- Heat
- Ceilometer
- Swift