cloudfoundry-incubator / kubo-deployment

Contains manifests used to deploy Cloud Foundry Container Runtime
https://www.cloudfoundry.org/container-runtime/
Apache License 2.0
275 stars 114 forks source link

Expected to find a map at path '/ca' but found '<nil>' #51

Closed littleidea closed 7 years ago

littleidea commented 7 years ago

followed all the directions to install kubo and get to the very end to try to use it and get this message.

I'm including all the output from the install and then trying to set up the environment.

Let me know what other info you might need.

ashafer@bosh-bastion:~/kubo-deployment$ bin/deploy_bosh ${state_dir} ${service_account_creds}

| KuBOSH Deployer |

Deployment manifest: '/home/ashafer/kubo-deployment/bosh-deployment/bosh.yml' Deployment state: '/home/ashafer/kubo-env/kube/state.json' Started validating Downloading release 'bosh'... Finished (00:00:06) Validating release 'bosh'... Finished (00:00:03) Downloading release 'bosh-google-cpi'... Finished (00:00:06) Validating release 'bosh-google-cpi'... Finished (00:00:03) Downloading release 'uaa'... Finished (00:00:04) Validating release 'uaa'... Finished (00:00:01) Downloading release 'credhub'... Finished (00:00:04) Validating release 'credhub'... Finished (00:00:06) Validating cpi release... Finished (00:00:00) Validating deployment manifest... Finished (00:00:00) Downloading stemcell... Finished (00:00:00) Validating stemcell... Finished (00:00:00) Finished validating (00:00:39) Started installing CPI Compiling package 'golang/b7c20853a73ad56fad8d60b980503e22d3ac7f43'... Finished (00:00:22) Compiling package 'bosh-google-cpi/4ad0377566e35d667396164d6f210b3723c61a63'... Finished (00:00:28) Installing packages... Finished (00:00:03) Rendering job templates... Finished (00:00:00) Installing job 'google_cpi'... Finished (00:00:00) Finished installing CPI (00:00:54)

Starting registry... Finished (00:00:00) Uploading stemcell 'bosh-google-kvm-ubuntu-trusty-go_agent/3312.15'... Finished (00:00:55)

Started deploying Creating VM for instance 'bosh/0' from stemcell 'stemcell-71314557-e838-4559-5e95-e683b04f7818'... Finished (00:00:52) Waiting for the agent on VM 'vm-511fc259-d3fe-4d82-63a6-6c3b2aeb5d7b' to be ready... Finished (00:00:19) Creating disk... Finished (00:00:02) Attaching disk 'disk-deaf98f0-db01-4f14-7e21-51c82cf2bf19' to VM 'vm-511fc259-d3fe-4d82-63a6-6c3b2aeb5d7b'... Finished (00:00:23) Rendering job templates... Finished (00:00:03) Compiling package 'ruby/c1086875b047d112e46756dcb63d8f19e63b3ac4'... Finished (00:03:03) Compiling package 'mysql/b7e73acc0bfe05f1c6cbfd97bf92d39b0d3155d5'... Finished (00:00:39) Compiling package 'libpq/661f5817afe24fa2f18946d2757bff63246b1d0d'... Finished (00:00:22) Compiling package 'openjdk_1.8.0/2b211db4acf8cb063c414f55cced7e0a7f955d52'... Finished (00:00:35) Compiling package 'golang/b7c20853a73ad56fad8d60b980503e22d3ac7f43'... Finished (00:00:31) Compiling package 's3cli/f87a0db2430a633402b76704fda9328d22fea7ad'... Finished (00:00:02) Compiling package 'uaa/d5df660429556d1094c0d333de4b344f9d5959bf'... Skipped [Package already compiled] (00:00:04) Compiling package 'davcli/5f08f8d5ab3addd0e11171f739f072b107b30b8c'... Finished (00:00:02) Compiling package 'director/7bce891171c3d4b16b26ed5dc55fa7045fa553da'... Finished (00:02:09) Compiling package 'credhub/9e5470c81ed7df77e6645a7178c3aa28c4d16f05'... Finished (00:00:13) Compiling package 'nginx/2ec2f63293bf6f544e95969bf5e5242bc226a800'... Finished (00:01:00) Compiling package 'bosh-google-cpi/4ad0377566e35d667396164d6f210b3723c61a63'... Finished (00:00:34) Compiling package 'nats/63ae42eb73527625307ff522fb402832b407321d'... Finished (00:00:20) Compiling package 'verify_multidigest/8fc5d654cebad7725c34bb08b3f60b912db7094a'... Finished (00:00:02) Compiling package 'lunaclient/b922e045db5246ec742f0c4d1496844942d6167a'... Finished (00:00:02) Compiling package 'health_monitor/fd2714251a49b15f5b51a0f28329440303fbdf8c'... Finished (00:01:35) Compiling package 'postgres/3b1089109c074984577a0bac1b38018d7a2890ef'... Finished (00:04:12) Compiling package 'postgres-9.4/ded764a075ae7513d4718b7cf200642fdbf81ae4'... Finished (00:04:56) Compiling package 'powerdns/7e06981d3adfda288c7056dac2da293a1597909e'... Finished (00:00:02) Compiling package 'dsm-client/2dd1bab877ef2c1c3ea1919c357c3824e2b4baf8'... Finished (00:00:01) Compiling package 'uaa_utils/20557445bf996af17995a5f13bf5f87000600f2e'... Skipped [Package already compiled] (00:00:00) Updating instance 'bosh/0'... Finished (00:02:39) Waiting for instance 'bosh/0' to be running... Finished (00:02:18) Running the post-start scripts 'bosh/0'... Finished (00:00:03) Finished deploying (00:27:21)

Stopping registry... Finished (00:00:00) Cleaning up rendered CPI jobs... Finished (00:00:00)

Succeeded Warning: The targeted TLS certificate has not been verified for this connection. Setting the target url: https://10.0.1.6:8844 Login Successful CA not found. Please validate your input and retry your request. Type: root Name: default Certificate: -----BEGIN CERTIFICATE----- MIICxzCCAa+gAwIBAgIUAcWmpoHr1gi3KBLnem2VaFLGiGswDQYJKoZIhvcNAQEL BQAwEzERMA8GA1UEAwwIMTAuMC4xLjYwHhcNMTcwMzE0MDIxNDQxWhcNMTgwMzE0 MDIxNDQxWjATMREwDwYDVQQDDAgxMC4wLjEuNjCCASIwDQYJKoZIhvcNAQEBBQAD ggEPADCCAQoCggEBAMxnBlMg1FZPkJIGukJ2h2GVJVBUeFrym65QG3IGFlp5nfwJ U2vajym/1s3NsHnzwAC0I4kneJGHLisKeyGEyCntxaXLUrOGHaXLvv56+Qf//PR0 lD3m0qheCyMGv5XKKI4OvJlAEr5SRqxdnht0u0FZJPzENnPsjl4nH129JFV3fxW6 TnaeEl2MuXg+FtyiKZbdI/fZ2DkJI6/jFgP96OFd7qMmRYoLlAbHEM/WjDc6A9HG 4xL+GV+wcCkOIK+QPN09f+643OdSCIpxS9vCqVvdLjfsZOAbt0V1bzsDzoMe5W0Z h4ESl6RRew0/ahiJogLrQr+XxpHEw7nnDoc8dPECAwEAAaMTMBEwDwYDVR0TAQH/ BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAWpaT3LBCqDbTSeiMteCPP3zBLO4r 3MkYBSm5uyMSg7TgYYYwpDscOW9yCD5mVzFCxSL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qxsd+LTwIy4pSHORPVi kBIJCnQHfcs8LuZxZpBIQwg/do9Npb89xfvQNai0+bQ+Dm0uNP36NPy7qyYdMeia v4y1D0zkcQFav5W3CNGVcpicd6E2Ml1i3qii7K0HlldP0T46Zkyoc8KlAoGBANNU xxqT2g08XDS50bJHuMOME84CztapGe8mmrRftcP3LQVfHpmQpVJPuX1dxjYjqkpb PX28vfbBniXiS4ba+uG8D91MVdMnkb7nlthT5uqpIK80oTvQFamuOakM4jjT/90I cdEQJlTDc+14NQ8YBWjmk2CaXegwTBM1RJPwopNdAoGBAJb9JZeLO3cG9AZvdHqb ySZSgPR8CZDwCwvR6RlsvxIQ1sHSosJwJCKbWMCAgPkZ7g+gP0bkidvRt16TnusL pFt2EAKcuVhsLyfs8Wue1Aj599f6HaEWHJCVKItfEnoc+I83Wi1T0Nm3MEwiXHwN +nEjSOgKpGcByTsFKbS9VDnxAoGAJqw391QhLhTipr9ucVqQpDBJG4UGBuBRH6OH 4gQ1xhPAiGAcwGto5YQzZI65jATAz/ScbxsQBEzwPOyJd7cw/AgnOw8SEZ8HG9FT mGjaNA0ZLxbJfqGYpUF9ycLSzyV0iCVYdrKm4RIXb9h0lTuHGehABgiZsLjN4yH3 V79McP0CgYAafkvAhLDPHK2wy4/Sa1/+AG15g2VZJyOhjFNo4SFQnMjMIuP2PdRA +gLniPJFIfG+qdeY4DMZpeOdo1V/PxO4cyB0GS1puHCYNfCdwi4utkzhABkODIs2 TINpDiXpp1WVhJ6fiS7OBnpQLOZN0YE4pYsuhJCaB4CB8cG19bIAvg== -----END RSA PRIVATE KEY-----

Updated: 2017-03-14T02:14:41Z Using environment '10.0.1.6' as client 'bosh_admin'

Name kube
UUID 3fd1a749-35d8-4d2d-90b0-19098dfdeaa4
Version 261.2.0 (00000000)
CPI google_cpi
Features compiled_package_cache: disabled
config_server: enabled
dns: enabled
snapshots: disabled
User bosh_admin

Succeeded ~/kubo-deployment ashafer@bosh-bastion:~/kubo-deployment$ bin/set_kubeconfig ${state_dir} kube Credential not found. Please validate your input and retry your request. Expected to find a map at path '/ca' but found '' Exit code 1

cf-gitbot commented 7 years ago

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

jhvhs commented 7 years ago

Hi @littleidea, You have only deployed part of the product, namely the KuBOSH orchestration server. It is responsible for deployment and monitoring of kubernetes clusters. In order to deploy a cluster, you have to run the bin/deploy_k8s script. Please see the installation guide for more details.