Service Kubernes 1.23 deploying hangs forever

Hi

Today I have updated my mini cluster to 6.4 version and I have tryed to deploy new service Kubernetes 1.23 following the official doc: Kubernetes (K8s) 1.23 Service — OpenNebula Appliances 1.0 documentation

Service hangs on Deploying state:

But first VM seems to be correct:

And the VM has connectivity:

Looking into logs, I found this:

It seems that the VM is not notifing to oneflow their state to continue the deployment.

Maybe i’m doing something wrong. Any help is appreciated.

Best !!

Hello, it looks like your onegate endpoint may be unreachable, to confirm this please execute in that VM onegate vm show. Please make sure the onegate server listens on 0.0.0.0:5030, ONEGATE_ENDPOINT (in oned.conf) is set and VMs can actually reach the frontend.

Hello

You are right. It seems that there is a problem with contextualization.

The vm try to connect to localhost

But the service is up and running into the master node:

image

I will check another config files.

Thank you!

This is the context of one_env

ONEGATE_ENDPOINT appears twice point to localhost. Still looking for the problem.

cat one_env
export TOKENTXT="pGpvxpgc+74hGaCXl7RIEg=="
export VMID="33"
export ONEGATE_ENDPOINT="http://localhost:5030"
export DISK_ID="1"
export ETH0_DNS="8.8.8.8"
export ETH0_EXTERNAL=""
export ETH0_GATEWAY="10.95.54.1"
export ETH0_GATEWAY6=""
export ETH0_IP="10.95.54.64"
export ETH0_IP6=""
export ETH0_IP6_GATEWAY=""
export ETH0_IP6_METHOD=""
export ETH0_IP6_METRIC=""
export ETH0_IP6_PREFIX_LENGTH=""
export ETH0_IP6_ULA=""
export ETH0_MAC="02:00:0a:5f:36:40"
export ETH0_MASK="255.255.255.0"
export ETH0_METHOD=""
export ETH0_METRIC=""
export ETH0_MTU=""
export ETH0_NETWORK="10.95.54.0/24"
export ETH0_SEARCH_DOMAIN=""
export ETH0_VLAN_ID=""
export ETH0_VROUTER_IP=""
export ETH0_VROUTER_IP6=""
export ETH0_VROUTER_MANAGEMENT=""
export ETH1_DNS=""
export ETH1_EXTERNAL=""
export ETH1_GATEWAY=""
export ETH1_GATEWAY6=""
export ETH1_IP="172.20.0.1"
export ETH1_IP6=""
export ETH1_IP6_GATEWAY=""
export ETH1_IP6_METHOD=""
export ETH1_IP6_METRIC=""
export ETH1_IP6_PREFIX_LENGTH=""
export ETH1_IP6_ULA=""
export ETH1_MAC="02:00:ac:14:00:01"
export ETH1_MASK=""
export ETH1_METHOD=""
export ETH1_METRIC=""
export ETH1_MTU=""
export ETH1_NETWORK=""
export ETH1_SEARCH_DOMAIN=""
export ETH1_VLAN_ID=""
export ETH1_VROUTER_IP=""
export ETH1_VROUTER_IP6=""
export ETH1_VROUTER_MANAGEMENT=""
export NETWORK="YES"
export ONEAPP_VNF_DHCP4_ENABLED="NO"
export ONEAPP_VNF_DNS_ENABLED=""
export ONEAPP_VNF_DNS_INTERFACES=""
export ONEAPP_VNF_DNS_MAX_CACHE_TTL=""
export ONEAPP_VNF_DNS_USE_ROOTSERVERS=""
export ONEAPP_VNF_KEEPALIVED_ENABLED="YES"
export ONEAPP_VNF_LB0_IP="172.20.0.2"
export ONEAPP_VNF_LB0_METHOD="dr"
export ONEAPP_VNF_LB0_PORT="6443"
export ONEAPP_VNF_LB0_PROTOCOL="tcp"
export ONEAPP_VNF_LB_ENABLED="YES"
export ONEAPP_VNF_LB_ONEGATE_ENABLED="YES"
export ONEAPP_VNF_LB_REFRESH_RATE=""
export ONEAPP_VNF_NAT4_ENABLED="YES"
export ONEAPP_VNF_NAT4_INTERFACES_OUT="eth0"
export ONEAPP_VNF_ROUTER4_ENABLED="YES"
export ONEAPP_VNF_ROUTER4_INTERFACES="eth0,eth1"
export ONEAPP_VROUTER_ETH0_VIP0="172.20.0.2"
export ONEAPP_VROUTER_ETH1_VIP0="172.20.0.1"
export ONEGATE_ENDPOINT="http://localhost:5030"
export PASSWORD_BASE64="bGFicGFzc3dvcmQ="
export REPORT_READY="YES"
export SSH_PUBLIC_KEY="ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDTG5yfzm4IWuOjKb7neLTuLxW25d7V7PwQE1dB5DfLWmXPsAsleO2hr2jEu+g+yfssaN/nfUKUEP3gVa7mK/jsWsXpKXRgKJ0xNtNbEd7RGK4fw+aQ3ANMDFpoqUB1pPIxPsG78mzr7IjVNQWlLizT3nBCcxmXuQ3YFgdgTxYxWnga5Axp8JS99wM/cQW/jIoM15+r4lS9leCZvkvrPrVvsEDrfos1mk1nDx6pD/6n45G4ebPvyxRrQpwrgHaKwF4by90Z9wL61HeSY4V/qYwxjMe+kC977OmioHcP/8GpnNDj5cFHMuwUUp4zhKuQx8F53JR5ZSUNBq+1RXZU+ZYdTWCDXFz1q0+ob1oks2l/ef2QU9gdXXe5KWsWY3m9oCDd26wRlSW0Jkb4ZcLB/wqhbeEA2PO9mNgE7tQVv7u2iIMe0bX2i0OHXl5eSV3tR7EBOpEtARg3zVUCwaEfTHUkiUPziTowEk469ygir9rOpUMjE3WoSDWnHPwIxVOcHzk= oneadmin@boe01
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC00uK2g76k5R7phUJXHEvNmpCUty1ZBh26M1wVpMGyI40cp2zdn+4fW6L+6d7gyPvZ4lj3A9/CXVvLIc9k7mu7hZVU0Mud0fiPkH0Fi6LvvbAZsL1GHDPv5wGe6lZXOl0yLX8t1HstG30vSZcGeps3+QTzYXQez5R6XKHKBANK9L7NB7zLjq4c3nX4JEZitpEAzD738lixqg0QBBeUtjIS4vObiX7uk3BDaKmqxzFdiWC1n6y3XXeSWK84oO9MS7P+NEf8wsKHsN5xh+WSegKHZ4YlbGakJD4V0xm+gD1W8Gl/lC8P0eD4rK5PI2FDbrkXw6kFYHoOv654jpIXlSYAc8Uyxk3v+35RtlMJ4E678fNKODOeESw6jZyyaQdoMxrOjGBpT3OAkENbfl07A5BvRsuSiAN2nrx7U8/4HZ1Pl9wT9M+EWiGMVOLkSmdBsB8HfKatLg2N2ZB34wmnw4uuhMiHO+BC9HcWvlwitE0gC0BWZQtBvg/apcQ7rf1UjNM= root@boe01"
export TARGET="hda"
export TOKEN="YES"
export VMID="33"

Hello! I have restarted opennebula, opennebula-gate, opennebula-sunstone and opennebula-gate into the master node and now context file is ok, and the deployment is ok.

Thank you very much for the clue!

1 Like