I have tried to define a domain or using virt-install both failed. Could some one give me the correct command to do this? I used: virt-install --nographics --paravirt --os-type=solaris --os-variant=opensolaris --ram 1024 --name cam-host --disk path=/dev/dsk/c0t600A0B800049E902000008EB4A9CE744d0p0,driver=phy -l /export/media_images/sol-nv-b121-x86-dvd.iso thx, florian
Am 01.09.2009 11:31, schrieb Henry Pepper:> Hi > I''ve never tried it with a ''/dev/dsk'' > > Using a std file it works with: > virt-install -n cam-host --nographics --paravirt --ram=1024 > --mac="00:16:3e:00:10:A1" --file /common/xvm/camhost.xvm > --location=/common/packages/iso/sol-nv-b121-x86-dvd.iso --file-size=16 > > What version of the OS are you using as base? > cat /etc/releasecat /etc/release OpenSolaris 2009.06 snv_111b X86 Copyright 2009 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms. Assembled 07 May 2009 Florian> > Henry > > > On Tue, Sep 1, 2009 at 10:57 AM, Florian > Manschwetus<florianmanschwetus@gmx.de> wrote: >> Am 01.09.2009 10:33, schrieb Henry Pepper: >>> >>> This at least used to work: >>> >>> http://wikis.sun.com/display/BigAdmin/xVM+short+cuts+for+noobs#xVMshortcutsfornoobs-OpenSolarisExpresssnv107 >>> >>> Henry >> >> Hm, I tried to rewrite it for my concerns but didn''t work. >> I pasted the error of both variants I tried just at the bottom >> >> Thx, >> Florian >>> >>> On Tue, Sep 1, 2009 at 10:12 AM, Florian >>> Manschwetus<florianmanschwetus@gmx.de> wrote: >>>> >>>> I have tried to define a domain or using virt-install both failed. >>>> >>>> Could some one give me the correct command to do this? >>>> >>>> I used: >>>> virt-install --nographics --paravirt --os-type=solaris >>>> --os-variant=opensolaris --ram 1024 --name cam-host --disk >>>> path=/dev/dsk/c0t600A0B800049E902000008EB4A9CE744d0p0,driver=phy -l >>>> /export/media_images/sol-nv-b121-x86-dvd.iso >>>> >>>> thx, >>>> florian >>>> >>>> >>>> _______________________________________________ >>>> xen-discuss mailing list >>>> xen-discuss@opensolaris.org >>>> >>> >> >> virt-install -n cam-host --nographics --paravirt --ram=1024 >> --mac="00:16:3e:00:10:A1" --file >> /dev/dsk/c0t600A0B800049E902000008EB4A9CE744d0p0 -l >> /export/media_images/sol-nv-b121-x86-dvd.iso >> ERROR server closed connection >> Traceback (most recent call last): >> File "/usr/bin/virt-install", line 860, in ? >> main() >> File "/usr/bin/virt-install", line 674, in main >> options.sparse, options.nodisks, guest, ishvm, conn) >> File "/usr/bin/virt-install", line 255, in get_disks >> is_file_path), disk, size) >> File "/usr/bin/virt-install", line 255, in<lambda> >> is_file_path), disk, size) >> File "/usr/bin/virt-install", line 216, in get_disk >> if d.is_conflict_disk(conn) is True: >> File >> "/export/home/tkadmin/xvm-3.4///proto/install/usr/lib/python2.4/site-packages/virtinst/VirtualDisk.py", >> line 822, in is_conflict_disk >> File "libvirt.py", line 235, in XMLDesc >> if ret is None: raise libvirtError (''virDomainGetXMLDesc() failed'', >> dom=self) >> libvirtError: server closed connection >> root@jupiter:~# virt-install -n cam-host --nographics --paravirt --ram=1024 >> --mac="00:16:3e:00:10:A1" >> --disk="path=/dev/dsk/c0t600A0B800049E902000008EB4A9CE744d0p0,driver=phy" -l >> /export/media_images/sol-nv-b121-x86-dvd.iso >> ERROR server closed connection >> Traceback (most recent call last): >> File "/usr/bin/virt-install", line 860, in ? >> main() >> File "/usr/bin/virt-install", line 674, in main >> options.sparse, options.nodisks, guest, ishvm, conn) >> File "/usr/bin/virt-install", line 255, in get_disks >> is_file_path), disk, size) >> File "/usr/bin/virt-install", line 255, in<lambda> >> is_file_path), disk, size) >> File "/usr/bin/virt-install", line 216, in get_disk >> if d.is_conflict_disk(conn) is True: >> File >> "/export/home/tkadmin/xvm-3.4///proto/install/usr/lib/python2.4/site-packages/virtinst/VirtualDisk.py", >> line 822, in is_conflict_disk >> File "libvirt.py", line 235, in XMLDesc >> if ret is None: raise libvirtError (''virDomainGetXMLDesc() failed'', >> dom=self) >> libvirtError: server closed connection >> >> >
On Tue, Sep 01, 2009 at 10:12:02AM +0200, Florian Manschwetus wrote:> I have tried to define a domain or using virt-install both failed.You haven''t given the failure. Also check /var/log/xen/ regards john
Am 01.09.2009 11:55, schrieb John Levon:> On Tue, Sep 01, 2009 at 10:12:02AM +0200, Florian Manschwetus wrote: > >> I have tried to define a domain or using virt-install both failed. > > You haven''t given the failure. Also check /var/log/xen/ > > regards > john >What you need in detail? Florian pfexec virt-install --nographics --paravirt --os-type=solaris --os-variant=opensolaris --ram 1024 --name cam-host -f /dev/dsk/c0t600A0B800049E902000008EB4A9CE744d0p0 -l /export/media_images/sol-nv-b121-x86-dvd.iso ERROR server closed connection Traceback (most recent call last): File "/usr/bin/virt-install", line 860, in ? main() File "/usr/bin/virt-install", line 674, in main options.sparse, options.nodisks, guest, ishvm, conn) File "/usr/bin/virt-install", line 255, in get_disks is_file_path), disk, size) File "/usr/bin/virt-install", line 255, in <lambda> is_file_path), disk, size) File "/usr/bin/virt-install", line 216, in get_disk if d.is_conflict_disk(conn) is True: File "/export/home/tkadmin/xvm-3.4///proto/install/usr/lib/python2.4/site-packages/virtinst/VirtualDisk.py", line 822, in is_conflict_disk File "libvirt.py", line 235, in XMLDesc if ret is None: raise libvirtError (''virDomainGetXMLDesc() failed'', dom=self) libvirtError: server closed connection
On Tue, Sep 01, 2009 at 03:55:30PM +0200, Florian Manschwetus wrote:> >>I have tried to define a domain or using virt-install both failed. > > > >You haven''t given the failure. Also check /var/log/xen/ > > > >regards > >john > > > What you need in detail? > > Florian > > pfexec virt-install --nographics --paravirt --os-type=solaris > --os-variant=opensolaris --ram 1024 --name cam-host -f > /dev/dsk/c0t600A0B800049E902000008EB4A9CE744d0p0 -l > /export/media_images/sol-nv-b121-x86-dvd.iso > ERROR server closed connection > Traceback (most recent call last):This looks like libvirtd crashed. Please make sure you have set up coreadm as described here and reproduce: http://opensolaris.org/os/community/xen/docs/configuring-dom0/ Then pstack the core file you get. regards john
Am 01.09.2009 16:08, schrieb John Levon:> On Tue, Sep 01, 2009 at 03:55:30PM +0200, Florian Manschwetus wrote: > >>>> I have tried to define a domain or using virt-install both failed. >>> >>> You haven''t given the failure. Also check /var/log/xen/ >>> >>> regards >>> john >>> >> What you need in detail? >> >> Florian >> >> pfexec virt-install --nographics --paravirt --os-type=solaris >> --os-variant=opensolaris --ram 1024 --name cam-host -f >> /dev/dsk/c0t600A0B800049E902000008EB4A9CE744d0p0 -l >> /export/media_images/sol-nv-b121-x86-dvd.iso >> ERROR server closed connection >> Traceback (most recent call last): > > This looks like libvirtd crashed. Please make sure you have set up > coreadm as described here and reproduce: > > http://opensolaris.org/os/community/xen/docs/configuring-dom0/ > > Then pstack the core file you get. > > regards > john >pfexec pstack /var/cores/core.libvirtd.13588 core ''/var/cores/core.libvirtd.13588'' of 13588: /usr/lib/libvirtd -d ----------------- lwp# 1 / thread# 1 -------------------- 00007fffff263f4a __pollsys () + a 00007fffff203d0a poll () + 62 000000000041829f virEventRunOnce () + 9f 000000000041a779 qemudOneLoop () + 9 000000000041aa55 qemudRunLoop () + 155 000000000041c397 main () + 637 00000000004173fc ???????? () ----------------- lwp# 2 / thread# 2 -------------------- 00007fffff25b177 __lwp_park () + 17 00007fffff254670 cond_wait_queue () + 68 00007fffff254bb3 __cond_wait () + 7b 00007fffff254c0b cond_wait () + 23 00007fffff254c41 pthread_cond_wait () + 9 00007ffffdb68659 virCondWait () + 9 0000000000419d9a qemudWorker () + 4a 00007fffff25ae75 _thrp_setup () + 8d 00007fffff25b130 _lwp_start () ----------------- lwp# 3 / thread# 3 -------------------- 00007fffff1ca240 strcmp () + 90 ----------------- lwp# 4 / thread# 4 -------------------- 00007fffff25b177 __lwp_park () + 17 00007fffff254670 cond_wait_queue () + 68 00007fffff254bb3 __cond_wait () + 7b 00007fffff254c0b cond_wait () + 23 00007fffff254c41 pthread_cond_wait () + 9 00007ffffdb68659 virCondWait () + 9 0000000000419d9a qemudWorker () + 4a 00007fffff25ae75 _thrp_setup () + 8d 00007fffff25b130 _lwp_start () ----------------- lwp# 5 / thread# 5 -------------------- 00007fffff25b177 __lwp_park () + 17 00007fffff254670 cond_wait_queue () + 68 00007fffff254bb3 __cond_wait () + 7b 00007fffff254c0b cond_wait () + 23 00007fffff254c41 pthread_cond_wait () + 9 00007ffffdb68659 virCondWait () + 9 0000000000419d9a qemudWorker () + 4a 00007fffff25ae75 _thrp_setup () + 8d 00007fffff25b130 _lwp_start () ----------------- lwp# 6 / thread# 6 -------------------- 00007fffff25b177 __lwp_park () + 17 00007fffff254670 cond_wait_queue () + 68 00007fffff254bb3 __cond_wait () + 7b 00007fffff254c0b cond_wait () + 23 00007fffff254c41 pthread_cond_wait () + 9 00007ffffdb68659 virCondWait () + 9 0000000000419d9a qemudWorker () + 4a 00007fffff25ae75 _thrp_setup () + 8d 00007fffff25b130 _lwp_start () ----------------- lwp# 7 / thread# 7 -------------------- 00007fffff26405a __read () + a 00007ffffe503306 read_all () + 26 00007ffffe5035d8 read_message () + 48 00007ffffe5045f8 read_thread () + 18 00007fffff25ae75 _thrp_setup () + 8d 00007fffff25b130 _lwp_start ()
Hi Florian, > File "/export/home/tkadmin/xvm-3.4///proto/install/usr/lib/python2.4/site-packages/virtinst/VirtualDisk.py", line 822, It looks like your using 3.4 bits om dom0? What does virsh version report? How recently did you sync up with the 3.4 bits? MRJ
On Tue, Sep 01, 2009 at 04:13:30PM +0200, Florian Manschwetus wrote:> ----------------- lwp# 3 / thread# 3 -------------------- > > 00007fffff1ca240 strcmp () + 90Do you have any other domains defined apart from the one you''re creating? If so, can you please attach xm list -l for each one of the domains. you can try xm delete on each of your pre-defined domains to work around the problem too regards john
Am 01.09.2009 16:18, schrieb Mark Johnson:> > Hi Florian, > > > File > "/export/home/tkadmin/xvm-3.4///proto/install/usr/lib/python2.4/site-packages/virtinst/VirtualDisk.py", > line 822, > > It looks like your using 3.4 bits om dom0? What does virsh version > report? How recently did you sync up with the 3.4 bits? > > > > MRJ > > > > > >Not recently, exactly this is starting work for sync up. I need to get cam away from dom0 (won''t work reliable with osol bits). So I need an sxce guest. Florian
Am 01.09.2009 16:18, schrieb Mark Johnson:> > Hi Florian, > > > File > "/export/home/tkadmin/xvm-3.4///proto/install/usr/lib/python2.4/site-packages/virtinst/VirtualDisk.py", > line 822, > > It looks like your using 3.4 bits om dom0? What does virsh version > report? How recently did you sync up with the 3.4 bits? > > > > MRJ > > > > > >virsh version Compiled against library: libvir 0.6.4 Using library: libvir 0.6.4 Using API: Xen 3.0.1 Running hypervisor: Xen 3.4
Am 01.09.2009 16:18, schrieb Mark Johnson:> > Hi Florian, > > > File > "/export/home/tkadmin/xvm-3.4///proto/install/usr/lib/python2.4/site-packages/virtinst/VirtualDisk.py", > line 822, > > It looks like your using 3.4 bits om dom0? What does virsh version > report? How recently did you sync up with the 3.4 bits? > > > > MRJ > > > > > >Ok, here comes the big one. As asked by John. Florian
Florian Manschwetus wrote:> Am 01.09.2009 16:18, schrieb Mark Johnson: >> >> Hi Florian, >> >> > File >> "/export/home/tkadmin/xvm-3.4///proto/install/usr/lib/python2.4/site-packages/virtinst/VirtualDisk.py", >> >> line 822, >> >> It looks like your using 3.4 bits om dom0? What does virsh version >> report? How recently did you sync up with the 3.4 bits? >> >> >> >> MRJ >> >> >> >> >> >> > > virsh version > Compiled against library: libvir 0.6.4 > Using library: libvir 0.6.4 > Using API: Xen 3.0.1 > Running hypervisor: Xen 3.4Can you try the latest bits (you only need to pkgrm SUNWlibvirt, pkgadd SUNWlibvirt if you want. That has libvirt 0.7.0 which has a bunch of bug fixes... MRJ
Am 01.09.2009 17:57, schrieb Mark Johnson:> > > Florian Manschwetus wrote: >> Am 01.09.2009 16:18, schrieb Mark Johnson: >>> >>> Hi Florian, >>> >>> > File >>> "/export/home/tkadmin/xvm-3.4///proto/install/usr/lib/python2.4/site-packages/virtinst/VirtualDisk.py", >>> >>> line 822, >>> >>> It looks like your using 3.4 bits om dom0? What does virsh version >>> report? How recently did you sync up with the 3.4 bits? >>> >>> >>> >>> MRJ >>> >>> >>> >>> >>> >>> >> >> virsh version >> Compiled against library: libvir 0.6.4 >> Using library: libvir 0.6.4 >> Using API: Xen 3.0.1 >> Running hypervisor: Xen 3.4 > > Can you try the latest bits (you only need to pkgrm SUNWlibvirt, pkgadd > SUNWlibvirt > if you want. > > That has libvirt 0.7.0 which has a bunch of bug fixes... > > > > MRJ > >could I do this even in a bfu''d enviroment? Florian
Florian Manschwetus wrote:> Am 01.09.2009 17:57, schrieb Mark Johnson: >> >> Can you try the latest bits (you only need to pkgrm SUNWlibvirt, pkgadd >> SUNWlibvirt >> if you want. >> >> That has libvirt 0.7.0 which has a bunch of bug fixes... >> > could I do this even in a bfu''d enviroment? >Yes, the SUNWlibvirt package is not part of the BFU image. MRJ
Am 01.09.2009 19:24, schrieb Mark Johnson:> > > Florian Manschwetus wrote: >> Am 01.09.2009 17:57, schrieb Mark Johnson: >>> >>> Can you try the latest bits (you only need to pkgrm SUNWlibvirt, pkgadd >>> SUNWlibvirt >>> if you want. >>> >>> That has libvirt 0.7.0 which has a bunch of bug fixes... >>> >> could I do this even in a bfu''d enviroment? >> > > Yes, the SUNWlibvirt package is not part of the BFU image. > > > > MRJ >Uhm, cold you give me in short the needed steps (updating / recompiling what?) and the packages needed to be reinstalled? Florian
Am 01.09.2009 20:11, schrieb Florian Manschwetus:> Am 01.09.2009 19:24, schrieb Mark Johnson: >> >> >> Florian Manschwetus wrote: >>> Am 01.09.2009 17:57, schrieb Mark Johnson: >>>> >>>> Can you try the latest bits (you only need to pkgrm SUNWlibvirt, pkgadd >>>> SUNWlibvirt >>>> if you want. >>>> >>>> That has libvirt 0.7.0 which has a bunch of bug fixes... >>>> >>> could I do this even in a bfu''d enviroment? >>> >> >> Yes, the SUNWlibvirt package is not part of the BFU image. >> >> >> >> MRJ >> > Uhm, cold you give me in short the needed steps (updating / recompiling > what?) and the packages needed to be reinstalled? > > FlorianOk, resynced all and rebuild. Reinstalled the 3 packages. Now it seems to work. Florian> > > ------------------------------------------------------------------------ > > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org