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

    Unable to connect to backblaze b2

    Scheduled Pinned Locked Moved Backup
    23 Posts 4 Posters 7.6k 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.
    • F Offline
      fred974 @florent
      last edited by

      @florent said in Unable to connect to backblaze b2:

      could you try to connect with the cli aws

      I can try, can you please point me to some documentation? I've never done that before

      florentF 1 Reply Last reply Reply Quote 0
      • florentF Offline
        florent Vates 🪐 XO Team @fred974
        last edited by

        @fred974

        backblaze has a guide : https://www.backblaze.com/docs/cloud-storage-use-the-aws-cli-with-backblaze-b2

        please connevt and try to transfer a file from and to your bucket

        1 Reply Last reply Reply Quote 0
        • P Offline
          Pete
          last edited by

          I might be having the same issue, which only appeared when I updated XO. There appears to be an issue when you use a key that is specific to a bucket. If I use an key that has permission on all buckets you don't get the not entitled message, but obviously that is not ideal.

          I have tested the bucket with the s3 aws tools and it worked without issue.

          I hope this helps.

          florentF 1 Reply Last reply Reply Quote 0
          • florentF Offline
            florent Vates 🪐 XO Team @Pete
            last edited by

            @Pete Hi, that is interesting

            do you have a XOA or could you install a trial XOA in a VM with your backblaze credentials ? I would like to make some tests

            P 1 Reply Last reply Reply Quote 0
            • P Offline
              Pete @florent
              last edited by Pete

              @florent I have the free version of XOA as well as the XO from sources. I will add the B2 credentials to XOA.

              florentF 1 Reply Last reply Reply Quote 0
              • florentF Offline
                florent Vates 🪐 XO Team @Pete
                last edited by

                @Pete it would be great if you could open a ticket and a support tunnel, I will connect tomorrow morning ( Paris time, it's 9PM here ) to look for a solution

                P 2 Replies Last reply Reply Quote 0
                • P Offline
                  Pete @florent
                  last edited by

                  @florent I have created a new key that is bucket specific. I added the credentials but I assume I must need premium as it says feature unauthorised. I have already used the trial up. Not sure if that is an issue.

                  Do you need XOA connected to a xenserver? If not I don't mind leaving the tunnel open and you can take a look when you like.

                  There are a few test backups in the bucket, nothing I need.

                  florentF 1 Reply Last reply Reply Quote 0
                  • P Offline
                    Pete @florent
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • florentF Offline
                      florent Vates 🪐 XO Team @Pete
                      last edited by

                      @Pete thanks I will look into it . You can delete your message with the id.
                      I will be able to find my way ( I will install the stand alone packages @xen-orchestra/fs that contains the s3 logic )

                      P 1 Reply Last reply Reply Quote 0
                      • P Offline
                        Pete @florent
                        last edited by

                        @florent No problem.

                        florentF 1 Reply Last reply Reply Quote 0
                        • florentF Offline
                          florent Vates 🪐 XO Team @Pete
                          last edited by

                          @Pete it looks like the backblaze bucket was created with an encryption key . Can you put the encryption key on the XOA ?

                          P 1 Reply Last reply Reply Quote 0
                          • P Offline
                            Pete @florent
                            last edited by

                            @florent From the XO side, yes I was testing that. I have added the key.

                            florentF 1 Reply Last reply Reply Quote 0
                            • florentF Offline
                              florent Vates 🪐 XO Team @Pete
                              last edited by

                              @Pete could you tests this branch in your xo from the source ?
                              fix_s3_permission_object_lock` from this PR https://github.com/vatesfr/xen-orchestra/pull/7195

                              fbeauchamp opened this pull request in vatesfr/xen-orchestra

                              closed fix(s3): enable content md5 header even if user can't check it #7195

                              P 1 Reply Last reply Reply Quote 0
                              • P Offline
                                Pete @florent
                                last edited by

                                @florent I have installed the branch and that solves the problem 🙂

                                florentF 1 Reply Last reply Reply Quote 2
                                • florentF Offline
                                  florent Vates 🪐 XO Team @Pete
                                  last edited by

                                  @Pete great, I will merge it by the end of the week

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

                                    Nice job! Thanks for testing @Pete (hopefully this is also fixing @fred974's issue), and obviously thanks @florent for the fix 😉

                                    P 1 Reply Last reply Reply Quote 0
                                    • P Offline
                                      Pete @olivierlambert
                                      last edited by

                                      @olivierlambert No problem at all, it was my pleasure. I hope it helps other having the issue.

                                      1 Reply Last reply Reply Quote 1

                                      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