Bug 1726620 - [RFE] While checking brick capacity need to exclude bricks which are part of block hosting volume.
Summary: [RFE] While checking brick capacity need to exclude bricks which are part of ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: cns-ansible
Version: ocs-3.11
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: OCS 3.11.z Batch Update 4
Assignee: John Mulligan
QA Contact: Arun Kumar
URL:
Whiteboard:
Depends On:
Blocks: 1703695
TreeView+ depends on / blocked
 
Reported: 2019-07-03 09:57 UTC by Nitin Goyal
Modified: 2020-02-13 05:22 UTC (History)
10 users (show)

Fixed In Version: openshift-ansible-3.11.136-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-13 05:22:19 UTC
Embargoed:
arukumar: needinfo+


Attachments (Terms of Use)
ansible log file where it is failing for brick capacity of BHV. (81.30 KB, text/plain)
2019-07-03 09:57 UTC, Nitin Goyal
no flags Details

Description Nitin Goyal 2019-07-03 09:57:24 UTC
Created attachment 1587018 [details]
ansible log file where it is failing for brick capacity of BHV.

Description of problem:

As of today in upgrade playbook we are just checking the capacity of bricks. We are not actually verifying whether bricks are related to block hosting volume or not. Because it is not necessary that if BHV brick is full block volume will be also full.

So from preventing upgrade failure, We should verify above as well.


Version-Release number of selected component (if applicable):
openshift-ansible-3.11.123-1.git.0.db681ba.el7.noarch


How reproducible:


Steps to Reproduce:
1. Upgrade glusterfs cluster with upgrade playbook with 98% used block hosting volume.
2.
3.

Actual results:

2019-07-02 20:13:41,017 p=125669 u=root |  fatal: [dhcp46-218.lab.eng.blr.redhat.com -> dhcp46-218.lab.eng.blr.redhat.com]: FAILED! => {"attempts": 120, "changed": false, "msg": "bricks     near capacity found: {u'dhcp46-19.lab.eng.blr.redhat.com': [u'/var/lib/heketi/mounts/vg_966da3e87480fa95ddacd2ad91f49518/brick_7d2df4baf0b1a547ed6f38f57aff7969'], u'dhcp47-107.lab.eng.blr.  redhat.com': [u'/var/lib/heketi/mounts/vg_ab9409e4645b20dd76bf550cab8ef1eb/brick_0cf9feb79abf33fc48eedcab4b3d4c54'], u'dhcp46-35.lab.eng.blr.redhat.com': [u'/var/lib/heketi/mounts/          vg_4c95c52d5ee3d5d5d685c57aeaf5ac04/brick_2571c4a94a15468a37952641e5176da2']}", "state": "unknown"}

Expected results:
It should exclude bricks which are part of BHV.

Additional info:

Comment 2 Jose A. Rivera 2019-07-09 14:42:07 UTC
I see this as an RFE and not a technical requirement for the upgrade playbook. Marking it as such.

Comment 17 RamaKasturi 2019-08-18 14:32:55 UTC
Hello Arun,

  Can you please set the right test coverage flag here ?


Thanks
kasturi


Note You need to log in before you can comment on or make changes to this bug.