CPI error 'Bosh::Clouds::CloudError' the requested IP is already allocated' in 'create_vm' CPI method
Ashish Jain
Hi,
I am trying to set up diego on bosh-lite using the following document https://github.com/cloudfoundry/diego-release/tree/develop/examples/bosh-lite . Here is a series of issues I have faced which finally has lead to the error "the requested IP is already allocated' in 'create_vm' CPI method". First error which I hit was 'Error 100: can't alloc thread" and the bosh deployment just hanged finally I had to manually kill this process. As a next step I tried re deploying diego but that hit another set of errors as follows tar/f2ea61c537d8eb8cb2d691ce51e8516b28fa5bb7: CPI error 'Bosh::Clouds::CloudError' with message 'Creating VM with agent ID 'a8b3abd7-6a37-4ac9-b439-e12cb1b9d830': Creating container: the requested IP is already allocated' in 'create_vm' CPI method (00:00:00) Failed compiling packages > apparmor/d2a9bb24b85a144e874e7627a5fefb4e9b8b30f3: CPI error 'Bosh::Clouds::CloudError' with message 'Creating VM with agent ID '1a2f4b8a-28ca-409f-92da-6b5caf2b1875': Creating container: the requested IP is already allocated' in 'create_vm' CPI method (00:00:00) Failed compiling packages > iptables/70cd40ad87371de73d6bdfc34967e94422fc2cc4: CPI error 'Bosh::Clouds::CloudError' with message 'Creating VM with agent ID 'd643d43d-6e93-481a-b11f-48b506f738ab': Creating container: the requested IP is already allocated' in 'create_vm' CPI method (00:00:00) Error 100: CPI error 'Bosh::Clouds::CloudError' with message 'Creating VM with agent ID 'a8b3abd7-6a37-4ac9-b439-e12cb1b9d830': Creating container: the requested IP is already allocated' in 'create_vm' CPI method As a next steps when I list bosh vms I see 3 compilation vms. Suspecting these vms could be the cause of the problem I have been trying to delete these vms. While on the CLI I get a confirmation that the VMs have been deleted, however they are still present when I run bosh vms. Now I have no more steps left and I am stuck with the error "CPI error 'Bosh::Clouds::CloudError' the requested IP is already allocated' in 'create_vm' CPI method" and need advice/help in successfully deploying diego. Regards Hachis
|
|