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

    Unable to reconnect XCP server after XOA update

    Scheduled Pinned Locked Moved Xen Orchestra
    12 Posts 3 Posters 924 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.
    • DanpD Offline
      Danp Pro Support Team
      last edited by

      Check the IP address under Setttings > Servers to make sure it points to the current pool master.

      Also would be good to make sure that you don't have another device on the network using the same IP address.

      E 1 Reply Last reply Reply Quote 0
      • E Offline
        erwand @Danp
        last edited by

        @Danp Thnks for the replys

        It's a Pool master and pointing on the good IP address.

        I've check and no conflict

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          Andrew Top contributor @erwand
          last edited by

          @erwand Is this XO source, not XOA? If It's XO source, did you update node (18.17.1) and other required packages?

          E 1 Reply Last reply Reply Quote 0
          • E Offline
            erwand @Andrew
            last edited by

            @Andrew node version is v20.5.1

            A 1 Reply Last reply Reply Quote 0
            • A Offline
              Andrew Top contributor @erwand
              last edited by

              @erwand Please downgrade to 18. It's unknown if 20 will work. 18.17 is the current supported version for XO source.

              E 1 Reply Last reply Reply Quote 0
              • E Offline
                erwand @Andrew
                last edited by

                @Andrew Same things happen wit node 18.17.1

                E 1 Reply Last reply Reply Quote 0
                • E Offline
                  erwand @erwand
                  last edited by erwand

                  In fact, the problem seems to come from the way I launch the orchestra server.

                  If I run it manually with the "Yarn star" command, everything works fine.

                  However, if I use the "Forever-service" method in this case, the XCP servers connect then disconnect before displaying an authentication error message.

                  I've tried running xoa-server as root and also sudo with another user and the problem is identical.

                  But if i just user "forever start dist/cli.mjs" as root it works

                  Does anyone have any ideas?

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

                    How old was your XO install? Have you reviewed this thread?

                    E 1 Reply Last reply Reply Quote 0
                    • E Offline
                      erwand @Danp
                      last edited by

                      @Danp a couple of days

                      I've make some new tests if it can help:

                      When i try to start orchestra using this commande in rc.local of my ubuntu 20.04.6

                       cd /usr/src/xen-orchestra/packages/xo-server && forever start dist/cli.mjs
                      

                      it's not working, i can connect to the web interface bu unable to connect to XCP

                      but if i lauch the same command on the CLI just after the start, it works

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

                        Sounds like a rights issue. 🤔

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