Re: bosh cf-deploy on openstack


Russell Blue
 

Yes,
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

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.