Hi
I am trying to create an test proxmox cluster on openstack. It is going rather well until the part where I want the VM-s to access the network.
In Openstack I have added a port with an IP to my proxmox hosts and also modifed allowed_addresses parameter, where Ive defined some IP-s for test vm-s that are also allowed in that environment.
In the proxmox I have two different NIC-s/port configured. One for backend and the other for communicating with the rest of the network.
My /etc/network/interfaces looks like this.
The ens4 is just for backend traffic. The ens3 is what is important.
Because the underlying port in openstack is not a trunk port in essence, i've made the ovsbr0 with ens3 and added an IP there.
Now when I create an VM the network I attach or use is ovsbr0. Should I also make an vlan there or not? Because the underyling port is not tagged, it might not transmit through it.
Also the ovs-vsctl shows an error i have not seen before.
I am trying to create an test proxmox cluster on openstack. It is going rather well until the part where I want the VM-s to access the network.
In Openstack I have added a port with an IP to my proxmox hosts and also modifed allowed_addresses parameter, where Ive defined some IP-s for test vm-s that are also allowed in that environment.
In the proxmox I have two different NIC-s/port configured. One for backend and the other for communicating with the rest of the network.
My /etc/network/interfaces looks like this.
Code:
# Ansible managed
# Any changes made here will be lost
auto lo
iface lo inet loopback
########## Network Interfaces
auto ens3
iface ens3 inet manual
auto ens4
iface ens4 inet static
address 10.210.0.199
netmask 255.255.254.0
mtu 1442
up ip route add 10.210.0.0/23 via 10.210.0.1
########## End of Network Interfaces
########## OVS Bridges
auto ovsbr0
iface ovsbr0 inet manual
ovs_type OVSBridge
ovs_ports ens3
########## End of OVS Bridges
########## OVS Interfaces
auto ens3
iface ens3 inet static
address 192.168.18.151
netmask 255.255.255.0
gateway 192.168.18.1
ovs_bridge ovsbr0
ovs_type OVSIntPort
The ens4 is just for backend traffic. The ens3 is what is important.
Because the underlying port in openstack is not a trunk port in essence, i've made the ovsbr0 with ens3 and added an IP there.
Now when I create an VM the network I attach or use is ovsbr0. Should I also make an vlan there or not? Because the underyling port is not tagged, it might not transmit through it.
Code:
root@proxmox-test-01:.../ssh# ovs-vsctl show
efa7369b-1630-4fff-a894-5fb32e48f554
Bridge ovsbr0
Port tap100i0
Interface tap100i0
Port ovsbr0
Interface ovsbr0
type: internal
Port ens3
Interface ens3
type: internal
error: "could not add network device ens3 to ofproto (File exists)"
ovs_version: "3.1.0"
Also the ovs-vsctl shows an error i have not seen before.