partition not resizing in Folsom

Bug #1086890 reported by Edgardo Vega
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned

Bug Description

I am running openstack on centos 6.3. I was running Essex and then upgraded to Folsom in place.

The problem is that now the root partition does not grow with the disk. I am using the exact image as I used to in Essex.

Not sure what other information I can provide, just let me know and I will dig it up.

Revision history for this message
Chuck Short (zulcss) wrote :

How are you resizing the image?

Changed in nova:
status: New → Incomplete
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

We cannot solve the issue you reported without more information. Could you please provide the requested information ?

Revision history for this message
Thierry Carrez (ttx) wrote :

This bug lacks the necessary information to effectively reproduce and fix it, therefore it has been closed. Feel free to reopen the bug by providing the requested information and set the bug status back to ''New''.

Changed in nova:
status: Incomplete → Invalid
Revision history for this message
kesten broughton (dathomir) wrote :
Download full text (3.8 KiB)

We are unable to resize the disk of centos images on our grizzly cloud.

I am seeing this with a 3 controller HA running ubuntu 12.04 and centos 6.5 compute nodes.
We are running grizzly,

We have tried 4 different centos images online including http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-disk.img from the official documentation.
Many centos images that avertise themselves as openstack ready do not actually bundle growroot and growpart with cloud-init, such as http://mirror.catn.com/pub/catn/images/qcow2/centos6.4-x86_64-gold-master.img, however, the cirros image does.

To reproduce
1. Upload any centos image to grizzly openstack
2. Select a non-zero hardisk for flavor
3. Boot the instance
4. Check the disk with df and fdisk -l and note the mounted disk has the correct size, but the partition is the size of root partition on the centos image not of that requested by the flavor. I have not found a workaround to resize post-boot and I have read that this must be done on first boot.

DETAILS:
Note that following the same steps above for ubuntu images works as expected.

glance image-create --name cirros-0.3.1-x86_64-disk.img --disk-format=qcow2 --container-format=bare --is-public=True < cirros-0.3.1-x86_64-disk.img
+------------------+--------------------------------------+
| Property | Value |
+------------------+--------------------------------------+
| checksum | d972013792949d0d3ba628fbe8685bce |
| container_format | bare |
| created_at | 2014-03-16T15:51:12 |
| deleted | False |
| deleted_at | None |
| disk_format | qcow2 |
| id | d115216f-8dd7-4d18-b82f-6f13831bfe7b |
| is_public | True |
| min_disk | 0 |
| min_ram | 0 |
| name | cirros-0.3.1-x86_64-disk.img |
| owner | 8816b12314484ed88829cf2041f2ff1a |
| protected | False |
| size | 13147648 |
| status | active |
| updated_at | 2014-03-16T15:51:13 |
+------------------+--------------------------------------+

root@node-8:~# nova flavor-list
+--------------------------------------+--------------+-----------+------+-----------+------+-------+-------------+-----------+-------------+
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public | extra_specs |
+--------------------------------------+--------------+-----------+------+-----------+------+-------+-------------+-----------+-------------+
| 7d0c634a-2368-49b5-9efd-0527f69b6973 | 4c_4m_20d | 4096 | 20 | 0 | | 4 | 1.0 | True | {} |

+--------------------------------------+--------------+-----------+------+-----------+------+-------+-------------+-----------+-------------+

$ d...

Read more...

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.