Eucalyptus allows volume creation beyond the limit set in the configuration

Bug #1017729 reported by Troy Bleeker
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
eucalyptus (Ubuntu)
Confirmed
High
Unassigned

Bug Description

root@cirrusmatic:~# lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04

root@cirrusmatic:~# apt-cache policy eucalyptus-common
eucalyptus-common:
  Installed: 2.0.1+bzr1256-0ubuntu4.2
  Candidate: 2.0.1+bzr1256-0ubuntu4.2
  Version table:
 *** 2.0.1+bzr1256-0ubuntu4.2 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2.0.1+bzr1256-0ubuntu4.1 0
        500 http://security.ubuntu.com/ubuntu/ natty-security/main amd64 Packages
     2.0.1+bzr1256-0ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages

We have the "Disk space reserved for volumes" is set to 6000000 but the creation of volumes went beyond this limit. After a system crash we deleted volumes to get back on our feet, so we are not in a position to reproduce the issue at this time.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: eucalyptus-common 2.0.1+bzr1256-0ubuntu4.2
ProcVersionSignature: Ubuntu 2.6.38-13.53-server 2.6.38.8
Uname: Linux 2.6.38-13-server x86_64
.etc.eucalyptus.eucalyptus.cc.conf: CC_NAME="cirruscluster"
Architecture: amd64
Date: Mon Jun 25 17:32:11 2012
InstallationMedia: Ubuntu-Server 11.04 "Natty Narwhal" - Release amd64 (20110426)
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: eucalyptus
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Troy Bleeker (bleeker-troy) wrote :
Changed in eucalyptus (Ubuntu):
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in eucalyptus (Ubuntu):
status: New → Confirmed
Revision history for this message
Andy Grimm (agrimm) wrote :

While the UI itself does not clearly state the units of this setting, you can see it in the code in clc/modules/core/src/main/java/edu/ucsb/eucalyptus/cloud/entities/StorageInfo.java:

       @ConfigurableField( description = "Total disk space reserved for volumes", displayName = "Disk space reserved for volumes" )
        @Column( name = "system_storage_volume_size_gb" )
        private Integer maxTotalVolumeSizeInGb;

So the unit is GB, meaning that a value of "6000000" is approximately 6 Petabytes. I am guessing you were specifying this assuming that it was a smaller unit.

Revision history for this message
Troy Bleeker (bleeker-troy) wrote :

Then may I suggest this is still a bug but the bug is in the GUI. On the same browser panel for UEC configuration, above the entry field this bug report discusses, are other entry fields that specify "(MB)" or "(GB)" after the text. The text for this field should be modified so someone else does not make the same assumption that we did. That assumption was that the units were the same as the entry field right above it. That field being "Max volume size:". Therefore I would also suggest that, at the least, both field display names should have units added to the end of them so it looks like this:

Max volume size (MB):
Disk space reserved for volumes (GB):

That is, unless you tell me that max volume size is also in GB?

Revision history for this message
Troy Bleeker (bleeker-troy) wrote :

I did confirm that the units for the Max volume size is also GB. The GUI should be updated.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.