You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the newly released feature that allows enabling security groups support in advanced zones, and I'm unable to change the security groups assigned to VMs in my shared network.
The problem seems to be related to a permissions check, it's possible to go around that error by manually inserting a record into the network_permissions table.
(dev) 🐱 > create networkpermissions accountids=7ad6fcd9-bb8b-48e0-83eb-01263c2907c6 networkid=aa67cbd3-4aae-4b7c-87cb-51b1f0605d8e
🙈 Error: (HTTP 431, error code 4350) network is already shared in domain
problem
I'm using the newly released feature that allows enabling security groups support in advanced zones, and I'm unable to change the security groups assigned to VMs in my shared network.
This is the error returned:
The problem seems to be related to a permissions check, it's possible to go around that error by manually inserting a record into the
network_permissions
table.After this, the
update virtualmachine
call works and the SG is updated normally.Code reference: https://github.com/apache/cloudstack/blob/main/server/src/main/java/com/cloud/network/NetworkModelImpl.java#L1727
versions
Cloudstack 4.20.
The steps to reproduce the bug
What to do about it?
No response
The text was updated successfully, but these errors were encountered: