Skip to content

[libvirt] Problem with openshift-console <POD> #1397

Closed

Description

Version

$ openshift-install version
./openshift-install unreleased-master-540-g12af0c9b8e6a090c041b19c2fb0c040188607bcb-dirty

Platform (aws|libvirt|openstack):

Libvirt

What happened?

[fsbano@voyager-1 ~]$ oc logs console-78444cb4bb-m2cmw
2019/03/9 12:54:58 cmd/main: cookies are secure!
2019/03/9 12:54:58 auth: error contacting auth provider (retrying in 2s): request to OAuth issuer endpoint https://openshift-authentication-openshift-authentication.apps.jaguar.fsbano.io/oauth/token failed: Head https://openshift-authentication-openshift-authentication.apps.jaguar.fsbano.io: dial tcp: lookup openshift-authentication-openshift-authentication.apps.jaguar.fsbano.io on 172.30.0.10:53: no such host

"no such host"

What you expected to happen?

*.apps.${CLUSTER_NAME}.${BASE_DOMAIN}

How to reproduce it (as minimally and precisely as possible)?

$ ./openshift-install create cluster

Anything else we need to know?

I solved the problem by creating a zone "apps.${CLUSTER_NAME}.${BASE_DOMAIN}" inside bind

References

#1382
#1078

Activity

  1. ghost changed the title [-]Problem with openshift-console <POD>[/-] [+][libvirt] Problem with openshift-console <POD>[/+] on Mar 9, 2019
  2. anildhingra commented on Mar 10, 2019

    @anildhingra

    possible to share bind config or what need to be done for Networkmanager dnsmasq as per libvirt doc
    or are you using separate DNS server on physical machine

    it will help to request modify libvirt doc as a saw most of users stuck here

  3. anildhingra commented on Mar 10, 2019

    @anildhingra

    so you are not using NetworkManager like libvirt doc

    /etc/NetworkManager/conf.d/openshift.conf
    /etc/NetworkManager/dnsmasq.d/openshift.conf

    so i can remove config from above & configure a dns server on physical host ?

  4. praveenkumar commented on Mar 11, 2019

    @praveenkumar
    Contributor

    I put a PR sometime back to solve it with using a different route and add that entry to dnsmasq. @ssbano @anildhingra can you have a look and see if that works for you?

    #1371

  5. praveenkumar commented on Mar 11, 2019

    @praveenkumar
    Contributor

    Is running the wildcard with subdomain the name resolutions?

    Yes, you can try that and also make a subdomain query in the VM which should successful.

  6. ghost closed this as completedon Mar 13, 2019
  7. Sarang-Sangram commented on Aug 12, 2019

    @Sarang-Sangram

    Hi,
    Sorry, I forgot something

    <forwarder domain='apps.jaguar.fsbano.io' addr='192.168.x.x'/>
    

    my settings below

    [root@voyager-1 ~]# virsh net-dumpxml jaguar-jfcpr

    <network connections='3'>
      <name>jaguar-jfcpr</name>
      <uuid>1684a349-8686-4198-854c-5d0f8209ec7b</uuid>
      <forward mode='nat'>
        <nat>
          <port start='1024' end='65535'/>
        </nat>
      </forward>
      <bridge name='tt0' stp='on' delay='0'/>
      <mac address='52:54:00:71:5f:d0'/>
      <domain name='jaguar.fsbano.io' localOnly='yes'/>
      <dns>
        <forwarder domain='apps.jaguar.fsbano.io' addr='192.168.1.1'/>
        <srv service='etcd-server-ssl' protocol='tcp' domain='jaguar.fsbano.io' target='etcd-0.jaguar.fsbano.io' port='2380' weight='10'/>
        <host ip='192.168.126.11'>
          <hostname>api.jaguar.fsbano.io</hostname>
          <hostname>etcd-0.jaguar.fsbano.io</hostname>
        </host>
      </dns>
      <ip family='ipv4' address='192.168.126.1' prefix='24'>
        <dhcp>
          <host mac='66:4f:16:3f:5f:0f' name='jaguar-jfcpr-master-0' ip='192.168.126.11'/>
          <host mac='0e:cb:ab:5e:3b:3a' name='jaguar-jfcpr-worker-0-pldrn' ip='192.168.126.51'/>
          <host mac='46:6a:2c:3d:fd:51' name='jaguar-jfcpr-worker-0-fhhdr' ip='192.168.126.52'/>
        </dhcp>
      </ip>
    </network>
    
    [root@voyager-1 ~]# 
    

    Good Night,
    Fabio Sbano
    @ssbano How are you adding this piece in the xml file ?
    <forwarder domain='apps.jaguar.fsbano.io' addr='192.168.x.x'/>

  8. ghost reopened this on Sep 25, 2019
  9. zeenix commented on Oct 8, 2019

    @zeenix
    Contributor

    @ssbano Isn't this a duplicate of #1007 ?

  10. abhinavdahiya commented on Nov 5, 2019

    @abhinavdahiya
    Contributor

    duplicate of #1007

    /close

  11. openshift-ci-robot commented on Nov 5, 2019

    @openshift-ci-robot
    Contributor

    @abhinavdahiya: Closing this issue.

    Details

    In response to this:

    duplicate of #1007

    /close

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions