[
https://issues.apache.org/jira/browse/DTACLOUD-91?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ronelle Landy closed DTACLOUD-91.
---------------------------------
Closing this issue as fixed. Using deltacloud commit version:
4a3fc20bb532296dfaea0c7c23eb09c3c7190f7c, a user is able to create a new
instance with CPU specified:
curl -X POST -F "image_id=50a7308e-280c-482b-b87e-cd6e73db1f0a" -F
"hwp_id=DESKTOP" -F "hwp_cpu=9" -F "hwp_storage=102400" -F "hwp_memory=12000"
--user "username:password" "http://localhost:3006/api/instances?format=xml"
<?xml version='1.0' encoding='utf-8' ?>
<instance
href='http://localhost:3006/api/instances/132d0dc3-35ea-4680-9b71-3b7b0b709320'
id='132d0dc3-35ea-4680-9b71-3b7b0b709320'>
<name>i-1332341583</name>
<owner_id>admin@internal</owner_id>
<image
href='http://localhost:3006/api/images/50a7308e-280c-482b-b87e-cd6e73db1f0a'
id='50a7308e-280c-482b-b87e-cd6e73db1f0a'></image>
<realm
href='http://localhost:3006/api/realms/ba2b3a52-4303-11e1-b6c2-5cf3fc1c861c'
id='ba2b3a52-4303-11e1-b6c2-5cf3fc1c861c'></realm>
<state>PENDING</state>
<hardware_profile href='http://localhost:3006/api/hardware_profiles/DESKTOP'
id='DESKTOP'>
<property kind='fixed' name='memory' unit='MB' value='12000'></property>
<property kind='fixed' name='cpu' unit='count' value='9'></property>
<property kind='fixed' name='storage' unit='GB' value='1'></property>
</hardware_profile>
<actions>
<link
href='http://localhost:3006/api/images;instance_id=132d0dc3-35ea-4680-9b71-3b7b0b709320'
method='post' rel='create_image' />
</actions>
<launch_time>2012-03-21T10:53:04.475-04:00</launch_time>
<public_addresses><address type='mac'>00:1a:4a:10:78:2c</address>
<address port='5890' type='vnc'>127.0.0.1</address></public_addresses>
<private_addresses></private_addresses>
</instance>
> Broken validation for Range hardware profile properties
> -------------------------------------------------------
>
> Key: DTACLOUD-91
> URL: https://issues.apache.org/jira/browse/DTACLOUD-91
> Project: DeltaCloud
> Issue Type: Bug
> Environment: deltacloud-core < r1181084
> Reporter: Michal Fojtik
> Assignee: Michal Fojtik
> Priority: Critical
>
> Joe found a bug in RHEV-M when he tried to start a new instance he got 400
> with validation error message on CPU property.
> This was caused by mistake in our validation suite where I used 'value'
> instead of 'values'. This problem was already fixed.
--
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