openshift / openshift-ansible-contrib

Additional roles and playbooks for OpenShift installation and management
https://www.openshift.com
Apache License 2.0
283 stars 372 forks source link

Fixed the number or created repositories (#1098) #1099

Closed waldirio closed 5 years ago

waldirio commented 5 years ago

Hello

The code was fixed and now it's according the expected.

[root@wallsat65 script1]# ./ocp36-sat6.py --password redhat
Adding OCP images to org ID: 1 with the product name: ocp36
Continue? y/n:
y
Adding product with name: ocp36
Product created.
Adding openshift3 images
Repository created.
Repository created.
Repository created.
Repository created.
Repository created.
The following vars should exist in your OpenShift install playbook
oreg_url: defaultorganization-ocp36-openshift3_ose-${component}:${version}
openshift_disable_check: "docker_image_availability"
openshift_docker_insecure_registries: "wallsat65.usersys.redhat.com:5000"
openshift_docker_additional_registries: "wallsat65.usersys.redhat.com:5000"
openshift_examples_modify_imagestreams: True
Sync repo data? (This may take a while)
Continue? y/n:
y
...

Only 5 repos created according the manual steps (in order to skip the script).

Please check and merge ASAP the code, we have a lot of consultants using this script and causing problems on Satellite (disk reaching 100%).

Thank you.

cooktheryan commented 5 years ago

@dav1x can I get a +1 here