[
https://issues.apache.org/jira/browse/DTACLOUD-166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13415042#comment-13415042
]
Michal Fojtik commented on DTACLOUD-166:
----------------------------------------
Hi, I have patch for this on mailing list. Would be OK to generate a random
name (i-#{Time.now.to_i}) when no name is used?
> Creating Vsphere instance without a name parameter returns a 500 error:
> Unhandled exception or status code (missing required parameter name)
> --------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DTACLOUD-166
> URL: https://issues.apache.org/jira/browse/DTACLOUD-166
> Project: DeltaCloud
> Issue Type: Bug
> Components: Server
> Environment: Deltacloud git commit version:
> 4a3fc20bb532296dfaea0c7c23eb09c3c7190f7c
> rhevm
> Reporter: Ronelle Landy
> Assignee: Michal Fojtik
>
> >> curl -X POST -F
> >> "image_id=factory-image-d266fe3b-6a60-4e34-9ffb-c1064da89f6a" -F
> >> "hwp_id=default" -F "architecture=i386" -F "hwp_cpu=3" -F "hwp_storage=10"
> >> -F "hwp_memory=2048" --user 'username:password'
> >> "http://localhost:3008/api/instances?format=json"
> {"status":500,"message":"Unhandled exception or status code (missing required
> parameter name)","url":"/api/instances?format=json"}
> Note that hwp_storage is also ignored here (as expected for now)
--
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