Skip to content

Failed to add NIC to VM concurrently #5499

Description

@div8cn
ISSUE TYPE
  • Bug Report
COMPONENT NAME
NIC
CLOUDSTACK VERSION
4.15.0.0
CONFIGURATION
OS / ENVIRONMENT
SUMMARY

Add multiple ShareNetwork to VM at the same time, only the first job can execute successfully;

All subsequent addition of nic job shows that the execution is successful, but it is not actually added to the VM NICS

STEPS TO REPRODUCE
1. create l3 sharenetwork,name=L3-network-01
2. create l3 sharenetwork,name=L3-network-02
3. create l3 sharenetwork,name=L3-network-03
4. deploy vm use L3-network-01, VM NAME=VM1
5. wait for vm status = RUNNING
6. use api addNicToVirtualMachine to add L3-network-02 and L3-network-03 to VM1 (concurrently)
EXPECTED RESULTS
Add L3-network-02 to VM1 task execution successfully.
Add L3-network-02 to VM1 task execution successfully.

VM1 has 3 networks (L3-network-01, L3-network-02, L3-network-03)
ACTUAL RESULTS
Add L3-network-02 to VM1 job and return success.
Add L3-network-03 to VM1job and return success.

VM1 has a total of 2 network (L3-network-01, L3-network-02)

There is no network L3-network-03 in VM(VM1)->NICS, but the task shows that the addition is successful.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions