René's URL Explorer Experiment


Title: Some issues with managed/unmanaged VMs on KVM · Issue #8439 · apache/cloudstack · GitHub

Open Graph Title: Some issues with managed/unmanaged VMs on KVM · Issue #8439 · apache/cloudstack

X Title: Some issues with managed/unmanaged VMs on KVM · Issue #8439 · apache/cloudstack

Description: There is an issue while importing a VM with a Basic zone network: if you chose to set a random IP address: 2024-01-03 16:51:26,068 ERROR [o.a.c.v.UnmanagedVMsManagerImpl] (API-Job-Executor-10:ctx-bcae51d0 job-864 ctx-e872b0fb) (logid:016...

Open Graph Description: There is an issue while importing a VM with a Basic zone network: if you chose to set a random IP address: 2024-01-03 16:51:26,068 ERROR [o.a.c.v.UnmanagedVMsManagerImpl] (API-Job-Executor-10:ctx-b...

X Description: There is an issue while importing a VM with a Basic zone network: if you chose to set a random IP address: 2024-01-03 16:51:26,068 ERROR [o.a.c.v.UnmanagedVMsManagerImpl] (API-Job-Executor-10:ctx-b...

Opengraph URL: https://github.com/apache/cloudstack/issues/8439

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Some issues with managed/unmanaged VMs on KVM","articleBody":"1. There is an issue  while importing a VM with a Basic zone network:\r\n- if you chose to set a random IP address:\r\n\r\n```\r\n2024-01-03 16:51:26,068 ERROR [o.a.c.v.UnmanagedVMsManagerImpl] (API-Job-Executor-10:ctx-bcae51d0 job-864 ctx-e872b0fb) (logid:016f507c) Failed to import NICs while importing vm: i-2-58-VM\r\ncom.cloud.exception.InsufficientVirtualNetworkCapacityException: Unable to acquire Guest IP  address for network Network {\"id\": 204, \"name\": \"defaultGuestNetwork\", \"uuid\": \"2c6b7a88-939a-42b1-8a5e-d9641071bff8\",\r\n \"networkofferingid\": 7}Scope=interface com.cloud.dc.DataCenter; id=1\r\n        at org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.importNic(NetworkOrchestrator.java:4582)\r\n```\r\n\r\n- if you use a predetermined IP address the import fails with\r\n```\r\n\r\n2024-01-03 16:52:49,765 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-11:ctx-a94ebd23 job-865) (logid:0f522606) Complete async job-865, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudsta\r\nck.api.response.ExceptionResponse/null/{\"uuidList\":[],\"errorcode\":\"530\",\"errortext\":\"IP address 10.2.32.49 for NIC(ID: 0) is not available in network(ID: 2c6b7a88-939a-42b1-8a5e-d9641071bff8)\"}\r\n```\r\n\r\n2. If the storage pool is of type block for the volumes of an unmanaged VM, CS cannot find the pools. The select DB query tries to list by path and host_address which are taken from the libvirt XML disk definition and are not correct (for example it gets the volume path /dev/storpool-byid/bgu4.b.8wm instead of the actual primary storage path /dev/storpool-byid/. Also StorPool for example doesn't have a host described in the XML definition). Probably this issue will appear with similar storage plugins.\r\n\r\n3. Issue with VMs with RBD storage pool. You can unmanage a VM on Ceph storage but the listing of unmanaged VMs fails because libvirt cannot access the RBD volumes.\r\n\r\n```\r\n2024-01-04 11:56:55,383 DEBUG [utils.script.Script] (agentRequest-Handler-2:null) (logid:43ccc964) Executing command [qemu-img info -U cloudstack/d3638e01-955c-4702-8433-b62fe4bc680a ].\r\n2024-01-04 11:56:55,388 WARN  [utils.script.Script] (agentRequest-Handler-2:null) (logid:43ccc964) Execution of process [2868475] for command [qemu-img info -U cloudstack/d3638e01-955c-4702-8433-b62fe4bc680a ] f\r\nailed.\r\n2024-01-04 11:56:55,388 DEBUG [utils.script.Script] (agentRequest-Handler-2:null) (logid:43ccc964) Exit value of process [2868475] for command [qemu-img info -U cloudstack/d3638e01-955c-4702-8433-b62fe4bc680a ] \r\nis [1].\r\n2024-01-04 11:56:55,389 WARN  [utils.script.Script] (agentRequest-Handler-2:null) (logid:43ccc964) Process [2868475] for command [qemu-img info -U cloudstack/d3638e01-955c-4702-8433-b62fe4bc680a ] encountered th\r\ne error: [qemu-img: Could not open 'cloudstack/d3638e01-955c-4702-8433-b62fe4bc680a': Could not open 'cloudstack/d3638e01-955c-4702-8433-b62fe4bc680a': No such file or directory].\r\n2024-01-04 11:56:55,389 INFO  [resource.wrapper.LibvirtGetUnmanagedInstancesCommandWrapper] (agentRequest-Handler-2:null) (logid:43ccc964) Unable to retrieve unmanaged instance info. org.apache.cloudstack.utils.\r\nqemu.QemuImgException: qemu-img: Could not open 'cloudstack/d3638e01-955c-4702-8433-b62fe4bc680a': Could not open 'cloudstack/d3638e01-955c-4702-8433-b62fe4bc680a': No such file or directory\r\njava.lang.RuntimeException: org.apache.cloudstack.utils.qemu.QemuImgException: qemu-img: Could not open 'cloudstack/d3638e01-955c-4702-8433-b62fe4bc680a': Could not open 'cloudstack/d3638e01-955c-4702-8433-b62fe\r\n4bc680a': No such file or directory\r\n        at com.cloud.hypervisor.kvm.resource.wrapper.LibvirtGetUnmanagedInstancesCommandWrapper.getUnmanagedInstanceDisks(LibvirtGetUnmanagedInstancesCommandWrapper.java:191)\r\n        at com.cloud.hypervisor.kvm.resource.wrapper.LibvirtGetUnmanagedInstancesCommandWrapper.getUnmanagedInstance(LibvirtGetUnmanagedInstancesCommandWrapper.java:135)\r\n```\r\n\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\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\ntested with https://github.com/apache/cloudstack/pull/8433\r\n~~~\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\nRocky linux 8.5\r\n\r\n\r\n","author":{"url":"https://github.com/slavkap","@type":"Person","name":"slavkap"},"datePublished":"2024-01-04T10:49:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/8439/cloudstack/issues/8439"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:2d192f08-26e5-7fea-e103-34c57ea0d0c5
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBD40:397AD8:47D01FD:65527FB:6A4FBA7C
html-safe-nonce2e8b6d8d93631a8f8c5198174d705f3c23d9c5cf4dc7d6f95c202d76921db861
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDQwOjM5N0FEODo0N0QwMUZEOjY1NTI3RkI6NkE0RkJBN0MiLCJ2aXNpdG9yX2lkIjoiODgxNzQ1Nzg5MjEyODk2MzE5NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9e6dbf57450b775ec17bd83ed97896bd2b4df81de495b10d2963667de1a1ae80
hovercard-subject-tagissue:2065425038
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/apache/cloudstack/8439/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c3da46750557dadc9d6b02679cf48a3fed112ff29c81a242714619aa2a70e4a4/apache/cloudstack/issues/8439
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c3da46750557dadc9d6b02679cf48a3fed112ff29c81a242714619aa2a70e4a4/apache/cloudstack/issues/8439
og:image:altThere is an issue while importing a VM with a Basic zone network: if you chose to set a random IP address: 2024-01-03 16:51:26,068 ERROR [o.a.c.v.UnmanagedVMsManagerImpl] (API-Job-Executor-10:ctx-b...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameslavkap
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-preview
go-importgithub.com/apache/cloudstack git https://github.com/apache/cloudstack.git
octolytics-dimension-user_id47359
octolytics-dimension-user_loginapache
octolytics-dimension-repository_id9759448
octolytics-dimension-repository_nwoapache/cloudstack
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id9759448
octolytics-dimension-repository_network_root_nwoapache/cloudstack
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4b249b445842943ed31549e027f57a8ade9881ed
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/apache/cloudstack/issues/8439#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fcloudstack%2Fissues%2F8439
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fcloudstack%2Fissues%2F8439
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=apache%2Fcloudstack
Reloadhttps://github.com/apache/cloudstack/issues/8439
Reloadhttps://github.com/apache/cloudstack/issues/8439
Reloadhttps://github.com/apache/cloudstack/issues/8439
Please reload this pagehttps://github.com/apache/cloudstack/issues/8439
apache https://github.com/apache
cloudstackhttps://github.com/apache/cloudstack
Notifications https://github.com/login?return_to=%2Fapache%2Fcloudstack
Fork 1.3k https://github.com/login?return_to=%2Fapache%2Fcloudstack
Star 3k https://github.com/login?return_to=%2Fapache%2Fcloudstack
Code https://github.com/apache/cloudstack
Issues 536 https://github.com/apache/cloudstack/issues
Pull requests 263 https://github.com/apache/cloudstack/pulls
Discussions https://github.com/apache/cloudstack/discussions
Actions https://github.com/apache/cloudstack/actions
Projects https://github.com/apache/cloudstack/projects
Wiki https://github.com/apache/cloudstack/wiki
Security and quality 0 https://github.com/apache/cloudstack/security
Insights https://github.com/apache/cloudstack/pulse
Code https://github.com/apache/cloudstack
Issues https://github.com/apache/cloudstack/issues
Pull requests https://github.com/apache/cloudstack/pulls
Discussions https://github.com/apache/cloudstack/discussions
Actions https://github.com/apache/cloudstack/actions
Projects https://github.com/apache/cloudstack/projects
Wiki https://github.com/apache/cloudstack/wiki
Security and quality https://github.com/apache/cloudstack/security
Insights https://github.com/apache/cloudstack/pulse
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.