Skip to content

Commit 919b3e6

Browse files
authored
Add section on deploying a local pulp
1 parent c8867ae commit 919b3e6

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,30 @@ This script will go through the process of performing the following tasks
242242
* openstack configuration
243243
* tempest testing
244244

245+
**Note**: When setting up a multi-node on a cloud which doesn't have access to test pulp (i.e. everywhere except SMS lab) a separate local pulp must be deployed. Before doing so, it is a good idea to make sure your seed VM has sufficient disk space by setting ``seed_disk_size`` in your ``terraform.tfvars`` to an appropriate value (100-200 GB should suffice). In order to set up the local pulp service on the seed, first obtain/generate a set of Ark credentials, then add the following configuration to ``etc/kayobe/environments/ci-multinode/stackhpc-ci.yml``
246+
247+
.. code-block:: console
248+
249+
stackhpc_release_pulp_username: <ark-credentials-username>
250+
stackhpc_release_pulp_password: !vault |
251+
<vault-encrypted-ark-password>
252+
253+
pulp_username: admin
254+
pulp_password: <randomly-generated-password-to-set-for-local-pulp-admin-user>
255+
256+
You may also need to comment out many of the other config overrides in ``stackhpc-ci.yml`` such as ``stackhpc_repo_mirror_url`` plus all of the ``stackhpc_repo_*`` and ``stackhpc_docker_registry*`` variables.
257+
258+
To create the local pulp as part of the automated deployment, add the following commands to the ``deploy-openstack.sh`` script in between ``kayobe seed service deploy`` and ``kayobe overcloud host configure``:
259+
260+
.. code-block:: console
261+
262+
kayobe seed service deploy --tags seed-deploy-containers --kolla-tags none -e deploy_containers_registry_attempt_login=false
263+
kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/pulp-repo-sync.yml
264+
kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/pulp-repo-publish.yml
265+
kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/pulp-container-sync.yml
266+
kayobe playbook run $KAYOBE_CONFIG_PATH/ansible/pulp-container-publish.yml
267+
268+
245269
Accessing OpenStack
246270
-------------------
247271

0 commit comments

Comments
 (0)