Skip to content
This repository has been archived by the owner on Mar 19, 2019. It is now read-only.

Running fabric8 the second time #1796

Open
johnreytanquinco opened this issue May 9, 2018 · 0 comments
Open

Running fabric8 the second time #1796

johnreytanquinco opened this issue May 9, 2018 · 0 comments

Comments

@johnreytanquinco
Copy link

I tried to rerun the installation after I restarted my device since im getting no positive result waiting for hours of getting the all images downloaded.

This is the status of my pods:

Every 2.0s: oc get pods -n fabric8                                                                                                                                              anonymous: Wed May  9 09:50:40 2018

NAME                          READY     STATUS             RESTARTS   AGE
auth-2-l4pr8                  0/1       CrashLoopBackOff   42         21h
auth-db-1-8zwq2               1/1       Running            3          21h
che-starter-1-zzpxp           1/1       Running            3          21h
configmapcontroller-1-cttvb   1/1       Running            2          21h
exposecontroller-2-j8pjb      1/1       Running            2          21h
fabric8-2-8wqbq               1/1       Running            2          21h
forge-2-7899x                 1/1       Running            1          21h
init-tenant-2-ssqhr           0/1       CrashLoopBackOff   44         21h
init-tenant-db-1-9tgwk        1/1       Running            2          21h
keycloak-2-j7qzl              0/1       Running            21         20h
keycloak-db-1-deploy          0/1       Error              0          21h
wit-2-bdjch                   0/1       CrashLoopBackOff   30         21h
wit-db-2-6wrc7                1/1       Running            3          20h

This is the full log:

$ gofabric8 start --minishift --package=system  --namespace fabric8
Unable to download driver Driver install for linux not yet supported
minishift is already available on your PATH at /home/johnreytanquinco/.fabric8/bin/minishift
oc is already available on your PATH at /usr/bin/oc
running: /home/johnreytanquinco/.fabric8/bin/minishift start --vm-driver=kvm --memory=7168 --cpus=5 --disk-size=50g
-- Starting profile 'minishift'
-- Checking if https://github.com is reachable ... OK
-- Checking if requested OpenShift version 'v3.9.0' is valid ... OK
-- Checking if requested OpenShift version 'v3.9.0' is supported ... OK
-- Checking if requested hypervisor 'kvm' is supported on this platform ... OK
-- Checking if KVM driver is installed ... 
   Driver is available at /usr/local/bin/docker-machine-driver-kvm ... 
   Checking driver binary is executable ... OK
-- Checking if Libvirt is installed ... OK
-- Checking if Libvirt default network is present ... OK
-- Checking if Libvirt default network is active ... OK
-- Checking the ISO URL ... OK
-- Checking if provided oc flags are supported ... OK
-- Starting local OpenShift cluster using 'kvm' hypervisor ...
-- Starting Minishift VM ......................... OK
-- Checking for IP address ... OK
-- Checking for nameservers ... OK
-- Checking if external host is reachable from the Minishift VM ... 
   Pinging 8.8.8.8 ... OK
-- Checking HTTP connectivity from the VM ... 
   Retrieving http://minishift.io/index.html ... OK
-- Checking if persistent storage volume is mounted ... OK
-- Checking available disk space ... 12% used OK
-- OpenShift cluster will be configured with ...
   Version: v3.9.0
Deleted existing OpenShift container
Using Docker shared volumes for OpenShift volumes
Using 192.168.42.87 as the server IP
Starting OpenShift using openshift/origin:v3.9.0 ...
OpenShift server started.

The server is accessible via web console at:
    https://192.168.42.87:8443

Deploying fabric8 to your OpenShift installation at https://192.168.42.87:8443 for domain 192.168.42.87.nip.io in namespace fabric8

Loading fabric8 releases from maven repository:https://repo1.maven.org/maven2/
Deploying package: system version: 4.0.208

Template APISERVER_HOSTPORT = 192.168.42.87:8443
Template NODE_IP = 192.168.42.87
Template EXPOSER = Route
Template DOMAIN = 192.168.42.87.nip.io
Template GITHUB_OAUTH_CLIENT_SECRET = XXXX
Template GITHUB_OAUTH_CLIENT_ID = XXXX
Template HTTP = true
Template TLS_ACME = false
Template NAMESPACE = fabric8
Template APISERVER = 192.168.42.87
Template OAUTH_AUTHORIZE_PORT = 8443
Template RECOMMENDER_API_TOKEN = 
Creating system template resources in namespace fabric8 from 57 objects
Processing resource kind: Secret in namespace fabric8 name auth
Failed to create Secret: secrets "auth" already exists
Processing resource kind: Secret in namespace fabric8 name f8tenant
Failed to create Secret: secrets "f8tenant" already exists
Processing resource kind: Secret in namespace fabric8 name keycloak
Failed to create Secret: secrets "keycloak" already exists
Processing resource kind: Secret in namespace fabric8 name wit
Failed to create Secret: secrets "wit" already exists
Processing resource kind: ServiceAccount in namespace fabric8 name configmapcontroller
Failed to create ServiceAccount: serviceaccounts "configmapcontroller" already exists
Processing resource kind: ServiceAccount in namespace fabric8 name exposecontroller
Failed to create ServiceAccount: serviceaccounts "exposecontroller" already exists
Processing resource kind: ServiceAccount in namespace fabric8 name init-tenant
Failed to create ServiceAccount: serviceaccounts "init-tenant" already exists
Processing resource kind: Service in namespace fabric8 name api
Failed to create Service: services "api" already exists
Processing resource kind: Service in namespace fabric8 name auth
Failed to create Service: services "auth" already exists
Processing resource kind: Service in namespace fabric8 name auth-db
Failed to create Service: services "auth-db" already exists
Processing resource kind: Service in namespace fabric8 name che-starter
Failed to create Service: services "che-starter" already exists
Processing resource kind: Service in namespace fabric8 name f8tenant
Failed to create Service: services "f8tenant" already exists
Processing resource kind: Service in namespace fabric8 name fabric8
Failed to create Service: services "fabric8" already exists
Processing resource kind: Service in namespace fabric8 name forge
Failed to create Service: services "forge" already exists
Processing resource kind: Service in namespace fabric8 name init-tenant-db
Failed to create Service: services "init-tenant-db" already exists
Processing resource kind: Service in namespace fabric8 name keycloak
Failed to create Service: services "keycloak" already exists
Processing resource kind: Service in namespace fabric8 name keycloak-db
Failed to create Service: services "keycloak-db" already exists
Processing resource kind: Service in namespace fabric8 name sso
Failed to create Service: services "sso" already exists
Processing resource kind: Service in namespace fabric8 name wit
Failed to create Service: services "wit" already exists
Processing resource kind: Service in namespace fabric8 name wit-db
Failed to create Service: services "wit-db" already exists
Processing resource kind: RoleBinding in namespace fabric8 name configmapcontroller-edit
Failed to create RoleBinding: rolebindings "configmapcontroller-edit" already exists
Processing resource kind: RoleBinding in namespace fabric8 name exposecontroller-edit
	Failed to create RoleBinding: rolebindings "exposecontroller-edit" already exists
Processing resource kind: PersistentVolumeClaim in namespace fabric8 name auth-db-postgresql-data
Failed to create PersistentVolumeClaim: persistentvolumeclaims "auth-db-postgresql-data" already exists
Processing resource kind: PersistentVolumeClaim in namespace fabric8 name init-tenant-postgresql-data
Failed to create PersistentVolumeClaim: persistentvolumeclaims "init-tenant-postgresql-data" already exists
Processing resource kind: PersistentVolumeClaim in namespace fabric8 name keycloak-db-postgresql-data
Failed to create PersistentVolumeClaim: persistentvolumeclaims "keycloak-db-postgresql-data" already exists
Processing resource kind: PersistentVolumeClaim in namespace fabric8 name wit-postgresql-data
Failed to create PersistentVolumeClaim: persistentvolumeclaims "wit-postgresql-data" already exists
Processing resource kind: ConfigMap in namespace fabric8 name auth
Failed to create ConfigMap: configmaps "auth" already exists
Processing resource kind: ConfigMap in namespace fabric8 name che-starter
Failed to create ConfigMap: configmaps "che-starter" already exists
Processing resource kind: ConfigMap in namespace fabric8 name exposecontroller
Failed to create ConfigMap: configmaps "exposecontroller" already exists
Processing resource kind: ConfigMap in namespace fabric8 name f8tenant
Failed to create ConfigMap: configmaps "f8tenant" already exists
Processing resource kind: ConfigMap in namespace fabric8 name fabric8
Failed to create ConfigMap: configmaps "fabric8" already exists
Processing resource kind: ConfigMap in namespace fabric8 name fabric8-system
Failed to create ConfigMap: configmaps "fabric8-system" already exists
Processing resource kind: ConfigMap in namespace fabric8 name forge
Failed to create ConfigMap: configmaps "forge" already exists
Processing resource kind: ConfigMap in namespace fabric8 name keycloak
Failed to create ConfigMap: configmaps "keycloak" already exists
Processing resource kind: ConfigMap in namespace fabric8 name sso
Failed to create ConfigMap: configmaps "sso" already exists
Processing resource kind: ConfigMap in namespace fabric8 name wit
Failed to create ConfigMap: configmaps "wit" already exists
Processing resource kind: DeploymentConfig in namespace fabric8 name auth
Failed to create DeploymentConfig: deploymentconfigs "auth" already exists
Processing resource kind: DeploymentConfig in namespace fabric8 name auth-db
Failed to create DeploymentConfig: deploymentconfigs "auth-db" already exists
Processing resource kind: DeploymentConfig in namespace fabric8 name che-starter
Failed to create DeploymentConfig: deploymentconfigs "che-starter" already exists
Processing resource kind: DeploymentConfig in namespace fabric8 name configmapcontroller
Failed to create DeploymentConfig: deploymentconfigs "configmapcontroller" already exists
Processing resource kind: DeploymentConfig in namespace fabric8 name exposecontroller
Failed to create DeploymentConfig: deploymentconfigs "exposecontroller" already exists
Processing resource kind: DeploymentConfig in namespace fabric8 name fabric8
Failed to create DeploymentConfig: deploymentconfigs "fabric8" already exists
Processing resource kind: DeploymentConfig in namespace fabric8 name forge
Failed to create DeploymentConfig: deploymentconfigs "forge" already exists
Processing resource kind: DeploymentConfig in namespace fabric8 name init-tenant
Failed to create DeploymentConfig: deploymentconfigs "init-tenant" already exists
Processing resource kind: DeploymentConfig in namespace fabric8 name init-tenant-db
Failed to create DeploymentConfig: deploymentconfigs "init-tenant-db" already exists
Processing resource kind: DeploymentConfig in namespace fabric8 name keycloak
Failed to create DeploymentConfig: deploymentconfigs "keycloak" already exists
Processing resource kind: DeploymentConfig in namespace fabric8 name keycloak-db
Failed to create DeploymentConfig: deploymentconfigs "keycloak-db" already exists
Processing resource kind: DeploymentConfig in namespace fabric8 name wit
Failed to create DeploymentConfig: deploymentconfigs "wit" already exists
Processing resource kind: DeploymentConfig in namespace fabric8 name wit-db
Failed to create DeploymentConfig: deploymentconfigs "wit-db" already exists
Processing resource kind: Route in namespace fabric8 name api
Failed to create Route: routes "api" already exists
Processing resource kind: Route in namespace fabric8 name auth
Failed to create Route: routes "auth" already exists
Processing resource kind: Route in namespace fabric8 name f8tenant
Failed to create Route: routes "f8tenant" already exists
Processing resource kind: Route in namespace fabric8 name fabric8
Failed to create Route: routes "fabric8" already exists
Processing resource kind: Route in namespace fabric8 name forge
Failed to create Route: routes "forge" already exists
Processing resource kind: Route in namespace fabric8 name keycloak
Failed to create Route: routes "keycloak" already exists
Processing resource kind: Route in namespace fabric8 name sso
Failed to create Route: routes "sso" already exists
Processing resource kind: Route in namespace fabric8 name wit
Failed to create Route: routes "wit" already exists
system........................................................................✘ Failed to create Route: routes "wit" already exists
If this your first deployment then it may take a while to download the docker images, please be patient.
To track progress run the following command in a new terminal session:
watch oc get pods -n fabric8

Please make sure your github OAuth Application Client ID: XXXX points to the
Authorization callback URL: http://keycloak-fabric8.192.168.42.87.nip.io/auth/realms/fabric8/broker/github/endpoint



Creating OAuthClient and adding role to fabric8-tenant
Error from server (AlreadyExists): error when creating "oauthclient.yaml": oauthclients "fabric8-online-platform" already exists
Failed to run command oc create --as system:admin -f oauthclient.yaml due to error exit status 1
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant