[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

500 Error when pushing to internal registry



We recently installed openshift origin using an ansible playbook.  We had used the same one before without issue, except that now when projects attempt to push to the internal registry, it results in a 500 error.  

Attached is the log from attempting to build the Django Example project.  The build itself proceeds perfectly, but fails with a "500 Internal Server Error" when attempting to push to the internal registry.  Checking the logs of the registry itself only shows health checks, indicating that container has come up properly.

What makes it more confusing is that we have installed with this same file multiple times and sometimes it works and sometime it doesn't.  We believe that it is a permissions issue.  We have checked and rechecked our ansible hosts file, but we cannot see what the problem is.  I have included it as well.

We are happy to include any additional information as needed.

Thank you,

Graigry Henrie
Cloning "https://github.com/openshift/django-ex.git"; ...
	Commit:	30ec0ddd17efc60eaa7b151f7cd2100b7e6ef80a (Merge pull request #97 from jim-minter/wait-completion-fixups)
	Author:	Ben Parees <bparees users noreply github com>
	Date:	Fri Aug 18 13:22:27 2017 -0400
---> Installing application source ...
---> Installing dependencies ...
Collecting django<1.9,>=1.8 (from -r requirements.txt (line 1))
Downloading Django-1.8.18-py2.py3-none-any.whl (6.2MB)
Collecting django-debug-toolbar==1.5 (from -r requirements.txt (line 2))
Downloading django_debug_toolbar-1.5-py2.py3-none-any.whl (204kB)
Collecting gunicorn==19.4.5 (from -r requirements.txt (line 3))
Downloading gunicorn-19.4.5-py2.py3-none-any.whl (112kB)
Collecting psycopg2==2.6.1 (from -r requirements.txt (line 4))
Downloading psycopg2-2.6.1.tar.gz (371kB)
Collecting whitenoise==3.0 (from -r requirements.txt (line 5))
Downloading whitenoise-3.0-py2.py3-none-any.whl
Collecting sqlparse>=0.2.0 (from django-debug-toolbar==1.5->-r requirements.txt (line 2))
Downloading sqlparse-0.2.3-py2.py3-none-any.whl
Installing collected packages: django, sqlparse, django-debug-toolbar, gunicorn, psycopg2, whitenoise
Running setup.py install for psycopg2
Successfully installed django-1.8.18 django-debug-toolbar-1.5 gunicorn-19.4.5 psycopg2-2.6.1 sqlparse-0.2.3 whitenoise-3.0
You are using pip version 7.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
---> Collecting Django static files ...
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/js/calendar.js'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/js/jquery.js'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/js/core.js'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/js/actions.min.js'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/js/LICENSE-JQUERY.txt'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/js/collapse.js'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/js/timeparse.js'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/js/actions.js'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/js/jquery.min.js'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/js/prepopulate.min.js'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/js/urlify.js'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/js/related-widget-wrapper.js'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/js/SelectFilter2.js'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/js/jquery.init.js'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/js/inlines.min.js'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/js/SelectBox.js'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/js/collapse.min.js'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/js/prepopulate.js'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/js/inlines.js'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/js/admin/DateTimeShortcuts.js'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/js/admin/RelatedObjectLookups.js'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/css/dashboard.css'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/css/ie.css'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/css/base.css'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/css/login.css'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/css/changelists.css'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/css/rtl.css'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/css/forms.css'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/css/widgets.css'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/changelist-bg.gif'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/icon-unknown.gif'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/inline-delete-8bit.png'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/icon_success.gif'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/nav-bg-reverse.gif'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/inline-restore.png'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/inline-delete.png'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/icon_error.gif'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/icon_changelink.gif'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/icon_searchbox.png'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/default-bg.gif'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/icon_calendar.gif'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/deleted-overlay.gif'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/nav-bg-selected.gif'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/changelist-bg_rtl.gif'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/icon_clock.gif'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/default-bg-reverse.gif'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/icon_deletelink.gif'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/icon_alert.gif'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/icon-no.gif'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/tooltag-arrowright.png'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/selector-search.gif'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/icon_addlink.gif'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/selector-icons.gif'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/icon-yes.gif'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/nav-bg-grabber.gif'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/tooltag-add.png'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/nav-bg.gif'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/inline-splitter-bg.gif'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/sorting-icons.gif'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/inline-restore-8bit.png'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/gis/move_vertex_on.png'
Copying '/opt/app-root/lib/python3.5/site-packages/django/contrib/admin/static/admin/img/gis/move_vertex_off.png'
Copying '/opt/app-root/lib/python3.5/site-packages/debug_toolbar/static/debug_toolbar/css/print.css'
Copying '/opt/app-root/lib/python3.5/site-packages/debug_toolbar/static/debug_toolbar/css/toolbar.css'
Copying '/opt/app-root/lib/python3.5/site-packages/debug_toolbar/static/debug_toolbar/img/ajax-loader.gif'
Copying '/opt/app-root/lib/python3.5/site-packages/debug_toolbar/static/debug_toolbar/img/back.png'
Copying '/opt/app-root/lib/python3.5/site-packages/debug_toolbar/static/debug_toolbar/img/back_hover.png'
Copying '/opt/app-root/lib/python3.5/site-packages/debug_toolbar/static/debug_toolbar/img/close.png'
Copying '/opt/app-root/lib/python3.5/site-packages/debug_toolbar/static/debug_toolbar/img/close_hover.png'
Copying '/opt/app-root/lib/python3.5/site-packages/debug_toolbar/static/debug_toolbar/img/djdt_vertical.png'
Copying '/opt/app-root/lib/python3.5/site-packages/debug_toolbar/static/debug_toolbar/img/indicator.png'
Copying '/opt/app-root/lib/python3.5/site-packages/debug_toolbar/static/debug_toolbar/js/jquery_existing.js'
Copying '/opt/app-root/lib/python3.5/site-packages/debug_toolbar/static/debug_toolbar/js/jquery_post.js'
Copying '/opt/app-root/lib/python3.5/site-packages/debug_toolbar/static/debug_toolbar/js/jquery_pre.js'
Copying '/opt/app-root/lib/python3.5/site-packages/debug_toolbar/static/debug_toolbar/js/toolbar.js'
Copying '/opt/app-root/lib/python3.5/site-packages/debug_toolbar/static/debug_toolbar/js/toolbar.profiling.js'
Copying '/opt/app-root/lib/python3.5/site-packages/debug_toolbar/static/debug_toolbar/js/toolbar.sql.js'
Copying '/opt/app-root/lib/python3.5/site-packages/debug_toolbar/static/debug_toolbar/js/toolbar.template.js'
Copying '/opt/app-root/lib/python3.5/site-packages/debug_toolbar/static/debug_toolbar/js/toolbar.timer.js'
Post-processed 'admin/js/admin/DateTimeShortcuts.js' as 'admin/js/admin/DateTimeShortcuts.1368280f4075.js'
Post-processed 'admin/js/admin/RelatedObjectLookups.js' as 'admin/js/admin/RelatedObjectLookups.f4612c3a03fc.js'
Post-processed 'admin/img/gis/move_vertex_on.png' as 'admin/img/gis/move_vertex_on.99be2571b3f6.png'
Post-processed 'admin/img/gis/move_vertex_off.png' as 'admin/img/gis/move_vertex_off.93ee41d8cad9.png'
Post-processed 'admin/js/calendar.js' as 'admin/js/calendar.df720acbe7bb.js'
Post-processed 'admin/js/jquery.js' as 'admin/js/jquery.c0b3962f9f23.js'
Post-processed 'admin/js/core.js' as 'admin/js/core.8800d3d6dbd2.js'
Post-processed 'admin/js/actions.min.js' as 'admin/js/actions.min.2893760b9e40.js'
Post-processed 'admin/js/LICENSE-JQUERY.txt' as 'admin/js/LICENSE-JQUERY.3c2025538601.txt'
Post-processed 'admin/js/collapse.js' as 'admin/js/collapse.c781bafaf192.js'
Post-processed 'admin/js/timeparse.js' as 'admin/js/timeparse.a298a7ede5c3.js'
Post-processed 'admin/js/actions.js' as 'admin/js/actions.42b74ac13f07.js'
Post-processed 'admin/js/jquery.min.js' as 'admin/js/jquery.min.5790ead7ad3b.js'
Post-processed 'admin/js/prepopulate.min.js' as 'admin/js/prepopulate.min.4479f53b704f.js'
Post-processed 'admin/js/urlify.js' as 'admin/js/urlify.687bc28c85b7.js'
Post-processed 'admin/js/related-widget-wrapper.js' as 'admin/js/related-widget-wrapper.3641d148e433.js'
Post-processed 'admin/js/SelectFilter2.js' as 'admin/js/SelectFilter2.54a4515a9134.js'
Post-processed 'admin/js/jquery.init.js' as 'admin/js/jquery.init.575b5609d57c.js'
Post-processed 'admin/js/inlines.min.js' as 'admin/js/inlines.min.e3cd9638369f.js'
Post-processed 'admin/js/SelectBox.js' as 'admin/js/SelectBox.df843afcc450.js'
Post-processed 'admin/js/collapse.min.js' as 'admin/js/collapse.min.bf4e82bb444b.js'
Post-processed 'admin/js/prepopulate.js' as 'admin/js/prepopulate.cd237b18d36c.js'
Post-processed 'admin/js/inlines.js' as 'admin/js/inlines.ec5c4bfbf84d.js'
Post-processed 'admin/css/dashboard.css' as 'admin/css/dashboard.4898e2e9983d.css'
Post-processed 'admin/css/ie.css' as 'admin/css/ie.2ca52592ccf6.css'
Post-processed 'admin/css/base.css' as 'admin/css/base.f0d165989b77.css'
Post-processed 'admin/css/login.css' as 'admin/css/login.9ee3563a2bfe.css'
Post-processed 'admin/css/changelists.css' as 'admin/css/changelists.facd9faec460.css'
Post-processed 'admin/css/rtl.css' as 'admin/css/rtl.b619957e18c9.css'
Post-processed 'admin/css/forms.css' as 'admin/css/forms.4d10ed9b5ee5.css'
Post-processed 'admin/css/widgets.css' as 'admin/css/widgets.2753875e2781.css'
Post-processed 'admin/img/changelist-bg.gif' as 'admin/img/changelist-bg.eaa563daae2a.gif'
Post-processed 'admin/img/icon-unknown.gif' as 'admin/img/icon-unknown.662022bb6ab0.gif'
Post-processed 'admin/img/inline-delete-8bit.png' as 'admin/img/inline-delete-8bit.1c135ffae5f0.png'
Post-processed 'admin/img/icon_success.gif' as 'admin/img/icon_success.08e6b9d922e1.gif'
Post-processed 'admin/img/nav-bg-reverse.gif' as 'admin/img/nav-bg-reverse.bd4701ff1aeb.gif'
Post-processed 'admin/img/inline-restore.png' as 'admin/img/inline-restore.a14579a2580f.png'
Post-processed 'admin/img/inline-delete.png' as 'admin/img/inline-delete.4df86317f5c4.png'
Post-processed 'admin/img/icon_error.gif' as 'admin/img/icon_error.d0272cd88394.gif'
Post-processed 'admin/img/icon_changelink.gif' as 'admin/img/icon_changelink.76183412227f.gif'
Post-processed 'admin/img/icon_searchbox.png' as 'admin/img/icon_searchbox.46952c2c6973.png'
Post-processed 'admin/img/default-bg.gif' as 'admin/img/default-bg.af816e70c828.gif'
Post-processed 'admin/img/icon_calendar.gif' as 'admin/img/icon_calendar.b4704fc81e9d.gif'
Post-processed 'admin/img/deleted-overlay.gif' as 'admin/img/deleted-overlay.1cd28ce73d7d.gif'
Post-processed 'admin/img/nav-bg-selected.gif' as 'admin/img/nav-bg-selected.4ebddc881b37.gif'
Post-processed 'admin/img/changelist-bg_rtl.gif' as 'admin/img/changelist-bg_rtl.db38ab536edc.gif'
Post-processed 'admin/img/icon_clock.gif' as 'admin/img/icon_clock.d65ba15015dd.gif'
Post-processed 'admin/img/default-bg-reverse.gif' as 'admin/img/default-bg-reverse.2c9949b0bac0.gif'
Post-processed 'admin/img/icon_deletelink.gif' as 'admin/img/icon_deletelink.b797f0120322.gif'
Post-processed 'admin/img/icon_alert.gif' as 'admin/img/icon_alert.572a03fff47e.gif'
Post-processed 'admin/img/icon-no.gif' as 'admin/img/icon-no.2888642640a3.gif'
Post-processed 'admin/img/tooltag-arrowright.png' as 'admin/img/tooltag-arrowright.5aa2c86314d7.png'
Post-processed 'admin/img/selector-search.gif' as 'admin/img/selector-search.a5de786630be.gif'
Post-processed 'admin/img/icon_addlink.gif' as 'admin/img/icon_addlink.27872b1581c4.gif'
Post-processed 'admin/img/selector-icons.gif' as 'admin/img/selector-icons.4549da0d5c7f.gif'
Post-processed 'admin/img/icon-yes.gif' as 'admin/img/icon-yes.0596085e212f.gif'
Post-processed 'admin/img/nav-bg-grabber.gif' as 'admin/img/nav-bg-grabber.45d7c744bbe8.gif'
Post-processed 'admin/img/tooltag-add.png' as 'admin/img/tooltag-add.2152fd3b4a4d.png'
Post-processed 'admin/img/nav-bg.gif' as 'admin/img/nav-bg.5dadb8cd9865.gif'
Post-processed 'admin/img/inline-splitter-bg.gif' as 'admin/img/inline-splitter-bg.3d67b08b4771.gif'
Post-processed 'admin/img/sorting-icons.gif' as 'admin/img/sorting-icons.2a27f8855e6b.gif'
Post-processed 'admin/img/inline-restore-8bit.png' as 'admin/img/inline-restore-8bit.19cd843fa6f9.png'
Post-processed 'debug_toolbar/css/print.css' as 'debug_toolbar/css/print.85b39f60bfe8.css'
Post-processed 'debug_toolbar/css/toolbar.css' as 'debug_toolbar/css/toolbar.705f69e5cc65.css'
Post-processed 'debug_toolbar/img/ajax-loader.gif' as 'debug_toolbar/img/ajax-loader.d96a4c3765e9.gif'
Post-processed 'debug_toolbar/img/back.png' as 'debug_toolbar/img/back.1a85a8afa24e.png'
Post-processed 'debug_toolbar/img/back_hover.png' as 'debug_toolbar/img/back_hover.d1e655d74852.png'
Post-processed 'debug_toolbar/img/close.png' as 'debug_toolbar/img/close.c592da3c89b6.png'
Post-processed 'debug_toolbar/img/close_hover.png' as 'debug_toolbar/img/close_hover.2592d7057d2c.png'
Post-processed 'debug_toolbar/img/djdt_vertical.png' as 'debug_toolbar/img/djdt_vertical.204979d634f7.png'
Post-processed 'debug_toolbar/img/indicator.png' as 'debug_toolbar/img/indicator.5eb28882cc03.png'
Post-processed 'debug_toolbar/js/jquery_existing.js' as 'debug_toolbar/js/jquery_existing.80428b75d467.js'
Post-processed 'debug_toolbar/js/jquery_post.js' as 'debug_toolbar/js/jquery_post.8c9db3d1cebc.js'
Post-processed 'debug_toolbar/js/jquery_pre.js' as 'debug_toolbar/js/jquery_pre.a593235debe9.js'
Post-processed 'debug_toolbar/js/toolbar.js' as 'debug_toolbar/js/toolbar.e3bf1c43693a.js'
Post-processed 'debug_toolbar/js/toolbar.profiling.js' as 'debug_toolbar/js/toolbar.profiling.13e030bebb35.js'
Post-processed 'debug_toolbar/js/toolbar.sql.js' as 'debug_toolbar/js/toolbar.sql.e9e00e697675.js'
Post-processed 'debug_toolbar/js/toolbar.template.js' as 'debug_toolbar/js/toolbar.template.ef8e759fa78a.js'
Post-processed 'debug_toolbar/js/toolbar.timer.js' as 'debug_toolbar/js/toolbar.timer.d1ab58351935.js'
79 static files copied to '/opt/app-root/src/staticfiles', 79 post-processed.
Running post commit hook ...
sh: cannot set terminal process group (-1): Inappropriate ioctl for device
sh: no job control in this shell
Creating test database for alias 'default'...
...
----------------------------------------------------------------------
Ran 3 tests in 0.240s
OK
Destroying test database for alias 'default'...
Pushing image 172.30.241.53:5000/django-test/django-psql-example:latest ...
Registry server Address: 
Registry server User Name: serviceaccount
Registry server Email: serviceaccount example org
Registry server Password: <<non-empty>>
error: build error: Failed to push image: received unexpected HTTP status: 500 Internal Server Error
# Create an OSEv3 group that contains the master, nodes, etcd, and lb groups.
# The lb group lets Ansible configure HAProxy as the load balancing solution.
# Comment lb out if your load balancer is pre-configured.
[OSEv3:children]
masters
nodes
etcd
nfs

# Set variables common for all OSEv3 hosts
[OSEv3:vars]
ansible_ssh_user=root
deployment_type=origin
deployment_subtype=registry
enable_docker_excluder=false

# Uncomment the following to enable htpasswd authentication; defaults to DenyAllPasswordIdentityProvider.
#same admin credentials as rhev
openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider', 'filename': '/etc/origin/master/htpasswd'}, {'name': 'IPA', 'challenge': 'true', 'login': 'true', 'mappingMethod': 'claim','kind': 'LDAPPasswordIdentityProvider', 'attributes': {'id': ['dn'], 'email': ['mail'], 'name': ['cn'], 'preferredUsername': 'uid']}, 'osuser': '', '"nIq7m7MunaufYFbrYGpwDF$xCEWhk': '', 'ca': '/home/root/ca.crt', 'insecure': 'false' 'url': 'https://ipa.chem.byu.edu:636/cn=users,dc=chem,dc=byu,dc=edu?uid'}]
openshift_master_htpasswd_users={'admin': '8d5710cbea1bade6de3c162646835fe5'}

# Native high availbility cluster method with optional load balancer.
# If no lb group is defined installer assumes that a load balancer has
# been preconfigured. For installation the value of
# openshift_master_cluster_hostname must resolve to the load balancer
# or to one or all of the masters defined in the inventory if no load
# balancer is present.
openshift_master_cluster_method=native
# set the following line to be the vm that will start as the load balancer
openshift_master_cluster_hostname=openshift-masters.chem.byu.edu
openshift_master_cluster_public_hostname=openshift.chem.byu.edu
openshift_master_default_subdomain=apps.chem.byu.edu

# Router selector (optional)
# Router will only be created if nodes matching this label are present.
# Default value: 'region=infra'
openshift_hosted_router_selector='region=infra'

# default project node selector
osm_default_node_selector='region=primary'

# override the default controller lease ttl
#osm_controller_lease_ttl=30

# Configure the multi-tenant SDN plugin (default is 'redhat/openshift-ovs-subnet')
os_sdn_network_plugin_name='redhat/openshift-ovs-multitenant'

# External NFS Host
# NFS volume must already exist with path "nfs_directory/_volume_name" on
# the storage_host. For example, the remote volume path using these
# options would be "nfs.example.com:/exports/registry"
#It looks like this automatically maps this directory to the nodes
openshift_hosted_registry_storage_kind=nfs
openshift_hosted_registry_storage_access_modes=['ReadWriteMany']
openshift_hosted_registry_storage_host=ipa2.chem.byu.edu
openshift_hosted_registry_storage_nfs_directory=/exports
openshift_hosted_registry_storage_volume_name=osnfs
openshift_hosted_registry_storage_volume_size=2000Gi

#Configure custom ca certificate
#openshift_master_ca_certificate={'certfile': '/etc/origin/master/ca.crt', 'keyfile': '/etc/origin/master.key'}

[nfs]
ipa2.chem.byu.edu

# host group for masters
# changed in DNS to point openshift-masters.chem.byu.edu to multiple places, as Garrett suggested.
[masters]
openshift-master[1:3].chem.byu.edu

# host group for etcd, hosted on masters
# same as masters group.
[etcd]
openshift-master[1:3].chem.byu.edu

# host group for nodes, includes region info
[nodes]
openshift-master[1:3].chem.byu.edu openshift_node_labels="{'region': 'infra', 'zone': 'default'}"
openshift-infra[1:2].chem.byu.edu openshift_node_labels="{'region': 'infra', 'zone': 'default'}"
openshift-node[1:3].chem.byu.edu openshift_node_labels="{'region': 'primary', 'zone': 'server-room'}"

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]