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

    Trying to enable v2v and difficulty adding nbdinfo on xo 6

    Scheduled Pinned Locked Moved Migrate to XCP-ng
    15 Posts 6 Posters 641 Views 5 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.
    • E Offline
      edsilber
      last edited by

      Hoping that other people are having the same issue
      Updated one of my test environments to XO6. I wet to test the V2v process and am stuck at the first step on adding nbdinfo.

      I don't remember my exact sequence in Events. But in troubleshooting I worked manually installing libnbd.
      That at least gave me results when I used the web interface that my version of nddingo was 1.6.1 when It expected 1.23.4
      Web searches recommended adding a backport repo. But I thought that generally speaking XOA environment is supposed to be mostly an appliance and we shouldn't be messing with the underlying operating system.

      Is anyone else seeing something similar?
      I'm on Current version: 6.2.2 - XOA build: 20240311

      acebmxerA 1 Reply Last reply Reply Quote 0
      • acebmxerA Online
        acebmxer @edsilber
        last edited by

        @edsilber

        This is from a fresh install of XO from sources...

        this should have walked you through the process to import from vmware.

        Screenshot 2026-03-18 145921.png

        E 1 Reply Last reply Reply Quote 0
        • E Offline
          edsilber @acebmxer
          last edited by Danp

          @acebmxer Sadly the appliance install attempt fails.

          Looking at logs there's a broken dependency somewhere.
          I just wanted to know if other people are seeing the same thing in the appliance or if it's something in my environment that needs to be repaired.

          {
            "id": "0mmwhu52h",
            "properties": {
              "method": "esxi.installNbdInfoFromSource",
              "params": {},
              "name": "API call: esxi.installNbdInfoFromSource",
              "userId": "e36282a5-4332-4681-8709-93e423768f93",
              "type": "api.call"
            },
            "start": 1773865698857,
            "status": "failure",
            "updatedAt": 1773865699165,
            "tasks": [
              {
                "id": "bot33xexbad",
                "properties": {
                  "name": "Compile and installl nbdinfo"
                },
                "start": 1773865698857,
                "status": "failure",
                "tasks": [
                  {
                    "id": "lvl19oyl51n",
                    "properties": {
                      "name": "create directory"
                    },
                    "start": 1773865698857,
                    "status": "success",
                    "end": 1773865698858,
                    "result": "/tmp/xo-server6dcLvS"
                  },
                  {
                    "id": "exgxd1t73fr",
                    "properties": {
                      "name": "check if nbdinfo is already connected"
                    },
                    "start": 1773865698858,
                    "status": "success",
                    "end": 1773865698870
                  },
                  {
                    "id": "4drglc7aky5",
                    "properties": {
                      "name": "check if user is root"
                    },
                    "start": 1773865698870,
                    "status": "success",
                    "end": 1773865698880
                  },
                  {
                    "id": "qzlskxwzsm",
                    "properties": {
                      "name": "check if os is debian based"
                    },
                    "start": 1773865698880,
                    "status": "success",
                    "end": 1773865698891
                  },
                  {
                    "id": "rgjstdhd95",
                    "properties": {
                      "name": "installing dependencies"
                    },
                    "start": 1773865698891,
                    "status": "failure",
                    "end": 1773865699165,
                    "result": {
                      "code": 100,
                      "killed": false,
                      "signal": null,
                      "cmd": "apt-get install -y git dh-autoreconf pkg-config make libxml2-dev ocaml libc-bin",
                      "message": "Command failed: apt-get install -y git dh-autoreconf pkg-config make libxml2-dev ocaml libc-bin\nE: Unable to correct problems, you have held broken packages.\n",
                      "name": "Error",
                      "stack": "Error: Command failed: apt-get install -y git dh-autoreconf pkg-config make libxml2-dev ocaml libc-bin\nE: Unable to correct problems, you have held broken packages.\n\n    at genericNodeError (node:internal/errors:984:15)\n    at wrappedFn (node:internal/errors:538:14)\n    at ChildProcess.exithandler (node:child_process:422:12)\n    at ChildProcess.emit (node:events:518:28)\n    at ChildProcess.patchedEmit [as emit] (/usr/local/lib/node_modules/xo-server/node_modules/@xen-orchestra/log/configure.js:52:17)\n    at maybeClose (node:internal/child_process:1104:16)\n    at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)\n    at Process.callbackTrampoline (node:internal/async_hooks:130:17)"
                    }
                  }
                ],
                "infos": [
                  {
                    "message": "temp directory is /tmp/xo-server6dcLvS"
                  }
                ],
                "end": 1773865699165,
                "result": {
                  "code": 100,
                  "killed": false,
                  "signal": null,
                  "cmd": "apt-get install -y git dh-autoreconf pkg-config make libxml2-dev ocaml libc-bin",
                  "message": "Command failed: apt-get install -y git dh-autoreconf pkg-config make libxml2-dev ocaml libc-bin\nE: Unable to correct problems, you have held broken packages.\n",
                  "name": "Error",
                  "stack": "Error: Command failed: apt-get install -y git dh-autoreconf pkg-config make libxml2-dev ocaml libc-bin\nE: Unable to correct problems, you have held broken packages.\n\n    at genericNodeError (node:internal/errors:984:15)\n    at wrappedFn (node:internal/errors:538:14)\n    at ChildProcess.exithandler (node:child_process:422:12)\n    at ChildProcess.emit (node:events:518:28)\n    at ChildProcess.patchedEmit [as emit] (/usr/local/lib/node_modules/xo-server/node_modules/@xen-orchestra/log/configure.js:52:17)\n    at maybeClose (node:internal/child_process:1104:16)\n    at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)\n    at Process.callbackTrampoline (node:internal/async_hooks:130:17)"
                }
              }
            ],
            "end": 1773865699165,
            "result": {
              "code": 100,
              "killed": false,
              "signal": null,
              "cmd": "apt-get install -y git dh-autoreconf pkg-config make libxml2-dev ocaml libc-bin",
              "message": "Command failed: apt-get install -y git dh-autoreconf pkg-config make libxml2-dev ocaml libc-bin\nE: Unable to correct problems, you have held broken packages.\n",
              "name": "Error",
              "stack": "Error: Command failed: apt-get install -y git dh-autoreconf pkg-config make libxml2-dev ocaml libc-bin\nE: Unable to correct problems, you have held broken packages.\n\n    at genericNodeError (node:internal/errors:984:15)\n    at wrappedFn (node:internal/errors:538:14)\n    at ChildProcess.exithandler (node:child_process:422:12)\n    at ChildProcess.emit (node:events:518:28)\n    at ChildProcess.patchedEmit [as emit] (/usr/local/lib/node_modules/xo-server/node_modules/@xen-orchestra/log/configure.js:52:17)\n    at maybeClose (node:internal/child_process:1104:16)\n    at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)\n    at Process.callbackTrampoline (node:internal/async_hooks:130:17)"
          
          acebmxerA DanpD 2 Replies Last reply Reply Quote 0
          • acebmxerA Online
            acebmxer @edsilber
            last edited by acebmxer

            @edsilber

            Yeah I am not sure. I havent seen heard anyone else having similar issues. I heard of other issues in regards to the actual migration but not the setup.

            Now that you have logs posted maybe someone form Vates will chime in.

            I just tried with my install and i get stuck on first step... Not sure if because of my script or there is an actual issue...

            Screenshot 2026-03-18 164654.png

            Edit - Just booted up XOA on home lab. It looks like i had attempted to setup previously so can test there. Work XOA again was already setup prior for actual migration. See what other say.

            E 1 Reply Last reply Reply Quote 0
            • E Offline
              edsilber @acebmxer
              last edited by Danp

              @acebmxer Here's the broken dependency. I'll give the forums a day or so and submit at ticket. Thank you for testing and responding.

              [17:05 18] xoa@xoa:apt$ sudo apt-get install -y git dh-autoreconf pkg-config make libxml2-dev ocaml libc-bin
              Reading package lists... Done
              Building dependency tree... Done
              Reading state information... Done
              git is already the newest version (1:2.39.2-1.1).
              pkg-config is already the newest version (1.8.1-1).
              make is already the newest version (4.3-4.1).
              make set to manually installed.
              libc-bin is already the newest version (2.36-9+deb12u4).
              Some packages could not be installed. This may mean that you have
              requested an impossible situation or if you are using the unstable
              distribution that some required packages have not yet been created
              or been moved out of Incoming.
              The following information may help to resolve the situation:
              
              The following packages have unmet dependencies:
               libx11-dev : Depends: libx11-6 (= 2:1.7.2-1+deb11u2) but 2:1.8.4-2+deb12u2 is to be installed
                            Depends: libxcb1-dev but it is not going to be installed
               libxml2-dev : Depends: libxml2 (= 2.9.10+dfsg-6.7+deb11u9) but 2.9.14+dfsg-1.3~deb12u1 is to be installed
               ocaml-nox : Depends: libncurses5-dev
              E: Unable to correct problems, you have held broken packages.
              
              1 Reply Last reply Reply Quote 0
              • DanpD Offline
                Danp Pro Support Team @edsilber
                last edited by Danp

                @edsilber said:

                you have held broken packages

                Have you tried running yum clean and then retrying the install process?

                You are running XO from sources, correct? What OS version?

                Edit:

                Oh, I see you are running a very old deployment of XOA. Deploy a new instance of the appliance and then the package issues will be resolved.

                acebmxerA 1 Reply Last reply Reply Quote 1
                • acebmxerA Online
                  acebmxer @Danp
                  last edited by acebmxer

                  Found issue in my script all seems to be working now for me just no vmware vm to test import on 😞

                  C 1 Reply Last reply Reply Quote 1
                  • C Offline
                    CGB @acebmxer
                    last edited by

                    Hi, I have the same problem. Everything is installed but still the error for importing VM from VMware. I've updated my XOv5 to the last version but i'm still blocked.

                    acebmxerA E 2 Replies Last reply Reply Quote 0
                    • olivierlambertO Offline
                      olivierlambert Vates 🪐 Co-Founder CEO
                      last edited by

                      Hi,

                      Can you be more specific on the error you have?

                      1 Reply Last reply Reply Quote 0
                      • acebmxerA Online
                        acebmxer @CGB
                        last edited by

                        @CGB
                        Are you using XOA or XO from sources? If from sources, who's script did you use to deploy? Also if from source what commit are you on?

                        1 Reply Last reply Reply Quote 0
                        • acebmxerA acebmxer referenced this topic
                        • E Offline
                          edsilber @CGB
                          last edited by

                          @CGB Just refreshing XOA and the console didn't do it. I had to redeploy the XO appliance. Newer debian and binaries. export your config.toml and follow the steps like you are deploying a new xoa

                          1 Reply Last reply Reply Quote 0
                          • C Offline
                            CGB
                            last edited by

                            @olivierlambert It looks like I cant' use the VM from VMware option because it can't see that the dependencies are already installed.
                            15293415-8c29-4081-bd19-eeee9ad90abe-image.jpeg
                            77805d17-0e05-4d7c-8e4a-175c9bc79c3f-image.jpeg

                            @acebmxer I use XO from sources on Debian 12.

                            @edsilber I will try something before, and if it doesn't work, I'll do what you say. Thank you

                            P 1 Reply Last reply Reply Quote 0
                            • P Online
                              pierrebrunet Vates 🪐 XO Team @CGB
                              last edited by

                              @CGB Hi, are you running XO from source with root or another user?
                              If it is another user, it may be not accessible from it

                              acebmxerA 1 Reply Last reply Reply Quote 0
                              • acebmxerA Online
                                acebmxer @pierrebrunet
                                last edited by acebmxer

                                @pierrebrunet said:

                                @CGB Hi, are you running XO from source with root or another user?
                                If it is another user, it may be not accessible from it

                                That is what i was able to determine what is going on with my script. - https://xcp-ng.org/forum/post/105965

                                when using root user button works just fine. If using non-root user the button will never work as it assumes root will use it. I am not sure how other scripts handle this issue.

                                1 Reply Last reply Reply Quote 0
                                • C Offline
                                  CGB
                                  last edited by

                                  Hi, everyone

                                  Thank you for your help.

                                  I had a flux that was blocked by our firewall. The button worked after that.

                                  But it doesn't explain why I lost this configuration and had to reinstall it.

                                  Thanks again.

                                  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