Closed suzj801 closed 7 years ago
ceph version: jewel xenserver version: xenserver 7 operation: migrate vdi from rbd storage to local storage SMlog:
Dec 29 22:57:09 localhost SM: [24983] lock: opening lock file /var/lock/sm/d32bf3ca-5d8a-4c83-918e-32251301e766/vdi Dec 29 22:57:09 localhost SM: [24983] blktap2.activate Dec 29 22:57:09 localhost SM: [24983] lock: acquired /var/lock/sm/d32bf3ca-5d8a-4c83-918e-32251301e766/vdi Dec 29 22:57:09 localhost SM: [24983] Adding tag to: d32bf3ca-5d8a-4c83-918e-32251301e766 Dec 29 22:57:09 localhost SM: [24983] Activate lock succeeded Dec 29 22:57:09 localhost SM: [24983] lock: opening lock file /var/lock/sm/ab443e69-d87c-800c-ecb1-41f58a9858b5/sr Dec 29 22:57:09 localhost SM: [24983] ['/usr/sbin/td-util', 'query', 'vhd', '-vpfb', '/var/run/sr-mount/ab443e69-d87c-800c-ecb1-41f58a9858b5/d32bf3ca-5d8a-4c83-918e-32251301e766.vhd'] Dec 29 22:57:09 localhost SM: [24983] pread SUCCESS Dec 29 22:57:09 localhost SM: [24983] PhyLink(/dev/sm/phy/ab443e69-d87c-800c-ecb1-41f58a9858b5/d32bf3ca-5d8a-4c83-918e-32251301e766) -> /var/run/sr-mount/ab443e69-d87c-800c-ecb1-41f58a9858b5/d32bf3ca-5d8a-4c83-918e-32251301e766.vhd Dec 29 22:57:09 localhost SM: [24983] ['/usr/sbin/tap-ctl', 'allocate'] Dec 29 22:57:09 localhost SM: [24983] = 0 Dec 29 22:57:09 localhost SM: [24983] ['/usr/sbin/tap-ctl', 'spawn'] Dec 29 22:57:09 localhost SM: [24983] = 0 Dec 29 22:57:09 localhost SM: [24983] ['/usr/sbin/tap-ctl', 'attach', '-p', '25023', '-m', '0'] Dec 29 22:57:09 localhost SM: [24983] = 0 Dec 29 22:57:09 localhost SM: [24983] ['/usr/sbin/tap-ctl', 'open', '-p', '25023', '-m', '0', '-a', 'vhd:/var/run/sr-mount/ab443e69-d87c-800c-ecb1-41f58a9858b5/d32bf3ca-5d8a-4c83-918e-32251301e766.vhd'] Dec 29 22:57:09 localhost SM: [24983] = 0 Dec 29 22:57:09 localhost SM: [24983] tap.activate: Launched Tapdisk(vhd:/var/run/sr-mount/ab443e69-d87c-800c-ecb1-41f58a9858b5/d32bf3ca-5d8a-4c83-918e-32251301e766.vhd, pid=25023, minor=0, state=R) Dec 29 22:57:09 localhost SM: [24983] Attempt to register tapdisk with RRDD as a plugin. Dec 29 22:57:09 localhost SM: [24983] ERROR: Failed to register tapdisk with RRDD due to UnixStreamHTTP instance has no attribute 'getresponse' Dec 29 22:57:09 localhost SM: [24983] DeviceNode(/dev/sm/backend/ab443e69-d87c-800c-ecb1-41f58a9858b5/d32bf3ca-5d8a-4c83-918e-32251301e766) -> /dev/xen/blktap-2/tapdev0 Dec 29 22:57:09 localhost SM: [24983] lock: released /var/lock/sm/d32bf3ca-5d8a-4c83-918e-32251301e766/vdi
there was no error that migrate vm from local storage to rbd storage.
After applied the newest patches, the errors all solved. Thanks the author.
ceph version: jewel xenserver version: xenserver 7 operation: migrate vdi from rbd storage to local storage SMlog:
there was no error that migrate vm from local storage to rbd storage.