karmab / kcli

Management tool for virtualization and kubernetes platforms
https://kcli.readthedocs.io/en/latest/
Apache License 2.0
510 stars 138 forks source link

Kubevirt install fails #459

Closed rwmjones closed 2 years ago

rwmjones commented 2 years ago
$ kcli create kube openshift --paramfile kcli-ocp410.yaml 
Deploying on client local
Deploying cluster test-410
Using nightly version
Downloading oc in current directory
Downloading openshift-install from https://mirror.openshift.com/pub/openshift-v4/clients/ocp-dev-preview/latest-4.10
Move downloaded openshift-install somewhere in your PATH if you want to reuse it
Using installer version 4.10.0-0.nightly-2022-01-31-012936
Using url https://rhcos-redirector.apps.art.xq1c.p1.openshiftapps.com/art/storage/releases/rhcos-4.10/410.84.202201251210-0/x86_64/rhcos-410.84.202201251210-0-openstack.x86_64.qcow2.gz...
Grabbing image rhcos-410.84.202201251210-0-openstack.x86_64.qcow2...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   145  100   145    0     0    257      0 --:--:-- --:--:-- --:--:--   257
100  983M  100  983M    0     0  10.3M      0  0:01:34  0:01:34 --:--:-- 11.2M
Image rhcos-410.84.202201251210-0-openstack.x86_64.qcow2 Added
Using image rhcos-410.84.202201251210-0-openstack.x86_64.qcow2
INFO Consuming Install Config from target directory 
INFO Manifests created in: /home/kcli/.kcli/clusters/test-410/manifests and /home/kcli/.kcli/clusters/test-410/openshift 
INFO Consuming Master Machines from target directory 
INFO Consuming Worker Machines from target directory 
INFO Consuming OpenShift Install (Manifests) from target directory 
INFO Consuming Common Manifests from target directory 
INFO Consuming Openshift Manifests from target directory 
INFO Ignition-Configs created in: /home/kcli/.kcli/clusters/test-410 and /home/kcli/.kcli/clusters/test-410/auth 
Using keepalived virtual_router_id 94
Using 192.168.10.254 for api vip....
Deploying bootstrap
Deploying Vms...
Merging ignition data from existing /home/kcli/.kcli/clusters/test-410/bootstrap.ign for test-410-bootstrap
test-410-bootstrap deployed on local
Deploying masters
Deploying Vms...
Merging ignition data from existing /home/kcli/.kcli/clusters/test-410/master.ign for test-410-master-0
test-410-master-0 deployed on local
Merging ignition data from existing /home/kcli/.kcli/clusters/test-410/master.ign for test-410-master-1
test-410-master-1 deployed on local
Merging ignition data from existing /home/kcli/.kcli/clusters/test-410/master.ign for test-410-master-2
test-410-master-2 deployed on local
INFO Waiting up to 20m0s (until 1:19PM) for the Kubernetes API at https://api.test-410.test410.com:6443... 
INFO API v1.23.3+b63be7f up                       
INFO Waiting up to 30m0s (until 1:33PM) for bootstrapping to complete... 
W0902 13:13:00.573312    4607 reflector.go:442] k8s.io/client-go/tools/watch/informerwatcher.go:146: watch of *v1.ConfigMap ended with: an error on the server ("unable to decode an event from the watch stream: http2: client connection lost") has prevented the request from succeeding
W0902 13:13:12.137581    4607 reflector.go:324] k8s.io/client-go/tools/watch/informerwatcher.go:146: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
I0902 13:13:12.137691    4607 trace.go:205] Trace[965871220]: "Reflector ListAndWatch" name:k8s.io/client-go/tools/watch/informerwatcher.go:146 (02-Sep-2022 13:13:01.973) (total time: 10163ms):
Trace[965871220]: ---"Objects listed" error:Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host 10163ms (13:13:12.137)
Trace[965871220]: [10.163665519s] [10.163665519s] END
E0902 13:13:12.137715    4607 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
W0902 13:13:15.466619    4607 reflector.go:324] k8s.io/client-go/tools/watch/informerwatcher.go:146: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 13:13:15.466761    4607 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
W0902 13:13:24.041612    4607 reflector.go:324] k8s.io/client-go/tools/watch/informerwatcher.go:146: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 13:13:24.041703    4607 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
W0902 13:13:39.849639    4607 reflector.go:324] k8s.io/client-go/tools/watch/informerwatcher.go:146: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 13:13:39.849717    4607 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
W0902 13:14:08.393614    4607 reflector.go:324] k8s.io/client-go/tools/watch/informerwatcher.go:146: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 13:14:08.393702    4607 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
W0902 13:15:00.361639    4607 reflector.go:324] k8s.io/client-go/tools/watch/informerwatcher.go:146: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 13:15:00.361720    4607 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
W0902 13:16:00.969626    4607 reflector.go:324] k8s.io/client-go/tools/watch/informerwatcher.go:146: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 13:16:00.969742    4607 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
W0902 13:17:00.233643    4607 reflector.go:324] k8s.io/client-go/tools/watch/informerwatcher.go:146: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 13:17:00.233717    4607 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
W0902 13:18:02.377589    4607 reflector.go:324] k8s.io/client-go/tools/watch/informerwatcher.go:146: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 13:18:02.377715    4607 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
W0902 13:18:54.281593    4607 reflector.go:324] k8s.io/client-go/tools/watch/informerwatcher.go:146: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 13:18:54.281657    4607 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
W0902 13:19:41.961627    4607 reflector.go:324] k8s.io/client-go/tools/watch/informerwatcher.go:146: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 13:19:41.961745    4607 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
W0902 13:20:35.913585    4607 reflector.go:324] k8s.io/client-go/tools/watch/informerwatcher.go:146: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 13:20:35.913658    4607 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
W0902 13:21:17.129617    4607 reflector.go:324] k8s.io/client-go/tools/watch/informerwatcher.go:146: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 13:21:17.129694    4607 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
W0902 13:22:07.817713    4607 reflector.go:324] k8s.io/client-go/tools/watch/informerwatcher.go:146: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 13:22:07.817868    4607 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
W0902 13:22:56.777605    4607 reflector.go:324] k8s.io/client-go/tools/watch/informerwatcher.go:146: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 13:22:56.777671    4607 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
W0902 13:23:53.161601    4607 reflector.go:324] k8s.io/client-go/tools/watch/informerwatcher.go:146: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 13:23:53.161711    4607 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host

W0902 13:24:56.009572    4607 reflector.go:324] k8s.io/client-go/tools/watch/informerwatcher.go:146: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 13:24:56.009642    4607 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
W0902 13:25:56.809618    4607 reflector.go:324] k8s.io/client-go/tools/watch/informerwatcher.go:146: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 13:25:56.809743    4607 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
W0902 13:26:50.697686    4607 reflector.go:324] k8s.io/client-go/tools/watch/informerwatcher.go:146: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 13:26:50.697774    4607 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
W0902 13:27:40.297607    4607 reflector.go:324] k8s.io/client-go/tools/watch/informerwatcher.go:146: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 13:27:40.297718    4607 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
W0902 13:28:35.657636    4607 reflector.go:324] k8s.io/client-go/tools/watch/informerwatcher.go:146: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 13:28:35.657704    4607 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
W0902 13:29:09.129560    4607 reflector.go:324] k8s.io/client-go/tools/watch/informerwatcher.go:146: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 13:29:09.129642    4607 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
W0902 13:30:03.657633    4607 reflector.go:324] k8s.io/client-go/tools/watch/informerwatcher.go:146: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 13:30:03.657742    4607 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
W0902 13:30:50.633567    4607 reflector.go:324] k8s.io/client-go/tools/watch/informerwatcher.go:146: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 13:30:50.633635    4607 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
W0902 13:31:52.585626    4607 reflector.go:324] k8s.io/client-go/tools/watch/informerwatcher.go:146: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 13:31:52.585746    4607 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
W0902 13:32:38.537601    4607 reflector.go:324] k8s.io/client-go/tools/watch/informerwatcher.go:146: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 13:32:38.537684    4607 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
W0902 13:33:33.257638    4607 reflector.go:324] k8s.io/client-go/tools/watch/informerwatcher.go:146: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 13:33:33.257719    4607 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.test-410.test410.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2874": dial tcp 192.168.10.254:6443: connect: no route to host
ERROR Attempted to gather ClusterOperator status after wait failure: listing ClusterOperator objects: Get "https://api.test-410.test410.com:6443/apis/config.openshift.io/v1/clusteroperators": dial tcp 192.168.10.254:6443: connect: no route to host 
INFO Use the following commands to gather logs from the cluster 
INFO openshift-install gather bootstrap --help    
ERROR Bootstrap failed to complete: timed out waiting for the condition 
ERROR Failed to wait for bootstrapping to complete. This error usually happens when there is a problem with control plane hosts that prevents the control plane operators from creating the control plane. 
FATAL Bootstrap failed to complete                 
INFO Waiting up to 20m0s (until 1:53PM) for the Kubernetes API at https://api.test-410.test410.com:6443... 
ERROR Attempted to gather ClusterOperator status after wait failure: listing ClusterOperator objects: Get "https://api.test-410.test410.com:6443/apis/config.openshift.io/v1/clusteroperators": dial tcp 192.168.10.254:6443: connect: no route to host 
INFO Use the following commands to gather logs from the cluster 
INFO openshift-install gather bootstrap --help    
ERROR Bootstrap failed to complete: Get "https://api.test-410.test410.com:6443/version": dial tcp 192.168.10.254:6443: connect: no route to host 
ERROR Failed waiting for Kubernetes API. This error usually happens when there is a problem on the bootstrap host that prevents creating a temporary control plane. 
FATAL Bootstrap failed to complete                 
Leaving environment for debugging purposes
You can delete it with kcli delete cluster --yes test-410
[kcli@dev5 ~]$ 
[kcli@dev5 ~]$ kcli delete cluster --yes test-410
Deleting directory /home/kcli/.kcli/clusters/test-410
test-410-bootstrap deleted on local!
test-410-master-0 deleted on local!
test-410-master-1 deleted on local!
test-410-master-2 deleted on local!
[kcli@dev5 ~]$ kcli create kube openshift --paramfile kcli-ocp4
kcli-ocp410.yaml   kcli-ocp410.yaml~  kcli-ocp49.yaml    kcli-ocp49.yaml~
[kcli@dev5 ~]$ kcli create kube openshift --paramfile kcli-ocp49.yaml
Deploying on client local
Deploying cluster kata-49
Removing old openshift-install
Using nightly version
Downloading openshift-install from https://mirror.openshift.com/pub/openshift-v4/clients/ocp-dev-preview/latest-4.9
Move downloaded openshift-install somewhere in your PATH if you want to reuse it
Using installer version 4.9.0-0.nightly-2021-09-09-145014
Using url https://releases-art-rhcos.svc.ci.openshift.org/art/storage/releases/rhcos-4.9/49.84.202107010027-0/x86_64/rhcos-49.84.202107010027-0-openstack.x86_64.qcow2.gz...
Grabbing image rhcos-49.84.202107010027-0-openstack.x86_64.qcow2...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   145  100   145    0     0    235      0 --:--:-- --:--:-- --:--:--   235
100  969M  100  969M    0     0  10.5M      0  0:01:31  0:01:31 --:--:-- 11.2M
Image rhcos-49.84.202107010027-0-openstack.x86_64.qcow2 Added
Using image rhcos-49.84.202107010027-0-openstack.x86_64.qcow2
INFO Consuming Install Config from target directory 
INFO Manifests created in: /home/kcli/.kcli/clusters/kata-49/manifests and /home/kcli/.kcli/clusters/kata-49/openshift 
INFO Consuming Master Machines from target directory 
INFO Consuming Openshift Manifests from target directory 
INFO Consuming OpenShift Install (Manifests) from target directory 
INFO Consuming Common Manifests from target directory 
INFO Consuming Worker Machines from target directory 
INFO Ignition-Configs created in: /home/kcli/.kcli/clusters/kata-49 and /home/kcli/.kcli/clusters/kata-49/auth 
Using keepalived virtual_router_id 246
Using 192.168.10.254 for api vip....
Deploying bootstrap
Deploying Vms...
Merging ignition data from existing /home/kcli/.kcli/clusters/kata-49/bootstrap.ign for kata-49-bootstrap
kata-49-bootstrap deployed on local
Deploying masters
Deploying Vms...
Merging ignition data from existing /home/kcli/.kcli/clusters/kata-49/master.ign for kata-49-master-0
kata-49-master-0 deployed on local
Merging ignition data from existing /home/kcli/.kcli/clusters/kata-49/master.ign for kata-49-master-1
kata-49-master-1 deployed on local
Merging ignition data from existing /home/kcli/.kcli/clusters/kata-49/master.ign for kata-49-master-2
kata-49-master-2 deployed on local
INFO Waiting up to 20m0s for the Kubernetes API at https://api.kata-49.test49.com:6443... 
INFO API v1.22.0-rc.0+75ee307 up                  
INFO Waiting up to 30m0s for bootstrapping to complete... 
W0902 14:02:41.496691    6395 reflector.go:436] k8s.io/client-go/tools/watch/informerwatcher.go:146: watch of *v1.ConfigMap ended with: very short watch: k8s.io/client-go/tools/watch/informerwatcher.go:146: Unexpected watch close - watch lasted less than a second and no items received
E0902 14:02:43.014758    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=1": dial tcp 192.168.10.254:6443: connect: connection refused
W0902 14:08:59.239534    6395 reflector.go:436] k8s.io/client-go/tools/watch/informerwatcher.go:146: watch of *v1.ConfigMap ended with: an error on the server ("unable to decode an event from the watch stream: http2: client connection lost") has prevented the request from succeeding
E0902 14:09:00.361626    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:09:05.865658    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:09:12.265654    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:09:26.793595    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:09:46.186291    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:10:17.993695    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:10:56.457665    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:11:38.441566    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:12:16.521659    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:13:08.681592    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:13:54.825704    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:14:52.937565    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:15:51.562996    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:16:52.873629    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:17:30.185626    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:18:13.833685    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:18:50.953580    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:19:44.073645    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:20:34.249651    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:21:10.153640    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:21:51.945506    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:22:35.913743    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:23:31.017703    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:24:17.609709    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:25:05.929596    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:25:57.833554    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:26:41.033662    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:27:21.993697    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:28:01.225656    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:29:04.265624    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:29:57.641653    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:30:42.697675    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
E0902 14:31:38.505560    6395 reflector.go:138] k8s.io/client-go/tools/watch/informerwatcher.go:146: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: Get "https://api.kata-49.test49.com:6443/api/v1/namespaces/kube-system/configmaps?fieldSelector=metadata.name%3Dbootstrap&resourceVersion=2570": dial tcp 192.168.10.254:6443: connect: no route to host
ERROR Attempted to gather ClusterOperator status after wait failure: listing ClusterOperator objects: Get "https://api.kata-49.test49.com:6443/apis/config.openshift.io/v1/clusteroperators": dial tcp 192.168.10.254:6443: connect: no route to host 
INFO Use the following commands to gather logs from the cluster 
INFO openshift-install gather bootstrap --help    
ERROR Bootstrap failed to complete: timed out waiting for the condition 
ERROR Failed to wait for bootstrapping to complete. This error usually happens when there is a problem with control plane hosts that prevents the control plane operators from creating the control plane. 
FATAL Bootstrap failed to complete                 
INFO Waiting up to 20m0s for the Kubernetes API at https://api.kata-49.test49.com:6443... 
ERROR Attempted to gather ClusterOperator status after wait failure: listing ClusterOperator objects: Get "https://api.kata-49.test49.com:6443/apis/config.openshift.io/v1/clusteroperators": dial tcp 192.168.10.254:6443: connect: no route to host 
INFO Use the following commands to gather logs from the cluster 
INFO openshift-install gather bootstrap --help    
ERROR Bootstrap failed to complete: Get "https://api.kata-49.test49.com:6443/version?timeout=32s": dial tcp 192.168.10.254:6443: connect: no route to host 
ERROR Failed waiting for Kubernetes API. This error usually happens when there is a problem on the bootstrap host that prevents creating a temporary control plane. 
FATAL Bootstrap failed to complete                 
Leaving environment for debugging purposes
You can delete it with kcli delete cluster --yes kata-49
rwmjones commented 2 years ago

The yaml config file is:

# Cluster domain
domain: test49.com
# Cluster name
cluster: kata-49

# RHCOS image name in the libvirt storage pool. 
# You can leave this empty for kcli to download and use  the defaults
# image: 
imagecontentsources: []
mdns: True

# Uncomment this line for disconnected install
# disconnected_deploy: True

# Libvirt network name eg. 192.168.10.0/24
network: openshift
# Libvirt storage pool
pool: openshift

# For multiple clusters on the same network it's important to set
# api_ip to unique IP within the network
api_ip: 192.168.10.254

# Copy the pull secret and store it the following file
pull_secret: openshift_pull.json
# Release version number: 4.7/4.8/4.9/4.10
tag: 4.9
# Build type: nightly/stable. The latest nightly or stable build will
# be automatically downloaded
# If specific version is required then download openshift-install from
# https://mirror.openshift.com/pub/openshift-v4/clients and
# place it in /home/kcli/.local/bin:/home/kcli/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin
# to use the same for install
version: nightly
masters: 3
workers: 2
numcpus: 4
disk_size: 60

# Ensure the memory allocated to the VMs are as per the recommendations.
memory: 16384
bootstrap_memory: 16384
master_memory: 16384
worker_memory: 16384
bootstrap_numcpus: 4
master_numcpus: 4
worker_numcpus: 2
master_macs: []
worker_macs: []

# Uncomment the below lines to install the sandboxed containers operator
# apps:
# - sandboxed-containers-operator
rwmjones commented 2 years ago

Is test49.com just a made up name? The domain is owned by some Japanese company. Am I supposed to replace that with a local name that will resolve?

karmab commented 2 years ago

better to use a fake domain (or a real one for which you have the correct openshift dns entries in place)

karmab commented 2 years ago

maybe we can check the failure live on your env?

karmab commented 2 years ago

is this actually running on kubevirt?

rwmjones commented 2 years ago

is this actually running on kubevirt?

So I'm not certain what this question means. I'm attempting to get Kubevirt installed in some way and this is all running on a baremetal machine running Fedora 36.

Unfortunately I'm in the middle of preparing to go to a conference in Dublin and won't really be able to look at this in detail until the week after next.

rwmjones commented 2 years ago

So I'm trying again. I'm starting from scratch with a fresh Fedora 36 installation on an Intel NUC. (If there is a different, better tested OS to use, please let me know)

rwmjones commented 2 years ago

I'm using openshift.yaml from https://github.com/bpradipt/infra/blob/master/kcli-yamls/openshift.yaml and the first error was:

Missing rhcos410. Indicate correct image in your parameters file...

I thought that kcli could download rhcos images? Anyway I did download it from https://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/4.10/latest/rhcos-qemu.x86_64.qcow2.gz, uncompressed it and placed it into /home/kcli/images/

rwmjones commented 2 years ago

Missing rhcos410. Indicate correct image in your parameters file...

So you have to change image: rhcos410 to image: rhcos-qemu (or rename the image I file I guess). Another case of a non-actionable and non-obvious error.

rwmjones commented 2 years ago

So it later fails with:

$ kcli delete kube --yes testk
Deleting directory /home/kcli/.kcli/clusters/testk
$ kcli create kube openshift --paramfile openshift.yaml 
Deploying on client local
Deploying cluster testk
Removing old openshift-install
Using nightly version
Downloading openshift-install from https://mirror.openshift.com/pub/openshift-v4/clients/ocp-dev-preview/latest-4.10
Move downloaded openshift-install somewhere in your PATH if you want to reuse it
Using installer version 4.10.0-0.nightly-2022-01-31-012936
Checking if image rhcos-qemu is available
Deploying disconnected vm testk-disconnected
Deploying Vms...
testk-disconnected skipped on local!
testk-disconnected down
No ip found for testk-disconnected
ssh: Could not resolve hostname none: Name or service not known
ssh: Could not resolve hostname none: Name or service not known
ssh: Could not resolve hostname none: Name or service not known
Setting OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE to 
FATAL failed to fetch Master Machines: failed to load asset "Install Config": invalid "install-config.yaml" file: [imageContentSources[0].mirrors[0]: Invalid value: "/ocp4": failed to parse: invalid reference format, imageContentSources[1].mirrors[0]: Invalid value: "/ocp4": failed to parse: invalid reference format] 
Leaving environment for debugging purposes
You can delete it with kcli delete kube --yes testk

It's weird that it's looking for hostname none.

rwmjones commented 2 years ago

I fixed it with Karim's help.