cloudfoundry-community-attic / bosh-bootstrap

From zero to a running micro BOSH in one command line
MIT License
63 stars 46 forks source link

Multiple possible networks found, use a Network ID to be more specific #264

Open snorkmitzumi opened 10 years ago

snorkmitzumi commented 10 years ago

I'm trying to deploy CF using bosh-bootstrap. I get such error when i'm using Prject in Openstack with multiple networks attached (Neutron with GRE segmentation, OpenStack Havana 2013.2.2)

Started deploy micro bosh > Creating VM from a080663e-101d-4612-94f6-ab26834b2baf/home/ubuntu/.rvm/gems/ruby-1.9.3-p545/gems/bosh_openstack_cpi-1.2524.0/lib/cloud/openstack/helpers.rb:20:in cloud_error': OpenStack API Bad Request (Multiple possible networks found, use a Network ID to be more specific.). Check task debug log for details. (Bosh::Clouds::CloudError) from /home/ubuntu/.rvm/gems/ruby-1.9.3-p545/gems/bosh_openstack_cpi-1.2524.0/lib/cloud/openstack/helpers.rb:43:inrescue in with_openstack' from /home/ubuntu/.rvm/gems/ruby-1.9.3-p545/gems/bosh_openstack_cpi-1.2524.0/lib/cloud/openstack/helpers.rb:25:in with_openstack' from /home/ubuntu/.rvm/gems/ruby-1.9.3-p545/gems/bosh_openstack_cpi-1.2524.0/lib/cloud/openstack/cloud.rb:243:inblock in create_vm' from /home/ubuntu/.rvm/gems/ruby-1.9.3-p545/gems/bosh_common-1.2524.0/lib/common/thread_formatter.rb:46:in `with_thread_name'

If i manage to add cloud_properties: net_id: in my micro_bosh.yml then vm starts OK. But if i miss that modification an error will be thrown in console. Is there any way to specify net_id during bosh_bootstrap deploy?

drnic commented 10 years ago

Are you using the latest gem or the latest from master branch? Only master branch has neutron support. Try that if not already trying it; and if there are errors I'd love to help fix them so I can then confidently release it.

Nic

snorkmitzumi commented 10 years ago

I’m using gem provided in gem store. gem list says it’s 0.12.0 version --  Aliaksei Makarevich Sent with Airmail

On May 2, 2014 at 18:59:23, Dr Nic Williams (notifications@github.com) wrote:

Are you using the latest gem or the latest from master branch? Only master branch has neutron support. Try that if not already trying it; and if there are errors I'd love to help fix them so I can then confidently release it.

Nic — Reply to this email directly or view it on GitHub.

drnic commented 10 years ago

Fetch the git project and run from within there - you'll get a new implementation that should hopefully support neutron networks

On Fri, May 2, 2014 at 9:08 AM, snorkmitzumi notifications@github.com wrote:

I’m using gem provided in gem store. gem list says it’s 0.12.0 version --  Aliaksei Makarevich Sent with Airmail On May 2, 2014 at 18:59:23, Dr Nic Williams (notifications@github.com) wrote: Are you using the latest gem or the latest from master branch? Only master branch has neutron support. Try that if not already trying it; and if there are errors I'd love to help fix them so I can then confidently release it. Nic —

Reply to this email directly or view it on GitHub.

Reply to this email directly or view it on GitHub: https://github.com/cloudfoundry-community/bosh-bootstrap/issues/264#issuecomment-42048355

snorkmitzumi commented 10 years ago

ok, i’ll try. thanks --  Aliaksei Makarevich Sent with Airmail

On May 2, 2014 at 20:40:49, Dr Nic Williams (notifications@github.com) wrote:

Fetch the git project and run from within there - you'll get a new implementation that should hopefully support neutron networks

On Fri, May 2, 2014 at 9:08 AM, snorkmitzumi notifications@github.com wrote:

I’m using gem provided in gem store. gem list says it’s 0.12.0 version --  Aliaksei Makarevich Sent with Airmail On May 2, 2014 at 18:59:23, Dr Nic Williams (notifications@github.com) wrote: Are you using the latest gem or the latest from master branch? Only master branch has neutron support. Try that if not already trying it; and if there are errors I'd love to help fix them so I can then confidently release it. Nic —

Reply to this email directly or view it on GitHub.

Reply to this email directly or view it on GitHub: https://github.com/cloudfoundry-community/bosh-bootstrap/issues/264#issuecomment-42048355 — Reply to this email directly or view it on GitHub.