enaml-ops / omg-product-bundle

a bundle of supported omg compatible product plugins
Apache License 2.0
2 stars 2 forks source link

[cloudfoundry-plugin-linux] --infer-from-cloud requires valut, i mean vault? #2

Closed dwallraff closed 8 years ago

dwallraff commented 8 years ago

Just messing around with omg and the cloudfoundry plugin, saw the --infer-from-cloud flag and thought I'd see what all it could get. Looks like the cloudfoundry plugin is looking for valut, i mean vault though?

bosh@dwallraff-bosh-bastion:~$ ./omg deploy-product --bosh-url https://10.0.0.4 --bosh-port 25555 --bosh-user admin --bosh-pass admin --ssl-ignore --print-manifest cloudfoundry-plugin-linux --infer-from-cloud

...

2016/07/27 20:35:36 [DEBUG] plugin: starting plugin: .plugins/product/cloudfoundry-plugin-linux []string{".plugins/product/cloudfoundry-plugin-linux", "plugin"}
2016/07/27 20:35:36 [DEBUG] plugin: waiting for RPC address for: .plugins/product/cloudfoundry-plugin-linux
2016/07/27 20:35:36 [DEBUG] plugin: cloudfoundry-plugin-linux: 2016/07/27 20:35:36 [DEBUG] plugin: plugin address: unix /tmp/plugin610506441
2016/07/27 20:35:36 calling rpc client getcloudconfig
2016/07/27 20:35:36 [DEBUG] plugin: cloudfoundry-plugin-linux: 2016/07/27 20:35:36 D0727 20:35:36.509707 14479 plugin.go:408] complete vault flagset not found: active:  true domain:   passhash:   keycerthash:   iphash:   hosthash:   vaulttoken:
2016/07/27 20:35:36 [DEBUG] plugin: cloudfoundry-plugin-linux: 2016/07/27 20:35:36 C0727 20:35:36.509861 14479 plugin.go:411] you've activated vault, but have not provided a complete set of values... exiting program now
2016/07/27 20:35:36 [DEBUG] plugin: cloudfoundry-plugin-linux: panic: you've activated vault, but have not provided a complete set of values... exiting program now
xchapter7x commented 8 years ago

this is a separate issue and is actually by design. there is a flag --vault-active which is set to true by default. if you do not want to not use vault simply pass --vault-active=false