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

Ronelle Landy commented on DTACLOUD-178:
----------------------------------------

Fixed in deltacloud git commit version: 84d3c990959acd90be76f93d1d149d2124f4c94f

>> curl -X POST -F 
>> "image_id=factory-image-865843f1-a34b-457b-98f7-3493c3c1857f" -F 
>> "hwp_id=default" -F "user_data=<user data>" -F "name=rlandyCurlInstance" 
>> --user 'uname:password' "http://localhost:3006/api/instances?format=xml";

[root@10-16-120-100 media]# ls
deltacloud-user-data.txt
[root@10-16-120-100 media]# cat deltacloud-user-data.txt
1|https://<server>|conductor_key|9xxxxxx0[root@10-16-120-100 media]#
                
> Vsphere instance created with user_data - no deltacloud_user_data.txt file in 
> /media 
> -------------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-178
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-178
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>         Environment: Vsphere 5.x
> Fedora 16
> Deltacloud git commit: 7e372dfca79c02a799046287e5936129216b781b root :        
> clone: from https://git-wip-us.apache.org/repos/asf/deltacloud.git
>            Reporter: Ronelle Landy
>            Assignee: Michal Fojtik
>            Priority: Blocker
>
> Taken from user_data test:
> Create instance with Base64-encode user_data:
> HttpResponseDecorator respInstance = restClient.post( path: '/api/instances', 
> contentType: ContentType.XML,
>                       headers: [Accept: 'application/xml'], 
> requestContentType : ContentType.URLENC,
>                       body: ['image_id=' + getVsphereProviderImage() 
>                               + '&hwp_id=' + 'default'
>                               + '&name=rlandyUD'
>                               + '&realm_id=' + realmMap.find{it.value == 
> 'AVAILABLE'}?.key 
>                               + '&user_data=<base64-encoded user data>'])
> Executing: >> /bin/mount /dev/cdrom /media; cat 
> /media/deltacloud-user-data.txt 
> returns empty. 
> /media is empty.
> The user_data has not been saved in /media.

--
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