Micro bosh deployment setting doesn't work on DHCP based networks on openstack icehouse.

42 views
Skip to first unread message

raunakl...@gmail.com

unread,
Jul 2, 2014, 9:33:33 AM7/2/14
to bosh...@cloudfoundry.org
Hi,

I have been trying to deploy micro_bosh using openstack icehouse and dhcp based networks.
Following is the network section of my micro_bosh.yml file:

                network:
                  type: dynamic
                  cloud_properties:
                   net_id: <dhcp_net_id_from_neutron>

When i execute 

bosh micro deployment micro_bosh

I am getting the following error:

/usr/local/rvm/rubies/ruby-1.9.3-p547/lib/ruby/1.9.1/uri/generic.rb:213:in `initialize': the scheme https does not accept registry part: :25555 (or bad hostname?) (URI::InvalidURIError)

However this error is not seen when i specify an IP address in the network section like this:

                network:
                  type: dynamic
                  ip: x.y.z.f
                  cloud_properties:
                   net_id: <dhcp_net_id_from_neutron>

I am sure that the DHCP address should not require us to specify an IP address.
Can someone help me with what might be going wrong here?

Thanks,
Ronak

dmi...@pivotallabs.com

unread,
Jul 9, 2014, 1:13:22 PM7/9/14
to bosh...@cloudfoundry.org, raunakl...@gmail.com
You are correct that using dynamic networking should not require an ip address since ip address will not be known to you upfront.

It seems that micro at this point does not support dynamic networking for its setup without exposing the VM via a public IP:

               network:
                  type: dynamic
                  vip: <floating ip> # note that it's VIP
                  cloud_properties:
                   net_id: <dhcp_net_id_from_neutron>

We will be rewriting micro deployer to support external CPIs soon and we will mention this request to Greg (our PM).
Reply all
Reply to author
Forward
0 new messages