Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-10056

Cannot specify root disk controller when creating VM

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.10.0.0
    • Fix Version/s: None
    • Component/s: API, KVM
    • Security Level: Public (Anyone can view this level - this is the default.)
    • Labels:
      None
    • Environment:
      cloudstack 4.10, kvm hosts

      Description

      You cannot specify root disk controller when creating a vm because it throws in this section of code starting here:

      https://github.com/apache/cloudstack/blob/250c47eb62f51357a68394bc2f73e5d66af49f77/server/src/com/cloud/vm/UserVmManagerImpl.java#L3623

                      for (String key : customParameters.keySet()) {
                          //handle double byte strings.
                          vm.setDetail(key, Integer.toString(Integer.parseInt(customParameters.get(key))));
                      }
      

      Since the value "scsi" is non-numeric, this throws an exception when passed.

        Attachments

          Activity

            People

            • Assignee:
              nathanejohnson Nathan Johnson
              Reporter:
              nathanejohnson Nathan Johnson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: