So I believe this comes down to DNS resolution. The openbalena.local records are populated over the local network of your host. But as the QEMU instance runs a user network, it is separated from it. For the same reason you can access the host from the VM but not the other way around. You have two possibilities:
Set up bridge networking - this would put the VM into the same local network as the host but needs some more advanced setup (https://www.linux-kvm.org/page/Networking).
Do not use the default openbalena.local and set up the domain with correct DNS records.
To quickly test whether fixing the DNS would help you can do (within the VM) mount -o remount,rw /, add the record to /etc/hosts and reboot. Please note that this is only a quick test and it is not a supported setup in any way (and in fact the changes will go away after update).
Please let us know whether this helps.
When you are using balena CLI with balenaCloud, each device has a unique URL that you can use to see the web interface of balenaCloud. With OpenBalena there is no such web interface - see https://github.com/balena-io/open-balena/issues/63
The only way we have right now to communicate with the openBalena instance is using the CLI or the SDK.
Does that answer your question?
Here you will see how you can configure your balena CLI installation as well as the balenaOS downloads to make them both work with your openBalena instance instead of balenaCloud
Thanks for the link, I’ve followed that while trying setting up the openBalena server.
I’ve had an issue where my openBalena server was unable to see any qemu virtual devices (running a balenaOS configured to an app). This was resolved when I manually mounted the / as rw and then edited the /etc/hosts for DNS resolution. So, I was wondering if I have to do that for every device type
It depends on your network setup, but if that works it does point to it being required for your particular network. What were you required to add to the /etc/hosts file?
It appears that based on your network set-up you’ll need to follow those mount and /etc/hosts steps on each device type. I noticed in a previous note you mentioned adding DNS resolution to your network. Did you previously attempt to edit /etc/hosts on your host, or only in each virtual device?