Hudson FAS
2013-Jun-11 00:55 UTC
[Pkg-xen-devel] Bug#711923: xen-utils-common: After run 'xm create ...' i got error "Error: 'NoneType' object has no attribute 'rfind'
Package: xen-utils-common Version: 4.2.1-2 Severity: important After run xm create -c win2008.hvm Using config file "./win2008.hvm". Error: 'NoneType' object has no attribute 'rfind' /var/log/xen/xend.log: [2013-06-10 21:48:59 31935] ERROR (xmlrpclib2:181) Internal error handling xend.domain.create Traceback (most recent call last): File "/usr/lib/xen-4.2/bin/../lib/python/xen/util/xmlrpclib2.py", line 134, in _marshaled_dispatch response = self._dispatch(method, params) File "/usr/lib/python2.7/SimpleXMLRPCServer.py", line 420, in _dispatch return func(*params) File "/usr/lib/xen-4.2/bin/../lib/python/xen/xend/server/XMLRPCServer.py", line 80, in domain_create info = XendDomain.instance().domain_create(config) File "/usr/lib/xen-4.2/bin/../lib/python/xen/xend/XendDomain.py", line 1001, in domain_create dominfo = XendDomainInfo.create(config) File "/usr/lib/xen-4.2/bin/../lib/python/xen/xend/XendDomainInfo.py", line 97, in create domconfig = XendConfig.XendConfig(sxp_obj = config) File "/usr/lib/xen-4.2/bin/../lib/python/xen/xend/XendConfig.py", line 368, in __init__ self.validate() File "/usr/lib/xen-4.2/bin/../lib/python/xen/xend/XendConfig.py", line 562, in validate self._platform_sanity_check() File "/usr/lib/xen-4.2/bin/../lib/python/xen/xend/XendConfig.py", line 499, in _platform_sanity_check if os.path.dirname(self['platform']['device_model']) == "": File "/usr/lib/python2.7/posixpath.py", line 129, in dirname i = p.rfind('/') + 1 AttributeError: 'NoneType' object has no attribute 'rfind' win2008.hvm: kernel = "hvmloader" builder='hvm' name = "win2008" memory = 1024 maxmem = 1312 vcpus = 4 vif = [ 'mac=00:16:3E:74:3d:76,model=rtl8139,bridge=xenbr0' ] disk = [ '/u01/VM/DISKS/win2008_disk1.raw,hda,w' ] #vif = [ 'type=ioemu, bridge=eth0' ] boot = "dc" device_model = 'qemu-dm' sdl=0 opengl=1 vnc=1 vncpasswd='' stdvga=0 serial='pty' tsc_mode=0 # dpkg -l|grep xen ii libxen-4.2 4.2.1-2 amd64 Public libs for Xen ii libxenstore3.0 4.2.1-2 amd64 Xenstore communications library for Xen ii xen-hypervisor-4.2-amd64 4.2.1-2 amd64 Xen Hypervisor on AMD64 ii xen-linux-system-3.9-1-amd64 3.9.4-1 amd64 Xen system with Linux 3.9 on 64-bit PCs (meta-package) ii xen-linux-system-amd64 3.9+49 amd64 Xen system with Linux for 64-bit PCs (meta-package) ii xen-system-amd64 4.2.1-2 amd64 Xen System on AMD64 (meta-package) ii xen-tools 4.3.1-1 all Tools to manage Xen virtual servers ii xen-utils-4.2 4.2.1-2 amd64 XEN administrative tools ii xen-utils-common 4.2.1-2 all Xen administrative tools - common files ii xenstore-utils 4.2.1-2 amd64 Xenstore utilities for Xen -- System Information: Debian Release: jessie/sid APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.9-1-amd64 (SMP w/4 CPU cores) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages xen-utils-common depends on: ii gawk 1:4.0.1+dfsg-2.1 ii lsb-base 4.1+Debian12 ii python 2.7.3-5 ii ucf 3.0027 ii udev 175-7.2 ii xenstore-utils 4.2.1-2 xen-utils-common recommends no packages. xen-utils-common suggests no packages. -- Configuration Files: /etc/xen/xend-config.sxp changed: (xend-unix-server yes) (vif-script vif-bridge) (dom0-min-mem 196) (enable-dom0-ballooning yes) (total_available_memory 0) (dom0-cpus 0) (vncpasswd '') -- no debconf information
Seemingly Similar Threads
- jessie, xen: 'NoneType' object has no attribute 'rfind'
- Bug#587090: Issue confirmed with xen-utils-4.0 (4.0.1~rc6-1)
- Re: Gentoo+Xen4.0: Error: coercing to Unicode: need string or buffer, NoneType found. - SOLVED
- Gentoo+Xen4.0: Error: coercing to Unicode: need string or buffer, NoneType found.
- Bug#587090: xen-utils-4.0: Exception starting xend ('NoneType' object has no attribute 'rfind')