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

    Feature suggestion: attach an existing SR in XO

    Scheduled Pinned Locked Moved Xen Orchestra
    6 Posts 3 Posters 2.4k Views 1 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.
    • P Offline
      peder
      last edited by

      AFAIK XO can only create a new storage repository, it would be nice to being able to attach an existing one as well.

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

        I think we already have this, but you can try to confirm (it works for iSCSI and NFS IIRC):

        • New/SR
        • Add the info
        • if should warn there is a previous/existing SR on this iSCSI/NFS share and you can reconnect.
        1 Reply Last reply Reply Quote 0
        • P Offline
          peder
          last edited by

          I see, there IS a reattach feature but it's not entirely obvious.

          When I click on the white chain, blue background "Reattach SR" icon it creates an iSCSI SR named "[object HTMLInputElement]" and the xsconsole says it's "detached and not usable by this host".
          So it doesn't appear to work as intended, at least not in git version e88848c44 from a few days back.

          If I click the "Create" button after having clicked "Reattach" I get a warning about existing VDIs will be deleted and that's also what happens when I go through with it.

          I also suggest placing button next to the "Create" one. Like this

          iSCSI-reattach.jpg

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

            Thanks for your feedback, please open an issue here to describe that so XO devs will improve it: http://github.com/vatesfr/xen-orchestra/issues/new

            Thanks!

            1 Reply Last reply Reply Quote 0
            • tonyp90T Offline
              tonyp90 @peder
              last edited by

              @peder Did you resolve this issue or report it on github (can't find it)? I have same issue reattaching NFS and iSCSI SR. After clicking reattach button, the SR is created but with no PBD. Creating new SR is fine. I have to use xencenter for reattaching.

              P 1 Reply Last reply Reply Quote 0
              • P Offline
                peder @tonyp90
                last edited by

                @tonyp90 I did file a feature suggestion, https://github.com/vatesfr/xen-orchestra/issues/4273 , but not a bug report.

                I'm using the xsconsole on the xcp-ng server itself in the few cases where I need to re-attach an SR.

                gitterdude created this issue in vatesfr/xen-orchestra

                closed Reattach SR icon is non-obvious #4273

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post