Symptoms:
root@photon-machine [ ~ ]# osctl get pods | grep compute-0
compute-526e3ee4-c20803-compute-0 1/2 CrashLoopBackOff 84 2d12h
++ jq -r --arg host compute-526e3ee4-c20856 -c ‘(.[] | select(.Binary == “nova-compute”) | select(.Host==$host)).State’
Unable to establish connection to https://172.17.241.100:8774/v2.1/ca050e82e9a84b319926d970006a02dc/os-services: HTTPSConnectionPool(host=‘172.17.241.100’, port=8774): Max retries exceeded with url: /v2.1/ca050e82e9a84b319926d970006a02dc/os-services (Caused by NewConnectionError(‘<urllib3.connection.VerifiedHTTPSConnection object at 0x7fd5055b0f90>: Failed to establish a new connection: [Errno 113] No route to host’,))
6.x
7.x
This is fixed in VMware Integrated Openstack 7.0.
Workaround:
image: docker-registry.default.svc.cluster.local:5000/vmware/nova-compute:6.0.0.15329962
imagePullPolicy: IfNotPresent
livenessProbe:
exec:
command:
- /tmp/nova-compute-liveness.sh
failureThreshold: 30 <<<<<<
initialDelaySeconds: 50
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
name: nova-compute