XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. bajiya2024
    B
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 11
    • Groups 0

    bajiya2024

    @bajiya2024

    0
    Reputation
    4
    Profile views
    11
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    bajiya2024 Unfollow Follow

    Latest posts made by bajiya2024

    • xo-cli data limit ??

      i am working on xo-cli and i want to fatch only limited data from logs and Vms . So how i can do using xo-cli and also how i apply search through xo-cli

      posted in Xen Orchestra
      B
      bajiya2024
    • RE: vm.set not working for int

      please give me reply

      posted in Xen Orchestra
      B
      bajiya2024
    • vm.set not working for int

      xo-cli vm.set id=89517372-b45b-ca36-4c51-dd17c0e760c0 CPUs=3
      × invalid parameters
      property @.CPUs: must be integer, but is string

      How pass integer in xo-cli

      posted in Xen Orchestra
      B
      bajiya2024
    • RE: Vm.create unable to create vm using xo-cli

      xo-cli vm.set id=89517372-b45b-ca36-4c51-dd17c0e760c0 CPUs=3
      × invalid parameters
      property @.CPUs: must be integer, but is string

      posted in Xen Orchestra
      B
      bajiya2024
    • RE: Vm.create unable to create vm using xo-cli

      yes it work for me Thanks @julien-f but if you have any link related this then please share me because i am facing problem in vm.create and vm.set CPUS=2 ...command line always send string but CPUs always need integer

      posted in Xen Orchestra
      B
      bajiya2024
    • RE: Vm.create unable to create vm using xo-cli
      vm.create
      {
        "template": "e6ea07ce-18dd-2d46-215c-e8cce8b770eb",
        "name_label": "'test'",
        "name_description": "test-cloud-init",
        "bootAfterCreate": true,
        "VIFs": "'json:[{bootable:true,device:0,size:8589934592,type:system}]'"
      }
      {
        "code": 10,
        "data": {
          "errors": [
            {
              "code": null,
              "reason": "type",
              "message": "must be array, but is string",
              "property": "@.VIFs"
            }
          ]
        },
        "message": "invalid parameters",
        "name": "XoError",
        "stack": "XoError: invalid parameters
          at Object.invalidParameters (/opt/xen-orchestra/packages/xo-common/src/api-errors.js:21:32)
          at Object.call (/opt/xen-orchestra/packages/xo-server/src/xo-mixins/api.js:72:18)
          at Api.callApiMethod (/opt/xen-orchestra/packages/xo-server/src/xo-mixins/api.js:289:19)"
      }
      

      this log coming

      posted in Xen Orchestra
      B
      bajiya2024
    • RE: Vm.create unable to create vm using xo-cli

      @julien-f windos windows 10

      posted in Xen Orchestra
      B
      bajiya2024
    • RE: Vm.create unable to create vm using xo-cli

      @julien-f said in Vm.create unable to create vm using xo-cli:

      VIFs='json:[{"bootable":true,"device":0,"size":8589934592,"type":"system"}]'

      xo-cli vm.create template=e6ea07ce-18dd-2d46-215c-e8cce8b770eb name_label='test' name_description="test-cloud-init" bootAfterCreate=true VIFs='json:[{"bootable":true,"device":0,"size":8589934592,"type":"system"}]'
      × invalid parameters
      property @.VIFs: must be array, but is string

      I also try your corrected it give me same error

      posted in Xen Orchestra
      B
      bajiya2024
    • RE: Vm.create unable to create vm using xo-cli

      @julien-f said in Vm.create unable to create vm using xo-cli:

      xo-cli --help

      xo-cli v0.11.0

      posted in Xen Orchestra
      B
      bajiya2024
    • RE: Vm.create unable to create vm using xo-cli

      @julien-f said in Vm.create unable to create vm using xo-cli:

      VIFs='json:[{"bootable":true,"device":0,"size":8589934592,"type":system}]'

      xo-cli vm.create template=e6ea07ce-18dd-2d46-215c-e8cce8b770eb name_label='test' name_description="test-cloud-init" bootAfterCreate=true VIFs='json:[{"bootable":true,"device":0,"size":8589934592,"type":system}]'
      × invalid parameters
        property @.VIFs: must be array, but is string
      

      same issue is comming

      posted in Xen Orchestra
      B
      bajiya2024