vladimirpetrov opened a new issue, #10719:
URL: https://github.com/apache/cloudstack/issues/10719
### problem
When an instance is running in Advanced zone with security groups, it cannot
be edited vie the UI, only when using API directly.
### versions
Found in 4.19.2, when using advanced zone with security groups.
### The steps to reproduce the bug
1. Deploy a VM in advanced zone with security groups
2. Try to rename it
Result: Request failed (530), here is exception in the management server:
```
2025-04-15 09:06:04,192 ERROR [c.c.a.ApiServer]
(qtp146370526-12:ctx-ec53ebd2 ctx-09ea4db5) (logid:0f9d526b) unhandled
exception executing api command: [Ljava.lang.String;@46ee99d8
com.cloud.utils.exception.CloudRuntimeException: Failed to update VM, due
to: Virtual machine must be stopped prior to update security groups
at
org.apache.cloudstack.api.command.user.vm.UpdateVMCmd.execute(UpdateVMCmd.java:287)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:172)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:833)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:654)
at
com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:349)
at com.cloud.api.ApiServlet$1.run(ApiServlet.java:152)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:102)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52)
at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:149)
at com.cloud.api.ApiServlet.doPost(ApiServlet.java:108)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:665)
```

### What to do about it?
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]