You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by "Ronelle Landy (Created) (JIRA)" <ji...@apache.org> on 2012/03/26 23:08:28 UTC

[jira] [Created] (DTACLOUD-178) Vsphere instance created with user_data - no deltacloud_user_data.txt file in /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: David Lutterkort
            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

        

[jira] [Commented] (DTACLOUD-178) Vsphere instance created with user_data - no deltacloud_user_data.txt file in /media

Posted by "Ronelle Landy (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DTACLOUD-178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13240375#comment-13240375 ] 

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

>From chat conversation  - confirmed that CD-ROM does exist in the instance created with user-data.
                
> 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

        

[jira] [Assigned] (DTACLOUD-178) Vsphere instance created with user_data - no deltacloud_user_data.txt file in /media

Posted by "David Lutterkort (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DTACLOUD-178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Lutterkort reassigned DTACLOUD-178:
-----------------------------------------

    Assignee: Michal Fojtik  (was: David Lutterkort)
    
> 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

        

[jira] [Closed] (DTACLOUD-178) Vsphere instance created with user_data - no deltacloud_user_data.txt file in /media

Posted by "Ronelle Landy (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DTACLOUD-178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ronelle Landy closed DTACLOUD-178.
----------------------------------

    Resolution: Fixed

Closing this JIRA out - based on test comments above
                
> 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

        

[jira] [Commented] (DTACLOUD-178) Vsphere instance created with user_data - no deltacloud_user_data.txt file in /media

Posted by "Michal Fojtik (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DTACLOUD-178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13239529#comment-13239529 ] 

Michal Fojtik commented on DTACLOUD-178:
----------------------------------------

Hi,

Does the CD-ROM drive exists? Mean there was a problem meanwhile where the image you're using for creating a new instance was defined *without* CD-ROM driver. No drive no fun with user data :-)
                
> 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

        

[jira] [Commented] (DTACLOUD-178) Vsphere instance created with user_data - no deltacloud_user_data.txt file in /media

Posted by "Ronelle Landy (Commented) (JIRA)" <ji...@apache.org>.
    [ 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