[ 
https://issues.apache.org/jira/browse/DTACLOUD-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ronelle Landy closed DTACLOUD-86.
---------------------------------


Closing this JIRA as fixed. Using deltacloud commit version: 
4a3fc20bb532296dfaea0c7c23eb09c3c7190f7c,

curl -X POST -F "image_id=factory-image-d266fe3b-6a60-4e34-9ffb-c1064da89f6a" 
-F "hwp_id=default" -F "architecture=i386" -F "hwp_cpu=3.0" -F "hwp_storage=0" 
-F "hwp_memory=2048"  --user 'username:password' 
"http://localhost:3008/api/instances?format=json";

{"status":400,"message":"Invalid CPU value. Must be in integer 
format","url":"/api/instances?format=json"}
                
> instance creation: hwp_cpu is not validated strictly enough
> -----------------------------------------------------------
>
>                 Key: DTACLOUD-86
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-86
>             Project: DeltaCloud
>          Issue Type: Bug
>            Reporter: David Lutterkort
>            Assignee: Michal Fojtik
>
> vSphere wants the number of cpu's to be an integer. We accept any string for 
> hwp_cpu. That parameter should be validated as an integer, and passing in 
> 'hwp_cpu=1.0' should lead to a clear error.
> This is the DC side of https://bugzilla.redhat.com/show_bug.cgi?id=743718

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to