WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Fwd: Fwd: bug on create domain0

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Fwd: Fwd: bug on create domain0
From: tkpiuk <tkpiuk@xxxxxxxxx>
Date: Mon, 04 Apr 2011 14:55:22 +0600
Delivery-date: Tue, 12 Apr 2011 22:58:23 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:subject:content-type; bh=iNSLGP/77WZUQVhQ0pbRcZFbxvJXNKNd11Mo5G/5j7Y=; b=oQvL87sduklGE2q9vX8l53i/ArjDswxCqQB1BzFE3txGAHFGxMXLrH2hK0sVYHg+B1 dNTVKVayevr9cpDtHADGXvlGUb36Ui6oLyIU0/THT7Y70gmRTipcYAjQvvbzqKy+u3v0 9PSktQjxKU+NCmG9OfVVKB+0MSOodQzVJkm0Y=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :content-type; b=iZT+A++9QIAMvdbJHVJovZdxuuSFBctcb2Ne6OHSJ8bOz5NqEc/vFSPJE84UITtX1/ 1UJOYjOXbdRoNDc2Xo/YCrZz+Cn3pPs8D5pjMotcFuTozcVrAQOmH3SgauNtNDo/iNv7 R0F/UQwgP4FD/5K8YkmAtBMAyI7PhwOk3z05I=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: tkpiuk@xxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110314 Lightning/1.0b3pre Thunderbird/3.1.9


-------- Исходное сообщение --------
Тема: Fwd: bug on create domain0
Дата: Mon, 04 Apr 2011 14:54:13 +0600
От: net administrator <admin.as@xxxxxxxxxxx>
Отвечать: tkpiuk@xxxxxxxxx
Кому: xen-devel@xxxxxxxxxxxxxxxxxxx




-------- Исходное сообщение --------
Тема: bug on create domain0
Дата: Fri, 01 Apr 2011 12:53:38 +0600
От: net administrator <admin.as@xxxxxxxxxxx>
Отвечать: aaaaaaaa <admin.as@xxxxxxxxxxx>
Кому: xen-devel@xxxxxxxxxxxxxxxxxxx


-------------------------------
first

nano /vm/a4/config/hvm.cfg;cat /vm/a4/config/hvm.cfg | grep
'^[^#].*'>/vm/a4/config/hvm.run;xm new -f /vm/a4/config/hvm.run
Unexpected error: <type 'exceptions.ImportError'>

Please report to xen-devel@xxxxxxxxxxxxxxxxxxx
Traceback (most recent call last):
  File "/usr/sbin/xm", line 7, in <module>
    main.main(sys.argv)
  File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 3983,
in main
    _, rc = _run_cmd(cmd, cmd_name, args)
  File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 4007,
in _run_cmd
    return True, cmd(args)
  File "<string>", line 1, in <lambda>
  File "/usr/lib64/python2.7/site-packages/xen/xm/main.py", line 1518,
in xm_importcommand
    cmd = __import__(command, globals(), locals(), 'xen.xm')
  File "/usr/lib64/python2.7/site-packages/xen/xm/new.py", line 26, in
<module>
    from xen.xm.xenapi_create import *
  File "/usr/lib64/python2.7/site-packages/xen/xm/xenapi_create.py",
line 25, in <module>
    from lxml import etree
ImportError: No module named lxml

you have add dependent dev-python/lxml to app-emulation/xen-tools ebuild

-------------------------------------------------
second

xm create /vm/a4/config/hvm.run
Using config file "/vm/a4/config/hvm.run".
Error: Unable to connect to xend: No such file or directory. Is xend
running?

xm list
Error: Unable to connect to xend: No such file or directory. Is xend
running?
/etc/init.d/xencommons start
Starting xenstored...
Setting domain 0 name...
Starting xenconsoled...

/etc/init.d/xend restart
 * Shutting down Xen domains from /etc/xen/auto
 * Closing screen session xen
...                                                                                                   
[ ok ]
Error: Unable to connect to xend: No such file or directory. Is xend
running?
 * Stopping Xen control daemon
...                                                                                                  
[ ok ]
 * Starting Xen control daemon ...

/etc/init.d/xend restart
 *   Stopping all domains
...                                                                                                       
[ ok ]
 * Stopping Xen control daemon
...                                                                                                  
[ ok ]
 * Starting Xen control daemon ...

xm list
Name                                        ID   Mem VCPUs      State  
Time(s)
Domain-0                                     0   520     4    
r-----     24.5
ktssql                                          1536     2              
109.7
mysql                                           2048    
2                 2.6
squid-vm                                        1536    
1                 0.0

xm new -f /vm/a4/config/hvm.run
Using config file "/vm/a4/config/hvm.run".

xm list
Name                                        ID   Mem VCPUs      State  
Time(s)
Domain-0                                     0   520     4     r-----   
158.7
a4                                              1024    
2                 0.0
ktssql                                          1536     2              
109.7
mysql                                           2048    
2                 2.6
squid-vm                                        1536    
1                 0.0

xm start a4
 and server go to hard reboot !


Link to Gentoo BUGZilla http://bugs.gentoo.org/show_bug.cgi?id=361345
Link to Gentoo Forum http://www.gentoo.ru/node/2246
-- 
psychos

Attachment: hvm.cfg
Description: Text document

Attachment: hvm.run
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Fwd: Fwd: bug on create domain0, tkpiuk <=