[Bug 537464] [NEW] 'euca-describe-availability-zones verbose' should show vm types for non-admin users

Andrew Glen-Young agy at canonical.com
Thu Mar 11 16:30:21 GMT 2010


Public bug reported:

Running 'euca-describe-availability-zones verbose' as a non-admin user
shows the availability zone status _only_ and does not show what vm
instances are available.

I don't think that displaying the available vm types should be limited
to the admin user only.  I cannot think of a valid reason for this
restriction (however I am happy to be proven wrong).

The 'getDescriptionEntry' function in clc/modules/cluster-
manager/src/main/java/edu/ucsb/eucalyptus/cloud/cluster/ClusterEndpoint.java
seems to be the culprit.

----

Running the command as an admin user:

$ euca-describe-availability-zones verbose
AVAILABILITYZONE        mycloud     127.0.0.1
AVAILABILITYZONE        |- vm types     free / max   cpu   ram  disk
AVAILABILITYZONE        |- m1.small     0031 / 0032   1    128     2
AVAILABILITYZONE        |- c1.medium    0031 / 0032   1    256     5
AVAILABILITYZONE        |- m1.large     0015 / 0016   2    512    10
AVAILABILITYZONE        |- m1.xlarge    0015 / 0016   2   1024    20
AVAILABILITYZONE        |- c1.xlarge    0007 / 0008   4   2048    20

Running the command as a non-admin user:

$ euca-describe-availability-zones verbose
AVAILABILITYZONE        mycloud     127.0.0.1

** Affects: eucalyptus (Ubuntu)
     Importance: Undecided
         Status: New

-- 
'euca-describe-availability-zones verbose' should show vm types for non-admin users
https://bugs.launchpad.net/bugs/537464
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.



More information about the Ubuntu-server-bugs mailing list