r/openstack • u/przemekkuczynski • Jul 05 '24
CVE-2024-32498 - Arbitrary file access through custom QCOW2 external data
https://bugs.launchpad.net/nova/+bug/2059809
How did You fix this issue ?
Are there fixed Kolla images ?
r/openstack • u/przemekkuczynski • Jul 05 '24
https://bugs.launchpad.net/nova/+bug/2059809
How did You fix this issue ?
Are there fixed Kolla images ?
r/openstack • u/Kernel_Mustard_ • Jul 05 '24
I have an Openstack (yoga) cluster that was installed using kolla-ansible version 14.1.0.
I have succesfully set up OpenIDC federation to connect using ADFS in Horizon. To do that I had to make a couple adjustments to the kolla setup :
ansible/roles/horizon/templates/local_settings.j2 to correct the keystone URL as suggested by this commentansible/roles/keystone/templates/wsgi-keystone.conf.j2 and add the line OIDCResponseMode form_postso that ADFS sends the custom claims in the token.After changing those settings I had the federation working as intended.
Now I'm trying to set up external TLS and I've run into problems.
mod_auth_oidc module where the parameters target_link_uri and redirect uri were mismatched, one being in http and the other in https, I found a resolution for this here in the mod_auth_openidc docs, which was to add the option OIDCXForwardedHeaders X-Forwarded-Host X-Forwarded-Port X-Forwarded-Proto in the wsgi-keystone.conffileI've searched for logs about this error but I can't seem to find anything. I am intrigued that everything works in http but with https this problem appears.
Does anyone have experience with this issue or is familiar with ADFS federation?
r/openstack • u/TN_NETERO • Jul 04 '24

Hi guys ,
so I'm working on installing Openstack using Kolla - Ansible on Hyper-V manager Vms for a production test env , where I will have 2 controller nodes (one of them is the deployer) and 3 compute nodes , I'm gona deploy a Ceph cluster too , I m kinda confused about the network architecture I couldn't find a well explained documentation and I really need help, I m thinking about an interface (external / bridged ) that has a static ip in the deployer so Horizon can be accessed from outside it will be for example eth0 so in gloabals.yml kolla_external_vip_address: "the static ip configured" and network_interface: "eth0" this interface will be only in the deployer node , and another network interface for example eth1( same external/bridged) the one that must not have an IP assigned so neutron_external_interface: "eth1" , an interface for example eth2 that will be internal/host-only with a static ip for the kolla_internal_vip_address : ( static configured ip ) , and an interface NAT/default eth3 for the Ceph cluster , so in total i will have :
I m still new with kolla ansible i made before a simple deployment all-in-one with a simple SSL/TLS communication that kolla ansible certif provide and i made a source Openstack installation service by service , but now i need comprehensive architecture ,even the ceph deployment is new to me.
so if you can provide me with an explanation or a doc /guide , i m so grateful for your help and thank you so much!! :) .
r/openstack • u/Choghondarr • Jul 03 '24
r/openstack • u/Temporary_Expert_478 • Jul 02 '24
Hello,
Trying to deploy microstack using the guided approach. I have got to the point where its trying to deploy the openstack control plane. All of the pods have the ImagePullBackoff error except for modeloperator and certificate-authority.
Any idea where it is pulling these images from or what could be done to fix this issue?
r/openstack • u/Tiny-Researcher1679 • Jul 01 '24
I am new to Openstack, so I am hoping someone can help me. I have been working on deploying kolla-ansible Openstack (stable/2023.2) on Google Cloud using Rocky9 image. Everything worked great except for networking. I can ping the vm from the network namespace, but I can't ping it via floating ip from the host. Here are my configurations.
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1460 qdisc mq state UP mode DEFAULT group default qlen 1000
link/ether 42:01:0a:80:00:19 brd ff:ff:ff:ff:ff:ff
altname enp0s4
altname ens4
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1460 qdisc mq master ovs-system state UP mode DEFAULT group default qlen 1000
link/ether 42:01:ac:10:01:0f brd ff:ff:ff:ff:ff:ff
altname enp0s5
altname ens5
4: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether de:72:c8:ff:c6:42 brd ff:ff:ff:ff:ff:ff
5: br-ex: <BROADCAST,MULTICAST> mtu 1460 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 9e:57:11:a8:bf:4c brd ff:ff:ff:ff:ff:ff
6: br-int: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether fe:06:c9:eb:66:47 brd ff:ff:ff:ff:ff:ff
7: br-tun: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether d6:33:e3:3b:77:4d brd ff:ff:ff:ff:ff:ffdefault via 10.128.0.1 dev eth0 proto dhcp src 10.128.0.25 metric 100
10.128.0.0/20 via 10.128.0.1 dev eth0 proto dhcp src 10.128.0.25 metric 100
10.128.0.1 dev eth0 proto dhcp scope link src 10.128.0.25 metric 100
172.16.1.0/24 via 172.16.1.1 dev eth1 proto static
172.16.1.0/24 via 172.16.1.1 dev eth1 proto dhcp src 172.16.1.15 metric 101
172.16.1.1 dev eth1 scope link
172.16.1.1 dev eth1 proto dhcp scope link src 172.16.1.15 metric 101kolla_base_distro: "rocky"
network_interface: "eth0"
neutron_external_interface: "eth1"
kolla_internal_vip_address: "10.128.0.25"
enable_haproxy: "no"
nova_compute_virt_type: "qemu"
enable_neutron_provider_networks: "yes"b94cfa77-2c14-4bed-926f-39aeb1ca5267
Manager "ptcp:6640:127.0.0.1"
is_connected: true
Bridge br-tun
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
datapath_type: system
Port patch-int
Interface patch-int
type: patch
options: {peer=patch-tun}
Port br-tun
Interface br-tun
type: internal
Bridge br-ex
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
datapath_type: system
Port eth1
Interface eth1
Port br-ex
Interface br-ex
type: internal
Port phy-br-ex
Interface phy-br-ex
type: patch
options: {peer=int-br-ex}
Bridge br-int
Controller "tcp:127.0.0.1:6633"
is_connected: true
fail_mode: secure
datapath_type: system
Port qg-4b5c87f0-47
tag: 2
Interface qg-4b5c87f0-47
type: internal
Port tapa0a0695a-3a
tag: 1
Interface tapa0a0695a-3a
type: internal
Port patch-tun
Interface patch-tun
type: patch
options: {peer=patch-int}
Port br-int
Interface br-int
type: internal
Port qr-74e048eb-c9
tag: 1
Interface qr-74e048eb-c9
type: internal
Port int-br-ex
Interface int-br-ex
type: patch
options: {peer=phy-br-ex}



NAME UUID TYPE DEVICE
Wired connection 1 8a1fdd83-a1ca-39db-b325-0bc0fd2099f4 ethernet eth0
Wired connection 2 96d01aa3-5fe4-3225-a30c-34ead434805b ethernet eth1
lo e7ab3a41-0182-4f12-b1c8-4b44aeb8d1e2 loopback lo
tap47bdcb10-90 edb4b4fd-b0fa-48c4-a8bc-44fdac9e603c tun tap47bdcb10-90
qbr47bdcb10-90 befbb09e-7d58-4ace-b960-0658af17e2a7 bridge qbr47bdcb10-90
ens4 b2951b75-c261-49f7-985a-71ac1f1753ae ethernet --
qrouter-3b72572d-577c-47be-8d0a-655bbe51aef5 (id: 1)
qdhcp-8f066147-b9ef-47ed-bde7-4a0f01a970c5 (id: 0)(stack) [louisle@openstack ~]$ ping -c 4 10.0.2.175
PING 10.0.2.175 (10.0.2.175) 56(84) bytes of data.
--- 10.0.2.175 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3079ms(stack) [louisle@openstack ~]$ sudo ip netns exec qrouter-3b72572d-577c-47be-8d0a-655bbe51aef5 ping -c 4 10.0.2.175
PING 10.0.2.175 (10.0.2.175) 56(84) bytes of data.
64 bytes from 10.0.2.175: icmp_seq=1 ttl=64 time=2.92 ms
64 bytes from 10.0.2.175: icmp_seq=2 ttl=64 time=0.797 ms
64 bytes from 10.0.2.175: icmp_seq=3 ttl=64 time=0.849 ms
64 bytes from 10.0.2.175: icmp_seq=4 ttl=64 time=0.761 ms
--- 10.0.2.175 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3038ms
rtt min/avg/max/mdev = 0.761/1.332/2.922/0.918 msr/openstack • u/ImpossibleCoyote5185 • Jul 01 '24
Do you have any recommendations for interactive or hands-on resources that make learning OpenStack fun and engaging? I'm looking for ways to keep the experience dynamic and enjoyable. Any tips or suggestions would be greatly appreciated!
r/openstack • u/Hfjqpowfjpq • Jun 29 '24
Does anybody know a good guide to deploy a kayobe installation on a multitude cluster? I have been able to find only all-in-one installations
r/openstack • u/openstacker • Jun 28 '24
I've been building and working exclusively with Red Hat OpenStack Platform so far, so it's all Tripleo (haven't gotten to the new rhosp-18 beta which is ocp based containers for the director/services).
I have always referred to the system where I run the undercloud containerized services as the "director". I know "director" is sometimes also used to refer to those services specifically, i.e. someone said "restart the director" and their intent was to restart all the tripleo container services on the node, not reboot the node itself. It has caused some confusion with others a few times.
Is there a clear delineation on the terms and purposes? Am I speaking 'wrongly' and confusing others? :laugh:
r/openstack • u/clx8989 • Jun 27 '24
Hello everyone,
I have a home lab with external ceph and a fresh reinstall of OpenStack 2024.1 with kolla-ansible. What I was wondering for the sake of learning is it possible to use the operating systems images left from the old installation of OpenStack ? The images are in the glance's pool, so basically is there a way to add them to the OpenStack catalogue ?
Thanks
r/openstack • u/JazzlikeGanache6448 • Jun 27 '24
My local cloud provider is migrating to a new location and we are setting up our infrastructure there. They use OpenStack.
After I installed 2 instances, I notice that when i resolve the hostname of the other instance, the hostname get resolved to the internal ip address, but i never used the internal ip address anywhere. Somehow, the DNS response seems to get changed by something.
Lets call then server1 and server2. When i'm in server1, and try to dig server2, i get the following response:
[root@server1 ~]# dig +noedns server2 u/8.8.8.8
; <<>> DiG 9.11.36-RedHat-9.11.36-14.el8_10 <<>> +noedns server2 u/8.8.8.8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38557
;; flags: qr rd ad; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;server2. IN A
;; ANSWER SECTION:
server2. 3600 IN A 10.0.0.233
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Wed Jun 26 08:30:35 -03 2024
;; MSG SIZE rcvd: 72
When i ask the same question in a server outside their cloud, i get the correct response:
[root@localhost ~]# dig server2 u/8.8.8.8
; <<>> DiG 9.11.36-RedHat-9.11.36-14.el8_10 <<>> server2 u/8.8.8.8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52205
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;server2. IN A
;; ANSWER SECTION:
server2. 600 IN A 201.xxx.xxx.xxx
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Wed Jun 26 07:25:46 EDT 2024
;; MSG SIZE rcvd: 64
Some thing i noticed:
I already tried my local cloud provider support, but they dont recognize the problem.
What could be the culprit here?
Thanks!
r/openstack • u/przemekkuczynski • Jun 26 '24
What mechanism do You use to assign Windows VM to Host (Windows license)
Is Availability zone with Windows Aggregate is ok ( AggregateImagePropertiesIsolation ) or better use another filter ? https://docs.openstack.org/nova/latest/admin/scheduling.html
r/openstack • u/Pethron • Jun 21 '24
Hello, I'm experimenting with OpenStack (and MicroStack for deployment ease) to teach Cloud Computing classes in university.
In the last 6 years I went with AWS, but it required them to setup a personal account and I'm trying to find new ways, since I want them to experiment also the gritty elements of Cloud Computing (networking, storage, etc...). Also, since I want my students to be able to experiment freely, without the risk to be charged hundreds of dollars, I began to look into OpenStack.
The aim of my classes would be to see the full spectrum and evolution of the computing part (VMs, containers, and serverless), storage (block storage, object storage), databases (sql/nosql), load-balancing, auto-scaling and deployments.
So, ideally, in my OpenStack installation I would be able to:
This year I want to experiment on the point that there are a lot of moving parts in cloud and it's something really hard to be done at scale, but experiencing it first-hand. Ideally I would like to showcase them the setup and for them to replicate it on their laptop, but seeing the requirements for MicroStack I don't think it's feasible.
In this scenario do you think:
I tried to find something online but didn't really find anything. Any help and suggestion would be incredibly appreciated.
r/openstack • u/firestorm_v1 • Jun 20 '24
In the process of troubleshooting my WAN port issue in another post, I decided to work on getting some more room in my glance unit's storage to match what the production cluster is doing. The production cluster mounts /var/lib/glance/images using NFS to a NetApp export (as defined in fstab) for more storage than the juju unit can provide. I noticed last night that in my MAAS/Juju testbed, that I can't run mount or dmesg as root and there's no fstab to edit to create the entry to auto-mount on instance boot.
Thinking that mount was being rejected by the NetApp, I built a NFS server instance and tested this from the MAAS instance and the NFS export mounted with no issue. I was able to make files, delete files, etc in the NFS mount as expected. When I try the same commands in the glance instance against the same test NFS server, I get a very generic "Operation not permitted" and because dmesg is locked out, I can't see if anything interesting shows up in the dmesg kernel log. I've tried searching online for a solution, but the the only thing I've found is a "wont-fix" bug about dmesg not working.
Juju glance version 24.2.1 from channel yoga/stable, revision 612.
Any ideas on how I can get mount working to expand the image datastore?
r/openstack • u/firestorm_v1 • Jun 19 '24
Newly setup Openstack Yoga test environment using Juju, MAAS, and a NetApp controller for volumes. Instance networking is the only thing I'm having a problem with.
I've got a non-admin project called "test" with an internal network called "test_internal" and subnet called "internal_subnet" which is a 192.168.1.x/24 network. I've created a test_router attached to external_network (10.0.200.x/24) and attached to internal_subnet as 192.168.0.1 acting as the default gateway for that subnet.
Instances attached to the internal_subnet get an IP address and can communicate amongst each other as expected but they have no Internet access. They can ping the gateway address. Instances attached to external_network get a 10.0.200.x IP address and can get to the Internet as expected.
I set up a minimal installation of Debian 10 in an instance and attached both internal and external subnets to the instance and configured it to be a simple iptables router. Once iptables loaded, the internal instances had external network and Internet access.
Since this is a test environment for me only, there's only one security group and it's completely wide open. I've reviewed the networking setup part of the Openstack Yoga guide and can't figure out what's going on with the router.
Any ideas or suggestions??
r/openstack • u/vohocode • Jun 18 '24
Hi everyone
I have setup my Openstack using Kolla and now I need to connect horizon dashboard to keycloak, OpenStack docs don't guide me very well if anyone has experience with this I would appreciate it.
r/openstack • u/przemekkuczynski • Jun 18 '24
What's the difference between Firewall-as-a-Service (FWaaS) v2 and OVN security groups / rules implementation with OVN ?
OVN uses api endpoints
https://xxx :9696/v2.0/security-groups/
https://xxx :9696/v2.0/security-group-rules
FWaaSv2
/v2.0/fwaas/firewall_groups
/v2.0/fwaas/firewall_rules
There is information Firewall v2 has no support for OVN currently.
https://docs.openstack.org/neutron/latest/admin/fwaas-v2-scenario.html
r/openstack • u/darac000 • Jun 18 '24
Hello, I'm new to openstack rdo.
When i try to share security group from project1 to project2 using rbac I can't create instance in project2 using that shared security group, not even if i create port with shared security group and put it on instance in project2(instance created but error when starting).
If I use no shared security group it works.
Any help? Ty in advance
r/openstack • u/memexaothitcho • Jun 17 '24
Hi everyone I'm deploying openstack and during deploying I encountered a problem
TASK [service-ks-register : keystone | Creating services] **************************************************************************
FAILED - RETRYING: [controller1]: keystone | Creating services (5 retries left).
FAILED - RETRYING: [controller1]: keystone | Creating services (4 retries left).
FAILED - RETRYING: [controller1]: keystone | Creating services (3 retries left).
FAILED - RETRYING: [controller1]: keystone | Creating services (2 retries left).
FAILED - RETRYING: [controller1]: keystone | Creating services (1 retries left).
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: OSError: Could not find a suitable
TLS CA certificate bundle, invalid path: /etc/ssl/certs/ca-certificates.crt
I don't know what really happened. I have ca-certificates.crt and I also generated certificates for ansible services
Here is my globals.yml file: https://snips.sh/f/DKUgvWPlB3
r/openstack • u/EbbApprehensive3284 • Jun 17 '24
Hi everyone,
I'm currently building a lab for OpenStack and looking to use VXLAN as the L2 protocol. However, I don't have a VXLAN switch at the moment. My top of rack switch is an EX4300, which is handling L3 for VLANs.
I came across this YouTube video discussing various networking options for OpenStack, and one interesting option is using server-based VXLAN
https://youtu.be/pnI36O192Tg?si=fO3nFidv8AHOgyin
From what I understand, using OpenVSwitch, servers can act as the VTEPs and connect to the top of rack switch via an L3 routed interface. You can then run a routing protocol suite like Free Range Routing on the servers to set up and exchange routes with the switch.
The video explains some concepts, but I need more guidance to put it all together. What should I focus on learning to make this work?
Thanks!
r/openstack • u/Hfjqpowfjpq • Jun 14 '24
Hello, i have a Kolla-ansible deployment successfully deployed. I am trying to link the Prometheus-OpenStack-exporter to Grafana but can't seem to make it work. I saw on Prometheus that the service is available and ready on http://openstackinternal:9198/metrics but when i try to insert it as a data source in Grafana i receive the following:
ReadObject: expect { or , or } or n, but found <, error found in #1 byte of ...|<html lang=|..., bigger context ...|<html lang="en"> <head> <meta charset="UTF-8"|... - There was an error returned querying the Prometheus API.
If I curl the http://openstackinternal:9198/metrics from my controller i receive a response.
EDIT: The exporter was working as intended. The problem was the dashboard that was not working. The data source was already preconfigured thx to Kolla
r/openstack • u/openstacker • Jun 13 '24
I am helping dev with an RHOSP 16.1 stack that was built by a former team member. Single controller, 2x compute nodes. No ceph storage nodes.
I have no idea how to identify the Cinder backend provider. Can someone point me in the right direction? I've reviewed all of the overcloud delpoyment yaml files and the cinder command, no joy. Am I missing something?
TYVM!
r/openstack • u/firestorm_v1 • Jun 13 '24
The short of it is that I've installed a MAAS server in Openstack on a private network/subnet and disabled DHCP on it from Openstack's perspective. The MAAS server and the instance(s) I want to PXE boot from MAAS are all located on a private subnet that is constrained to my private project. Openstack managed DHCP is disabled on the subnet with the intent that MAAS would be providing DHCP.
Running tcpdump on my MAAS instance on the private network's interface (ens8), I can see that cirros is sending out the DHCPDISCOVER packet, and MAAS is responding with a DHCPOFFER, but the cirros instance doesn't receive it. If I wait and let cirros finish booting (timeout waiting for DHCP), I can use 'udhcpc -B -i eth0' to pull an IP address and it works successfully. If I just run 'udhcpc -i eth0', cirros never receives an IP address despite MAAS sending DHCPOFFERs. Additionally, using the iPXE iso to boot another instance results in the same thing, the iPXE software sends DHCPDISCOVER, I see MAAS returning DHCPOFFERs but iPXE times out.
I've checked the security group on all the private subnet interfaces for MAAS, cirros, and iPXE and the security group is wide open allowing all ingress and egress for the associated interfaces. Thinking it was a port security issue, I've tried disabling port security on the MAAS instance's private network interface which produced no change. I've tried disabling port security on the cirros instance's private network interface with no changes, tried disabling port security on both, to no result. Port security was restored after these tests produced no results. I've even migrated the cirros instance to the same hypervisor node as the MAAS instance thinking that maybe the bridge isn't sending all of the traffic across, but this too did not produce any change.
I'll admit that I've never tried something like this before, I've always thought that putting two instances on the same private network/subnet was akin to plugging two computers into the same 'dumb' switch from a networking perspective. Then again, this is the first time I've tried to run a DHCP server inside a private subnet.
Any suggestions?
r/openstack • u/Practical_Ad_1856 • Jun 11 '24
# ====================================================
# Installation procedure
# ====================================================
I have performed the following deployment procedure:
*** Host with Rocky 9.2 ***
-- Updating the server and installing the dependencies --
$ dnf update
$ dnf install python3-devel libffi-devel gcc openssl-devel
$ dnf install python3-pip
$ useradd kolla -m -s /bin/bash
-- Creating Kolla user --
$ vim /etc/sudoers.d/kolla
+ kolla ALL=(ALL) NOPASSWD: ALL
$ su - kolla
-- Installing kolla-ansible --
$ pip3 install -U pip
$ pip3 install ansible
$ pip3 install kolla-ansible
$ kolla-ansible install-deps
$ sudo mkdir -p /etc/kolla
$ sudo chown $USER:$USER /etc/kolla
$ cp -r /home/kolla/.local/share/kolla-ansible/etc_examples/kolla/* /etc/kolla
$ cp /home/kolla/.local/share/kolla-ansible/ansible/inventory/* .
-- Generating passwords --
$ kolla-genpwd
-- Configuring Global.yml --
$ vim /etc/kolla/globals.yml
workaround_ansible_issue_8743: yes
kolla_base_distro: "rocky"
kolla_install_type: "source"
kolla_internal_vip_address: "10.130.7.249"
kolla_container_engine: docker
network_interface: "brkolla"
neutron_external_interface: "veth1"
neutron_plugin_agent: "openvswitch"
neutron_type_drivers: 'flat,vlan,vxlan'
neutron_tenant_network_types: 'vxlan,vlan'
neutron_network_vlan_ranges: 'physnet1:500:600'
enable_heat: "yes"
enable_neutron_provider_networks: "yes"
nova_compute_virt_type: "kvm"
enable_neutron_qos: "yes"
enable_openstack_core: "yes"
-- Deploying Kolla --
$ kolla-ansible -i all-in-one bootstrap-servers
$ kolla-ansible -i all-in-one prechecks
$ kolla-ansible -i all-in-one deploy
$ kolla-ansible -i all-in-one post-deploy
$ kolla-ansible -i all-in-one check
-- Configuring cirros with 10.51
$ openstack network create --provider-network-type vlan --provider-segment 527 --provider-physical-network physnet1 my-vlan-net
$ openstack subnet create --network my-vlan-net --subnet-range 10.51.0.0/19 --gateway 10.51.31.254 --dns-nameserver 8.8.8.8 my-vlan-subnet
$ openstack port create --network my-vlan-net --fixed-ip subnet=my-vlan-subnet,ip-address=10.51.0.240 my-vlan-port
$ openstack server add port 4d788a88-07a3-4096-9ca5-c5241995dd5b my-vlan-port
-- Configuring shared interface
we have a generic 10.0 management network which in this example we have set to 10.130 with the brkolla bridge.
https://docs.openstack.org/kolla-ansible/latest/reference/networking/neutron.html#example-shared-interface
"One solution to this issue is to use an intermediate Linux bridge and virtual Ethernet pair"
eth0 - brkolla - veth0 - veth1
# ====================================================
# Networks
# ====================================================
We are trying to configure MV with vlanes deleting L3 from OpenStack
--- General scheme ---
VPN --> Host Openstack -> MV cirros deployed on host Openstack
-- VPN --
Adding route to reach MV:
$ sudo ip route add 10.51.0.0/19 via 10.8.0.54 dev tun0 proto static metric 50
-- Host Openstack --
[root@node0704-1 ~]# ip -br a
lo UNKNOWN 127.0.0.1/8 ::1/128
eth0 UP
eth1 UP
ib0 UP
brkolla UP 10.130.7.13/19 10.130.7.249/32 fe80::8663:d4e7:e1e9:8886/64
brmgmt UP 10.0.7.13/19 fe80::b457:99b9:744f:6d7d/64
brstorage UP 10.131.7.13/19 fe80::781d:72e8:8594:4ee2/64
eth0.546@eth0 UP
ovs-system DOWN
br-ex DOWN
br-int DOWN
br-tun DOWN
veth1@veth0 UP
veth0@veth1 UP
qbre38b5f34-77 UP
qvoe38b5f34-77@qvbe38b5f34-77 UP fe80::1c7a:d9ff:fe98:3ea6/64
qvbe38b5f34-77@qvoe38b5f34-77 UP fe80::e0ec:26ff:fe48:4e03/64
tape38b5f34-77 UNKNOWN fe80::fc16:3eff:fedf:e541/64
eth0.527@veth0 UP fe80::48c2:30ff:fe7d:745f/64
[root@node0704-1 ~]# ip r
default via 10.130.31.254 dev brkolla
10.0.0.0/19 dev brmgmt proto kernel scope link src 10.0.7.13 metric 426
10.130.0.0/19 dev brkolla proto kernel scope link src 10.130.7.13 metric 425
10.131.0.0/19 dev brstorage proto kernel scope link src 10.131.7.13 metric 427
-- MV cirros --
$ eth0 with 10.51.0.7
# ====================================================
# ml2_conf.ini
# ====================================================
[root@node0704-1 neutron-server]# cat ml2_conf.ini
[ml2]
type_drivers = flat,vlan,vxlan
tenant_network_types = vxlan,vlan
mechanism_drivers = openvswitch,l2population
extension_drivers = qos,port_security
[ml2_type_vlan]
network_vlan_ranges = physnet1:500:600
[ml2_type_flat]
flat_networks = physnet1
[ml2_type_vxlan]
vni_ranges = 1:1000
[ovs]
bridge_mappings = physnet1:br-physnet1
Any recommendation to fix the problem? thanks in advance))