francistor
Contributor
Contributor

VIO 7 error from manager

I'm trying to do a deployment from  VIO 7 manager

It's a test environment with vio7+vds


The result is that a pod fails ever when deploying. It doesn't progress

root@photon-machine [ ~ ]# kubectl get pods -A
NAMESPACE NAME READY STATUS RESTARTS AGE
cluster-api-system cluster-api-controller-manager-0 1/1 Running 0 2d22h
cluster-api-system cluster-api-provider-controller-manager-0 1/1 Running 0 2d22h
default vio-docker-registry-ca-jjjd6 1/1 Running 0 2d22h
default vio-docker-registry-ddf5c8fc6-hqcgh 1/1 Running 0 2d22h
default vio-helm-repo-647784c488-bv6jh 1/1 Running 0 2d22h
default vio-ingress-cntl-nginx-ingress-controller-7969c994b-fcq29 1/1 Running 0 2d22h
default vio-ingress-cntl-nginx-ingress-default-backend-5f67ff4f6-q7g9b 1/1 Running 0 2d22h
default vio-webui-77f5bb84c8-wljtj 1/1 Running 0 2d22h
default vio-webui-auth-proxy-0 1/1 Running 0 2d22h
kube-system coredns-vh56x 2/2 Running 0 2d22h
kube-system etcd-photon-machine.local 1/1 Running 0 2d22h
kube-system kube-apiserver-photon-machine.local 1/1 Running 0 2d22h
kube-system kube-controller-manager-photon-machine.local 1/1 Running 1 2d22h
kube-system kube-proxy-dp7br 1/1 Running 0 2d22h
kube-system kube-scheduler-photon-machine.local 1/1 Running 0 2d22h
kube-system tiller-deploy-67d4467f45-xbnjw 1/1 Running 0 2d22h
kube-system weave-net-jxb95 2/2 Running 0 2d22h
openstack cluster-controller-7468d75ff8-2jgh9 1/1 Running 0 2d22h
openstack create-objects-neutron-neutron1-77tjfk5xcn-p4z2k 0/1 Error 0 12m
openstack disc-vcenter-vcenter1-fac17e51-2b49-11eb-a1fa-005056bb87fafdxcr 0/1 Completed 0 2d22h
openstack license-controller-7f776f799c-plwfw 1/1 Running 0 2d22h
openstack openstack-controller-84f67d779d-47n2h 1/1 Running 0 2d22h
openstack patching-controller-7bbb4554f6-8pmhc 1/1 Running 0 2d22h
openstack rnb-controller-f48bd4d6c-xq5f9 2/2 Running 0 2d22h
openstack status-controller-65d4599b65-xlf52 2/2 Running 0 2d22h
openstack valid-barbican-barbican1-d2m2nsdv7d-km26g 0/1 Completed 0 2d22h
openstack valid-cinder-cinder1-m6vbsd87n9-kqgnl 0/1 Completed 0 2d22h
openstack valid-glance-glance1-pp2ztrplvh-pnvql 0/1 Completed 0 2d22h
openstack valid-heat-heat1-r22qm7lc9h-trlx4 0/1 Completed 0 2d22h
openstack valid-horizon-horizon1-frj4scj99g-4kkn9 0/1 Completed 0 2d22h
openstack valid-keystone-keystone1-6nzbpfbszv-7d9qg 0/1 Completed 0 2d22h
openstack valid-mariadb-mariadb1-ndfqhrwtpg-j7wlr 0/1 Completed 0 2d22h
openstack valid-memcached-memcached1-tbf5tdkfl6-59zpt 0/1 Completed 0 2d22h
openstack valid-neutron-neutron1-xxlfvg2kc9-l2lpt 0/1 Completed 0 2d22h
openstack valid-nova-nova1-zqhcjmjxpv-kbtfk 0/1 Completed 0 2d22h
openstack valid-novacompute-compute-b6224ace-c70-tsp45qxxrn-zkkx5 0/1 Completed 0 2d22h
openstack valid-openvswitch-openvswitch1-8gljphsmzg-vfskj 0/1 Completed 0 2d22h
openstack valid-osdeployment-osdeployment1-xw2kfp8p62-tr5hd 0/1 Completed 0 2d22h
openstack valid-rabbitmq-rabbitmq1-mcbpq7s5jk-zghrb 0/1 Completed 0 2d22h
openstack valid-vcenter-vcenter1-hpmv5nxzlf-hs5fz 0/1 Completed 0 2d22h
openstack valid-viocluster-viocluster1-afaaebfd-2b4a-11eb-a1fa-00505vx7zz 0/1 ContainerCreating 0 0s
openstack valid-vioingress-vioingress1-9kjcfvm745-smhzf 0/1 Completed 0 2d22h
openstack valid-viomachineset-controller1-bfqmv7fhbw-wkjnd 0/1 Completed 0 2d22h
openstack valid-viomachineset-manager1-274zm78srz-lbgrx 0/1 Completed 0 2d22h
openstack valid-viosecret-viosecret1-l42xh6jpcg-hprx9 0/1 Completed 0 2d22h
openstack valid-vioshim-vioadmin1-ltc8zkbwq2-c8mbz 0/1 Completed 0 2d22h
openstack valid-vioutils-vioutils1-6mpg9wv6kh-2mqh4 0/1 Completed 0 2d22h

root@photon-machine [ ~ ]# kubectl get pods -A |grep Error
openstack create-objects-neutron-neutron1-77tjfk5xcn-p4z2k 0/1 Error 0 12m


root@photon-machine [ ~ ]# kubectl logs create-objects-neutron-neutron1-77tjfk5xcn-p4z2k -n openstack
time="2020-11-23T14:19:15.07Z" level=info msg="detecting plugin configuration and parent resource" kind=Neutron name=neutron1 namespace=openstack
time="2020-11-23T14:19:15.074Z" level=info msg="successfully detected NSX plugin key 'dvs' and related parent resource VCenter 'vcenter1' (namespace='openstack')" kind=Neutron name=neutron1 namespace=openstack
time="2020-11-23T14:19:15.074Z" level=info msg="fetching VIOCluster associated with VCenter 'vcenter1' (namespace='openstack')" kind=Neutron name=neutron1 namespace=openstack
time="2020-11-23T14:19:15Z" level=warning msg="failed to load config: failed to retrieve VIO ConfigMap: resource name may not be empty"
time="2020-11-23T14:19:15.078Z" level=info msg="successfully fetched VIOCluster 'viocluster1' (namespace='openstack')" kind=Neutron name=neutron1 namespace=openstack
time="2020-11-23T14:19:15.09Z" level=error msg="failed to fetch Discovery for parent resource VCenter 'vcenter1' (namespace='openstack'): ConvertVCenterDiscoveryCR failed while unmarshaling: cannot parse reference: unknown or invalid value: 'domain-s7'" kind=Neutron name=neutron1 namespace=openstack
time="2020-11-23T14:19:15.105Z" level=info msg="successfully updated Neutron 'neutron1' (namespace='openstack') from resourceVersion '996200' -> '996217'" kind=Neutron name=neutron1 namespace=openstack
time="2020-11-23T14:19:15.109Z" level=error msg="failed to fetch Discovery for parent resource VCenter 'vcenter1' (namespace='openstack'): ConvertVCenterDiscoveryCR failed while unmarshaling: cannot parse reference: unknown or invalid value: 'domain-s7'" kind=Neutron name=neutron1 namespace=openstack
time="2020-11-23T14:19:15.395Z" level=info msg="successfully updated Neutron 'neutron1' (namespace='openstack') from resourceVersion '996217' -> '996218'" kind=Neutron name=neutron1 namespace=openstack
time="2020-11-23T14:19:15.395Z" level=fatal msg="failed to fetch Discovery for parent resource VCenter 'vcenter1' (namespace='openstack'): ConvertVCenterDiscoveryCR failed while unmarshaling: cannot parse reference: unknown or invalid value: 'domain-s7'"
root@photon-machine [ ~ ]#

How could I solve it?
Are there any patches to apply?

Thanks in advance

0 Kudos
1 Reply
rdantax
Contributor
Contributor

Log into your VIO Manager Web console. Under OpenStack deployment, go to the Manage tab and click on the REFRESH link on the right hand side under VC Resources column. 

0 Kudos