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

    Unable to convert VM to Template in Xen Orchestra ( VBD_IS_EMPTY )

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    11 Posts 4 Posters 2.1k Views 4 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 Online
      olivierlambert Vates 🪐 Co-Founder CEO
      last edited by

      So the conversion doesn't work?

      To me, it's probably a stupid bug after we added a CD eject from template conversion. For the sake of testing, can you insert an ISO into the VM and then try to convert it into a template?

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

        I'm pretty sure it's a case we forgot to check. See https://github.com/vatesfr/xen-orchestra/pull/6769/files

        Since @julien-f is AFK, @pdonias could we fix this?

        julien-f opened this pull request in vatesfr/xen-orchestra

        closed feat(xo-server/vm.convertToTemplate): eject removable medias #6769

        julien-fJ brodiecyberB 2 Replies Last reply Reply Quote 0
        • julien-fJ Offline
          julien-f Vates 🪐 Co-Founder XO Team @olivierlambert
          last edited by

          @olivierlambert I'm on it 🙂

          1 Reply Last reply Reply Quote 1
          • brodiecyberB Offline
            brodiecyber @olivierlambert
            last edited by

            @olivierlambert Morning i will clone the same VM and try to conversion with an iso installed.

            Will update this post in the next few hours

            1 Reply Last reply Reply Quote 0
            • brodiecyberB Offline
              brodiecyber @olivierlambert
              last edited by

              @olivierlambert

              Conversion in Xen orchestra works with the clone of the VM and the guest iso installed

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

                Julien will release a fix in master soon 🙂

                brodiecyberB 1 Reply Last reply Reply Quote 0
                • brodiecyberB Offline
                  brodiecyber @olivierlambert
                  last edited by

                  @olivierlambert

                  Roger Roger 🤖

                  J 1 Reply Last reply Reply Quote 0
                  • J Offline
                    josh383451 @brodiecyber
                    last edited by josh383451

                    @brodiecyber I've had this issue also. I found another workaround for this is to create a snapshot of the VM then convert the snapshot to a template 👍. This worked without any ISO mounted.

                    julien-fJ 1 Reply Last reply Reply Quote 0
                    • olivierlambertO Online
                      olivierlambert Vates 🪐 Co-Founder CEO
                      last edited by

                      I think this is fixed now

                      1 Reply Last reply Reply Quote 1
                      • julien-fJ Offline
                        julien-f Vates 🪐 Co-Founder XO Team @josh383451
                        last edited by

                        @josh383451 The bug was fixed 3 days ago: https://github.com/vatesfr/xen-orchestra/commit/73d88cc5f1a5458c68e6935a9d5a9240616007b1

                        0 julien-f committed to vatesfr/xen-orchestra
                        fix(xo-server/vm.convertToTemplate): handle VBD_IS_EMPTY (#6808)
                        
                        Fixes https://xcp-ng.org/forum/post/61653
                        1 Reply Last reply Reply Quote 3
                        • olivierlambertO olivierlambert marked this topic as a question on
                        • olivierlambertO olivierlambert has marked this topic as solved on

                        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