cloudfoundry-community-attic / bosh-bootstrap

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

bosh-bootstrap not assigning VIP / floating ip on openstack #331

Open dmz006 opened 8 years ago

dmz006 commented 8 years ago

I just installed bosh-bootstrap a few hours ago (v0.18.1) and every time I try to run "bosh-bootstrap deploy" it appears to work fine but then always times out waiting for the agent to connect. In looking into it I notice that the bosh instance is created but no floating IP is assigned.

I am running ruby v2.3.0p1.

In looking at the deployments/firstbosh/micro_bosh.yml I see the following network settings: network: type: manual ip: 192.168.0.10 cloud_properties: net_id: ......

What I am not seeing is a vip: setting and the log doesn't show any indication of assigning a floating IP:

bosh-bootstrap deploy Auto-detected infrastructure API credentials at ~/.fog (override with $FOG)

  1. OpenStack (openstack)
  2. Alternate credentials Choose an auto-detected infrastructure: 1

Using provider OpenStack

  1. QCOW2*
  2. RAW Image format to be used: 1

Confirming: Using OpenStack/WDC001 (user: dmz)

  1. dmz-cf-wdc001 (192.168.0.0/24)
  2. dmz-test-wdc001 (192.168.1.0/24) Choose a subnet: 1

Choose IP |192.168.0.10|

Confirming: Using address 192.168.0.10 Reusing security group ssh -> no additional ports opened Reusing security group dns-server -> no additional ports opened Reusing security group bosh -> no additional ports opened Destroying key pair firstbosh... done Acquiring a key pair firstbosh... done

Confirming: Using key pair firstbosh Determining stemcell image/file to use... curl -O 'https://bosh-jenkins-artifacts.s3.amazonaws.com/bosh-stemcell/openstack/bosh-stemcell-3232-openstack-kvm-ubuntu-trusty-go_agent.tgz' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 510M 100 510M 0 0 3653k 0 0:02:23 0:02:23 --:--:-- 3662k my-bosh/deployments/firstbosh/bosh-stemcell-3232-openstack-kvm-ubuntu-trusty-go_agent.tgz bosh micro deployment firstbosh Deployment set to 'my-bosh/deployments/firstbosh/micro_bosh.yml' bosh -n micro deploy --update-if-exists my-bosh/deployments/firstbosh/bosh-stemcell-3232-openstack-kvm-ubuntu-trusty-go_agent.tgz

Verifying stemcell... File exists and readable OK Verifying tarball... Read tarball OK Manifest exists OK Stemcell image file OK Stemcell properties OK

Stemcell info

Name: bosh-openstack-kvm-ubuntu-trusty-go_agent Version: 3232

Started deploy micro bosh Started deploy micro bosh > Unpacking stemcell. Done (00:00:03) Started deploy micro bosh > Uploading stemcell Started deploy micro bosh > Creating VM from f3ccff98-ec1f-4b54-ab4f-2a2a244d6aca. Done (00:01:14) Started deploy micro bosh > Waiting for the agent

then it just times out.

dmz006 commented 8 years ago

I tried deploying it into a vlan based network and it was still timing out. That may be one of my controls and I'll try again but am I missing or doing something wrong here?