René's URL Explorer Experiment


Title: XenServer / XCP-ng hypervisor resource, Storage (secondary storage mount / system VM deployment) · Issue #13292 · apache/cloudstack · GitHub

Open Graph Title: XenServer / XCP-ng hypervisor resource, Storage (secondary storage mount / system VM deployment) · Issue #13292 · apache/cloudstack

X Title: XenServer / XCP-ng hypervisor resource, Storage (secondary storage mount / system VM deployment) · Issue #13292 · apache/cloudstack

Description: problem On a fresh deployment with XCP-ng 8.3 hosts, the secondary storage VM and console proxy VM never deploy. They fail and retry in a loop with ascending VM ids. The management log reports Could not mount secondary storage :/

Open Graph Description: problem On a fresh deployment with XCP-ng 8.3 hosts, the secondary storage VM and console proxy VM never deploy. They fail and retry in a loop with ascending VM ids. The management log reports Coul...

X Description: problem On a fresh deployment with XCP-ng 8.3 hosts, the secondary storage VM and console proxy VM never deploy. They fail and retry in a loop with ascending VM ids. The management log reports Coul...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"XenServer / XCP-ng hypervisor resource, Storage (secondary storage mount / system VM deployment)","articleBody":"### problem\n\nOn a fresh deployment with XCP-ng 8.3 hosts, the secondary storage VM and console proxy VM never deploy. They fail and retry in a loop with ascending VM ids. The management log reports `Could not mount secondary storage \u003cnfs\u003e:/\u003cexport\u003e`, which is misleading: NFS connectivity, exports, and permissions are all fine (the share mounts manually from both the hosts and the management server without issue).\n\nThe real cause is that the host-side XAPI plugin `/etc/xapi.d/plugins/cloud-plugin-storage` fails to load on XCP-ng 8.3 because it does a top-level `import lvhdutil`, and `lvhdutil` no longer exists as an importable module on XCP-ng 8.3. Because the plugin crashes at import time, every storage operation that goes through it fails, which CloudStack surfaces as a mount failure and a \"storage unreachable\" condition.\n\nThe plugin deployed to XCP-ng 8.3 hosts is sourced from the `xenserver84` directory:\n`.../xenserver/xcpserver83/../xenserver84/cloud-plugin-storage`.\n\n### versions\n\n~~~\n4.22.0.0\nFully patched XCP-ng 8.3 servers\n~~~\n\n\n### The steps to reproduce the bug\n\nSystem VMs cycle endlessly with ascending ids. The management log shows, per attempt:\n\n~~~\nWARN  [c.c.h.x.r.XcpServer83Resource] callHostPlugin failed for cmd: mountNfsSecondaryStorage\n      with args remoteDir: \u003cnfs\u003e:/\u003cexport\u003e, localDir: /var/cloud_mount/\u003cuuid\u003e, nfsVersion: null,\n      due to Task failed!\nWARN  [c.c.h.x.r.Xenserver625StorageProcessor] ... Could not mount secondary storage \u003cnfs\u003e:/\u003cexport\u003e ...\nERROR [o.a.c.e.o.VolumeOrchestrator] Unable to create volume [ROOT-xxx] ...\nWARN  [c.c.v.ClusteredVirtualMachineManagerImpl] Resource [StoragePool:x] is unreachable ...\n~~~\n\nThe underlying XAPI task error reveals the actual failure (host-side Python traceback):\n\n~~~\nerrorInfo: [XENAPI_PLUGIN_FAILURE, non-zero exit, , Traceback (most recent call last):\n  File \"/etc/xapi.d/plugins/cloud-plugin-storage\", line 34, in \u003cmodule\u003e\n    import lvhdutil\nModuleNotFoundError: No module named 'lvhdutil'\n]\n~~~\n\nOn the XCP-ng 8.3 host, the `lvhdutil` source module is absent — only a stale orphan bytecode file remains, which Python 3 will not import:\n\n~~~\n# find /opt/xensource/sm /usr/lib/python* -name 'lvhdutil*'\n/opt/xensource/sm/__pycache__/lvhdutil.cpython-36.pyc\n\n# ls /opt/xensource/sm/ | grep -i lvhd\n(no source .py present)\n~~~\n\nNote the other imports just above `import lvhdutil` (`SR`, `VDI`, `SRCommand`, `util`, `lvutil`, `vhdutil`) succeed, which confirms `/opt/xensource/sm` is on the path and that `lvhdutil` specifically has been removed/refactored out in XCP-ng 8.3.\n\n\n### What to do about it?\n\nMake the import non-fatal in\n`/usr/share/cloudstack-common/scripts/vm/hypervisor/xenserver/xenserver84/cloud-plugin-storage`\non the management server, then push the patched plugin to the hosts (the management server only copies host plugins on host add, not on reconnect/restart, so a manual push or host re-add is required):\n\n~~~python\nimport vhdutil\nimport shutil\ntry:\n    import lvhdutil\nexcept ImportError:\n    lvhdutil = None\nimport errno\n~~~\n\nAfter this, the NFS mount succeeds and the system VMs deploy normally.\n\n##### OPEN QUESTION / SUGGESTED FIX\nThe guard above unblocks NFS and basic operation, but it does not restore any plugin code path that genuinely needs `lvhdutil` (relevant to LVM/iSCSI primary storage operations such as snapshots and template-from-volume). The proper fix is likely to import `lvhdutil` from its new location in XCP-ng 8.3's refactored `sm` stack (or call its replacement), rather than guarding it to `None`. Guidance on the correct module/path for 8.3 would be appreciated.\n\n##### RELATED\nPossibly related to discussion #11346 (4.20.1 + XCP-ng 8.3 system VMs failing to deploy), though that case was resolved as an NFSv4 negotiation issue on the storage server — this is a distinct root cause (plugin import failure).\n","author":{"url":"https://github.com/BannerSmash","@type":"Person","name":"BannerSmash"},"datePublished":"2026-05-29T20:22:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/13292/cloudstack/issues/13292"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:344462d2-21b9-cf32-c906-d1086ecf395c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD1F0:4EB39:3075D42:42AD890:6A50BDF4
html-safe-nonced28814f1c84620b41be9a8b5e71d42624d967a723746378032ece3adf1649cb4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMUYwOjRFQjM5OjMwNzVENDI6NDJBRDg5MDo2QTUwQkRGNCIsInZpc2l0b3JfaWQiOiI1NzYyMTEzODI4MTUxMTQ4MDIwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac33a32f557e1c3009109e33de02050b67e880d07a29adae54d7a3408c5c60d83e
hovercard-subject-tagissue:4551388425
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/13292/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4e0b3bb0f0d7790b7c6bbc5dd06ee0d65ae1ed07ad9277fac4f9764429301dcf/apache/cloudstack/issues/13292
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4e0b3bb0f0d7790b7c6bbc5dd06ee0d65ae1ed07ad9277fac4f9764429301dcf/apache/cloudstack/issues/13292
og:image:altproblem On a fresh deployment with XCP-ng 8.3 hosts, the secondary storage VM and console proxy VM never deploy. They fail and retry in a loop with ascending VM ids. The management log reports Coul...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameBannerSmash
hostnamegithub.com
expected-hostnamegithub.com
None72b13e0e8d0319acdd27a145cfe73f4f06c791713d0ac4690e41fb68ad28cac0
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
release08e79d53fc070870d5b168356afebb1e286a2ffe
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/apache/cloudstack/issues/13292#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fcloudstack%2Fissues%2F13292
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
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%2F13292
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/13292
Reloadhttps://github.com/apache/cloudstack/issues/13292
Reloadhttps://github.com/apache/cloudstack/issues/13292
Please reload this pagehttps://github.com/apache/cloudstack/issues/13292
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 538 https://github.com/apache/cloudstack/issues
Pull requests 262 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
Bughttps://github.com/apache/cloudstack/issues?q=type:"Bug"
XenServer / XCP-ng hypervisor resource, Storage (secondary storage mount / system VM deployment)https://github.com/apache/cloudstack/issues/13292#top
component:XenServerhttps://github.com/apache/cloudstack/issues?q=state%3Aopen%20label%3A%22component%3AXenServer%22
component:systemvm-isohttps://github.com/apache/cloudstack/issues?q=state%3Aopen%20label%3A%22component%3Asystemvm-iso%22
4.22.2https://github.com/apache/cloudstack/milestone/46
https://github.com/BannerSmash
BannerSmashhttps://github.com/BannerSmash
on May 29, 2026https://github.com/apache/cloudstack/issues/13292#issue-4551388425
#11346https://github.com/apache/cloudstack/discussions/11346
component:XenServerhttps://github.com/apache/cloudstack/issues?q=state%3Aopen%20label%3A%22component%3AXenServer%22
component:systemvm-isohttps://github.com/apache/cloudstack/issues?q=state%3Aopen%20label%3A%22component%3Asystemvm-iso%22
Bughttps://github.com/apache/cloudstack/issues?q=type:"Bug"
4.22.2No due datehttps://github.com/apache/cloudstack/milestone/46
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.