Title: Error when using CLVM in KVM Hypervisor · Issue #9915 · apache/cloudstack · GitHub
Open Graph Title: Error when using CLVM in KVM Hypervisor · Issue #9915 · apache/cloudstack
X Title: Error when using CLVM in KVM Hypervisor · Issue #9915 · apache/cloudstack
Description: ISSUE TYPE Bug Report COMPONENT NAME STORAGE CLVM CLOUDSTACK VERSION 4.20 CONFIGURATION OS / ENVIRONMENT KVM/libvirt as Virtualization is used Ubuntu 22.04.5 LTS (Agent) CLVM Primary Storage SUMMARY I am trying to use CLVM as Primary Sto...
Open Graph Description: ISSUE TYPE Bug Report COMPONENT NAME STORAGE CLVM CLOUDSTACK VERSION 4.20 CONFIGURATION OS / ENVIRONMENT KVM/libvirt as Virtualization is used Ubuntu 22.04.5 LTS (Agent) CLVM Primary Storage SUMMAR...
X Description: ISSUE TYPE Bug Report COMPONENT NAME STORAGE CLVM CLOUDSTACK VERSION 4.20 CONFIGURATION OS / ENVIRONMENT KVM/libvirt as Virtualization is used Ubuntu 22.04.5 LTS (Agent) CLVM Primary Storage SUMMAR...
Opengraph URL: https://github.com/apache/cloudstack/issues/9915
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error when using CLVM in KVM Hypervisor","articleBody":"\u003c!--\r\nVerify first that your issue/request is not already reported on GitHub.\r\nAlso test if the latest release and main branch are affected too.\r\nAlways add information AFTER of these HTML comments, but no need to delete the comments.\r\n--\u003e\r\n\r\n##### ISSUE TYPE\r\n\u003c!-- Pick one below and delete the rest --\u003e\r\n * Bug Report\r\n\r\n\r\n##### COMPONENT NAME\r\n\u003c!--\r\nCategorize the issue, e.g. API, VR, VPN, UI, etc.\r\n--\u003e\r\n~~~\r\nSTORAGE\r\nCLVM\r\n~~~\r\n\r\n##### CLOUDSTACK VERSION\r\n\u003c!--\r\nNew line separated list of affected versions, commit ID for issues on main branch.\r\n--\u003e\r\n\r\n~~~\r\n4.20\r\n~~~\r\n\r\n\r\n##### CONFIGURATION\r\n\u003c!--\r\nInformation about the configuration if relevant, e.g. basic network, advanced networking, etc. N/A otherwise\r\n--\u003e\r\n\r\n\r\n##### OS / ENVIRONMENT\r\n\u003c!--\r\nInformation about the environment if relevant, N/A otherwise\r\n--\u003e\r\n\r\n- KVM/libvirt as Virtualization is used\r\n- Ubuntu 22.04.5 LTS (Agent) \r\n- CLVM Primary Storage\r\n\r\n##### SUMMARY\r\n\u003c!-- Explain the problem/feature briefly --\u003e\r\n\r\nI am trying to use CLVM as Primary Storage, but when I try to add Primary Storage it gives me an error.\r\n\r\nHowever, if I check the KVM agent hosts, it creates the storage pool in libvirt as expected, but it doesn't finish creating the Primary Storage in Cloudstack Management\r\n\r\nCloustack Agents KVM: \r\n\r\n\r\n\r\n\r\n##### STEPS TO REPRODUCE\r\n\u003c!--\r\nFor bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.\r\n\r\n\r\nFor new features, show how the feature would be used.\r\n--\u003e\r\n\r\n\u003c!-- Paste example playbooks or commands between quotes below --\u003e\r\n~~~\r\nUsing KVM as Hypervisor, try adding a Primary Storage of type CLVM\r\n~~~\r\n\r\n\u003c!-- You can also paste gist.github.com links for larger files --\u003e\r\n\r\n##### EXPECTED RESULTS\r\n\u003c!-- What did you expect to happen when running the steps above? --\u003e\r\n\r\n~~~\r\nPrimary Storage created successfully\r\n~~~\r\n\r\n##### ACTUAL RESULTS\r\n\u003c!-- What actually happened? --\u003e\r\n\r\n\u003c!-- Paste verbatim command output between quotes below --\u003e\r\n\r\nCloudstack UI:\r\n~~~\r\nRequest failed. (530)\r\nFailed to add data store: Failed to access storage pool\r\n~~~\r\n\u003cimg width=\"992\" alt=\"Captura de Tela 2024-11-08 às 11 40 36\" src=\"https://github.com/user-attachments/assets/10b5f61d-74b7-43f8-a2a4-d6b8edba515c\"\u003e\r\n\r\n\r\nCloudstack management (Logs):\r\n~~~\r\nDEBUG [c.c.a.t.Request] (AgentManager-Handler-1:[]) (logid:) Seq 18-5556597515245060226: Processing: { Ans: , MgmtId: 42374915704331, via: 18, Ver: v1, Flags: 10, [{\"com.cloud.agent.api.Answer\":{\"result\":\"false\",\"details\":\"java.lang.IllegalArgumentException: No enum constant com.cloud.hypervisor.kvm.resource.LibvirtStoragePoolDef.PoolType.LOGICAL\r\n\tat java.base/java.lang.Enum.valueOf(Enum.java:273)\r\n\tat com.cloud.hypervisor.kvm.resource.LibvirtStoragePoolDef$PoolType.valueOf(LibvirtStoragePoolDef.java:26)\r\n\tat com.cloud.hypervisor.kvm.resource.LibvirtStoragePoolXMLParser.parseStoragePoolXML(LibvirtStoragePoolXMLParser.java:118)\r\n\tat com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.getStoragePoolDef(LibvirtStorageAdaptor.java:502)\r\n\tat com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.getStoragePool(LibvirtStorageAdaptor.java:534)\r\n\tat com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.getStoragePool(LibvirtStorageAdaptor.java:519)\r\n\tat com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:763)\r\n\tat com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:392)\r\n\tat com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:386)\r\n\tat com.cloud.hypervisor.kvm.resource.wrapper.LibvirtModifyStoragePoolCommandWrapper.execute(LibvirtModifyStoragePoolCommandWrapper.java:42)\r\n\tat com.cloud.hypervisor.kvm.resource.wrapper.LibvirtModifyStoragePoolCommandWrapper.execute(LibvirtModifyStoragePoolCommandWrapper.java:35)\r\n\tat com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78)\r\n\tat com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1944)\r\n\tat com.cloud.agent.Agent.processRequest(Agent.java:686)\r\n\tat com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1109)\r\n\tat com.cloud.utils.nio.Task.call(Task.java:83)\r\n\tat com.cloud.utils.nio.Task.call(Task.java:29)\r\n\tat java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)\r\n\tat java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\r\n\tat java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\r\n\tat java.base/java.lang.Thread.run(Thread.java:840)\r\n\",\"wait\":\"0\",\"bypassHostMaintenance\":\"false\"}}] }\r\n~~~\r\n","author":{"url":"https://github.com/Luskan777","@type":"Person","name":"Luskan777"},"datePublished":"2024-11-08T17:16:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/9915/cloudstack/issues/9915"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d0aec8f6-e550-e7aa-59aa-eca565e692d4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9F84:3C8683:5B2B174:8025A87:6A501131 |
| html-safe-nonce | da6d03ea3862ec03c1421e4e156a22ee7eb784fb148d298949eb4e79bae153bb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Rjg0OjNDODY4Mzo1QjJCMTc0OjgwMjVBODc6NkE1MDExMzEiLCJ2aXNpdG9yX2lkIjoiMTYyOTE0MjcxMjc1NzI2MDU5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 20c7200aabfba8b7abef8d9e4e6c1755fc7b656cdf1898291893f265db9f7ba8 |
| hovercard-subject-tag | issue:2644647707 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/apache/cloudstack/9915/issue_layout |
| twitter:image | https://opengraph.githubassets.com/794c52f2ebd82cc3d4adf49073bce6f43f2678ae4eb51760bdcc3a9bcdf78292/apache/cloudstack/issues/9915 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/794c52f2ebd82cc3d4adf49073bce6f43f2678ae4eb51760bdcc3a9bcdf78292/apache/cloudstack/issues/9915 |
| og:image:alt | ISSUE TYPE Bug Report COMPONENT NAME STORAGE CLVM CLOUDSTACK VERSION 4.20 CONFIGURATION OS / ENVIRONMENT KVM/libvirt as Virtualization is used Ubuntu 22.04.5 LTS (Agent) CLVM Primary Storage SUMMAR... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Luskan777 |
| hostname | github.com |
| expected-hostname | github.com |
| None | fe4f38b24922a1ce81c1708c3793b47c185599b9144ab94f6ca846b00698058d |
| turbo-cache-control | no-preview |
| go-import | github.com/apache/cloudstack git https://github.com/apache/cloudstack.git |
| octolytics-dimension-user_id | 47359 |
| octolytics-dimension-user_login | apache |
| octolytics-dimension-repository_id | 9759448 |
| octolytics-dimension-repository_nwo | apache/cloudstack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 9759448 |
| octolytics-dimension-repository_network_root_nwo | apache/cloudstack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 42b6390c91978a16f9196c38c7a00e9bf21f37e7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width