XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Create VM Error SR_BACKEND_FAILURE_1200, No such Tapdisk.

    Scheduled Pinned Locked Moved Xen Orchestra
    16 Posts 4 Posters 5.0k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • olivierlambertO Offline
      olivierlambert Vates 🪐 Co-Founder CEO
      last edited by

      Pinging @ronan-a

      G 1 Reply Last reply Reply Quote 0
      • G Offline
        geoffbland @olivierlambert
        last edited by

        @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.

        ronan-aR 1 Reply Last reply Reply Quote 0
        • olivierlambertO Offline
          olivierlambert Vates 🪐 Co-Founder CEO
          last edited by

          I think it is, but @ronan-a should help you with this.

          1 Reply Last reply Reply Quote 0
          • ronan-aR Offline
            ronan-a Vates 🪐 XCP-ng Team @geoffbland
            last edited by

            @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.

            ronan-aR 1 Reply Last reply Reply Quote 0
            • ronan-aR Offline
              ronan-a Vates 🪐 XCP-ng Team @ronan-a
              last edited by ronan-a

              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
              
              G 1 Reply Last reply Reply Quote 0
              • G Offline
                geoffbland @ronan-a
                last edited by

                @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
                
                1 Reply Last reply Reply Quote 0
                • olivierlambertO Offline
                  olivierlambert Vates 🪐 Co-Founder CEO
                  last edited by

                  Try to create a file in there instead of just listing 😉

                  G 1 Reply Last reply Reply Quote 0
                  • G Offline
                    geoffbland @olivierlambert
                    last edited by

                    @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?

                    G 1 Reply Last reply Reply Quote 0
                    • G Offline
                      geoffbland @geoffbland
                      last edited by

                      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.

                      ronan-aR 1 Reply Last reply Reply Quote 0
                      • ronan-aR Offline
                        ronan-a Vates 🪐 XCP-ng Team @geoffbland
                        last edited by

                        @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. 😉

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post