Date
1 - 15 of 15
bosh cf-deploy on openstack
Russell Blue
Hi
We have installed bosh director on openstack. When we execute the "Bosh cf deploy" command, about 16 VM successfully create only 12 cases and give the following errors for 4 VM. scheduler, router, tcp-router, smoke-test Error: CPI error 'Bosh::Clouds::CloudError' with message 'OpenStack API service not found error: Expected(200) <=> Actual(404 Not Found) excon.error.response :body => "{\"NeutronError\": {\"message\": \"The resource could not be found.\", \"type\": \"HTTPNotFound\", \"detail\": \"\"}}" please help me |
|
Johannes Hiemer <jvhiemer@...>
Russel could you show a list of enabled OpenStack Services? On Sat, 27 Jan 2018 at 11:44 Russell Blue via Lists.Cloudfoundry.Org <bluerussell20=yahoo.com@...> wrote: Hi |
|
Russell Blue
openstack service list
toggle quoted message
Show quoted text
+----------------------------------+-----------+-----------+ | ID | Name | Type | +----------------------------------+-----------+-----------+ | 0a731f75d7d74ceb8ccddde1fc17b2b7 | neutron | network | | 188caf0540fd4abea334978b2da72fab | cinderv2 | volumev2 | | 1c4508a20e5c40dc82e13c9759778dfa | placement | placement | | 5bf33974325f4aec9be81bc81c2c48a7 | nova | compute | | 94df4a29ebbb4d33bd8587e0df8210e8 | glance | image | | a961ec23bf1f435e874708895046b65d | keystone | identity | | dae8744224e74713a4e1f9068dd83b86 | cinderv3 | volumev3 | +----------------------------------+-----------+-----------+ openstack endpoint list +----------------------------------+-----------+--------------+--------------+---------+-----------+-------------------------------------------+ | ID | Region | Service Name | Service Type | Enabled | Interface | URL | +----------------------------------+-----------+--------------+--------------+---------+-----------+-------------------------------------------+ | 074d68784e3741ed86ec6a0797cec136 | RegionOne | neutron | network | True | public | http://pcontroller:9696 | | 171b137389924094ba489f10d1068686 | RegionOne | keystone | identity | True | public | http://pcontroller:5000/v3/ | | 1c87d95e7c3e43b3980be4c61e433cef | RegionOne | placement | placement | True | public | http://pcontroller:8778 | | 1dd5c43918c74bc19403da1253edae2e | RegionOne | neutron | network | True | internal | http://controller:9696 | | 26f34f4a7ef2405696048d4334b0eb47 | RegionOne | placement | placement | True | admin | http://controller:8778 | | 2cd6fc1d51f64de08762f6963fdc52c9 | RegionOne | cinderv2 | volumev2 | True | public | http://pcontroller:8776/v2/%(project_id)s | | 317c83c72a6d4fff8987cdcf937ed0be | RegionOne | glance | image | True | public | http://pcontroller:9292 | | 33d0112e35bd48568076414778843513 | RegionOne | cinderv2 | volumev2 | True | internal | http://controller:8776/v2/%(project_id)s | | 39ee92383f1e41aea094c158cc867f11 | RegionOne | keystone | identity | True | admin | http://controller:35357/v3/ | | 4594021a73cd44bd860761a5b8efbe25 | RegionOne | neutron | network | True | admin | http://controller:9696 | | 5756bc8cd18c4625ab55ef8dec07eb51 | RegionOne | glance | image | True | admin | http://controller:9292 | | 5bba611493eb4a21813b4bd015e24f1d | RegionOne | nova | compute | True | admin | http://controller:8774/v2.1 | | 60bf3c91fb1c4ae0a95494dfcd0caaed | RegionOne | placement | placement | True | internal | http://controller:8778 | | 60ec9621be844715a9a57ecb2064a0ff | RegionOne | keystone | identity | True | internal | http://controller:5000/v3/ | | 66d0acf9937f45a7b3b3397356b57f82 | RegionOne | cinderv3 | volumev3 | True | internal | http://controller:8776/v3/%(project_id)s | | a18372bafdef4a408e07c81c55063086 | RegionOne | nova | compute | True | public | http://pcontroller:8774/v2.1 | | bc1c2742fd1e4428bcae891c38af3dc3 | RegionOne | cinderv2 | volumev2 | True | admin | http://controller:8776/v2/%(project_id)s | | c67f45bf015340cc8d76a3791f64383b | RegionOne | cinderv3 | volumev3 | True | public | http://pcontroller:8776/v3/%(project_id)s | | f199f182681a486ca1453cb84d8eede4 | RegionOne | cinderv3 | volumev3 | True | admin | http://controller:8776/v3/%(project_id)s | | f2f3241a8c7743a8ad073188fe93c8ec | RegionOne | nova | compute | True | internal | http://controller:8774/v2.1 | | f44741973a674bb6b12539bd26b49bc1 | RegionOne | glance | image | True | internal | http://controller:9292 | +----------------------------------+-----------+--------------+--------------+---------+-----------+---------------------------- -------------------------------------------- On Sat, 1/27/18, Johannes Hiemer <jvhiemer@...> wrote:
Subject: Re: [cf-dev] bosh cf-deploy on openstack To: cf-dev@... Date: Saturday, January 27, 2018, 2:16 PM Russel could you show a list of enabled OpenStack Services? On Sat, 27 Jan 2018 at 11:44 Russell Blue via Lists.Cloudfoundry.Org <bluerussell20=yahoo.com@...> wrote: Hi We have installed bosh director on openstack. When we execute the "Bosh cf deploy" command, about 16 VM successfully create only 12 cases and give the following errors for 4 VM. scheduler, router, tcp-router, smoke-test Error: CPI error 'Bosh::Clouds::CloudError' with message 'OpenStack API service not found error: Expected(200) <=> Actual(404 Not Found) excon.error.response :body => "{\"NeutronError\": {\"message\": \"The resource could not be found.\", \"type\": \"HTTPNotFound\", \"detail\": \"\"}}" please help me |
|
Johannes Hiemer <jvhiemer@...>
That looks good. And you are able to reach neutron or does it give you a 404? Could you please provide the full logs of the deployment. On Sat, 27 Jan 2018 at 12:05 Russell Blue via Lists.Cloudfoundry.Org <bluerussell20=yahoo.com@...> wrote: openstack service list |
|
Russell Blue
Yes,
toggle quoted message
Show quoted text
The following command is "bosh director vm" and it does not cause an error with the network. bosh/0:~$ sudo curl http://pcontroller:9696 {"versions": [{"status": "CURRENT", "id": "v2.0", "links": [{"href": "http://pcontroller:9696/v2.0/", "rel": "self"}]}]}bosh/0:~$ bosh -e bosh-1 -d cf deploy cf-deployment/cf-deployment.yml -o cf-deployment/operations/use-compiled-releases.yml -o cf-deployment/operations/openstack.yml --vars-store /root/bosh-1/certs.yml -v system_domain=pcontroller Error: CPI error 'Bosh::Clouds::CloudError' with message 'OpenStack API service not found error: Expected(200) <=> Actual(404 Not Found) excon.error.response :body => "{\"NeutronError\": {\"message\": \"The resource could not be found.\", \"type\": \"HTTPNotFound\", \"detail\": \"\"}}" :cookies => [ ] :headers => { "Content-Length" => "103" "Content-Type" => "application/json" "Date" => "Sun, 21 Jan 2018 11:54:32 GMT" "X-Openstack-Request-Id" => "req-3a991a30-ee7a-4857-aa1a-94c83a73128b" } :host => "pcontroller" :local_address => "10.0.0.6" :local_port => 57048 :path => "/v2.0/lbaas/pools" :port => 9696 :reason_phrase => "Not Found" :remote_ip => "172.101.23.200" :status => 404 :status_line => "HTTP/1.1 404 Not Found\r\n" Check task debug log for details.' in 'create_vm' CPI method In the file included in the email, The error timing has been resolved. Only the network error has not been resolved. -------------------------------------------- On Sat, 1/27/18, Johannes Hiemer <jvhiemer@...> wrote:
Subject: Re: [cf-dev] bosh cf-deploy on openstack To: cf-dev@... Date: Saturday, January 27, 2018, 2:43 PM That looks good. And you are able to reach neutron or does it give you a 404? Could you please provide the full logs of the deployment. On Sat, 27 Jan 2018 at 12:05 Russell Blue via Lists.Cloudfoundry.Org <bluerussell20=yahoo.com@...> wrote: openstack service list +----------------------------------+-----------+-----------+ | ID | Name | Type | +----------------------------------+-----------+-----------+ | 0a731f75d7d74ceb8ccddde1fc17b2b7 | neutron | network | | 188caf0540fd4abea334978b2da72fab | cinderv2 | volumev2 | | 1c4508a20e5c40dc82e13c9759778dfa | placement | placement | | 5bf33974325f4aec9be81bc81c2c48a7 | nova | compute | | 94df4a29ebbb4d33bd8587e0df8210e8 | glance | image | | a961ec23bf1f435e874708895046b65d | keystone | identity | | dae8744224e74713a4e1f9068dd83b86 | cinderv3 | volumev3 | +----------------------------------+-----------+-----------+ openstack endpoint list +----------------------------------+-----------+--------------+--------------+---------+-----------+-------------------------------------------+ | ID | Region | Service Name | Service Type | Enabled | Interface | URL | +----------------------------------+-----------+--------------+--------------+---------+-----------+-------------------------------------------+ | 074d68784e3741ed86ec6a0797cec136 | RegionOne | neutron | network | True | public | http://pcontroller:9696 | | 171b137389924094ba489f10d1068686 | RegionOne | keystone | identity | True | public | http://pcontroller:5000/v3/ | | 1c87d95e7c3e43b3980be4c61e433cef | RegionOne | placement | placement | True | public | http://pcontroller:8778 | | 1dd5c43918c74bc19403da1253edae2e | RegionOne | neutron | network | True | internal | http://controller:9696 | | 26f34f4a7ef2405696048d4334b0eb47 | RegionOne | placement | placement | True | admin | http://controller:8778 | | 2cd6fc1d51f64de08762f6963fdc52c9 | RegionOne | cinderv2 | volumev2 | True | public | http://pcontroller:8776/v2/%(project_id)s | | 317c83c72a6d4fff8987cdcf937ed0be | RegionOne | glance | image | True | public | http://pcontroller:9292 | | 33d0112e35bd48568076414778843513 | RegionOne | cinderv2 | volumev2 | True | internal | http://controller:8776/v2/%(project_id)s | | 39ee92383f1e41aea094c158cc867f11 | RegionOne | keystone | identity | True | admin | http://controller:35357/v3/ | | 4594021a73cd44bd860761a5b8efbe25 | RegionOne | neutron | network | True | admin | http://controller:9696 | | 5756bc8cd18c4625ab55ef8dec07eb51 | RegionOne | glance | image | True | admin | http://controller:9292 | | 5bba611493eb4a21813b4bd015e24f1d | RegionOne | nova | compute | True | admin | http://controller:8774/v2.1 | | 60bf3c91fb1c4ae0a95494dfcd0caaed | RegionOne | placement | placement | True | internal | http://controller:8778 | | 60ec9621be844715a9a57ecb2064a0ff | RegionOne | keystone | identity | True | internal | http://controller:5000/v3/ | | 66d0acf9937f45a7b3b3397356b57f82 | RegionOne | cinderv3 | volumev3 | True | internal | http://controller:8776/v3/%(project_id)s | | a18372bafdef4a408e07c81c55063086 | RegionOne | nova | compute | True | public | http://pcontroller:8774/v2.1 | | bc1c2742fd1e4428bcae891c38af3dc3 | RegionOne | cinderv2 | volumev2 | True | admin | http://controller:8776/v2/%(project_id)s | | c67f45bf015340cc8d76a3791f64383b | RegionOne | cinderv3 | volumev3 | True | public | http://pcontroller:8776/v3/%(project_id)s | | f199f182681a486ca1453cb84d8eede4 | RegionOne | cinderv3 | volumev3 | True | admin | http://controller:8776/v3/%(project_id)s | | f2f3241a8c7743a8ad073188fe93c8ec | RegionOne | nova | compute | True | internal | http://controller:8774/v2.1 | | f44741973a674bb6b12539bd26b49bc1 | RegionOne | glance | image | True | internal | http://controller:9292 | +----------------------------------+-----------+--------------+--------------+---------+-----------+---------------------------- -------------------------------------------- On Sat, 1/27/18, Johannes Hiemer <jvhiemer@...> wrote: Subject: Re: [cf-dev] bosh cf-deploy on openstack To: cf-dev@... Date: Saturday, January 27, 2018, 2:16 PM Russel could you show a list of enabled OpenStack Services? On Sat, 27 Jan 2018 at 11:44 Russell Blue via Lists.Cloudfoundry.Org <bluerussell20=yahoo.com@...> wrote: Hi We have installed bosh director on openstack. When we execute the "Bosh cf deploy" command, about 16 VM successfully create only 12 cases and give the following errors for 4 VM. scheduler, router, tcp-router, smoke-test Error: CPI error 'Bosh::Clouds::CloudError' with message 'OpenStack API service not found error: Expected(200) <=> Actual(404 Not Found) excon.error.response :body => "{\"NeutronError\": {\"message\": \"The resource could not be found.\", \"type\": \"HTTPNotFound\", \"detail\": \"\"}}" please help me |
|
Prashant Ghorpade
Seems vm extension related issue. If not configured in your environmental then remove it .
On 27-Jan-2018 5:15 PM, "Russell Blue via Lists.Cloudfoundry.Org" <bluerussell20=yahoo.com@...> wrote:
|
|
Graham Land <info@...>
From the json in the message body it appears to be an issue with OpenStack's LBaaS service. This service has had many changes in the lifetime of OpenStack from V1 to V2 to the Octavia project. See https://docs.openstack.org/mitaka/networking-guide/config-lbaas.html What version of the OpenStack LbaaS service is Bosh expecting? And what version are you deploying onto? Kind regards, Graham On 27 Jan 2018 10:44 am, "Russell Blue via Lists.Cloudfoundry.Org" <bluerussell20=yahoo.com@...> wrote: Hi |
|
Russell Blue
Version of openstack is Pike. I have not used LBaaS. Do you need to install it??
toggle quoted message
Show quoted text
-------------------------------------------- On Sat, 1/27/18, Graham Land <info@...> wrote:
Subject: Re: [cf-dev] bosh cf-deploy on openstack To: cf-dev@... Date: Saturday, January 27, 2018, 4:50 PM From the json in the message body it appears to be an issue with OpenStack's LBaaS service. This service has had many changes in the lifetime of OpenStack from V1 to V2 to the Octavia project. See https://docs.openstack.org/mitaka/networking-guide/config-lbaas.html What version of the OpenStack LbaaS service is Bosh expecting? And what version are you deploying onto? Kind regards,Graham On 27 Jan 2018 10:44 am, "Russell Blue via Lists.Cloudfoundry.Org" <bluerussell20=yahoo.com@...> wrote: Hi We have installed bosh director on openstack. When we execute the "Bosh cf deploy" command, about 16 VM successfully create only 12 cases and give the following errors for 4 VM. scheduler, router, tcp-router, smoke-test Error: CPI error 'Bosh::Clouds::CloudError' with message 'OpenStack API service not found error: Expected(200) <=> Actual(404 Not Found) excon.error.response :body => "{\"NeutronError\": {\"message\": \"The resource could not be found.\", \"type\": \"HTTPNotFound\", \"detail\": \"\"}}" please help me |
|
Russell Blue
In the file of cloud-config.yml , I commented on LBaaS part. Error creating four virtual machines (router,tcp-router, schedular, smoke-test) solved.
toggle quoted message
Show quoted text
Very Thanks -------------------------------------------- On Sat, 1/27/18, Graham Land <info@...> wrote:
Subject: Re: [cf-dev] bosh cf-deploy on openstack To: cf-dev@... Date: Saturday, January 27, 2018, 4:50 PM From the json in the message body it appears to be an issue with OpenStack's LBaaS service. This service has had many changes in the lifetime of OpenStack from V1 to V2 to the Octavia project. See https://docs.openstack.org/mitaka/networking-guide/config-lbaas.html What version of the OpenStack LbaaS service is Bosh expecting? And what version are you deploying onto? Kind regards,Graham On 27 Jan 2018 10:44 am, "Russell Blue via Lists.Cloudfoundry.Org" <bluerussell20=yahoo.com@...> wrote: Hi We have installed bosh director on openstack. When we execute the "Bosh cf deploy" command, about 16 VM successfully create only 12 cases and give the following errors for 4 VM. scheduler, router, tcp-router, smoke-test Error: CPI error 'Bosh::Clouds::CloudError' with message 'OpenStack API service not found error: Expected(200) <=> Actual(404 Not Found) excon.error.response :body => "{\"NeutronError\": {\"message\": \"The resource could not be found.\", \"type\": \"HTTPNotFound\", \"detail\": \"\"}}" please help me |
|
Graham Land <info@...>
The attached guide shows you how to enable and verify the LBaaS service in OpenStack Pike - https://docs.openstack.org/neutron/pike/admin/config-lbaas.html It is indeed possible to install OpenStack without enabling the LBaaS service. Kind regards, Graham Land On 28 Jan 2018 6:00 am, "Russell Blue via Lists.Cloudfoundry.Org" <bluerussell20=yahoo.com@...> wrote: Version of openstack is Pike. I have not used LBaaS. Do you need to install it?? |
|
ahmad.abed@...
Russell,
can you provide cloud-config.yml after removing lbaas config parts ? Regards, |
|
Russell Blue
Error creating four virtual machines has been fixed.
toggle quoted message
Show quoted text
(router, tcp-router, scheduler and smoke-test) -------------------------------------------- On Mon, 1/29/18, <ahmad.abed@...> wrote:
Subject: Re: [cf-dev] bosh cf-deploy on openstack To: cf-dev@... Date: Monday, January 29, 2018, 4:38 PM Russell, can you provide cloud-config.yml after removing lbaas config parts ? Regards, |
|
Russell Blue
Hi,
I created cloud foundry with the following virtual machines. What is the problem with api the virtual machine? bosh -e bosh-1 vms Instance Process State AZ IPs VM CID VM Type adapter/018b9e7f-698f-4417-a33b-5f8351c61cda running api/b6ec5273-f586-4279-b2df-7f843efe4f92 stopped cc-worker/0111a82d-f7e4-4870-a90a-a6b399b150f7 running consul/691ee9ca-b869-44a1-b2cc-6a509ddcca63 running database/149b717d-a836-42e2-91ea-d35a7366bf08 running diego-api/1e494667-7946-446e-aeb3-cc5393ca8281 running diego-cell/a28fbba0-d469-46f1-b4f6-c43b0aee0ced running doppler/67ec24fe-7449-4881-bf5f-4a254f5385e5 running log-api/eaea64ed-b33a-4ceb-bcc7-d292bfe4a900 running nats/5a0e69f1-860f-42c8-9296-d3f143264b3b running router/d390d148-ce2b-42b5-b8ed-4b2c4f203d03 running scheduler/8befb5c8-38bb-4440-b469-5edd0b25b936 running singleton-blobstore/78e5fce4-1012-4f0a-ab6b-92a23036514b running tcp-router/15e444d3-73d8-43fb-a1ae-c30da4d5a2b9 running uaa/0cb6927f-42fd-4351-9f30-3a2f074abf52 running Best Regards |
|
Johannes Hiemer <jvhiemer@...>
SSH into the virtual machine via bosh ssh -d cf api and do a sudo su, then monitor summary. If something there is failing, please provide the logs from /var/vcap/sys/log/ComponentThatIsFailingInMonitOverview On Tue, 30 Jan 2018 at 11:46 Russell Blue via Lists.Cloudfoundry.Org <bluerussell20=yahoo.com@...> wrote: Hi, |
|
Chris L
Did you ever get this resolved? I am trying to deploy cloudfoundry on a vanilla openstack wallaby cloud and am getting an error that looks the same as yours. I am using Octavia (and need to, disabling isnt an option). I see this same on deploy of the same VM's, I get about 8/9 VM's out of 12 or so attempting to be created with the rest printing this error.
|
|