Skip to content

[Bug] Bridge/Vnets visibility #385

@maxilee

Description

@maxilee

Describe the bug

On resource - VM , when I want to reconfigure bridge to which VM is connected , on legacy PVE interface I can only choose "vmbr1" and this is good ...

on pegaprox Ican choose "vmbr1" , "mgmt" , "iscsi208" , "iscsi209".

I'm using openVswitch as network backend.

as you can see mgmt, iscsi208 and iscsi209 are not bridges.
they are "access" port in VLANs for mgmt and iscsi traffic for host ...

only vmbr1 should be visible on list to connect VM to it.

Steps to Reproduce

  1. default instalation of PVE.
  2. install and configure openVswitch
  3. example /etc/network/interfaces:
auto lo
iface lo inet loopback

auto enp1s0f1
iface enp1s0f1 inet manual
        mtu 9000

auto enp1s0f0
iface enp1s0f0 inet manual
        mtu 9000


auto mgmt
iface mgmt inet static
        address 10.237.54.52/24
        gateway 10.237.54.254
        ovs_type OVSIntPort
        ovs_bridge vmbr1
        ovs_options tag=237
        mtu 9000


auto iscsi208
iface iscsi208 inet static
        address 10.208.54.52/24
        ovs_type OVSIntPort
        ovs_bridge vmbr1
        ovs_options tag=208
        mtu 9000


auto iscsi209
iface iscsi209 inet static
        address 10.209.54.52/24
        ovs_type OVSIntPort
        ovs_bridge vmbr1
        ovs_options tag=209
        mtu 9000


auto bond0
iface bond0 inet manual
        ovs_bonds enp1s0f0 enp1s0f1
        ovs_type OVSBond
        ovs_bridge vmbr1
        ovs_options bond_mode=balance-slb
        mtu 9000


auto vmbr1
iface vmbr1 inet manual
        ovs_type OVSBridge
        ovs_ports bond0 mgmt iscsi208 iscsi209
        mtu 9000


## Expected behavior
<!-- What should happen instead? -->
only vmbr1 should be visible on list to connect VM to it.

## Environment
- **PegaProx Version: 0.9.9.2
- **Installation Method: doesn't metter 
- **OS: appliance 
- **Browser: firefox 150
- **Behind Reverse Proxy? no
- **UI  Corporate 

## Checklist
- [x] I have searched existing issues to make sure this is not a duplicate
- [x] I am using the latest version of PegaProx

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions