Skip to content

Instantly share code, notes, and snippets.

@venkataanil
Created November 28, 2018 15:53
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 venkataanil/4448612dfa02ac1143685618dbe26585 to your computer and use it in GitHub Desktop.
Save venkataanil/4448612dfa02ac1143685618dbe26585 to your computer and use it in GitHub Desktop.
```openstack tripleo container image prepare default --local-push-destination --output-env-file /home/stack/containers-prepare-parameter.yaml```
### cat /home/stack/containers-prepare-parameter.yaml
```Generated with the following on 2018-11-04T18:33:57.661136
openstack tripleo container image prepare default --local-push-destination --output-env-file /home/stack/containers-prepare-parameter.yaml
parameter_defaults:
ContainerImagePrepare:
- push_destination: true
set:
ceph_image: rhceph
ceph_namespace: brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888
ceph_tag: 3-13
name_prefix: openstack-
name_suffix: ''
namespace: docker-registry.engineering.redhat.com/rhosp14
neutron_driver: null
openshift_base_image: ose
openshift_cockpit_image: registry-console
openshift_cockpit_namespace: registry.access.redhat.com/openshift3
openshift_cockpit_tag: v3.10
openshift_etcd_image: etcd
openshift_etcd_namespace: registry.access.redhat.com/rhel7
openshift_etcd_tag: latest
openshift_gluster_block_image: rhgs-gluster-block-prov-rhel7
openshift_gluster_image: rhgs-server-rhel7
openshift_gluster_namespace: registry.access.redhat.com/rhgs3
openshift_gluster_tag: latest
openshift_heketi_image: rhgs-volmanager-rhel7
openshift_heketi_namespace: registry.access.redhat.com/rhgs3
openshift_heketi_tag: latest
openshift_namespace: registry.access.redhat.com/openshift3
openshift_tag: v3.10
tag: 2018-10-29.1
```
```
cp /usr/share/python-tripleoclient/undercloud.conf.sample undercloud.conf
```
### In undercloud.conf
```
container_images_file = /home/stack/containers-prepare-parameter.yaml
undercloud_ntp_servers = clock.redhat.com
docker_insecure_registries = docker-registry.engineering.redhat.com,192.168.24.1:8787
local_interface = em2
openstack undercloud install
```
### Before overcloud deployment
```
openstack tripleo container image prepare -e containers-prepare-parameter.yaml --output-env-file docker_registry.yaml
```
### Overcloud deploy
```
openstack overcloud deploy --templates -e /usr/share/openstack-tripleo-heat-templates/environments/network-isolation.yaml -e templates/network-environment.yaml -e templates/deploy.yaml -e /home/stack/docker_registry.yaml -e templates/neutron-policy.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/disable-telemetry.yaml --ntp-server clock.redhat.com
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment