Skip to content

Commit

Permalink
Merge pull request #1371 from praveenkumar/libvirt_console_issue
Browse files Browse the repository at this point in the history
docs/dev/libvirt: Add troubleshooting docs for libvirt console issue.
  • Loading branch information
openshift-merge-robot authored May 22, 2019
2 parents 187ce5e + 90b0d45 commit 03b753f
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions docs/dev/libvirt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,40 @@ 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 depends on the route which is created by auth operator ([Issue #1007](https://github.com/openshift/installer/issues/1007)).
To make it work we need to first create the manifests and edit the `domain` for ingress config, before directly creating the cluster.

- 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.
Here the IP in the address belong to one of the worker node.
```console
$ cat /etc/NetworkManager/dnsmasq.d/openshift.conf
server=/tt.testing/192.168.126.1
address=/.apps.tt.testing/192.168.126.51
```

- Make sure you restart the NetworkManager after change in the openshift.conf
```console
$ sudo systemctl restart NetworkManager
```

- Create the manifests
```console
$ openshift-install --dir $INSTALL_DIR create manifests
```

- Domain entry for cluster-ingress-02-config.yml file should be following (here domain is what your created initially)
```console
$ grep domain $INSTALL_DIR/manifests/cluster-ingress-02-config.yml
domain: apps.tt.testing
```

- Start the installer to create the cluster
```console
$ 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 03b753f

Please sign in to comment.