[workspace-user] can image in cumulus repository be shared by different users?
Zongjun Hu
zhu at med.miami.edu
Thu Nov 17 15:22:33 CST 2011
I am not too sure. I renamed the local image file to a new name and
transfer it to cumulus. I got the same error with this new image name,
$ nimbus-cloud-client-020/bin/cloud-client.sh --list
Picked up _JAVA_OPTIONS: -Xms16m -Xmx128m
[Image] 'centos53' Read only
Modified: Nov 17 2011 @ 14:17 Size: 3145728000 bytes (~3000
MB)
[Image] 'centos53.new' Read only
Modified: Nov 17 2011 @ 16:19 Size: 3145728000 bytes (~3000
MB)
[Image] 'ubuntu10.10' Read only
Modified: Nov 17 2011 @ 14:24 Size: 2147483648 bytes (~2048
MB)
$ nimbus-cloud-client-020/bin/cloud-client.sh --run --name centos53.new
--hours 1
Picked up _JAVA_OPTIONS: -Xms16m -Xmx128m
Problem: Problem with image name 'centos53.new':
org.jets3t.service.S3ServiceException: Request Error [<?xml
version="1.0" ?><Error><Code>AccessDenied</Code><Message>Access
Denied</Message><Resource>/Repo/VMS%2Fcommon%
2Fcentos53.new</Resource><RequestId>0951e0a0116211e190dd001a645d37bc</RequestId></Error>]. GET '/Repo/VMS%2Fcommon%2Fcentos53.new' on Host 'n0183.pegasus.edu:8888' @ 'Thu, 17 Nov 2011 21:20:55 GMT' -- ResponseCode: 403, ResponseStatus: Forbidden, RequestId: 0951e0a0116211e190dd001a645d37bc, HostId: : 0952748e-1162-11e1-90dd-001a645d37bc
On Thu, 2011-11-17 at 16:09 -0500, John Bresnahan wrote:
> Did either of those images exist before you uploaded them?
>
> can you look in the cumulus log file and send any relevant information?
>
> On 11/17/2011 11:05 AM, Zongjun Hu wrote:
> > I got the same error on client-20. The message says this operation is forbidden.
> >
> > $ nimbus-cloud-client-020/bin/cloud-client.sh --list
> > [Image] 'centos53' Read only
> > Modified: Nov 17 2011 @ 14:17 Size: 3145728000 bytes (~3000 MB)
> >
> > [Image] 'ubuntu10.10' Read only
> > Modified: Nov 17 2011 @ 14:24 Size: 2147483648 bytes (~2048 MB)
> >
> >
> > $ nimbus-cloud-client-020/bin/cloud-client.sh --run --name centos53 --hours 1
> > Picked up _JAVA_OPTIONS: -Xms16m -Xmx128m
> > Problem: Problem with image name 'centos53': org.jets3t.service.S3ServiceException: Request Error
> > [<?xml version="1.0" ?><Error><Code>AccessDenied</Code><Message>Access
> > Denied</Message><Resource>/Repo/VMS%2Fcommon%2Fcentos53</Resource><RequestId>a0810bd4115f11e190dd001a645d37bc</RequestId></Error>].
> > GET '/Repo/VMS%2Fcommon%2Fcentos53' on Host 'n0183.pegasus.edu:8888' @ 'Thu, 17 Nov 2011 21:03:41
> > GMT' -- ResponseCode: 403, ResponseStatus: Forbidden, RequestId: a0810bd4115f11e190dd001a645d37bc,
> > HostId: : a08199fa-115f-11e1-90dd-001a645d37bc
> > [andres at u01 ~]$
> >
> >
> > On Thu, 2011-11-17 at 15:54 -0500, John Bresnahan wrote:
> >> can you try again with cloud-client 20 and make sure that the name you upload to does not already
> >> exist?
> >>
> >> On 11/17/2011 10:52 AM, Zongjun Hu wrote:
> >> > client-019
> >> > nimbus-2.8
> >> >
> >> > On Thu, 2011-11-17 at 15:49 -0500, John Bresnahan wrote:
> >> >> Other users should be able to launch instances of that image.
> >> >>
> >> >> What version of Nimbus and cloud client are you using?
> >> >>
> >> >> On 11/17/2011 10:45 AM, Zongjun Hu wrote:
> >> >>> Hi John,
> >> >>>
> >> >>> I got one problem however.
> >> >>>
> >> >>> I uploaded an image with '--common' option. Now other users can see it,
> >> >>> but they cannot launch an instance from it. Permission errors reported,
> >> >>>
> >> >>> Problem: Problem with image name 'centos53':
> >> >>> org.jets3t.service.S3ServiceException: Request Error [<?xml
> >> >>> version="1.0" ?><Error><Code>AccessDenied</Code><Message>Access
> >> >>> Denied</Message><Resource>/Repo/VMS%2Fcommon%
> >> >>> 2Fcentos53</Resource><RequestId>8b7cad7c115c11e190dd001a645d37bc</RequestId></Error>]. GET '/Repo/VMS%2Fcommon%2Fcentos53' on Host 'n0183.pegasus.edu:8888' @ 'Thu, 17 Nov 2011 20:41:37 GMT' -- ResponseCode: 403, ResponseStatus: Forbidden, RequestId: 8b7cad7c115c11e190dd001a645d37bc, HostId: : 8b7d3d46-115c-11e1-90dd-001a645d37bc
> >> >>>
> >> >>>
> >> >>> I can launch instance with this image. Other users have no problem to
> >> >>> launch instance with images uploaded by themselves.
> >> >>>
> >> >>> Did I miss something?
> >> >>>
> >> >>> Thanks.
> >> >>>
> >> >>> Zongjun
> >> >>>
> >> >>> On Thu, 2011-11-17 at 13:23 -0500, John Bresnahan wrote:
> >> >>>> Yes, you can do this. When you upload an image use the --common option to cloud-client. This will
> >> >>>> put the image in a public read-only location. All users should then be able to launch it and see it
> >> >>>> listed when running cloud-client --list.
> >> >>>>
> >> >>>> On 11/17/2011 07:16 AM, Zongjun Hu wrote:
> >> >>>>> Hi All,
> >> >>>>>
> >> >>>>> Can different users see the same image in cumulus repository and start
> >> >>>>> instance with it?
> >> >>>>>
> >> >>>>> I would like provide several popular images for users. If users download
> >> >>>>> those images and upload to their cumulus places, that will waste lots of
> >> >>>>> space. In order to make this work, I also need to make those shared
> >> >>>>> images read-only.
> >> >>>>>
> >> >>>>> Any idea?
> >> >>>>>
> >> >>>>> Thanks.
> >> >>>>>
> >> >>>>> Zongjun
> >> >>>>>
> >> >>>>
> >> >>>
> >> >>>
> >> >>
> >> >
> >> >
> >>
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.globus.org/pipermail/workspace-user/attachments/20111117/9301ff47/attachment.htm>
More information about the workspace-user
mailing list