Skip to content

Instantly share code, notes, and snippets.

@jas02
Created June 9, 2017 11:36
Show Gist options
  • Select an option

  • Save jas02/ab9776281cbaade8faad294cbb4767b5 to your computer and use it in GitHub Desktop.

Select an option

Save jas02/ab9776281cbaade8faad294cbb4767b5 to your computer and use it in GitHub Desktop.
bosh create-env bosh-deployment/bosh.yml \
--state=state.json \
--vars-store=creds.yml \
-o bosh-deployment/external-ip-with-registry-not-recommended.yml \
-o bosh-deployment/openstack/cpi.yml \
-v director_name=bosh-1 \
-v internal_cidr=192.168.1.0/24 \
-v internal_gw=192.168.1.1 \
-v internal_ip=192.168.1.6 \
-v auth_url=test \
-v az=test \
-v default_key_name=bosh \
-v default_security_groups=[bosh] \
-v net_id=776e1c6c-77e9-44b4-9d71-7b2781547303 \
-v openstack_password=<OPENSTACK-PASSWORD> \
-v openstack_username=<OPENSTACK-USERNAME> \
-v openstack_domain=default \
-v openstack_project=demo \
-v private_key=test.pem \
-v region=test \
-v external_ip=10.42.40.251
# Error output
creating stemcell (bosh-openstack-kvm-ubuntu-trusty-go_agent 3421.4):
CPI 'create_stemcell' method responded with error: CmdError{"type":"InvalidCall","message":"Arguments are not correct, details: 'Invalid OpenStack cloud properties: #\u003cMembrane::SchemaValidationError: { openstack =\u003e { tenant =\u003e Missing key } }\u003e'","ok_to_retry":false}
Exit code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment