Repository navigation
Description
Version
$ openshift-install version
v0.9.0-master(compiled from master)
Platform (aws|libvirt|openstack):
libvirt
What happened?
I'm trying to install openshift 4 using this installer. It seems, that everything was OK. I've done all the steps described in here. Installation was ok, I was able to login using oc with credentials from the installation output, but I'm not able to access web console.
Looking at openshift-console project, everything seems ok:
OUTPUT
╭─rhopp@dhcp-10-40-4-106 ~/go/src/github.com/openshift/installer ‹master*›
╰─$ oc project openshift-console
Already on project "openshift-console" on server "https://test1-api.tt.testing:6443".
╭─rhopp@dhcp-10-40-4-106 ~/go/src/github.com/openshift/installer ‹master*›
╰─$ oc get all
NAME READY STATUS RESTARTS AGE
pod/console-operator-79b8b8cb8d-cgpfn 1/1 Running 1 1h
pod/openshift-console-6ddfcc76b5-2kmpx 1/1 Running 0 1h
pod/openshift-console-6ddfcc76b5-sp5zm 1/1 Running 0 1h
pod/openshift-console-6ddfcc76b5-z52hq 1/1 Running 0 1h
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/console ClusterIP 172.30.198.57 <none> 443/TCP 1h
NAME DESIRED CURRENT UP-TO-DATE AVAILABLE AGE
deployment.apps/console-operator 1 1 1 1 1h
deployment.apps/openshift-console 3 3 3 3 1h
NAME DESIRED CURRENT READY AGE
replicaset.apps/console-operator-79b8b8cb8d 1 1 1 1h
replicaset.apps/openshift-console-6ddfcc76b5 3 3 3 1h
NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD
route.route.openshift.io/console console-openshift-console.apps.test1.tt.testing console https reencrypt/Redirect None
The pods are running, service and route are up, but accessing https://console-openshift-console.apps.test1.tt.testing in browser says it couldn't resolve IP address.
As part of the setup I've configured dnsmasq as it was described in the libvirt guide.
For example, ping test1-api.tt.testing works as expected, but ping console-openshift-console.apps.test1.tt.testing throws:
ping: console-openshift-console.apps.test1.tt.testing: Name or service not known
What you expected to happen?
Web console to be accessible.
How to reproduce it (as minimally and precisely as possible)?
Follow https://github.com/openshift/installer/blob/master/docs/dev/libvirt-howto.md (my host machine is Fedora 29)
INSTALLATION OUTPUT
╭─rhopp@localhost ~/go/src/github.com/openshift/installer/bin ‹master*›
╰─$ ./openshift-install create cluster
? SSH Public Key [Use arrows to move, type to filter, ? for more help]
/home/rhopp/.ssh/gitlab.cee.key.pub
> <none>
? SSH Public Key [Use arrows to move, type to filter, ? for more help]
> /home/rhopp/.ssh/gitlab.cee.key.pub
<none>
? SSH Public Key /home/rhopp/.ssh/gitlab.cee.key.pub
? Platform [Use arrows to move, type to filter]
> aws
libvirt
openstack
? Platform [Use arrows to move, type to filter]
aws
> libvirt
openstack
? Platform libvirt
? Libvirt Connection URI [? for help] (qemu+tcp://192.168.122.1/system)
? Libvirt Connection URI qemu+tcp://192.168.122.1/system
? Base Domain [? for help] tt.testing
? Base Domain tt.testing
? Cluster Name [? for help] test1
? Cluster Name test1
? Pull Secret [? for help] ************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************* INFO Fetching OS image: redhat-coreos-maipo-47.247-qemu.qcow2.gz
INFO Creating cluster...
INFO Waiting up to 30m0s for the Kubernetes API...
INFO API v1.11.0+e3fa228 up
INFO Waiting up to 30m0s for the bootstrap-complete event...
INFO Destroying the bootstrap resources...
INFO Waiting up to 10m0s for the openshift-console route to be created...
INFO Install complete!
INFO Run 'export KUBECONFIG=/home/rhopp/go/src/github.com/openshift/installer/bin/auth/kubeconfig' to manage the cluster with 'oc', the OpenShift CLI.
INFO The cluster is ready when 'oc login -u kubeadmin -p 5tQwM-fXfkC-MIeAH-BmLeN' succeeds (wait a few minutes).
INFO Access the OpenShift web-console here: https://console-openshift-console.apps.test1.tt.testing
INFO Login to the console with user: kubeadmin, password: 5tQwM-fXfkC-MIeAH-BmLeN
Activity
crawford commentedon Jan 7, 2019
Duplicate of #411.
openshift-ci-robot commentedon Jan 7, 2019
@crawford: Closing this issue.
Details
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
wking commentedon Jan 8, 2019
#411 was closed, since AWS works. Reopening for libvirt.
wking commentedon Mar 7, 2019
Docs in flight with #1371
docs/dev/libvirt/README.md: Add troubleshooting docs for libvirt cons…
zeenix commentedon May 22, 2019
90b0d45 only documents a workaround, unfortunately.
/reopen
openshift-ci-robot commentedon May 22, 2019
@zeenix: Reopened this issue.
Details
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
sgreene570 commentedon May 30, 2019
Has anyone had luck with the work around posted in 90b0d45 recently? My libvirt cluster does not bring up the console operator with or without the documented workaround.
sgreene570 commentedon May 30, 2019
I tried setting the oauth hostname statically without wildcards in my dnsmasq config and im still getting oauth console errors.
See below.
dnsmasq config
Sanity check that hostname is resolving to proper node IP
Output of openshift-console crashed pod logs
Am I missing something?
51 remaining items
openshift-bot commentedon Jan 28, 2021
Issues go stale after 90d of inactivity.
Mark the issue as fresh by commenting
/remove-lifecycle stale.Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting
/lifecycle frozen.If this issue is safe to close now please do so with
/close./lifecycle stale
openshift-bot commentedon Feb 27, 2021
Stale issues rot after 30d of inactivity.
Mark the issue as fresh by commenting
/remove-lifecycle rotten.Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting
/lifecycle frozen.If this issue is safe to close now please do so with
/close./lifecycle rotten
/remove-lifecycle stale
openshift-bot commentedon Mar 29, 2021
Rotten issues close after 30d of inactivity.
Reopen the issue by commenting
/reopen.Mark the issue as fresh by commenting
/remove-lifecycle rotten.Exclude this issue from closing again by commenting
/lifecycle frozen./close
openshift-ci-robot commentedon Mar 29, 2021
@openshift-bot: Closing this issue.
Details
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
libvirt: support setting network dnsmasq options through the install …