Create VM Error SR_BACKEND_FAILURE_1200, No such Tapdisk.
-
Pinging @ronan-a
-
@olivierlambert Is it possible to rollback to a "standard" version of XCP-NG on these servers? I did a quick search to see if there was a way to rollback to a given XCP-NG version but did not find anything specific.
-
I think it is, but @ronan-a should help you with this.
-
@geoffbland You can downgrade your
sm
version on each host using:yum downgrade sm-2.30.6-1.1.xcpng8.2.x86_64
But I'm not sure if your problem is related to the sm linstor version.
-
Also:
Jun 8 22:39:00 XCPNG02 SM: [11473] ['/usr/sbin/tap-ctl', 'open', '-p', '11505', '-m', '5', '-a', 'aio:/var/run/sr-mount/ec87c10e-1499-c1c5-cf3f-c234062bb459/ubuntu-22.04-live-server-amd64.iso', '-R'] Jun 8 22:39:00 XCPNG02 SM: [11473] = 13 Jun 8 22:39:00 XCPNG02 SM: [11473] ['/usr/sbin/tap-ctl', 'close', '-p', '11505', '-m', '5', '-t', '30'] Jun 8 22:39:00 XCPNG02 SM: [11473] = 0 Jun 8 22:39:00 XCPNG02 SM: [11473] ['/usr/sbin/tap-ctl', 'detach', '-p', '11505', '-m', '5'] Jun 8 22:39:01 XCPNG02 SM: [11473] = 0 Jun 8 22:39:01 XCPNG02 SM: [11473] ['/usr/sbin/tap-ctl', 'free', '-m', '5'] Jun 8 22:39:01 XCPNG02 SM: [11473] = 0
There is this error during the tapdisk open call:
Permission denied
(errno 13).
Are you sure you can access correctly to the data of your SR?The last exception is caused in
blktap2.py
:try: tapdisk = cls.__from_blktap(blktap) node = '/sys/dev/block/%d:%d' % (tapdisk.major(), tapdisk.minor) util.set_scheduler_sysfs_node(node, 'noop') return tapdisk except: TapCtl.close(pid, minor) raise
-
@ronan-a said in Create VM Error SR_BACKEND_FAILURE_1200, No such Tapdisk.:
There is this error during the tapdisk open call: Permission denied (errno 13).
Are you sure you can access correctly to the data of your SR?I'm pretty sure I can...
[11:42 XCPNG01 ~]# whoami root [11:42 XCPNG01 ~]# ll /var/run/sr-mount/ec87c10e-1499-c1c5-cf3f-c234062bb459/ubuntu-22.04-live-server-amd64.iso -rwxrwx--- 1 root users 1466714112 Apr 21 19:20 /var/run/sr-mount/ec87c10e-1499-c1c5-cf3f-c234062bb459/ubuntu-22.04-live-server-amd64.iso
-
Try to create a file in there instead of just listing
-
@olivierlambert said in Create VM Error SR_BACKEND_FAILURE_1200, No such Tapdisk.:
Try to create a file in there instead of just listing
I have access....
[18:13 XCPNG01 ec87c10e-1499-c1c5-cf3f-c234062bb459]# pwd /var/run/sr-mount/ec87c10e-1499-c1c5-cf3f-c234062bb459 [18:13 XCPNG01 ec87c10e-1499-c1c5-cf3f-c234062bb459]# touch new_file [18:14 XCPNG01 ec87c10e-1499-c1c5-cf3f-c234062bb459]# ll new_file -rw-r----- 1 nfsnobody nfsnobody 0 Jun 13 18:14 new_file
Why is R/W access needed on the ISO SR?
-
All the access rights to the isos looked OK on the remote server but just to check I wiped the share. Recreated it and copied back the isos. In then recreated the SR in XCP-ng and now it works. It had all been working fine and I had not changed anything on the share - it just stopped working. So please consider this fixed now - looks like some weird issue with the mount and not a problem with XCP-ng - sorry for wasting your time looking at this.
-
@geoffbland No problem. It's the first time I see this error with tapdisk (and it's it's even more surprising to have it on this type of SR...).
It had all been working fine and I had not changed anything on the share - it just stopped working
In this case, maybe there was a problem with the XAPI, a lock on the device or something else. Not easy to find the cause without remote access. Don't hesitate to ping us if this problem comes back.