Bug 1706000 - OCS upgrade playbook does not do a health check for heketi and glusterblock provisioner pod after upgrade
Summary: OCS upgrade playbook does not do a health check for heketi and glusterblock p...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: cns-ansible
Version: ocs-3.11
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: ---
Assignee: Jose A. Rivera
QA Contact: Ashmitha Ambastha
URL:
Whiteboard:
Depends On:
Blocks: 1703695
TreeView+ depends on / blocked
 
Reported: 2019-05-03 11:39 UTC by Ashmitha Ambastha
Modified: 2019-05-06 13:18 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-06 13:18:11 UTC
Embargoed:


Attachments (Terms of Use)

Description Ashmitha Ambastha 2019-05-03 11:39:42 UTC
Description of problem:
After the upgrade of all the pods is performed, the upgrade playbook should check the health of the heketi and glusterblock provisioner pod and only then pass the playbook run. It should fail if all OCS pods are unhealthy.

Version-Release number of selected component (if applicable): OCS 3.11


How reproducible: always


Steps to Reproduce:
1. Deploy a cluster to be upgraded. 
2. Run IOs on the cluster before performing an upgrade using the upgrade playbook. 
3. Run the upgrade playbook, 
# ansible-playbook -i <inv_file> /usr/share/ansible/openshift-ansible/playbooks/openshift-glusterfs/upgrade.yml 
4. If the health of heketi and glusterblock provisioner pod is not 1/1 and Running state, the playbook should fail. 
5. If the health of heketi and glusterblock provisioner pod is 1/1 and Running state, the playbook should pass. 

Actual results: The upgrade playbook doesn't check the heketi and glusterblock provisisoner pod health once upgrading successfully. 


Expected results: The upgrade playbook should check the heketi and glusterblock provisisoner pod health once upgrading successfully.

Comment 2 Jose A. Rivera 2019-05-06 13:18:11 UTC
This is already taken care of.

heketi: https://github.com/openshift/openshift-ansible/blob/release-3.11/roles/openshift_storage_glusterfs/tasks/heketi_deploy.yml#L58-L70

glusterblock-provisioner: https://github.com/openshift/openshift-ansible/blob/release-3.11/roles/openshift_storage_glusterfs/tasks/glusterblock_deploy.yml#L28-L40

Both tasks do not succeed until a pod is found that is "Ready".

Closing this as NOTABUG.


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