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

    Is the xoa bash install script on the xcp console broken?

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    11 Posts 4 Posters 1.9k Views 3 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.
    • G Offline
      goorooj
      last edited by goorooj

      hi, i tried

      curl -sS https://xoa.io/deploy | bash
      

      to install a xo appliance as mentioned here
      https://xen-orchestra.com/docs/xoa.html

      but it just stopped after a while without any change.

      [root@vhrz01 ~]# curl -sS https://xoa.io/deploy | bash
      
      Welcome to the XOA auto-deploy script!
      
      Network settings:
      Importing XOA VM...
      [root@vhrz01 ~]#
      

      is that a known bug or something wrong on my side?
      after looking into the script i tried

      xe vm-import url=http://xoa.io:8888/
      

      directly ...
      the task stays on 0% for a while and then breaks off with

      The server failed to handle your request, due to an internal error.  The given message may give details useful for debugging the problem.
      message: Unix.Unix_error(Unix.ETIMEDOUT, "connect", "")
      

      i tried a telnet xoa.io 8888 but it seems the port is closed.
      alex

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

        The right way to deploy is doing with the web form at https://xen-orchestra.com/#!/xoa

        Does this work?

        1 Reply Last reply Reply Quote 0
        • G Offline
          goorooj
          last edited by goorooj

          i was sticking to the https://xen-orchestra.com/docs/xoa.html doc.
          i have to get the appliance directly to the xcp server because a ssh console on the xcp is all i have, no gui or anything, thats why i try xoa so i have a gui... 80 and 443 are free through the vpn as well.

          getting the xva here and then send it there is no option, only have about 7Mbit net through the vpn here and gigabit internet there....

          i remember this worked on my first test install, thats why i sticked to it

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

            Okay so if you want to go this way, you need to be sure your host can reach outside.

            Because in your case, if xe vm-import url=http://xoa.io:8888/ don't work, we can't go further.

            We are monitoring the service, and it's up. I also just made a test in our lab:

            [15:45 xcp-ng-lab-1 ~]# xe vm-import url=http://xoa.io:8888/
             
            ec5396df-1c38-cd53-a67b-0681a5378dd3
            
            
            G erSitztE 2 Replies Last reply Reply Quote 0
            • G Offline
              goorooj @olivierlambert
              last edited by

              @olivierlambert oh so there IS something wrong on my side, thanks.
              i will check with the firewall

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

                Keep us posted 🙂

                G 1 Reply Last reply Reply Quote 0
                • G Offline
                  goorooj @olivierlambert
                  last edited by

                  @olivierlambert
                  yes it was the juniper, had to search a while... and then create xoa-dl as application with tcp 8888 and add it to the zone policy of that VLAN. Juniper cli is a bitch.
                  works now. thank you.

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

                    Great! You are welcome, enjoy XOA 🙂

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      markhewitt1978
                      last edited by

                      I deployed using
                      bash -c "$(curl -s http://xoa.io/deploy)"

                      Only today - worked fine.

                      1 Reply Last reply Reply Quote 0
                      • erSitztE Offline
                        erSitzt @olivierlambert
                        last edited by

                        @olivierlambert

                        i know this is quite old, but is the image still loaded from the same url/port ?

                        Is there a reason not using port 80/443 ?

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

                          Answered on Github.

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