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

    Native Ceph RBD SM driver for XCP-ng

    Scheduled Pinned Locked Moved Development
    22 Posts 6 Posters 5.2k Views 9 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.
    • B Offline
      benapetr @psafont
      last edited by

      @psafont thanks for the reply, but isn't that 16 year old logic part of XAPI? I mean - this same hacky logic is present in SMAPIv3 isn't it?

      I was going through SMAPIv3 docs and from SM driver perspective (feature-wise) it doesn't seem much different, it looks to me more like many cosmetic changes that make packaging and modularization easier (definitely a good thing), but don't really change any fundamental SM logic - the RPCs are all same as in SMAPIv1, even porting my own driver is probably going to be pretty trivial, it's just about splitting it into multiple files and add some wrappers around it, but it still won't solve my problem - the rollback RPC is just not there, so I would need to instead support this "rollback by making another snapshot of a snapshot" logic enforced by XAPI

      psafontP Maelstrom96M 2 Replies Last reply Reply Quote 0
      • psafontP Offline
        psafont Vates 🪐 XAPI & Network Team @benapetr
        last edited by

        @benapetr You're right. Unfortunately, there's no VDI revert that allows the revert to happen '. This is shown in the documentation: https://xapi-project.github.io/new-docs/toolstack/features/snapshots/index.html (see revert section)

        There's an old proposal to do add this: https://xapi-project.github.io/new-docs/design/snapshot-revert/index.html

        But the effort fizzed out because currently the imports do not set the snapshot_of correctly, and the operation needs to work even if the field is not set correctly, as it is now. (falling back to the current code seems sensible) https://github.com/xapi-project/xen-api/pull/2058

        This needs some effort to get fixed, I'll set up some ticketing so it can be prioritized accordingly.

        Maelstrom96M J 2 Replies Last reply Reply Quote 2
        • Maelstrom96M Offline
          Maelstrom96 @psafont
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            The author of the main recent effort is basically the person who posted just before you 😉

            Maelstrom96M 1 Reply Last reply Reply Quote 0
            • Maelstrom96M Offline
              Maelstrom96 @olivierlambert
              last edited by

              @olivierlambert you basically replied just after that I noticed that and deleted my message... 🙃

              1 Reply Last reply Reply Quote 0
              • J Online
                JamesG @psafont
                last edited by

                Nothing fruitful to add....

                But...

                Oooof....

                This will be somewhat messy to clean up. I'm rooting for you guys though!!

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

                  There's some nice progress on @psafont's work regarding improved revert. I'm confident we'll get there 🙂

                  henri9813H 1 Reply Last reply Reply Quote 0
                  • henri9813H Offline
                    henri9813 @olivierlambert
                    last edited by

                    Hello,

                    Thanks for your work !

                    We have some hypervisors of tests at Gladhost, we can use them with pleasure to test your work on xcp-ng 8.3 !

                    Best regards

                    1 Reply Last reply Reply Quote 0
                    • Maelstrom96M Offline
                      Maelstrom96 @benapetr
                      last edited by

                      @benapetr Good news, seems like the latest version for SM will implement vdi_revert which should work nicely with Ceph RBD. The only thing now is to have the newer Ceph kernel drivers in XCP-ng since the current driver is very old... (v12 I believe, we're now at v20, soon v22)

                      henri9813H 1 Reply Last reply Reply Quote 1
                      • henri9813H Offline
                        henri9813 @Maelstrom96
                        last edited by

                        Hello @Maelstrom96.

                        This should be possible in the future version of XCP-NG built on top of alma 9 🙂

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

                          It's more like "partially"/loosely based on Alma (10, not 9). And yes, the kernel will be far more recent, same for Xen and so on.

                          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