cloudfoundry - error deploying CF on Openstack using bosh : "SecurityGroupNotFound\" -


i trying deploy cf on openstack using bosh . following documentation https://bosh.io/docs/init-openstack.html

when execute :

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=172.10.0.0/24 \ -v internal_gw=172.10.0.1 \ -v internal_ip=172.10.0.6 \ -v auth_url=https://mycontrollerip:5000/v2.0 \ -v az=test \ -v default_key_name=mykeypairname \ -v default_security_groups=[bosh,cf] \ -v net_id=3a374103-4b4a-49aa-b2e7-d113cb6939c3 \ -v openstack_password=mypassword \ -v openstack_username=myusername \ -v openstack_project=projectname \ -v private_key=/path/to/mykeypair.pem \ -v region=regionone \ -v openstack_domain=test \ -v tenant=projectname 

i error :

stopping registry... finished (00:00:00) cleaning rendered cpi jobs... finished (00:00:00) deploying:   creating instance 'bosh/0':     creating vm:       creating vm stemcell cid 'a8833ec1-7b3c-4904-a522-329ab1233302':         cpi 'create_vm' method responded error:         cmderror{"type":"bosh::clouds::clouderror","message":"openstack         api service not found error: expected([201]) \u003c=\u003e         actual(404 not found)\nexcon.error.response\n  :body         =\u003e \"{\\\"neutronerror\\\": {\\\"message\\\":         \\\"security group 0ccd1f3f-a064-49d7-899a-1ea450c518fa         not exist\\\", \\\"type\\\":         \\\"securitygroupnotfound\\\", \\\"detail\\\":         \\\"\\\"}}\"\n  :cookies       =\u003e [\n  ]\n  :headers         =\u003e {\n    \"content-length\"         =\u003e         \"146\"\n    \"content-type\"           =\u003e         \"application/json; charset=utf-8\"\n    \"date\"         =\u003e \"sat, 19 aug 2017 13:28:29 gmt\"\n         \"x-openstack-request-id\" =\u003e         \"req-8b903ed9-7c62-4433-b43b-cd784fd0fbeb\"\n  }\n  :host         =\u003e \"controllerip\"\n  :local_address =\u003e         \"172.10.0.15\"\n  :local_port    =\u003e 39862\n  :path         =\u003e \"/v2.0/ports\"\n  :port          =\u003e 9696\n         :reason_phrase =\u003e \"not found\"\n  :remote_ip         =\u003e \"mycontrollerip\"\n  :status        =\u003e 404\n         :status_line   =\u003e \"http/1.1 404 not         found\\r\\n\"\n\ncheck task debug log         details.","ok_to_retry":false} exit code 1 

can me ?

the issue got resolved when renamed security group . looks there security group same name in different tenant , bosh referring other security group's id


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -