Skip to content

Instantly share code, notes, and snippets.

@4383
Created October 1, 2019 13:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 4383/ce22b3be69c26d872a813db61732799e to your computer and use it in GitHub Desktop.
Save 4383/ce22b3be69c26d872a813db61732799e to your computer and use it in GitHub Desktop.
patching overcloud with dev
curl -4 "https://review.openstack.org/changes/541827/revisions/b1d6bcc7f343e0462dc7543f1c665fb63028feb6/patch?download" | base64 -d | sudo patch -d /usr/share/openstack-tripleo-heat-templates/ -p1 -b -z .patch1
source stackrc
# Set BUILD_ID manually to "12.0-20180124.1"
BUILD_ID="13.0-20191001.1"
openstack overcloud container image prepare \
--namespace=rhos-qe-mirror-qeos.usersys.redhat.com:5000/rhosp12 \
--output-images-file /home/stack/container_images_12.yaml \
--push-destination 192.168.24.1:8787 \
--prefix=openstack- \
--tag=${BUILD_ID} \
-e /home/stack/composable_roles/roles/nodes.yaml \
-e /home/stack/composable_roles/internal.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \
-e /home/stack/composable_roles/network/network-environment.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/ceph-ansible/ceph-ansible.yaml \
-e /home/stack/composable_roles/debug.yaml \
-e /home/stack/composable_roles/config_heat.yaml \
-e /home/stack/composable_roles/nova-disable-versioned-notifications.yaml \
-e /home/stack/composable_roles/docker-images.yaml \
--set ceph_namespace=docker-registry.engineering.redhat.com/ceph \
--set ceph_image=rhceph-2-rhel7 \
--set ceph_tag=2.4-4
# -e /home/stack/composable_roles/enable-tls.yaml \
# -e /home/stack/composable_roles/inject-trust-anchor.yaml \
# -e /home/stack/composable_roles/public_vip.yaml \
# -e /usr/share/openstack-tripleo-heat-templates/environments/ssl/tls-endpoints-public-ip.yaml \
openstack overcloud container image upload --verbose --config-file /home/stack/container_images_12.yaml
openstack overcloud container image prepare \
--namespace=192.168.24.1:8787/rhosp12 \
--output-env-file /home/stack/docker-images-12.yaml \
--prefix=openstack- \
--tag=${BUILD_ID} \
-e /home/stack/composable_roles/roles/nodes.yaml \
-e /home/stack/composable_roles/internal.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml \
-e /home/stack/composable_roles/network/network-environment.yaml \
-e /usr/share/openstack-tripleo-heat-templates/environments/ceph-ansible/ceph-ansible.yaml \
-e /home/stack/composable_roles/debug.yaml \
-e /home/stack/composable_roles/config_heat.yaml \
-e /home/stack/composable_roles/nova-disable-versioned-notifications.yaml \
-e /home/stack/composable_roles/docker-images.yaml \
--set ceph_namespace=docker-registry.engineering.redhat.com/ceph \
--set ceph_image=rhceph-2-rhel7 \
--set ceph_tag=2.4-4
openstack overcloud update stack \
--init-minor-update \
--container-registry-file /home/stack/docker-images-12.yaml 2>&1 | tee oc_prepare.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment