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

    OS cloud images, anyone?

    Scheduled Pinned Locked Moved IT Discussion
    14 Posts 5 Posters 1.5k Views
    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.
    • F
      Francesco Provino @stacksofplates
      last edited by Francesco Provino

      @stacksofplates said in OS cloud images, anyone?:

      I'm running openstack at home. So yes I'm running cloud. I still have a bare KVM server at home also and if I need to run a VM I use virt-builder, create the VM, and get the address with virsh. Then I just run Ansible against it.

      Very nice! It looks like the setup I'm gonna build at my home… any further detail? Thanks for your interesting reply!

      stacksofplatesS 1 Reply Last reply Reply Quote 0
      • stacksofplatesS
        stacksofplates @Francesco Provino
        last edited by

        @francesco-provino said in OS cloud images, anyone?:

        @stacksofplates said in OS cloud images, anyone?:

        I'm running openstack at home. So yes I'm running cloud. I still have a bare KVM server at home also and if I need to run a VM I use virt-builder, create the VM, and get the address with virsh. Then I just run Ansible against it.

        Very nice! It looks like the setup I'm gonna build at my home… any further detail? Thanks for your interesting reply!

        It's just an OpenStack all in one on a DL380 G6. The KVM server is an R710. Updates are pushed out automatically with Ansible and Jenkins. Right now it's just a static Ansible inventory because I was having trouble getting useful information out of the OpenStack dynamic inventory. So right now it's all DHCP reservations. Likely once I get the script straightened out for the inventory, I won't need that any longer.

        F 1 Reply Last reply Reply Quote 0
        • F
          Francesco Provino @stacksofplates
          last edited by

          @stacksofplates said in OS cloud images, anyone?:

          @francesco-provino said in OS cloud images, anyone?:

          @stacksofplates said in OS cloud images, anyone?:

          I'm running openstack at home. So yes I'm running cloud. I still have a bare KVM server at home also and if I need to run a VM I use virt-builder, create the VM, and get the address with virsh. Then I just run Ansible against it.

          Very nice! It looks like the setup I'm gonna build at my home… any further detail? Thanks for your interesting reply!

          It's just an OpenStack all in one on a DL380 G6. The KVM server is an R710. Updates are pushed out automatically with Ansible and Jenkins. Right now it's just a static Ansible inventory because I was having trouble getting useful information out of the OpenStack dynamic inventory. So right now it's all DHCP reservations. Likely once I get the script straightened out for the inventory, I won't need that any longer.

          I've tried openstack also (in containers), but never found it too useful. At the moment, my goal is to build an environment that I can fully manage without relying on GUIs, so I can manage it with ssh on the iPad. It also seems to boost my needs to automate!

          stacksofplatesS 1 Reply Last reply Reply Quote 0
          • stacksofplatesS
            stacksofplates @Francesco Provino
            last edited by

            @francesco-provino said in OS cloud images, anyone?:

            @stacksofplates said in OS cloud images, anyone?:

            @francesco-provino said in OS cloud images, anyone?:

            @stacksofplates said in OS cloud images, anyone?:

            I'm running openstack at home. So yes I'm running cloud. I still have a bare KVM server at home also and if I need to run a VM I use virt-builder, create the VM, and get the address with virsh. Then I just run Ansible against it.

            Very nice! It looks like the setup I'm gonna build at my home… any further detail? Thanks for your interesting reply!

            It's just an OpenStack all in one on a DL380 G6. The KVM server is an R710. Updates are pushed out automatically with Ansible and Jenkins. Right now it's just a static Ansible inventory because I was having trouble getting useful information out of the OpenStack dynamic inventory. So right now it's all DHCP reservations. Likely once I get the script straightened out for the inventory, I won't need that any longer.

            I've tried openstack also (in containers), but never found it too useful. At the moment, my goal is to build an environment that I can fully manage without relying on GUIs, so I can manage it with ssh on the iPad. It also seems to boost my needs to automate!

            Ya I've got it running on bare metal. I've got 9 instances on it right now, but adding more. I usually spin them up with Terraform so it's pretty easy to automate.

            1 Reply Last reply Reply Quote 0
            • M
              marcinozga
              last edited by

              I'm playing with lxd containers and ansible a lot currently. And that would perfectly fit your needs. Creating new container is as simple as running single terminal command:

              lxc launch images:centos/7/amd64 centos

              And you can easily automate and scale it with ansible, including initial config, extra packages installation, cron setup, updates, etc. And chances are someone has already written a role to do it, so you would only need to include the roles in your playbooks.

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

                I've been moving to containers more and more as well. But LXC, not Docker.

                F 1 Reply Last reply Reply Quote 0
                • F
                  Francesco Provino @scottalanmiller
                  last edited by

                  @scottalanmiller LXC is nice, but I've met a lot of limits in access devices or fs, and it's not usually trivial to overcome them. Examples? Just try to build ubiquiti UNMS in a LXD container.

                  1 Reply Last reply Reply Quote 0
                  • M
                    marcinozga
                    last edited by

                    LXD containers by default are unprivileged, some software might not play nice with it. Set the container as privileged and see it issues are gone. Apache is one example when I had to adjust the container.

                    F 1 Reply Last reply Reply Quote 0
                    • F
                      Francesco Provino @marcinozga
                      last edited by

                      @marcinozga said in OS cloud images, anyone?:

                      LXD containers by default are unprivileged, some software might not play nice with it. Set the container as privileged and see it issues are gone. Apache is one example when I had to adjust the container.

                      Already done, is not that easy. Also passing devices doesn't work.

                      1 Reply Last reply Reply Quote 0
                      • M
                        marcinozga
                        last edited by

                        I had a look at UNMS and the installer is just pulling Docker image. That's a lot of moving parts and getting Docker to run in LXD is a challenge already, just too many variables. There's a feature request to have standard .deb installer.

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

                          @marcinozga said in OS cloud images, anyone?:

                          I had a look at UNMS and the installer is just pulling Docker image. That's a lot of moving parts and getting Docker to run in LXD is a challenge already, just too many variables. There's a feature request to have standard .deb installer.

                          I thought @JaredBusch posted a guide to installing UNMS in a Debian 9.1 VM on the forums just the other day. . .

                          Edit: Yeah he did, here is the guide.

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            marcinozga @DustinB3403
                            last edited by

                            @dustinb3403 said in OS cloud images, anyone?:

                            @marcinozga said in OS cloud images, anyone?:

                            I had a look at UNMS and the installer is just pulling Docker image. That's a lot of moving parts and getting Docker to run in LXD is a challenge already, just too many variables. There's a feature request to have standard .deb installer.

                            I thought @JaredBusch posted a guide to installing UNMS in a Debian 9.1 VM on the forums just the other day. . .

                            Edit: Yeah he did, here is the guide.

                            Installing Docker in VM is quite different than installing it in LXD container. Think of it as installing Docker inside Docker.

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