Skip to content

Commit

Permalink
docs/dev/libvirt-howto.md: Add troubleshooting docs for libvirt conso…
Browse files Browse the repository at this point in the history
…le issue.

Currently cluster created by libvirt not able to resolve the auth route
and because of that console doesn't comeup. This troubleshooting doc entry
direct users to make some modification before running the cluster so that
auth route can be resolved by the cluster.
  • Loading branch information
praveenkumar committed Mar 7, 2019
1 parent 2a667dc commit 20d54ad
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions docs/dev/libvirt-howto.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,37 @@ kubectl get --all-namespaces pods
## Troubleshooting
If following the above steps hasn't quite worked, please review this section for well known issues.

### Console doesn't come up
In case of libvirt there is no wildcard dns resolution and console is depend on the route which is created by auth operator.
To make it works we need to first create the manifests and edit the `domain` for ingress config, before directly creating the cluster.

Following steps are required to have console operator up and working.
```console
// Step-1
// Add another domain entry in the openshift.conf which used by dnsmasq
// Here `tt.testing` is the domain which I choose when running the installer.
$ cat /etc/NetworkManager/dnsmasq.d/openshift.conf
server=/tt.testing/192.168.126.1
address=/.apps.tt.testing/192.168.126.51

// Step-2
// Make sure you restart the NetworkManager after change in the openshift.conf
$ sudo systemctl restart NetworkManager

// Step-3
// Create the manifests
$ openshift-install --dir $INSTALL_DIR create manifests

// Step-4
// Domain entry for cluster-ingress-02-config.yml file should be following (here domain is what your created in Step-1)
$ cat $INSTALL_DIR/manifests/cluster-ingress-02-config.yml | grep domain
domain: apps.tt.testing

// Step-5
// Start the installer to create the cluster
$ openshift-install --dir $INSTALL_DIR create cluster
```

### Install throws an `Unable to resolve address 'localhost'` error

If you're seeing an error similar to
Expand Down

0 comments on commit 20d54ad

Please sign in to comment.