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

    XOA deploy error

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    xoadeployerrorxcp-ng 8.3
    28 Posts 7 Posters 7.8k Views 7 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 Offline
      olivierlambert Vates 🪐 Co-Founder CEO
      last edited by olivierlambert

      I cannot reproduce on my lab, will check if I can trigger the issue elsewhere.

      1 Reply Last reply Reply Quote 0
      • S Offline
        stefanflegg
        last edited by

        I experienced the same issue just now. Fresh install of 8.3 RC2 followed by XOA install from XO-LITE and got the same INVALID_VALUE error.

        Tried from the Vates deploy site and got the same {} error.

        Tried via bash script and XOA deployed successfully.

        1 Reply Last reply Reply Quote 0
        • K Offline
          kbsp @olivierlambert
          last edited by

          @olivierlambert

          Deployment via vates.tech:

          Payload:

          {
              "jsonrpc": "2.0",
              "method": "VM.import",
              "params": [
                  "OpaqueRef:ffc7769e-7f87-1cd4-d663-e0708c8668f1",
                  "http://xoa.io/xva",
                  "OpaqueRef:c4654571-863f-6eb2-f015-9055e29ecb98",
                  false,
                  false
              ],
              "id": 1
          }
          

          Response:

          {
              "jsonrpc": "2.0",
              "error": {
                  "code": 1,
                  "message": "INVALID_VALUE",
                  "data": [
                      "bridge",
                      "xapi1"
                  ]
              },
              "id": 1
          }
          

          After this I see an exclamation point in a red circle and an error message that's just {}. Other jsonrpc payloads seem to work. I can see my networks and datastores just fine.

          Deployment via XO Lite

          Payload:

          {
              "jsonrpc": "2.0",
              "id": 20,
              "method": "VM.import",
              "params": [
                  "OpaqueRef:a364cc08-dda6-f218-bd51-4956b4f18477",
                  "http://xoa.io:8888/",
                  "OpaqueRef:c4654571-863f-6eb2-f015-9055e29ecb98",
                  false,
                  false
              ]
          }
          

          Response:

          {
              "jsonrpc": "2.0",
              "error": {
                  "code": 1,
                  "message": "INVALID_VALUE",
                  "data": [
                      "bridge",
                      "xapi1"
                  ]
              },
              "id": 20
          }
          

          After this I see the error message that @fatek posted a screenshot of.

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

            That's interesting, can you check the /var/log/xensource.log file?

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

              I think I have lead, it's not due to the deploy script, but the XVA itself. Stay tuned.

              1 Reply Last reply Reply Quote 1
              • nathanael-hN Offline
                nathanael-h Vates 🪐 DevOps Team
                last edited by

                Hello @kbsp @stefanflegg and @fatek, a new XOA image has just been uploaded. Can you test it and keep us posted?

                K 1 Reply Last reply Reply Quote 1
                • K Offline
                  kbsp @nathanael-h
                  last edited by

                  @nathanael-h Deployment via vates.tech was successful!

                  1 Reply Last reply Reply Quote 1
                  • F Offline
                    fatek
                    last edited by

                    Thank you, I am now able to deploy XOA!

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

                      Great news 🙂 Thanks for reporting the issue, it was rather subtle.

                      F 1 Reply Last reply Reply Quote 1
                      • F Offline
                        fatek @olivierlambert
                        last edited by

                        @olivierlambert said in XOA deploy error:

                        Great news 🙂 Thanks for reporting the issue, it was rather subtle.

                        Do I get a prize for that? maybe some ice crea or candy? 😀

                        1 Reply Last reply Reply Quote 0
                        • N Offline
                          newbie2xcp
                          last edited by newbie2xcp

                          I just installed 3 fresh nodes of 8.2.1 and could not deploy via vates or via script, I then installed 8.3 rc2 and neither are working. 3 days ago, I was able to use script to install XOA and today no luck. I have tried with and without DHCP. Attaching log from rc2.xoa log.txt

                          8.2.1
                          467ae45d-c78e-477e-bfe3-37cb31fefd83-image.png

                          8.3
                          311eefcd-538d-41ea-9927-3e672b7d9aaa-image.png

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

                            Please try to deploy with the bash script and report if you have a more details error (otherwise it should be displayed inside the /var/log/xensource.log)

                            N 1 Reply Last reply Reply Quote 0
                            • N Offline
                              newbie2xcp @olivierlambert
                              last edited by

                              @olivierlambert I did this, log is attached original message above
                              .

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

                                Sorry missed it. So "IMPORT_ERROR_PREMATURE_EOF" means something stopped the download before it was finished.

                                You can try to download XOA first, then use the deploy script locally to see if it's better. Follow this: https://xen-orchestra.com/docs/airgap.html#deploy-your-air-gap-xoa

                                1 Reply Last reply Reply Quote 0
                                • N Offline
                                  newbie2xcp
                                  last edited by

                                  link above uses https and I get this error
                                  [16:39 r530-n3 ~]# curl https://xoa.io/deploy > deploy.sh
                                  % Total % Received % Xferd Average Speed Time Time Time Current
                                  Dload Upload Total Spent Left Speed
                                  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
                                  curl: (35) OpenSSL/1.0.2k-fips: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

                                  use http instead downloads script
                                  [16:39 r530-n3 ~]# curl http://xoa.io/deploy > deploy.sh
                                  % Total % Received % Xferd Average Speed Time Time Time Current
                                  Dload Upload Total Spent Left Speed
                                  100 4970 100 4970 0 0 20525 0 --:--:-- --:--:-- --:--:-- 20622
                                  [16:40 r530-n3 ~]# cat deploy.sh

                                  We did figure out Fortinet was blocking something for port 8888 and the FW admin adding xao.io to allow list, normal bash script started working, I tried curl https://xoa.io/deploy > deploy.sh after install and get same openssl error (not that I need to worry about it now).

                                  Thanks for the assistance.

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

                                    So now regular deploy should work 🙂

                                    1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      stefanflegg
                                      last edited by

                                      Just tested the newly released 8.3 iso and I can confirm that XOA deployed as expected.

                                      1 Reply Last reply Reply Quote 1
                                      • olivierlambertO olivierlambert marked this topic as a question on
                                      • olivierlambertO olivierlambert has marked this topic as solved on
                                      • olivierlambertO Offline
                                        olivierlambert Vates 🪐 Co-Founder CEO
                                        last edited by

                                        Thank you for your feedback @stefanflegg !

                                        1 Reply Last reply Reply Quote 0
                                        • H Offline
                                          HamiltonWDS
                                          last edited by HamiltonWDS

                                          I know this has been some time for this thread, but raising it due to having the same issue and finding via a web search.
                                          I encountered the same problems when attempting to deploy from the Website and XO-Lite. I also had a failure when trying to download the deploy.sh. The cause of the problems appears to be due to outdated OpenSSL version (OpenSSL/1.0.2k-fips) when using curl.

                                          I am using the latest XCP-ng version of 8.3
                                          I did perform an update after the installation.

                                          Running the command:

                                          curl https://xoa.io/deploy > deploy.sh
                                          

                                          Results in:

                                            % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                                           Dload  Upload   Total   Spent    Left  Speed
                                            0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                                          curl: (35) OpenSSL/1.0.2k-fips: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
                                          

                                          Running:

                                          curl --version
                                          

                                          Results in:

                                          curl 8.6.0 (x86_64-koji-linux-gnu) libcurl/8.6.0 OpenSSL/1.0.2k-fips zlib/1.2.7 OpenLDAP/2.4.44
                                          Release-Date: 2024-01-31
                                          Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns ldap ldaps pop3 pop3s rtsp smtp smtps telnet tftp
                                          Features: AsynchDNS GSS-API HSTS HTTPS-proxy IPv6 Kerberos Largefile libz NTLM SPNEGO SSL threadsafe UnixSockets
                                          

                                          I was not successful in updating OpenSSL or Certificates (I did not add any respositories).

                                          However, downloading the deploy.sh script by wget was successful and I was able to then deploy XOA.

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

                                            Add @nathanael-h to take a look

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