Skip to content

Error while remove vxlan on kvm hosts in ACS 4.16 #5077

@weizhouapache

Description

@weizhouapache

When tested cloudstack with vxlan on kvm hosts, got an error when the last vm/vr is stopped on a kvm host.

2021-06-04 16:17:40,653 DEBUG [kvm.resource.BridgeVifDriver] (agentRequest-Handler-1:null) (logid:c04632d6) Executing: /usr/share/cloudstack-common/scripts/vm/network/vnet/modifyvxlan.sh -o delete -v 1001 -p vx -b brvx-1001 -d true 
2021-06-04 16:17:40,653 DEBUG [kvm.resource.BridgeVifDriver] (agentRequest-Handler-1:null) (logid:c04632d6) Executing while with timeout : 1800000
2021-06-04 16:17:40,656 DEBUG [kvm.resource.BridgeVifDriver] (agentRequest-Handler-1:null) (logid:c04632d6) Exit value is 2
2021-06-04 16:17:40,657 DEBUG [kvm.resource.BridgeVifDriver] (agentRequest-Handler-1:null) (logid:c04632d6) /usr/share/cloudstack-common/scripts/vm/network/vnet/modifyvxlan.sh: illegal option -- dUsage: /usr/share/cloudstack-common/scripts/vm/network/vnet/modifyvxlan.sh: -o <op>(add | delete) -v <vxlan id> -p <pif> -b <bridge name> (-6)
2021-06-04 16:17:40,657 DEBUG [kvm.resource.BridgeVifDriver] (agentRequest-Handler-1:null) (logid:c04632d6) Delete bridge brvx-1001 failed: /usr/share/cloudstack-common/scripts/vm/network/vnet/modifyvxlan.sh: illegal option -- dUsage: /usr/share/cloudstack-common/scripts/vm/network/vnet/modifyvxlan.sh: -o <op>(add | delete) -v <vxlan id> -p <pif> -b <bridge name> (-6)

The vxlan info are not removed (see bridge fdb)

ISSUE TYPE
  • Bug Report
COMPONENT NAME
Networking
CLOUDSTACK VERSION
4.16.0.0
CONFIGURATION
OS / ENVIRONMENT

kvm

SUMMARY
STEPS TO REPRODUCE

EXPECTED RESULTS

ACTUAL RESULTS

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions