cirros provided with fuel doesn't support disk resize

Bug #1306717 reported by Andrew Lazarev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Low
Unassigned

Bug Description

Steps to repro:
1. Create tenant with 250Gb of disk
2. Run TestVM image with this tenant

Expected behavior: 250 Gb of space available

Observed behavior:

Only 11 Gb is available

$ sudo df -h
Filesystem Size Used Available Use% Mounted on
/dev 11.8G 0 11.8G 0% /dev
/dev/vda1 23.2M 18.3M 3.7M 83% /
tmpfs 11.8G 0 11.8G 0% /dev/shm
tmpfs 200.0K 76.0K 124.0K 38% /run

$ sudo fdisk -l

Disk /dev/vda: 268.4 GB, 268435456000 bytes
255 heads, 63 sectors/track, 32635 cylinders, total 524288000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot Start End Blocks Id System
/dev/vda1 * 16065 524281274 262132605 83 Linux

Revision history for this message
Mike Scherbakov (mihgen) wrote :

Cirros image provided with Fuel is used primarily for demo purposes, and for OSTF to health check deployed environment. Is there any other image publicly available, which supports disk resize functionality?

Changed in fuel:
milestone: none → 5.0
Revision history for this message
Dmitry Pyzhov (dpyzhov) wrote :

https://bugs.launchpad.net/cirros/+bug/1261710 Looks like it can be fixed with cirros image update.

Changed in fuel:
assignee: nobody → Fuel OSCI Team (fuel-osci)
importance: Undecided → Low
status: New → Confirmed
milestone: 5.0 → 5.1
Revision history for this message
Andrew Lazarev (alazarev) wrote :

Actually I realized that there is no disk space at all.
/dev/vda1 23.2M 18.3M 3.7M 83% /

>Is there any other image publicly available, which supports disk resize functionality?
All images for openstack compliant with requirements (http://docs.openstack.org/image-guide/content/ch_openstack_images.html) support disk resize

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package cirros-testvm has been built from changeset: http://gerrit.mirantis.com/16187
RPM Repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-5.1-stable-16187/centos
You can build an ISO with this package:
make iso EXTRA_RPM_REPOS="osci-testing,http://osci-obs.vm.mirantis.net:82/centos-fuel-5.1-stable-16187/centos"

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OSCI Robot (oscirobot) wrote :

Package cirros-testvm has been built from changeset: http://gerrit.mirantis.com/16188
DEB Repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.1-stable-16188/ubuntu
You can build an ISO with this package:
make iso EXTRA_DEB_REPOS="http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.1-stable-16188/ubuntu /"

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package cirros-testvm has been built from changeset: http://gerrit.mirantis.com/16187
RPM Repository URL: http://osci-obs.vm.mirantis.net:82/centos-fuel-5.1-stable/centos
You can build an ISO with this package:
make iso EXTRA_RPM_REPOS="osci-testing,http://osci-obs.vm.mirantis.net:82/centos-fuel-5.1-stable/centos"

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OSCI Robot (oscirobot) wrote :

Package cirros-testvm has been built from changeset: http://gerrit.mirantis.com/16188
DEB Repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.1-stable/ubuntu
You can build an ISO with this package:
make iso EXTRA_DEB_REPOS="http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-5.1-stable/ubuntu /"

Colin Watson (cjwatson)
Changed in fuel:
assignee: Registry Administrators (registry) → nobody
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.