FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora/Linux Management Tools

 
 
LinkBack Thread Tools
 
Old 01-07-2009, 10:51 PM
Nerijus Baliunas
 
Default No domains available for this guest

Hello,

again F10, running
virt-install -n skaita -r 10 --disk path=/var/lib/libvirt/images/skaita.img,size=5 --cdrom /a/freedos/fdbasecd.iso -w bridge:br0 --vnc --accelerate --os-type=other --os-variant=msdos
gives:
ERROR No domains available for this guest.
Traceback (most recent call last):
File "/usr/sbin/virt-install", line 692, in <module>
main()
File "/usr/sbin/virt-install", line 539, in main
domain = guest.bestDomainType(options.accelerate)
File "/usr/lib/python2.5/site-packages/virtinst/CapabilitiesParser.py", line 168, in bestDomainType
raise CapabilitiesParserException(_("No domains available for this guest."))
CapabilitiesParserException: No domains available for this guest.

Tried adding --connect=qemu:///system, didn't help. I was able to run the same command succesfully
on 2 other similar PCs with F10.

Regards,
Nerijus

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 01-12-2009, 07:48 PM
Cole Robinson
 
Default No domains available for this guest

Nerijus Baliunas wrote:
> Hello,
>
> again F10, running
> virt-install -n skaita -r 10 --disk path=/var/lib/libvirt/images/skaita.img,size=5 --cdrom /a/freedos/fdbasecd.iso -w bridge:br0 --vnc --accelerate --os-type=other --os-variant=msdos
> gives:
> ERROR No domains available for this guest.
> Traceback (most recent call last):
> File "/usr/sbin/virt-install", line 692, in <module>
> main()
> File "/usr/sbin/virt-install", line 539, in main
> domain = guest.bestDomainType(options.accelerate)
> File "/usr/lib/python2.5/site-packages/virtinst/CapabilitiesParser.py", line 168, in bestDomainType
> raise CapabilitiesParserException(_("No domains available for this guest."))
> CapabilitiesParserException: No domains available for this guest.
>
> Tried adding --connect=qemu:///system, didn't help. I was able to run the same command succesfully
> on 2 other similar PCs with F10.
>

Hmm, if you haven't restarted libvirtd since installing qemu or kvm, try
a 'service libvirtd restart'. This will make libvirt aware of the
changes and hopefully fix the above problem.

Thanks,
Cole

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 01-12-2009, 09:08 PM
Nerijus Baliunas
 
Default No domains available for this guest

On Mon, 12 Jan 2009 15:48:04 -0500 Cole Robinson <crobinso@redhat.com> wrote:

> Hmm, if you haven't restarted libvirtd since installing qemu or kvm, try
> a 'service libvirtd restart'. This will make libvirt aware of the
> changes and hopefully fix the above problem.

I restarted libvirtd a few times. I will try again when I reboot the PC.

Regards,
Nerijus

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 01-13-2009, 02:02 PM
Nerijus Baliunas
 
Default No domains available for this guest

On Tue, 13 Jan 2009 00:08:39 +0200 Nerijus Baliunas <nerijus@users.sourceforge.net> wrote:

> > Hmm, if you haven't restarted libvirtd since installing qemu or kvm, try
> > a 'service libvirtd restart'. This will make libvirt aware of the
> > changes and hopefully fix the above problem.
>
> I restarted libvirtd a few times. I will try again when I reboot the PC.

Now it works. I installed both kvm and libvirt at the same time:

Jan 07 15:45:31 Installed: etherboot-roms-kvm-5.4.4-4.fc10.i386
Jan 07 15:45:33 Installed: kvm-74-10.fc10.i386
Jan 07 15:49:34 Installed: xen-libs-3.3.0-1.fc10.i386
Jan 07 15:49:35 Installed: gtk-vnc-0.3.8-1.fc10.i386
Jan 07 15:49:35 Installed: gtk-vnc-python-0.3.8-1.fc10.i386
Jan 07 15:49:37 Installed: iscsi-initiator-utils-6.2.0.870-1.0.fc10.i386
Jan 07 15:49:37 Installed: bridge-utils-1.2-6.fc10.i386
Jan 07 15:49:37 Installed: qemu-img-0.9.1-10.fc10.i386
Jan 07 15:49:41 Installed: libvirt-0.5.1-2.fc10.i386
Jan 07 15:49:43 Installed: libvirt-python-0.5.1-2.fc10.i386
Jan 07 15:49:43 Installed: gnome-python2-gnomekeyring-2.23.0-1.fc10.i386
Jan 07 15:49:44 Installed: virt-viewer-0.0.3-3.fc10.i386
Jan 07 15:49:46 Installed: python-virtinst-0.400.0-5.fc10.noarch
Jan 07 15:49:46 Installed: virt-df-2.1.4-2.fc10.i386
Jan 07 15:49:50 Installed: virt-manager-0.6.0-5.fc10.i386
Jan 07 15:49:52 Installed: virt-top-1.0.3-2.fc10.i386
Jan 07 15:49:53 Installed: virt-mem-0.2.9-6.fc10.i386

But 'service libvirtd restart' did not help, it started to work only after reboot.
Any ideas what else should have been restarted?

Regards,
Nerijus

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 01-13-2009, 02:22 PM
Cole Robinson
 
Default No domains available for this guest

Nerijus Baliunas wrote:
> On Tue, 13 Jan 2009 00:08:39 +0200 Nerijus Baliunas <nerijus@users.sourceforge.net> wrote:
>
>
>>> Hmm, if you haven't restarted libvirtd since installing qemu or kvm, try
>>> a 'service libvirtd restart'. This will make libvirt aware of the
>>> changes and hopefully fix the above problem.
>>>
>> I restarted libvirtd a few times. I will try again when I reboot the PC.
>>
>
> Now it works. I installed both kvm and libvirt at the same time:
>
> Jan 07 15:45:31 Installed: etherboot-roms-kvm-5.4.4-4.fc10.i386
> Jan 07 15:45:33 Installed: kvm-74-10.fc10.i386
> Jan 07 15:49:34 Installed: xen-libs-3.3.0-1.fc10.i386
> Jan 07 15:49:35 Installed: gtk-vnc-0.3.8-1.fc10.i386
> Jan 07 15:49:35 Installed: gtk-vnc-python-0.3.8-1.fc10.i386
> Jan 07 15:49:37 Installed: iscsi-initiator-utils-6.2.0.870-1.0.fc10.i386
> Jan 07 15:49:37 Installed: bridge-utils-1.2-6.fc10.i386
> Jan 07 15:49:37 Installed: qemu-img-0.9.1-10.fc10.i386
> Jan 07 15:49:41 Installed: libvirt-0.5.1-2.fc10.i386
> Jan 07 15:49:43 Installed: libvirt-python-0.5.1-2.fc10.i386
> Jan 07 15:49:43 Installed: gnome-python2-gnomekeyring-2.23.0-1.fc10.i386
> Jan 07 15:49:44 Installed: virt-viewer-0.0.3-3.fc10.i386
> Jan 07 15:49:46 Installed: python-virtinst-0.400.0-5.fc10.noarch
> Jan 07 15:49:46 Installed: virt-df-2.1.4-2.fc10.i386
> Jan 07 15:49:50 Installed: virt-manager-0.6.0-5.fc10.i386
> Jan 07 15:49:52 Installed: virt-top-1.0.3-2.fc10.i386
> Jan 07 15:49:53 Installed: virt-mem-0.2.9-6.fc10.i386
>
> But 'service libvirtd restart' did not help, it started to work only after reboot.
> Any ideas what else should have been restarted

The kvm rpm does not load the necessary kernel modules at install time.
You would need to modprobe kvm-intel or kvm-amd depending on your cpu,
restart libvirtd, and then everything should work.

The need to restart libvirtd is a known bug here, but the loading of
modules (or system reboot) is unavoidable.

Thanks,
Cole

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 
Old 01-13-2009, 02:34 PM
Nerijus Baliunas
 
Default No domains available for this guest

On Tue, 13 Jan 2009 10:22:57 -0500 Cole Robinson <crobinso@redhat.com> wrote:

> The kvm rpm does not load the necessary kernel modules at install time.
> You would need to modprobe kvm-intel or kvm-amd depending on your cpu,
> restart libvirtd, and then everything should work.

IIRC I did it - just checked in bash history - yes, modprobe kvm_intel is here.
But it could be I did not restart libvirtd after modprobing kvm_intel.

> The need to restart libvirtd is a known bug here, but the loading of
> modules (or system reboot) is unavoidable.

Regards,
Nerijus

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 

Thread Tools




All times are GMT. The time now is 03:23 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org