Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[patch] update expired zenmetastore-edb license #1497

Merged
merged 4 commits into from
Oct 1, 2024
Merged

Conversation

stonepd
Copy link
Contributor

@stonepd stonepd commented Oct 1, 2024

Description
Update the license configuration for the zenmetastore-edb postgres database which expired on 1 October 2024
following these instructions https://www.ibm.com/support/pages/node/7158524

Fixing https://jsw.ibm.com/projects/MASCORE/issues/MASCORE-4051

I also removed the unnecessary code to restart any Pending ZenMetastore pods, that was a tactical workaround when we had storage class issues and was permanently fixed with #1440

Testing
Tested in pfvtcpd48 cluster and fvtstable clusters

@stonepd
Copy link
Contributor Author

stonepd commented Oct 1, 2024

Logs from running ansible-devops cp4d role now show:

TASK [ibm.mas_devops.cp4d : wait-zenmetastore-edb : Wait for Zen Metastore EDB Cluster to be created] *****************************************************************
ok: [localhost]

TASK [ibm.mas_devops.cp4d : wait-zenmetastore-edb : Fetch the license expiry date] ************************************************************************************
ok: [localhost]

TASK [ibm.mas_devops.cp4d : debug] ************************************************************************************************************************************
ok: [localhost] => {
    "msg": [
        "License Expiration .. ",
        "License Status ...... Invalid license (license is expired)"
    ]
}

TASK [ibm.mas_devops.cp4d : wait-zenmetastore-edb : Wait for create-postgres-license-config Job to be Completed or Failed (10s delay)] ********************************
ok: [localhost]

TASK [ibm.mas_devops.cp4d : wait-zenmetastore-edb : Recreate the job with up to date license image] *******************************************************************
changed: [localhost]

TASK [ibm.mas_devops.cp4d : debug] ************************************************************************************************************************************
ok: [localhost] => {
    "msg": "Recreate the job: {'changed': True, 'stdout': 'job.batch \"create-postgres-license-config\" deleted\\njob.batch/create-postgres-license-config replaced', 'stderr': '', 'rc': 0, 'cmd': 'oc get job create-postgres-license-config -n ibm-cpd-operators -o yaml | sed -e \\'s/operator.ibm.com\\\\/opreq-control: \"true\"/operator.ibm.com\\\\/opreq-control: \"false\"/\\' -e \\'s|\\\\(image: \\\\).*|\\\\1\"cp.icr.io/cp/cpd/edb-postgres-license-provider@sha256:c1670e7dd93c1e65a6659ece644e44aa5c2150809ac1089e2fd6be37dceae4ce\"|\\' -e \\'/controller-uid:/d\\' | oc replace --force -f - ', 'start': '2024-10-01 17:23:48.357575', 'end': '2024-10-01 17:23:50.081454', 'delta': '0:00:01.723879', 'msg': '', 'stdout_lines': ['job.batch \"create-postgres-license-config\" deleted', 'job.batch/create-postgres-license-config replaced'], 'stderr_lines': [], 'failed': False}"
}

TASK [ibm.mas_devops.cp4d : wait-zenmetastore-edb : wait-zenmetastore-edb : Wait for create-postgres-license-config Job to be Completed or Failed (10s delay)] ********
FAILED - RETRYING: [localhost]: wait-zenmetastore-edb : wait-zenmetastore-edb : Wait for create-postgres-license-config Job to be Completed or Failed (10s delay) (30 retries left).
ok: [localhost]

TASK [ibm.mas_devops.cp4d : wait-zenmetastore-edb : Check and display the license expiry date] ************************************************************************
ok: [localhost]

TASK [ibm.mas_devops.cp4d : debug] ************************************************************************************************************************************
ok: [localhost] => {
    "msg": [
        "License Expiration .. 2999-12-31T00:00:00Z",
        "License Status ...... Valid license (IBM - Data & Analytics (ibmda_cloudpak))"
    ]
}

TASK [ibm.mas_devops.cp4d : wait-zenmetastore-edb : Wait for ZenMetastore pods to be become ready] ********************************************************************
ok: [localhost]

TASK [ibm.mas_devops.cp4d : set_fact] *********************************************************************************************************************************
ok: [localhost]

@terenceq terenceq added this pull request to the merge queue Oct 1, 2024
Merged via the queue into master with commit ca4d333 Oct 1, 2024
2 checks passed
@terenceq terenceq deleted the mascore-4051 branch October 1, 2024 17:48
karol-czarnecki added a commit that referenced this pull request Oct 7, 2024
commit a14b5b4
Author: stonepd <[email protected]>
Date:   Thu Oct 3 17:11:30 2024 +0100

    [patch] fixes for CPD 5 edge cases and race conditions (#1501)

commit c39c254
Author: stonepd <[email protected]>
Date:   Thu Oct 3 09:45:12 2024 +0100

    [patch] CPD5 - install Python 3.10 runtime for Watson Studio (#1500)

commit e7faadf
Author: Witold Wierzchowski <[email protected]>
Date:   Thu Oct 3 06:02:36 2024 +0200

    [patch] Add variable for vargraphic setting for Manage and Health (#1427)

    Co-authored-by: Witold Wierzchowski <[email protected]>

commit ca4d333
Author: stonepd <[email protected]>
Date:   Tue Oct 1 18:46:11 2024 +0100

    [patch] update expired zenmetastore-edb license (#1497)

commit d3e3eb4
Author: Rawa <[email protected]>
Date:   Tue Oct 1 16:25:56 2024 +0100

    [patch] Fix usage of MASBR_BACKUP_DATA for mongo and db2 backup (#1496)

    Co-authored-by: Rawa Resul <[email protected]>

commit 672daca
Author: André Marcelino <[email protected]>
Date:   Tue Oct 1 11:00:09 2024 -0300

    [patch] Allow specifying CERT_MANAGER_NAMESPACE in suite_dns (#1476)

commit 7cef1f9
Author: Alona Varshal <[email protected]>
Date:   Tue Oct 1 02:13:31 2024 -0500

    [patch] Update block vs file storageclass in oneclick_core readme (#1494)

commit 507ec66
Author: Eric Klingelberger <[email protected]>
Date:   Mon Sep 30 03:14:35 2024 -0500

    [patch] updates to mongodb grafana v5 dashboard (#1491)

    Co-authored-by: Eric Klingelberger <[email protected]>
    Co-authored-by: Andrew Whitfield <[email protected]>

commit 8fd6bc7
Author: Benjamin Xue <[email protected]>
Date:   Mon Sep 30 03:06:20 2024 -0500

    [patch] Add AIbroker public cert (#1432)

commit 655da76
Author: Tremaine Hart <[email protected]>
Date:   Thu Sep 26 15:10:24 2024 -0500

    [patch] [MASCORE-3990] Mongo v7 upgrade wipes existing stateful set cpu/memory requests/limits (#1490)

commit b0be83e
Author: Tremaine Hart <[email protected]>
Date:   Wed Sep 25 08:15:25 2024 -0500

    [patch] use apiVersion instead of api in grafana role (#1479)

    Co-authored-by: JonahLuckett <[email protected]>

commit f2e3e74
Author: Aymen-Ben-S <[email protected]>
Date:   Wed Sep 25 09:11:51 2024 -0400

    [patch] Bump secret creation earlier in Turbonomic role (#1487)

commit 35b4af7
Author: karol-czarnecki <[email protected]>
Date:   Tue Sep 24 17:13:55 2024 +0100

    [patch] add support for default storage classes in techzone clusters (#1481)

    Co-authored-by: karol-czarnecki <[email protected]/com>

commit 4bca03f
Author: Terence Quinn <[email protected]>
Date:   Tue Sep 24 11:12:42 2024 -0500

    [patch] allow setting of PLAIN authentication for MongoDB (#1486)

commit 12e101f
Author: Tremaine Hart <[email protected]>
Date:   Thu Sep 19 11:02:36 2024 -0500

    [patch] forgot to add rbac rules for grafana v5 (#1478)

commit b8d545d
Author: Harsh Tamakuwala <[email protected]>
Date:   Thu Sep 19 20:07:43 2024 +0530

    [patch] Fix namespace lookup when cert provider is ibm (#1477)

    Co-authored-by: Harsh Tamakuwala <[email protected]>

commit 6b0385f
Author: Tremaine Hart <[email protected]>
Date:   Wed Sep 18 09:50:52 2024 -0500

    [patch] fix nfs for manage and health (#1474)

commit b1630e9
Author: Tremaine Hart <[email protected]>
Date:   Tue Sep 17 10:22:05 2024 -0500

    [patch] [MASCORE-3733] grafana dashboard not working after upgrade openshift to v4.15 (#1472)

commit fdee49c
Author: stonepd <[email protected]>
Date:   Tue Sep 17 10:00:18 2024 +0100

    [patch] wait for subscription to complete when creating (#1471)

commit 901c12a
Author: chiragcsatani <[email protected]>
Date:   Mon Sep 16 10:50:53 2024 +0530

    Revert "[patch] debug statement for cos hmac" (#1470)

commit 774be6e
Author: leo-miran <[email protected]>
Date:   Fri Sep 13 15:00:25 2024 -0300

    [patch] debug statement for cos hmac (#1469)

    Co-authored-by: Chirag Satani <[email protected]>

commit 5803215
Author: Alexandre Quinteiro <[email protected]>
Date:   Thu Sep 12 23:36:07 2024 -0300

    [patch] Add cos prefix in use_hmac parameter (#1467)

    Co-authored-by: Alexandre Quinteiro <[email protected]>

commit 8f367c3
Author: David Parker <[email protected]>
Date:   Thu Sep 12 16:16:20 2024 +0100

    [patch] Fix NFS idempotency checks (#1466)

commit d676162
Author: stonepd <[email protected]>
Date:   Thu Sep 12 11:45:45 2024 +0100

    [patch] apply kubernetes changes server side to avoid version conflicts (#1465)

    Co-authored-by: JonahLuckett <[email protected]>

commit e353afd
Author: Tremaine Hart <[email protected]>
Date:   Wed Sep 11 09:18:17 2024 -0500

    [patch] move mongo image to ubi8 (#1464)

commit 38e110a
Author: David Parker <[email protected]>
Date:   Wed Sep 11 09:39:23 2024 +0100

    [patch] Fix "IBM License Key Center" link in docs

commit d43185f
Author: Ian Boden <[email protected]>
Date:   Tue Sep 10 12:28:07 2024 +0100

    [patch] Mirror correct build of postgresql when using odf (#1413)

commit 75b25f7
Author: Ian Boden <[email protected]>
Date:   Tue Sep 10 12:26:49 2024 +0100

    [patch] Change how grafana is installed to be compatible with OCP 4.16 (#1436)

commit 3385693
Author: Harsh Tamakuwala <[email protected]>
Date:   Tue Sep 10 16:55:55 2024 +0530

    [patch] replaces awk cmd with k8s_info in detect_cert_manager (#1455)

    Co-authored-by: Harsh Tamakuwala <[email protected]>

commit b221d12
Author: stonepd <[email protected]>
Date:   Tue Sep 10 10:43:25 2024 +0100

    [patch] Revert Apply kubernetes changes server side  (#1461)

commit bd3189f
Author: Vishal-patel-7 <[email protected]>
Date:   Tue Sep 10 08:44:45 2024 +0530

    [minor] Added HMAC support for cos (#1447)

    Co-authored-by: Alexandre Quinteiro <[email protected]>
    Co-authored-by: unnati-solanki-git <[email protected]>

commit 7b15177
Author: stonepd <[email protected]>
Date:   Mon Sep 9 17:01:01 2024 +0100

    [patch] apply kubernetes changes server side to avoid version conflicts (#1459)

commit 8c4974d
Author: Tremaine Hart <[email protected]>
Date:   Fri Sep 6 10:10:49 2024 -0500

    [minor] [MASCORE-3026] implement role/tasks for new deployments of MongoDB CE v7.0 (#1452)

commit 524d951
Author: David Parker <[email protected]>
Date:   Thu Sep 5 11:26:43 2024 +0100

    [major] Remove UDS image mirroring support (#1451)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants