8000
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of #88 we encountered situations where the emulated network adapter connecting to the VM host did not come up on boot. This triggers known issues with CA and PVA peers not correctly handling startup with only a loopback. eg. AA will start, but be unable to connect to any PVs. The immediate resolution was to fix the emulated NIC configuration and reboot the VM.
A more reliable configuration would be to add an always on, broadcast capable, NIC for PVA/CA peers to find. I encounter this situation regularly when roaming with my laptop. My solution is to create a dummy software bridge. A linux soft bridge supports broadcasts.
The complication in the context of this repository will be in how to supply network configuration. I know how to configure with Debian /etc/network/interfaces, and with systemd-networkd. Neither are universally available. I do not know how to configure with NetworkManager.
Creates a bridge interface br0, with an associated tap0 attached to it. The tap is necessary as a bridge is only UP when at least one attached interface is UP. The KeepCarrier=yes forces the otherwise unused tap0 to be UP.
As part of #88 we encountered situations where the emulated network adapter connecting to the VM host did not come up on boot.
I have never seen that happening in the trainings where the VM was used.
Which means I think this might be something related to the out-of-normal version of VBox or the out-of-usual way of creating the VM that you used.
Anyway, this does not seem harmful or getting in the way, so I'm all for it, once we have it confirmedly working on all target systems and architectures.
... something related to the out-of-normal version of VBox or the out-of-usual way of creating the VM that you used. ...
A reasonable suspicion. The .ova file had accidentally been unzipped, and a new VM had been created using only the disk file. Apparently Windows file explorer is made to recognize .ova as an archive, so a double click shows the contents, and vbox binds to .vmdk files to begin the process of creating a new VM. So a couple of extra mouse clicks was all it took to start down this wrong path. Such convenience!
... working on all target systems and architectures.
Is "all target systems" a closed set for training-vm? eg. just RH and Debian derivative distros? What about NetworkManager vs. networkd vs. ...? You set a really high threshold otherwise.
Practically, I think I am looking for pointers for if/how to make this conditional in the Ansible world.
Activity
mdavidsaver commentedon Jun 10, 2026
eg. with systemd-networkd
Creates a bridge interface
br0, with an associatedtap0attached to it. The tap is necessary as a bridge is only UP when at least one attached interface is UP. TheKeepCarrier=yesforces the otherwise unusedtap0to be UP.ralphlange commentedon Jun 11, 2026
I have never seen that happening in the trainings where the VM was used.
Which means I think this might be something related to the out-of-normal version of VBox or the out-of-usual way of creating the VM that you used.
Anyway, this does not seem harmful or getting in the way, so I'm all for it, once we have it confirmedly working on all target systems and architectures.
mdavidsaver commentedon Jun 11, 2026
A reasonable suspicion. The
.ovafile had accidentally been unzipped, and a new VM had been created using only the disk file. Apparently Windows file explorer is made to recognize.ovaas an archive, so a double click shows the contents, and vbox binds to.vmdkfiles to begin the process of creating a new VM. So a couple of extra mouse clicks was all it took to start down this wrong path. Such convenience!Is "all target systems" a closed set for training-vm? eg. just RH and Debian derivative distros? What about NetworkManager vs. networkd vs. ...? You set a really high threshold otherwise.
Practically, I think I am looking for pointers for if/how to make this conditional in the Ansible world.
ralphlange commentedon Jun 11, 2026
We are targeting four flavors, two of each family:
Only one version of each of those, updating as we go.
Trying to do only one setup of how-to-do stuff that works on all of them.
See https://github.com/epics-training/training-vm/tree/main/ansible/vars/os for the differences, plus a few
when: is_debianandwhen: is_redhatin the roles/tasks.