[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] sHype changeset causes error in domU creation


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: George Washington Dunlap III <dunlapg@xxxxxxxxx>
  • Date: Wed, 22 Jun 2005 12:13:09 -0400 (EDT)
  • Delivery-date: Wed, 22 Jun 2005 16:12:08 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

The changeset adding ssid variable to domain creation causes the following error when I try to create a 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 276, in domain_create
    dominfo = XendDomainInfo.create(self.dbmap, config)
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 159, in create
    vm.construct(config)
File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 510, in construct
    self.init_domain()
File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 670, in init_domain id = self.image.initDomain(self.id, self.memory, self.ssidref, cpu, self.cpu_weight)
  File "/usr/lib/python/xen/xend/image.py", line 122, in initDomain
    dom = xc.domain_create(dom = dom or 0, ssidref = ssidref)
OverflowError: long int too large to convert to int
---

Changing the following line makes a temporary fix:

tools/python/xen/xm/create.py
--
 gopts.var('ssidref', val='SSIDREF',
-          fn=set_u32, default=0xfffffff,
           use="Security Identifier.")
++
gopts.var('ssidref', val='SSIDREF',
+          fn=set_u32, default=0xffff,
          use="Security Identifier.")
---

I'm using the following python version:

Python 2.4.1 (#1, May 19 2005, 16:02:59)
[GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-24)] on linux2

Peace,
 -George

+-------------------+----------------------------------------
| dunlapg@xxxxxxxxx | http://www-personal.umich.edu/~dunlapg +-------------------+----------------------------------------
|  Who could move a mountain, who could love their enemy?
|  Who could rejoice in pain, and turn the other cheek?
|       - Rich Mullins, "Surely God is With Us"
+------------------------------------------------------------
| Outlaw Junk Email! Support HR 1748 (www.cauce.org)

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.