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

    Xen Orchestra proxies - Test Feedback

    Scheduled Pinned Locked Moved Xen Orchestra
    31 Posts 8 Posters 10.5k 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.
    • badrAZB Offline
      badrAZ
      last edited by badrAZ

      Unfortunately, it will not be possible to give an IP address to the deployed VM during the deployment process because the VM is started quickly.

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

        So we'll need to leave the choice before actual proxy deploy (eg when you select the SR) 🙂

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

          Indeed,

          On selecting a SR, the user should be able to select the associated network and to choose its configuration.

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

            I just tried this out for the first time. With XOA (latest channel, freshly updated), I received the same timeout error --

            proxy.deploy
            {
              "sr": "fed313ad-68ac-8ce8-0ced-25f861c3c17f"
            }
            {
              "message": "operation timed out",
              "name": "TimeoutError",
              "stack": "TimeoutError: operation timed out
                at Promise.call (/usr/local/lib/node_modules/xo-server/node_modules/promise-toolbox/timeout.js:13:16)
                at Proxy.deployProxy (/usr/local/lib/node_modules/xo-server/src/xo-mixins/proxies.js:195:19)
                at <anonymous>"
            }
            

            With XO built from source, I received the following error --

            proxy.deploy
            {
              "sr": "fed313ad-68ac-8ce8-0ced-25f861c3c17f"
            }
            {
              "message": "app.getResourceCatalog is not a function",
              "name": "TypeError",
              "stack": "TypeError: app.getResourceCatalog is not a function
                at Proxy.apply (/opt/xen-orchestra/packages/xo-server/src/xo-mixins/proxies.js:143:19)
                at Proxy.<anonymous> (/opt/xen-orchestra/node_modules/golike-defer/src/index.js:57:17)
                at Object.deployProxy (/opt/xen-orchestra/node_modules/lodash/_createBind.js:23:15)
                at Object.call (/opt/xen-orchestra/packages/xo-server/src/api/proxy.js:100:15)
                at Api.callApiMethod (/opt/xen-orchestra/packages/xo-server/src/xo-mixins/api.js:292:33)
                at <anonymous>"
            }
            
            1 Reply Last reply Reply Quote 0
            • olivierlambertO Offline
              olivierlambert Vates 🪐 Co-Founder CEO
              last edited by

              Ping @julien-f

              1 Reply Last reply Reply Quote 0
              • F Offline
                Franck Leclerc
                last edited by

                Hi,

                No problem for me to create and configure a proxy but when I start a backup I have this error :

                backupNg.runJob
                {
                  "id": "fad774b1-79ac-485d-9e7d-f3f9de02f486",
                  "schedule": "0c9fffd2-8a42-4d87-8098-217dbd2feabc"
                }
                {
                  "code": -32601,
                  "data": "backup.run",
                  "message": "method not found: backup.run"
                } 
                
                1 Reply Last reply Reply Quote 0
                • olivierlambertO Offline
                  olivierlambert Vates 🪐 Co-Founder CEO
                  last edited by

                  Your proxy was deployed in a DHCP enabled env, right?

                  F 1 Reply Last reply Reply Quote 0
                  • F Offline
                    Franck Leclerc @olivierlambert
                    last edited by

                    @olivierlambert

                    Yes the DHCP server give an IP to the proxy

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

                      Good thanks 🙂 I think we got a patch coming very soon, done by @julien-f fixing this error

                      1 Reply Last reply Reply Quote 0
                      • F Offline
                        Franck Leclerc
                        last edited by

                        Okay, thanks. I'm waiting for the patch.
                        If I'm not in DHCP I have the same problem as the other users, a timeout and the proxy is deleted.

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

                          Hey everyone!

                          The patch is finally here 🎉

                          Sorry for the delay 😐

                          How to test?

                          1. Select the latest channel on your XO appliance
                          2. Upgrade to Xen Orchestra 5.43.2
                          3. Go to the Proxies page and either Deploy a proxy or upgrade the appliance of your existing ones

                          What's here?

                          • Full Backup
                          • Disaster Recovery

                          Known limitations/issues

                          Scheduled for Step 2 at the end of the month.

                          • Network configuration for the proxy appliance
                          • Delta Backup
                          • Continuous Replication
                          • Detailed logs, they are currently empty
                          • Restoring backups
                            Work-around: create a normal remote (not linked to the proxy) connected to the same storage and import via the XO appliance

                          Thank you for your feedbacks

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

                            @Franck-Leclerc feel free to try again now 🙂

                            1 Reply Last reply Reply Quote 0
                            • F Offline
                              Franck Leclerc
                              last edited by

                              Thanks for the update.
                              I can now backup a VM with the proxy
                              I continuing my tests

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

                                Great thanks!

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

                                  Are proxies an XOA-restricted feature? If yes, then the GUI should indicate that and prevent you from attempting to deploy when built from source. If no, then this functionality is still broken (TypeError: app.getResourceCatalog is not a function) when built from source.

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

                                    Proxies are like XOA (or XO Hub templates): they are pre-configured appliances hosted on xen-orchestra.com, explaining why you can only deploy them from XOA.

                                    However, you should be able to use the sources to register a proxy yourself, but we'll document that later (it's still in dev and code is moving fast).

                                    Anyway, we'll expose that in the UI, thanks for the feedback 🙂

                                    J 1 Reply Last reply Reply Quote 0
                                    • J Offline
                                      jmccoy555 @olivierlambert
                                      last edited by

                                      @olivierlambert Hi, did this ever get documented? I've got a bit of a Christmas project in the pipeline setting up a XCP-ng host at my parents and would want it to back up the VMs locally, but ideally without running another local XO; so basically the exact problem a proxy would resolve.

                                      I guess registering it, in Redis I presume, would be easy enough, but what about the proxy VM itself?

                                      Thanks.

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

                                        I don't think it's documented, the only supported process is by using XOA, but we might have a dedicated README somewhere I assume.

                                        @julien-f do we have a "manual" procedure anywhere?

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

                                          @olivierlambert No, there are no manual procedure available at this time.

                                          J 1 Reply Last reply Reply Quote 0
                                          • J Offline
                                            jmccoy555 @julien-f
                                            last edited by

                                            @julien-f @olivierlambert thanks for replying.

                                            So proxies are a XOA paid only feature (even without support), and its not possible to manually build, or understand the magic that is going on within the proxy VM 😢 ; at least thats something else less to play with and break!

                                            Looks like Plan B then! 😁

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