bosh icon indicating copy to clipboard operation
bosh copied to clipboard

Some VMs keep failing to boot up in deployment [migrated from cf-release]

Open Amit-PivotalLabs opened this issue 11 years ago • 6 comments

Original issue: https://github.com/cloudfoundry/cf-release/issues/841 Original poster: @yyl8815


Hi there,

I need a favor to help me out from my situation. I am trying to deploy cf-release 200. I have struggled to the step of "bosh -n deploy". However, the deployment always stoped at "start creating bunding VMS". Some post says retry "bosh -n deploy" can fix this. However, i tried with no luck.

The retry does fix some VMs. However, there are still some VMs which just keep failing. error code like below:

 Started creating bound missing vms
  Started creating bound missing vms > small_z1/0
  Started creating bound missing vms > small_z1/1
  Started creating bound missing vms > medium_z1/0
  Started creating bound missing vms > medium_z1/1
  Started creating bound missing vms > medium_z1/2
  Started creating bound missing vms > medium_z1/3
  Started creating bound missing vms > router_z1/0
  Started creating bound missing vms > router_z1/1. Failed: Timed out pinging to a8eecfaf-8254-4b04-a2e8-668cd5e0b3fb after 600 seconds (00:11:08)
   Failed creating bound missing vms > small_z1/1: Timed out pinging to e8f56631-9e35-482c-8829-
b6cb14d6724c after 600 seconds (00:11:08)
   Failed creating bound missing vms > medium_z1/3: Timed out pinging to 65d7ef2e-e594-4941-b3e8-fc85ca729d4e after 600 seconds (00:11:09)

I use vsphere client to check the VMs before they got deleted and got below screen shots:

capture

Amit-PivotalLabs avatar Nov 05 '15 17:11 Amit-PivotalLabs

just to clarify can you login into machine via the console?

Sent from my iPhone

On Nov 5, 2015, at 9:51 AM, Amit Gupta [email protected] wrote:

Original issue: cloudfoundry/cf-release#841 Original poster: @yyl8815

Hi there,

I need a favor to help me out from my situation. I am trying to deploy cf-release 200. I have struggled to the step of "bosh -n deploy". However, the deployment always stoped at "start creating bunding VMS". Some post says retry "bosh -n deploy" can fix this. However, i tried with no luck.

The retry does fix some VMs. However, there are still some VMs which just keep failing. error code like below:

Started creating bound missing vms Started creating bound missing vms > small_z1/0 Started creating bound missing vms > small_z1/1 Started creating bound missing vms > medium_z1/0 Started creating bound missing vms > medium_z1/1 Started creating bound missing vms > medium_z1/2 Started creating bound missing vms > medium_z1/3 Started creating bound missing vms > router_z1/0 Started creating bound missing vms > router_z1/1. Failed: Timed out pinging to a8eecfaf-8254-4b04-a2e8-668cd5e0b3fb after 600 seconds (00:11:08) Failed creating bound missing vms > small_z1/1: Timed out pinging to e8f56631-9e35-482c-8829- b6cb14d6724c after 600 seconds (00:11:08) Failed creating bound missing vms > medium_z1/3: Timed out pinging to 65d7ef2e-e594-4941-b3e8-fc85ca729d4e after 600 seconds (00:11:09) I use vsphere client to check the VMs before they got deleted and got below screen shots:

— Reply to this email directly or view it on GitHub.

cppforlife avatar Nov 05 '15 20:11 cppforlife

For the created VMs, yes, i can.

However, for the failing VMs decribed above, I cannot since it never successfully boot up :)

Thanks

yyl8815 avatar Nov 05 '15 23:11 yyl8815

Interesting. Are the VMs failing to start get scheduled on specific hosts? It's unlikely that it is a problem with stemcell, since some VMs start successfully?

cppforlife avatar Nov 06 '15 17:11 cppforlife

Hi @cppforlife,

Actually all of the VMs locats at the same host.

After I kept retrying "bosh -n deploy", finally all VMs got installed. However, it took me more than one day to create those VMs.

I am using ThinkServer RD650 and ESXi 6.0.0.

The stemcell I am using is trusty, 3098.

yyl8815 avatar Nov 07 '15 01:11 yyl8815

Today, I reboot the stucking VMs via the vsphere client console and each VM can boot up successfully.

However, it is never next to acceptable that a manual reboot of each VM is a must for deploying cloud foundry.

Can anyone help on this?

yyl8815 avatar Nov 07 '15 05:11 yyl8815

Closing for inactivity. If this is still an issue on more recent versions, please feel free to continue the conversation.

mfine30 avatar Aug 07 '18 18:08 mfine30