ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    The Value VCPUs_Max Must Be a Multiple of This Field in XCP-NG

    IT Discussion
    xen orchestra xen xcp-ng
    5
    14
    2.0k
    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.
    • wirestyle22W
      wirestyle22
      last edited by scottalanmiller

      When I attempt to create a VM this is the error I receive:

      "The Value VCPUs_Max must be a multiple of this field" is invalid for the field 'platform:cores-per-socket'.

      If I don't specify sockets to cores per sockets this error does not appear and everything runs and reports correctly. If I specify 2 sockets with 1 core per socket it succeeds. This is nowhere near the maximum number of physical CPU's so I think it's strange that I am receiving this error. If I do this from Xen Center everything is fine with a single socket and 2 vCPU's per socket.

      1 Reply Last reply Reply Quote 1
      • scottalanmillerS
        scottalanmiller
        last edited by

        I'm not sure that I follow your explanation of what you did. Can you tell the exact settings used and which one gave an error?

        1 Reply Last reply Reply Quote 0
        • wirestyle22W
          wirestyle22
          last edited by wirestyle22

          See Topology

          Error

          0_1541519392776_Error.png

          No Error

          0_1541519226405_No Error.png

          No Error

          0_1541519558844_No Error.png

          1 1 Reply Last reply Reply Quote 0
          • 1
            1337 @wirestyle22
            last edited by

            @wirestyle22 Looks like a Xen Orchestra bug. Xenserver itself doesn't care if you do 2 cores on 1 cpu or 1 core on 2 cpus.

            wirestyle22W 1 Reply Last reply Reply Quote 0
            • wirestyle22W
              wirestyle22 @1337
              last edited by

              @Pete-S Right

              1 Reply Last reply Reply Quote 0
              • wirestyle22W
                wirestyle22
                last edited by

                @olivier

                1 Reply Last reply Reply Quote 0
                • dbeatoD
                  dbeato
                  last edited by

                  I haven't seen this, but I am using XCP-ng and I often can do the VMs through the XCP-ng client too.

                  1 Reply Last reply Reply Quote 0
                  • DustinB3403D
                    DustinB3403
                    last edited by

                    I generally just keep the default vCPU config and thus haven't seen this myself either.

                    It's possible that this is a bug though. With that @olivier would need to know exactly what version of xo-web and xo-server you're running, how you built your instance etc as well.

                    1 Reply Last reply Reply Quote 2
                    • DustinB3403D
                      DustinB3403
                      last edited by DustinB3403

                      My initial thought is that the configuration is saying how many socket do you want this guest to have, which then doesn't make sense when you say 1 CPU with 2 cores, when you have 2 listed in the above field.

                      1 Reply Last reply Reply Quote 0
                      • DustinB3403D
                        DustinB3403
                        last edited by DustinB3403

                        You can either have 2 vcpu and follow the default host config or you can have something that divides evenly based on the number of filled sockets your host has.

                        1 Reply Last reply Reply Quote 0
                        • DustinB3403D
                          DustinB3403
                          last edited by

                          Based on this the field is saying VCPUs_max has to be a multiple of cores per socket

                          And later this VCPUs_max must be a multiple of this field meaning what you're telling the system to create this guest with, doesn't make logical sense.

                          If you wanted the guest to have 2 CPU with 1 core each, you have to use the settings as shown in the second image. If you wanted this guest to have more CPU, set it to something like 8 and have the Topology be 2 cpu with 4 core each. Ideally mimic the hardware that your host has though.

                          1 Reply Last reply Reply Quote 1
                          • DustinB3403D
                            DustinB3403
                            last edited by

                            I'm guessing XenCenter is just running some behind the scenes magic and changing it to work, where XO is telling you to fix the issue.

                            1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller
                              last edited by

                              Tags updated as this is XCP-NG.

                              wirestyle22W 1 Reply Last reply Reply Quote 1
                              • wirestyle22W
                                wirestyle22 @scottalanmiller
                                last edited by

                                @scottalanmiller It's not. I changed after I posted this.

                                1 Reply Last reply Reply Quote 0
                                • 1 / 1
                                • First post
                                  Last post