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

    Can't edit XO metatata backup config

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    12 Posts 4 Posters 2.1k Views 2 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.
    • ForzaF Offline
      Forza
      last edited by

      When I edit the XO metatadata backup schedule and click save I get the following message:

      2baa3908-b59c-47af-87e2-3c7a61c19d03-image.png

      metadataBackup.editJob
      {
        "id": "acc2be4a-26c5-477f-9d0f-a994bfecf706",
        "name": "NEW Xen Orchestra Config",
        "pools": null,
        "remotes": {
          "id": "21d9217a-4764-4c3f-8580-95fd4ff1b87c"
        },
        "settings": {
          "564e7924-75b0-4e94-ba7c-5eacfb1b0f83": {
            "retentionXoMetadata": 24
          }
        },
        "xoMetadata": true
      }
      {
        "message": "Cannot read property 'constructor' of null",
        "name": "TypeError",
        "stack": "TypeError: Cannot read property 'constructor' of null
          at Object.object (/usr/local/lib/node_modules/xo-server/node_modules/schema-inspector/lib/schema-inspector.js:141:50)
          at _simpleType (/usr/local/lib/node_modules/xo-server/node_modules/schema-inspector/lib/schema-inspector.js:156:23)
          at /usr/local/lib/node_modules/xo-server/node_modules/schema-inspector/lib/schema-inspector.js:234:12
          at Array.some (<anonymous>)
          at Validation.type (/usr/local/lib/node_modules/xo-server/node_modules/schema-inspector/lib/schema-inspector.js:233:28)
          at Validation.<anonymous> (/usr/local/lib/node_modules/xo-server/node_modules/schema-inspector/lib/schema-inspector.js:650:12)
          at Array.forEach (<anonymous>)
          at Validation._validate (/usr/local/lib/node_modules/xo-server/node_modules/schema-inspector/lib/schema-inspector.js:648:21)
          at Validation.properties (/usr/local/lib/node_modules/xo-server/node_modules/schema-inspector/lib/schema-inspector.js:472:10)
          at Validation.<anonymous> (/usr/local/lib/node_modules/xo-server/node_modules/schema-inspector/lib/schema-inspector.js:650:12)
          at Array.forEach (<anonymous>)
          at Validation._validate (/usr/local/lib/node_modules/xo-server/node_modules/schema-inspector/lib/schema-inspector.js:648:21)
          at Validation.validate (/usr/local/lib/node_modules/xo-server/node_modules/schema-inspector/lib/schema-inspector.js:641:15)
          at Object.validate (/usr/local/lib/node_modules/xo-server/node_modules/schema-inspector/lib/schema-inspector.js:1579:41)
          at Object.call (/usr/local/lib/node_modules/xo-server/src/xo-mixins/api.js:63:34)
          at Api.callApiMethod (/usr/local/lib/node_modules/xo-server/src/xo-mixins/api.js:300:19)
          at runMicrotasks (<anonymous>)
          at processTicksAndRejections (internal/process/task_queues.js:93:5)"
      } 
      

      I can create a new backup job, but not edit it.
      b402d0ed-bafd-4a27-8d72-8b1831b8f984-image.png

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

        It should be fixed now 🙂

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

          Pinging @badrAZ

          1 Reply Last reply Reply Quote 0
          • DanpD Offline
            Danp Pro Support Team @Forza
            last edited by

            @s-pam I checked mine and didn't encounter this issue. Sounds like an issue with the original backup job. I would just delete the job and recreate it.

            ForzaF 1 Reply Last reply Reply Quote 0
            • ForzaF Offline
              Forza @Danp
              last edited by

              @danp said in Can't edit XO metatata backup config:

              @s-pam I checked mine and didn't encounter this issue. Sounds like an issue with the original backup job. I would just delete the job and recreate it.

              It is what I did (hence the 'NEW' in the label) 😄

              Could it be because I have XOA connected to two pools? The old pool is somewhat broken though (my other issues threads about NFS)

              DanpD 1 Reply Last reply Reply Quote 0
              • DanpD Offline
                Danp Pro Support Team @Forza
                last edited by

                @s-pam I missed the part about not being able to edit the new job. Are you running XOA? If so, which release channel?

                ForzaF 1 Reply Last reply Reply Quote 0
                • ForzaF Offline
                  Forza @Danp
                  last edited by Forza

                  @danp said in Can't edit XO metatata backup config:

                  @s-pam I missed the part about not being able to edit the new job. Are you running XOA? If so, which release channel?

                  XOA 5.58.0 with the "Latest" release channel
                  43a3124f-42f1-4310-a544-1519d8c72f31-image.png

                  DanpD 1 Reply Last reply Reply Quote 0
                  • DanpD Offline
                    Danp Pro Support Team @Forza
                    last edited by

                    @s-pam Ok, I get the error as well when I unselect the Pool Metadata option.

                    badrAZB 1 Reply Last reply Reply Quote 1
                    • badrAZB Offline
                      badrAZ @Danp
                      last edited by

                      Hi,

                      Thank you for your report.

                      The bug is introduced by the recent version of a library that we are using.

                      We'll fix it ASAP.

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

                        Thanks for the report guys!

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

                          It should be fixed now 🙂

                          ForzaF 1 Reply Last reply Reply Quote 1
                          • ForzaF Offline
                            Forza @olivierlambert
                            last edited by

                            @olivierlambert said in Can't edit XO metatata backup config:

                            It should be fixed now 🙂

                            Yes it works! 🙂 Good job!

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

                              Thanks @badrAZ for the fix!

                              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