Hi all, The first time(at least, It''s been two also) I start any domain in snv_130 i get an error : $ xm start arneos01 Error: (1, ''Not owner'') or $ virsh start arneos01 error: Failed to start domain arneos01 error: POST operation failed: xend_post: error from xen daemon: (xend.err "(1, ''Not owner'')") $ id uid=0(root) gid=0(root) groups=242(front) $ uname -a SunOS shodan 5.11 snv_130 i86pc i386 i86xpv Solaris /var/log/xen/xend.log <snip> [2009-12-30 12:01:14 628] DEBUG (XendDomainInfo:2385) XendDomainInfo.constructDomain [2009-12-30 12:01:14 628] DEBUG (balloon:166) Balloon: 130748 KiB free; need 4096; done. [2009-12-30 12:01:14 628] DEBUG (XendDomain:454) Adding Domain: 1 [2009-12-30 12:01:14 628] DEBUG (XendDomainInfo:2586) XendDomainInfo.initDomain: 1 256 [2009-12-30 12:01:14 940] DEBUG (XendBootloader:113) Launching bootloader as [''/usr/lib/xen/bin/pygrub'', ''--output=/var/run/xend/boot/xenbl.2097'', ''/dev/zvol/dsk/zpool01/xvm/arneos01-00'']. [2009-12-30 12:01:37 628] DEBUG (XendDomainInfo:2610) _initDomain:shadow_memory=0x0, memory_static_max=0x20000000, memory_static_min=0x0. [2009-12-30 12:01:37 628] DEBUG (balloon:172) Balloon: 130632 KiB free; 0 to scrub; need 526336; retries: 20. [2009-12-30 12:01:37 628] DEBUG (balloon:187) Balloon: setting dom0 target to 7450 MiB. [2009-12-30 12:01:37 628] DEBUG (XendDomainInfo:1316) Setting memory target of domain Domain-0 (0) to 7450 MiB. [2009-12-30 12:01:37 628] ERROR (XendDomainInfo:2668) XendDomainInfo.initDomain: exception occurred Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 2624, in _initDomain File "/usr/lib/python2.4/site-packages/xen/xend/balloon.py", line 188, in free File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1335, in setMemoryTarget Error: (1, ''Not owner'') [2009-12-30 12:01:37 628] ERROR (XendDomainInfo:477) VM start failed Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 457, in start File "/usr/lib/python2.4/site-packages/xen/xend/XendTask.py", line 209, in log_progress File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 2671, in _initDomain VmError: (1, ''Not owner'') [2009-12-30 12:01:37 628] DEBUG (XendDomainInfo:2814) XendDomainInfo.destroy: domid=1 [2009-12-30 12:01:37 628] DEBUG (XendDomainInfo:2288) Destroying device model [2009-12-30 12:01:37 628] DEBUG (XendDomainInfo:2295) Releasing devices </snip> Before I dig any deeper, have anyone seen this before, I found no bugs filed only a mail from this summer with no solution. Regards Henrik http://sparcv9.blogspot.com
To work with xvm as root (b130,129,128,...,124) Login as user, created during installation. $ xhost + $ pfexec su - # export DISPLAY=:0.0 # virt-install -n VM1 -r 1024 --paravirtual --nographics \ . . . # virsh list # virsh start VM1 # virsh console VM1 It works for me. I''ve heard about "xvm" account, but didn''t care to much to learn about it. If i need vncviewer localhost:0 , DISPLAY has been exported and "xhost +" issued from original X-terminal. ________________________________ From: Henrik Johansson <henrikj@henkis.net> To: xen-discuss@opensolaris.org Sent: Wed, December 30, 2009 2:21:27 PM Subject: [xen-discuss] Not owner when starting domU in b130 Hi all, The first time(at least, It''s been two also) I start any domain in snv_130 i get an error : $ xm start arneos01 Error: (1, ''Not owner'') or $ virsh start arneos01 error: Failed to start domain arneos01 error: POST operation failed: xend_post: error from xen daemon: (xend.err "(1, ''Not owner'')") $ id uid=0(root) gid=0(root) groups=242(front) $ uname -a SunOS shodan 5.11 snv_130 i86pc i386 i86xpv Solaris /var/log/xen/xend.log <snip> [2009-12-30 12:01:14 628] DEBUG (XendDomainInfo:2385) XendDomainInfo.constructDomain [2009-12-30 12:01:14 628] DEBUG (balloon:166) Balloon: 130748 KiB free; need 4096; done. [2009-12-30 12:01:14 628] DEBUG (XendDomain:454) Adding Domain: 1 [2009-12-30 12:01:14 628] DEBUG (XendDomainInfo:2586) XendDomainInfo.initDomain: 1 256 [2009-12-30 12:01:14 940] DEBUG (XendBootloader:113) Launching bootloader as [''/usr/lib/xen/bin/pygrub'', ''--output=/var/run/xend/boot/xenbl.2097'', ''/dev/zvol/dsk/zpool01/xvm/arneos01-00'']. [2009-12-30 12:01:37 628] DEBUG (XendDomainInfo:2610) _initDomain:shadow_memory=0x0, memory_static_max=0x20000000, memory_static_min=0x0. [2009-12-30 12:01:37 628] DEBUG (balloon:172) Balloon: 130632 KiB free; 0 to scrub; need 526336; retries: 20. [2009-12-30 12:01:37 628] DEBUG (balloon:187) Balloon: setting dom0 target to 7450 MiB. [2009-12-30 12:01:37 628] DEBUG (XendDomainInfo:1316) Setting memory target of domain Domain-0 (0) to 7450 MiB. [2009-12-30 12:01:37 628] ERROR (XendDomainInfo:2668) XendDomainInfo.initDomain: exception occurred Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 2624, in _initDomain File "/usr/lib/python2.4/site-packages/xen/xend/balloon.py", line 188, in free File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1335, in setMemoryTarget Error: (1, ''Not owner'') [2009-12-30 12:01:37 628] ERROR (XendDomainInfo:477) VM start failed Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 457, in start File "/usr/lib/python2.4/site-packages/xen/xend/XendTask.py", line 209, in log_progress File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 2671, in _initDomain VmError: (1, ''Not owner'') [2009-12-30 12:01:37 628] DEBUG (XendDomainInfo:2814) XendDomainInfo.destroy: domid=1 [2009-12-30 12:01:37 628] DEBUG (XendDomainInfo:2288) Destroying device model [2009-12-30 12:01:37 628] DEBUG (XendDomainInfo:2295) Releasing devices </snip> Before I dig any deeper, have anyone seen this before, I found no bugs filed only a mail from this summer with no solution. Regards Henrik http://sparcv9.blogspot.com/
Hello, On Dec 30, 2009, at 12:50 PM, Boris Derzhavets wrote:> To work with xvm as root (b130,129,128,...,124) > Login as user, created during installation. > > $ xhost + > $ pfexec su - > # export DISPLAY=:0.0 > > # virt-install -n VM1 -r 1024 --paravirtual --nographics \ > . . . > > # virsh list > # virsh start VM1 > # virsh console VM1 > > It works for me. > I''ve heard about "xvm" account, but didn''t care to much to learn about it. > If i need vncviewer localhost:0 , DISPLAY has been exported and "xhost +" > issued from original X-terminal.This was done with superuser privileges (pfexec), it has been working fine since before b100, it changed when XEN 3.4 integrated. I do not use X, only virsh or xm from the shell. Thanks Henrik http://sparcv9.blogspot.com
Henrik, Sorry, but it works . The only one difference. I''ve built xVM 3.4.2 from source. Link http://dlc.sun.com/osol/on/downloads/b130/ # wget http://dlc.sun.com/osol/on/downloads/b130/xvm-src.tar.bz2 to be able to apply MRJ''s ext4 patch for pygrub ($XVM_WS/xen.hg) View for details:- http://opensolaris.org/jive/thread.jspa?threadID=120192&tstart=0 http://www.fsdaily.com/HighEnd/Virsh_building_Fedora_12_PV_Guest_at_xVM_3_4_2_b130_129 Boris. P.S. I meant usual gnome terminal , to issue "xhost +" , before "pfexec su -". ________________________________ From: Henrik Johansson <henrikj@henkis.net> To: Boris Derzhavets <bderzhavets@yahoo.com> Cc: xen-discuss@opensolaris.org Sent: Wed, December 30, 2009 4:02:39 PM Subject: Re: [xen-discuss] Not owner when starting domU in b130 Hello, On Dec 30, 2009, at 12:50 PM, Boris Derzhavets wrote: To work with xvm as root (b130,129,128,...,124)>Login as user, created during installation. > >$ xhost + >$ pfexec su - ># export DISPLAY=:0.0 > ># virt-install -n VM1 -r 1024 --paravirtual --nographics \ > . . . > ># virsh list ># virsh start VM1 ># virsh console VM1 > > >It works for me. >I''ve heard about "xvm" account, but didn''t care to much to learn about it. >If i need vncviewer localhost:0 , DISPLAY has been exported and "xhost +" >issued from original X-terminal.This was done with superuser privileges (pfexec), it has been working fine since before b100, it changed when XEN 3.4 integrated. I do not use X, only virsh or xm from the shell. Thanks Henrik http://sparcv9.blogspot.com/
Henrik Johansson wrote:> Hi all, > > The first time(at least, It''s been two also) I start any domain in > snv_130 i get an error : > > $ xm start arneos01 > Error: (1, ''Not owner'') > > or > > $ virsh start arneos01 > error: Failed to start domain arneos01 > error: POST operation failed: xend_post: error from xen daemon: > (xend.err "(1, ''Not owner'')") > > $ id > uid=0(root) gid=0(root) groups=242(front) > $ uname -a > SunOS shodan 5.11 snv_130 i86pc i386 i86xpv Solaris > > /var/log/xen/xend.log > <snip> > [2009-12-30 12:01:14 628] DEBUG (XendDomainInfo:2385) > XendDomainInfo.constructDomain > [2009-12-30 12:01:14 628] DEBUG (balloon:166) Balloon: 130748 KiB > free; need 4096; done. > [2009-12-30 12:01:14 628] DEBUG (XendDomain:454) Adding Domain: 1 > [2009-12-30 12:01:14 628] DEBUG (XendDomainInfo:2586) > XendDomainInfo.initDomain: 1 256 > [2009-12-30 12:01:14 940] DEBUG (XendBootloader:113) Launching > bootloader as [''/usr/lib/xen/bin/pygrub'', > ''--output=/var/run/xend/boot/xenbl.2097'', > ''/dev/zvol/dsk/zpool01/xvm/arneos01-00'']. > [2009-12-30 12:01:37 628] DEBUG (XendDomainInfo:2610) > _initDomain:shadow_memory=0x0, memory_static_max=0x20000000, > memory_static_min=0x0. > [2009-12-30 12:01:37 628] DEBUG (balloon:172) Balloon: 130632 KiB > free; 0 to scrub; need 526336; retries: 20. > [2009-12-30 12:01:37 628] DEBUG (balloon:187) Balloon: setting dom0 > target to 7450 MiB. > [2009-12-30 12:01:37 628] DEBUG (XendDomainInfo:1316) Setting memory > target of domain Domain-0 (0) to 7450 MiB. > [2009-12-30 12:01:37 628] ERROR (XendDomainInfo:2668) > XendDomainInfo.initDomain: exception occurred > Traceback (most recent call last): > File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", > line 2624, in _initDomain > File "/usr/lib/python2.4/site-packages/xen/xend/balloon.py", line > 188, in free > File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", > line 1335, in setMemoryTarget > Error: (1, ''Not owner'') > [2009-12-30 12:01:37 628] ERROR (XendDomainInfo:477) VM start failed > Traceback (most recent call last): > File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", > line 457, in start > File "/usr/lib/python2.4/site-packages/xen/xend/XendTask.py", line > 209, in log_progress > File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", > line 2671, in _initDomain > VmError: (1, ''Not owner'') > [2009-12-30 12:01:37 628] DEBUG (XendDomainInfo:2814) > XendDomainInfo.destroy: domid=1 > [2009-12-30 12:01:37 628] DEBUG (XendDomainInfo:2288) Destroying > device model > [2009-12-30 12:01:37 628] DEBUG (XendDomainInfo:2295) Releasing devices > </snip> > > Before I dig any deeper, have anyone seen this before, I found no bugs > filed only a mail from this summer with no solution. > > Regards > > Henrik > http://sparcv9.blogspot.com <http://sparcv9.blogspot.com/> > > ------------------------------------------------------------------------ > > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.orgI have the same issue. However it just works on the second try, at least in my case... Bruno
On 31/12/2009, at 5:16 AM, Bruno Damour wrote:> I have the same issue. > However it just works on the second try, at least in my case…I have a friend reporting the same and it works on second or third try every time (not sure if it’s second or third). The change was between snv 129 and snv 130. cheers, James