Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disassociate/change a security group from a Virtual Machine's NIC #5612

Closed
7 tasks
larshith opened this issue Nov 16, 2021 · 4 comments
Closed
7 tasks

Disassociate/change a security group from a Virtual Machine's NIC #5612

larshith opened this issue Nov 16, 2021 · 4 comments

Comments

@larshith
Copy link

Description
How do we change a security group associated with a NIC of the Virtual Machine? We don't see any option to remove/add any security to a NIC of the Virtual Machine.

Use case
Currently, a small modification in VM with respective Security Group ends up with a complete rewrite of the Security Group rules.

Scenario:

Suppose a customer has spun up a Virtual Machine by accidentally attaching a security group named "default" which allows "all" Ingress communication, and without the knowledge, he has deployed his applications onto the VM. The customer then notices the Security group allowing "all" traffic. Customer decides to create a new security group to meet his needs and tries associating it to the VM NIC. But there is no option to do it. It also wouldn't be a viable option to change the firewall rules of the security group "default" as it would affect other VMs (let's say). We know that the NIC detach-attach and choosing the Security Group at that time does the work, but we think that it is not considered to be the best possible solution.

Interface Changes
Sunstone

Progress Status

  • Branch created
  • Code committed to development branch
  • Testing - QA
  • Documentation
  • Release notes - resolved issues, compatibility, known issues
  • Code committed to upstream release/hotfix branches
  • Documentation committed to upstream release/hotfix branches
@larshith larshith changed the title Modify Security Group rule for existing VM's Disassociate/change a security group from a Virtual Machine's NIC Nov 16, 2021
@rsmontero
Copy link
Member

Duplicated in: #2411. We'll keep this one

@paczerny
Copy link
Member

PRs:

rsmontero pushed a commit to OpenNebula/docs that referenced this issue Jan 25, 2022
rsmontero added a commit that referenced this issue Jan 28, 2022
Author: Pavel Czerný <pczerny@opennebula.systems>
rsmontero pushed a commit that referenced this issue Jan 28, 2022
FrederickBor pushed a commit to FrederickBor/docs that referenced this issue Feb 9, 2022
Signed-off-by: Frederick Borges <fborges@opennebula.io>
@FrederickBor
Copy link
Contributor

tinova pushed a commit to OpenNebula/docs that referenced this issue Feb 11, 2022
@tinova
Copy link
Member

tinova commented Feb 11, 2022

@paczerny please check that the sunstone implementation is correct, and we can close this

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