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
    81.8k
    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
      Danp @momurda
      last edited by

      @momurda "Doesn't work" isn't sufficient feedback for us to determine why you are having such issues with this script.

      Perhaps you could show us the commands you used to perform the installation and the output from the SSH session.

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

        I typed in the command on the github page. It says it completed successfully, but no xo.
        Ill just use the virtual appliance since it works.

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

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

          I typed in the command on the github page. It says it completed successfully, but no xo.
          Ill just use the virtual appliance since it works.

          What OS, though?

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

            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.

            DustinB3403D black3dynamiteB B 3 Replies Last reply Reply Quote 0
            • DustinB3403D
              DustinB3403 @momurda
              last edited by

              @momurda are you using the mini iso by chance?

              1 Reply Last reply Reply Quote 0
              • black3dynamiteB
                black3dynamite @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.

                For Ubuntu 18.04, are using the new installer or the old version?
                If you are using KVM, are you deploying Ubuntu using virt-builder?

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

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

                  I typed in the command on the github page. It says it completed successfully, but no xo.

                  You need to dig deeper to figure out why it isn't working correctly in your environment.

                  For instance, from an SSH session, you could issue the command sudo systemctrl status xo-server to check and see if the service successfully started and is actvie.

                  To view the logs, you can enter the command sudo journalctl -u xo-server -f -n 50

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

                    @danp I know how to check error logs. The point is the installer keeps on going after errors are encountered, then says everything is ok when it is done.
                    Like just now, "no package redis-server available" well that seems pretty important, why not err out there and tell me? Instead it goes through and says "Your xo is now ready, go to ip address and start using it"

                    DanpD 1 Reply Last reply Reply Quote 0
                    • 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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 14
                                            • 15
                                            • 5 / 15
                                            • First post
                                              Last post