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-bugs

[Xen-bugs] [Bug 44] New: Error creating domain: global name 'log' is not

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 44] New: Error creating domain: global name 'log' is not defined
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Mon, 16 May 2005 17:43:04 +0000
Delivery-date: Mon, 16 May 2005 17:43:08 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx
http://bugzilla.xensource.com/cgi-bin/bugzilla/show_bug.cgi?id=44

           Summary: Error creating domain: global name 'log' is not defined
           Product: Xen
           Version: unstable
          Platform: x86
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Hypervisor
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: dbarrera@xxxxxxxxxx


Using the May 15 xen-unstable-src.tgz, I am unable to create a domain on both
RHEL 4 (and SLES 9 SP1):

[root@lamb5 xen]# xm create -c vm1.cfg vmid=1
Using config file "vm1.cfg".
[xend] DEBUG (XendDomainInfo:696) init_domain> Created domain=1 name=vm1
memory=200704
[xend] DEBUG (XendDomainInfo:1117) creating linux domain with cmdline: 
root=/dev/sda1 ro
[xend] INFO (XendRoot:122) EVENT> xend.domain.create ['vm1', '1']
[xend] WARNING (XendDomainInfo:725) building dom with 1 vcpus
VIRTUAL MEMORY ARRANGEMENT:
 Loaded kernel: c0100000->c0338884
 Init. ramdisk: c0339000->c0339000
 Phys-Mach map: c0339000->c036a000
 Page tables:   c036a000->c036c000
 Start info:    c036c000->c036d000
 Boot stack:    c036d000->c036e000
 TOTAL:         c0000000->c0400000
 ENTRY ADDRESS: c0100000
 VCPUS:         1
[xend] WARNING (XendDomainInfo:1062) Unknown config field memmap
[xend] WARNING (XendDomainInfo:1062) Unknown config field device_model
[xend] WARNING (XendDomainInfo:1062) Unknown config field device_config
[xend] INFO (console:100) Created console id=0 domain=1 port=9601
Domain construction error: global name 'log' is not defined
Traceback (most recent call last):
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 513, in construct
[xend] INFO (XendRoot:122) EVENT> xend.console.create [0, 1, 9601]
    self.configure()
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1003, in configure
    self.create_devices()
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 795, in create_devices
   self.create_configured_devices()
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 784, in
create_configured_devices
    self.createDevice(ctrl_type, dev_config, recreate=recreate)
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 362, in createDevice
    return ctrl.createDevice(devconfig, recreate=self.recreate)
  File "/usr/lib/python/xen/xend/server/controller.py", line 231, in 
createDevice
    dev = self.newDevice(self.nextDeviceId(), config, recreate=recreate)
  File "/usr/lib/python/xen/xend/server/blkif.py", line 414, in newDevice
    return BlkDev(self, id, config, recreate=recreate)
  File "/usr/lib/python/xen/xend/server/blkif.py", line 177, in __init__
    self.configure(self.config, recreate=recreate)
  File "/usr/lib/python/xen/xend/server/blkif.py", line 201, in configure
    self.vdev = blkif.blkdev_name_to_number(self.dev)
  File "/usr/lib/python/xen/util/blkif.py", line 24, in blkdev_name_to_number
    log.debug("exception looking up device number for %s: %s", name, ex)
NameError: global name 'log' is not defined
ConsoleController>destroyController> <xen.xend.server.console.ConsoleController
instance at 0xb775e3ac> False
ConsoleDev>destroy> <xen.xend.server.console.ConsoleDev instance at 0xb775e4ec>
False
[xend] DEBUG (blkif:420) Destroying blkif domain=1
op_create> Exception creating domain:
Traceback (most recent call last):
  File "/usr/lib/python/xen/xend/server/SrvDomainDir.py", line 63, in op_create
    dominfo = self.xd.domain_create(config)
  File "/usr/lib/python/xen/xend/XendDomain.py", line 401, in domain_create
    dominfo = XendDomainInfo.vm_create(config)
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 184, in vm_create
    vm.construct(config)
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 513, in construct
    self.configure()
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1003, in configure
    self.create_devices()
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 795, in create_devices
   self.create_configured_devices()
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 784, in
create_configured_devices
    self.createDevice(ctrl_type, dev_config, recreate=recreate)
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 362, in createDevice
    return ctrl.createDevice(devconfig, recreate=self.recreate)
  File "/usr/lib/python/xen/xend/server/controller.py", line 231, in 
createDevice
    dev = self.newDevice(self.nextDeviceId(), config, recreate=recreate)
  File "/usr/lib/python/xen/xend/server/blkif.py", line 414, in newDevice
    return BlkDev(self, id, config, recreate=recreate)
  File "/usr/lib/python/xen/xend/server/blkif.py", line 177, in __init__
    self.configure(self.config, recreate=recreate)
  File "/usr/lib/python/xen/xend/server/blkif.py", line 201, in configure
    self.vdev = blkif.blkdev_name_to_number(self.dev)
  File "/usr/lib/python/xen/util/blkif.py", line 24, in blkdev_name_to_number
    log.debug("exception looking up device number for %s: %s", name, ex)
NameError: global name 'log' is not defined
Error: Error creating domain: global name 'log' is not defined
[root@lamb5 xen]# [xend] INFO (XendRoot:122) EVENT> xend.domain.died ['vm1', 
'1']



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-bugs] [Bug 44] New: Error creating domain: global name 'log' is not defined, bugzilla-daemon <=