Skip to content

Commit 2f47ca2

Browse files
authored
Merge pull request #1953 from stackhpc/pulp-migration-docs
feat: add step to perform image data migration
2 parents b0868db + 59d035b commit 2f47ca2

File tree

2 files changed

+7
-18
lines changed

2 files changed

+7
-18
lines changed

doc/source/operations/upgrading-openstack.rst

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -150,24 +150,6 @@ To mitigate the impact of these changes, two scripts have been added:
150150
Known issues
151151
============
152152

153-
Pulp Upgrade
154-
------------
155-
156-
It was found that if pulp is upgraded from 3.43.1 to 3.81.0, most of pulp
157-
APIs become unusable because of a bug related to missing response header
158-
when docker clients expect it.
159-
160-
Generally pulp is considered to be safe to completely destroy and re-deploy.
161-
So, users are encouraged to upgrade pulp in this method.
162-
163-
If your pulp has custom built images, we recommended either not doing pulp
164-
upgrade by pinning pulp version at ``seed_pulp_container.pulp.tag`` in
165-
``$KAYOBE_CONFIG_PATH/seed.yml`` (``$KAYOBE_CONFIG_PATH/environments/<env>/seed.yml``
166-
if using environments) to 3.43.1,
167-
168-
or pulling all custom built images before destroying pulp then push them again
169-
after pulp upgrade is done.
170-
171153
Cinder
172154
------
173155

etc/kayobe/containers/pulp/post.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@
2828
- stackhpc_pulp_sync_for_local_container_build | bool
2929
- pulp_settings.changed
3030

31+
- name: Manage Pulp content image data
32+
become: true
33+
command: >-
34+
docker exec -u root pulp
35+
bash -c
36+
'pulpcore-manager container-handle-image-data'
37+
3138
- name: Ensure Pulp stack user exists
3239
ansible.builtin.include_role:
3340
name: stackhpc.pulp.pulp_user

0 commit comments

Comments
 (0)