Pacemaker fails whole deploy because of insufficient disk space on mongo partition
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Maksim Malchuk | ||
8.0.x |
Fix Released
|
High
|
Maksim Malchuk | ||
Mitaka |
Fix Released
|
High
|
Maksim Malchuk |
Bug Description
Fuel 8.0 has no minimal disk space checks for mongo(at least) logical volume (mounted to /var/lib/mongo)
Deploy fails on pacemaker which dismissing the controller node during deploy because of low disk space.
Default node-health-
How to reproduce:
1) Make an environment with a single controller, add mongo role to the controller, set mongo partition to 11 Gb.
2) Start deploy and wail till it fails.
Check it on the controller node:
# df -h
Filesystem Size Used Avail Use% Mounted on
...
/dev/
# cibadmin -Q | grep health_disk
<nvpair id="status-
# crm resource list
Clone Set: clone_p_vrouter [p_vrouter]
Stopped: [ node-1.domain.tld ]
vip__management (ocf::fuel:
vip__baremetal (ocf::fuel:
vip__vrouter_pub (ocf::fuel:
vip__vrouter (ocf::fuel:
vip__public (ocf::fuel:
Master/Slave Set: master_p_conntrackd [p_conntrackd]
Stopped: [ node-1.domain.tld ]
sysinfo_
Clone Set: clone_p_haproxy [p_haproxy]
Stopped: [ node-1.domain.tld ]
=======
# cat /etc/fuel/
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "8.0"
api: "1.0"
build_number: "570"
build_id: "570"
fuel-nailgun_sha: "558ca91a854cf2
python-
fuel-agent_sha: "658be72c4b42d3
fuel-
astute_sha: "b81577a5b7857c
fuel-library_sha: "c2a335b5b725f1
fuel-ostf_sha: "3bc76a63a9e7d1
fuel-mirror_sha: "fb45b80d7bee58
fuelmenu_sha: "78ffc73065a967
shotgun_sha: "63645dea384a37
network-
fuel-upgrade_sha: "616a7490ec7199
fuelmain_sha: "d605bcbabf3153
summary: |
- Pacemaker fails to deploy because of insufficient disk space for mongo + Pacemaker fails whole deploy because of insufficient disk space on mongo partition |
no longer affects: | fuel/future |
Changed in fuel: | |
milestone: | none → 10.0 |
tags: | added: area-library |
Changed in fuel: | |
assignee: | nobody → Fuel Library Team (fuel-library) |
importance: | Undecided → High |
status: | New → Confirmed |
tags: | added: on-verification |
The minimum size is determined in nailgun logic. It is 10gb /github. com/openstack/ fuel-web/ blob/stable/ 8.0/nailgun/ nailgun/ extensions/ volume_ manager/ manager. py#L830
https:/
Perhaps the minimum size should be 20gb. Moving to fuel-python