Konrad Mader
2014-Jun-09 07:56 UTC
[Pkg-xen-devel] jessie, xen: 'NoneType' object has no attribute 'rfind'
Hi, I have a problem that I can't solve it: the hvm-guest don't start (same image works under Xen 4.01 on another machines). Further I'm confust, because I had to use xm instad of xl. A PV-guest works fine. I start it with 'xm create jessie'. Some data you can see down. What further information do you need? vg. ------------------------------------------------- call with xm: root at xen2:~# xm create comp2.xm Using config file "/etc/xen/comp2.xm". Error: 'NoneType' object has no attribute 'rfind' root at xen2:~# call with xl: root at xen2:~# xl create comp2.xm ERROR: A different toolstack (xm) have been selected! root at xen2:~# the comp2.xm: device_model_version = "qemu-xen" device_model_override = "/usr/bin/qemu" bios = "seabios" builder = "hvm" name = "comp2" memory = 600 vcpus = 2 vif = [ 'ip=192.168.1.19,mac=00:16:3E:8C:84:8B,bridge=xenbr0' ] disk = [ '/dev/vg0/compumed2,raw,xvda,rw' ] vnc = 1 the /var/log/xen/xend.log [2014-06-05 12:14:43 2554] ERROR (xmlrpclib2:181) Internal error handling xend.domain.create Traceback (most recent call last): File "/usr/lib/xen-4.3/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.3/bin/../lib/python/xen/xend/server/XMLRPCServer.py", line 80, in domain_create info = XendDomain.instance().domain_create(config) File "/usr/lib/xen-4.3/bin/../lib/python/xen/xend/XendDomain.py", line 1001, in domain_create dominfo = XendDomainInfo.create(config) File "/usr/lib/xen-4.3/bin/../lib/python/xen/xend/XendDomainInfo.py", line 97, in create domconfig = XendConfig.XendConfig(sxp_obj = config) File "/usr/lib/xen-4.3/bin/../lib/python/xen/xend/XendConfig.py", line 368, in __init__ self.validate() File "/usr/lib/xen-4.3/bin/../lib/python/xen/xend/XendConfig.py", line 561, in validate self._platform_sanity_check() File "/usr/lib/xen-4.3/bin/../lib/python/xen/xend/XendConfig.py", line 498, 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' the /etc/apt/sources.list deb http://ftp.de.debian.org/debian/ jessie main contrib non-free deb-src http://ftp.de.debian.org/debian/ jessie main contrib non-free deb http://security.debian.org/ jessie/updates main contrib non-free deb-src http://security.debian.org/ jessie/updates main contrib non-free deb http://ftp.de.debian.org/debian/ jessie-updates main contrib non-free deb-src http://ftp.de.debian.org/debian/ jessie-updates main contrib non-free deb http://ftp.de.debian.org/debian/ jessie-backports main contrib non-free deb-src http://ftp.de.debian.org/debian/ jessie-backports main contrib non-free -- end of the mail ----------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20140609/0d00621a/attachment.html>
Maybe Matching Threads
- Bug#711923: xen-utils-common: After run 'xm create ...' i got error "Error: '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')