Cloud Foundry deploy over OpenStack

83 views
Skip to first unread message

jmo...@tecsisa.com

unread,
May 13, 2014, 10:28:12 AM5/13/14
to vcap...@cloudfoundry.org

Hi, I cannot deploy Cloud Foundry v170 (https://gist.github.com/frodenas/e3a8f04c50b29227332a) over OpenStack. I'm getting crazy with this issue so, please any help would be highly appreciated.

When I try bosh deploy, I get this:

$ bosh deploy

Director task 37
Started preparing deployment
Started preparing deployment > Binding deployment. Done (00:00:00)
Started preparing deployment > Binding releases. Done (00:00:00)
Started preparing deployment > Binding existing deployment. Done (00:00:00)
Started preparing deployment > Binding resource pools. Done (00:00:00)
Started preparing deployment > Binding stemcells. Done (00:00:00)
Started preparing deployment > Binding templates. Done (00:00:00)
Started preparing deployment > Binding properties. Done (00:00:00)
Started preparing deployment > Binding unallocated VMs. Done (00:00:00)
Started preparing deployment > Binding instance networks. Done (00:00:00)
Done preparing deployment (00:00:00)

Started preparing package compilation > Finding packages to compile. Done (00:00:00)

Started preparing dns > Binding DNS. Done (00:00:01)

Started creating bound missing vms
Started creating bound missing vms > common/0
Started creating bound missing vms > common/1
Started creating bound missing vms > common/2
Done creating bound missing vms > common/0 (00:00:45)
Started creating bound missing vms > common/3
Done creating bound missing vms > common/2 (00:00:46)
Started creating bound missing vms > common/4
Done creating bound missing vms > common/1 (00:00:46)
Started creating bound missing vms > common/5
Done creating bound missing vms > common/3 (00:00:52)
Started creating bound missing vms > common/6
Done creating bound missing vms > common/5 (00:00:51)
Started creating bound missing vms > common/7
Done creating bound missing vms > common/4 (00:00:57)
Started creating bound missing vms > common/8
Done creating bound missing vms > common/6 (00:00:56)
Started creating bound missing vms > common/9
Done creating bound missing vms > common/7 (00:00:57)
Started creating bound missing vms > common/10
Done creating bound missing vms > common/8 (00:01:01)
Started creating bound missing vms > common/11
Done creating bound missing vms > common/9 (00:00:58)
Started creating bound missing vms > common/12
Done creating bound missing vms > common/10 (00:01:04)
Started creating bound missing vms > common/13
Done creating bound missing vms > common/11 (00:01:17)
Started creating bound missing vms > large/0
Done creating bound missing vms > common/12 (00:01:04)
Started creating bound missing vms > large/1
Done creating bound missing vms > common/13 (00:01:04)
Started creating bound missing vms > large/2. Failed: Bosh::Clouds::VMCreationFailed (00:00:23)
Done creating bound missing vms > large/0 (00:01:17)
Done creating bound missing vms > large/1 (00:01:01)
Failed creating bound missing vms (00:05:36)

Error 100: Bosh::Clouds::VMCreationFailed

Task 37 error

For a more detailed error report, run: bosh task 37 --debug


jmoreno:~/bosh-workspace/deployments$ bosh status
Config
/home/jmoreno/.bosh_config

Director
Name microbosh-openstack
URL https://192.168.0.193:25555
Version 1.2427.0 (release:921db96c bosh:921db96c)
User admin
UUID b0ed628b-5cce-48ec-8ae7-b1035f710605
CPI openstack
dns enabled (domain_name: microbosh)
compiled_package_cache disabled
snapshots disabled

Deployment
Manifest ~/bosh-workspace/deployments/cf/demo.yml

jmoreno:~/bosh-workspace/deployments$

---

jmoreno:~/bosh-workspace/deployments$ bosh vms

Deployment `cf'


Director task 41


Task 41 done


+-----------------+---------+---------------+---------------+

| Job/index       | State   | Resource Pool | IPs           |

+-----------------+---------+---------------+---------------+

| unknown/unknown | running | common        | 10.11.12.10   |

| unknown/unknown | running | common        | 10.11.12.9    |

| unknown/unknown | running | common        | 10.11.12.12   |

| unknown/unknown | running | common        | 10.11.12.13   |

| unknown/unknown | running | common        | 10.11.12.14   |

| unknown/unknown | running | common        | 10.11.12.15   |

| unknown/unknown | running | common        | 10.11.12.16   |

|                 |         |               | 192.168.0.194 |

| unknown/unknown | running | common        | 10.11.12.5    |

| unknown/unknown | running | common        | 10.11.12.7    |

| unknown/unknown | running | common        | 10.11.12.3    |

| unknown/unknown | running | common        | 10.11.12.4    |

| unknown/unknown | running | common        | 10.11.12.8    |

| unknown/unknown | running | common        | 10.11.12.6    |

| unknown/unknown | running | common        | 10.11.12.11   |

| unknown/unknown | running | large         | 10.11.12.17   |

| unknown/unknown | running | large         | 10.11.12.18   |

+-----------------+---------+---------------+---------------+


VMs total: 16


boshtask37.txt
demo.yml

Ferran Rodenas

unread,
May 13, 2014, 10:37:33 AM5/13/14
to vcap...@cloudfoundry.org
Check the OpenStack quota for your tenant to see if you have enough resources. Seems is unable to creare another 'large' vm.

Check also your OpenStack nova logs, unfortunately, the OpenStack API doesn't return any message when the creation process fails. 

- Ferdy


To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.

Dr Nic Williams

unread,
May 13, 2014, 11:32:26 AM5/13/14
to vcap...@cloudfoundry.org
Try the ohboshdoesitfit project to verify if your deployment will fit in OpenStack quotas.

Wayne E. Seguin

unread,
May 13, 2014, 2:07:41 PM5/13/14
to vcap...@cloudfoundry.org

jmo...@tecsisa.com

unread,
May 14, 2014, 2:54:29 AM5/14/14
to vcap...@cloudfoundry.org
Thank you everyone! It was a quota problem.

So glad with your help.
Reply all
Reply to author
Forward
0 new messages