Microbosh is not getting deployed on openstack because "waiting for agent" never returns. How can I resolve the issue?

asked 2015-11-18 23:41:00 -0600

Hania gravatar image

I am trying to deploy cloud foundry on openstack using Bosh. While trying to deploy microbosh on Openstack, the VM gets created successfully but then the process "waiting for agent" never returns.

manifest.yml

---
name: microbosh

network:
  type: manual
  vip: 192.168.8.229 # Replace with a floating IP address
  ip: 10.1.0.4 # Replace with an address from the subnet IP address allocation pool of your OpenStack internal network
  cloud_properties:
    net_id: a3380f65-ec96-466e-91c2-7f997e0a65fc # Replace with your OpenStack internal network UUID

resources:
  persistent_disk: 20000
  cloud_properties:
    instance_type: m1.small

cloud:
  plugin: openstack
  properties:
    openstack:
      auth_url: http://192.168.8.102:5000/v2.0 # Replace with your OpenStack Identity API endpoint
      tenant: demo # Replace with OpenStack tenant name
      username: admin # Replace with OpenStack username
      api_key: "3819292" # Replace with your OpenStack password
      default_key_name: sshKey # OpenStack Keypair name
      private_key: cloud.key # Path to OpenStack Keypair private key
      default_security_groups: ["bosh","default"]

apply_spec:
  properties:
    director: {max_threads: 3}
    hm: {resurrector_enabled: true}
    ntp: [0.north-america.pool.ntp.org, 1.north-america.pool.ntp.org]

bosh_micro_deploy.log

    I, [2015-11-19T10:18:46.941904 #3520] [0x735988]  INFO -- : No existing deployments found (will save to /home/hifza/my-micro-deployment/bosh-deployments.yml)
I, [2015-11-19T10:18:46.943278 #3520] [0x735988]  INFO -- : discovering client services ip
I, [2015-11-19T10:18:46.943335 #3520] [0x735988]  INFO -- : ip address not discovered - using default of 192.168.8.229
I, [2015-11-19T10:18:53.096164 #3606] [0x103d990]  INFO -- : No existing deployments found (will save to /home/hifza/my-micro-deployment/bosh-deployments.yml)
I, [2015-11-19T10:19:14.931547 #3606] [0x103d990]  INFO -- : bosh-registry is ready on port 25889
I, [2015-11-19T10:19:50.064732 #3606] [0x103d990]  INFO -- : Loading yaml from /tmp/d20151119-3606-g4wno3/sc-20151119-3606-1e3j5v4/stemcell.MF
I, [2015-11-19T10:19:57.245639 #3606] [create_stemcell(/tmp/d20151119-3606-g4wno3/sc-20151119-3606-1e3j5v4/image...)]  INFO -- : Creating new image...
I, [2015-11-19T10:19:57.245876 #3606] [create_stemcell(/tmp/d20151119-3606-g4wno3/sc-20151119-3606-1e3j5v4/image...)]  INFO -- : Extracting stemcell file to `/tmp/d20151119-3606-g4wno3/d20151119-3606-1vtgzk5'...
I, [2015-11-19T10:21:42.219019 #3606] [create_stemcell(/tmp/d20151119-3606-g4wno3/sc-20151119-3606-1e3j5v4/image...)]  INFO -- : Creating new image `0e0291eb-4805-4ba0-8b81-796cd31e22ec'...
I, [2015-11-19T10:21:42.667893 #3606] [create_stemcell(/tmp/d20151119-3606-g4wno3/sc-20151119-3606-1e3j5v4/image...)]  INFO -- : Image `0e0291eb-4805-4ba0-8b81-796cd31e22ec' is now active, took 0.448757768s
I, [2015-11-19T10:21:43.067496 #3606] [create_vm(bm-39f7e418-b8a3-4f23-a52f-7a10834ca761, ...)]  INFO -- : Creating new server...
I, [2015-11-19T10:21:55.340177 #3606] [create_vm(bm-39f7e418-b8a3-4f23-a52f-7a10834ca761, ...)]  INFO -- : Creating new server `103cf4c6-f8a3-4f53-8d85-d6f78dfbd5d7'...
I, [2015-11-19T10:23:54.281185 #3606] [create_vm(bm-39f7e418-b8a3-4f23-a52f-7a10834ca761, ...)]  INFO -- : Server `103cf4c6-f8a3-4f53-8d85-d6f78dfbd5d7' is now active, took 118.940915169s
I, [2015-11-19T10:23:54.281253 #3606] [create_vm(bm-39f7e418-b8a3-4f23-a52f-7a10834ca761, ...)]  INFO -- : Configuring network for server `103cf4c6-f8a3-4f53-8d85-d6f78dfbd5d7'...
I, [2015-11-19T10:23:54.526921 #3606] [create_vm(bm-39f7e418-b8a3-4f23-a52f-7a10834ca761, ...)]  INFO -- : Associating server `103cf4c6-f8a3-4f53-8d85-d6f78dfbd5d7' with floating IP `192.168.8.229'
I, [2015-11-19T10:23:56.741203 #3606] [create_vm(bm-39f7e418-b8a3-4f23-a52f-7a10834ca761, ...)]  INFO -- : Updating settings for server `103cf4c6-f8a3-4f53-8d85-d6f78dfbd5d7'...
I, [2015-11-19T10:24:01.776557 #3606] [0x103d990]  INFO -- : discovering client services ip
I, [2015-11-19T10:24:02.226417 #3606] [0x103d990]  INFO -- : discovered bosh ip=192.168.8.229
I, [2015-11-19T10:25:19.286500 #3606] [0x103d990]  INFO -- : Starting SSH session for port forwarding to vcap@192.168.8.229...
I, [2015-11-19T10:25:21.189634 #3606] [0x103d990]  INFO -- : Starting SSH session for port forwarding to vcap@192.168.8.229...
I, [2015-11-19T10:25:22.254249 #3606 ...
(more)
edit retag flag offensive close merge delete