Test for pacemaker resources when disk is full
Bug #1500446 reported by
Sergii Golovatiuk
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Artem Hrechanychenko |
Bug Description
We made a change to Fuel with https:/
Since then pacemaker will stop resources when disk is almost full. However, it would be nice to write automation tests for such cases.
Test:
1. Check that all resources are running
2. Fill in space on partition
3. Check that all resources should be stopped
4. Make more than 10% space on that partition, and run command to clear the health issue:
crm node status-attr <hostname> delete "#health_disk"
5. Make sure that all resources are started on this controller
Changed in fuel: | |
assignee: | nobody → Fuel QA Team (fuel-qa) |
milestone: | none → 8.0 |
Changed in fuel: | |
importance: | Undecided → High |
status: | New → Confirmed |
description: | updated |
tags: | added: non-release system-tests |
tags: | added: feature-qa |
Changed in fuel: | |
assignee: | Fuel QA Team (fuel-qa) → Artem Grechanichenko (agrechanichenko) |
Changed in fuel: | |
status: | Confirmed → In Progress |
tags: | added: area-qa |
tags: | removed: feature-qa non-release |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/237130 /git.openstack. org/cgit/ openstack/ fuel-qa/ commit/ ?id=87abc7b6a2e 0a4167cb838b1c3 85a7a949f38150
Committed: https:/
Submitter: Jenkins
Branch: master
commit 87abc7b6a2e0a41 67cb838b1c385a7 a949f38150
Author: Artem Grechanichenko <email address hidden>
Date: Mon Oct 19 21:28:38 2015 +0300
Getting pacemaker node attribures and node status as dict.
def get_pacemaker_ nodes_attribute s(cibadmin_ status_ xml)
Adding possibility to parse 'cibadmin --query --scope status'.
Function return nested dictionary with node-fqdn and attribute name as keys.
def get_pcs_ nodes(pcs_ status_ xml)
Adding possibility to parse 'pcs status xml'.
and return nested dictionary with node-fqdn and attribute name as keys.
They will be used in test for pacemaker resources when disk is full
Change-Id: Ieabef9eca1eff7 9ac504ae6df1e1a 1409ed276ff
Closes-Bug: #1507721
Related-Bug: #1500446