Of 20 lab machines, 5 mysteriously do not have the VMs.
Is there a more efficient way to fix missing VMs than reinstalling?
rht-vmctl fullreset vmname
can work. Sometimes /etc/rht comes not configured. Fixing it doesn't always solve the problems.
scp'ing files qcows from /var/lib/libvirt/images can help but can give rise to other problems.
scp'ing a working /usr/local/ to the new vm can help. The grading scripts can be copied to /usr/local/lib/ from content/.../.../grading-scripts/lab*
For those that do not have virtual machines, I would be curious as to the result of rht-pushcourse # where # is the foundation number of that system.
rht-pushcourse is the step that configures /etc/rht on the foundationX system.
Without /etc/rht properly configured, things will be broken. So I am guessing that may be the root cause. I would also confirm that "foundation-config" was properly installed as a package on that foundationX system (yum list installed foundation-config).
Also if you are focused on using "all" with rht-pushcourse and other tools, it uses the contents of /var/www/register/ on foundation0 to list the physical systems in the classroom.
rht-unregister and rht-discover can be used to manage the contents of /var/www/register/. Take a look in ClassroomTroubleshooting.txt for some examples of those tools.
--Rob
Retired Highlander of UCF (the classroom environment)
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.