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

Unsupported parameter 'key_usage' #381

Open leolzbing521 opened 5 years ago

leolzbing521 commented 5 years ago

What happened:

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment: in virtalbox bosh -e vbox deploy -d cfcr manifests/cfcr.yml -o manifests/ops-files/iaas/virtualbox/bosh-lite.yml --vars-store cf-vars.yml Using environment '192.168.50.6' as client 'admin'

Using deployment 'cfcr'

Evaluating manifest: Getting all variables from variable definitions sections: Generating variable 'tls-kube-controller-manager': Failed to generate certificate, parameters are invalid: Unsupported parameter 'key_usage'

Exit code 1

zankich commented 5 years ago

@leolzbing521 which version of BOSH director and BOSH cli are you using?

leolzbing521 commented 5 years ago

bosh -e vbox env Using environment '192.168.50.6' as client 'admin Name Bosh Lite Director
UUID 8a607823-a8ac-4ae7-95e0-c2598dc37f60
Version 268.6.0 (00000000)
Director Stemcell ubuntu-xenial/250.9

bosh -e vbox -v version 5.4.0-891ff634-2018-11-14T00:22:02Z

justinkoreska commented 5 years ago

I'm seeing the same thing, only when using --vars-store.

> bosh -v
version 5.5.1-7850ac98-2019-05-21T22:28:39Z

Succeeded
> bosh env
Using environment 'https://10.162.0.2:25555' as client 'admin'

Name               platform  
UUID               1ed47b27-69ee-4b2c-b3d0-b5813ede840c  
Version            270.3.0 (00000000)  
Director Stemcell  ubuntu-xenial/315.70  
CPI                google_cpi  
Features           compiled_package_cache: disabled  
                   config_server: enabled  
                   local_dns: enabled  
                   power_dns: disabled  
                   snapshots: disabled  
User               admin  

Succeeded
> git -C kubo-deployment log -1
commit 5b4d3b42b0c5c51fe74d5ed7962981d0ec715960 (HEAD -> master, tag: v0.34.0, origin/master, origin/HEAD)
Author: cfcr <cfcr@pivotal.io>
Date:   Fri Jun 21 18:19:48 2019 +0000

    Final release for v0.34.0
> credhub curl -p version
{
  "version": "2.5.0"
}