I am unable to open Rancher Server UI
root@ip-ID ~]# curl -vk https://IP
- About to connect() to IP port 443 (#0)
- Trying IP…
- Connected to IP (IP) port 443 (#0)
- Initializing NSS with certpath: sql:/etc/pki/nssdb
- skipping SSL peer certificate verification
- SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
- Server certificate:
-
subject: CN=cattle,O=the-ranch
-
start date: Apr 30 07:57:14 2018 GMT
-
expire date: Apr 30 08:10:26 2019 GMT
-
common name: cattle
-
issuer: CN=cattle-ca,O=the-ranch
GET / HTTP/1.1
User-Agent: curl/7.29.0
Host: IP
Accept: /
< HTTP/1.1 200 OK
< Content-Type: application/json
< Expires: Wed 24 Feb 1982 18:42:00 GMT
< X-Api-Schemas: https://IP/meta/schemas
< Date: Mon, 30 Apr 2018 08:42:16 GMT
< Transfer-Encoding: chunked
<
{“type”:“collection”,“links”:{“self”:“https://IP/“},“actions”:{},“pagination”:{“limit”:1000},“sort”:{“order”:“asc”,“reverse”:“https://IP/?order=desc”},“resourceType”:“apiRoot”,“data”:[{“actions”:{},“apiVersion”:{“group”:“meta.cattle.io”,“path”:”/meta",“version”:“v1”},“baseType”:“apiRoot”,“links”:{“apiRoots”:“https://IP/meta/apiroots”,“root”:“https://IP/meta”,“schemas”:“https://IP/meta/schemas”,“self”:“https://IP/meta”,“subscribe”:“https://IP/meta/subscribe”},“type”:“apiRoot”},{“actions”:{},“apiVersion”:{“group”:“management.cattle.io”,“path”:“/v3”,“version”:“v3”},“baseType”:“apiRoot”,“links”:{“authConfigs”:“https://IP/v3/authconfigs”,“catalogs”:“https://IP/v3/catalogs”,“clusterAlerts”:“https://IP/v3/clusteralerts”,“clusterComposeConfigs”:“https://IP/v3/clustercomposeconfigs”,“clusterEvents”:“https://IP/v3/clusterevents”,“clusterLoggings”:“https://IP/v3/clusterloggings”,“clusterPipelines”:“https://IP/v3/clusterpipelines”,“clusterRegistrationTokens”:“https://IP/v3/clusterregistrationtokens”,“clusterRoleTemplateBindings”:“https://IP/v3/clusterroletemplatebindings”,“clusters”:“https://IP/v3/clusters”,“dynamicSchemas”:“https://IP/v3/dynamicschemas”,“globalComposeConfigs”:“https://IP/v3/globalcomposeconfigs”,“globalRoleBindings”:“https://IP/v3/globalrolebindings”,“globalRoles”:“https://IP/v3/globalroles”,“groupMembers”:“https://IP/v3/groupmembers”,“groups”:“https://IP/v3/groups”,“listenConfigs”:“https://IP/v3/listenconfigs”,“nodeDrivers”:“https://IP/v3/nodedrivers”,“nodePools”:“https://IP/v3/nodepools”,“nodeTemplates”:“https://IP/v3/nodetemplates”,“nodes”:“https://IP/v3/nodes”,“notifiers”:“https://IP/v3/notifiers”,“pipelineExecutionLogs”:“https://IP/v3/pipelineexecutionlogs”,“pipelineExecutions”:“https://IP/v3/pipelineexecutions”,“pipelines”:“https://IP/v3/pipelines”,“podSecurityPolicyTemplateProjectBindings”:“https://IP/v3/podsecuritypolicytemplateprojectbindings”,“podSecurityPolicyTemplates”:“https://IP/v3/podsecuritypolicytemplates”,“preferences”:“https://IP/v3/preferences”,“principals”:“https://IP/v3/principals”,“projectAlerts”:“https://IP/v3/projectalerts”,“projectLoggings”:“https://IP/v3/projectloggings”,“projectNetworkPolicies”:“https://IP/v3/projectnetworkpolicies”,“projectRoleTemplateBindings”:“https://IP/v3/projectroletemplatebindings”,“projects”:“https://IP/v3/projects”,“roleTemplates”:“https://IP/v3/roletemplates”,“root”:“https://IP/v3”,“self”:“https://IP/v3”,“settings”:“https://IP/v3/settings”,“sourceCodeCredentials”:“https://IP/v3/sourcecodecredentials”,“sourceCodeRepositories”:“https://IP/v3/sourcecoderepositories”,“subscribe”:“https://IP/v3/subscribe”,“templateContents”:“https://IP/v3/templatecontents”,“templateVersions”:“https://IP/v3/templateversions”,“templates”:“https://IP/v3/templates”,“tokens”:“https://IP/v3/tokens”,“users”:“https://IP/v3/users”},“type”:“apiRoot”},{“actions”:{},“apiVersion”:{“group”:“cluster.cattle.io”,“path”:“/v3/cluster”,“version”:“v3”},“baseType”:“apiRoot”,“links”:{“namespaces”:“https://IP/v3/cluster/namespaces”,“persistentVolumes”:“https://IP/v3/cluster/persistentvolumes”,“root”:“https://IP/v3/cluster”,“self”:“https://IP/v3/cluster”,“storageClasses”:“https://IP/v3/cluster/storageclasses”,“subscribe”:“https://IP/v3/cluster/subscribe”},“type”:“apiRoot”},{“actions”:{},“apiVersion”:{“group”:“project.cattle.io”,“path”:“/v3/project”,“version”:“v3”},“baseType”:“apiRoot”,“links”:{“appRevisions”:“https://IP/v3/project/apprevisions”,“apps”:“https://IP/v3/project/apps”,“basicAuths”:“https://IP/v3/project/basicauths”,“certificates”:“https://IP/v3/project/certificates”,“configMaps”:“https://IP/v3/project/configmaps”,“cronJobs”:“https://IP/v3/project/cronjobs”,“daemonSets”:“https://IP/v3/project/daemonsets”,“deployments”:“https://IP/v3/project/deployments”,“dnsRecords”:“https://IP/v3/project/dnsrecords”,“dockerCredentials”:“https://IP/v3/project/dockercredentials”,“ingresses”:“https://IP/v3/project/ingresses”,“jobs”:“https://IP/v3/project/jobs”,“namespaceComposeConfigs”:“https://IP/v3/project/namespacecomposeconfigs”,“namespacedBasicAuths”:“https://IP/v3/project/namespacedbasicauths”,“namespacedCertificates”:“https://IP/v3/project/namespacedcertificates”,“namespacedDockerCredentials”:“https://IP/v3/project/namespaceddockercredentials”,“namespacedSecrets”:“https://IP/v3/project/namespacedsecrets”,“namespacedServiceAccountTokens”:“https://IP/v3/project/namespacedserviceaccounttokens”,“namespacedSshAuths”:“https://IP/v3/project/namespacedsshauths”,“persistentVolumeClaims”:“https://IP/v3/project/persistentvolumeclaims”,“pods”:“https://IP/v3/project/pods”,“replicaSets”:“https://IP/v3/project/replicasets”,“replicationControllers”:“https://IP/v3/project/replicationcontrollers”,“root”:“https://IP/v3/project”,“secrets”:“https://IP/v3/project/secrets”,“self”:“https://IP/v3/project”,“serviceAccountTokens”:“https://IP/v3/project/serviceaccounttokens”,“services”:“https://IP/v3/project/services”,“sshAuths”:“https://IP/v3/project/sshauths”,“statefulSets”:“https://IP/v3/project/statefulsets”,“subscribe”:“https://IP/v3/project/subscribe”,“workloads”:“https://IP/v3/project/workloads”},“type”:"apiRoot”}]}
- Connection #0 to host IP left intact
When I try to run through browser https://IP/
Its nowt working
Aslo I can see some errors docker logs 3debc9188b05
E0430 08:37:54.153149 1 certificates.go:48] Failed to start certificate controller: error reading CA cert file “/etc/kubernetes/ca/ca.pem”: open /etc/kubernetes/ca/ca.pem: no such file or directory
E0430 08:37:56.156068 1 core.go:70] Failed to start service controller: WARNING: no cloud provider provided, services of type LoadBalancer will fail.
2018-04-30 08:47:38.038067 I | mvcc: store.index: compact 3412
2018/04/30 08:37:39 [INFO] Waiting for server to become available: Get https://127.0.0.1:6443/version: dial tcp 127.0.0.1:6443: getsockopt: connection refused
2018/04/30 08:37:39 [INFO] Waiting for server to become available: Get https://127.0.0.1:6443/version: dial tcp 127.0.0.1:6443: getsockopt: connection refused
2018/04/30 08:37:39 [INFO] Waiting for server to become available: Get https://127.0.0.1:6443/version: dial tcp 127.0.0.1:6443: getsockopt: connection refused
2018/04/30 08:37:41 [INFO] Waiting for server to become available: Get https://127.0.0.1:6443/version: dial tcp 127.0.0.1:6443: getsockopt: connection refused
2018/04/30 08:37:41 [INFO] Waiting for server to become available: Get https://127.0.0.1:6443/version: dial tcp 127.0.0.1:6443: getsockopt: connection refused
2018/04/30 08:37:41 [INFO] Waiting for server to become available: Get https://127.0.0.1:6443/version: dial tcp 127.0.0.1:6443: getsockopt: connection refused