[ 
https://issues.apache.org/jira/browse/JCLOUDS-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13762128#comment-13762128
 ] 

Maty Grosz commented on JCLOUDS-273:
------------------------------------

http://api.openstack.org/api-ref.html#compute

API: POST, v2/{tenant_id}/servers, Create a Server

Within it (click on 'detail'):
metadata (Optional)   plain     csapi:string    
Metadata key and value pairs. The maximum size of the metadata key and value is 
255 bytes each.

YOu can see there in the examples that the metadata is not included.
                
> JClouds OpenStack Nova v2.0 Server domian doesn't follow OpenStack formal 
> documentation
> ---------------------------------------------------------------------------------------
>
>                 Key: JCLOUDS-273
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-273
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-compute
>            Reporter: Maty Grosz
>
> Using class org.jclouds.openstack.nova.v2_0.domain.Server – look at the 
> constructor “protected Server(… parameters)”:
> OpenStack formal documentation says that the metadata attribute is optional. 
> The constructor above calls to(checkNotNull(metadata, "metadata")) – and 
> fails.
> No need to check that in this case.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to