You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
oc process -f https://raw.githubusercontent.com/openshift-homeroom/workshop-spawner/master/templates/learning-portal-production.json --param SPAWNER_NAMESPACE=oc project --short --param CLUSTER_SUBDOMAIN=apps.xxxx.com | oc apply -f -
W1006 21:55:58.149241 28616 shim_kubectl.go:55] Using non-groupfied API resources is deprecated and will be removed in a future release, update apiVersion to "template.openshift.io/v1" for your resource
serviceaccount/learning-portal-spawner created
clusterrolebinding.authorization.openshift.io/learning-portal-spawner-basic created
clusterrole.authorization.openshift.io/learning-portal-spawner-extra created
clusterrolebinding.authorization.openshift.io/learning-portal-spawner-extra created
clusterrole.authorization.openshift.io/learning-portal-spawner-rules created
clusterrolebinding.authorization.openshift.io/learning-portal-spawner-rules created
clusterrole.authorization.openshift.io/learning-portal-session-rules created
clusterrolebinding.authorization.openshift.io/learning-portal-session-rules created
imagestream.image.openshift.io/learning-portal-spawner created
configmap/learning-portal-spawner-configs created
configmap/learning-portal-session-resources created
configmap/learning-portal-session-envvars created
deploymentconfig.apps.openshift.io/learning-portal-spawner created
service/learning-portal-spawner created
route.route.openshift.io/learning-portal-spawner created
imagestream.image.openshift.io/learning-portal-session created
but the pod learning-portal-spawner-1-nrxs6 in cash loop:
jupyterhub -f /opt/app-root/src/jupyterhub_config.py
INFO: Workshop name is 'learning-portal'.
INFO: Application name is 'learning-portal'.
INFO: Configuration type is 'learning-portal'.
INFO: Homeroom link is ''.
INFO: Homeroom name is ''.
INFO: Service account name is 'learning-portal-spawner'.
INFO: Namespace is 'workshop'.
INFO: Full service account name is 'system:serviceaccount:workshop:learning-portal-spawner'.
/opt/app-root/lib/python3.6/site-packages/urllib3/connectionpool.py:1004: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.30.0.1'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning,
[E 2022-10-06 21:59:34.766 JupyterHub app:2482]
Traceback (most recent call last):
File "/opt/app-root/lib/python3.6/site-packages/jupyterhub/app.py", line 2479, in launch_instance_async
await self.initialize(argv)
File "/opt/app-root/lib/python3.6/site-packages/jupyterhub/app.py", line 2088, in initialize
self.load_config_file(self.config_file)
File "", line 2, in load_config_file
File "/opt/app-root/lib/python3.6/site-packages/traitlets/config/application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "/opt/app-root/lib/python3.6/site-packages/traitlets/config/application.py", line 602, in load_config_file
raise_config_file_errors=self.raise_config_file_errors,
File "/opt/app-root/lib/python3.6/site-packages/traitlets/config/application.py", line 563, in _load_config_files
config = loader.load_config()
File "/opt/app-root/lib/python3.6/site-packages/traitlets/config/loader.py", line 457, in load_config
self._read_file_as_dict()
File "/opt/app-root/lib/python3.6/site-packages/traitlets/config/loader.py", line 489, in _read_file_as_dict
py3compat.execfile(conf_filename, namespace)
File "/opt/app-root/lib/python3.6/site-packages/ipython_genutils/py3compat.py", line 198, in execfile
exec(compiler(f.read(), fname, 'exec'), glob, loc)
File "/opt/app-root/src/jupyterhub_config.py", line 126, in
api_version='extensions/v1beta1', kind='Ingress')
File "/opt/app-root/lib/python3.6/site-packages/openshift/dynamic/discovery.py", line 213, in get
raise ResourceNotFoundError('No matches found for {}'.format(kwargs))
openshift.dynamic.exceptions.ResourceNotFoundError: No matches found for {'api_version': 'extensions/v1beta1', 'kind': 'Ingress'}
ERROR:asyncio:Task exception was never retrieved
future: <Task finished coro=<JupyterHub.launch_instance_async() done, defined at /opt/app-root/lib/python3.6/site-packages/jupyterhub/app.py:2477> exception=SystemExit(1,)>
Traceback (most recent call last):
File "/opt/app-root/lib/python3.6/site-packages/jupyterhub/app.py", line 2479, in launch_instance_async
await self.initialize(argv)
File "/opt/app-root/lib/python3.6/site-packages/jupyterhub/app.py", line 2088, in initialize
self.load_config_file(self.config_file)
File "", line 2, in load_config_file
File "/opt/app-root/lib/python3.6/site-packages/traitlets/config/application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "/opt/app-root/lib/python3.6/site-packages/traitlets/config/application.py", line 602, in load_config_file
raise_config_file_errors=self.raise_config_file_errors,
File "/opt/app-root/lib/python3.6/site-packages/traitlets/config/application.py", line 563, in _load_config_files
config = loader.load_config()
File "/opt/app-root/lib/python3.6/site-packages/traitlets/config/loader.py", line 457, in load_config
self._read_file_as_dict()
File "/opt/app-root/lib/python3.6/site-packages/traitlets/config/loader.py", line 489, in _read_file_as_dict
py3compat.execfile(conf_filename, namespace)
File "/opt/app-root/lib/python3.6/site-packages/ipython_genutils/py3compat.py", line 198, in execfile
exec(compiler(f.read(), fname, 'exec'), glob, loc)
File "/opt/app-root/src/jupyterhub_config.py", line 126, in
api_version='extensions/v1beta1', kind='Ingress')
File "/opt/app-root/lib/python3.6/site-packages/openshift/dynamic/discovery.py", line 213, in get
raise ResourceNotFoundError('No matches found for {}'.format(kwargs))
openshift.dynamic.exceptions.ResourceNotFoundError: No matches found for {'api_version': 'extensions/v1beta1', 'kind': 'Ingress'}
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/app-root/lib/python3.6/site-packages/jupyterhub/app.py", line 2492, in launch_instance
loop.start()
File "/opt/app-root/lib/python3.6/site-packages/tornado/platform/asyncio.py", line 149, in start
self.asyncio_loop.run_forever()
File "/opt/rh/rh-python36/root/usr/lib64/python3.6/asyncio/base_events.py", line 438, in run_forever
self._run_once()
File "/opt/rh/rh-python36/root/usr/lib64/python3.6/asyncio/base_events.py", line 1451, in _run_once
handle._run()
File "/opt/rh/rh-python36/root/usr/lib64/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self._args)
File "/opt/app-root/lib/python3.6/site-packages/jupyterhub/app.py", line 2483, in launch_instance_async
self.exit(1)
File "/opt/app-root/lib/python3.6/site-packages/traitlets/config/application.py", line 654, in exit
sys.exit(exit_status)
SystemExit: 1
trap - TERM INT
wait 29
STATUS=1
exit 1
OCP cluster info:
oc version
Client Version: 4.8.3
Server Version: 4.10.25
Kubernetes Version: v1.23.5+012e945
The text was updated successfully, but these errors were encountered:
jaipalkomakula
changed the title
Spawner pod not starting due to CRD's - nodded to update ad 4.10.25
Spawner pod not starting due to CRD's - to update for the ocp cluster 4.10.25
Oct 6, 2022
Unable to start pod
oc process -f https://raw.githubusercontent.com/openshift-homeroom/workshop-spawner/master/templates/learning-portal-production.json --param SPAWNER_NAMESPACE=
oc project --short
--param CLUSTER_SUBDOMAIN=apps.xxxx.com | oc apply -f -W1006 21:55:58.149241 28616 shim_kubectl.go:55] Using non-groupfied API resources is deprecated and will be removed in a future release, update apiVersion to "template.openshift.io/v1" for your resource
serviceaccount/learning-portal-spawner created
clusterrolebinding.authorization.openshift.io/learning-portal-spawner-basic created
clusterrole.authorization.openshift.io/learning-portal-spawner-extra created
clusterrolebinding.authorization.openshift.io/learning-portal-spawner-extra created
clusterrole.authorization.openshift.io/learning-portal-spawner-rules created
clusterrolebinding.authorization.openshift.io/learning-portal-spawner-rules created
clusterrole.authorization.openshift.io/learning-portal-session-rules created
clusterrolebinding.authorization.openshift.io/learning-portal-session-rules created
imagestream.image.openshift.io/learning-portal-spawner created
configmap/learning-portal-spawner-configs created
configmap/learning-portal-session-resources created
configmap/learning-portal-session-envvars created
deploymentconfig.apps.openshift.io/learning-portal-spawner created
service/learning-portal-spawner created
route.route.openshift.io/learning-portal-spawner created
imagestream.image.openshift.io/learning-portal-session created
but the pod learning-portal-spawner-1-nrxs6 in cash loop:
pod log:
++ CONFIGURATION_TYPE=learning-portal
++ '[' -f /opt/app-root/src/configs/learning-portal.sh ']'
++ . /opt/app-root/src/configs/learning-portal.sh
++ '[' -f /opt/app-root/configs/jupyterhub_config.sh ']'
++ . /opt/app-root/configs/jupyterhub_config.sh
INFO: Workshop name is 'learning-portal'.
INFO: Application name is 'learning-portal'.
INFO: Configuration type is 'learning-portal'.
INFO: Homeroom link is ''.
INFO: Homeroom name is ''.
INFO: Service account name is 'learning-portal-spawner'.
INFO: Namespace is 'workshop'.
INFO: Full service account name is 'system:serviceaccount:workshop:learning-portal-spawner'.
/opt/app-root/lib/python3.6/site-packages/urllib3/connectionpool.py:1004: InsecureRequestWarning: Unverified HTTPS request is being made to host '172.30.0.1'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning,
[E 2022-10-06 21:59:34.766 JupyterHub app:2482]
Traceback (most recent call last):
File "/opt/app-root/lib/python3.6/site-packages/jupyterhub/app.py", line 2479, in launch_instance_async
await self.initialize(argv)
File "/opt/app-root/lib/python3.6/site-packages/jupyterhub/app.py", line 2088, in initialize
self.load_config_file(self.config_file)
File "", line 2, in load_config_file
File "/opt/app-root/lib/python3.6/site-packages/traitlets/config/application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "/opt/app-root/lib/python3.6/site-packages/traitlets/config/application.py", line 602, in load_config_file
raise_config_file_errors=self.raise_config_file_errors,
File "/opt/app-root/lib/python3.6/site-packages/traitlets/config/application.py", line 563, in _load_config_files
config = loader.load_config()
File "/opt/app-root/lib/python3.6/site-packages/traitlets/config/loader.py", line 457, in load_config
self._read_file_as_dict()
File "/opt/app-root/lib/python3.6/site-packages/traitlets/config/loader.py", line 489, in _read_file_as_dict
py3compat.execfile(conf_filename, namespace)
File "/opt/app-root/lib/python3.6/site-packages/ipython_genutils/py3compat.py", line 198, in execfile
exec(compiler(f.read(), fname, 'exec'), glob, loc)
File "/opt/app-root/src/jupyterhub_config.py", line 126, in
api_version='extensions/v1beta1', kind='Ingress')
File "/opt/app-root/lib/python3.6/site-packages/openshift/dynamic/discovery.py", line 213, in get
raise ResourceNotFoundError('No matches found for {}'.format(kwargs))
openshift.dynamic.exceptions.ResourceNotFoundError: No matches found for {'api_version': 'extensions/v1beta1', 'kind': 'Ingress'}
ERROR:asyncio:Task exception was never retrieved
future: <Task finished coro=<JupyterHub.launch_instance_async() done, defined at /opt/app-root/lib/python3.6/site-packages/jupyterhub/app.py:2477> exception=SystemExit(1,)>
Traceback (most recent call last):
File "/opt/app-root/lib/python3.6/site-packages/jupyterhub/app.py", line 2479, in launch_instance_async
await self.initialize(argv)
File "/opt/app-root/lib/python3.6/site-packages/jupyterhub/app.py", line 2088, in initialize
self.load_config_file(self.config_file)
File "", line 2, in load_config_file
File "/opt/app-root/lib/python3.6/site-packages/traitlets/config/application.py", line 87, in catch_config_error
return method(app, *args, **kwargs)
File "/opt/app-root/lib/python3.6/site-packages/traitlets/config/application.py", line 602, in load_config_file
raise_config_file_errors=self.raise_config_file_errors,
File "/opt/app-root/lib/python3.6/site-packages/traitlets/config/application.py", line 563, in _load_config_files
config = loader.load_config()
File "/opt/app-root/lib/python3.6/site-packages/traitlets/config/loader.py", line 457, in load_config
self._read_file_as_dict()
File "/opt/app-root/lib/python3.6/site-packages/traitlets/config/loader.py", line 489, in _read_file_as_dict
py3compat.execfile(conf_filename, namespace)
File "/opt/app-root/lib/python3.6/site-packages/ipython_genutils/py3compat.py", line 198, in execfile
exec(compiler(f.read(), fname, 'exec'), glob, loc)
File "/opt/app-root/src/jupyterhub_config.py", line 126, in
api_version='extensions/v1beta1', kind='Ingress')
File "/opt/app-root/lib/python3.6/site-packages/openshift/dynamic/discovery.py", line 213, in get
raise ResourceNotFoundError('No matches found for {}'.format(kwargs))
openshift.dynamic.exceptions.ResourceNotFoundError: No matches found for {'api_version': 'extensions/v1beta1', 'kind': 'Ingress'}
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/app-root/lib/python3.6/site-packages/jupyterhub/app.py", line 2492, in launch_instance
loop.start()
File "/opt/app-root/lib/python3.6/site-packages/tornado/platform/asyncio.py", line 149, in start
self.asyncio_loop.run_forever()
File "/opt/rh/rh-python36/root/usr/lib64/python3.6/asyncio/base_events.py", line 438, in run_forever
self._run_once()
File "/opt/rh/rh-python36/root/usr/lib64/python3.6/asyncio/base_events.py", line 1451, in _run_once
handle._run()
File "/opt/rh/rh-python36/root/usr/lib64/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self._args)
File "/opt/app-root/lib/python3.6/site-packages/jupyterhub/app.py", line 2483, in launch_instance_async
self.exit(1)
File "/opt/app-root/lib/python3.6/site-packages/traitlets/config/application.py", line 654, in exit
sys.exit(exit_status)
SystemExit: 1
OCP cluster info:
oc version
Client Version: 4.8.3
Server Version: 4.10.25
Kubernetes Version: v1.23.5+012e945
The text was updated successfully, but these errors were encountered: