[cinder ] Cinder creates volumes with overall size larger than OSD node capacity
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Mirantis OpenStack | Status tracked in 10.0.x | |||||
10.0.x |
In Progress
|
Medium
|
Ivan Kolodyazhny | |||
6.1.x |
Won't Fix
|
Medium
|
Ivan Kolodyazhny | |||
7.0.x |
Won't Fix
|
Medium
|
Yuriy Nesenenko | |||
8.0.x |
Won't Fix
|
Medium
|
MOS Cinder | |||
9.x |
Won't Fix
|
Medium
|
MOS Cinder |
Bug Description
Steps:
1. Prepare environment:
Nodes: 1 storage with CephOSD (Replication Factor=1), 1 controller, 1 compute
Neutron with VLAN, Ubuntu 14.04.1.
2. Check sizes of storage volumes on storage node:
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/os-root 15G 1.6G 13G 12% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 2.0G 12K 2.0G 1% /dev
tmpfs 396M 1.8M 394M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 2.0G 0 2.0G 0% /run/shm
none 100M 0 100M 0% /run/user
/dev/vda3 196M 36M 151M 19% /boot
/dev/vdc4 50G 2.1G 48G 5% /var/lib/
/dev/vdb4 50G 2.1G 48G 5% /var/lib/
Note that total available space of Ceph volumes is 48+48=96 GB
3. Create volumes:
# cinder create 60 --display-name VOLUME-1
# cinder create 60 --display-name VOLUME-2
# cinder create 60 --display-name VOLUME-3
Wait a minute between every volume creation.
4. Check that volumes are created.
# cinder list
+------
| ID | Status | Display Name | Size | Volume Type | Bootable | Attached to |
+------
| 298f1629-
| a6a77d4c-
| ab7953fe-
+------
Expected that total size of created volumes can not be more than CephOSDs storage size.
Actually we created volumes of 180 GB totally, that is larger than available 96 GB.
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "6.1"
openstack_
api: "1.0"
build_number: "338"
build_id: "2015-04-
nailgun_sha: "4972120d5a5d41
python-
astute_sha: "5be3506e6a4f8b
fuel-library_sha: "9b26cb98e7ceb9
fuel-ostf_sha: "dcda5a869d1780
fuelmain_sha: "2f8be90209e709
Diagnostic snapshot: https:/
Changed in mos: | |
assignee: | nobody → MOS Cinder (mos-cinder) |
Changed in mos: | |
status: | New → Confirmed |
Changed in mos: | |
milestone: | none → 6.1 |
importance: | Undecided → High |
assignee: | MOS Cinder (mos-cinder) → Ivan Kolodyazhny (e0ne) |
Changed in mos: | |
status: | Confirmed → In Progress |
Changed in mos: | |
importance: | High → Medium |
Changed in mos: | |
milestone: | 6.1 → 7.0 |
Changed in mos: | |
milestone: | 7.0 → 6.1 |
Changed in mos: | |
status: | In Progress → Won't Fix |
tags: |
added: area-cinder removed: cinder |
tags: | added: move-to-10.0 |
tags: | added: 10.0-reviewed |
Cinder uses thin provisioning for Ceph. It means it allocates only needed space for volume in a storage backend. So I propose to make it medium