Mailing List Archive

[FileSR] - sr-scan / VDI introduce fails
Hi All,

VDI-introduce either manual (xe vdi-introduce) or through sr-scan fails
for FileSR backend.

Is this something what has been fixed/modified in last month or so?

This functionality worked around Jan 6th using ffs and VHD.

Steps to reproduce, in case of using earlier created VHD file, skip to p.3:
1. create VDI, (xe vdi-create)
2. install system
3. copy file at file-system level
4. try to introduce new file as VDI either with xe vdi-introduce or xe
sr-scan command

Should I log bug, please let me know.
Thanks

#log
Feb 15 23:26:40 silver xapi: [ info|silver|11640 UNIX
/var/lib/xcp/xapi||cli] xe sr-scan
uuid=f1784d8b-6412-b880-cd67-b3fa5fcf6539 force=true username=root
password=(omitted)
Feb 15 23:26:40 silver xapi: [ info|silver|11640 UNIX
/var/lib/xcp/xapi|session.login_with_password D:5c640e11621d|xapi]
Session.create trackid=26512004385f50e3831e11f2d2c83d7d pool=false
uname=root originator=cli is_local_superuser=true auth_user_sid=
parent=trackid=9834f5af41c964e225f24279aefe4e49
Feb 15 23:26:40 silver xapi: [debug|silver|11640 UNIX
/var/lib/xcp/xapi|session.login_with_password D:5c640e11621d|mscgen]
xapi=>xapi [label="session.get_uuid"];
Feb 15 23:26:40 silver xapi: [debug|silver|11641 UNIX
/var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.get_uuid
D:a92433d6f2fe created by task D:5c640e11621d
Feb 15 23:26:40 silver xapi: [debug|silver|11640 UNIX
/var/lib/xcp/xapi|SR.scan R:228e4c63e429|audit] SR.scan: SR =
'f1784d8b-6412-b880-cd67-b3fa5fcf6539 (fileSR)'
Feb 15 23:26:40 silver xapi: [debug|silver|11640 UNIX
/var/lib/xcp/xapi|SR.scan R:228e4c63e429|xapi] Marking SR for SR.scan
(task=OpaqueRef:228e4c63-e429-dc91-a1f8-31eacad244c8)
Feb 15 23:26:40 silver xapi: [ info|silver|11640 UNIX
/var/lib/xcp/xapi|SR.scan R:228e4c63e429|storage_impl] SR.scan
dbg:OpaqueRef:228e4c63-e429-dc91-a1f8-31eacad244c8
sr:f1784d8b-6412-b880-cd67-b3fa5fcf6539
Feb 15 23:26:40 silver xapi: [debug|silver|11642||dummytaskhelper] task
SR.scan D:d5fbed54862e created by task R:228e4c63e429
Feb 15 23:26:40 silver xapi: [debug|silver|11642|SR.scan
D:d5fbed54862e|sm] SM file sr_scan
sr=OpaqueRef:0c1b673e-34d4-540b-2f4b-a421cb14e90c
Feb 15 23:26:40 silver xapi: [ info|silver|11642|sm_exec
D:9a7c46d7d21b|xapi] Session.create
trackid=f2f68510ed99e074979e25c86849d673 pool=false uname= originator=
is_local_superuser=true auth_user_sid=
parent=trackid=9834f5af41c964e225f24279aefe4e49
Feb 15 23:26:40 silver xapi: [debug|silver|11642|sm_exec
D:9a7c46d7d21b|mscgen] xapi=>xapi [label="session.get_uuid"];
Feb 15 23:26:40 silver xapi: [debug|silver|11643 UNIX
/var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.get_uuid
D:9b32c57895e2 created by task D:9a7c46d7d21b
Feb 15 23:26:40 silver xapi: [debug|silver|11642|sm_exec
D:9a7c46d7d21b|mscgen] smapiv2=>smapiv1 [label="sr_scan"];
Feb 15 23:26:40 silver xapi: [debug|silver|11644 UNIX
/var/lib/xcp/xapi||dummytaskhelper] task dispatch:host.get_other_config
D:c3104ccc7d87 created by task D:d5fbed54862e
Feb 15 23:26:40 silver SM: [17754] lock: opening lock file
/var/lock/sm/f1784d8b-6412-b880-cd67-b3fa5fcf6539/sr
Feb 15 23:26:40 silver xapi: [debug|silver|11645 UNIX
/var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.get_other_config
D:27bb83ff33ca created by task D:d5fbed54862e
Feb 15 23:26:40 silver SM: [17754] lock: acquired
/var/lock/sm/f1784d8b-6412-b880-cd67-b3fa5fcf6539/sr
Feb 15 23:26:40 silver SM: [17754] sr_scan {'sr_uuid':
'f1784d8b-6412-b880-cd67-b3fa5fcf6539', 'subtask_of':
'DummyRef:|d5fbed54-862e-c2de-5006-603ed6d504d7|SR.scan', 'args': [],
'host_ref': 'OpaqueRef:0d0d7bf7-4d03-afc4-4280-8724014224ba',
'session_ref': 'OpaqueRef:e42db482-6b96-0705-9fa5-ad8c70726a24',
'device_config': {'path': '/mnt/image/SRFile', 'SRmaster': 'true',
'location': '/mnt/images/SRFile'}, 'command': 'sr_scan', 'sr_ref':
'OpaqueRef:0c1b673e-34d4-540b-2f4b-a421cb14e90c'}
Feb 15 23:26:40 silver SM: [17754] ['/usr/lib/blktap/bin/vhd-util',
'scan', '-f', '-c', '-m',
'/var/run/sr-mount/f1784d8b-6412-b880-cd67-b3fa5fcf6539/*.vhd']
Feb 15 23:26:40 silver SM: [17754] pread SUCCESS
Feb 15 23:26:40 silver SM: [17754] ['ls',
'/var/run/sr-mount/f1784d8b-6412-b880-cd67-b3fa5fcf6539', '-1',
'--color=never']
Feb 15 23:26:40 silver SM: [17754] pread SUCCESS
Feb 15 23:26:40 silver SM: [17754] lock: opening lock file
/var/lock/sm/f1784d8b-6412-b880-cd67-b3fa5fcf6539/running
Feb 15 23:26:40 silver SM: [17754] lock: tried lock
/var/lock/sm/f1784d8b-6412-b880-cd67-b3fa5fcf6539/running, acquired:
True (exists: True)
Feb 15 23:26:40 silver SM: [17754] lock: released
/var/lock/sm/f1784d8b-6412-b880-cd67-b3fa5fcf6539/running
Feb 15 23:26:40 silver SM: [17754] Kicking GC
Feb 15 23:26:40 silver SMGC: [17754] === SR
f1784d8b-6412-b880-cd67-b3fa5fcf6539: gc ===
Feb 15 23:26:40 silver SMGC: [17759] Will finish as PID [17760]
Feb 15 23:26:40 silver SM: [17760] lock: opening lock file
/var/lock/sm/f1784d8b-6412-b880-cd67-b3fa5fcf6539/running
Feb 15 23:26:40 silver SMGC: [17754] New PID [17759]
Feb 15 23:26:40 silver SM: [17754] lock: closed
/var/lock/sm/f1784d8b-6412-b880-cd67-b3fa5fcf6539/running
Feb 15 23:26:40 silver xapi: [ info|silver|11647 UNIX
/var/lib/xcp/xapi|session.login_with_password D:408c69517920|xapi]
Session.create trackid=a098b99ce0ed2013e2cd8f27cc63ea29 pool=false
uname=root originator= is_local_superuser=true auth_user_sid=
parent=trackid=9834f5af41c964e225f24279aefe4e49
Feb 15 23:26:40 silver xapi: [debug|silver|11647 UNIX
/var/lib/xcp/xapi|session.login_with_password D:408c69517920|mscgen]
xapi=>xapi [label="session.get_uuid"];
Feb 15 23:26:40 silver xapi: [debug|silver|11646 UNIX
/var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.get_by_uuid
D:651ee7c3ba2c created by task D:d5fbed54862e
Feb 15 23:26:40 silver xapi: [debug|silver|11648 UNIX
/var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.get_uuid
D:510e84141936 created by task D:408c69517920
Feb 15 23:26:40 silver xapi: [debug|silver|11649 UNIX
/var/lib/xcp/xapi||dummytaskhelper] task
dispatch:SR.set_virtual_allocation D:3e9bd5f81d88 created by task
D:d5fbed54862e
Feb 15 23:26:40 silver xapi: [20150215T22:26:40.455Z|audit|silver|11649
UNIX /var/lib/xcp/xapi|SR.set_virtual_allocation D:702240cb4450|audit]
('trackid=f2f68510ed99e074979e25c86849d673' 'LOCAL_SUPERUSER'
'__sm__backend' 'ALLOWED' 'OK' 'API' 'SR.set_virtual_allocation'
(('self' 'fileSR' 'f1784d8b-6412-b880-cd67-b3fa5fcf6539'
'OpaqueRef:0c1b673e-34d4-540b-2f4b-a421cb14e90c')))
Feb 15 23:26:40 silver xapi: [debug|silver|11651 UNIX
/var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.set_physical_size
D:5ccc106c9202 created by task D:d5fbed54862e
Feb 15 23:26:40 silver xapi: [20150215T22:26:40.457Z|audit|silver|11651
UNIX /var/lib/xcp/xapi|SR.set_physical_size D:7cfb0fbe1fc6|audit]
('trackid=f2f68510ed99e074979e25c86849d673' 'LOCAL_SUPERUSER'
'__sm__backend' 'ALLOWED' 'OK' 'API' 'SR.set_physical_size' (('self'
'fileSR' 'f1784d8b-6412-b880-cd67-b3fa5fcf6539'
'OpaqueRef:0c1b673e-34d4-540b-2f4b-a421cb14e90c')))
Feb 15 23:26:40 silver xapi: [debug|silver|11653 UNIX
/var/lib/xcp/xapi||dummytaskhelper] task
dispatch:SR.set_physical_utilisation D:388168254a8d created by task
D:d5fbed54862e
Feb 15 23:26:40 silver xapi: [20150215T22:26:40.460Z|audit|silver|11653
UNIX /var/lib/xcp/xapi|SR.set_physical_utilisation D:c8eb1313422d|audit]
('trackid=f2f68510ed99e074979e25c86849d673' 'LOCAL_SUPERUSER'
'__sm__backend' 'ALLOWED' 'OK' 'API' 'SR.set_physical_utilisation'
(('self' 'fileSR' 'f1784d8b-6412-b880-cd67-b3fa5fcf6539'
'OpaqueRef:0c1b673e-34d4-540b-2f4b-a421cb14e90c')))
Feb 15 23:26:40 silver xapi: [debug|silver|11656 UNIX
/var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.get_by_uuid
D:e0bdb54dacc6 created by task D:d5fbed54862e
Feb 15 23:26:40 silver xapi: [debug|silver|11658 UNIX
/var/lib/xcp/xapi||dummytaskhelper] task
dispatch:VDI.get_all_records_where D:4d050d220775 created by task
D:d5fbed54862e


*Feb 15 23:26:40 silver SM: [17754] missing config for vdi: Base**
**Feb 15 23:26:40 silver SM: [17754] new VDIs on disk: set(['Base'])**
**Feb 15 23:26:40 silver SM: [17754] VDIs missing from disk:
set(['f38644a1-351c-49f3-8f7c-a9c546160f46'])**
**Feb 15 23:26:40 silver SM: [17754] Introducing VDI with location=Base**
**Feb 15 23:26:40 silver SM: [17760] lock: opening lock file
/var/lock/sm/f1784d8b-6412-b880-cd67-b3fa5fcf6539/sr**

***Feb 15 23:26:40 silver xapi: [debug|silver|11661 UNIX
/var/lib/xcp/xapi||dummytaskhelper] task dispatch:VDI.db_introduce
D:d7985bda04c9 created by task D:d5fbed54862e


Feb 15 23:26:40 silver xapi: [ info|silver|11661 UNIX
/var/lib/xcp/xapi|dispatch:VDI.db_introduce D:d7985bda04c9|taskhelper]
task VDI.db_introduce R:468cffc11be8
(uuid:a21eacde-0124-bf30-0fb2-2870eedc46c6) created
(trackid=f2f68510ed99e074979e25c86849d673) by task D:d5fbed54862e
*Feb 15 23:26:40 silver xapi: [debug|silver|11661 UNIX
/var/lib/xcp/xapi|VDI.db_introduce R:468cffc11be8|xapi]
{pool,db}_introduce uuid=Base name_label=**
**Feb 15 23:26:40 silver xapi: [debug|silver|11661 UNIX
/var/lib/xcp/xapi|VDI.db_introduce R:468cffc11be8|backtrace] Raised at
file \"xapi_vdi.ml\", line 338, characters 20-88\nCalled from file
\"xapi_vdi.ml\", line 357, characters 12-264\nCalled from file
\"server.ml\", line 23574, characters 82-392\nCalled from file
\"rbac.ml\", line 227, characters 16-23\n**
**Feb 15 23:26:40 silver xapi:
[20150215T22:26:40.469Z|audit|silver|11661 UNIX
/var/lib/xcp/xapi|VDI.db_introduce R:468cffc11be8|audit]
('trackid=f2f68510ed99e074979e25c86849d673' 'LOCAL_SUPERUSER'
'__sm__backend' 'ALLOWED' 'ERROR:UUID_INVALID: [ VDI; Base ]' 'API'
'VDI.db_introduce' (('name_label' '' '' '') ('name_description' '' ''
'') ('sR' 'fileSR' 'f1784d8b-6412-b880-cd67-b3fa5fcf6539'
'OpaqueRef:0c1b673e-34d4-540b-2f4b-a421cb14e90c') ('metadata_of_pool' ''
'' 'OpaqueRef:NULL') ('snapshot_of' '' '' 'OpaqueRef:NULL')))**
***
Feb 15 23:26:40 silver xapi: [debug|silver|11661 UNIX
/var/lib/xcp/xapi|VDI.db_introduce R:468cffc11be8|backtrace] Raised at
file \"rbac.ml\", line 236, characters 10-15\nCalled from file
\"server_helpers.ml\", line 75, characters 11-41\n
Feb 15 23:26:40 silver xapi: [debug|silver|11661 UNIX
/var/lib/xcp/xapi|VDI.db_introduce R:468cffc11be8|dispatcher]
Server_helpers.exec exception_handler: Got exception UUID_INVALID: [
VDI; Base ]
Feb 15 23:26:40 silver xapi: [debug|silver|11661 UNIX
/var/lib/xcp/xapi|VDI.db_introduce R:468cffc11be8|dispatcher] Raised at
file \"rbac.ml\", line 236, characters 10-15\nCalled from file
\"server_helpers.ml\", line 75, characters 11-41\n
Feb 15 23:26:40 silver xapi: [debug|silver|11661 UNIX
/var/lib/xcp/xapi|VDI.db_introduce R:468cffc11be8|backtrace] Raised at
file \"rbac.ml\", line 236, characters 10-15\nCalled from file
\"server_helpers.ml\", line 75, characters 11-41\n
Feb 15 23:26:40 silver xapi: [debug|silver|11661 UNIX
/var/lib/xcp/xapi|VDI.db_introduce R:468cffc11be8|xapi] Raised at file
\"server_helpers.ml\", line 90, characters 14-15\nCalled from file
\"lib/pervasiveext.ml\", line 22, characters 2-9\n
Feb 15 23:26:40 silver xapi: [debug|silver|11661 UNIX
/var/lib/xcp/xapi|dispatch:VDI.db_introduce D:d7985bda04c9|xapi] Raised
at file \"lib/pervasiveext.ml\", line 26, characters 22-25\nCalled from
file \"lib/debug.ml\", line 57, characters 17-20\nRe-raised at file
\"lib/debug.ml\", line 62, characters 10-11\nCalled from file
\"lib/pervasiveext.ml\", line 22, characters 2-9\n
Feb 15 23:26:40 silver xapi: [debug|silver|11661 UNIX
/var/lib/xcp/xapi|dispatch:VDI.db_introduce D:d7985bda04c9|backtrace]
Raised at file \"lib/pervasiveext.ml\", line 26, characters
22-25\nCalled from file \"lib/debug.ml\", line 57, characters
17-20\nRe-raised at file \"lib/debug.ml\", line 62, characters
10-11\nCalled from file \"lib/pervasiveext.ml\", line 22, characters
2-9\nRe-raised at file \"lib/pervasiveext.ml\", line 26, characters
22-25\nCalled from file \"server_helpers.ml\", line 136, characters
10-106\nCalled from file \"server.ml\", line 23575, characters
23-161\nCalled from file \"server_helpers.ml\", line 115, characters 4-7\n
Feb 15 23:26:40 silver SM: [17754] lock: released
/var/lock/sm/f1784d8b-6412-b880-cd67-b3fa5fcf6539/sr
*
Feb 15 23:26:40 silver SM: [17754] ***** sr_scan: EXCEPTION <class
'XenAPI.Failure'>, ['UUID_INVALID', 'VDI', 'Base']*

Feb 15 23:26:40 silver SM: [17754] File
"/usr/lib/xapi/sm/SRCommand.py", line 110, in run
Feb 15 23:26:40 silver SM: [17754] return self._run_locked(sr)
Feb 15 23:26:40 silver SM: [17754] File
"/usr/lib/xapi/sm/SRCommand.py", line 159, in _run_locked
Feb 15 23:26:40 silver SM: [17754] rv = self._run(sr, target)
Feb 15 23:26:40 silver SM: [17754] File
"/usr/lib/xapi/sm/SRCommand.py", line 331, in _run
Feb 15 23:26:40 silver SM: [17754] return
sr.scan(self.params['sr_uuid'])
Feb 15 23:26:40 silver SM: [17754] File "/usr/lib/xapi/sm/FileSR",
line 206, in scan
Feb 15 23:26:40 silver SM: [17754] return super(FileSR,
self).scan(sr_uuid)
Feb 15 23:26:40 silver SM: [17754] File "/usr/lib/xapi/sm/SR.py", line
317, in scan
Feb 15 23:26:40 silver SM: [17754] scanrecord.synchronise()
Feb 15 23:26:40 silver SM: [17754] File "/usr/lib/xapi/sm/SR.py", line
581, in synchronise
Feb 15 23:26:40 silver SM: [17754] self.synchronise_new()
Feb 15 23:26:40 silver SM: [17754] File "/usr/lib/xapi/sm/SR.py", line
554, in synchronise_new
Feb 15 23:26:40 silver SM: [17754] vdi._db_introduce()
Feb 15 23:26:40 silver SM: [17754] File "/usr/lib/xapi/sm/VDI.py",
line 312, in _db_introduce
Feb 15 23:26:40 silver SM: [17754] 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), metadata_of_pool, is_a_snapshot,
xmlrpclib.DateTime(snapshot_time), snapshot_of)
Feb 15 23:26:40 silver SM: [17754] File
"/usr/lib/python2.7/dist-packages/XenAPI.py", line 245, in __call__
Feb 15 23:26:40 silver SM: [17754] return self.__send(self.__name, args)
Feb 15 23:26:40 silver SM: [17754] File
"/usr/lib/python2.7/dist-packages/XenAPI.py", line 149, in xenapi_request
Feb 15 23:26:40 silver SM: [17754] result =
_parse_result(getattr(self, methodname)(*full_params))

*Feb 15 23:26:40 silver SM: [17754] File
"/usr/lib/python2.7/dist-packages/XenAPI.py", line 219, in _parse_result**
**Feb 15 23:26:40 silver SM: [17754] raise
Failure(result['ErrorDescription'])**
**Feb 15 23:26:40 silver SM: [17754]**
*

Feb 15 23:26:40 silver SMGC: [17760] Found 0 cache files
Feb 15 23:26:40 silver SM: [17760] lock: tried lock
/var/lock/sm/f1784d8b-6412-b880-cd67-b3fa5fcf6539/sr, acquired: True
(exists: True)
Feb 15 23:26:40 silver SM: [17760] ['/usr/lib/blktap/bin/vhd-util',
'scan', '-f', '-c', '-m',
'/var/run/sr-mount/f1784d8b-6412-b880-cd67-b3fa5fcf6539/*.vhd']
Feb 15 23:26:40 silver SM: [17760] pread SUCCESS
Feb 15 23:26:40 silver SMGC: [17760] SR f178 ('fileSR') (1 VDIs in 1 VHD
trees):
Feb 15 23:26:40 silver SMGC: [17760] Base(10.000G/2.798G)
Feb 15 23:26:40 silver SMGC: [17760]
Feb 15 23:26:40 silver SM: [17760] lock: released
/var/lock/sm/f1784d8b-6412-b880-cd67-b3fa5fcf6539/sr
Feb 15 23:26:40 silver SMGC: [17760] No work, exiting
Feb 15 23:26:40 silver SMGC: [17760] In cleanup
Feb 15 23:26:40 silver SMGC: [17760] SR f178 ('fileSR') (1 VDIs in 1 VHD
trees): no changes
Feb 15 23:26:40 silver xapi: [ info|silver|11665 UNIX
/var/lib/xcp/xapi|session.logout D:a3b8d6f55958|xapi] Session.destroy
trackid=a098b99ce0ed2013e2cd8f27cc63ea29
Feb 15 23:26:40 silver SM: [17754] Raising exception [40, The SR scan
failed [opterr=['UUID_INVALID', 'VDI', 'Base']]]
Feb 15 23:26:40 silver SM: [17754] ***** Local Path VHD: EXCEPTION
<class 'SR.SROSError'>, The SR scan failed [opterr=['UUID_INVALID',
'VDI', 'Base']]
Feb 15 23:26:40 silver SM: [17754] File
"/usr/lib/xapi/sm/SRCommand.py", line 345, in run
Feb 15 23:26:40 silver SM: [17754] ret = cmd.run(sr)
Feb 15 23:26:40 silver SM: [17754] File
"/usr/lib/xapi/sm/SRCommand.py", line 120, in run
Feb 15 23:26:40 silver SM: [17754] raise xs_errors.XenError(excType,
opterr=msg)
Feb 15 23:26:40 silver SM: [17754] File
"/usr/lib/xapi/sm/xs_errors.py", line 53, in __init__
Feb 15 23:26:40 silver SM: [17754] raise SR.SROSError(errorcode,
errormessage)
Feb 15 23:26:40 silver SM: [17754]
Feb 15 23:26:40 silver SM: [17754] lock: closed
/var/lock/sm/f1784d8b-6412-b880-cd67-b3fa5fcf6539/sr
Feb 15 23:26:40 silver xapi: [debug|silver|11642|sm_exec
D:9a7c46d7d21b|xapi] Raised at file \"sm_exec.ml\", line 215, characters
7-69\nCalled from file \"lib/pervasiveext.ml\", line 22, characters 2-9\n
Feb 15 23:26:40 silver xapi: [ info|silver|11642|sm_exec
D:9a7c46d7d21b|xapi] Session.destroy
trackid=f2f68510ed99e074979e25c86849d673
Feb 15 23:26:40 silver xapi: [debug|silver|11642|sm_exec
D:9a7c46d7d21b|backtrace] Raised at file \"lib/pervasiveext.ml\", line
26, characters 22-25\nCalled from file \"server_helpers.ml\", line 72,
characters 11-23\n
Feb 15 23:26:40 silver xapi: [debug|silver|11642|sm_exec
D:9a7c46d7d21b|dispatcher] Server_helpers.exec exception_handler: Got
exception SR_BACKEND_FAILURE_40: [ ; The SR scan failed
[opterr=['UUID_INVALID', 'VDI', 'Base']]; ]
Feb 15 23:26:40 silver xapi: [debug|silver|11642|sm_exec
D:9a7c46d7d21b|dispatcher] Raised at file \"hashtbl.ml\", line 136,
characters 19-28\nCalled from file \"lib/debug.ml\", line 172,
characters 37-64\n
Feb 15 23:26:40 silver xapi: [debug|silver|11642|sm_exec
D:9a7c46d7d21b|backtrace] Raised at file \"hashtbl.ml\", line 136,
characters 19-28\nCalled from file \"lib/debug.ml\", line 172,
characters 37-64\n
Feb 15 23:26:40 silver xapi: [debug|silver|11642|sm_exec
D:9a7c46d7d21b|xapi] Raised at file \"server_helpers.ml\", line 90,
characters 14-15\nCalled from file \"lib/pervasiveext.ml\", line 22,
characters 2-9\n
Feb 15 23:26:40 silver xapi: [debug|silver|11642|SR.scan
D:d5fbed54862e|xapi] Raised at file \"lib/pervasiveext.ml\", line 26,
characters 22-25\nCalled from file \"lib/debug.ml\", line 57, characters
17-20\nRe-raised at file \"lib/debug.ml\", line 62, characters
10-11\nCalled from file \"lib/pervasiveext.ml\", line 22, characters 2-9\n
Feb 15 23:26:40 silver xapi: [error|silver|11642|SR.scan
D:d5fbed54862e|storage_access] SR.scan failed
SR:OpaqueRef:0c1b673e-34d4-540b-2f4b-a421cb14e90c
code=SR_BACKEND_FAILURE_40 params=[; The SR scan failed
[opterr=['UUID_INVALID', 'VDI', 'Base']]; ]
Feb 15 23:26:40 silver xapi: [debug|silver|11642|SR.scan
D:d5fbed54862e|backtrace] Raised at file \"storage_access.ml\", line
276, characters 15-44\nCalled from file \"server_helpers.ml\", line 72,
characters 11-23\n
Feb 15 23:26:40 silver xapi: [debug|silver|11642|SR.scan
D:d5fbed54862e|dispatcher] Server_helpers.exec exception_handler: Got
exception INTERNAL_ERROR: [ Storage_interface.Backend_error(_) ]
Feb 15 23:26:40 silver xapi: [debug|silver|11642|SR.scan
D:d5fbed54862e|dispatcher] Raised at file \"hashtbl.ml\", line 136,
characters 19-28\nCalled from file \"lib/debug.ml\", line 172,
characters 37-64\n
Feb 15 23:26:40 silver xapi: [debug|silver|11642|SR.scan
D:d5fbed54862e|backtrace] Raised at file \"hashtbl.ml\", line 136,
characters 19-28\nCalled from file \"lib/debug.ml\", line 172,
characters 37-64\n
Feb 15 23:26:40 silver xapi: [debug|silver|11642|SR.scan
D:d5fbed54862e|xapi] Raised at file \"server_helpers.ml\", line 90,
characters 14-15\nCalled from file \"lib/pervasiveext.ml\", line 22,
characters 2-9\n
Feb 15 23:26:40 silver xapi: [debug|silver|11642||xapi] Raised at file
\"lib/pervasiveext.ml\", line 26, characters 22-25\nCalled from file
\"lib/debug.ml\", line 57, characters 17-20\nRe-raised at file
\"lib/debug.ml\", line 62, characters 10-11\nCalled from file
\"lib/pervasiveext.ml\", line 22, characters 2-9\n
Feb 15 23:26:40 silver xapi: [debug|silver|11640 UNIX
/var/lib/xcp/xapi|SR.scan R:228e4c63e429|xapi] Called from file
\"lib/pervasiveext.ml\", line 22, characters 2-9\n
Feb 15 23:26:40 silver xapi: [error|silver|11640 UNIX
/var/lib/xcp/xapi|SR.scan R:228e4c63e429|storage_access] Re-raising as
SR_BACKEND_FAILURE_40 [ ; The SR scan failed [opterr=['UUID_INVALID',
'VDI', 'Base']]; ]
Feb 15 23:26:40 silver xapi: [debug|silver|11640 UNIX
/var/lib/xcp/xapi|SR.scan R:228e4c63e429|xapi] Raised at file
\"storage_access.ml\", line 969, characters 9-48\nCalled from file
\"message_forwarding.ml\", line 233, characters 25-44\nCalled from file
\"lib/pervasiveext.ml\", line 22, characters 2-9\n
Feb 15 23:26:40 silver xapi: [debug|silver|11640 UNIX
/var/lib/xcp/xapi|SR.scan R:228e4c63e429|xapi] Unmarking SR after
SR.scan (task=OpaqueRef:228e4c63-e429-dc91-a1f8-31eacad244c8)
Feb 15 23:26:40 silver xapi: [debug|silver|11640 UNIX
/var/lib/xcp/xapi|SR.scan R:228e4c63e429|backtrace] Raised at file
\"lib/pervasiveext.ml\", line 26, characters 22-25\nCalled from file
\"rbac.ml\", line 227, characters 16-23\n
Feb 15 23:26:40 silver xapi: [20150215T22:26:40.517Z|audit|silver|11640
UNIX /var/lib/xcp/xapi|SR.scan R:228e4c63e429|audit]
('trackid=26512004385f50e3831e11f2d2c83d7d' 'LOCAL_SUPERUSER' 'root'
'ALLOWED' 'ERROR:SR_BACKEND_FAILURE_40: [ ; The SR scan failed
[opterr=[\'UUID_INVALID\', \'VDI\', \'Base\']]; ]' 'API' 'SR.scan'
(('sr' 'fileSR' 'f1784d8b-6412-b880-cd67-b3fa5fcf6539'
'OpaqueRef:0c1b673e-34d4-540b-2f4b-a421cb14e90c')))
Feb 15 23:26:40 silver xapi: [debug|silver|11640 UNIX
/var/lib/xcp/xapi|SR.scan R:228e4c63e429|backtrace] Raised at file
\"rbac.ml\", line 236, characters 10-15\nCalled from file
\"server_helpers.ml\", line 75, characters 11-41\n
Feb 15 23:26:40 silver xapi: [debug|silver|11640 UNIX
/var/lib/xcp/xapi|SR.scan R:228e4c63e429|dispatcher] Server_helpers.exec
exception_handler: Got exception SR_BACKEND_FAILURE_40: [ ; The SR scan
failed [opterr=['UUID_INVALID', 'VDI', 'Base']]; ]
Feb 15 23:26:40 silver xapi: [debug|silver|11640 UNIX
/var/lib/xcp/xapi|SR.scan R:228e4c63e429|dispatcher] Raised at file
\"rbac.ml\", line 236, characters 10-15\nCalled from file
\"server_helpers.ml\", line 75, characters 11-41\n
Feb 15 23:26:40 silver xapi: [debug|silver|11640 UNIX
/var/lib/xcp/xapi|SR.scan R:228e4c63e429|backtrace] Raised at file
\"rbac.ml\", line 236, characters 10-15\nCalled from file
\"server_helpers.ml\", line 75, characters 11-41\n
Feb 15 23:26:40 silver xapi: [debug|silver|11640 UNIX
/var/lib/xcp/xapi|SR.scan R:228e4c63e429|xapi] Raised at file
\"server_helpers.ml\", line 90, characters 14-15\nCalled from file
\"lib/pervasiveext.ml\", line 22, characters 2-9\n
Feb 15 23:26:40 silver xapi: [debug|silver|11640 UNIX
/var/lib/xcp/xapi|dispatch:SR.scan D:1c8c170d8289|xapi] Raised at file
\"lib/pervasiveext.ml\", line 26, characters 22-25\nCalled from file
\"lib/debug.ml\", line 57, characters 17-20\nRe-raised at file
\"lib/debug.ml\", line 62, characters 10-11\nCalled from file
\"lib/pervasiveext.ml\", line 22, characters 2-9\n
Feb 15 23:26:40 silver xapi: [debug|silver|11640 UNIX
/var/lib/xcp/xapi|dispatch:SR.scan D:1c8c170d8289|backtrace] Raised at
file \"lib/pervasiveext.ml\", line 26, characters 22-25\nCalled from
file \"lib/debug.ml\", line 57, characters 17-20\nRe-raised at file
\"lib/debug.ml\", line 62, characters 10-11\nCalled from file
\"lib/pervasiveext.ml\", line 22, characters 2-9\nRe-raised at file
\"lib/pervasiveext.ml\", line 26, characters 22-25\nCalled from file
\"server_helpers.ml\", line 136, characters 10-106\nCalled from file
\"server.ml\", line 22035, characters 23-161\nCalled from file
\"server_helpers.ml\", line 115, characters 4-7\n
Feb 15 23:26:40 silver xapi: [debug|silver|11640 UNIX
/var/lib/xcp/xapi||xapi] Raised at file \"client.ml\", line 6,
characters 37-75\nCalled from file \"client.ml\", line 18, characters
55-110\nCalled from file \"client.ml\", line 9555, characters
6-50\nCalled from file \"xapi_cli.ml\", line 112, characters
18-56\nCalled from file \"lib/pervasiveext.ml\", line 22, characters 2-9\n
Feb 15 23:26:40 silver xapi: [ info|silver|11640 UNIX
/var/lib/xcp/xapi|session.logout D:a5289a172448|xapi] Session.destroy
trackid=26512004385f50e3831e11f2d2c83d7d
Feb 15 23:26:40 silver xapi: [debug|silver|11640 UNIX
/var/lib/xcp/xapi||backtrace] Raised at file \"lib/pervasiveext.ml\",
line 26, characters 22-25\nCalled from file \"xapi_cli.ml\", line 111,
characters 2-138\nCalled from file \"xapi_cli.ml\", line 221, characters
7-44\nCalled from file \"xapi_cli.ml\", line 273, characters 4-23\n
Feb 15 23:26:40 silver xapi: [debug|silver|11640 UNIX
/var/lib/xcp/xapi||cli] Xapi_cli.exception_handler: Got exception
SR_BACKEND_FAILURE_40: [ ; The SR scan failed [opterr=['UUID_INVALID',
'VDI', 'Base']]; ]
Feb 15 23:26:40 silver xapi: [debug|silver|11640 UNIX
/var/lib/xcp/xapi||cli] Raised at file \"lib/pervasiveext.ml\", line 26,
characters 22-25\nCalled from file \"xapi_cli.ml\", line 111, characters
2-138\nCalled from file \"xapi_cli.ml\", line 221, characters
7-44\nCalled from file \"xapi_cli.ml\", line 273, characters 4-23\n

Regards,
Dawid