Troubleshoot VirtualBox
This section includes troubleshooting some of the common issues I faced when using VirtualBox. This guide assumes you are using Ubuntu Server, for other OS please refer to their official guides.
Network Adapters
Adding new network adapter to guest OS after OS was installed
What went wrong
I added a new network adapter to the guest VM but it doesn’t show up when I run ifconfig
How to solve the issue
First you need to get the new adapter name by running this command: ip link show
the output will be something like:
- Next go to folder
/etc/netplan/
- Update the file
00-installer-config.yaml
- Add new entry so that the file looks like this
Network Reachability
For my VMs to keep communication internal I have setup a NAT Network. If you have chosen to do the same you might face issues sometimes.
What went wrong
All pods in the cluster are failing to mount their volumes because NAS is not reachable
How to solve the issue
Run the following commands on your host OS