XCP-ng

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. rusaev
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Best 0
    • Controversial 0
    • Groups 0

    rusaev

    @rusaev

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

    rusaev Unfollow Follow

    Latest posts made by rusaev

    • RE: SR_BACKEND_FAILURE_79 VDI Invalid size

      Solved the problem by explicitly specifying the data type

      $resize = 'VDI.resize';
      $xcpapi->$resize($vdi, ''.(int)$hdd2.'');
      

      Doesn't work without brackets

      ''.(int)$hdd2.''
      
      posted in Development
      R
      rusaev
    • RE: SR_BACKEND_FAILURE_79 VDI Invalid size

      Thank you for introducing the possibilities XO, but everyone is free to choose their own path. Sorry, but the question is not about the capabilities of XO, I would like to hear who can help me ..

      posted in Development
      R
      rusaev
    • RE: SR_BACKEND_FAILURE_79 VDI Invalid size

      Of course I'm familiar with Xen Orchestra, but it doesn't suit me.

      1. Integration with CRM.
      2. Integration with the company's website.
      3. I am learning and it is very pleasant to do something myself, time does not matter.
      posted in Development
      R
      rusaev
    • SR_BACKEND_FAILURE_79 VDI Invalid size

      Hello everyone.
      I am developing management of VMs via the web.
      Faced the problem of resizing the disk.
      To change I use the VDI.resize function
      I cannot understand this function in what format does it accept data B, KB, MB, GB?
      If I transfer to Byte, writes an error

      API failure. (SR_BACKEND_FAILURE_79 VDI Invalid size [opterr = VDI size must be between 1 MB and 2088960 MB])
      

      If I transfer to KB .... an error

      API failure. (SR_BACKEND_FAILURE_79 VDI Invalid size [opterr = shrinking not allowed])
      

      Maybe someone knows how to do it right?

      posted in Development
      R
      rusaev