Skip to content

Security Group VM members unable to sync with OpenStack #632

@pravinrajr9

Description

@pravinrajr9

Description

Security Group VM Member is not able to sync with OpenStack.
When a Security group is created with one or more VMs and when the VM is deleted through OpenStack Horizon, this should decrement the No of VM members count in Security group. The sync functionality passes and also fails. This Happens only with OpenStack Pike Version.

Expected Behavior

The Security Group VM member should be deleted.
In the Task SecurityGroupCheckMetaTask, SecurityGroupMemberDeleteTask function should be called
image

Actual Behavior

The Security Group VM member port is deleted, VM member is not deleted.
In the Task SecurityGroupCheckMetaTask, SecurityGroupMemberVmUpdateTask function is called.
image

Steps to Reproduce

  1. Create VC with NSC as plugin
  2. Create SG with any no of VMs
  3. Go to OpenStack Horizon and delete the same VM
  4. Check the Security group VM member count
    To reproduce the bug, create SG with more than one VM, and repeat step 3 multiple times until the bug is found

Additional Information

Workaround manually click sync button in Security group panel, the VM member count is updated.

Environment

  • OSC Version/Build: Version: 0.8.0 (Build:1-g62f2b90, 2017-12-01T19:51:38Z)
  • Cloud Provider Info:
  • Plugin Info: NSC SDN Plugin
  • Other: OpenStack Version: OpenStack Pike

Status

  • Reproduced
  • In Progress
  • Validated => Verified in Version/Build:

ServerSupportBundle (10).zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions