Search code examples
installationinstanceopenstack

Openstack Error: Message: Exceeded maximum number of retries (Kypo Cyber Range)


I am trying to install kypo cyber range by following its official guide in all-in-one mode of openstack deployment. While creating Base Infrastructure ./create-base.sh, I am getting below error exceeding maximum retries. It successfully built security security groups and networking stack. However head and proxy are generating Errors.

2022-03-30 07:53:00Z [kypo-head-stack]: CREATE_IN_PROGRESS  Stack CREATE started
2022-03-30 07:53:01Z [kypo-head-stack.kypo-head-port]: CREATE_IN_PROGRESS  state changed
2022-03-30 07:53:05Z [kypo-head-stack.kypo-head-port]: CREATE_COMPLETE  state changed
2022-03-30 07:53:08Z [kypo-head-stack.kypo-head]: CREATE_IN_PROGRESS  state changed
2022-03-30 07:53:08Z [kypo-head-stack.kypo-head-floating-ip]: CREATE_IN_PROGRESS  state changed
2022-03-30 07:53:25Z [kypo-head-stack.kypo-head-floating-ip]: CREATE_COMPLETE  state changed
2022-03-30 07:54:41Z [kypo-head-stack.kypo-head]: CREATE_FAILED  ResourceInError: resources.kypo-head: Went to status ERROR due to "Message: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance 20fdda13-f5fa-4378-bf60-c64f0bf52371., Code: 500"
2022-03-30 07:54:41Z [kypo-head-stack.kypo-head]: DELETE_IN_PROGRESS  state changed
2022-03-30 07:54:46Z [kypo-head-stack.kypo-head]: DELETE_COMPLETE  state changed
2022-03-30 07:54:50Z [kypo-head-stack.kypo-head]: CREATE_IN_PROGRESS  state changed
2022-03-30 07:55:28Z [kypo-head-stack.kypo-head]: CREATE_FAILED  ResourceInError: resources.kypo-head: Went to status ERROR due to "Message: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance 130604ae-a7d6-42f4-9010-56524561b4a0., Code: 500"
2022-03-30 07:55:28Z [kypo-head-stack.kypo-head]: DELETE_IN_PROGRESS  state changed
2022-03-30 07:55:35Z [kypo-head-stack.kypo-head]: DELETE_COMPLETE  state changed
2022-03-30 07:55:40Z [kypo-head-stack.kypo-head]: CREATE_IN_PROGRESS  state changed
2022-03-30 07:56:21Z [kypo-head-stack.kypo-head]: CREATE_FAILED  ResourceInError: resources.kypo-head: Went to status ERROR due to "Message: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance ad4be42c-fecb-43bc-881b-b8d6f0e17527., Code: 500"

Stack kypo-head-stack CREATE_FAILED 

2022-03-30 07:59:53Z [kypo-proxy-jump-stack]: CREATE_IN_PROGRESS  Stack CREATE started
2022-03-30 07:59:54Z [kypo-proxy-jump-stack.kypo-proxy-jump-port]: CREATE_IN_PROGRESS  state changed
2022-03-30 08:00:03Z [kypo-proxy-jump-stack.kypo-proxy-jump-port]: CREATE_COMPLETE  state changed
2022-03-30 08:00:03Z [kypo-proxy-jump-stack.kypo-proxy-jump-floating-ip]: CREATE_IN_PROGRESS  state changed
2022-03-30 08:00:05Z [kypo-proxy-jump-stack.kypo-proxy-jump]: CREATE_IN_PROGRESS  state changed
2022-03-30 08:00:15Z [kypo-proxy-jump-stack.kypo-proxy-jump-floating-ip]: CREATE_COMPLETE  state changed
2022-03-30 08:00:48Z [kypo-proxy-jump-stack.kypo-proxy-jump]: CREATE_FAILED  ResourceInError: resources.kypo-proxy-jump: Went to status ERROR due to "Message: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance 8d300d3f-1fdd-430e-b271-57eb5b1cbb8a., Code: 500"
...

Stack kypo-proxy-jump-stack CREATE_FAILED

Solution

  • Further log exploration of nova-compute.log said that libvirt.libvirtError: unsupported configuration: Emulator '/usr/bin/qemu-system-x86_64' does not support virt type 'kvm'. I changed the virt_type to qemu but error some how persisted. The root cause in my problem was I was running VM on VMWare without enabling Virtulize Intel VT-x/EPT which enables nested virtualization.

    I check this box under VM Settings > Processor and the error went away.