Skip to content

Instantly share code, notes, and snippets.

View jdob's full-sized avatar
👾

Jason Dobies jdob

👾
  • SUSE
  • New Jersey
View GitHub Profile
+ . /opt/app-root/src/jupyterhub_config.sh
++ 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
+ trap 'kill -TERM $PID' TERM INT
+ PID=29
+ wait 29
+ jupyterhub -f /opt/app-root/src/jupyterhub_config.py
./.workshop/scripts/deploy-spawner.sh
### Parsing command line arguments.
### Reading the default configuration.
### Reading the workshop configuration.
### Setting the workshop application.
### Checking spawner configuration.
### Creating spawner application.
serviceaccount/lab-build-an-operator-spawner created
clusterrolebinding.authorization.openshift.io/lab-build-an-operator-spawner-basic created
App.js
-----
import React from 'react';
import FileUpload from './components/FileUpload.js';
import Prof from './components/Prof'
import './App.css';
const App = () => (
apiVersion: operators.coreos.com/v1alpha2
kind: OperatorGroup
metadata:
name: all-namespaces
namespace: default
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
apiVersion: etcd.database.coreos.com/v1beta2
kind: EtcdCluster
metadata:
name: jdob-cluster
annotations:
etcd.database.coreos.com/scope: clusterwide
namespace: default
spec:
size: 3
version: 3.2.13
 ~ oc get service
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
authentication ClusterIP 172.30.126.219 <none> 8443/TCP 41h
cfssl ClusterIP 172.30.99.92 <none> 8888/TCP 41h
documentation ClusterIP 172.30.141.27 <none> 8443/TCP 41h
logstash ClusterIP 172.30.212.212 <none> 5044/TCP 41h
postgres ClusterIP 172.30.165.21 <none> 5432/TCP 41h
registration ClusterIP 172.30.236.52 <none> 8443/TCP 41h
scan
NAME READY STATUS RESTARTS AGE
authentication-xc2w6 1/1 Running 0 23h
cfssl-blqbx 1/1 Running 0 23h
documentation-zlbrd 1/1 Running 0 23h
jobrunner-pkv4q 0/1 Pending 0 23h
postgres-kdcqw 1/1 Running 0 23h
registration-2n5m2 0/1 Pending 0 23h
scan-jt5w8 1/1 Running 0 23h
solr-vrngw 1/1 Running 0 23h
webapp-logstash-2rqz2 0/2 Pending 0 23h
Logging Level: common
events.js:182
throw er; // Unhandled 'error' event
^
Error: listen EADDRINUSE :::8080
at Object._errnoException (util.js:1041:11)
at _exceptionWithHostPort (util.js:1064:20)
at Server.setupListenHandle [as _listen2] (net.js:1322:14)
at listenInCluster (net.js:1370:12)
[root@tyrol ~]# yum repolist
Loaded plugins: product-id, search-disabled-repos, subscription-manager
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
repo id repo name status
!rhel-7-server-aus-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server - AUS (R 11,804
!rhel-7-server-extras-rpms/x86_64 Red Hat Enterprise Linux 7 Server - Extras 498
!rhel-7-server-htb-rpms/x86_64 Red Hat Enterprise Linux 7 Server HTB (RPM 6,746
!rhel-7-server-nfv-rpms/7Server/x86_64 Red Hat Enterprise Linux for Real Time for 167
!rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 14,454
!rhel-7-server-rt-beta-rpms/x86_64 Red Hat Enterprise Linux for Real Time Bet 15