I believe I've found what has messed things up. I've run beaker-in-a-box ansible scripts which includes the following role: https://github.com/beaker-project/beaker-in-a-box/blob/master/roles/libvirt/tasks/main.yml as well as a few other changes. So I found these instructions for installing libvirt but it seems obsolete for fedora36 https://computingforgeeks.com/how-to-install-kvm-on-fedora/ Do you have a list of install steps for the various fedoras? I do have things working with info you and Martin Kletzander provided me but would like to see a formal list in case there is something else that comes up. Carol On Mon, Aug 1, 2022 at 7:48 AM Daniel P. Berrang? <berrange at redhat.com> wrote:> On Mon, Aug 01, 2022 at 07:42:51AM -0400, Carol Bouchard wrote: > > These services do not exist > > > > [cbouchar at ibm-p8-rhevm-17-fsp cbouchar-devel]$ systemctl status > > virtxend.service > > Unit virtxend.service could not be found. > > [cbouchar at ibm-p8-rhevm-17-fsp cbouchar-devel]$ systemctl status > > virtxcd.service > > Unit virtxcd.service could not be found. > > That's fine if you've not installed that piece of functionality. > > With regards, > Daniel > -- > |: https://berrange.com -o- > https://www.flickr.com/photos/dberrange :| > |: https://libvirt.org -o- > https://fstop138.berrange.com :| > |: https://entangle-photo.org -o- > https://www.instagram.com/dberrange :| > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20220801/c27f0902/attachment.htm>
Daniel P. Berrangé
2022-Aug-01 13:04 UTC
Can RHEL7 VM run remote commands to Fedora36 host?
On Mon, Aug 01, 2022 at 08:41:02AM -0400, Carol Bouchard wrote:> I believe I've found what has messed things up. I've run beaker-in-a-box > ansible scripts > which includes the following role: > https://github.com/beaker-project/beaker-in-a-box/blob/master/roles/libvirt/tasks/main.yml > as well as a few other changes.That needs to be changed to not touch the .services at all, and instead deal with .sockets. And also not libvirtd, for RHEL >= 9 or Fedora >= 35> > So I found these instructions for installing libvirt but it seems obsolete > for fedora36 > https://computingforgeeks.com/how-to-install-kvm-on-fedora/ > Do you have a list of install steps for the various fedoras?The install steps haven't changed. All that's different is what systemd units are active by default. For a fresh install the right thing should "just work" out of the box, due to systemd presets. The problem is this ansible script is trying to manually start systemd services, which ignores the fact they shouldn't be running, as they are socket activated, and also doesnt' take into account libvirtd is no longer used on new Fedora/RHEL> I do have things working with info you and Martin Kletzander provided me > but would like to see > a formal list in case there is something else that comes up.With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|