Bug 1623872 - Independent mode of OCS installation for application with registry tries to create heketi pod once again
Summary: Independent mode of OCS installation for application with registry tries to c...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: CNS-deployment
Version: cns-3.10
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Michael Adam
QA Contact: Prasanth
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-30 11:11 UTC by SATHEESARAN
Modified: 2019-04-16 12:34 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-16 12:34:29 UTC
Embargoed:


Attachments (Terms of Use)
inventory file used to deploy oc cluster and heketi (2.78 KB, application/octet-stream)
2018-08-30 11:31 UTC, SATHEESARAN
no flags Details
inventory file used to deploy registry,logging and metrics (5.43 KB, application/octet-stream)
2018-08-30 11:32 UTC, SATHEESARAN
no flags Details
ansible log file corresponding to oc cluster deploy (13.32 MB, application/octet-stream)
2018-08-30 11:35 UTC, SATHEESARAN
no flags Details
ansible log file corresponding to oc cluster deploy (13.21 MB, application/octet-stream)
2018-08-30 11:38 UTC, SATHEESARAN
no flags Details
ansible log file corresponding to registry,logging and metrics (13.32 MB, application/octet-stream)
2018-08-30 11:47 UTC, SATHEESARAN
no flags Details

Description SATHEESARAN 2018-08-30 11:11:19 UTC
Description of problem:
-----------------------
This installation issue is seen with independent mode of installation of OCS 3.10 in a brown field fashion

OC cluster setup was up, post that trying to setup registry, logging & metrics. While doing that used the same playbook ( used to create OC cluster ) with parameters required for registry, logging & metrics.

On the deployment ( playbooks/openshift-gluster/config.yml ),  ansible tries to create heketi pod once again and fails as the bricks are already carved out of /dev/sdd.

Version-Release number of selected component (if applicable):
--------------------------------------------------------------
OCP 3.10
RHGS 3.4.0 nightly ( glusterfs-3.12.2-18.el7rhgs )

How reproducible:
-----------------
consistent ( 6/6 )

Steps to Reproduce:
--------------------
1. Run the ansible playbook - playbooks/deploy_cluster.yml - to deploy cluster ( with the inventory file attached, referred as inventory1 )
2. Add the registry, logging & parameters related parameters to the same inventory file ( inventory2 )
3. Run the ansible playbook - playbooks/openshift-glusterfs/config.yml - to deploy registry, logging & metric related pods.

Actual results:
---------------
Deployment of registry, logging & metrics fails as the ansible once again tries to create heketi pod, which is already available

Expected results:
-----------------
Deployment of registry, logging & metrics should happen successfully



Additional info:

Comment 2 SATHEESARAN 2018-08-30 11:31:24 UTC
Created attachment 1479753 [details]
inventory file used to deploy oc cluster and heketi

Comment 3 SATHEESARAN 2018-08-30 11:32:00 UTC
Created attachment 1479754 [details]
inventory file used to deploy registry,logging and metrics

Comment 4 SATHEESARAN 2018-08-30 11:35:18 UTC
Created attachment 1479755 [details]
ansible log file corresponding to oc cluster deploy

Comment 5 SATHEESARAN 2018-08-30 11:38:25 UTC
Created attachment 1479756 [details]
ansible log file corresponding to oc cluster deploy

Comment 6 SATHEESARAN 2018-08-30 11:47:36 UTC
Created attachment 1479758 [details]
ansible log file corresponding to registry,logging and metrics

Comment 7 Jose A. Rivera 2019-04-16 12:34:29 UTC
You cannot install OCS more than once. By having the [glusterfs] group in the second inventory file you are indicating to the playbook that these are new nodes to be installed.

Closing this as NOTABUG.


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