0sorkon opened a new issue, #9444:
URL: https://github.com/apache/cloudstack/issues/9444
##### ISSUE TYPE
<!-- Pick one below and delete the rest -->
* Bug Report
##### COMPONENT NAME
<!--
Categorize the issue, e.g. API, VR, VPN, UI, etc.
-->
~~~
storage
~~~
##### CLOUDSTACK VERSION
<!--
New line separated list of affected versions, commit ID for issues on main
branch.
-->
~~~
4.19.1.0
~~~
##### CONFIGURATION
<!--
Information about the configuration if relevant, e.g. basic network,
advanced networking, etc. N/A otherwise
-->
storage: linstor
##### OS / ENVIRONMENT
<!--
Information about the environment if relevant, N/A otherwise
-->
##### SUMMARY
<!-- Explain the problem/feature briefly -->
There are two main storages located on linstor, conventionally, ‘ssd’ and
‘hdd’. The main drive (ROOT volume) is located on ‘ssd’, when I try to attach
‘DATA volume’ to ‘hdd’ I get an error:
> Jul 25 11:34:34 cloud4 java[998325]: WARN [cloud.agent.Agent]
(agentRequest-Handler-3:) (logid:dee379ed) Caught:
> Jul 25 11:34:34 cloud4 java[998325]: java.lang.NullPointerException
> Jul 25 11:34:34 cloud4 java[998325]: #011at
com.cloud.hypervisor.kvm.storage.LinstorStorageAdaptor.connectPhysicalDisk(LinstorStorageAdaptor.java:256)
> Jul 25 11:34:34 cloud4 java[998325]: #011at
com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.connectPhysicalDisk(KVMStoragePoolManager.java:136)
> Jul 25 11:34:34 cloud4 java[998325]: #011at
com.cloud.hypervisor.kvm.storage.KVMStorageProcessor.attachVolume(KVMStorageProcessor.java:1523)
> Jul 25 11:34:34 cloud4 java[998325]: #011at
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:168)
> Jul 25 11:34:34 cloud4 java[998325]: #011at
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:70)
> Jul 25 11:34:34 cloud4 java[998325]: #011at
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStorageSubSystemCommandWrapper.execute(LibvirtStorageSubSystemCommandWrapper.java:36)
> Jul 25 11:34:34 cloud4 java[998325]: #011at
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStorageSubSystemCommandWrapper.execute(LibvirtStorageSubSystemCommandWrapper.java:30)
> Jul 25 11:34:34 cloud4 java[998325]: #011at
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78)
> Jul 25 11:34:34 cloud4 java[998325]: #011at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1929)
> Jul 25 11:34:34 cloud4 java[998325]: #011at
com.cloud.agent.Agent.processRequest(Agent.java:683)
> Jul 25 11:34:34 cloud4 java[998325]: #011at
com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1106)
> Jul 25 11:34:34 cloud4 java[998325]: #011at
com.cloud.utils.nio.Task.call(Task.java:83)
> Jul 25 11:34:34 cloud4 java[998325]: #011at
com.cloud.utils.nio.Task.call(Task.java:29)
> Jul 25 11:34:34 cloud4 java[998325]: #011at
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> Jul 25 11:34:34 cloud4 java[998325]: #011at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
> Jul 25 11:34:34 cloud4 java[998325]: #011at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
> Jul 25 11:34:34 cloud4 java[998325]: #011at
java.base/java.lang.Thread.run(Thread.java:829)
> Jul 25 11:34:47 cloud4 java[998325]: WARN
[kvm.resource.LibvirtComputingResource] (agentRequest-Handler-2:)
(logid:f2a8af56) Couldn't retrieve free memory, returning -1.
>
At the same time the resource on linstor is created normally, it doesn't
look like the problem is coming from linstor.
please help me to find the cause
--
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]