cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Reategui <create...@gmail.com>
Subject Help: Can't start instances: Db_exn.Uniqueness_constraint_violation
Date Fri, 08 Aug 2014 00:40:14 GMT
CS 4.4 + XS6.2 hosts.

I had been successful at creating an instance earlier but now not able to
create a new instance.  In between I deleted my ubuntu template and
re-uploaded a new version and registered it with the same name.

The SMLog on the XS hosts shows the following:

Aug  8 05:05:26 noilabxen03 SM: [10585] ***** sr_scan: EXCEPTION
XenAPI.Failure, ['INTERNAL_ERROR', 'Db_exn.Uniqueness_constraint_viol
ation("VDI", "uuid", "4aa44b51-da99-3280-8223-e07ecfcf9d25")']
Aug  8 05:05:26 noilabxen03 SM: [10585]   File
"/opt/xensource/sm/SRCommand.py", line 106, in run
Aug  8 05:05:26 noilabxen03 SM: [10585]     return self._run_locked(sr)
Aug  8 05:05:26 noilabxen03 SM: [10585]   File
"/opt/xensource/sm/SRCommand.py", line 153, in _run_locked
Aug  8 05:05:26 noilabxen03 SM: [10585]     return self._run(sr, target)
Aug  8 05:05:26 noilabxen03 SM: [10585]   File
"/opt/xensource/sm/SRCommand.py", line 313, in _run
Aug  8 05:05:26 noilabxen03 SM: [10585]     return
sr.scan(self.params['sr_uuid'])
Aug  8 05:05:26 noilabxen03 SM: [10585]   File "/opt/xensource/sm/FileSR",
line 192, in scan
Aug  8 05:05:26 noilabxen03 SM: [10585]     return super(FileSR,
self).scan(sr_uuid)
Aug  8 05:05:26 noilabxen03 SM: [10585]   File "/opt/xensource/sm/SR.py",
line 310, in scan
Aug  8 05:05:26 noilabxen03 SM: [10585]     scanrecord.synchronise()
Aug  8 05:05:26 noilabxen03 SM: [10585]   File "/opt/xensource/sm/SR.py",
line 566, in synchronise
Aug  8 05:05:26 noilabxen03 SM: [10585]     self.synchronise_new()
Aug  8 05:05:26 noilabxen03 SM: [10585]   File "/opt/xensource/sm/SR.py",
line 546, in synchronise_new
Aug  8 05:05:26 noilabxen03 SM: [10585]     vdi._db_introduce()
Aug  8 05:05:26 noilabxen03 SM: [10585]   File "/opt/xensource/sm/VDI.py",
line 298, in _db_introduce
Aug  8 05:05:26 noilabxen03 SM: [10585]     vdi =
self.sr.session.xenapi.VDI.db_introduce(uuid, self.label, self.description,
self.sr.
sr_ref, ty, self.shareable, self.read_only, {}, self.location, {},
sm_config, self.managed, str(self.size), str(self.utilisation), met
adata_of_pool, is_a_snapshot, xmlrpclib.DateTime(snapshot_time),
snapshot_of)
Aug  8 05:05:26 noilabxen03 SM: [10585]   File
"/usr/lib/python2.4/site-packages/XenAPI.py", line 245, in __call__
Aug  8 05:05:26 noilabxen03 SM: [10585]     return self.__send(self.__name,
args)
Aug  8 05:05:26 noilabxen03 SM: [10585]   File
"/usr/lib/python2.4/site-packages/XenAPI.py", line 149, in xenapi_request
Aug  8 05:05:26 noilabxen03 SM: [10585]     result =
_parse_result(getattr(self, methodname)(*full_params))
Aug  8 05:05:26 noilabxen03 SM: [10585]   File
"/usr/lib/python2.4/site-packages/XenAPI.py", line 219, in _parse_result
Aug  8 05:05:26 noilabxen03 SM: [10585]     raise
Failure(result['ErrorDescription'])
Aug  8 05:05:26 noilabxen03 SM: [10585]
Aug  8 05:05:26 noilabxen03 SM: [10585] Raising exception [40, The SR scan
failed  [opterr=['INTERNAL_ERROR', 'Db_exn.Uniqueness_const
raint_violation("VDI", "uuid", "4aa44b51-da99-3280-8223-e07ecfcf9d25")']]]
Aug  8 05:05:26 noilabxen03 SM: [10585] lock: closed
/var/lock/sm/adc8e2ee-0458-442f-bc5f-f047128f0659/sr

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message