Jędrek Domański
2017-Jul-09 16:49 UTC
Re: [libvirt-users] Ubuntu 16.04 libvirt-guests.sh [6917] - running guests under URI address default: no running guests
Yeah, I know. Sorry for my demanding attitude. Any hints how I could start debugging the problem? 2017-07-09 18:12 GMT+02:00 Dominik Psenner <dpsenner@gmail.com>:> You can't expect anyone to step up happily to fix a problem you > experience. If you're unhappy with the open source solution you have at > least 4 options: > > 1. buy a license for red hat > 2. get customer support from red hat > 3. buy a license for vmware > 4. work out why it doesn't work, give feedback to the community and may > even work out a fix that you can give back to the community. with a bit of > luck the overall open source product could evolve into something better. > > I feel sorry that I couldn't you help any further. Good luck! > > Cheers, > Dominik > > 2017-07-09 0:38 GMT+02:00 Jędrek Domański <jedrek.domanski@gmail.com>: > >> Dominik, >> >> What's the point of including a software to an OS that does not work? >> >> 2017-07-08 18:34 GMT+02:00 Dominik Psenner <dpsenner@gmail.com>: >> >>> I just wanted to point out that you're only resolving the symptom, not >>> the actual cause. At the same time I'm afraid that I don't know what the >>> cause of your problems is. If you don't want to run virsh guests you >>> probably won't need the service, but then what's the point of having >>> libvirt-bin installed in the first place? :-) >>> >>> Cheers >>> >>> 2017-07-07 23:23 GMT+02:00 Jędrek Domański <jedrek.domanski@gmail.com>: >>> >>>> Dominik, >>>> >>>> As far as I am concerned the command provided by Andrea disables >>>> libvirt-guests service at boot. >>>> >>>> jedrek@Home:~$ service libvirt-guests status >>>> ● libvirt-guests.service - Suspend Active Libvirt Guests >>>> Loaded: loaded (/lib/systemd/system/libvirt-guests.service; >>>> *disabled*; vendor preset: enabled) >>>> Active: inactive (dead) >>>> Docs: man:libvirtd(8) >>>> http://libvirt.org >>>> >>>> When you enable/disable a service *sysctemctl *creates a symlink of a >>>> service into the location on disk where systemd looks for autostart files >>>> (usually /etc/systemd/system/some_target.target.wants >>>> >>>> jedrek@Home:~$ ls /etc/systemd/system/ | grep libvirt* >>>> libvirtd.service >>>> >>>> No libvirt-guests.service >>>> >>>> I know this is just a workaround but what's wrong with this? >>>> >>>> >>>> >>>> 2017-07-07 19:13 GMT+02:00 Dominik Psenner <dpsenner@gmail.com>: >>>> >>>>> Note that this disables the shutdown of libvirt guests when the host >>>>> shuts down. >>>>> >>>>> 2017-07-07 16:20 GMT+02:00 Jędrek Domański <jedrek.domanski@gmail.com> >>>>> : >>>>> >>>>>> Andrea, >>>>>> >>>>>> You are a genius!!! :D It's worked :)) Thank yo so much!!! XD >>>>>> >>>>>> 2017-07-07 12:14 GMT+02:00 Andrea Bolognani <abologna@redhat.com>: >>>>>> >>>>>>> On Fri, 2017-07-07 at 09:46 +0200, Jędrek Domański wrote: >>>>>>> > Hi Dominik, >>>>>>> > >>>>>>> > So what is going on on my computer with the script >>>>>>> libvirt-guests.sh? >>>>>>> > Why is it hanging on it? How should I address this problem? >>>>>>> >>>>>>> Not sure what the root cause of your problem is, but you >>>>>>> can use >>>>>>> >>>>>>> # systemctl disable libvirt-guests >>>>>>> >>>>>>> to verify if the script is really what causes shutdown >>>>>>> to hang. It might very well be that it's merely the last >>>>>>> thing producing output before the actual issue occurs. >>>>>>> >>>>>>> -- >>>>>>> Andrea Bolognani / Red Hat / Virtualization >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Dominik Psenner >>>>> >>>> >>>> >>> >>> >>> -- >>> Dominik Psenner >>> >> >> > > > -- > Dominik Psenner >
Dominik Psenner
2017-Jul-09 17:14 UTC
Re: [libvirt-users] Ubuntu 16.04 libvirt-guests.sh [6917] - running guests under URI address default: no running guests
I'm not familiar with the libvirt codebase, but the extension of libvirt-guests.sh indicates that it is a shell script. Maybe you can modify it to find the spot where it hangs? 2017-07-09 18:49 GMT+02:00 Jędrek Domański <jedrek.domanski@gmail.com>:> Yeah, I know. Sorry for my demanding attitude. > > Any hints how I could start debugging the problem? > > 2017-07-09 18:12 GMT+02:00 Dominik Psenner <dpsenner@gmail.com>: > >> You can't expect anyone to step up happily to fix a problem you >> experience. If you're unhappy with the open source solution you have at >> least 4 options: >> >> 1. buy a license for red hat >> 2. get customer support from red hat >> 3. buy a license for vmware >> 4. work out why it doesn't work, give feedback to the community and may >> even work out a fix that you can give back to the community. with a bit of >> luck the overall open source product could evolve into something better. >> >> I feel sorry that I couldn't you help any further. Good luck! >> >> Cheers, >> Dominik >> >> 2017-07-09 0:38 GMT+02:00 Jędrek Domański <jedrek.domanski@gmail.com>: >> >>> Dominik, >>> >>> What's the point of including a software to an OS that does not work? >>> >>> 2017-07-08 18:34 GMT+02:00 Dominik Psenner <dpsenner@gmail.com>: >>> >>>> I just wanted to point out that you're only resolving the symptom, not >>>> the actual cause. At the same time I'm afraid that I don't know what the >>>> cause of your problems is. If you don't want to run virsh guests you >>>> probably won't need the service, but then what's the point of having >>>> libvirt-bin installed in the first place? :-) >>>> >>>> Cheers >>>> >>>> 2017-07-07 23:23 GMT+02:00 Jędrek Domański <jedrek.domanski@gmail.com>: >>>> >>>>> Dominik, >>>>> >>>>> As far as I am concerned the command provided by Andrea disables >>>>> libvirt-guests service at boot. >>>>> >>>>> jedrek@Home:~$ service libvirt-guests status >>>>> ● libvirt-guests.service - Suspend Active Libvirt Guests >>>>> Loaded: loaded (/lib/systemd/system/libvirt-guests.service; >>>>> *disabled*; vendor preset: enabled) >>>>> Active: inactive (dead) >>>>> Docs: man:libvirtd(8) >>>>> http://libvirt.org >>>>> >>>>> When you enable/disable a service *sysctemctl *creates a symlink of a >>>>> service into the location on disk where systemd looks for autostart files >>>>> (usually /etc/systemd/system/some_target.target.wants >>>>> >>>>> jedrek@Home:~$ ls /etc/systemd/system/ | grep libvirt* >>>>> libvirtd.service >>>>> >>>>> No libvirt-guests.service >>>>> >>>>> I know this is just a workaround but what's wrong with this? >>>>> >>>>> >>>>> >>>>> 2017-07-07 19:13 GMT+02:00 Dominik Psenner <dpsenner@gmail.com>: >>>>> >>>>>> Note that this disables the shutdown of libvirt guests when the host >>>>>> shuts down. >>>>>> >>>>>> 2017-07-07 16:20 GMT+02:00 Jędrek Domański <jedrek.domanski@gmail.com >>>>>> >: >>>>>> >>>>>>> Andrea, >>>>>>> >>>>>>> You are a genius!!! :D It's worked :)) Thank yo so much!!! XD >>>>>>> >>>>>>> 2017-07-07 12:14 GMT+02:00 Andrea Bolognani <abologna@redhat.com>: >>>>>>> >>>>>>>> On Fri, 2017-07-07 at 09:46 +0200, Jędrek Domański wrote: >>>>>>>> > Hi Dominik, >>>>>>>> > >>>>>>>> > So what is going on on my computer with the script >>>>>>>> libvirt-guests.sh? >>>>>>>> > Why is it hanging on it? How should I address this problem? >>>>>>>> >>>>>>>> Not sure what the root cause of your problem is, but you >>>>>>>> can use >>>>>>>> >>>>>>>> # systemctl disable libvirt-guests >>>>>>>> >>>>>>>> to verify if the script is really what causes shutdown >>>>>>>> to hang. It might very well be that it's merely the last >>>>>>>> thing producing output before the actual issue occurs. >>>>>>>> >>>>>>>> -- >>>>>>>> Andrea Bolognani / Red Hat / Virtualization >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Dominik Psenner >>>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> Dominik Psenner >>>> >>> >>> >> >> >> -- >> Dominik Psenner >> > >-- Dominik Psenner
Andrea Bolognani
2017-Jul-10 06:36 UTC
Re: [libvirt-users] Ubuntu 16.04 libvirt-guests.sh [6917] - running guests under URI address default: no running guests
On Sun, 2017-07-09 at 19:14 +0200, Dominik Psenner wrote:> I'm not familiar with the libvirt codebase, but the > extension of libvirt-guests.sh indicates that it is a > shell script. Maybe you can modify it to find the spot > where it hangs?That's indeed the case. On Debian/Ubuntu system, the script is installed as /usr/lib/libvirt/libvirt-guests.sh and you can definitely try debugging it if you're familiar with shell scripting. I installed both libvirt-bin and qemu-kvm in an Ubuntu 16.04 guest in an attempt to reproduce the issue you're having but I was unsuccessful, so I'm afraid I can't really help you much further. It would probably be a good idea to open a downstream bug report with your vendor, as they might have an easier time reproducing the issue. It's worth noting that the libvirt version included in Ubuntu 16.04 is a bit old (it was released a year and a half ago), however the libvirt-guests script hasn't changed very much in the meantime. -- Andrea Bolognani / Red Hat / Virtualization
Possibly Parallel Threads
- Re: Ubuntu 16.04 libvirt-guests.sh [6917] - running guests under URI address default: no running guests
- Re: Ubuntu 16.04 libvirt-guests.sh [6917] - running guests under URI address default: no running guests
- Re: Ubuntu 16.04 libvirt-guests.sh [6917] - running guests under URI address default: no running guests
- Re: Ubuntu 16.04 libvirt-guests.sh [6917] - running guests under URI address default: no running guests
- Re: Ubuntu 16.04 libvirt-guests.sh [6917] - running guests under URI address default: no running guests