Skip to content

Commit 5ddc51a

Browse files
committed
Add openstack projects & users management doc
1 parent afd30cc commit 5ddc51a

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
=======================================
2+
Openstack Projects and Users Management
3+
=======================================
4+
5+
Projects (in OpenStack) can be defined in the ``openstack-config`` repository
6+
7+
To initialise the working environment for ``openstack-config``:
8+
9+
.. code-block:: console
10+
11+
git clone <openstack-config-repository> ~/src/openstack-config
12+
python3 -m venv ~/venvs/openstack-config-venv
13+
source ~/venvs/openstack-config-venv/bin/activate
14+
cd ~/src/openstack-config
15+
pip install -U pip
16+
pip install -r requirements.txt
17+
ansible-galaxy collection install \
18+
-p ansible/collections \
19+
-r requirements.yml
20+
21+
To define a new project, add a new project to
22+
``etc/openstack-config/openstack-config.yml``:
23+
24+
Example invocation:
25+
26+
.. code-block:: console
27+
28+
source ~/src/kayobe-config/etc/kolla/public-openrc.sh
29+
source ~/venvs/openstack-config-venv/bin/activate
30+
cd ~/src/openstack-config
31+
tools/openstack-config -- --vault-password-file <vault password file path>
32+
33+
Deleting Users and Projects
34+
---------------------------
35+
36+
Ansible is designed for adding configuration that is not present; removing
37+
state is less easy. To remove a project or user, the configuration should be
38+
manually removed.

0 commit comments

Comments
 (0)