Error with bosh director deployment


Adrian Monter
 

Hi everyone,

I have the same error "Missing key"
You could correct it?

creating stemcell (bosh-openstack-kvm-ubuntu-trusty-go_agent 3421.9):
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}

Thanks


Adrian Monter
 

Hi Arpit,
Could you tell me what change you made in the file? i have the same problem

Thanks.


Arpit Sharma
 

Hi Adrian,

I have removed these parameter from file

-v openstack_domain=Default
-v openstack_project=admin

instead of these you need to enter tenant. As these are not available in keystone V2.


Arpit Sharma
 

Hi Adrian,

I have removed these parameter from file

-v openstack_domain=Default
-v openstack_project=admin

instead of these you need to enter tenant. As these are not available in keystone V2.


Gw .
 

hi ,

I tried with the above ( added -v tenant=mytenantname) , but I still get the following error :
creating stemcell (bosh-openstack-kvm-ubuntu-trusty-go_agent 3421.9):
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}

If i exclude -v openstack_project it says
- Expected to find variables:
- openstack_project
Any suggestions ?


Arpit Sharma
 

Hi All,

Check your command according to this. Replace values according to your environment.




bosh create-env bosh-deployment/bosh.yml \
--state=state.json \
--vars-store=creds.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.7 \
-v auth_url=http://10.100.10.151:5000/v2.0 \
-v az=nova \
-v default_key_name=mykey \
-v default_security_groups=[default] \
-v net_id=54093c23-1a21-4e1c-ab3d-88a70986bf38 \
-v openstack_password=4b61a9e4bcc64b5d \
-v openstack_username=admin \
-v openstack_domain=Default \
-v openstack_project=admin \
-v private_key=/root/.ssh/privroot_rsa \
-v region=RegionOne