ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Xen Orchestra - Community Edition - Installing with Yarn

    IT Discussion
    xen orchestra updater ubuntu 16.10 xenorchestra xenserver xen orchestra community xo xoce xcp-ng debian ubuntu
    22
    296
    82.5k
    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.
    • B
      bnrstnr @momurda
      last edited by

      @momurda said in Xen Orchestra - Community Edition - Installing with Yarn:

      3 separate versions of ubuntu and even different minor versions of them. 16, 17 and 18 over the last two years. Never works, theres alwasys some package not found, some configuration not supported, something that keeps it from working, yet the output still says it works.

      I've deployed this at least a dozen times on all of these releases and I don't recall a time that it hasn't worked :man_shrugging:

      It looks like a few of us are willing to help if you have the time to post your logs...

      1 Reply Last reply Reply Quote 1
      • DanpD
        Danp @momurda
        last edited by

        @momurda Understood. I'm sure the error checking could be improved. However, you haven't given any concrete examples to show where it is failing. If we can't duplicate the issue, then it is difficult for us to fix.

        I've never seen the issue with redis-server. Can you provide a link to the ISO you are using to perform the OS install?

        1 Reply Last reply Reply Quote 1
        • B
          bnrstnr
          last edited by

          Sanity check here, just installed on the regular 18.04 iso

          Also, for shits and giggles, just did it on the mini.iso since I've never done it before. Selected "basic server" option with nothing but apt install openssh-server and ufw allow 80/tcp

          @momurda Something funky is definitely going on. Any proxy or firewall stuff that could be blocking some of the packages? I seem to remember somebody having that problem in the past, too...

          DanpD 1 Reply Last reply Reply Quote 0
          • momurdaM
            momurda
            last edited by

            It is the 1804 server iso
            The first step of the script fails and cant find redis-server, it then continues on through and installs everything else without a db.
            0_1532984581348_bcab9e6c-28e0-4cbb-9a83-054bd2adca7b-image.png
            https://mirror.pnl.gov/releases/bionic/ubuntu-18.04.1-live-server-amd64.iso

            B 1 Reply Last reply Reply Quote 1
            • DanpD
              Danp
              last edited by

              While the script should detect the error and abort, you can't hold it responsible for something on your end that is preventing the package from being found. This is what I get when I run the same command --

              sudo apt search redis-server
              Sorting... Done
              Full Text Search... Done
              golang-github-stvp-tempredis-dev/bionic,bionic 0.0~git20160122.0.83f7aae-1 all
                Go package to start and stop temporary redis-server processes
              
              libtest-redisserver-perl/bionic,bionic 0.21-1 all
                redis-server runner for tests
              
              python-hiredis/bionic 0.2.0-3 amd64
                redis protocol reader for Python 2.X using hiredis
              
              python3-hiredis/bionic 0.2.0-3 amd64
                redis protocol reader for Python using hiredis
              
              redis/bionic,bionic 5:4.0.9-1 all
                Persistent key-value database with network interface (metapackage)
              
              redis-server/bionic,now 5:4.0.9-1 amd64 [installed]
                Persistent key-value database with network interface
              
              1 Reply Last reply Reply Quote 0
              • DanpD
                Danp @bnrstnr
                last edited by

                @bnrstnr Did your install from the mini.iso work?

                B 1 Reply Last reply Reply Quote 0
                • B
                  bnrstnr @momurda
                  last edited by bnrstnr

                  @momurda said in Xen Orchestra - Community Edition - Installing with Yarn:

                  https://mirror.pnl.gov/releases/bionic/ubuntu-18.04.1-live-server-amd64.iso

                  For some reason most of the normal sources aren't available on the install from this iso.

                  running apt-cache policy gives me like 3 results, where the ISO I normally use, and even the mini.iso list like 15 sources

                  1 Reply Last reply Reply Quote 1
                  • momurdaM
                    momurda
                    last edited by

                    Its not something on my end.
                    The repo for redis-server isnt on the server iso repo.
                    It is on the regular ubuntu repo.

                    DustinB3403D 1 Reply Last reply Reply Quote 0
                    • B
                      bnrstnr @Danp
                      last edited by

                      @danp yes, the mini.iso worked

                      1 Reply Last reply Reply Quote 0
                      • DustinB3403D
                        DustinB3403 @momurda
                        last edited by

                        @momurda said in Xen Orchestra - Community Edition - Installing with Yarn:

                        Its not something on my end.
                        The repo for redis-server isnt on the server iso repo.
                        It is on the regular ubuntu repo.

                        But that isn't something we should "fix", if you chose to use a repo that doesn't have the minimal requirements, you should install the requirements before installing this.

                        1 Reply Last reply Reply Quote 2
                        • DustinB3403D
                          DustinB3403
                          last edited by

                          I just had this conversation 2 maybe 3 weeks ago with a person who was complaining about the install failing because they chose an ISO that had cmdtest package, which breaks other dependencies.

                          If you're using a shitty iso, it's on you to fix the issues in that ISO, not on us to hope and pray we've caught and fixed every possible upstream issue.

                          1 Reply Last reply Reply Quote 0
                          • DustinB3403D
                            DustinB3403
                            last edited by

                            With that said, if you come and report the issue to us, we can try and assist you with the error you're encountering. But you can't expect us to account for things that we aren't specifically out looking for.

                            If redis-server isn't in your repos' add it, update and then try the install.

                            sudo add-apt-repository ppa:chris-lea/redis-server
                            
                            sudo apt-get update
                            
                            1 Reply Last reply Reply Quote 0
                            • momurdaM
                              momurda
                              last edited by

                              It is the official server iso from ubuntu. I also redownloaded this same iso from ubuntu.com and there is also no redis-server. Nowhere does your guide say to install prerequisites or add repositories to install. It says 'install ubuntu server and use this one line installer'. I did that and it fails 100% of the time. redis-server isnt on the ubuntu server iso repo by default.

                              DustinB3403D 1 Reply Last reply Reply Quote 0
                              • black3dynamiteB
                                black3dynamite
                                last edited by

                                Use the alternate version
                                http://cdimage.ubuntu.com/releases/18.04/release/ubuntu-18.04.1-server-amd64.iso

                                Instead of the new default version
                                http://releases.ubuntu.com/18.04.1/ubuntu-18.04.1-live-server-amd64.iso

                                1 Reply Last reply Reply Quote 0
                                • DustinB3403D
                                  DustinB3403 @momurda
                                  last edited by

                                  @momurda said in Xen Orchestra - Community Edition - Installing with Yarn:

                                  It is the official server iso from ubuntu. I also redownloaded this same iso from ubuntu.com and there is also no redis-server. Nowhere does your guide say to install prerequisites or add repositories to install. It says 'install ubuntu server and use this one line installer'. I did that and it fails 100% of the time. redis-server isnt on the ubuntu server iso repo by default.

                                  But you've stated redis isn't included in the ISO you've used, normally you don't have to go and troubleshoot anything as the main Ubuntu and Debian distro's just work. (Debian does require some additional setup but that's adding sudo and curl).

                                  Otherwise nothing is required. I'm testing with the ISO you've provided.

                                  1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller
                                    last edited by

                                    Even if not included, apt-get should go and find it.

                                    1 Reply Last reply Reply Quote 0
                                    • momurdaM
                                      momurda
                                      last edited by

                                      Fixed by ditching ubuntu, my SOP today with ubuntu based installers and setups.
                                      First try on debian, works with one warning about optional fsevents component.
                                      This component only seems to be for osx so not sure why it is being triggered here during the install.

                                      scottalanmillerS B 2 Replies Last reply Reply Quote 2
                                      • scottalanmillerS
                                        scottalanmiller @momurda
                                        last edited by

                                        @momurda said in Xen Orchestra - Community Edition - Installing with Yarn:

                                        Fixed by ditching ubuntu, my SOP today with ubuntu based installers and setups.
                                        First try on debian, works with one warning about optional fsevents component.
                                        This component only seems to be for osx so not sure why it is being triggered here during the install.

                                        Very odd since most of the testing is Ubuntu.

                                        1 Reply Last reply Reply Quote 0
                                        • B
                                          bnrstnr @momurda
                                          last edited by

                                          @momurda said in Xen Orchestra - Community Edition - Installing with Yarn:

                                          First try on debian, works with one warning about optional fsevents component.

                                          This happens with Ubuntu, too. Not sure what it's supposed to do, but none of the installs I've done ever have it.

                                          1 Reply Last reply Reply Quote 0
                                          • DustinB3403D
                                            DustinB3403
                                            last edited by

                                            @momurda for what it's worth with the ISO you provided I'm seeing the same error messages.

                                            Jul 31 18:35:45 xoce xo-server[5052]: [Warn] Unhandled error event: Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
                                            Jul 31 18:35:45 xoce xo-server[5052]:     at Object._errnoException (util.js:992:11)
                                            Jul 31 18:35:45 xoce xo-server[5052]:     at _exceptionWithHostPort (util.js:1014:20)
                                            Jul 31 18:35:45 xoce xo-server[5052]:     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1186:14)
                                            Jul 31 18:35:45 xoce xo-server[5052]: [Warn] Unhandled error event: Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
                                            Jul 31 18:35:45 xoce xo-server[5052]:     at Object._errnoException (util.js:992:11)
                                            Jul 31 18:35:45 xoce xo-server[5052]:     at _exceptionWithHostPort (util.js:1014:20)
                                            Jul 31 18:35:45 xoce xo-server[5052]:     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1186:14)
                                            Jul 31 18:35:46 xoce xo-server[5052]: [Warn] Unhandled error event: Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
                                            Jul 31 18:35:46 xoce xo-server[5052]:     at Object._errnoException (util.js:992:11)
                                            Jul 31 18:35:46 xoce xo-server[5052]:     at _exceptionWithHostPort (util.js:1014:20)
                                            Jul 31 18:35:46 xoce xo-server[5052]:     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1186:14)
                                            Jul 31 18:35:46 xoce xo-server[5052]: [Warn] Unhandled error event: Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
                                            Jul 31 18:35:46 xoce xo-server[5052]:     at Object._errnoException (util.js:992:11)
                                            Jul 31 18:35:46 xoce xo-server[5052]:     at _exceptionWithHostPort (util.js:1014:20)
                                            Jul 31 18:35:46 xoce xo-server[5052]:     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1186:14)
                                            Jul 31 18:35:47 xoce xo-server[5052]: [Warn] Unhandled error event: Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
                                            Jul 31 18:35:47 xoce xo-server[5052]:     at Object._errnoException (util.js:992:11)
                                            Jul 31 18:35:47 xoce xo-server[5052]:     at _exceptionWithHostPort (util.js:1014:20)
                                            Jul 31 18:35:47 xoce xo-server[5052]:     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1186:14)
                                            Jul 31 18:35:49 xoce xo-server[5052]: [Warn] Unhandled error event: Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
                                            Jul 31 18:35:49 xoce xo-server[5052]:     at Object._errnoException (util.js:992:11)
                                            Jul 31 18:35:49 xoce xo-server[5052]:     at _exceptionWithHostPort (util.js:1014:20)
                                            Jul 31 18:35:49 xoce xo-server[5052]:     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1186:14)
                                            Jul 31 18:35:52 xoce xo-server[5052]: [Warn] Unhandled error event: Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
                                            Jul 31 18:35:52 xoce xo-server[5052]:     at Object._errnoException (util.js:992:11)
                                            Jul 31 18:35:52 xoce xo-server[5052]:     at _exceptionWithHostPort (util.js:1014:20)
                                            Jul 31 18:35:52 xoce xo-server[5052]:     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1186:14)
                                            Jul 31 18:35:56 xoce xo-server[5052]: [Warn] Unhandled error event: Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
                                            Jul 31 18:35:56 xoce xo-server[5052]:     at Object._errnoException (util.js:992:11)
                                            Jul 31 18:35:56 xoce xo-server[5052]:     at _exceptionWithHostPort (util.js:1014:20)
                                            Jul 31 18:35:56 xoce xo-server[5052]:     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1186:14)
                                            Jul 31 18:36:05 xoce xo-server[5052]: [Warn] Unhandled error event: Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
                                            Jul 31 18:36:05 xoce xo-server[5052]:     at Object._errnoException (util.js:992:11)
                                            Jul 31 18:36:05 xoce xo-server[5052]:     at _exceptionWithHostPort (util.js:1014:20)
                                            Jul 31 18:36:05 xoce xo-server[5052]:     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1186:14)
                                            Jul 31 18:36:19 xoce xo-server[5052]: [Warn] Unhandled error event: Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
                                            Jul 31 18:36:19 xoce xo-server[5052]:     at Object._errnoException (util.js:992:11)
                                            Jul 31 18:36:19 xoce xo-server[5052]:     at _exceptionWithHostPort (util.js:1014:20)
                                            Jul 31 18:36:19 xoce xo-server[5052]:     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1186:14)
                                            Jul 31 18:36:42 xoce xo-server[5052]: [Warn] Unhandled error event: Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
                                            Jul 31 18:36:42 xoce xo-server[5052]:     at Object._errnoException (util.js:992:11)
                                            Jul 31 18:36:42 xoce xo-server[5052]:     at _exceptionWithHostPort (util.js:1014:20)
                                            Jul 31 18:36:42 xoce xo-server[5052]:     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1186:14)
                                            Jul 31 18:37:23 xoce xo-server[5052]: [Warn] Unhandled error event: Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
                                            Jul 31 18:37:23 xoce xo-server[5052]:     at Object._errnoException (util.js:992:11)
                                            Jul 31 18:37:23 xoce xo-server[5052]:     at _exceptionWithHostPort (util.js:1014:20)
                                            Jul 31 18:37:23 xoce xo-server[5052]:     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1186:14)
                                            Jul 31 18:38:31 xoce xo-server[5052]: [Warn] Unhandled error event: Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
                                            Jul 31 18:38:31 xoce xo-server[5052]:     at Object._errnoException (util.js:992:11)
                                            Jul 31 18:38:31 xoce xo-server[5052]:     at _exceptionWithHostPort (util.js:1014:20)
                                            Jul 31 18:38:31 xoce xo-server[5052]:     at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1186:14)
                                            

                                            The ISO is missing the minimal requirements to make the install work.

                                            B 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 15
                                            • 15 / 15
                                            • First post
                                              Last post