XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Deploy VM via cloud-init config

    Scheduled Pinned Locked Moved Xen Orchestra
    2 Posts 2 Posters 38 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • acebmxerA Online
      acebmxer
      last edited by acebmxer

      I am currently having issues deploying a vm via cloud-init. This work previously as i was able to deploy a new XO from sources. Now when I try to deploy a vm via cloud-init I am not able to log into the new vm via the console from xo. nor does the vm show IP no do i see anything in my dhcp server.

      If i deploy another test vm with XOA all works fine. Both XOA and XO using the same Cloud-init config.

      Not sure if this issue is from recent commits to XO or recent patches to xcp-ng.

      Anyone else having similar issues?

      Edit also see this -

      Screenshot 2026-07-29 102502.png

      poddingueP 1 Reply Last reply Reply Quote 0
      • poddingueP Online
        poddingue Vates 🪐 @acebmxer
        last edited by

        I can't claim to know this part well, but the task name in your screenshot matches an older report, vatesfr/xen-orchestra#7496, where Importing content into VDI XO CloudConfigDrive also sat at 0% forever on XO from sources.
        In that one the host's self-signed certificate was being refused, and the only visible sign was a DEPTH_ZERO_SELF_SIGNED_CERT line next to importVdiContent in the xo-server log.
        Nothing showed in the UI at all.
        Since XOA works for you with the same cloud-config, how each one trusts the host certificate feels like a plausible place to look first, though I could be fully wrong about that. 🤷
        Could you check your xo-server output while one of those tasks is stuck and paste whatever importVdiContent line comes up, along with your commit number?
        If it reproduces on another host or a fresh build, that would make a solid GitHub issue, and a mention to @Team-XO-Backend might help in the meantime.

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post