RegisterImage sets public by default

Bug #541470 reported by Scott Moser on 2010-03-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Eucalyptus
Confirmed
Undecided
chris grzegorczyk
eucalyptus (Ubuntu)
Medium
Unassigned

Bug Description

euca-register sets 'public' by default

$ euca-register lucid-20100317/lucid-server-uec-amd64.img.manifest.xml
IMAGE emi-E4F7151C
$ euca-describe-images emi-E4F7151C
IMAGE emi-E4F7151C lucid-20100317/lucid-server-uec-amd64.img.manifest.xml admin available public x86_64 machine eki-2ACF1A30 eri-08E019A8

Now, register something in ec2:

$ euca-register --config ~/.eucarc.smoser.ec2 smoser-images-testing-us/bogus-image.manifest.xml
IMAGE ami-db00efb2
$ ec2-describe-images ami-db00efb2
IMAGE ami-db00efb2 smoser-images-testing-us/bogus-image.manifest.xml 950047163771 available private i386 machine instance-store

Note, above, the image registered in eucalyptus defaults to 'public', meaning that the user has to explicitly make something private, and possibly loses a race to do so. I used 'ec2-describe-images' not euca-describe-images due to bug due to bug 541468.

ProblemType: Bug
.etc.eucalyptus.eucalyptus.cc.conf: CC_NAME="cluster1"
Architecture: amd64
Date: Thu Mar 18 14:17:36 2010
DistroRelease: Ubuntu 10.04
EasilyReproduced: Yes
Package: eucalyptus-cc 1.6.2-0ubuntu13
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-16.25-server
SourcePackage: eucalyptus
Uname: Linux 2.6.32-16-server x86_64

Revision history for this message
Scott Moser (smoser) wrote :
Thierry Carrez (ttx) on 2010-03-19
Changed in eucalyptus (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Changed in eucalyptus:
assignee: nobody → chris grzegorczyk (chris-grze)
status: New → Confirmed
summary: - euca-register sets public by default
+ RegisterImage sets public by default
Revision history for this message
Andy Grimm (agrimm) wrote :

This issue is now being tracked upstream at http://eucalyptus.atlassian.net/browse/EUCA-2684

Please watch that issue for further updates.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers