cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Johnson (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-10056) Cannot specify root disk controller when creating VM
Date Thu, 24 Aug 2017 19:14:02 GMT
Nathan Johnson created CLOUDSTACK-10056:
-------------------------------------------

             Summary: Cannot specify root disk controller when creating VM
                 Key: CLOUDSTACK-10056
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10056
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: API, KVM
    Affects Versions: 4.10.0.0
         Environment: cloudstack 4.10, kvm hosts
            Reporter: Nathan Johnson
            Assignee: Nathan Johnson
            Priority: Minor


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


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

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




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message