r/openstack • • Sep 05 '24

Is OpenStack single node now *really* possible?

7 Upvotes

I am running a couple of ‘self contained’ virtual hosts for my lab. They are currently on OpenNebula, which has been serving me well for nearly 8 years. Before that it was 8 years of Proxmox.

Over time I have tried in and out to move to OpenStack (bear in mind each node needs to have all onboard, they are not a cluster) and got some degree of success installing everything manually - which made upgrades and maintenance challenging.

DevStack seems to be the best way to quickly install a standalone host and it works smoothly but admittedly it’s not designed for production, long running stuff (I plan to go through many major version upgrades). MicroStack might be the way?

Is the a maintained, appreciated and functional way to effectively install an OpenStack in-a-box? Tried to go a few threads back to no avail 😂

Thankyou!


r/openstack • • Aug 06 '24

Neutron - Provider Networks with multiple VLAN-s

7 Upvotes

Hi

I am deploying ansible using kolla-ansible.

I am trying to add multiple VLAN-s as separate provider networks, so each team gets their own provider network. I am stuck at the point, that nothing works really. I am getting generic openstack errors. I am posting my setup just somebody could help verify that I understand things correctly.

1. Compute Host setup

My compute host is also hosting neutron.

#/etc/netplan/compute-conf.yaml
network:
    bonds:
        bond0:
            dhcp4: true
            dhcp6: false
            interfaces:
            - enp65s0f0np0
            - enp65s0f1np1
            macaddress: redacted
            nameservers:
                addresses:
                - redacted
                - redacted
            parameters:
                down-delay: 200
                lacp-rate: fast
                mii-monitor-interval: 100
                mode: 802.3ad
                transmit-hash-policy: layer3+4
                up-delay: 4000
        bond1:
            interfaces:
            - enp129s0f0np0
            - enp129s0f1np1
            parameters:
                down-delay: 200
                lacp-rate: fast
                mii-monitor-interval: 100
                mode: 802.3ad
                transmit-hash-policy: layer3+4
                up-delay: 4000
    ethernets:
        enp129s0f0np0: {}
        enp129s0f1np1: {}
        enp65s0f0np0: {}
        enp65s0f1np1: {}
    renderer: networkd
    version: 2
    vlans:
        bond1.100:
            id: 100
            link: bond1
        bond1.101:
            id: 101
            link: bond1
        bond1.102:
            id: 102
            link: bond1
        bond1.18:
            id: 18
            link: bond1
        bond1.4:
            id: 4
            link: bond1
        bond1.51:
            id: 51
            link: bond1
        bond1.8:
            id: 8
            link: bond1
        bond1.96:
            id: 96
            link: bond1
        bond1.97:
            id: 97
            link: bond1
        bond1.98:
            id: 98
            link: bond1
        bond1.99:
            id: 99
            link: bond1

As you can see I have 2 different bonds on the compute.

bond0 - mgmt/backend - Access port to specifiy vlan bond1 - tenant/provider network for VM-s - Trunk port with all the VLAN-s specified allowed

2. OpenStack Neutron config

Using kolla-ansible I have added the networks as so.

#globals.yml
neutron_plugin_agent: "ovn"
neutron_external_interface: "bond1.100,bond1.101,bond1.102,bond1.15,bond1.18,bond1.4,bond1.51,bond1.8,bond1.96,bond1.97,bond1.98,bond1.99"
neutron_bridge_name: "br-ex100,br-ex101,br-ex102,br-ex15,br-ex18,br-ex4,br-ex51,br-ex8,br-ex96,br-ex97,br-ex98,br-ex99"
# ml2_conf.ini
ml2_type_flat]
flat_networks = physnet100,physnet101,physnet102,physnet15,physnet18,physnet4,physnet51,physnet8,physnet96,physnet97,physnet98,physnet99

[ovs]
bridge_mappings = physnet100:br-ex100,physnet101:br-ex101,physnet102:br-ex102,physnet15:br-ex15,physnet18:br-ex18,physnet4:br-ex4,physnet51:br-ex51,physnet8:br-ex8,physnet96:br-ex96,physnet97:br-ex97,physnet98:br-ex98,physnet99:br-ex99
# In the compute-host where neutron resides
# docker exec openvswitch_vswitchd ovs-vsctl show
# I have now removed most of the VLAN-s for testing purposes.
    Bridge br-ex1
        fail_mode: standalone
        Port br-ex1
            Interface br-ex1
                type: internal
        Port bond1
            Interface bond1
    Bridge br-ex2
        fail_mode: standalone
        Port br-ex2
            Interface br-ex2
                type: internal
        Port bond1.102
            Interface bond1.102
    Bridge br-int
        fail_mode: secure
        datapath_type: system
        Port br-int
            Interface br-int
                type: internal
        Port ovn-tln-in-0
            Interface ovn-tln-in-0
                type: geneve
                options: {csum="true", key=flow, remote_ip="192.168.18.19"}
        Port ovn-tln-in-1
            Interface ovn-tln-in-1
                type: geneve
                options: {csum="true", key=flow, remote_ip="192.168.18.18"}

For testing I changed the bond1 default to not be VLAN1. I changed it to VLAN15 so if traffic without vlan tag comes through it is added by the physical switch ot vlan15, that is why it is now just bond1 for br-ex1.

My question is. Do I need to do VLAN tagging some other way or is this correct?

Docs Used

  1. https://docs.openstack.org/kolla-ansible/latest/reference/networking/neutron.html

  2. https://www.reddit.com/r/openstack/comments/11rq3j6/kolla_ansible_host_networking_setup/

  3. https://moonpiedumplings.github.io/projects/build-server-2/#neutron

  4. https://docs.openstack.org/mitaka/networking-guide/deploy-ovs-provider.html

EDIT:

Got it working. Thanks OverjoyedBanana for the suggestion! Add the VLAN-s via OVN is the way to go.


r/openstack • • Aug 01 '24

Deploying Multi-Node OpenStack: Tips and Advice Needed

7 Upvotes

Hello everyone,

I'm planning to deploy a multi-node OpenStack setup in my home lab using Kolla-Ansible and could use some advice. My configuration will be:

  • 4 Servers

    • 3 as Controllers

    • All 4 as Compute nodes

  • External SAN Storage

I'm looking for tips and best practices to make the deployment smooth and maintainable. Any advice on configuration, networking, high availability, storage integration, monitoring, logging, and security would be greatly appreciated.

Any other general tips or gotchas you think I should be aware of would also be helpful!


r/openstack • • May 23 '24

If management compelled you to use a Kubernetes-based deployment solution, which one—OSH, Atmosphere or Yaook—would you pick?

7 Upvotes

By OSH I mean the OpenStack-Helm solution. The Atmosphere seems like a fork of OSH, and Yaook has a probably small team (under the control of a German brand, named STACKIT) which was introduced at the OpenInfra conference last year.

  • Do you know other K-based solutions?


r/openstack • • Apr 19 '24

Which are the popular Openstack agentless backup system Paid and Opensource

7 Upvotes

Hi,

I was searching for a openstack agentless backup solution can some one suggest what exactly they use in enterprise/MSP multitenant environment ?

Ceph or withour Ceph (FC).

Thank you


r/openstack • • Mar 15 '24

The community needs benchmarks, experience sharing, and opinions on comparing the Kubernetes-based VS Ansible-based solutions for OpenStack deployment.

7 Upvotes

Kube-based solutions: OSH, Atmosphere, Yaook Ansible-based solutions: OSA, Kolla-Ansible


r/openstack • • Mar 03 '24

What's the best Openstack distro for a low-effort but flexible deployment?

7 Upvotes

Serious question. No wrong answers.

I'm thinking of deploying a proto-cloud lab to develop my skills for an eventual datacenter deployment of Openstack for public cloud type services. I'd like to also run K8S on the cluster.

Those are my only constraints right now. One person and I'd like to retain maximum flexibility but set myself up for ease of maintenance.

I'm hoping some more experienced folks can offer their guidance.


r/openstack • • Feb 12 '24

How to deploy FC san storage in Kolla-ansible

7 Upvotes

Hi Team,

I Have an Hitachi G200 FC SAN storage and i want to integrate it with kolla-anisble openstack.

The thing is we dont have the ceph storage and the lvm storage as a cinder backend. We want to directly integrate the san in cinder using FC connection.

Can you please guide how to do that ?


r/openstack • • Feb 11 '24

How to create instances with GPU?

7 Upvotes

Hi all, I have installed Openstack using 3 different Ubuntu machines: one for the Controller, one for the Compute node and the last one to use as Block Storage.

For the installation I've used the official Openstack documentation and all went good (I'm able to create new instances and they are running even now while I'm writing this).

Now, I have 4 Nvidia GPUs on my compute node and I want to create a new instance that use one or all my gpus. I've done the GPU passthrough correctly (I say this because I've tried to create a VM with virt-manager and I can see the GPUs inside my VM after the passthorugh).

But when I try to follow the Openstack documentation for the creation of PCI alias, enable PCI Passthrough Filter, create a new flavor, etc. I'm not able to create any new instance with the new flavor that use GPUs (I receive the well known error 'No valid hosts available').

I think this is due to the fact that all 4 GPUs have the same vendorID and productID, but I create only 1 single alias instead of 4? I really don't know how to solve this.

Anyone has been in my situation before? How would you solve this type of problem?


r/openstack • • Feb 08 '24

Does anyone use Trove module to provide DBaaS service these days? If it is not a mature solution, what are the alternatives?

7 Upvotes

r/openstack • • Jan 30 '24

Looking for a Openstack Trainer.

7 Upvotes

Hello,

I am looking for a Technical Trainer to deliver in person and remote worldwide trainings on topics like Openstack, K8s and Linux.
I am representing a privately owned company with over 10 years of experience in the Open Source realm. You can find out about our contributions on https://github.com/cloudbase


r/openstack • • Aug 23 '23

Openstack Devops Tech Lead Opportunity

7 Upvotes

Hi Everyone, I am part of Pure Storages Talent Acquisition. I am currently working on a Openstack DevOps tech lead opportunity in the San Francisco Bay area and wanted to see if you or someone you know is open to this opportunity. Please feel free to inbox me if you are interested. Thanks!


r/openstack • • Jul 03 '23

Nvidia Uses OpenStack Swift Storage as Part of Its AI/ML Process

Thumbnail
thenewstack.io
7 Upvotes

r/openstack • • Jun 13 '23

does openstack support cpu or ram hot-add?

7 Upvotes

good morning,

can i hot add vcpu and vram to a running vm on openstack? does nova support it?

thank you.


r/openstack • • Jun 08 '23

nova vs cinder as boot volume

7 Upvotes

good morning,

any good reason to keep nova glance images as default boot, instead of using creating a new volume in cinder?

using cinder for me is good at all because i can cinder-backup volumes to external nfs, nova boot volumes can only snap and create a new image in glance...

thank you


r/openstack • • May 03 '23

Hyperconverged Infrastructure using OpenStack

7 Upvotes

Hey community,

I have been associated with OpenStack since past 7-8 years now and since past 2 years hearing a lot about hyper-converged infrastructure(HCI) related requirements from a lot of new client as well as existing companies providing public cloud services. I have read a lot of documentation related to HCI but haven't found any concrete implementation using the community version of OpenStack. Although, RedHat, Nutanix and VMWare have been advertising their integration with HCI.

What's your take on this? Has anyone been associated with HCI implementation with OpenStack? What are some of the implementation that can be case-studied.

I found this article to be the best open to explain the implementation side of things but I am looking for more -> https://thenewstack.io/openstack-and-ceph-for-distributed-hyperconverged-edge-deployments/


r/openstack • • Feb 20 '23

Building a self-service web app with OpenStack APIs

7 Upvotes

Hi!

I‘m currently evaluating possible solutions for a user friendly self-service panel as an addition to horizon.

Which option do you think would be the best in regards of time-to-market/customizability ratio?

  1. Develop a web app from scratch (using OpenStack APIs)

  2. Using Virtuozzo

  3. Develop a web app using no-code options like bubble.io, illa etc. (using OpenStack APIs)

  4. Customize/Develop Horizon to fit the needs

Or maybe it would be easier to build something based on the APIs of ManageIQ?


r/openstack • • Dec 30 '22

I created a small CLI tool for managing OpenStack configuration files

7 Upvotes

The project is hosted here: https://github.com/mchlumsky/mracek

Contributions (PRs, issues and even github stars!) are welcome!

(Don't forget to backup your current configs first!)


r/openstack • • Dec 16 '22

Reviving Platform Engineering Subreddit

7 Upvotes

Unsure if I already posted this here, but a friend and I have revived the /r/platformengineering subreddit. Feel free to check it out and post anything related to platform engineering. We are hoping to grow this community where people can support each other in their platform eng related endeavors.


r/openstack • • Dec 02 '22

Connect VM’s to one of the computes/network node network VLAN (bridge)

7 Upvotes

Hello everyone,

I am currently working with Kolla-ansible to install Openstack (master branch) using all-in-one. I successfully installed openstack with main components. Neutron is using openvswitch with DVR, it seems to be working very well (vm’s can reach public internet, floatingip on vm’s are accessible from outside, vm’s can reach each other on the same network). I now need to connect some specific VM’s to a specific VLAN.

My server have 2 network card with two ports each (eth2/eth3 (bond0) and eth0/eth1 (bond1).

I have created multiples vlans on bond1 to correctly separate the traffic for openstack services and bond0 is completely dedicated to provider network. In those vlans, I have one vlan (vlan10, 10.0.10.0/24) that I would like to connect to some vm’s in openstack.

How can I do that?

I tried multiple things:

  • removing eth1 from bond1, to create a second network provider but this time not for public, but private ip’s, it didnt worked.

  • creating one veth pair. One side on the snat of the network that the vms is connected on (using the namespace created by openstack) and the other side the the bridge used on my compute/network node where the vlan is tagged and enabling masquerade, but it also didnt worked.

  • countless desperate way of connecting them…

Maybe I miss implemented one of the solution I tried if it should have worked, please help me!


r/openstack • • Nov 14 '22

Summit - Vancouver'23 - The CFP is Open!

7 Upvotes

Join the global OpenInfra Community in Vancouver at the OpenInfra Summit 2023!

The CFP for the OpenInfra Summit Vancouver (June 13-15, 2022) in NOW LIVE! Check out the full list of tracks and submit a talk on your topic of expertise. 

We are also now accepting submissions for Forum sessions!

Register to collaborate directly with the people building and running open source infrastructure using Linux, OpenStack, Kubernetes and 30+ other technologies.

The generous support of our sponsors makes it possible for our community to gather, learn and build the future of open infrastructure. Having a presence at the Summit is a great way to get your company in front of the global OpenInfra community. Learn how to sponsor the Summit! 

The travel support program, discounted registration for students/non-profit/government workers and visa requests are now live!


r/openstack • • Oct 22 '22

Charmed Openstack - Nova-compute failures due to requiring Ceph?

7 Upvotes

I've made several iterations to try and build out Openstack using Juju, MAAS and a "charmed" Openstack installation (to more closely mimic what we have at work) and I've hit a significant roadblock.

Following the instructions here, the process wants me to install Ceph, but I don't want to use Ceph for block storage, instead wanting to use TrueNAS for iscsi mounts (here). Either way, I never get to TrueNAS setup as Ceph not being present causes Nova-Compute to never go ready in 'juju status'. Our work cluster uses NetApp for its storage backend.

Has anyone here successfully built a charmed Openstack cluster, or a charmed Openstack cluster without Ceph for block storage management (separate from Cinder, I believe Ceph is the storage backend for volumes).

The last time I built Openstack (Queens, lol), it was by manually installing the services and configuring a service node, then by building hypervisors that just ran nova-compute and cinder-volume. Now that Juju is the new hotness and we already have a cluster based on it (engineered by Canoncial), I'm trying to get the experience of putting one together so I know how it all works.

Thank you.


r/openstack • • May 14 '22

Barbican as a vault for Ansible, Terraform, and more

7 Upvotes

Long story short, I have at least three systems that I'd like to store secrets for.

  • Ansible

  • Terraform

  • Shared passwords [1] for systems.

We use OpenStack for nearly everything.

I've spent an hour playing with Barbican. I can store secrets from the command line, and retrieve them. Great!

Can I *use* Barbican to store Ansible/Terraform secrets - are there methods or libraries built to let me do this?

[1] Yes this is terrible but I'm stuck with it for now.


r/openstack • • May 07 '22

I've a couple of questions regarding building a homelab to play with

7 Upvotes

Hi all,

I've got three PowerEdge servers that I want to turn into a small cloud environment, and a collection of 2TB drives distributed among them. I've seen some documentation that said that the RAID controllers would be ok as long as I either set up the drives as a JBOD unit, or setup each drive as it's own RAID 0. Does that sound right?

Also, I currently have 8 drives in one machine, 4 in another, and 12 in the last. Is that alright, or should I distribute the drives evenly amongst the three servers? I'm very new to these cloud storage setups, and Ceph is quite a lot to read through.