tried changing lvm_meta_size to 128
https://github.com/openstack/fuel-web/blob/stable/7.0/nailgun/nailgun/extensions/volume_manager/manager.py#L816
failed once again, with
NotEnoughSpaceError: Error while creating lv: vg os has only 16380 m of free space, but at least 16384 m is needed
http://paste.openstack.org/show/487091/
pvcreate --metadatacopies 2 --metadatasize 60m /dev/sda4
4:425MiB:68137MiB:67712MiB::primary:;
2016-02-16 11:43:42 INFO fuel_agent.utils.lvm [-] Found volume groups: [{'size': 67580, 'name': 'os', 'free': 67580, 'uuid': 'GkoCA6-KuUB-Ze07-HMl5-li2T-AOBs-Zy6Ufr'}] 2016-02-16 11:43:42 INFO fuel_agent.utils.utils [-] Trying to execute command: vgdisplay -C --noheading --units m --options vg_name,vg_uuid,vg_size,vg_free --separator ; 2016-02-16 11:43:42 INFO fuel_agent.utils.utils [-] Trying to execute command: vgcreate os /dev/sda4
[14:48:45] Alexander Gordeev: In [19]: 67580-67712 Out[19]: -132
132, but metadata took only 120. The same 12-16M.
Could it be related to optimal i/o size alignment?
lsblk -t reported 16M opt i/o size NAME ALIGNMENT MIN-IO OPT-IO PHY-SEC LOG-SEC ROTA SCHED RQ-SIZE sda 0 16384 16777216 512 512 1 cfq 128 128 ├─sda1 0 16384 16777216 512 512 1 cfq 128 128 ├─sda2 15872 16384 16777216 512 512 1 cfq 128 128 ├─sda3 15872 16384 16777216 512 512 1 cfq 128 128 ├─sda4 15872 16384 16777216 512 512 1 cfq 128 128 │ └─os-root (dm-0) 0 16384 16777216 512 512 1 128 128 ├─sda5 15872 16384 16777216 512 512 1 cfq 128 128 ├─sda6 15872 16384 16777216 512 512 1 cfq 128 128 └─sda7 15872 16384 16777216 512 512 1 cfq 128 128
tried changing lvm_meta_size to 128
https:/ /github. com/openstack/ fuel-web/ blob/stable/ 7.0/nailgun/ nailgun/ extensions/ volume_ manager/ manager. py#L816
failed once again, with
NotEnoughSpaceE rror: Error while creating lv: vg os has only 16380 m of free space, but at least 16384 m is needed
http:// paste.openstack .org/show/ 487091/
pvcreate --metadatacopies 2 --metadatasize 60m /dev/sda4
4:425MiB: 68137MiB: 67712MiB: :primary: ;
2016-02-16 11:43:42 INFO fuel_agent. utils.lvm [-] Found volume groups: [{'size': 67580, 'name': 'os', 'free': 67580, 'uuid': 'GkoCA6- KuUB-Ze07- HMl5-li2T- AOBs-Zy6Ufr' }] utils.utils [-] Trying to execute command: vgdisplay -C --noheading --units m --options vg_name, vg_uuid, vg_size, vg_free --separator ; utils.utils [-] Trying to execute command: vgcreate os /dev/sda4
2016-02-16 11:43:42 INFO fuel_agent.
2016-02-16 11:43:42 INFO fuel_agent.
[14:48:45] Alexander Gordeev: In [19]: 67580-67712
Out[19]: -132
132, but metadata took only 120. The same 12-16M.
Could it be related to optimal i/o size alignment?
lsblk -t reported 16M opt i/o size
NAME ALIGNMENT MIN-IO OPT-IO PHY-SEC LOG-SEC ROTA SCHED RQ-SIZE
sda 0 16384 16777216 512 512 1 cfq 128 128
├─sda1 0 16384 16777216 512 512 1 cfq 128 128
├─sda2 15872 16384 16777216 512 512 1 cfq 128 128
├─sda3 15872 16384 16777216 512 512 1 cfq 128 128
├─sda4 15872 16384 16777216 512 512 1 cfq 128 128
│ └─os-root (dm-0) 0 16384 16777216 512 512 1 128 128
├─sda5 15872 16384 16777216 512 512 1 cfq 128 128
├─sda6 15872 16384 16777216 512 512 1 cfq 128 128
└─sda7 15872 16384 16777216 512 512 1 cfq 128 128