Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1472061 Details for
Bug 1597666
[Update] Support ODL L2 minor update with OSP
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
prepare_container.sh
prepare_container.sh (text/plain), 1.92 KB, created by
Janki
on 2018-08-01 11:28:47 UTC
(
hide
)
Description:
prepare_container.sh
Filename:
MIME Type:
Creator:
Janki
Created:
2018-08-01 11:28:47 UTC
Size:
1.92 KB
patch
obsolete
># Add downstream registry to insecure registry >function add_to_insecure() { > if egrep -q "^INSECURE_REGISTRY=.*rhos-qe-mirror-tlv.usersys.redhat.com.*" /etc/sysconfig/docker; then > echo "/etc/sysconfig/docker contains the correct settings" > else > echo "updating /etc/sysconfig/docker for internal registry" > sudo sed -i -e "s/^INSECURE_REGISTRY=\"\(.*\)\"/INSECURE_REGISTRY=\"\1 --insecure-registry rhos-qe-mirror-tlv.usersys.redhat.com:5000\"/g" /etc/sysconfig/docker > sudo systemctl restart docker > fi >} ># Prepare docker_registry.yaml file with ODL image and upload those to local registry. > >downstream_registry=rhos-qe-mirror-tlv.usersys.redhat.com:5000/rhosp13 >downstream_tag=$(curl http://rhos-qe-mirror-tlv.usersys.redhat.com/rcm-guest/puddles/OpenStack/13.0-RHEL-7/latest/overcloud_container_image_prepare.yaml | grep tag | awk 'NR==5 {print $2}') > >upstream_registry=docker.io/tripleoqueens >upstream_tag=current-tripleo-rdo > >if [ $# -eq 0 ] >then > echo "Enter down to get downstream images and up for upstream" > read stream >fi > >if [[ $stream = 'down' || $1 == 'down' ]] >then > add_to_insecure > namespace=$downstream_registry > tag=$downstream_tag > prefix=openstack >else > namespace=$upstream_registry > tag=$upstream_tag > prefix=centos >fi > >echo $namespace >echo $tag > >PREPARE_ARGS=${PREPARE_ARGS:-"-e /usr/share/openstack-tripleo-heat-templates/environments/docker.yaml"} > >openstack overcloud container image prepare \ > --images-file /home/stack/overcloud_containers.yaml \ > ${PREPARE_ARGS} \ > --namespace $namespace \ > --tag $tag \ > --prefix $prefix \ > --push-destination 192.168.24.1:8787 --env-file /home/stack/docker_registry.yaml -e /usr/share/openstack-tripleo-heat-templates/environments/neutron-opendaylight.yaml >echo "Done preparing registry file. Now uploading to local registry" > >openstack overcloud container image upload --debug --config-file /home/stack/overcloud_containers.yaml >echo "Done uploading"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1597666
:
1472060
| 1472061 |
1472780
|
1472820
|
1473379
|
1475287
|
1479494