catalinpan commented on issue #11634:
URL: https://github.com/apache/cloudstack/issues/11634#issuecomment-3291160166
I have tested with no VLAN set for the Storage, the secondarystoragevm
remain Stopped.
Here are the agent logs when I try to start manually the VM
```
2025-09-15 11:02:18,015 WARN [cloud.agent.Agent]
(AgentRequest-Handler-1:[]) (logid:3bfe4561) Caught:
java.lang.NullPointerException: Cannot invoke "java.net.URI.getScheme()"
because "uri" is null
at
com.cloud.network.Networks$BroadcastDomainType.getSchemeValue(Networks.java:180)
at
com.cloud.network.Networks$BroadcastDomainType.getValue(Networks.java:234)
at
com.cloud.hypervisor.kvm.resource.BridgeVifDriver.plug(BridgeVifDriver.java:258)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.createVif(LibvirtComputingResource.java:3816)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.createVifs(LibvirtComputingResource.java:3395)
at
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStartCommandWrapper.execute(LibvirtStartCommandWrapper.java:86)
at
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStartCommandWrapper.execute(LibvirtStartCommandWrapper.java:52)
at
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:2240)
at com.cloud.agent.Agent.processRequest(Agent.java:813)
at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1295)
at com.cloud.utils.nio.Task.call(Task.java:83)
at com.cloud.utils.nio.Task.call(Task.java:29)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
```
In the UI I get a pop-up error
```
Start System VM
(s-115-VM) Unable to orchestrate the start of VM instance
{"instanceName":"s-115-VM","uuid":"56dd2a31-d1c7-4c68-a07d-ac501d196f64"}.
```
To recap, the cloudstack-agent 4.21.0.0 cannot mount the secondary storage
regardless of what I set in the Storage network vlan.
--
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]