Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #26

Merged
merged 2 commits into from
Jun 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions tf/add-powervm-workers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,29 @@ Get the MAC Address and IP Address of the VM created on PowerVC. Update /etc/dhc
oc adm certificate approve <certificate-name>
```

## Troubleshooting
### Ignition failed.

* If ignition failed, Once you have the VM console, run the following commands:
```
systemctl --failed
journalctl -u ignition-fetch
```
2. Ignition happens in a couple of steps
```
ignition -platform openstack -stage mount -log-to-stdout
```
then fetch
```
ignition --platform openstack -stage fetch -log-to-stdout
```
```
sudo journalctl -u kubelet
```
* Ignition file properties should has `/etc/hostname` , `/etc/resolv.conf`, `passwd` section with proper values.
### Ignition successful, CSR does not show

* If you see the error with `no such host` error in the `sudo journalctl -u kubelet` add the DNS service points to the right host/ip of the ignition IP.
* Using the IBM Cloud Internet Service or IBM Cloud DNS Service [link](https://cloud.ibm.com/internet-svcs/), add a new record to resolve the IP which points to domain.
* Reboot the worker node to flush the dns cache to resolve the DNS and CSR will appear for the approval. once CSR are approved worker will get added to cluster.

Loading