Hi guys,
I'm pretty new here and I hope to write in the right place.
First of all, I'm a Cloud Foundry user and currently I'm modifying it. I'm using a single machine installation, obtained via cf_nise_installer.
Now the big jump, install Cloud Foundry on OpenStack with BOSH
I want to share with you my configuration and settings in order to understand better why I get that error. Sorry for the long post.
Server machine:
- 16 CPUs, 64GB ram, 500GB hdd.
- server reachable via external ip
-network interfaces: -br100: ip 10.11.12.1 netmask: 255.255.255.0 Bcast 10.11.12.255
-eth0: access to internet
-virbr0: ip 192.168.122.1 netmask: 255.255.255.0 Bcast 192.168.122.255
I can spawn instances, ping them, ssh them on internal ip (10.11.12.x) and on floating ip range(192.168.x.x) from server (instances are not visible from external net).
So OpenStack should be ok.
I installed microbosh following these steps:
http://ryangrenz.com/blog/2013/06/11/installing-cf-release-onto-openstack-with-bosh/If I check bosh status, this is the output:
Config
/home/guidodavide/.bosh_config
Director
Name firstbosh
Version 1.5.0.pre.1193 (release:31de3413 bosh:31de3413)
User admin
UUID randomUUID
CPI openstack
dns enabled (domain_name: microbosh)
compiled_package_cache disabled
snapshots disabled
Deployment
Manifest /home/guidodavide/cf-open.yml
Release
dev FirstCF/145.1-dev
final cf/145
As you can see BOSH version is 1.5.0.pre.1193
On openstack all Security Groups are set correctly for Cloud Foundry.
Bosh create release WORKED
Bosh upload release WORKED (using Cloud Foundry release candidate branch)
Bosh upload stemcell WORKED (I'm using bosh-stemcell-latest-openstack-kvm-ubuntu.tgz)
Bosh deployment WORKED
But whenever I try to "BOSH DEPLOY" I get some errors.
I'm pretty sure I made some mistakes on the deployment file. I'm using the one provided by Cloud Foundry documentation. I set UUID and ip accordingly (but probably network configuration is wrong)
I need help with that deployment file.
When I try to execute the deploy, this is what happens:
- machine becomes unreachable as the switch's port is submerged by many DHCP requests and it shuts down.
- when I get back to machine BOSH failed deployment with "waiting for agent to get task" or a timeout error.
Attached you have DEBUG log of BOSH deployment task.
I'm pretty sure I there are some errors in BOSH deployment file, I tried to understand how it works, but I couldn't find any help on internet.
I think I'm really close to a working CF on OpenStack, but I don't get how that deployment file has to be set to work on OpenStack.
Any help is really appreciated
bosh-status:
http://pastebin.com/xBfTismedevstack localrc:
http://pastebin.com/iJYuUybe