[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-8401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14512142#comment-14512142
 ] 

ASF subversion and git services commented on CLOUDSTACK-8401:
-------------------------------------------------------------

Commit 840c0a0974966d75e60a98fbbf88bf4e9bf0c761 in cloudstack's branch 
refs/heads/master from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=840c0a0 ]

CLOUDSTACK-8401: Fix KVM's SG script to properly cleanup old network rules

- Router VMs don't have a chain rule with -def suffix, this fixes name and
  properly removes VR vms not running on a host
- Before trying to remove dnats, filter empty/None elements from list
- destroy_ebtables_rules should check what kind of action is request to be
  performed (-A for add or -D for removed) and execute based on that
- Before executing any command, log it for debugging purposes
- Method to cleanup bridge, may be used in future

Signed-off-by: Rohit Yadav <rohit.ya...@shapeblue.com>
(cherry picked from commit 39255121154cca214328e93093db65f968b8c9f8)
Signed-off-by: Rohit Yadav <rohit.ya...@shapeblue.com>


> SG rules don't get properly cleaned up on KVM
> ---------------------------------------------
>
>                 Key: CLOUDSTACK-8401
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8401
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: KVM
>    Affects Versions: 4.5.0, 4.4.3
>            Reporter: Rohit Yadav
>            Assignee: Rohit Yadav
>             Fix For: 4.6.0, 4.5.1
>
>
> Security groups (iptables and ebtable rules) rules don't get cleaned up 
> properly because the security_group.py file fails to remove using correct 
> chain name.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to