Hello,

 

    Any idea why the new value for "rootdisksize" parameter does not have
any effect on the instance?

   I executed this via cmk (api):


    scale virtualmachine id=a2b9aca8-4e67-4cb4-8526-e2507b8d3898
serviceofferingid=08f5f8fa-88d7-44c7-8ed5-7f06a6031888
details[0].cpuNumber=1 details[0].memory=1024 details[0].rootdisksize=25

   And the response is:



{

  "virtualmachine": {c API result

    "account": "emeaclient_16_49",

    "affinitygroup": [],

    "cpunumber": 1,

    "cpuspeed": 1600,

    "created": "2023-03-07T10:21:04+0000",

    "details": {

      "Message.ReservedCapacityFreed.Flag": "true",

      "cpuNumber": "1",

      "cpuOvercommitRatio": "2.0",

      "cpuSpeed": "1600",

      "dataDiskController": "osdefault",

      "keyboard": "us",

      "memory": "1024",

      "memoryOvercommitRatio": "2.0",

      "nicAdapter": "Vmxnet3",

      "rootDiskController": "scsi",

      "rootdisksize": "10"

    },

    "displayname": "Test-Scale-March-3",

    "displayvm": true,

    "domain": "cloud16",

    "domainid": "793d17f0-30d3-46c1-adbf-657c4659a624",

    "guestosid": "6428ffbd-1f58-11ec-b6e8-244bfeb8116f",

    "haenable": false,

    "hasannotations": false,

    "hypervisor": "VMware",

    "id": "a2b9aca8-4e67-4cb4-8526-e2507b8d3898",

    "instancename": "i-74-1443-VM",

    "isdynamicallyscalable": false,

    "jobid": "701a1122-0185-43a1-b110-bfbee380f4dd",

    "jobstatus": 0,

    "lastupdated": "2023-03-07T10:30:43+0000",

    "memory": 1024,

    "name": "VM-a2b9aca8-4e67-4cb4-8526-e2507b8d3898",

    "nic": [

      {

        "broadcasturi": "vlan://untagged",

        "deviceid": "0",

        "extradhcpoption": [],

        "gateway": "46.xxx.xxx.49",

        "id": "4e23f2be-ecc5-4793-8cbd-c3bc15920cd1",

        "ipaddress": "46.xxx.xxx.54",

        "isdefault": true,

        "isolationuri": "vlan://untagged",

        "macaddress": "1e:00:cf:00:00:87",

        "netmask": "255.255.255.240",

        "networkid": "3f5fbbe4-fe38-42ae-af2d-01709d7a2e9c",

        "networkname": "Public-NL-01",

        "secondaryip": [],

        "traffictype": "Guest",

        "type": "Shared"

      }

    ],

    "osdisplayname": "Other Linux (64-bit)",

    "ostypeid": "6428ffbd-1f58-11ec-b6e8-244bfeb8116f",

    "passwordenabled": true,

    "pooltype": "VMFS",

    "receivedbytes": 0,

    "rootdeviceid": 0,

    "rootdevicetype": "ROOT",

    "securitygroup": [],

    "sentbytes": 0,

    "serviceofferingid": "08f5f8fa-88d7-44c7-8ed5-7f06a6031888",

    "serviceofferingname": "S-Packages",

    "state": "Stopped",

    "tags": [

      {

        "account": "emeaclient_16_49",

        "domain": "cloud16",

        "domainid": "793d17f0-30d3-46c1-adbf-657c4659a624",

        "key": "service_type",

        "resourceid": "a2b9aca8-4e67-4cb4-8526-e2507b8d3898",

        "resourcetype": "UserVm",

        "value": "S-2"

      },

      {

        "account": "emeaclient_16_49",

        "domain": "cloud16",

        "domainid": "793d17f0-30d3-46c1-adbf-657c4659a624",

        "key": "service_id",

        "resourceid": "a2b9aca8-4e67-4cb4-8526-e2507b8d3898",

        "resourcetype": "UserVm",

        "value": "450"

      }

    ],

    "templatedisplaytext": "RockyLinux-8",

    "templateid": "be405fbf-9ca9-4b90-bf97-9806ebf75b7b",

    "templatename": "RockyLinux-8",

    "userid": "df0acf1e-52a2-4c4f-b4e6-535546cf6b12",

    "username": "emeaclient_16_49",

    "zoneid": "55f0123b-285c-4a70-8b34-565d8454393d",

    "zonename": "EMEA-NL-01"

  }

}

  
I have also changed the value to "true" for
allow.diskoffering.change.during.scale.vm. The only difference is that I do
not see any more the warning in the log "Changing the disk offering of the
root volume during the compute offering change operation is disabled. Please
check the setting [allow.diskoffering.change.during.scale.vm]"

Any suggestion?

Thank you,

Cristian
   

 

Reply via email to