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

Cannot specify root disk controller when creating VM

Add voteWatch issue
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.10.0.0
    • None
    • API, KVM
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None
    • 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

            nathanejohnson Nathan Johnson
            nathanejohnson Nathan Johnson

            Dates

              Created:
              Updated:

              Slack

                Issue deployment