[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-API] ffs missing
Renaming VHD file to .vhd fails in the same way as keeping VHD file
with original name and renaming .json file to .vhs. Examples below.
I'm ready to pull sources from any commit number and build
everything from source. Just need to know which commit/branch/tag to
pull to get access back to this VHD files created by ffs.
Could you please recommend how can I pull xenbuild-root with working
ffs from around and of the 2014 year?
Thanks in advance.
Examples as per above, trying to access VHDs created using FFS by
File.
sr-type=file
UUID=XOA_System
files:
file XOA_System
XOA_System: Microsoft Disk Image, Virtual Server or Virtual PC
XOA_System.vhd: ASCII text, with very long lines, with no line
terminators
# log output
Feb 11 14:02:17 silver xapi: [ info|silver|14461 UNIX
/var/lib/xcp/xapi||cli] xe sr-scan
uuid=06260f45-4ab0-44f8-b9b9-c184886c5619 force=true username=root
password=(omitted)
Feb 11 14:02:17 silver xapi: [ info|silver|14461 UNIX
/var/lib/xcp/xapi|session.login_with_password D:9c1ae26e078c|xapi]
Session.create trackid=1015e17cd258b6d0e014356bcc9db6fd pool=false
uname=root originator=cli is_local_superuser=true auth_user_sid=
parent=trackid=9834f5af41c964e225f24279aefe4e49
Feb 11 14:02:17 silver xapi: [debug|silver|14461 UNIX
/var/lib/xcp/xapi|session.login_with_password D:9c1ae26e078c|mscgen]
xapi=>xapi [label="session.get_uuid"];
Feb 11 14:02:17 silver xapi: [debug|silver|14462 UNIX
/var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.get_uuid
D:f159e163db23 created by task D:9c1ae26e078c
Feb 11 14:02:17 silver xapi: [debug|silver|14461 UNIX
/var/lib/xcp/xapi|SR.scan R:83c5c4268353|audit] SR.scan: SR =
'06260f45-4ab0-44f8-b9b9-c184886c5619 (/mnt/images)'
Feb 11 14:02:17 silver xapi: [debug|silver|14461 UNIX
/var/lib/xcp/xapi|SR.scan R:83c5c4268353|xapi] Marking SR for
SR.scan (task=OpaqueRef:83c5c426-8353-4f34-dacd-71996956a75c)
Feb 11 14:02:17 silver xapi: [ info|silver|14461 UNIX
/var/lib/xcp/xapi|SR.scan R:83c5c4268353|storage_impl] SR.scan
dbg:OpaqueRef:83c5c426-8353-4f34-dacd-71996956a75c
sr:06260f45-4ab0-44f8-b9b9-c184886c5619
Feb 11 14:02:17 silver xapi: [debug|silver|14463||dummytaskhelper]
task SR.scan D:7ec66cb49095 created by task R:83c5c4268353
Feb 11 14:02:17 silver xapi: [debug|silver|14463|SR.scan
D:7ec66cb49095|sm] SM file sr_scan
sr=OpaqueRef:47463f3a-3d73-ce59-36cd-ebc18121f2fa
Feb 11 14:02:17 silver xapi: [ info|silver|14463|sm_exec
D:f0f5e21193a6|xapi] Session.create
trackid=79cf01a2e7c88689f4e9037aaefb2584 pool=false uname=
originator= is_local_superuser=true auth_user_sid=
parent=trackid=9834f5af41c964e225f24279aefe4e49
Feb 11 14:02:17 silver xapi: [debug|silver|14463|sm_exec
D:f0f5e21193a6|mscgen] xapi=>xapi [label="session.get_uuid"];
Feb 11 14:02:17 silver xapi: [debug|silver|14464 UNIX
/var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.get_uuid
D:4fac208a1947 created by task D:f0f5e21193a6
Feb 11 14:02:17 silver xapi: [debug|silver|14463|sm_exec
D:f0f5e21193a6|mscgen] smapiv2=>smapiv1 [label="sr_scan"];
Feb 11 14:02:17 silver xapi: [debug|silver|14465 UNIX
/var/lib/xcp/xapi||dummytaskhelper] task
dispatch:host.get_other_config D:f91f78a279c3 created by task
D:7ec66cb49095
Feb 11 14:02:17 silver SM: [28419] lock: opening lock file
/var/lock/sm/06260f45-4ab0-44f8-b9b9-c184886c5619/sr
Feb 11 14:02:17 silver xapi: [debug|silver|14466 UNIX
/var/lib/xcp/xapi||dummytaskhelper] task
dispatch:SR.get_other_config D:da0c7d4cdd32 created by task
D:7ec66cb49095
Feb 11 14:02:17 silver SM: [28419] lock: acquired
/var/lock/sm/06260f45-4ab0-44f8-b9b9-c184886c5619/sr
Feb 11 14:02:17 silver SM: [28419] sr_scan {'sr_uuid':
'06260f45-4ab0-44f8-b9b9-c184886c5619', 'subtask_of':
'DummyRef:|7ec66cb4-9095-f347-18e4-4a439e871e76|SR.scan', 'args':
[], 'host_ref': 'OpaqueRef:0d0d7bf7-4d03-afc4-4280-8724014224ba',
'session_ref': 'OpaqueRef:492e2e87-b19f-76dc-c845-23882765e83d',
'device_config': {'SRmaster': 'true', 'location': '/mnt/images'},
'command': 'sr_scan', 'sr_ref':
'OpaqueRef:47463f3a-3d73-ce59-36cd-ebc18121f2fa'}
Feb 11 14:02:17 silver SM: [28419] ['/usr/lib/blktap/bin/vhd-util',
'scan', '-f', '-c', '-m',
'/var/run/sr-mount/06260f45-4ab0-44f8-b9b9-c184886c5619/*.vhd']
Feb 11 14:02:17 silver SM: [28419] pread SUCCESS
Feb 11 14:02:17 silver SM: [28419] ***** VHD scan error:
vhd=/var/run/sr-mount/06260f45-4ab0-44f8-b9b9-c184886c5619/XOA_System.vhd
scan-error=-5 error-message='opening file'
Feb 11 14:02:17 silver SM: [28419] Raising exception [40, The SR
scan failed [opterr=uuid=XOA_System]]
Feb 11 14:02:17 silver SM: [28419] lock: released
/var/lock/sm/06260f45-4ab0-44f8-b9b9-c184886c5619/sr
Feb 11 14:02:17 silver SM: [28419] ***** generic exception: sr_scan:
EXCEPTION <class 'SR.SROSError'>, The SR scan failed
[opterr=uuid=XOA_System]
Feb 11 14:02:17 silver SM: [28419] File
"/usr/lib/xapi/sm/SRCommand.py", line 110, in run
Feb 11 14:02:17 silver SM: [28419] return self._run_locked(sr)
Feb 11 14:02:17 silver SM: [28419] File
"/usr/lib/xapi/sm/SRCommand.py", line 159, in _run_locked
Feb 11 14:02:17 silver SM: [28419] rv = self._run(sr, target)
Feb 11 14:02:17 silver SM: [28419] File
"/usr/lib/xapi/sm/SRCommand.py", line 331, in _run
Feb 11 14:02:17 silver SM: [28419] return
sr.scan(self.params['sr_uuid'])
Feb 11 14:02:17 silver SM: [28419] File "/usr/lib/xapi/sm/FileSR",
line 185, in scan
Feb 11 14:02:17 silver SM: [28419] self._loadvdis()
Feb 11 14:02:17 silver SM: [28419] File "/usr/lib/xapi/sm/FileSR",
line 255, in _loadvdis
Feb 11 14:02:17 silver SM: [28419] raise
xs_errors.XenError('SRScan', opterr='uuid=%s' % uuid)
Feb 11 14:02:17 silver SM: [28419] File
"/usr/lib/xapi/sm/xs_errors.py", line 53, in __init__
Feb 11 14:02:17 silver SM: [28419] raise SR.SROSError(errorcode,
errormessage)
Feb 11 14:02:17 silver SM: [28419]
Feb 11 14:02:17 silver SM: [28419] ***** Local Path VHD: EXCEPTION
<class 'SR.SROSError'>, The SR scan failed
[opterr=uuid=XOA_System]
Feb 11 14:02:17 silver SM: [28419] File
"/usr/lib/xapi/sm/SRCommand.py", line 345, in run
Feb 11 14:02:17 silver SM: [28419] ret = cmd.run(sr)
Feb 11 14:02:17 silver SM: [28419] File
"/usr/lib/xapi/sm/SRCommand.py", line 110, in run
Feb 11 14:02:17 silver SM: [28419] return self._run_locked(sr)
Feb 11 14:02:17 silver SM: [28419] File
"/usr/lib/xapi/sm/SRCommand.py", line 159, in _run_locked
Feb 11 14:02:17 silver SM: [28419] rv = self._run(sr, target)
Feb 11 14:02:17 silver SM: [28419] File
"/usr/lib/xapi/sm/SRCommand.py", line 331, in _run
Feb 11 14:02:17 silver SM: [28419] return
sr.scan(self.params['sr_uuid'])
Feb 11 14:02:17 silver SM: [28419] File "/usr/lib/xapi/sm/FileSR",
line 185, in scan
Feb 11 14:02:17 silver SM: [28419] self._loadvdis()
Feb 11 14:02:17 silver SM: [28419] File "/usr/lib/xapi/sm/FileSR",
line 255, in _loadvdis
Feb 11 14:02:17 silver SM: [28419] raise
xs_errors.XenError('SRScan', opterr='uuid=%s' % uuid)
Feb 11 14:02:17 silver SM: [28419] File
"/usr/lib/xapi/sm/xs_errors.py", line 53, in __init__
Feb 11 14:02:17 silver SM: [28419] raise SR.SROSError(errorcode,
errormessage)
Feb 11 14:02:17 silver SM: [28419]
Feb 11 14:02:17 silver SM: [28419] lock: closed
/var/lock/sm/06260f45-4ab0-44f8-b9b9-c184886c5619/sr
Feb 11 14:02:17 silver xapi: [debug|silver|14463|sm_exec
D:f0f5e21193a6|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 11 14:02:17 silver xapi: [ info|silver|14463|sm_exec
D:f0f5e21193a6|xapi] Session.destroy
trackid=79cf01a2e7c88689f4e9037aaefb2584
Feb 11 14:02:17 silver xapi: [debug|silver|14463|sm_exec
D:f0f5e21193a6|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 11 14:02:17 silver xapi: [debug|silver|14463|sm_exec
D:f0f5e21193a6|dispatcher] Server_helpers.exec exception_handler:
Got exception SR_BACKEND_FAILURE_40: [ ; The SR scan failed
[opterr=uuid=XOA_System]; ]
Feb 11 14:02:17 silver xapi: [debug|silver|14463|sm_exec
D:f0f5e21193a6|dispatcher] Raised at file \"hashtbl.ml\", line 136,
characters 19-28\nCalled from file \"lib/debug.ml\", line 172,
characters 37-64\n
Feb 11 14:02:17 silver xapi: [debug|silver|14463|sm_exec
D:f0f5e21193a6|backtrace] Raised at file \"hashtbl.ml\", line 136,
characters 19-28\nCalled from file \"lib/debug.ml\", line 172,
characters 37-64\n
Feb 11 14:02:17 silver xapi: [debug|silver|14463|sm_exec
D:f0f5e21193a6|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 11 14:02:17 silver xapi: [debug|silver|14463|SR.scan
D:7ec66cb49095|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 11 14:02:17 silver xapi: [error|silver|14463|SR.scan
D:7ec66cb49095|storage_access] SR.scan failed
SR:OpaqueRef:47463f3a-3d73-ce59-36cd-ebc18121f2fa
code=SR_BACKEND_FAILURE_40 params=[; The SR scan failed
[opterr=uuid=XOA_System]; ]
Feb 11 14:02:17 silver xapi: [debug|silver|14463|SR.scan
D:7ec66cb49095|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 11 14:02:17 silver xapi: [debug|silver|14463|SR.scan
D:7ec66cb49095|dispatcher] Server_helpers.exec exception_handler:
Got exception INTERNAL_ERROR: [ Storage_interface.Backend_error(_) ]
Feb 11 14:02:17 silver xapi: [debug|silver|14463|SR.scan
D:7ec66cb49095|dispatcher] Raised at file \"hashtbl.ml\", line 136,
characters 19-28\nCalled from file \"lib/debug.ml\", line 172,
characters 37-64\n
Feb 11 14:02:17 silver xapi: [debug|silver|14463|SR.scan
D:7ec66cb49095|backtrace] Raised at file \"hashtbl.ml\", line 136,
characters 19-28\nCalled from file \"lib/debug.ml\", line 172,
characters 37-64\n
Feb 11 14:02:17 silver xapi: [debug|silver|14463|SR.scan
D:7ec66cb49095|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 11 14:02:17 silver xapi: [debug|silver|14463||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 11 14:02:17 silver xapi: [debug|silver|14461 UNIX
/var/lib/xcp/xapi|SR.scan R:83c5c4268353|xapi] Called from file
\"lib/pervasiveext.ml\", line 22, characters 2-9\n
Feb 11 14:02:17 silver xapi: [error|silver|14461 UNIX
/var/lib/xcp/xapi|SR.scan R:83c5c4268353|storage_access] Re-raising
as SR_BACKEND_FAILURE_40 [ ; The SR scan failed
[opterr=uuid=XOA_System]; ]
Feb 11 14:02:17 silver xapi: [debug|silver|14461 UNIX
/var/lib/xcp/xapi|SR.scan R:83c5c4268353|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 11 14:02:17 silver xapi: [debug|silver|14461 UNIX
/var/lib/xcp/xapi|SR.scan R:83c5c4268353|xapi] Unmarking SR after
SR.scan (task=OpaqueRef:83c5c426-8353-4f34-dacd-71996956a75c)
Feb 11 14:02:17 silver xapi: [debug|silver|14461 UNIX
/var/lib/xcp/xapi|SR.scan R:83c5c4268353|backtrace] Raised at file
\"lib/pervasiveext.ml\", line 26, characters 22-25\nCalled from file
\"rbac.ml\", line 227, characters 16-23\n
Feb 11 14:02:17 silver xapi:
[20150211T13:02:17.301Z|audit|silver|14461 UNIX
/var/lib/xcp/xapi|SR.scan R:83c5c4268353|audit]
('trackid=1015e17cd258b6d0e014356bcc9db6fd' 'LOCAL_SUPERUSER' 'root'
'ALLOWED' 'ERROR:SR_BACKEND_FAILURE_40: [ ; The SR scan failed
[opterr=uuid=XOA_System]; ]' 'API' 'SR.scan' (('sr' '/mnt/images'
'06260f45-4ab0-44f8-b9b9-c184886c5619'
'OpaqueRef:47463f3a-3d73-ce59-36cd-ebc18121f2fa')))
Feb 11 14:02:17 silver xapi: [debug|silver|14461 UNIX
/var/lib/xcp/xapi|SR.scan R:83c5c4268353|backtrace] Raised at file
\"rbac.ml\", line 236, characters 10-15\nCalled from file
\"server_helpers.ml\", line 75, characters 11-41\n
Feb 11 14:02:17 silver xapi: [debug|silver|14461 UNIX
/var/lib/xcp/xapi|SR.scan R:83c5c4268353|dispatcher]
Server_helpers.exec exception_handler: Got exception
SR_BACKEND_FAILURE_40: [ ; The SR scan failed
[opterr=uuid=XOA_System]; ]
Feb 11 14:02:17 silver xapi: [debug|silver|14461 UNIX
/var/lib/xcp/xapi|SR.scan R:83c5c4268353|dispatcher] Raised at file
\"rbac.ml\", line 236, characters 10-15\nCalled from file
\"server_helpers.ml\", line 75, characters 11-41\n
Feb 11 14:02:17 silver xapi: [debug|silver|14461 UNIX
/var/lib/xcp/xapi|SR.scan R:83c5c4268353|backtrace] Raised at file
\"rbac.ml\", line 236, characters 10-15\nCalled from file
\"server_helpers.ml\", line 75, characters 11-41\n
Feb 11 14:02:17 silver xapi: [debug|silver|14461 UNIX
/var/lib/xcp/xapi|SR.scan R:83c5c4268353|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 11 14:02:17 silver xapi: [debug|silver|14461 UNIX
/var/lib/xcp/xapi|dispatch:SR.scan D:36a7cd734a95|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 11 14:02:17 silver xapi: [debug|silver|14461 UNIX
/var/lib/xcp/xapi|dispatch:SR.scan D:36a7cd734a95|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 11 14:02:17 silver xapi: [debug|silver|14461 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 11 14:02:17 silver xapi: [ info|silver|14461 UNIX
/var/lib/xcp/xapi|session.logout D:160380cf94c6|xapi]
Session.destroy trackid=1015e17cd258b6d0e014356bcc9db6fd
Feb 11 14:02:17 silver xapi: [debug|silver|14461 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 11 14:02:17 silver xapi: [debug|silver|14461 UNIX
/var/lib/xcp/xapi||cli] Xapi_cli.exception_handler: Got exception
SR_BACKEND_FAILURE_40: [ ; The SR scan failed
[opterr=uuid=XOA_System]; ]
Feb 11 14:02:17 silver xapi: [debug|silver|14461 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
XOA_System.vhd: Microsoft Disk Image, Virtual Server or Virtual PC
XOA_System.json: ASCII text, with very long lines, with no line
terminators
# log output
Feb 11 14:01:12 silver xapi: [ info|silver|14434 UNIX
/var/lib/xcp/xapi||cli] xe sr-scan
uuid=06260f45-4ab0-44f8-b9b9-c184886c5619 force=true username=root
password=(omitted)
Feb 11 14:01:12 silver xapi: [ info|silver|14434 UNIX
/var/lib/xcp/xapi|session.login_with_password D:fa7ce073bdb2|xapi]
Session.create trackid=ea08cc6b816b06ed40fe500b9cd5c0fb pool=false
uname=root originator=cli is_local_superuser=true auth_user_sid=
parent=trackid=9834f5af41c964e225f24279aefe4e49
Feb 11 14:01:12 silver xapi: [debug|silver|14434 UNIX
/var/lib/xcp/xapi|session.login_with_password D:fa7ce073bdb2|mscgen]
xapi=>xapi [label="session.get_uuid"];
Feb 11 14:01:12 silver xapi: [debug|silver|14435 UNIX
/var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.get_uuid
D:ef7ef1aab044 created by task D:fa7ce073bdb2
Feb 11 14:01:12 silver xapi: [debug|silver|14434 UNIX
/var/lib/xcp/xapi|SR.scan R:2c5688a46c47|audit] SR.scan: SR =
'06260f45-4ab0-44f8-b9b9-c184886c5619 (/mnt/images)'
Feb 11 14:01:12 silver xapi: [debug|silver|14434 UNIX
/var/lib/xcp/xapi|SR.scan R:2c5688a46c47|xapi] Marking SR for
SR.scan (task=OpaqueRef:2c5688a4-6c47-21e3-cfda-16d948690131)
Feb 11 14:01:12 silver xapi: [ info|silver|14434 UNIX
/var/lib/xcp/xapi|SR.scan R:2c5688a46c47|storage_impl] SR.scan
dbg:OpaqueRef:2c5688a4-6c47-21e3-cfda-16d948690131
sr:06260f45-4ab0-44f8-b9b9-c184886c5619
Feb 11 14:01:12 silver xapi: [debug|silver|14436||dummytaskhelper]
task SR.scan D:e31cdeca83c1 created by task R:2c5688a46c47
Feb 11 14:01:12 silver xapi: [debug|silver|14436|SR.scan
D:e31cdeca83c1|sm] SM file sr_scan
sr=OpaqueRef:47463f3a-3d73-ce59-36cd-ebc18121f2fa
Feb 11 14:01:12 silver xapi: [ info|silver|14436|sm_exec
D:216543b7d7c1|xapi] Session.create
trackid=4267e82a34fca5a5d6893cdf82361a65 pool=false uname=
originator= is_local_superuser=true auth_user_sid=
parent=trackid=9834f5af41c964e225f24279aefe4e49
Feb 11 14:01:12 silver xapi: [debug|silver|14436|sm_exec
D:216543b7d7c1|mscgen] xapi=>xapi [label="session.get_uuid"];
Feb 11 14:01:12 silver xapi: [debug|silver|14437 UNIX
/var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.get_uuid
D:1f1b16f7b80b created by task D:216543b7d7c1
Feb 11 14:01:12 silver xapi: [debug|silver|14436|sm_exec
D:216543b7d7c1|mscgen] smapiv2=>smapiv1 [label="sr_scan"];
Feb 11 14:01:12 silver xapi: [debug|silver|14438 UNIX
/var/lib/xcp/xapi||dummytaskhelper] task
dispatch:host.get_other_config D:bd50a01f81b8 created by task
D:e31cdeca83c1
Feb 11 14:01:12 silver SM: [28197] lock: opening lock file
/var/lock/sm/06260f45-4ab0-44f8-b9b9-c184886c5619/sr
Feb 11 14:01:12 silver xapi: [debug|silver|14439 UNIX
/var/lib/xcp/xapi||dummytaskhelper] task
dispatch:SR.get_other_config D:ef58432bd2a4 created by task
D:e31cdeca83c1
Feb 11 14:01:12 silver SM: [28197] lock: acquired
/var/lock/sm/06260f45-4ab0-44f8-b9b9-c184886c5619/sr
Feb 11 14:01:12 silver SM: [28197] sr_scan {'sr_uuid':
'06260f45-4ab0-44f8-b9b9-c184886c5619', 'subtask_of':
'DummyRef:|e31cdeca-83c1-1b2e-772c-9fa0cd987da8|SR.scan', 'args':
[], 'host_ref': 'OpaqueRef:0d0d7bf7-4d03-afc4-4280-8724014224ba',
'session_ref': 'OpaqueRef:c46461cd-971e-c608-3d04-3aa2457794f5',
'device_config': {'SRmaster': 'true', 'location': '/mnt/images'},
'command': 'sr_scan', 'sr_ref':
'OpaqueRef:47463f3a-3d73-ce59-36cd-ebc18121f2fa'}
Feb 11 14:01:12 silver SM: [28197] ['/usr/lib/blktap/bin/vhd-util',
'scan', '-f', '-c', '-m',
'/var/run/sr-mount/06260f45-4ab0-44f8-b9b9-c184886c5619/*.vhd']
Feb 11 14:01:12 silver SM: [28197] pread SUCCESS
Feb 11 14:01:12 silver SM: [28197] ['ls',
'/var/run/sr-mount/06260f45-4ab0-44f8-b9b9-c184886c5619', '-1',
'--color=never']
Feb 11 14:01:12 silver SM: [28197] pread SUCCESS
Feb 11 14:01:12 silver SM: [28197] lock: opening lock file
/var/lock/sm/06260f45-4ab0-44f8-b9b9-c184886c5619/running
Feb 11 14:01:12 silver SM: [28197] lock: tried lock
/var/lock/sm/06260f45-4ab0-44f8-b9b9-c184886c5619/running, acquired:
True (exists: True)
Feb 11 14:01:12 silver SM: [28197] lock: released
/var/lock/sm/06260f45-4ab0-44f8-b9b9-c184886c5619/running
Feb 11 14:01:12 silver SM: [28197] Kicking GC
Feb 11 14:01:12 silver SMGC: [28197] === SR
06260f45-4ab0-44f8-b9b9-c184886c5619: gc ===
Feb 11 14:01:12 silver SMGC: [28202] Will finish as PID [28203]
Feb 11 14:01:12 silver SM: [28203] lock: opening lock file
/var/lock/sm/06260f45-4ab0-44f8-b9b9-c184886c5619/running
Feb 11 14:01:12 silver SMGC: [28197] New PID [28202]
Feb 11 14:01:12 silver SM: [28197] lock: closed
/var/lock/sm/06260f45-4ab0-44f8-b9b9-c184886c5619/running
Feb 11 14:01:12 silver xapi: [ info|silver|14441 UNIX
/var/lib/xcp/xapi|session.login_with_password D:49063d819833|xapi]
Session.create trackid=9e29ecefc97b2db549969be9ab1df38d pool=false
uname=root originator= is_local_superuser=true auth_user_sid=
parent=trackid=9834f5af41c964e225f24279aefe4e49
Feb 11 14:01:12 silver xapi: [debug|silver|14441 UNIX
/var/lib/xcp/xapi|session.login_with_password D:49063d819833|mscgen]
xapi=>xapi [label="session.get_uuid"];
Feb 11 14:01:12 silver xapi: [debug|silver|14440 UNIX
/var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.get_by_uuid
D:5c7afb4a4c1d created by task D:e31cdeca83c1
Feb 11 14:01:12 silver xapi: [debug|silver|14442 UNIX
/var/lib/xcp/xapi||dummytaskhelper] task dispatch:session.get_uuid
D:440efda64e40 created by task D:49063d819833
Feb 11 14:01:12 silver xapi: [debug|silver|14443 UNIX
/var/lib/xcp/xapi||dummytaskhelper] task
dispatch:SR.set_virtual_allocation D:61f88d345fa0 created by task
D:e31cdeca83c1
Feb 11 14:01:12 silver xapi:
[20150211T13:01:12.812Z|audit|silver|14443 UNIX
/var/lib/xcp/xapi|SR.set_virtual_allocation D:ba24b517e97d|audit]
('trackid=4267e82a34fca5a5d6893cdf82361a65' 'LOCAL_SUPERUSER'
'__sm__backend' 'ALLOWED' 'OK' 'API' 'SR.set_virtual_allocation'
(('self' '/mnt/images' '06260f45-4ab0-44f8-b9b9-c184886c5619'
'OpaqueRef:47463f3a-3d73-ce59-36cd-ebc18121f2fa')))
Feb 11 14:01:12 silver xapi: [debug|silver|14445 UNIX
/var/lib/xcp/xapi||dummytaskhelper] task
dispatch:SR.set_physical_size D:4351743c602a created by task
D:e31cdeca83c1
Feb 11 14:01:12 silver xapi:
[20150211T13:01:12.814Z|audit|silver|14445 UNIX
/var/lib/xcp/xapi|SR.set_physical_size D:efbcf6eacc1c|audit]
('trackid=4267e82a34fca5a5d6893cdf82361a65' 'LOCAL_SUPERUSER'
'__sm__backend' 'ALLOWED' 'OK' 'API' 'SR.set_physical_size' (('self'
'/mnt/images' '06260f45-4ab0-44f8-b9b9-c184886c5619'
'OpaqueRef:47463f3a-3d73-ce59-36cd-ebc18121f2fa')))
Feb 11 14:01:12 silver xapi: [debug|silver|14447 UNIX
/var/lib/xcp/xapi||dummytaskhelper] task
dispatch:SR.set_physical_utilisation D:cd26cf009732 created by task
D:e31cdeca83c1
Feb 11 14:01:12 silver xapi:
[20150211T13:01:12.816Z|audit|silver|14447 UNIX
/var/lib/xcp/xapi|SR.set_physical_utilisation D:16af2a06c96b|audit]
('trackid=4267e82a34fca5a5d6893cdf82361a65' 'LOCAL_SUPERUSER'
'__sm__backend' 'ALLOWED' 'OK' 'API' 'SR.set_physical_utilisation'
(('self' '/mnt/images' '06260f45-4ab0-44f8-b9b9-c184886c5619'
'OpaqueRef:47463f3a-3d73-ce59-36cd-ebc18121f2fa')))
Feb 11 14:01:12 silver xapi: [debug|silver|14449 UNIX
/var/lib/xcp/xapi||dummytaskhelper] task dispatch:SR.get_by_uuid
D:fe32c9e29a66 created by task D:e31cdeca83c1
Feb 11 14:01:12 silver xapi: [debug|silver|14451 UNIX
/var/lib/xcp/xapi||dummytaskhelper] task
dispatch:VDI.get_all_records_where D:5bf4a5686477 created by task
D:e31cdeca83c1
Feb 11 14:01:12 silver SM: [28197] missing config for vdi:
XOA_System
Feb 11 14:01:12 silver SM: [28197] new VDIs on disk:
set(['XOA_System'])
Feb 11 14:01:12 silver SM: [28197] Introducing VDI with
location=XOA_System
Feb 11 14:01:12 silver xapi: [debug|silver|14454 UNIX
/var/lib/xcp/xapi||dummytaskhelper] task dispatch:VDI.db_introduce
D:3cf95f3f1281 created by task D:e31cdeca83c1
Feb 11 14:01:12 silver xapi: [ info|silver|14454 UNIX
/var/lib/xcp/xapi|dispatch:VDI.db_introduce
D:3cf95f3f1281|taskhelper] task VDI.db_introduce R:f8cb6e0a2305
(uuid:3d0a5b6c-6aaf-3ded-c3cd-4547c904f263) created
(trackid=4267e82a34fca5a5d6893cdf82361a65) by task D:e31cdeca83c1
Feb 11 14:01:12 silver xapi: [debug|silver|14454 UNIX
/var/lib/xcp/xapi|VDI.db_introduce R:f8cb6e0a2305|xapi]
{pool,db}_introduce uuid=XOA_System name_label=
Feb 11 14:01:12 silver xapi: [debug|silver|14454 UNIX
/var/lib/xcp/xapi|VDI.db_introduce R:f8cb6e0a2305|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 11 14:01:12 silver xapi:
[20150211T13:01:12.825Z|audit|silver|14454 UNIX
/var/lib/xcp/xapi|VDI.db_introduce R:f8cb6e0a2305|audit]
('trackid=4267e82a34fca5a5d6893cdf82361a65' 'LOCAL_SUPERUSER'
'__sm__backend' 'ALLOWED' 'ERROR:UUID_INVALID: [ VDI; XOA_System ]'
'API' 'VDI.db_introduce' (('name_label' '' '' '')
('name_description' '' '' '') ('sR' '/mnt/images'
'06260f45-4ab0-44f8-b9b9-c184886c5619'
'OpaqueRef:47463f3a-3d73-ce59-36cd-ebc18121f2fa')
('metadata_of_pool' '' '' 'OpaqueRef:NULL') ('snapshot_of' '' ''
'OpaqueRef:NULL')))
Feb 11 14:01:12 silver xapi: [debug|silver|14454 UNIX
/var/lib/xcp/xapi|VDI.db_introduce R:f8cb6e0a2305|backtrace] Raised
at file \"rbac.ml\", line 236, characters 10-15\nCalled from file
\"server_helpers.ml\", line 75, characters 11-41\n
Feb 11 14:01:12 silver xapi: [debug|silver|14454 UNIX
/var/lib/xcp/xapi|VDI.db_introduce R:f8cb6e0a2305|dispatcher]
Server_helpers.exec exception_handler: Got exception UUID_INVALID: [
VDI; XOA_System ]
Feb 11 14:01:12 silver xapi: [debug|silver|14454 UNIX
/var/lib/xcp/xapi|VDI.db_introduce R:f8cb6e0a2305|dispatcher] Raised
at file \"rbac.ml\", line 236, characters 10-15\nCalled from file
\"server_helpers.ml\", line 75, characters 11-41\n
Feb 11 14:01:12 silver xapi: [debug|silver|14454 UNIX
/var/lib/xcp/xapi|VDI.db_introduce R:f8cb6e0a2305|backtrace] Raised
at file \"rbac.ml\", line 236, characters 10-15\nCalled from file
\"server_helpers.ml\", line 75, characters 11-41\n
Feb 11 14:01:12 silver xapi: [debug|silver|14454 UNIX
/var/lib/xcp/xapi|VDI.db_introduce R:f8cb6e0a2305|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 11 14:01:12 silver xapi: [debug|silver|14454 UNIX
/var/lib/xcp/xapi|dispatch:VDI.db_introduce D:3cf95f3f1281|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 11 14:01:12 silver xapi: [debug|silver|14454 UNIX
/var/lib/xcp/xapi|dispatch:VDI.db_introduce
D:3cf95f3f1281|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 11 14:01:12 silver SM: [28203] lock: opening lock file
/var/lock/sm/06260f45-4ab0-44f8-b9b9-c184886c5619/sr
Feb 11 14:01:12 silver SM: [28197] lock: released
/var/lock/sm/06260f45-4ab0-44f8-b9b9-c184886c5619/sr
Feb 11 14:01:12 silver SM: [28197] ***** sr_scan: EXCEPTION
<class 'XenAPI.Failure'>, ['UUID_INVALID', 'VDI',
'XOA_System']
Feb 11 14:01:12 silver SM: [28197] File
"/usr/lib/xapi/sm/SRCommand.py", line 110, in run
Feb 11 14:01:12 silver SM: [28197] return self._run_locked(sr)
Feb 11 14:01:12 silver SM: [28197] File
"/usr/lib/xapi/sm/SRCommand.py", line 159, in _run_locked
Feb 11 14:01:12 silver SM: [28197] rv = self._run(sr, target)
Feb 11 14:01:12 silver SM: [28197] File
"/usr/lib/xapi/sm/SRCommand.py", line 331, in _run
Feb 11 14:01:12 silver SM: [28197] return
sr.scan(self.params['sr_uuid'])
Feb 11 14:01:12 silver SM: [28197] File "/usr/lib/xapi/sm/FileSR",
line 206, in scan
Feb 11 14:01:12 silver SM: [28197] return super(FileSR,
self).scan(sr_uuid)
Feb 11 14:01:12 silver SM: [28197] File "/usr/lib/xapi/sm/SR.py",
line 317, in scan
Feb 11 14:01:12 silver SM: [28197] scanrecord.synchronise()
Feb 11 14:01:12 silver SM: [28197] File "/usr/lib/xapi/sm/SR.py",
line 581, in synchronise
Feb 11 14:01:12 silver SM: [28197] self.synchronise_new()
Feb 11 14:01:12 silver SM: [28197] File "/usr/lib/xapi/sm/SR.py",
line 554, in synchronise_new
Feb 11 14:01:12 silver SM: [28197] vdi._db_introduce()
Feb 11 14:01:12 silver SM: [28197] File "/usr/lib/xapi/sm/VDI.py",
line 312, in _db_introduce
Feb 11 14:01:12 silver SM: [28197] 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 11 14:01:12 silver SM: [28197] File
"/usr/lib/python2.7/dist-packages/XenAPI.py", line 245, in __call__
Feb 11 14:01:12 silver SM: [28197] return
self.__send(self.__name, args)
Feb 11 14:01:12 silver SM: [28197] File
"/usr/lib/python2.7/dist-packages/XenAPI.py", line 149, in
xenapi_request
Feb 11 14:01:12 silver SM: [28197] result =
_parse_result(getattr(self, methodname)(*full_params))
Feb 11 14:01:12 silver SM: [28197] File
"/usr/lib/python2.7/dist-packages/XenAPI.py", line 219, in
_parse_result
Feb 11 14:01:12 silver SM: [28197] raise
Failure(result['ErrorDescription'])
Feb 11 14:01:12 silver SM: [28197]
Feb 11 14:01:12 silver SMGC: [28203] Found 0 cache files
Feb 11 14:01:12 silver SM: [28203] lock: tried lock
/var/lock/sm/06260f45-4ab0-44f8-b9b9-c184886c5619/sr, acquired: True
(exists: True)
Feb 11 14:01:12 silver SM: [28203] ['/usr/lib/blktap/bin/vhd-util',
'scan', '-f', '-c', '-m',
'/var/run/sr-mount/06260f45-4ab0-44f8-b9b9-c184886c5619/*.vhd']
Feb 11 14:01:12 silver SM: [28203] pread SUCCESS
Feb 11 14:01:12 silver SMGC: [28203] SR 0626 ('/mnt/images') (2 VDIs
in 2 VHD trees):
Feb 11 14:01:12 silver SMGC: [28203]
7d1a4220(8.000G/19.000K)
Feb 11 14:01:12 silver SMGC: [28203] XOA_Syst(8.000G/2.519G)
Feb 11 14:01:12 silver SMGC: [28203]
Feb 11 14:01:12 silver SM: [28203] lock: released
/var/lock/sm/06260f45-4ab0-44f8-b9b9-c184886c5619/sr
Feb 11 14:01:12 silver SMGC: [28203] No work, exiting
Feb 11 14:01:12 silver SMGC: [28203] In cleanup
Feb 11 14:01:12 silver SMGC: [28203] SR 0626 ('/mnt/images') (2 VDIs
in 2 VHD trees): no changes
Feb 11 14:01:12 silver xapi: [ info|silver|14459 UNIX
/var/lib/xcp/xapi|session.logout D:ca4f98253aa2|xapi]
Session.destroy trackid=9e29ecefc97b2db549969be9ab1df38d
Feb 11 14:01:12 silver SM: [28197] Raising exception [40, The SR
scan failed [opterr=['UUID_INVALID', 'VDI', 'XOA_System']]]
Feb 11 14:01:12 silver SM: [28197] ***** Local Path VHD: EXCEPTION
<class 'SR.SROSError'>, The SR scan failed
[opterr=['UUID_INVALID', 'VDI', 'XOA_System']]
Feb 11 14:01:12 silver SM: [28197] File
"/usr/lib/xapi/sm/SRCommand.py", line 345, in run
Feb 11 14:01:12 silver SM: [28197] ret = cmd.run(sr)
Feb 11 14:01:12 silver SM: [28197] File
"/usr/lib/xapi/sm/SRCommand.py", line 120, in run
Feb 11 14:01:12 silver SM: [28197] raise
xs_errors.XenError(excType, opterr=msg)
Feb 11 14:01:12 silver SM: [28197] File
"/usr/lib/xapi/sm/xs_errors.py", line 53, in __init__
Feb 11 14:01:12 silver SM: [28197] raise SR.SROSError(errorcode,
errormessage)
Feb 11 14:01:12 silver SM: [28197]
Feb 11 14:01:12 silver SM: [28197] lock: closed
/var/lock/sm/06260f45-4ab0-44f8-b9b9-c184886c5619/sr
Feb 11 14:01:12 silver xapi: [debug|silver|14436|sm_exec
D:216543b7d7c1|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 11 14:01:12 silver xapi: [ info|silver|14436|sm_exec
D:216543b7d7c1|xapi] Session.destroy
trackid=4267e82a34fca5a5d6893cdf82361a65
Feb 11 14:01:12 silver xapi: [debug|silver|14436|sm_exec
D:216543b7d7c1|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 11 14:01:12 silver xapi: [debug|silver|14436|sm_exec
D:216543b7d7c1|dispatcher] Server_helpers.exec exception_handler:
Got exception SR_BACKEND_FAILURE_40: [ ; The SR scan failed
[opterr=['UUID_INVALID', 'VDI', 'XOA_System']]; ]
Feb 11 14:01:12 silver xapi: [debug|silver|14436|sm_exec
D:216543b7d7c1|dispatcher] Raised at file \"hashtbl.ml\", line 136,
characters 19-28\nCalled from file \"lib/debug.ml\", line 172,
characters 37-64\n
Feb 11 14:01:12 silver xapi: [debug|silver|14436|sm_exec
D:216543b7d7c1|backtrace] Raised at file \"hashtbl.ml\", line 136,
characters 19-28\nCalled from file \"lib/debug.ml\", line 172,
characters 37-64\n
Feb 11 14:01:12 silver xapi: [debug|silver|14436|sm_exec
D:216543b7d7c1|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 11 14:01:12 silver xapi: [debug|silver|14436|SR.scan
D:e31cdeca83c1|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 11 14:01:12 silver xapi: [error|silver|14436|SR.scan
D:e31cdeca83c1|storage_access] SR.scan failed
SR:OpaqueRef:47463f3a-3d73-ce59-36cd-ebc18121f2fa
code=SR_BACKEND_FAILURE_40 params=[; The SR scan failed
[opterr=['UUID_INVALID', 'VDI', 'XOA_System']]; ]
Feb 11 14:01:12 silver xapi: [debug|silver|14436|SR.scan
D:e31cdeca83c1|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 11 14:01:12 silver xapi: [debug|silver|14436|SR.scan
D:e31cdeca83c1|dispatcher] Server_helpers.exec exception_handler:
Got exception INTERNAL_ERROR: [ Storage_interface.Backend_error(_) ]
Feb 11 14:01:12 silver xapi: [debug|silver|14436|SR.scan
D:e31cdeca83c1|dispatcher] Raised at file \"hashtbl.ml\", line 136,
characters 19-28\nCalled from file \"lib/debug.ml\", line 172,
characters 37-64\n
Feb 11 14:01:12 silver xapi: [debug|silver|14436|SR.scan
D:e31cdeca83c1|backtrace] Raised at file \"hashtbl.ml\", line 136,
characters 19-28\nCalled from file \"lib/debug.ml\", line 172,
characters 37-64\n
Feb 11 14:01:12 silver xapi: [debug|silver|14436|SR.scan
D:e31cdeca83c1|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 11 14:01:12 silver xapi: [debug|silver|14436||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 11 14:01:12 silver xapi: [debug|silver|14434 UNIX
/var/lib/xcp/xapi|SR.scan R:2c5688a46c47|xapi] Called from file
\"lib/pervasiveext.ml\", line 22, characters 2-9\n
Feb 11 14:01:12 silver xapi: [error|silver|14434 UNIX
/var/lib/xcp/xapi|SR.scan R:2c5688a46c47|storage_access] Re-raising
as SR_BACKEND_FAILURE_40 [ ; The SR scan failed
[opterr=['UUID_INVALID', 'VDI', 'XOA_System']]; ]
Feb 11 14:01:12 silver xapi: [debug|silver|14434 UNIX
/var/lib/xcp/xapi|SR.scan R:2c5688a46c47|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 11 14:01:12 silver xapi: [debug|silver|14434 UNIX
/var/lib/xcp/xapi|SR.scan R:2c5688a46c47|xapi] Unmarking SR after
SR.scan (task=OpaqueRef:2c5688a4-6c47-21e3-cfda-16d948690131)
Feb 11 14:01:12 silver xapi: [debug|silver|14434 UNIX
/var/lib/xcp/xapi|SR.scan R:2c5688a46c47|backtrace] Raised at file
\"lib/pervasiveext.ml\", line 26, characters 22-25\nCalled from file
\"rbac.ml\", line 227, characters 16-23\n
Feb 11 14:01:12 silver xapi:
[20150211T13:01:12.877Z|audit|silver|14434 UNIX
/var/lib/xcp/xapi|SR.scan R:2c5688a46c47|audit]
('trackid=ea08cc6b816b06ed40fe500b9cd5c0fb' 'LOCAL_SUPERUSER' 'root'
'ALLOWED' 'ERROR:SR_BACKEND_FAILURE_40: [ ; The SR scan failed
[opterr=[\'UUID_INVALID\', \'VDI\', \'XOA_System\']]; ]' 'API'
'SR.scan' (('sr' '/mnt/images'
'06260f45-4ab0-44f8-b9b9-c184886c5619'
'OpaqueRef:47463f3a-3d73-ce59-36cd-ebc18121f2fa')))
Feb 11 14:01:12 silver xapi: [debug|silver|14434 UNIX
/var/lib/xcp/xapi|SR.scan R:2c5688a46c47|backtrace] Raised at file
\"rbac.ml\", line 236, characters 10-15\nCalled from file
\"server_helpers.ml\", line 75, characters 11-41\n
Feb 11 14:01:12 silver xapi: [debug|silver|14434 UNIX
/var/lib/xcp/xapi|SR.scan R:2c5688a46c47|dispatcher]
Server_helpers.exec exception_handler: Got exception
SR_BACKEND_FAILURE_40: [ ; The SR scan failed
[opterr=['UUID_INVALID', 'VDI', 'XOA_System']]; ]
Feb 11 14:01:12 silver xapi: [debug|silver|14434 UNIX
/var/lib/xcp/xapi|SR.scan R:2c5688a46c47|dispatcher] Raised at file
\"rbac.ml\", line 236, characters 10-15\nCalled from file
\"server_helpers.ml\", line 75, characters 11-41\n
Feb 11 14:01:12 silver xapi: [debug|silver|14434 UNIX
/var/lib/xcp/xapi|SR.scan R:2c5688a46c47|backtrace] Raised at file
\"rbac.ml\", line 236, characters 10-15\nCalled from file
\"server_helpers.ml\", line 75, characters 11-41\n
Feb 11 14:01:12 silver xapi: [debug|silver|14434 UNIX
/var/lib/xcp/xapi|SR.scan R:2c5688a46c47|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 11 14:01:12 silver xapi: [debug|silver|14434 UNIX
/var/lib/xcp/xapi|dispatch:SR.scan D:89c725b11011|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 11 14:01:12 silver xapi: [debug|silver|14434 UNIX
/var/lib/xcp/xapi|dispatch:SR.scan D:89c725b11011|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 11 14:01:12 silver xapi: [debug|silver|14434 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 11 14:01:12 silver xapi: [ info|silver|14434 UNIX
/var/lib/xcp/xapi|session.logout D:dc7dd57ee6c1|xapi]
Session.destroy trackid=ea08cc6b816b06ed40fe500b9cd5c0fb
Feb 11 14:01:12 silver xapi: [debug|silver|14434 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 11 14:01:12 silver xapi: [debug|silver|14434 UNIX
/var/lib/xcp/xapi||cli] Xapi_cli.exception_handler: Got exception
SR_BACKEND_FAILURE_40: [ ; The SR scan failed
[opterr=['UUID_INVALID', 'VDI', 'XOA_System']]; ]
Feb 11 14:01:12 silver xapi: [debug|silver|14434 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
On 11/02/15 12:47, Bob Ball wrote:
FileSR does indeed require files to be
named as <uuid>.vhd or <uuid>.raw, otherwise the
sr-scan will indeed fail.
I'd therefore delete all of the .json files and rename them
to be called <uuid>.vhd.
I don't know whether an
older version of FFS will work with the new XAPI, but I
don't think there are plans to re-introduce VHD support
in FFS due to differences in the new SMAPIv3 which it
now uses (long story short, if VHD support was
re-introduced it would not perform as well as we'd
hope).
Bob
From:
Dawid Kowalski [dkadds2@xxxxxxxxx]
Sent: 11 February 2015 11:26
To: Bob Ball; Xen API mailing list
Subject: Re: [Xen-API] ffs missing
Hi Bob,
Thanks for reply.
I've tried to use FileSR prior sending original
question but /*for some reason it does not discover
VMs sitting in the folder. Worth noting is that VMs
under ffs were created as:
<VMNAME>
<VMNAME>.json
Creating VM using "file" SR results in
"<VM>.vhd" file.
Symlinking or renaming original file created using FFS
to VMNAME.VHD results in following message when
running SR-SCAN:
Error code: SR_BACKEND_FAILURE_40
Error parameters: , The SR scan failed
[opterr=['UUID_INVALID', 'VDI', 'XenBuilder']], */
Which version of FFS supports VHDs in the old way?
I've been setting up system in question around Xmass
time and before Jan 10th.
How can I pull and build proper FFS version for me
with VHD support? I'll downgrade version, restore VMs,
pull out data and then can create new ones using qcow2
format.
Thanks,
Dawid
On 11/02/15 11:42, Bob
Ball wrote:
Hi David,
The list of SR options are a pre-defined list
for Bash tab completion. Have you tried
creating an SR with type FFS and using it?
Note, in recent builds, FFS only supports
qcow2 disks.
xe sr-create type=ffs name-label=qcow2
device-config:uri= file:///root/qcow2
host-uuid=<uuid>
If you want to use VHDs then use FileSR in a
very similar way, but setting device-config:path
and device-config:location both to the same
directory.
Bob
Hi Guys,
Further tests did show that FFS is missing
not only on Ubuntu based system but also on
Centos based system.
Package itself is installed however FFS type
doesn't show on the SR types list.
Any help will be more than appreciated as
I've couple of VMs in down state as ffs
based SR can't be used at the moment.
Thanks,
Dawid
On 06/02/15
02:40, Dawid Kowalski wrote:
Hi Guys,
I'm looking for your help again.
I've successfully created
Xenhost, created FFS based SRs and
everything worked ok. I've had some
issues but had some basics running
and was happy. (Ubuntu 14.04.1 LTS).
Than due to other circumstances had
to restart server. During restart it
did hang up. After powercycle I
can't get FFS working. Everything
else works fine.
Seems like FFS is not registering
to XAPI.
/etc/init.d/ffs doesn't start ffs
as there's no /usr/sbin/ffs.
I've checked deb package and ffs
is not included there.
Going through my troubleshooting
steps, I did setup to other systems
from scratch, one of them based on
xenserver git and other based on
BobBall repository with Xen. Both of
them behave the same way - FFS is
not registered. Symlinks under
/opt/xensource didn't help:
ls -l /opt/xensource/
sm -> /usr/lib/xapi/sm
Having said all of it, I do
remember that when setting up server
I've had some problems with FFS
which finally did sort out by adding
some links or something similar.
Unfortunately my all notes were on
SSD drive which failed miserably the
day after I did setup Xen and copy
is within one of Xen VMs to make it
even more funny.
Therefore, any help from your side
would be more appreciated.
btw. I've tried to add "file" type
SR but for some reason it does not
discover VMs sitting in the folder.
Worth noting is that VMs under ffs
were created as:
<VMNAME>
<VMNAME>.json
Creating VM using "file" SR
results in "<VM>.vhd" file.
Symlinking or renaming original file
created using FFS to VMNAME.VHD
results in following message when
running SR-SCAN:
Error code: SR_BACKEND_FAILURE_40
Error parameters: , The SR scan
failed [opterr=['UUID_INVALID',
'VDI', 'XenBuilder']],
# command to create ffs - doesn't
work
xe sr-create content-type=user
host-uuid=0d83e699-df0b-40db-9934-b5cbc9e5eafe
type=ffs
device-config:path=/mnt/images
name-label=test username=root
password=(omitted)
# syslog
Feb 6 02:11:13 silver xapi: [
info|silver|6062 UNIX
/var/lib/xcp/xapi||cli] xe sr-create
content-type=user
host-uuid=0d83e699-df0b-40db-9934-b5cbc9e5eafe
type=ffs
device-config:path=/mnt/images
name-label=test username=root
password=(omitted)
Feb 6 02:11:13 silver xapi: [
info|silver|6062 UNIX
/var/lib/xcp/xapi|session.login_with_password
D:d1bafb363b96|xapi] Session.create
trackid=fe419c0ab3f1a7f668a0cf4979113666
pool=false uname=root originator=cli
is_local_superuser=true auth_user_sid=
parent=trackid=9834f5af41c964e225f24279aefe4e49
Feb 6 02:11:13 silver xapi:
[debug|silver|6062 UNIX
/var/lib/xcp/xapi|session.login_with_password
D:d1bafb363b96|mscgen] xapi=>xapi
[label="session.get_uuid"];
Feb 6 02:11:13 silver xapi:
[debug|silver|6063 UNIX
/var/lib/xcp/xapi||dummytaskhelper]
task dispatch:session.get_uuid
D:5afb28575cda created by task
D:d1bafb363b96
Feb 6 02:11:13 silver xapi:
[debug|silver|6062 UNIX
/var/lib/xcp/xapi|SR.create
R:515cc6d49889|audit] SR.create: name
label = 'test'
Feb 6 02:11:13 silver xapi:
[debug|silver|6062 UNIX
/var/lib/xcp/xapi|SR.create
R:515cc6d49889|xapi] SR.create
name_label=test sm_config=[ ]
Feb 6 02:11:13 silver xapi:
[debug|silver|6062 UNIX
/var/lib/xcp/xapi|SR.create
R:515cc6d49889|mux] register SR
43e2eb28-2803-06bf-c9fc-aff45ed7e4d1
(currently-registered = [
5b245868-00c6-dcd1-3cc9-c590f8f2c502,
7d2ad721-9bbc-be93-6ed0-1040eb1361e9,
c0384c67-d7bf-a12e-430b-d6bb1569ec8c,
995f3d5d-e698-4f41-88a0-e0bb2edeeef1,
f29722df-7c21-47cc-858a-c06c700cec91,
43e2eb28-2803-06bf-c9fc-aff45ed7e4d1,
06260f45-4ab0-44f8-b9b9-c184886c5619,
4b73fdd7-06a6-c5ea-2205-dd1e5a5b3a0d
])
Feb 6 02:11:13 silver xapi:
[debug|silver|6062 UNIX
/var/lib/xcp/xapi|SR.create
R:515cc6d49889|xapi] Called from file
\"lib/ pervasiveext.ml\",
line 22, characters 2-9\n
Feb 6 02:11:13 silver xapi:
[error|silver|6062 UNIX
/var/lib/xcp/xapi|SR.create
R:515cc6d49889|storage_access]
Re-raising as MISSING_URI [ Please
include a URI in the device-config ]
Feb 6 02:11:13 silver xapi:
[debug|silver|6062 UNIX
/var/lib/xcp/xapi|SR.create
R:515cc6d49889|backtrace] Raised at
file \" xapi_sr.ml\",
line 223, characters 9-10\nCalled from
file \" message_forwarding.ml\",
line 233, characters 25-44\nCalled
from file \" server.ml\",
line 21875, characters 82-267\nCalled
from file \" rbac.ml\", line
227, characters 16-23\n
Feb 6 02:11:13 silver xapi:
[20150206T01:11:13.071Z|audit|silver|6062
UNIX /var/lib/xcp/xapi|SR.create
R:515cc6d49889|audit]
('trackid=fe419c0ab3f1a7f668a0cf4979113666'
'LOCAL_SUPERUSER' 'root' 'ALLOWED'
'ERROR:MISSING_URI: [ Please include a
URI in the device-config ]' 'API'
'SR.create' (('host' 'silver'
'0d83e699-df0b-40db-9934-b5cbc9e5eafe'
'OpaqueRef:0d0d7bf7-4d03-afc4-4280-8724014224ba')
('name_label' 'test' '' '')
('name_description' '' '' '')))
Feb 6 02:11:13 silver xapi:
[debug|silver|6062 UNIX
/var/lib/xcp/xapi|SR.create
R:515cc6d49889|backtrace] Raised at
file \" rbac.ml\", line
236, characters 10-15\nCalled from
file \" server_helpers.ml\",
line 75, characters 11-41\n
Feb 6 02:11:13 silver xapi:
[debug|silver|6062 UNIX
/var/lib/xcp/xapi|SR.create
R:515cc6d49889|dispatcher]
Server_helpers.exec exception_handler:
Got exception MISSING_URI: [ Please
include a URI in the device-config ]
Feb 6 02:11:13 silver xapi:
[debug|silver|6062 UNIX
/var/lib/xcp/xapi|SR.create
R:515cc6d49889|dispatcher] Raised at
file \" rbac.ml\", line
236, characters 10-15\nCalled from
file \" server_helpers.ml\",
line 75, characters 11-41\n
Feb 6 02:11:13 silver xapi:
[debug|silver|6062 UNIX
/var/lib/xcp/xapi|SR.create
R:515cc6d49889|backtrace] Raised at
file \" rbac.ml\", line
236, characters 10-15\nCalled from
file \" server_helpers.ml\",
line 75, characters 11-41\n
Feb 6 02:11:13 silver xapi:
[debug|silver|6062 UNIX
/var/lib/xcp/xapi|SR.create
R:515cc6d49889|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 6 02:11:13 silver xapi:
[debug|silver|6062 UNIX
/var/lib/xcp/xapi|dispatch:SR.create
D:a74592cb8e0e|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 6 02:11:13 silver xapi:
[debug|silver|6062 UNIX
/var/lib/xcp/xapi|dispatch:SR.create
D:a74592cb8e0e|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 21876, characters 23-161\nCalled
from file \" server_helpers.ml\",
line 115, characters 4-7\n
Feb 6 02:11:13 silver xapi:
[debug|silver|6062 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 9501, characters 6-154\nCalled
from file \" cli_operations.ml\",
line 1423, characters 8-161\nCalled
from file \" xapi_cli.ml\",
line 119, characters 18-58\nCalled
from file \"lib/ pervasiveext.ml\",
line 22, characters 2-9\n
Feb 6 02:11:13 silver xapi: [
info|silver|6062 UNIX
/var/lib/xcp/xapi|session.logout
D:786e245b403e|xapi] Session.destroy
trackid=fe419c0ab3f1a7f668a0cf4979113666
Feb 6 02:11:13 silver xapi:
[debug|silver|6062 UNIX
/var/lib/xcp/xapi||backtrace] Raised
at file \"lib/ pervasiveext.ml\",
line 26, characters 22-25\nCalled from
file \" xapi_cli.ml\",
line 118, characters 2-139\nCalled
from file \" xapi_cli.ml\",
line 221, characters 7-44\nCalled from
file \" xapi_cli.ml\",
line 273, characters 4-23\n
Feb 6 02:11:13 silver xapi:
[debug|silver|6062 UNIX
/var/lib/xcp/xapi||cli]
Xapi_cli.exception_handler: Got
exception MISSING_URI: [ Please
include a URI in the device-config ]
Feb 6 02:11:13 silver xapi:
[debug|silver|6062 UNIX
/var/lib/xcp/xapi||cli] Raised at file
\"lib/ pervasiveext.ml\",
line 26, characters 22-25\nCalled from
file \" xapi_cli.ml\",
line 118, characters 2-139\nCalled
from file \" xapi_cli.ml\",
line 221, characters 7-44\nCalled from
file \" xapi_cli.ml\",
line 273, characters 4-23\n
Feb 6 02:11:13 silver xapi:
[debug|silver|72|xapi events
D:88c60758dbbb|xenops] Event on VM
4f1cbed7-eba5-4591-bc12-313612a9ecfe;
resident_here = true
Feb 6 02:11:13 silver xapi:
[debug|silver|72|xapi events
D:88c60758dbbb|mscgen] xapi=>xapi
[label="event.from"];
Feb 6 02:11:13 silver xapi:
[debug|silver|6064 UNIX
/var/lib/xcp/xapi||dummytaskhelper]
task dispatch:event.from
D:1cd29e53d99d created by task
D:88c60758dbbb
Thanks in advance,
Dawid
|
_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
|