Closed andrercm closed 1 year ago
The code will be changed to set the default for db2_version
based of the db2u-license-keys
secret during the install or upgrade. Package manigest will be used only to auto determine the db2_channel
.
Tests done and passed after changes:
Install test:
TASK [ibm.mas_devops.db2 : Create and wait for CA certificate] *****************
Wednesday 30 August 2023 00:59:09 +0000 (0:00:01.031) 0:00:14.109 ******
ok: [localhost] => {"changed": false, "duration": 0, "method": "apply", "result": {"apiVersion": "cert-manager.io/v1", "kind": "Certificate", "metadata": {"annotations": {"kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"cert-manager.io/v1\",\"kind\":\"Certificate\",\"metadata\":{\"name\":\"db2u-ca-certificate\",\"namespace\":\"db2u\"},\"spec\":{\"commonName\":\"ca.db2u\",\"duration\":\"175200h0m0s\",\"isCA\":true,\"issuerRef\":{\"kind\":\"Issuer\",\"name\":\"db2u-ca-issuer\"},\"keyAlgorithm\":\"rsa\",\"keyEncoding\":\"pkcs8\",\"keySize\":4096,\"organization\":[\"IBM Maximo Application Suite\"],\"renewBefore\":\"2160h0m0s\",\"secretName\":\"db2u-ca\",\"subject\":{\"countries\":[\"GB\"],\"localities\":[\"London\"],\"organizationalUnits\":[\"IBM Maximo Application Suite DB2U\"],\"streetAddresses\":[\"London\"]},\"usages\":[\"cert sign\",\"digital signature\",\"key encipherment\",\"server auth\"]}}"}, "creationTimestamp": "2023-08-30T00:32:30Z", "generation": 1, "managedFields": [{"apiVersion": "cert-manager.io/v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": {"f:annotations": {".": {}, "f:kubectl.kubernetes.io/last-applied-configuration": {}}}, "f:spec": {".": {}, "f:commonName": {}, "f:duration": {}, "f:isCA": {}, "f:issuerRef": {".": {}, "f:kind": {}, "f:name": {}}, "f:renewBefore": {}, "f:secretName": {}, "f:subject": {".": {}, "f:countries": {}, "f:localities": {}, "f:organizationalUnits": {}, "f:streetAddresses": {}}, "f:usages": {}}}, "manager": "OpenAPI-Generator", "operation": "Update", "time": "2023-08-30T00:32:30Z"}, {"apiVersion": "cert-manager.io/v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:status": {"f:revision": {}}}, "manager": "cert-manager-certificates-issuing", "operation": "Update", "subresource": "status", "time": "2023-08-30T00:32:39Z"}, {"apiVersion": "cert-manager.io/v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:status": {".": {}, "f:conditions": {".": {}, "k:{\"type\":\"Ready\"}": {".": {}, "f:lastTransitionTime": {}, "f:message": {}, "f:observedGeneration": {}, "f:reason": {}, "f:status": {}, "f:type": {}}}, "f:notAfter": {}, "f:notBefore": {}, "f:renewalTime": {}}}, "manager": "cert-manager-certificates-readiness", "operation": "Update", "subresource": "status", "time": "2023-08-30T00:32:40Z"}], "name": "db2u-ca-certificate", "namespace": "db2u", "resourceVersion": "39695", "uid": "168f1def-c7ac-40a0-bef7-79b7f6406a99"}, "spec": {"commonName": "ca.db2u", "duration": "175200h0m0s", "isCA": true, "issuerRef": {"kind": "Issuer", "name": "db2u-ca-issuer"}, "renewBefore": "2160h0m0s", "secretName": "db2u-ca", "subject": {"countries": ["GB"], "localities": ["London"], "organizationalUnits": ["IBM Maximo Application Suite DB2U"], "streetAddresses": ["London"]}, "usages": ["cert sign", "digital signature", "key encipherment", "server auth"]}, "status": {"conditions": [{"lastTransitionTime": "2023-08-30T00:32:40Z", "message": "Certificate is up to date and has not expired", "observedGeneration": 1, "reason": "Ready", "status": "True", "type": "Ready"}], "notAfter": "2043-08-25T00:32:39Z", "notBefore": "2023-08-30T00:32:39Z", "renewalTime": "2043-05-27T00:32:39Z", "revision": 1}}}
TASK [ibm.mas_devops.db2 : Create certificate issuer] **************************
Wednesday 30 August 2023 00:59:10 +0000 (0:00:01.026) 0:00:15.136 ******
ok: [localhost] => {"changed": false, "method": "apply", "result": {"apiVersion": "cert-manager.io/v1", "kind": "Issuer", "metadata": {"annotations": {"kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"cert-manager.io/v1\",\"kind\":\"Issuer\",\"metadata\":{\"name\":\"db2u-issuer\",\"namespace\":\"db2u\"},\"spec\":{\"ca\":{\"secretName\":\"db2u-ca\"}}}"}, "creationTimestamp": "2023-08-30T00:32:46Z", "generation": 1, "managedFields": [{"apiVersion": "cert-manager.io/v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": {"f:annotations": {".": {}, "f:kubectl.kubernetes.io/last-applied-configuration": {}}}, "f:spec": {".": {}, "f:ca": {".": {}, "f:secretName": {}}}}, "manager": "OpenAPI-Generator", "operation": "Update", "time": "2023-08-30T00:32:46Z"}, {"apiVersion": "cert-manager.io/v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:status": {".": {}, "f:conditions": {".": {}, "k:{\"type\":\"Ready\"}": {".": {}, "f:lastTransitionTime": {}, "f:message": {}, "f:observedGeneration": {}, "f:reason": {}, "f:status": {}, "f:type": {}}}}}, "manager": "cert-manager-issuers", "operation": "Update", "subresource": "status", "time": "2023-08-30T00:32:46Z"}], "name": "db2u-issuer", "namespace": "db2u", "resourceVersion": "39793", "uid": "5af6650c-2a3e-47a3-b88a-ac16860bb0d9"}, "spec": {"ca": {"secretName": "db2u-ca"}}, "status": {"conditions": [{"lastTransitionTime": "2023-08-30T00:32:46Z", "message": "Signing CA verified", "observedGeneration": 1, "reason": "KeyPairVerified", "status": "True", "type": "Ready"}]}}}
TASK [ibm.mas_devops.db2 : Create db2u certificate] ****************************
Wednesday 30 August 2023 00:59:11 +0000 (0:00:00.890) 0:00:16.027 ******
changed: [localhost] => {"changed": true, "method": "apply", "result": {"apiVersion": "cert-manager.io/v1", "kind": "Certificate", "metadata": {"annotations": {"kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"cert-manager.io/v1\",\"kind\":\"Certificate\",\"metadata\":{\"name\":\"db2u-certificate\",\"namespace\":\"db2u\"},\"spec\":{\"commonName\":\"db2u\",\"dnsNames\":[\"mas-devops-fixes-main-manage-db2u.pfvtdevops-fixes-6f1620198115433da1cac8216c06779b-0000.eu-gb.containers.appdomain.cloud\",\"*.mas-devops-fixes-main-manage-db2u.pfvtdevops-fixes-6f1620198115433da1cac8216c06779b-0000.eu-gb.containers.appdomain.cloud\",\"c-mas-devops-fixes-main-manage-db2u-engn-svc.db2u.svc\",\"*.c-mas-devops-fixes-main-manage-db2u-engn-svc.db2u.svc\"],\"duration\":\"175200h0m0s\",\"issuerRef\":{\"kind\":\"Issuer\",\"name\":\"db2u-issuer\"},\"organization\":[\"IBM Maximo Application Suite\"],\"renewBefore\":\"2160h0m0s\",\"secretName\":\"db2u-certificate\",\"subject\":{\"countries\":[\"GB\"],\"localities\":[\"London\"],\"organizationalUnits\":[\"IBM Maximo Application Suite DB2U\"],\"streetAddresses\":[\"London\"]},\"usages\":[\"cert sign\",\"digital signature\",\"key encipherment\",\"server auth\"]}}"}, "creationTimestamp": "2023-08-30T00:32:47Z", "generation": 2, "managedFields": [{"apiVersion": "cert-manager.io/v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:status": {".": {}, "f:conditions": {".": {}, "k:{\"type\":\"Ready\"}": {".": {}, "f:lastTransitionTime": {}, "f:message": {}, "f:observedGeneration": {}, "f:reason": {}, "f:status": {}, "f:type": {}}}, "f:notAfter": {}, "f:notBefore": {}, "f:renewalTime": {}}}, "manager": "cert-manager-certificates-readiness", "operation": "Update", "subresource": "status", "time": "2023-08-30T00:32:57Z"}, {"apiVersion": "cert-manager.io/v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:status": {"f:revision": {}}}, "manager": "cert-manager-certificates-issuing", "operation": "Update", "subresource": "status", "time": "2023-08-30T00:32:58Z"}, {"apiVersion": "cert-manager.io/v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": {"f:annotations": {".": {}, "f:kubectl.kubernetes.io/last-applied-configuration": {}}}, "f:spec": {".": {}, "f:commonName": {}, "f:dnsNames": {}, "f:duration": {}, "f:issuerRef": {".": {}, "f:kind": {}, "f:name": {}}, "f:renewBefore": {}, "f:secretName": {}, "f:subject": {".": {}, "f:countries": {}, "f:localities": {}, "f:organizationalUnits": {}, "f:streetAddresses": {}}, "f:usages": {}}}, "manager": "OpenAPI-Generator", "operation": "Update", "time": "2023-08-30T00:59:12Z"}], "name": "db2u-certificate", "namespace": "db2u", "resourceVersion": "64961", "uid": "fd5f49d9-08bc-4ed8-bcf2-ff920a8f53a2"}, "spec": {"commonName": "db2u", "dnsNames": ["mas-devops-fixes-main-manage-db2u.pfvtdevops-fixes-6f1620198115433da1cac8216c06779b-0000.eu-gb.containers.appdomain.cloud", "*.mas-devops-fixes-main-manage-db2u.pfvtdevops-fixes-6f1620198115433da1cac8216c06779b-0000.eu-gb.containers.appdomain.cloud", "c-mas-devops-fixes-main-manage-db2u-engn-svc.db2u.svc", "*.c-mas-devops-fixes-main-manage-db2u-engn-svc.db2u.svc"], "duration": "175200h0m0s", "issuerRef": {"kind": "Issuer", "name": "db2u-issuer"}, "renewBefore": "2160h0m0s", "secretName": "db2u-certificate", "subject": {"countries": ["GB"], "localities": ["London"], "organizationalUnits": ["IBM Maximo Application Suite DB2U"], "streetAddresses": ["London"]}, "usages": ["cert sign", "digital signature", "key encipherment", "server auth"]}, "status": {"conditions": [{"lastTransitionTime": "2023-08-30T00:32:57Z", "message": "Certificate is up to date and has not expired", "observedGeneration": 1, "reason": "Ready", "status": "True", "type": "Ready"}], "notAfter": "2043-08-25T00:32:57Z", "notBefore": "2023-08-30T00:32:57Z", "renewalTime": "2043-05-27T00:32:57Z", "revision": 1}}}
TASK [ibm.mas_devops.db2 : Wait until the Db2uCluster CRD is available] ********
Wednesday 30 August 2023 00:59:12 +0000 (0:00:01.229) 0:00:17.256 ******
ok: [localhost] => {"api_found": true, "attempts": 1, "changed": false, "resources": [{"apiVersion": "apiextensions.k8s.io/v1", "kind": "CustomResourceDefinition", "metadata": {"annotations": {"controller-gen.kubebuilder.io/version": "v0.4.1", "operatorframework.io/installed-alongside-fc1c8e84e17388f2": "ibm-common-services/db2u-operator.v110508.0.2"}, "creationTimestamp": "2023-08-30T00:32:47Z", "generation": 1, "labels": {"app.kubernetes.io/instance": "db2u-operator", "app.kubernetes.io/managed-by": "Db2U-Team", "app.kubernetes.io/name": "db2u-operator", "operators.coreos.com/db2u-operator.ibm-common-services": ""}, "managedFields": [{"apiVersion": "apiextensions.k8s.io/v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": {"f:annotations": {".": {}, "f:controller-gen.kubebuilder.io/version": {}, "f:operatorframework.io/installed-alongside-fc1c8e84e17388f2": {}}, "f:labels": {".": {}, "f:app.kubernetes.io/instance": {}, "f:app.kubernetes.io/managed-by": {}, "f:app.kubernetes.io/name": {}}}, "f:spec": {"f:conversion": {".": {}, "f:strategy": {}}, "f:group": {}, "f:names": {"f:kind": {}, "f:listKind": {}, "f:plural": {}, "f:shortNames": {}, "f:singular": {}}, "f:scope": {}, "f:versions": {}}}, "manager": "catalog", "operation": "Update", "time": "2023-08-30T00:32:47Z"}, {"apiVersion": "apiextensions.k8s.io/v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:status": {"f:acceptedNames": {"f:kind": {}, "f:listKind": {}, "f:plural": {}, "f:shortNames": {}, "f:singular": {}}, "f:conditions": {"k:{\"type\":\"Established\"}": {".": {}, "f:lastTransitionTime": {}, "f:message": {}, "f:reason": {}, "f:status": {}, "f:type": {}}, "k:{\"type\":\"NamesAccepted\"}": {".": {}, "f:lastTransitionTime": {}, "f:message": {}, "f:reason": {}, "f:status": {}, "f:type": {}}}}}, "manager": "kube-apiserver", "operation": "Update", "subresource": "status", "time": "2023-08-30T00:32:47Z"}, {"apiVersion": "apiextensions.k8s.io/v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": {"f:labels": {"f:operators.coreos.com/db2u-operator.ibm-common-services": {}}}}, "manager": "olm", "operation": "Update", "time": "2023-08-30T00:32:48Z"}], "name": "db2uclusters.db2u.databases.ibm.com", "resourceVersion": "39874", "uid": "1bbf9254-7280-46a6-9626-1b770bda4d6e"}, "spec": {"conversion": {"strategy": "None"}, "group": "db2u.databases.ibm.com", "names": {"kind": "Db2uCluster", "listKind": "Db2uClusterList", "plural": "db2uclusters", "shortNames": ["db2u"], "singular": "db2ucluster"}, "scope": "Namespaced", "versions": [{"additionalPrinterColumns": [{"description": "The state of Db2u", "jsonPath": ".status.state", "name": "State", "type": "string"}, {"description": "The state of any maintenance operations on Db2u", "jsonPath": ".status.maintenanceState", "name": "MaintenanceState", "type": "string"}, {"description": "A timestamp representing the server time when this object was created", "jsonPath": ".metadata.creationTimestamp", "name": "Age", "type": "date"}], "name": "v1", "schema": {"openAPIV3Schema": {"properties": {"apiVersion": {"type": "string"}, "kind": {"type": "string"}, "metadata": {"type": "object"}, "spec": {"properties": {"account": {"properties": {"imagePullSecrets": {"items": {"type": "string"}, "type": "array"}, "privileged": {"type": "boolean"}, "restricted": {"type": "boolean"}, "serviceAccountName": {"type": "string"}}, "type": "object"}, "addOns": {"properties": {"audit": {"properties": {"applyDefaultPolicy": {"type": "boolean"}, "archiveToDb": {"type": "boolean"}, "enableAudit": {"type": "boolean"}, "interval": {"type": "string"}}, "type": "object", "x-kubernetes-preserve-unknown-fields": true}, "graph": {"properties": {"enabled": {"type": "boolean"}, "useSslForDbConnect": {"type": "boolean"}}, "type": "object"}, "opendataformats": {"properties": {"enabled": {"type": "boolean"}}, "type": "object", "x-kubernetes-preserve-unknown-fields": true}, "overrides": {"properties": {"databaseSSL": {"properties": {"value": {"minLength": 1, "type": "string"}, "value64": {"type": "string"}, "valueFrom": {"properties": {"configMapKeyRef": {"properties": {"key": {"type": "string"}, "name": {"type": "string"}, "optional": {"type": "boolean"}}, "required": ["key"], "type": "object"}, "secretKeyRef": {"properties": {"key": {"type": "string"}, "name": {"type": "string"}, "optional": {"type": "boolean"}}, "required": ["key"], "type": "object"}, "vaultKeyRef": {"properties": {"field": {"type": "string"}, "name": {"type": "string"}, "urn": {"type": "string"}}, "type": "object"}}, "type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "type": "object"}, "instancePassword": {"properties": {"value": {"minLength": 1, "type": "string"}, "value64": {"type": "string"}, "valueFrom": {"properties": {"configMapKeyRef": {"properties": {"key": {"type": "string"}, "name": {"type": "string"}, "optional": {"type": "boolean"}}, "required": ["key"], "type": "object"}, "secretKeyRef": {"properties": {"key": {"type": "string"}, "name": {"type": "string"}, "optional": {"type": "boolean"}}, "required": ["key"], "type": "object"}, "vaultKeyRef": {"properties": {"field": {"type": "string"}, "name": {"type": "string"}, "urn": {"type": "string"}}, "type": "object"}}, "type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "type": "object"}}, "type": "object"}, "qrep": {"properties": {"enabled": {"type": "boolean"}, "infraHost": {"type": "string"}, "infraIP": {"type": "string"}, "license": {"properties": {"accept": {"type": "boolean"}, "value": {"type": "string"}, "valueFrom": {"properties": {"configMapKeyRef": {"properties": {"key": {"type": "string"}, "name": {"type": "string"}, "optional": {"type": "boolean"}}, "required": ["key"], "type": "object"}, "secretKeyRef": {"properties": {"key": {"type": "string"}, "name": {"type": "string"}, "optional": {"type": "boolean"}}, "required": ["key"], "type": "object"}, "vaultKeyRef": {"properties": {"field": {"type": "string"}, "name": {"type": "string"}, "urn": {"type": "string"}}, "type": "object"}}, "type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "type": "object"}, "useSslForDbConnect": {"type": "boolean"}}, "type": "object"}, "rest": {"properties": {"enabled": {"type": "boolean"}, "useSslForDbConnect": {"type": "boolean"}}, "type": "object"}}, "type": "object", "x-kubernetes-preserve-unknown-fields": true}, "advOpts": {"type": "object", "x-kubernetes-preserve-unknown-fields": true}, "affinity": {"properties": {"nodeAffinity": {"properties": {"preferredDuringSchedulingIgnoredDuringExecution": {"items": {"properties": {"preference": {"properties": {"matchExpressions": {"items": {"properties": {"key": {"type": "string"}, "operator": {"type": "string"}, "values": {"items": {"type": "string"}, "type": "array"}}, "required": ["key", "operator"], "type": "object"}, "type": "array"}, "matchFields": {"items": {"properties": {"key": {"type": "string"}, "operator": {"type": "string"}, "values": {"items": {"type": "string"}, "type": "array"}}, "required": ["key", "operator"], "type": "object"}, "type": "array"}}, "type": "object"}, "weight": {"format": "int32", "type": "integer"}}, "required": ["preference", "weight"], "type": "object"}, "type": "array"}, "requiredDuringSchedulingIgnoredDuringExecution": {"properties": {"nodeSelectorTerms": {"items": {"properties": {"matchExpressions": {"items": {"properties": {"key": {"type": "string"}, "operator": {"type": "string"}, "values": {"items": {"type": "string"}, "type": "array"}}, "required": ["key", "operator"], "type": "object"}, "type": "array"}, "matchFields": {"items": {"properties": {"key": {"type": "string"}, "operator": {"type": "string"}, "values": {"items": {"type": "string"}, "type": "array"}}, "required": ["key", "operator"], "type": "object"}, "type": "array"}}, "type": "object"}, "type": "array"}}, "required": ["nodeSelectorTerms"], "type": "object"}}, "type": "object"}, "podAffinity": {"properties": {"preferredDuringSchedulingIgnoredDuringExecution": {"items": {"properties": {"podAffinityTerm": {"properties": {"labelSelector": {"properties": {"matchExpressions": {"items": {"properties": {"key": {"type": "string"}, "operator": {"type": "string"}, "values": {"items": {"type": "string"}, "type": "array"}}, "required": ["key", "operator"], "type": "object"}, "type": "array"}, "matchLabels": {"additionalProperties": {"type": "string"}, "type": "object"}}, "type": "object"}, "namespaceSelector": {"properties": {"matchExpressions": {"items": {"properties": {"key": {"type": "string"}, "operator": {"type": "string"}, "values": {"items": {"type": "string"}, "type": "array"}}, "required": ["key", "operator"], "type": "object"}, "type": "array"}, "matchLabels": {"additionalProperties": {"type": "string"}, "type": "object"}}, "type": "object"}, "namespaces": {"items": {"type": "string"}, "type": "array"}, "topologyKey": {"type": "string"}}, "required": ["topologyKey"], "type": "object"}, "weight": {"format": "int32", "type": "integer"}}, "required": ["podAffinityTerm", "weight"], "type": "object"}, "type": "array"}, "requiredDuringSchedulingIgnoredDuringExecution": {"items": {"properties": {"labelSelector": {"properties": {"matchExpressions": {"items": {"properties": {"key": {"type": "string"}, "operator": {"type": "string"}, "values": {"items": {"type": "string"}, "type": "array"}}, "required": ["key", "operator"], "type": "object"}, "type": "array"}, "matchLabels": {"additionalProperties": {"type": "string"}, "type": "object"}}, "type": "object"}, "namespaceSelector": {"properties": {"matchExpressions": {"items": {"properties": {"key": {"type": "string"}, "operator": {"type": "string"}, "values": {"items": {"type": "string"}, "type": "array"}}, "required": ["key", "operator"], "type": "object"}, "type": "array"}, "matchLabels": {"additionalProperties": {"type": "string"}, "type": "object"}}, "type": "object"}, "namespaces": {"items": {"type": "string"}, "type": "array"}, "topologyKey": {"type": "string"}}, "required": ["topologyKey"], "type": "object"}, "type": "array"}}, "type": "object"}, "podAntiAffinity": {"properties": {"preferredDuringSchedulingIgnoredDuringExecution": {"items": {"properties": {"podAffinityTerm": {"properties": {"labelSelector": {"properties": {"matchExpressions": {"items": {"properties": {"key": {"type": "string"}, "operator": {"type": "string"}, "values": {"items": {"type": "string"}, "type": "array"}}, "required": ["key", "operator"], "type": "object"}, "type": "array"}, "matchLabels": {"additionalProperties": {"type": "string"}, "type": "object"}}, "type": "object"}, "namespaceSelector": {"properties": {"matchExpressions": {"items": {"properties": {"key": {"type": "string"}, "operator": {"type": "string"}, "values": {"items": {"type": "string"}, "type": "array"}}, "required": ["key", "operator"], "type": "object"}, "type": "array"}, "matchLabels": {"additionalProperties": {"type": "string"}, "type": "object"}}, "type": "object"}, "namespaces": {"items": {"type": "string"}, "type": "array"}, "topologyKey": {"type": "string"}}, "required": ["topologyKey"], "type": "object"}, "weight": {"format": "int32", "type": "integer"}}, "required": ["podAffinityTerm", "weight"], "type": "object"}, "type": "array"}, "requiredDuringSchedulingIgnoredDuringExecution": {"items": {"properties": {"labelSelector": {"properties": {"matchExpressions": {"items": {"properties": {"key": {"type": "string"}, "operator": {"type": "string"}, "values": {"items": {"type": "string"}, "type": "array"}}, "required": ["key", "operator"], "type": "object"}, "type": "array"}, "matchLabels": {"additionalProperties": {"type": "string"}, "type": "object"}}, "type": "object"}, "namespaceSelector": {"properties": {"matchExpressions": {"items": {"properties": {"key": {"type": "string"}, "operator": {"type": "string"}, "values": {"items": {"type": "string"}, "type": "array"}}, "required": ["key", "operator"], "type": "object"}, "type": "array"}, "matchLabels": {"additionalProperties": {"type": "string"}, "type": "object"}}, "type": "object"}, "namespaces": {"items": {"type": "string"}, "type": "array"}, "topologyKey": {"type": "string"}}, "required": ["topologyKey"], "type": "object"}, "type": "array"}}, "type": "object"}}, "type": "object"}, "environment": {"properties": {"database": {"properties": {"dbConfig": {"additionalProperties": {"type": "string"}, "type": "object"}, "disableNodePortService": {"type": "boolean"}, "name": {"type": "string"}, "settings": {"properties": {"codeset": {"type": "string"}, "collation": {"type": "string"}, "dftExtentSize": {"type": "string"}, "dftPageSize": {"type": "string"}, "dftTableOrg": {"type": "string"}, "enableBackupCompression": {"type": "string"}, "encrypt": {"type": "string"}, "territory": {"type": "string"}}, "type": "object", "x-kubernetes-preserve-unknown-fields": true}, "ssl": {"properties": {"allowSslOnly": {"type": "boolean"}, "certLabel": {"type": "string"}, "secretName": {"type": "string"}}, "type": "object"}}, "type": "object"}, "dbType": {"type": "string"}, "fcm": {"properties": {"dnsPolicy": {"type": "string"}, "hostNetwork": {"type": "boolean"}, "ips": {"items": {"type": "string"}, "type": "array"}}, "type": "object"}, "instance": {"properties": {"dbmConfig": {"additionalProperties": {"type": "string"}, "type": "object"}, "fencedUser": {"type": "string"}, "group": {"type": "string"}, "password": {"type": "string"}, "registry": {"additionalProperties": {"type": "string"}, "type": "object"}, "user": {"type": "string"}}, "type": "object"}, "ldap": {"properties": {"admin": {"type": "string"}, "adminGroup": {"type": "string"}, "blueAdminPassword": {"type": "string"}, "domain": {"type": "string"}, "enabled": {"type": "boolean"}, "password": {"type": "string"}, "port": {"type": "string"}, "server": {"type": "string"}, "userGroup": {"type": "string"}}, "type": "object"}, "mln": {"properties": {"distribution": {"type": "string"}, "total": {"type": "integer"}}, "type": "object"}}, "type": "object", "x-kubernetes-preserve-unknown-fields": true}, "license": {"properties": {"accept": {"type": "boolean"}, "value": {"type": "string"}, "valueFrom": {"properties": {"configMapKeyRef": {"properties": {"key": {"type": "string"}, "name": {"type": "string"}, "optional": {"type": "boolean"}}, "required": ["key"], "type": "object"}, "secretKeyRef": {"properties": {"key": {"type": "string"}, "name": {"type": "string"}, "optional": {"type": "boolean"}}, "required": ["key"], "type": "object"}, "vaultKeyRef": {"properties": {"field": {"type": "string"}, "name": {"type": "string"}, "urn": {"type": "string"}}, "type": "object"}}, "type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "type": "object"}, "podConfig": {"additionalProperties": {"properties": {"annotations": {"additionalProperties": {"type": "string"}, "type": "object"}, "hostAliases": {"items": {"properties": {"hostnames": {"items": {"type": "string"}, "type": "array"}, "ip": {"type": "string"}}, "type": "object"}, "type": "array"}, "labels": {"additionalProperties": {"type": "string"}, "type": "object"}, "resource": {"additionalProperties": {"properties": {"limits": {"additionalProperties": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "x-kubernetes-int-or-string": true}, "type": "object"}, "requests": {"additionalProperties": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "x-kubernetes-int-or-string": true}, "type": "object"}}, "type": "object"}, "type": "object"}}, "type": "object"}, "type": "object"}, "size": {"format": "int32", "minimum": 1, "type": "integer"}, "storage": {"items": {"properties": {"claimName": {"type": "string"}, "mountPath": {"type": "string"}, "name": {"type": "string"}, "spec": {"properties": {"accessModes": {"items": {"type": "string"}, "type": "array"}, "dataSource": {"properties": {"apiGroup": {"type": "string"}, "kind": {"type": "string"}, "name": {"type": "string"}}, "required": ["kind", "name"], "type": "object"}, "resources": {"properties": {"limits": {"additionalProperties": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "x-kubernetes-int-or-string": true}, "type": "object"}, "requests": {"additionalProperties": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "x-kubernetes-int-or-string": true}, "type": "object"}}, "type": "object"}, "selector": {"properties": {"matchExpressions": {"items": {"properties": {"key": {"type": "string"}, "operator": {"type": "string"}, "values": {"items": {"type": "string"}, "type": "array"}}, "required": ["key", "operator"], "type": "object"}, "type": "array"}, "matchLabels": {"additionalProperties": {"type": "string"}, "type": "object"}}, "type": "object"}, "storageClassName": {"type": "string"}, "volumeMode": {"type": "string"}, "volumeName": {"type": "string"}}, "type": "object"}, "type": {"enum": ["template", "existing", "create", ""], "type": "string"}}, "required": ["name"], "type": "object"}, "type": "array"}, "tolerations": {"items": {"properties": {"effect": {"type": "string"}, "key": {"type": "string"}, "operator": {"type": "string"}, "tolerationSeconds": {"format": "int64", "type": "integer"}, "value": {"type": "string"}}, "type": "object"}, "type": "array"}, "vaults": {"items": {"properties": {"cacert": {"properties": {"value": {"minLength": 1, "type": "string"}, "value64": {"type": "string"}, "valueFrom": {"properties": {"configMapKeyRef": {"properties": {"key": {"type": "string"}, "name": {"type": "string"}, "optional": {"type": "boolean"}}, "required": ["key"], "type": "object"}, "secretKeyRef": {"properties": {"key": {"type": "string"}, "name": {"type": "string"}, "optional": {"type": "boolean"}}, "required": ["key"], "type": "object"}, "vaultKeyRef": {"properties": {"field": {"type": "string"}, "name": {"type": "string"}, "urn": {"type": "string"}}, "type": "object"}}, "type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "type": "object"}, "headers": {"items": {"type": "string"}, "type": "array"}, "name": {"type": "string"}, "provider": {"type": "string"}, "token": {"properties": {"value": {"minLength": 1, "type": "string"}, "value64": {"type": "string"}, "valueFrom": {"properties": {"configMapKeyRef": {"properties": {"key": {"type": "string"}, "name": {"type": "string"}, "optional": {"type": "boolean"}}, "required": ["key"], "type": "object"}, "secretKeyRef": {"properties": {"key": {"type": "string"}, "name": {"type": "string"}, "optional": {"type": "boolean"}}, "required": ["key"], "type": "object"}, "vaultKeyRef": {"properties": {"field": {"type": "string"}, "name": {"type": "string"}, "urn": {"type": "string"}}, "type": "object"}}, "type": "object", "x-kubernetes-preserve-unknown-fields": true}}, "type": "object"}, "url": {"type": "string"}}, "required": ["name", "provider", "url"], "type": "object"}, "type": "array"}, "version": {"default": "11.5.7.0", "type": "string"}, "volumeSources": {"items": {"properties": {"optional": {"type": "boolean"}, "visibility": {"items": {"type": "string"}, "type": "array"}, "volumeSource": {"properties": {"awsElasticBlockStore": {"properties": {"fsType": {"type": "string"}, "partition": {"format": "int32", "type": "integer"}, "readOnly": {"type": "boolean"}, "volumeID": {"type": "string"}}, "required": ["volumeID"], "type": "object"}, "azureDisk": {"properties": {"cachingMode": {"type": "string"}, "diskName": {"type": "string"}, "diskURI": {"type": "string"}, "fsType": {"type": "string"}, "kind": {"type": "string"}, "readOnly": {"type": "boolean"}}, "required": ["diskName", "diskURI"], "type": "object"}, "azureFile": {"properties": {"readOnly": {"type": "boolean"}, "secretName": {"type": "string"}, "shareName": {"type": "string"}}, "required": ["secretName", "shareName"], "type": "object"}, "cephfs": {"properties": {"monitors": {"items": {"type": "string"}, "type": "array"}, "path": {"type": "string"}, "readOnly": {"type": "boolean"}, "secretFile": {"type": "string"}, "secretRef": {"properties": {"name": {"type": "string"}}, "type": "object"}, "user": {"type": "string"}}, "required": ["monitors"], "type": "object"}, "cinder": {"properties": {"fsType": {"type": "string"}, "readOnly": {"type": "boolean"}, "secretRef": {"properties": {"name": {"type": "string"}}, "type": "object"}, "volumeID": {"type": "string"}}, "required": ["volumeID"], "type": "object"}, "configMap": {"properties": {"defaultMode": {"format": "int32", "type": "integer"}, "items": {"items": {"properties": {"key": {"type": "string"}, "mode": {"format": "int32", "type": "integer"}, "path": {"type": "string"}}, "required": ["key", "path"], "type": "object"}, "type": "array"}, "name": {"type": "string"}, "optional": {"type": "boolean"}}, "type": "object"}, "csi": {"properties": {"driver": {"type": "string"}, "fsType": {"type": "string"}, "nodePublishSecretRef": {"properties": {"name": {"type": "string"}}, "type": "object"}, "readOnly": {"type": "boolean"}, "volumeAttributes": {"additionalProperties": {"type": "string"}, "type": "object"}}, "required": ["driver"], "type": "object"}, "downwardAPI": {"properties": {"defaultMode": {"format": "int32", "type": "integer"}, "items": {"items": {"properties": {"fieldRef": {"properties": {"apiVersion": {"type": "string"}, "fieldPath": {"type": "string"}}, "required": ["fieldPath"], "type": "object"}, "mode": {"format": "int32", "type": "integer"}, "path": {"type": "string"}, "resourceFieldRef": {"properties": {"containerName": {"type": "string"}, "divisor": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "x-kubernetes-int-or-string": true}, "resource": {"type": "string"}}, "required": ["resource"], "type": "object"}}, "required": ["path"], "type": "object"}, "type": "array"}}, "type": "object"}, "emptyDir": {"properties": {"medium": {"type": "string"}, "sizeLimit": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "x-kubernetes-int-or-string": true}}, "type": "object"}, "ephemeral": {"properties": {"volumeClaimTemplate": {"properties": {"metadata": {"type": "object"}, "spec": {"properties": {"accessModes": {"items": {"type": "string"}, "type": "array"}, "dataSource": {"properties": {"apiGroup": {"type": "string"}, "kind": {"type": "string"}, "name": {"type": "string"}}, "required": ["kind", "name"], "type": "object"}, "resources": {"properties": {"limits": {"additionalProperties": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "x-kubernetes-int-or-string": true}, "type": "object"}, "requests": {"additionalProperties": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "x-kubernetes-int-or-string": true}, "type": "object"}}, "type": "object"}, "selector": {"properties": {"matchExpressions": {"items": {"properties": {"key": {"type": "string"}, "operator": {"type": "string"}, "values": {"items": {"type": "string"}, "type": "array"}}, "required": ["key", "operator"], "type": "object"}, "type": "array"}, "matchLabels": {"additionalProperties": {"type": "string"}, "type": "object"}}, "type": "object"}, "storageClassName": {"type": "string"}, "volumeMode": {"type": "string"}, "volumeName": {"type": "string"}}, "type": "object"}}, "required": ["spec"], "type": "object"}}, "type": "object"}, "fc": {"properties": {"fsType": {"type": "string"}, "lun": {"format": "int32", "type": "integer"}, "readOnly": {"type": "boolean"}, "targetWWNs": {"items": {"type": "string"}, "type": "array"}, "wwids": {"items": {"type": "string"}, "type": "array"}}, "type": "object"}, "flexVolume": {"properties": {"driver": {"type": "string"}, "fsType": {"type": "string"}, "options": {"additionalProperties": {"type": "string"}, "type": "object"}, "readOnly": {"type": "boolean"}, "secretRef": {"properties": {"name": {"type": "string"}}, "type": "object"}}, "required": ["driver"], "type": "object"}, "flocker": {"properties": {"datasetName": {"type": "string"}, "datasetUUID": {"type": "string"}}, "type": "object"}, "gcePersistentDisk": {"properties": {"fsType": {"type": "string"}, "partition": {"format": "int32", "type": "integer"}, "pdName": {"type": "string"}, "readOnly": {"type": "boolean"}}, "required": ["pdName"], "type": "object"}, "gitRepo": {"properties": {"directory": {"type": "string"}, "repository": {"type": "string"}, "revision": {"type": "string"}}, "required": ["repository"], "type": "object"}, "glusterfs": {"properties": {"endpoints": {"type": "string"}, "path": {"type": "string"}, "readOnly": {"type": "boolean"}}, "required": ["endpoints", "path"], "type": "object"}, "hostPath": {"properties": {"path": {"type": "string"}, "type": {"type": "string"}}, "required": ["path"], "type": "object"}, "iscsi": {"properties": {"chapAuthDiscovery": {"type": "boolean"}, "chapAuthSession": {"type": "boolean"}, "fsType": {"type": "string"}, "initiatorName": {"type": "string"}, "iqn": {"type": "string"}, "iscsiInterface": {"type": "string"}, "lun": {"format": "int32", "type": "integer"}, "portals": {"items": {"type": "string"}, "type": "array"}, "readOnly": {"type": "boolean"}, "secretRef": {"properties": {"name": {"type": "string"}}, "type": "object"}, "targetPortal": {"type": "string"}}, "required": ["iqn", "lun", "targetPortal"], "type": "object"}, "nfs": {"properties": {"path": {"type": "string"}, "readOnly": {"type": "boolean"}, "server": {"type": "string"}}, "required": ["path", "server"], "type": "object"}, "persistentVolumeClaim": {"properties": {"claimName": {"type": "string"}, "readOnly": {"type": "boolean"}}, "required": ["claimName"], "type": "object"}, "photonPersistentDisk": {"properties": {"fsType": {"type": "string"}, "pdID": {"type": "string"}}, "required": ["pdID"], "type": "object"}, "portworxVolume": {"properties": {"fsType": {"type": "string"}, "readOnly": {"type": "boolean"}, "volumeID": {"type": "string"}}, "required": ["volumeID"], "type": "object"}, "projected": {"properties": {"defaultMode": {"format": "int32", "type": "integer"}, "sources": {"items": {"properties": {"configMap": {"properties": {"items": {"items": {"properties": {"key": {"type": "string"}, "mode": {"format": "int32", "type": "integer"}, "path": {"type": "string"}}, "required": ["key", "path"], "type": "object"}, "type": "array"}, "name": {"type": "string"}, "optional": {"type": "boolean"}}, "type": "object"}, "downwardAPI": {"properties": {"items": {"items": {"properties": {"fieldRef": {"properties": {"apiVersion": {"type": "string"}, "fieldPath": {"type": "string"}}, "required": ["fieldPath"], "type": "object"}, "mode": {"format": "int32", "type": "integer"}, "path": {"type": "string"}, "resourceFieldRef": {"properties": {"containerName": {"type": "string"}, "divisor": {"anyOf": [{"type": "integer"}, {"type": "string"}], "pattern": "^(\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\\+|-)?(([0-9]+(\\.[0-9]*)?)|(\\.[0-9]+))))?$", "x-kubernetes-int-or-string": true}, "resource": {"type": "string"}}, "required": ["resource"], "type": "object"}}, "required": ["path"], "type": "object"}, "type": "array"}}, "type": "object"}, "secret": {"properties": {"items": {"items": {"properties": {"key": {"type": "string"}, "mode": {"format": "int32", "type": "integer"}, "path": {"type": "string"}}, "required": ["key", "path"], "type": "object"}, "type": "array"}, "name": {"type": "string"}, "optional": {"type": "boolean"}}, "type": "object"}, "serviceAccountToken": {"properties": {"audience": {"type": "string"}, "expirationSeconds": {"format": "int64", "type": "integer"}, "path": {"type": "string"}}, "required": ["path"], "type": "object"}}, "type": "object"}, "type": "array"}}, "type": "object"}, "quobyte": {"properties": {"group": {"type": "string"}, "readOnly": {"type": "boolean"}, "registry": {"type": "string"}, "tenant": {"type": "string"}, "user": {"type": "string"}, "volume": {"type": "string"}}, "required": ["registry", "volume"], "type": "object"}, "rbd": {"properties": {"fsType": {"type": "string"}, "image": {"type": "string"}, "keyring": {"type": "string"}, "monitors": {"items": {"type": "string"}, "type": "array"}, "pool": {"type": "string"}, "readOnly": {"type": "boolean"}, "secretRef": {"properties": {"name": {"type": "string"}}, "type": "object"}, "user": {"type": "string"}}, "required": ["image", "monitors"], "type": "object"}, "scaleIO": {"properties": {"fsType": {"type": "string"}, "gateway": {"type": "string"}, "protectionDomain": {"type": "string"}, "readOnly": {"type": "boolean"}, "secretRef": {"properties": {"name": {"type": "string"}}, "type": "object"}, "sslEnabled": {"type": "boolean"}, "storageMode": {"type": "string"}, "storagePool": {"type": "string"}, "system": {"type": "string"}, "volumeName": {"type": "string"}}, "required": ["gateway", "secretRef", "system"], "type": "object"}, "secret": {"properties": {"defaultMode": {"format": "int32", "type": "integer"}, "items": {"items": {"properties": {"key": {"type": "string"}, "mode": {"format": "int32", "type": "integer"}, "path": {"type": "string"}}, "required": ["key", "path"], "type": "object"}, "type": "array"}, "optional": {"type": "boolean"}, "secretName": {"type": "string"}}, "type": "object"}, "storageos": {"properties": {"fsType": {"type": "string"}, "readOnly": {"type": "boolean"}, "secretRef": {"properties": {"name": {"type": "string"}}, "type": "object"}, "volumeName": {"type": "string"}, "volumeNamespace": {"type": "string"}}, "type": "object"}, "vsphereVolume": {"properties": {"fsType": {"type": "string"}, "storagePolicyID": {"type": "string"}, "storagePolicyName": {"type": "string"}, "volumePath": {"type": "string"}}, "required": ["volumePath"], "type": "object"}}, "type": "object"}}, "type": "object"}, "type": "array"}}, "required": ["size", "version"], "type": "object"}, "status": {"properties": {"conditions": {"items": {"properties": {"lastTransitionTime": {"format": "date-time", "type": "string"}, "message": {"type": "string"}, "reason": {"type": "string"}, "status": {"type": "string"}, "type": {"type": "string"}}, "required": ["status", "type"], "type": "object"}, "type": "array"}, "maintenanceState": {"type": "string"}, "state": {"type": "string"}, "version": {"type": "string"}}, "required": ["state"], "type": "object"}}, "type": "object"}}, "served": true, "storage": true, "subresources": {"status": {}}}]}, "status": {"acceptedNames": {"kind": "Db2uCluster", "listKind": "Db2uClusterList", "plural": "db2uclusters", "shortNames": ["db2u"], "singular": "db2ucluster"}, "conditions": [{"lastTransitionTime": "2023-08-30T00:32:47Z", "message": "no conflicts found", "reason": "NoConflicts", "status": "True", "type": "NamesAccepted"}, {"lastTransitionTime": "2023-08-30T00:32:47Z", "message": "the initial names have been accepted", "reason": "InitialNamesAccepted", "status": "True", "type": "Established"}], "storedVersions": ["v1"]}}]}
TASK [ibm.mas_devops.db2 : Wait until the db2u-license-keys secret is available] ***
Wednesday 30 August 2023 00:59:13 +0000 (0:00:01.011) 0:00:18.268 ******
ok: [localhost] => {"api_found": true, "attempts": 1, "changed": false, "resources": [{"apiVersion": "v1", "data": {"json": "ewogICJkYjJvbHRwIjogewogICAgInMxMS41IjogIlcweHBZMlZ1YzJWRFpYSjBhV1pwWTJGMFpWMEtRMmhsWTJ0VGRXMDlNRGRFUmtNNVJqbEVRemN5TVRZM01qZERNVGxHT0RNM01qUXpSVEZDTmtVS1ZHbHRaVk4wWVcxd1BURTFOVGMwTVRNd05UZ0tVR0Z6YzNkdmNtUldaWEp6YVc5dVBUUUtWbVZ1Wkc5eVRtRnRaVDFKUWswZ1ZHOXliMjUwYnlCTVlXSUtWbVZ1Wkc5eVVHRnpjM2R2Y21ROU4zWTRjRFJtY1RKa2RHWndZd3BXWlc1a2IzSkpSRDAxWm1KbFpUQmxaVFptWldJdU1ESXVNRGt1TVRVdU1HWXVORGd1TURBdU1EQXVNREFLVUhKdlpIVmpkRTVoYldVOVNVSk5JRVJDTWlCRVpYWmxiRzl3WlhJdFF5QkZaR2wwYVc5dUNsQnliMlIxWTNSSlJEMHhORE15Q2xCeWIyUjFZM1JXWlhKemFXOXVQVEV4TGpVS1VISnZaSFZqZEZCaGMzTjNiM0prUFRScFlqbHpZbWsxWlhOMmJtbG5kelZoWmpSMU9HTmplUXBRY205a2RXTjBRVzV1YjNSaGRHbHZiajB4TWpjZ01UUXpJREkxTlNBeU5UVWdPVFFnTWpVMUlERWdNQ0F3SURBdE1qZzdJekFnTVRZZ05DQXhNREFnTVFwQlpHUnBkR2x2Ym1Gc1RHbGpaVzV6WlVSaGRHRTlDa3hwWTJWdWMyVlRkSGxzWlQxdWIyUmxiRzlqYTJWa0NreHBZMlZ1YzJWVGRHRnlkRVJoZEdVOU1EVXZNRGt2TWpBeE9RcE1hV05sYm5ObFJIVnlZWFJwYjI0OU5qZ3hNZ3BNYVdObGJuTmxSVzVrUkdGMFpUMHhNaTh6TVM4eU1ETTN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YzJWRWRYSmhkR2x2YmowMk9ERTVDa3hwWTJWdWMyVkZibVJFWVhSbFBURXlMek14THpJd016Y0tUR2xqWlc1elpVTnZkVzUwUFRFS1RYVnNkR2xWYzJWU2RXeGxjejBLVW1WbmFYTjBjbUYwYVc5dVRHVjJaV3c5TXdwVWNubEJibVJDZFhrOVdXVnpDbE52Wm5SVGRHOXdQVTV2Q2tKMWJtUnNaVDFPYndwRGRYTjBiMjFCZEhSeWFXSjFkR1V4UFU1dkNrTjFjM1J2YlVGMGRISnBZblYwWlRJOVRtOEtRM1Z6ZEc5dFFYUjBjbWxpZFhSbE16MU9id3BUZFdKRFlYQmhZMmwwZVVWc2FXZHBZbXhsVUhKdlpIVmpkRDFPYndwVVlYSm5aWFJVZVhCbFBVRk9XUXBVWVhKblpYUlVlWEJsVG1GdFpUMVBjR1Z1SUZSaGNtZGxkQXBVWVhKblpYUkpSRDFCVGxrS1JYaDBaVzVrWldSVVlYSm5aWFJVZVhCbFBRcEZlSFJsYm1SbFpGUmhjbWRsZEVsRVBRcFRaWEpwWVd4T2RXMWlaWEk5Q2xWd1ozSmhaR1U5VG04S1NXNXpkR0ZzYkZCeWIyZHlZVzA5Q2tOaGNHRmphWFI1Vkhsd1pUMEtUV0Y0VDJabWJHbHVaVkJsY21sdlpEMEtSR1Z5YVhabFpFeHBZMlZ1YzJWVGRIbHNaVDF1YjJSbGJHOWphMlZrQ2tSbGNtbDJaV1JNYVdObGJuTmxVM1JoY25SRVlYUmxQVEExTHpBeUx6SXdNVGtLUkdWeWFYWmxaRXhwWTJWdWMyVkZibVJFWVhSbFBURXlMek14THpJd016Y0tSR1Z5YVhabFpFeHBZMlZ1YzJWQloyZHlaV2RoZEdWRWRYSmhkR2x2YmowNU1Bbz0iCiAgfQp9"}, "kind": "Secret", "metadata": {"creationTimestamp": "2023-08-30T00:33:19Z", "managedFields": [{"apiVersion": "v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:data": {".": {}, "f:json": {}}, "f:type": {}}, "manager": "manager", "operation": "Update", "time": "2023-08-30T00:33:19Z"}], "name": "db2u-license-keys", "namespace": "ibm-common-services", "resourceVersion": "40511", "uid": "bf7b8043-f091-4971-a75c-9d589dd2d1f1"}, "type": "Opaque"}]}
TASK [ibm.mas_devops.db2 : set_fact] *******************************************
Wednesday 30 August 2023 00:59:14 +0000 (0:00:00.867) 0:00:19.136 ******
ok: [localhost] => {"ansible_facts": {"db2_license_content": {"db2oltp": {"s11.5": "W0xpY2Vuc2VDZXJ0aWZpY2F0ZV0KQ2hlY2tTdW09MDdERkM5RjlEQzcyMTY3MjdDMTlGODM3MjQzRTFCNkUKVGltZVN0YW1wPTE1NTc0MTMwNTgKUGFzc3dvcmRWZXJzaW9uPTQKVmVuZG9yTmFtZT1JQk0gVG9yb250byBMYWIKVmVuZG9yUGFzc3dvcmQ9N3Y4cDRmcTJkdGZwYwpWZW5kb3JJRD01ZmJlZTBlZTZmZWIuMDIuMDkuMTUuMGYuNDguMDAuMDAuMDAKUHJvZHVjdE5hbWU9SUJNIERCMiBEZXZlbG9wZXItQyBFZGl0aW9uClByb2R1Y3RJRD0xNDMyClByb2R1Y3RWZXJzaW9uPTExLjUKUHJvZHVjdFBhc3N3b3JkPTRpYjlzYmk1ZXN2bmlndzVhZjR1OGNjeQpQcm9kdWN0QW5ub3RhdGlvbj0xMjcgMTQzIDI1NSAyNTUgOTQgMjU1IDEgMCAwIDAtMjg7IzAgMTYgNCAxMDAgMQpBZGRpdGlvbmFsTGljZW5zZURhdGE9CkxpY2Vuc2VTdHlsZT1ub2RlbG9ja2VkCkxpY2Vuc2VTdGFydERhdGU9MDUvMDkvMjAxOQpMaWNlbnNlRHVyYXRpb249NjgxMgpMaWNlbnNlRW5kRGF0ZT0xMi8zMS8yMDM3CkxpY2Vuc2VDb3VudD0xCk11bHRpVXNlUnVsZXM9ClJlZ2lzdHJhdGlvbkxldmVsPTMKVHJ5QW5kQnV5PU5vClNvZnRTdG9wPU5vCkJ1bmRsZT1ObwpDdX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sdGlVc2VSdWxlcz0KUmVnaXN0cmF0aW9uTGV2ZWw9MwpUcnlBbmRCdXk9WWVzClNvZnRTdG9wPU5vCkJ1bmRsZT1ObwpDdXN0b21BdHRyaWJ1dGUxPU5vCkN1c3RvbUF0dHJpYnV0ZTI9Tm8KQ3VzdG9tQXR0cmlidXRlMz1ObwpTdWJDYXBhY2l0eUVsaWdpYmxlUHJvZHVjdD1ObwpUYXJnZXRUeXBlPUFOWQpUYXJnZXRUeXBlTmFtZT1PcGVuIFRhcmdldApUYXJnZXRJRD1BTlkKRXh0ZW5kZWRUYXJnZXRUeXBlPQpFeHRlbmRlZFRhcmdldElEPQpTZXJpYWxOdW1iZXI9ClVwZ3JhZGU9Tm8KSW5zdGFsbFByb2dyYW09CkNhcGFjaXR5VHlwZT0KTWF4T2ZmbGluZVBlcmlvZD0KRGVyaXZlZExpY2Vuc2VTdHlsZT1ub2RlbG9ja2VkCkRlcml2ZWRMaWNlbnNlU3RhcnREYXRlPTA1LzAyLzIwMTkKRGVyaXZlZExpY2Vuc2VFbmREYXRlPTEyLzMxLzIwMzcKRGVyaXZlZExpY2Vuc2VBZ2dyZWdhdGVEdXJhdGlvbj05MAo="}}}, "changed": false}
TASK [ibm.mas_devops.db2 : Set db2 version] ************************************
Wednesday 30 August 2023 00:59:14 +0000 (0:00:00.078) 0:00:19.214 ******
ok: [localhost] => {"ansible_facts": {"db2_version": "s11.5.8.0-cn2"}, "changed": false}
TASK [ibm.mas_devops.db2 : Verify db2_channel and db2_version set] *************
Wednesday 30 August 2023 00:59:15 +0000 (0:00:00.075) 0:00:19.290 ******
ok: [localhost] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [ibm.mas_devops.db2 : Debug DB2 upgrade channel and version] **************
Wednesday 30 August 2023 00:59:15 +0000 (0:00:00.071) 0:00:19.362 ******
ok: [localhost] => {
"msg": [
"Db2 Channel ............................ v110508.0",
"Db2 Version ............................ s11.5.8.0-cn2"
]
}
TASK [ibm.mas_devops.db2 : See if db2u instance already exists] ****************
Wednesday 30 August 2023 00:59:15 +0000 (0:00:00.038) 0:00:19.400 ******
ok: [localhost] => {"api_found": true, "changed": false, "resources": []}
TASK [ibm.mas_devops.db2 : Create db2 instance] ********************************
Wednesday 30 August 2023 00:59:16 +0000 (0:00:00.874) 0:00:20.274 ******
changed: [localhost] => {"changed": true, "method": "apply", "result": {"apiVersion": "db2u.databases.ibm.com/v1", "kind": "Db2uCluster", "metadata": {"annotations": {"kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"db2u.databases.ibm.com/v1\",\"kind\":\"Db2uCluster\",\"metadata\":{\"name\":\"mas-devops-fixes-main-manage\",\"namespace\":\"db2u\"},\"spec\":{\"account\":{\"imagePullSecrets\":[\"ibm-registry\"],\"privileged\":true},\"addOns\":{\"graph\":{\"enabled\":false},\"rest\":{\"enabled\":false}},\"environment\":{\"database\":{\"dbConfig\":{\"APPLHEAPSZ\":\"8192 AUTOMATIC\"},\"name\":\"BLUDB\",\"settings\":{\"dftTableOrg\":\"ROW\"},\"ssl\":{\"certLabel\":\"CN=db2u\",\"secretName\":\"db2u-certificate\"}},\"dbType\":\"db2wh\",\"instance\":{\"registry\":{\"DB2AUTH\":\"OSAUTHDB,ALLOW_LOCAL_FALLBACK,PLUGIN_AUTO_RELOAD\",\"DB2_4K_DEVICE_SUPPORT\":\"ON\",\"DB2_FMP_RUN_AS_CONNECTED_USER\":\"NO\",\"DB2_WORKLOAD\":\"ANALYTICS\"}},\"mln\":{\"total\":1}},\"license\":{\"accept\":true},\"podConfig\":{\"db2u\":{\"resource\":{\"db2u\":{\"limits\":{\"cpu\":\"6000m\",\"memory\":\"24Gi\"},\"requests\":{\"cpu\":\"4000m\",\"memory\":\"8Gi\"}}}}},\"size\":1,\"storage\":[{\"name\":\"meta\",\"spec\":{\"accessModes\":[\"ReadWriteMany\"],\"resources\":{\"requests\":{\"storage\":\"512Gi\"}},\"storageClassName\":\"ibmc-file-gold-gid\"},\"type\":\"create\"},{\"name\":\"data\",\"spec\":{\"accessModes\":[\"ReadWriteMany\"],\"resources\":{\"requests\":{\"storage\":\"512Gi\"}},\"storageClassName\":\"ibmc-block-gold\"},\"type\":\"template\"},{\"name\":\"backup\",\"spec\":{\"accessModes\":[\"ReadWriteMany\"],\"resources\":{\"requests\":{\"storage\":\"512Gi\"}},\"storageClassName\":\"ibmc-file-gold-gid\"},\"type\":\"create\"},{\"name\":\"activelogs\",\"spec\":{\"accessModes\":[\"ReadWriteMany\"],\"resources\":{\"requests\":{\"storage\":\"100Gi\"}},\"storageClassName\":\"ibmc-block-gold\"},\"type\":\"template\"},{\"name\":\"tempts\",\"spec\":{\"accessModes\":[\"ReadWriteMany\"],\"resources\":{\"requests\":{\"storage\":\"100Gi\"}},\"storageClassName\":\"ibmc-block-gold\"},\"type\":\"template\"}],\"version\":\"s11.5.8.0-cn2\"}}"}, "creationTimestamp": "2023-08-30T00:59:16Z", "generation": 1, "managedFields": [{"apiVersion": "db2u.databases.ibm.com/v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": {"f:annotations": {".": {}, "f:kubectl.kubernetes.io/last-applied-configuration": {}}}, "f:spec": {".": {}, "f:account": {".": {}, "f:imagePullSecrets": {}, "f:privileged": {}}, "f:addOns": {".": {}, "f:graph": {".": {}, "f:enabled": {}}, "f:rest": {".": {}, "f:enabled": {}}}, "f:environment": {".": {}, "f:database": {".": {}, "f:dbConfig": {".": {}, "f:APPLHEAPSZ": {}}, "f:name": {}, "f:settings": {".": {}, "f:dftTableOrg": {}}, "f:ssl": {".": {}, "f:certLabel": {}, "f:secretName": {}}}, "f:dbType": {}, "f:instance": {".": {}, "f:registry": {".": {}, "f:DB2AUTH": {}, "f:DB2_4K_DEVICE_SUPPORT": {}, "f:DB2_FMP_RUN_AS_CONNECTED_USER": {}, "f:DB2_WORKLOAD": {}}}, "f:mln": {".": {}, "f:total": {}}}, "f:license": {".": {}, "f:accept": {}}, "f:podConfig": {".": {}, "f:db2u": {".": {}, "f:resource": {".": {}, "f:db2u": {".": {}, "f:limits": {".": {}, "f:cpu": {}, "f:memory": {}}, "f:requests": {".": {}, "f:cpu": {}, "f:memory": {}}}}}}, "f:size": {}, "f:storage": {}, "f:version": {}}}, "manager": "OpenAPI-Generator", "operation": "Update", "time": "2023-08-30T00:59:16Z"}], "name": "mas-devops-fixes-main-manage", "namespace": "db2u", "resourceVersion": "65054", "uid": "763be7b9-1d1d-41f6-b7d3-95f3f1f6f6b3"}, "spec": {"account": {"imagePullSecrets": ["ibm-registry"], "privileged": true}, "addOns": {"graph": {"enabled": false}, "rest": {"enabled": false}}, "environment": {"database": {"dbConfig": {"APPLHEAPSZ": "8192 AUTOMATIC"}, "name": "BLUDB", "settings": {"dftTableOrg": "ROW"}, "ssl": {"certLabel": "CN=db2u", "secretName": "db2u-certificate"}}, "dbType": "db2wh", "instance": {"registry": {"DB2AUTH": "OSAUTHDB,ALLOW_LOCAL_FALLBACK,PLUGIN_AUTO_RELOAD", "DB2_4K_DEVICE_SUPPORT": "ON", "DB2_FMP_RUN_AS_CONNECTED_USER": "NO", "DB2_WORKLOAD": "ANALYTICS"}}, "mln": {"total": 1}}, "license": {"accept": true}, "podConfig": {"db2u": {"resource": {"db2u": {"limits": {"cpu": "6000m", "memory": "24Gi"}, "requests": {"cpu": "4000m", "memory": "8Gi"}}}}}, "size": 1, "storage": [{"name": "meta", "spec": {"accessModes": ["ReadWriteMany"], "resources": {"requests": {"storage": "512Gi"}}, "storageClassName": "ibmc-file-gold-gid"}, "type": "create"}, {"name": "data", "spec": {"accessModes": ["ReadWriteMany"], "resources": {"requests": {"storage": "512Gi"}}, "storageClassName": "ibmc-block-gold"}, "type": "template"}, {"name": "backup", "spec": {"accessModes": ["ReadWriteMany"], "resources": {"requests": {"storage": "512Gi"}}, "storageClassName": "ibmc-file-gold-gid"}, "type": "create"}, {"name": "activelogs", "spec": {"accessModes": ["ReadWriteMany"], "resources": {"requests": {"storage": "100Gi"}}, "storageClassName": "ibmc-block-gold"}, "type": "template"}, {"name": "tempts", "spec": {"accessModes": ["ReadWriteMany"], "resources": {"requests": {"storage": "100Gi"}}, "storageClassName": "ibmc-block-gold"}, "type": "template"}], "version": "s11.5.8.0-cn2"}}}
TASK [ibm.mas_devops.db2 : Wait for db2u instance to be ready (5m delay)] ******
Wednesday 30 August 2023 00:59:17 +0000 (0:00:01.034) 0:00:21.309 ******
FAILED - RETRYING: [localhost]: Wait for db2u instance to be ready (5m delay) (24 retries left).
FAILED - RETRYING: [localhost]: Wait for db2u instance to be ready (5m delay) (23 retries left).
FAILED - RETRYING: [localhost]: Wait for db2u instance to be ready (5m delay) (22 retries left).
ok: [localhost] => {"api_found": true, "attempts": 4, "changed": false, "resources": [{"apiVersion": "db2u.databases.ibm.com/v1", "kind": "Db2uCluster", "metadata": {"annotations": {"db2u/certs-api-cert": "[secure]", "db2u/certs-api-key": "[secure]", "db2u/certs-wv-rest": "[secure]", "db2u/license": "[secure]", "db2u/sshkeys-db2instusr": "[secure]", "db2u/sshkeys-db2uadm": "[secure]", "db2u/sshkeys-db2uhausr": "[secure]", "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"db2u.databases.ibm.com/v1\",\"kind\":\"Db2uCluster\",\"metadata\":{\"name\":\"mas-devops-fixes-main-manage\",\"namespace\":\"db2u\"},\"spec\":{\"account\":{\"imagePullSecrets\":[\"ibm-registry\"],\"privileged\":true},\"addOns\":{\"graph\":{\"enabled\":false},\"rest\":{\"enabled\":false}},\"environment\":{\"database\":{\"dbConfig\":{\"APPLHEAPSZ\":\"8192 AUTOMATIC\"},\"name\":\"BLUDB\",\"settings\":{\"dftTableOrg\":\"ROW\"},\"ssl\":{\"certLabel\":\"CN=db2u\",\"secretName\":\"db2u-certificate\"}},\"dbType\":\"db2wh\",\"instance\":{\"registry\":{\"DB2AUTH\":\"OSAUTHDB,ALLOW_LOCAL_FALLBACK,PLUGIN_AUTO_RELOAD\",\"DB2_4K_DEVICE_SUPPORT\":\"ON\",\"DB2_FMP_RUN_AS_CONNECTED_USER\":\"NO\",\"DB2_WORKLOAD\":\"ANALYTICS\"}},\"mln\":{\"total\":1}},\"license\":{\"accept\":true},\"podConfig\":{\"db2u\":{\"resource\":{\"db2u\":{\"limits\":{\"cpu\":\"6000m\",\"memory\":\"24Gi\"},\"requests\":{\"cpu\":\"4000m\",\"memory\":\"8Gi\"}}}}},\"size\":1,\"storage\":[{\"name\":\"meta\",\"spec\":{\"accessModes\":[\"ReadWriteMany\"],\"resources\":{\"requests\":{\"storage\":\"512Gi\"}},\"storageClassName\":\"ibmc-file-gold-gid\"},\"type\":\"create\"},{\"name\":\"data\",\"spec\":{\"accessModes\":[\"ReadWriteMany\"],\"resources\":{\"requests\":{\"storage\":\"512Gi\"}},\"storageClassName\":\"ibmc-block-gold\"},\"type\":\"template\"},{\"name\":\"backup\",\"spec\":{\"accessModes\":[\"ReadWriteMany\"],\"resources\":{\"requests\":{\"storage\":\"512Gi\"}},\"storageClassName\":\"ibmc-file-gold-gid\"},\"type\":\"create\"},{\"name\":\"activelogs\",\"spec\":{\"accessModes\":[\"ReadWriteMany\"],\"resources\":{\"requests\":{\"storage\":\"100Gi\"}},\"storageClassName\":\"ibmc-block-gold\"},\"type\":\"template\"},{\"name\":\"tempts\",\"spec\":{\"accessModes\":[\"ReadWriteMany\"],\"resources\":{\"requests\":{\"storage\":\"100Gi\"}},\"storageClassName\":\"ibmc-block-gold\"},\"type\":\"template\"}],\"version\":\"s11.5.8.0-cn2\"}}"}, "creationTimestamp": "2023-08-30T00:59:16Z", "generation": 3, "labels": {"formation_id": "mas-devops-fixes-main-manage"}, "managedFields": [{"apiVersion": "db2u.databases.ibm.com/v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": {"f:annotations": {".": {}, "f:kubectl.kubernetes.io/last-applied-configuration": {}}}, "f:spec": {".": {}, "f:account": {".": {}, "f:imagePullSecrets": {}, "f:privileged": {}}, "f:addOns": {".": {}, "f:graph": {}, "f:rest": {}}, "f:environment": {".": {}, "f:database": {".": {}, "f:dbConfig": {".": {}, "f:APPLHEAPSZ": {}}, "f:name": {}, "f:settings": {".": {}, "f:dftTableOrg": {}}, "f:ssl": {".": {}, "f:certLabel": {}}}, "f:dbType": {}, "f:instance": {".": {}, "f:registry": {".": {}, "f:DB2AUTH": {}, "f:DB2_4K_DEVICE_SUPPORT": {}, "f:DB2_FMP_RUN_AS_CONNECTED_USER": {}, "f:DB2_WORKLOAD": {}}}, "f:mln": {".": {}, "f:total": {}}}, "f:license": {".": {}, "f:accept": {}}, "f:podConfig": {".": {}, "f:db2u": {".": {}, "f:resource": {".": {}, "f:db2u": {".": {}, "f:limits": {".": {}, "f:memory": {}}, "f:requests": {".": {}, "f:memory": {}}}}}}, "f:size": {}, "f:storage": {}, "f:version": {}}}, "manager": "OpenAPI-Generator", "operation": "Update", "time": "2023-08-30T00:59:16Z"}, {"apiVersion": "db2u.databases.ibm.com/v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": {"f:annotations": {"f:db2u/certs-api-cert": {}, "f:db2u/certs-api-key": {}, "f:db2u/certs-wv-rest": {}, "f:db2u/license": {}, "f:db2u/sshkeys-db2instusr": {}, "f:db2u/sshkeys-db2uadm": {}, "f:db2u/sshkeys-db2uhausr": {}}, "f:labels": {".": {}, "f:formation_id": {}}}, "f:spec": {"f:addOns": {"f:qrep": {".": {}, "f:infraHost": {}, "f:infraIP": {}, "f:license": {}}}, "f:environment": {"f:database": {"f:ssl": {"f:secretName": {}}}, "f:instance": {"f:password": {}}, "f:ldap": {".": {}, "f:blueAdminPassword": {}, "f:enabled": {}, "f:password": {}}}, "f:podConfig": {"f:db2u": {"f:resource": {"f:db2u": {"f:limits": {"f:cpu": {}}, "f:requests": {"f:cpu": {}}}}}}}, "f:status": {".": {}, "f:maintenanceState": {}}}, "manager": "manager", "operation": "Update", "time": "2023-08-30T00:59:43Z"}, {"apiVersion": "db2u.databases.ibm.com/v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:status": {"f:conditions": {}, "f:state": {}, "f:version": {}}}, "manager": "manager", "operation": "Update", "subresource": "status", "time": "2023-08-30T01:10:44Z"}], "name": "mas-devops-fixes-main-manage", "namespace": "db2u", "resourceVersion": "75636", "uid": "763be7b9-1d1d-41f6-b7d3-95f3f1f6f6b3"}, "spec": {"account": {"imagePullSecrets": ["ibm-registry"], "privileged": true}, "addOns": {"graph": {}, "qrep": {"infraHost": "xxx.ibm.com", "infraIP": "x.x.x.x", "license": {}}, "rest": {}}, "environment": {"database": {"dbConfig": {"APPLHEAPSZ": "8192 AUTOMATIC"}, "name": "BLUDB", "settings": {"dftTableOrg": "ROW"}, "ssl": {"certLabel": "CN=db2u", "secretName": "[secure]"}}, "dbType": "db2wh", "instance": {"password": "[secure]", "registry": {"DB2AUTH": "OSAUTHDB,ALLOW_LOCAL_FALLBACK,PLUGIN_AUTO_RELOAD", "DB2_4K_DEVICE_SUPPORT": "ON", "DB2_FMP_RUN_AS_CONNECTED_USER": "NO", "DB2_WORKLOAD": "ANALYTICS"}}, "ldap": {"blueAdminPassword": "[secure]", "enabled": true, "password": "[secure]"}, "mln": {"total": 1}}, "license": {"accept": true}, "podConfig": {"db2u": {"resource": {"db2u": {"limits": {"cpu": "6", "memory": "24Gi"}, "requests": {"cpu": "4", "memory": "8Gi"}}}}}, "size": 1, "storage": [{"name": "meta", "spec": {"accessModes": ["ReadWriteMany"], "resources": {"requests": {"storage": "512Gi"}}, "storageClassName": "ibmc-file-gold-gid"}, "type": "create"}, {"name": "data", "spec": {"accessModes": ["ReadWriteMany"], "resources": {"requests": {"storage": "512Gi"}}, "storageClassName": "ibmc-block-gold"}, "type": "template"}, {"name": "backup", "spec": {"accessModes": ["ReadWriteMany"], "resources": {"requests": {"storage": "512Gi"}}, "storageClassName": "ibmc-file-gold-gid"}, "type": "create"}, {"name": "activelogs", "spec": {"accessModes": ["ReadWriteMany"], "resources": {"requests": {"storage": "100Gi"}}, "storageClassName": "ibmc-block-gold"}, "type": "template"}, {"name": "tempts", "spec": {"accessModes": ["ReadWriteMany"], "resources": {"requests": {"storage": "100Gi"}}, "storageClassName": "ibmc-block-gold"}, "type": "template"}], "version": "s11.5.8.0-cn2"}, "status": {"conditions": [{"lastTransitionTime": "2023-08-30T01:10:44Z", "status": "OK", "type": "FormationStatus"}], "maintenanceState": "None", "state": "Ready", "version": "s11.5.8.0-cn2"}}]}
TASK [ibm.mas_devops.db2 : Lookup db2u Engn Service] ***************************
Wednesday 30 August 2023 01:14:20 +0000 (0:15:03.495) 0:15:24.805 ******
ok: [localhost] => {"api_found": true, "attempts": 1, "changed": false, "resources": [{"apiVersion": "v1", "kind": "Service", "metadata": {"creationTimestamp": "2023-08-30T01:00:44Z", "labels": {"app": "mas-devops-fixes-main-manage", "component": "db2wh", "formation_id": "mas-devops-fixes-main-manage", "role": "db", "type": "engine"}, "managedFields": [{"apiVersion": "v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": {"f:labels": {".": {}, "f:app": {}, "f:component": {}, "f:formation_id": {}, "f:role": {}, "f:type": {}}, "f:ownerReferences": {".": {}, "k:{\"uid\":\"de4a25ee-1d2d-4ce6-bafd-125ce543fcdb\"}": {}}}, "f:spec": {"f:externalTrafficPolicy": {}, "f:internalTrafficPolicy": {}, "f:ports": {".": {}, "k:{\"port\":50000,\"protocol\":\"TCP\"}": {".": {}, "f:name": {}, "f:port": {}, "f:protocol": {}, "f:targetPort": {}}, "k:{\"port\":50001,\"protocol\":\"TCP\"}": {".": {}, "f:name": {}, "f:port": {}, "f:protocol": {}, "f:targetPort": {}}}, "f:publishNotReadyAddresses": {}, "f:selector": {}, "f:sessionAffinity": {}, "f:type": {}}}, "manager": "manager", "operation": "Update", "time": "2023-08-30T01:00:44Z"}], "name": "c-mas-devops-fixes-main-manage-db2u-engn-svc", "namespace": "db2u", "ownerReferences": [{"apiVersion": "db2u.databases.ibm.com/v1", "kind": "Formation", "name": "mas-devops-fixes-main-manage", "uid": "de4a25ee-1d2d-4ce6-bafd-125ce543fcdb"}], "resourceVersion": "66655", "uid": "c715bc86-36b5-4a4c-8c79-11a640aa3437"}, "spec": {"clusterIP": "172.21.221.198", "clusterIPs": ["172.21.221.198"], "externalTrafficPolicy": "Cluster", "internalTrafficPolicy": "Cluster", "ipFamilies": ["IPv4"], "ipFamilyPolicy": "SingleStack", "ports": [{"name": "ssl-server", "nodePort": 32525, "port": 50001, "protocol": "TCP", "targetPort": 50001}, {"name": "legacy-server", "nodePort": 32574, "port": 50000, "protocol": "TCP", "targetPort": 50000}], "publishNotReadyAddresses": true, "selector": {"app": "mas-devops-fixes-main-manage", "component": "db2wh", "formation_id": "mas-devops-fixes-main-manage", "role": "db", "type": "engine"}, "sessionAffinity": "None", "type": "NodePort"}, "status": {"loadBalancer": {}}}]}
TASK [ibm.mas_devops.db2 : Lookup db2u TLS certificates] ***********************
Wednesday 30 August 2023 01:14:21 +0000 (0:00:00.827) 0:15:25.632 ******
ok: [localhost] => {"api_found": true, "changed": false, "resources": [{"apiVersion": "v1", "data": {"ca.crt": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUR1ekNDQXFPZ0F3SUJBZ0lRUzVRandla0dQdEdSSVg2UmYrWTdxVEFOQmdrcWhraUc5dzBCQVFzRkFEQnQKTVFzd0NRWURWUVFHRXdKSFFqRVBNQTBHQTFVRUJ4TUdURzl1Wkc5dU1ROHdEUVlEVlFRSkV3Wk1iMjVrYjI0eApLakFvQmdOVkJBc1RJVWxDVFNCTllYaHBiVzhnUVhCd2JHbGpZWFJwYjI0Z1UzVnBkR1VnUkVJeVZURVFNQTRHCkExVUVBeE1IWTJFdVpHSXlkVEFlRncweU16QTRNekF3TURNeU16bGFGdzAwTXpBNE1qVXdNRE15TXpsYU1HMHgKQ3pBSkJnTlZCQVlUQWtkQ01ROHdEUVlEVlFRSEV3Wk1iMjVrYjI0eER6QU5CZ05WQkFrVEJreHZibVJ2YmpFcQpNQ2dHQTFVRUN4TWhTVUpOSUUxaGVHbHRieUJCY0hCc2FXTmh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oUmFHVndGYktFNk5TalVjRm0KbFhsNDlzaDFGUTdXQ3N1R2V3V25TTkJwNzM0RVhZZkNlN0hzQUJnSTlnNUZHZFZ2MHdod0xWeVZWanlpZW5sYQpJdTRaVWF3Tm01cXJVdmM1UjYyVmNiank5SEZXc0U3WVZuemY2eFo2anduZG4vYUc1eElrb1VJY2l3WVBYTEpHCnN3Y1hvd054blNDRTZvWDA4QURabEhleEFvR0JBS21QbkhDVGdTb2ZleEhpZnhZcDFuZWswVzRtd1pnOFJYYzQKUEw4ekRUdzVpWm9icVU2NW0vUm5meDU5VzZlaHNDQmFDQ1NYaUdlS3NWQVk2Nlp0YklDY0NwOWtVa3JxN1d1bQppcDQwWE4rRlpXQUVXU2w0UVVBN3NadERqL1hzRWJ6MjJoc2NGK08ybk5tbXN6bHlRcDN4TmV2NlNubkdvN0IrCmlsOGphUktCQW9HQVJBUGNNMGdHUGJSOVBSUmNJZmxaeDVIMy95K3hvZlBTMUpaWld1Yms2NlZCakpFaExyQWsKVklYWGZCY1NuV1Rjakpqc3d2VENDcnYwUFdObFRxdGZyOTVpWC8xQXRTYXVuT2Jla2NoYklXRVhKTzdXUW5rdgpOSXlwL0dtY0RTZ05BUVNWRE9yelFteHB0bTBTRWRhYkg5OUQ2eFk4YlFQMDdxSG1ab2J6eWlRPQotLS0tLUVORCBSU0EgUFJJVkFURSBLRVktLS0tLQo="}, "kind": "Secret", "metadata": {"annotations": {"cert-manager.io/alt-names": "mas-devops-fixes-main-manage-db2u.pfvtdevops-fixes-6f1620198115433da1cac8216c06779b-0000.eu-gb.containers.appdomain.cloud,*.mas-devops-fixes-main-manage-db2u.pfvtdevops-fixes-6f1620198115433da1cac8216c06779b-0000.eu-gb.containers.appdomain.cloud,c-mas-devops-fixes-main-manage-db2u-engn-svc.db2u.svc,*.c-mas-devops-fixes-main-manage-db2u-engn-svc.db2u.svc", "cert-manager.io/certificate-name": "db2u-certificate", "cert-manager.io/common-name": "db2u", "cert-manager.io/ip-sans": "", "cert-manager.io/issuer-group": "", "cert-manager.io/issuer-kind": "Issuer", "cert-manager.io/issuer-name": "db2u-issuer", "cert-manager.io/uri-sans": ""}, "creationTimestamp": "2023-08-30T00:32:57Z", "labels": {"controller.cert-manager.io/fao": "true", "operator.ibm.com/watched-by-cert-manager": ""}, "managedFields": [{"apiVersion": "v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:data": {"f:ca.crt": {}, "f:tls.crt": {}, "f:tls.key": {}}, "f:metadata": {"f:annotations": {"f:cert-manager.io/alt-names": {}, "f:cert-manager.io/certificate-name": {}, "f:cert-manager.io/common-name": {}, "f:cert-manager.io/ip-sans": {}, "f:cert-manager.io/issuer-group": {}, "f:cert-manager.io/issuer-kind": {}, "f:cert-manager.io/issuer-name": {}, "f:cert-manager.io/uri-sans": {}}, "f:labels": {"f:controller.cert-manager.io/fao": {}}}, "f:type": {}}, "manager": "cert-manager-certificates-issuing", "operation": "Apply", "time": "2023-08-30T00:59:14Z"}, {"apiVersion": "v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": {"f:labels": {"f:operator.ibm.com/watched-by-cert-manager": {}}}}, "manager": "ibm-cert-manager-operator", "operation": "Update", "time": "2023-08-30T00:32:58Z"}], "name": "db2u-certificate", "namespace": "db2u", "resourceVersion": "65001", "uid": "f2e20e62-4b8e-4ddd-8d8a-08f6a91bb4e7"}, "type": "kubernetes.io/tls"}]}
TASK [ibm.mas_devops.db2 : Set Db2u certificates as Facts] *********************
Wednesday 30 August 2023 01:14:22 +0000 (0:00:00.840) 0:15:26.472 ******
ok: [localhost] => {"ansible_facts": {"db2_ca_pem": "-----BEGIN CERTIFICATE-----\nMIIDuzCCAqOgAwIBAgIQS5QjwekGPtGRIX6Rf+Y7qTANBgkqhkiG9w0BAQsFADBt\nMQswCQYDVQQGEwJHQjEPMA0GA1UEBxMGTG9uZG9uMQ8wDQYDVQQJEwZMb25kb24x\nKjAoBgNVBAsTIUlCTSBNYXhpbW8gQXBwbGljYXRpb24gU3Vpd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Z6jwndn/aG5xIkoUIciwYPXLJG\nswcXowNxnSCE6oX08ADZlHexAoGBAKmPnHCTgSofexHifxYp1nek0W4mwZg8RXc4\nPL8zDTw5iZobqU65m/Rnfx59W6ehsCBaCCSXiGeKsVAY66ZtbICcCp9kUkrq7Wum\nip40XN+FZWAEWSl4QUA7sZtDj/XsEbz22hscF+O2nNmmszlyQp3xNev6SnnGo7B+\nil8jaRKBAoGARAPcM0gGPbR9PRRcIflZx5H3/y+xofPS1JZZWubk66VBjJEhLrAk\nVIXXfBcSnWTcjJjswvTCCrv0PWNlTqtfr95iX/1AtSaunObekchbIWEXJO7WQnkv\nNIyp/GmcDSgNAQSVDOrzQmxptm0SEdabH99D6xY8bQP07qHmZobzyiQ=\n-----END RSA PRIVATE KEY-----\n"}, "changed": false}
TASK [ibm.mas_devops.db2 : Set Db2u TLS port] **********************************
Wednesday 30 August 2023 01:14:22 +0000 (0:00:00.081) 0:15:26.554 ******
ok: [localhost] => (item={'name': 'ssl-server', 'protocol': 'TCP', 'port': 50001, 'targetPort': 50001, 'nodePort': 32525}) => {"ansible_facts": {"db2_tls_serviceport": "50001"}, "ansible_loop_var": "item", "changed": false, "item": {"name": "ssl-server", "nodePort": 32525, "port": 50001, "protocol": "TCP", "targetPort": 50001}}
skipping: [localhost] => (item={'name': 'legacy-server', 'protocol': 'TCP', 'port': 50000, 'targetPort': 50000, 'nodePort': 32574}) => {"ansible_loop_var": "item", "changed": false, "item": {"name": "legacy-server", "nodePort": 32574, "port": 50000, "protocol": "TCP", "targetPort": 50000}, "skip_reason": "Conditional result was False"}
TASK [ibm.mas_devops.db2 : Create dedicated route: db2u-mas-devops-fixes-main-manage-tls-route] ***
Wednesday 30 August 2023 01:14:22 +0000 (0:00:00.083) 0:15:26.638 ******
changed: [localhost] => {"changed": true, "method": "apply", "result": {"apiVersion": "route.openshift.io/v1", "kind": "Route", "metadata": {"annotations": {"kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"route.openshift.io/v1\",\"kind\":\"Route\",\"metadata\":{\"labels\":{\"formation_id\":\"mas-devops-fixes-main-manage\"},\"name\":\"db2u-mas-devops-fixes-main-manage-tls-route\",\"namespace\":\"db2u\"},\"spec\":{\"host\":\"mas-devops-fixes-main-manage-db2u.pfvtdevops-fixes-6f1620198115433da1cac8216c06779b-0000.eu-gb.containers.appdomain.cloud\",\"port\":{\"targetPort\":\"ssl-server\"},\"tls\":{\"nsecureEdgeTerminationPolicy\":\"None\",\"termination\":\"passthrough\"},\"to\":{\"kind\":\"Service\",\"name\":\"c-mas-devops-fixes-main-manage-db2u-engn-svc\",\"weight\":100},\"wildcardPolicy\":\"None\"}}"}, "creationTimestamp": "2023-08-30T01:14:23Z", "labels": {"formation_id": "mas-devops-fixes-main-manage"}, "managedFields": [{"apiVersion": "route.openshift.io/v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": {"f:annotations": {".": {}, "f:kubectl.kubernetes.io/last-applied-configuration": {}}, "f:labels": {".": {}, "f:formation_id": {}}}, "f:spec": {"f:host": {}, "f:port": {".": {}, "f:targetPort": {}}, "f:tls": {".": {}, "f:termination": {}}, "f:to": {"f:kind": {}, "f:name": {}, "f:weight": {}}, "f:wildcardPolicy": {}}}, "manager": "OpenAPI-Generator", "operation": "Update", "time": "2023-08-30T01:14:23Z"}], "name": "db2u-mas-devops-fixes-main-manage-tls-route", "namespace": "db2u", "resourceVersion": "78488", "uid": "facf00c0-cdde-4f14-9c0d-39e05493d537"}, "spec": {"host": "mas-devops-fixes-main-manage-db2u.pfvtdevops-fixes-6f1620198115433da1cac8216c06779b-0000.eu-gb.containers.appdomain.cloud", "port": {"targetPort": "ssl-server"}, "tls": {"termination": "passthrough"}, "to": {"kind": "Service", "name": "c-mas-devops-fixes-main-manage-db2u-engn-svc", "weight": 100}, "wildcardPolicy": "None"}, "status": {}}}
TASK [ibm.mas_devops.db2 : Lookup existing db2u-tls-route] *********************
Wednesday 30 August 2023 01:14:23 +0000 (0:00:00.978) 0:15:27.617 ******
ok: [localhost] => {"api_found": true, "changed": false, "resources": []}
TASK [ibm.mas_devops.db2 : Clean up db2u-tls-route if needed] ******************
Wednesday 30 August 2023 01:14:24 +0000 (0:00:00.901) 0:15:28.518 ******
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [ibm.mas_devops.db2 : Delete db2u pod on initial setup] *******************
Wednesday 30 August 2023 01:14:24 +0000 (0:00:00.061) 0:15:28.580 ******
changed: [localhost] => {"changed": true, "method": "delete", "result": {"apiVersion": "v1", "kind": "Pod", "metadata": {"annotations": {"cni.projectcalico.org/containerID": "205247d866dce8ffc3a43220fca55020472a163ce1bd4ab8a6f7cbeaed82486f", "cni.projectcalico.org/podIP": "172.30.184.176/32", "cni.projectcalico.org/podIPs": "172.30.184.176/32", "k8s.v1.cni.cncf.io/network-status": "[{\n \"name\": \"k8s-pod-network\",\n \"ips\": [\n \"172.30.184.176\"\n ],\n \"default\": true,\n \"dns\": {}\n}]", "k8s.v1.cni.cncf.io/networks-status": "[{\n \"name\": \"k8s-pod-network\",\n \"ips\": [\n \"172.30.184.176\"\n ],\n \"default\": true,\n \"dns\": {}\n}]", "openshift.io/scc": "db2u-c-mas-devops-fixes-main-manage-scc", "productChargedContainers": "All", "productID": "cb1bb71fd6fb4b6695f64ba436421a33", "productMetric": "FREE", "productName": "IBM Db2 Warehouse Developer Edition Non-Production (Community)"}, "creationTimestamp": "2023-08-30T01:02:20Z", "deletionGracePeriodSeconds": 120, "deletionTimestamp": "2023-08-30T01:16:24Z", "generateName": "c-mas-devops-fixes-main-manage-db2u-", "labels": {"app": "mas-devops-fixes-main-manage", "component": "db2wh", "controller-revision-hash": "c-mas-devops-fixes-main-manage-db2u-5dfc46fcc7", "formation_id": "mas-devops-fixes-main-manage", "name": "dashmpp-head-0", "role": "db", "statefulset.kubernetes.io/pod-name": "c-mas-devops-fixes-main-manage-db2u-0", "type": "engine"}, "managedFields": [{"apiVersion": "v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": {"f:annotations": {".": {}, "f:productChargedContainers": {}, "f:productID": {}, "f:productMetric": {}, "f:productName": {}}, "f:generateName": {}, "f:labels": {".": {}, "f:app": {}, "f:component": {}, "f:controller-revision-hash": {}, "f:formation_id": {}, "f:role": {}, "f:statefulset.kubernetes.io/pod-name": {}, "f:type": {}}, "f:ownerReferences": {".": {}, "k:{\"uid\":\"e14d1dab-358f-4066-a208-7bb695757719\"}": {}}}, "f:spec": {"f:affinity": {".": {}, "f:podAntiAffinity": {}}, "f:containers": {"k:{\"name\":\"db2u\"}": {".": {}, "f:env": {".": {}, "k:{\"name\":\"CPU_LIMIT\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:resourceFieldRef": {}}}, "k:{\"name\":\"DB2U_API_CERT_FILE\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_CONFIGMAP_NAME\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_DATABASE_BACKEND\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_ENDPOINT\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_KEY_FILE\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"ETCDCTL_API\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"ETCDCTL_ENDPOINTS\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"ETCD_ENDPOINTS\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"MEMORY_LIMIT\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:resourceFieldRef": {}}}, "k:{\"name\":\"MEMORY_REQUEST\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:resourceFieldRef": {}}}, "k:{\"name\":\"POD\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:fieldRef": {}}}, "k:{\"name\":\"POD_NAME\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:fieldRef": {}}}, "k:{\"name\":\"POD_NAMESPACE\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:fieldRef": {}}}, "k:{\"name\":\"SERVICE_NAME\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"WV_HACLASS\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"WV_RECOVERY\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"etcdoperator\"}": {".": {}, "f:name": {}, "f:value": {}}}, "f:image": {}, "f:imagePullPolicy": {}, "f:livenessProbe": {".": {}, "f:failureThreshold": {}, "f:httpGet": {".": {}, "f:path": {}, "f:port": {}, "f:scheme": {}}, "f:periodSeconds": {}, "f:successThreshold": {}, "f:timeoutSeconds": {}}, "f:name": {}, "f:ports": {".": {}, "k:{\"containerPort\":50000,\"protocol\":\"TCP\"}": {".": {}, "f:containerPort": {}, "f:name": {}, "f:protocol": {}}, "k:{\"containerPort\":50001,\"protocol\":\"TCP\"}": {".": {}, "f:containerPort": {}, "f:name": {}, "f:protocol": {}}, "k:{\"containerPort\":50052,\"protocol\":\"TCP\"}": {".": {}, "f:containerPort": {}, "f:name": {}, "f:protocol": {}}}, "f:readinessProbe": {".": {}, "f:exec": {".": {}, "f:command": {}}, "f:failureThreshold": {}, "f:periodSeconds": {}, "f:successThreshold": {}, "f:timeoutSeconds": {}}, "f:resources": {".": {}, "f:limits": {".": {}, "f:cpu": {}, "f:ephemeral-storage": {}, "f:memory": {}}, "f:requests": {".": {}, "f:cpu": {}, "f:ephemeral-storage": {}, "f:memory": {}}}, "f:securityContext": {".": {}, "f:allowPrivilegeEscalation": {}, "f:capabilities": {".": {}, "f:add": {}, "f:drop": {}}, "f:privileged": {}, "f:readOnlyRootFilesystem": {}, "f:runAsUser": {}}, "f:startupProbe": {".": {}, "f:exec": {".": {}, "f:command": {}}, "f:failureThreshold": {}, "f:initialDelaySeconds": {}, "f:periodSeconds": {}, "f:successThreshold": {}, "f:timeoutSeconds": {}}, "f:terminationMessagePath": {}, "f:terminationMessagePolicy": {}, "f:volumeMounts": {".": {}, "k:{\"mountPath\":\"/db2u/license/\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/dev/shm\"}": {".": {}, "f:mountPath": {}, "f:name": {}}, "k:{\"mountPath\":\"/mnt/backup\"}": {".": {}, "f:mountPath": {}, "f:name": {}}, "k:{\"mountPath\":\"/mnt/bludata0\"}": {".": {}, "f:mountPath": {}, "f:name": {}}, "k:{\"mountPath\":\"/mnt/blumeta0\"}": {".": {}, "f:mountPath": {}, "f:name": {}}, "k:{\"mountPath\":\"/mnt/blumeta0/configmap/db2/db-cfg\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/mnt/blumeta0/configmap/db2/dbm-cfg\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/mnt/blumeta0/configmap/db2/registry\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/mnt/blumeta0/configmap/db2u\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/mnt/local\"}": {".": {}, "f:mountPath": {}, "f:name": {}}, "k:{\"mountPath\":\"/mnt/logs/active\"}": {".": {}, "f:mountPath": {}, "f:name": {}}, "k:{\"mountPath\":\"/mnt/tempts\"}": {".": {}, "f:mountPath": {}, "f:name": {}}, "k:{\"mountPath\":\"/run\"}": {".": {}, "f:mountPath": {}, "f:name": {}}, "k:{\"mountPath\":\"/secrets/certs/db2u-api\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/secrets/certs/wv-rest\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/secrets/db2instancepwd\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/secrets/db2ssl\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/secrets/sshkeys/db2instusr\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/secrets/sshkeys/db2uadm\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/secrets/sshkeys/db2uhausr\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/secrets/user-mgmt-keypwd\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}}}}, "f:dnsConfig": {".": {}, "f:options": {}, "f:searches": {}}, "f:dnsPolicy": {}, "f:enableServiceLinks": {}, "f:hostname": {}, "f:initContainers": {".": {}, "k:{\"name\":\"init-kernel\"}": {".": {}, "f:command": {}, "f:env": {".": {}, "k:{\"name\":\"DB2U_API_CERT_FILE\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_CONFIGMAP_NAME\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_DATABASE_BACKEND\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_ENDPOINT\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_KEY_FILE\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"MEMORY_LIMIT\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:resourceFieldRef": {}}}, "k:{\"name\":\"POD_NAME\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:fieldRef": {}}}, "k:{\"name\":\"POD_NAMESPACE\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:fieldRef": {}}}, "k:{\"name\":\"SERVICENAME\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"SERVICE_NAME\"}": {".": {}, "f:name": {}, "f:value": {}}}, "f:image": {}, "f:imagePullPolicy": {}, "f:name": {}, "f:resources": {".": {}, "f:limits": {".": {}, "f:cpu": {}, "f:ephemeral-storage": {}, "f:memory": {}}, "f:requests": {".": {}, "f:cpu": {}, "f:ephemeral-storage": {}, "f:memory": {}}}, "f:securityContext": {".": {}, "f:allowPrivilegeEscalation": {}, "f:capabilities": {".": {}, "f:drop": {}}, "f:privileged": {}, "f:readOnlyRootFilesystem": {}, "f:runAsNonRoot": {}, "f:runAsUser": {}}, "f:terminationMessagePath": {}, "f:terminationMessagePolicy": {}, "f:volumeMounts": {".": {}, "k:{\"mountPath\":\"/host/proc\"}": {".": {}, "f:mountPath": {}, "f:name": {}}, "k:{\"mountPath\":\"/mnt/blumeta0\"}": {".": {}, "f:mountPath": {}, "f:name": {}}}}, "k:{\"name\":\"init-labels\"}": {".": {}, "f:command": {}, "f:env": {".": {}, "k:{\"name\":\"DB2TYPE\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_CERT_FILE\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_CONFIGMAP_NAME\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_DATABASE_BACKEND\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_ENDPOINT\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_KEY_FILE\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"MLN_TOTAL\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"POD_NAME\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:fieldRef": {}}}, "k:{\"name\":\"POD_NAMESPACE\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:fieldRef": {}}}, "k:{\"name\":\"REPLICAS\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"SERVICENAME\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"SERVICE_NAME\"}": {".": {}, "f:name": {}, "f:value": {}}}, "f:image": {}, "f:imagePullPolicy": {}, "f:name": {}, "f:resources": {".": {}, "f:limits": {".": {}, "f:cpu": {}, "f:ephemeral-storage": {}, "f:memory": {}}, "f:requests": {".": {}, "f:cpu": {}, "f:ephemeral-storage": {}, "f:memory": {}}}, "f:securityContext": {".": {}, "f:allowPrivilegeEscalation": {}, "f:capabilities": {".": {}, "f:add": {}, "f:drop": {}}, "f:privileged": {}, "f:readOnlyRootFilesystem": {}, "f:runAsUser": {}}, "f:terminationMessagePath": {}, "f:terminationMessagePolicy": {}, "f:volumeMounts": {".": {}, "k:{\"mountPath\":\"/mnt/blumeta0\"}": {".": {}, "f:mountPath": {}, "f:name": {}}, "k:{\"mountPath\":\"/mnt/blumeta0/configmap/db2u\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}}}}, "f:restartPolicy": {}, "f:schedulerName": {}, "f:securityContext": {".": {}, "f:runAsNonRoot": {}}, "f:serviceAccount": {}, "f:serviceAccountName": {}, "f:subdomain": {}, "f:terminationGracePeriodSeconds": {}, "f:volumes": {".": {}, "k:{\"name\":\"activelogs\"}": {".": {}, "f:name": {}, "f:persistentVolumeClaim": {".": {}, "f:claimName": {}}}, "k:{\"name\":\"backup\"}": {".": {}, "f:name": {}, "f:persistentVolumeClaim": {".": {}, "f:claimName": {}}}, "k:{\"name\":\"certs-db2u-api\"}": {".": {}, "f:name": {}, "f:secret": {".": {}, "f:defaultMode": {}, "f:optional": {}, "f:secretName": {}}}, "k:{\"name\":\"certs-wv-rest\"}": {".": {}, "f:name": {}, "f:secret": {".": {}, "f:defaultMode": {}, "f:optional": {}, "f:secretName": {}}}, "k:{\"name\":\"data\"}": {".": {}, "f:name": {}, "f:persistentVolumeClaim": {".": {}, "f:claimName": {}}}, "k:{\"name\":\"db2dbconfig\"}": {".": {}, "f:configMap": {".": {}, "f:defaultMode": {}, "f:name": {}}, "f:name": {}}, "k:{\"name\":\"db2dbmconfig\"}": {".": {}, "f:configMap": {".": {}, "f:defaultMode": {}, "f:name": {}}, "f:name": {}}, "k:{\"name\":\"db2regconfig\"}": {".": {}, "f:configMap": {".": {}, "f:defaultMode": {}, "f:name": {}}, "f:name": {}}, "k:{\"name\":\"db2ssl\"}": {".": {}, "f:name": {}, "f:secret": {".": {}, "f:defaultMode": {}, "f:optional": {}, "f:secretName": {}}}, "k:{\"name\":\"db2u-lic\"}": {".": {}, "f:name": {}, "f:secret": {".": {}, "f:defaultMode": {}, "f:optional": {}, "f:secretName": {}}}, "k:{\"name\":\"db2uconfig\"}": {".": {}, "f:configMap": {".": {}, "f:defaultMode": {}, "f:name": {}}, "f:name": {}}, "k:{\"name\":\"dshm\"}": {".": {}, "f:emptyDir": {".": {}, "f:medium": {}, "f:sizeLimit": {}}, "f:name": {}}, "k:{\"name\":\"instancepassword\"}": {".": {}, "f:name": {}, "f:secret": {".": {}, "f:defaultMode": {}, "f:optional": {}, "f:secretName": {}}}, "k:{\"name\":\"local\"}": {".": {}, "f:emptyDir": {".": {}, "f:sizeLimit": {}}, "f:name": {}}, "k:{\"name\":\"meta\"}": {".": {}, "f:name": {}, "f:persistentVolumeClaim": {".": {}, "f:claimName": {}}}, "k:{\"name\":\"proc\"}": {".": {}, "f:hostPath": {".": {}, "f:path": {}, "f:type": {}}, "f:name": {}}, "k:{\"name\":\"runvol\"}": {".": {}, "f:emptyDir": {".": {}, "f:medium": {}, "f:sizeLimit": {}}, "f:name": {}}, "k:{\"name\":\"sshkeys-db2instusr\"}": {".": {}, "f:name": {}, "f:secret": {".": {}, "f:defaultMode": {}, "f:optional": {}, "f:secretName": {}}}, "k:{\"name\":\"sshkeys-db2uadm\"}": {".": {}, "f:name": {}, "f:secret": {".": {}, "f:defaultMode": {}, "f:optional": {}, "f:secretName": {}}}, "k:{\"name\":\"sshkeys-db2uhausr\"}": {".": {}, "f:name": {}, "f:secret": {".": {}, "f:defaultMode": {}, "f:optional": {}, "f:secretName": {}}}, "k:{\"name\":\"tempts\"}": {".": {}, "f:name": {}, "f:persistentVolumeClaim": {".": {}, "f:claimName": {}}}, "k:{\"name\":\"user-mgmt-key\"}": {".": {}, "f:name": {}, "f:secret": {".": {}, "f:defaultMode": {}, "f:optional": {}, "f:secretName": {}}}}}}, "manager": "kube-controller-manager", "operation": "Update", "time": "2023-08-30T01:02:20Z"}, {"apiVersion": "v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:status": {"f:conditions": {".": {}, "k:{\"type\":\"PodScheduled\"}": {".": {}, "f:lastProbeTime": {}, "f:lastTransitionTime": {}, "f:message": {}, "f:reason": {}, "f:status": {}, "f:type": {}}}}}, "manager": "kube-scheduler", "operation": "Update", "subresource": "status", "time": "2023-08-30T01:02:20Z"}, {"apiVersion": "v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": {"f:annotations": {"f:cni.projectcalico.org/containerID": {}, "f:cni.projectcalico.org/podIP": {}, "f:cni.projectcalico.org/podIPs": {}}}}, "manager": "calico", "operation": "Update", "subresource": "status", "time": "2023-08-30T01:04:08Z"}, {"apiVersion": "v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": {"f:annotations": {"f:k8s.v1.cni.cncf.io/network-status": {}, "f:k8s.v1.cni.cncf.io/networks-status": {}}}}, "manager": "multus", "operation": "Update", "subresource": "status", "time": "2023-08-30T01:04:08Z"}, {"apiVersion": "v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": {"f:labels": {"f:name": {}}}}, "manager": "kubectl-label", "operation": "Update", "time": "2023-08-30T01:04:10Z"}, {"apiVersion": "v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:status": {"f:conditions": {"k:{\"type\":\"ContainersReady\"}": {".": {}, "f:lastProbeTime": {}, "f:lastTransitionTime": {}, "f:status": {}, "f:type": {}}, "k:{\"type\":\"Initialized\"}": {".": {}, "f:lastProbeTime": {}, "f:lastTransitionTime": {}, "f:status": {}, "f:type": {}}, "k:{\"type\":\"Ready\"}": {".": {}, "f:lastProbeTime": {}, "f:lastTransitionTime": {}, "f:status": {}, "f:type": {}}}, "f:containerStatuses": {}, "f:hostIP": {}, "f:initContainerStatuses": {}, "f:phase": {}, "f:podIP": {}, "f:podIPs": {".": {}, "k:{\"ip\":\"172.30.184.176\"}": {".": {}, "f:ip": {}}}, "f:startTime": {}}}, "manager": "kubelet", "operation": "Update", "subresource": "status", "time": "2023-08-30T01:10:07Z"}], "name": "c-mas-devops-fixes-main-manage-db2u-0", "namespace": "db2u", "ownerReferences": [{"apiVersion": "apps/v1", "blockOwnerDeletion": true, "controller": true, "kind": "StatefulSet", "name": "c-mas-devops-fixes-main-manage-db2u", "uid": "e14d1dab-358f-4066-a208-7bb695757719"}], "resourceVersion": "78529", "uid": "d1d301ff-4b8f-4f1e-90fb-90186c80899f"}, "spec": {"affinity": {"podAntiAffinity": {}}, "containers": [{"env": [{"name": "POD", "valueFrom": {"fieldRef": {"apiVersion": "v1", "fieldPath": "metadata.labels['name']"}}}, {"name": "POD_NAME", "valueFrom": {"fieldRef": {"apiVersion": "v1", "fieldPath": "metadata.name"}}}, {"name": "POD_NAMESPACE", "valueFrom": {"fieldRef": {"apiVersion": "v1", "fieldPath": "metadata.namespace"}}}, {"name": "MEMORY_REQUEST", "valueFrom": {"resourceFieldRef": {"divisor": "0", "resource": "requests.memory"}}}, {"name": "MEMORY_LIMIT", "valueFrom": {"resourceFieldRef": {"divisor": "0", "resource": "limits.memory"}}}, {"name": "CPU_LIMIT", "valueFrom": {"resourceFieldRef": {"divisor": "0", "resource": "limits.cpu"}}}, {"name": "etcdoperator", "value": "true"}, {"name": "WV_RECOVERY", "value": "partial"}, {"name": "WV_HACLASS", "value": "UDB"}, {"name": "ETCD_ENDPOINTS", "value": "http://c-mas-devops-fixes-main-manage-etcd-0.c-mas-devops-fixes-main-manage-etcd:2379,http://c-mas-devops-fixes-main-manage-etcd-0.c-mas-devops-fixes-main-manage-etcd:2379,http://c-mas-devops-fixes-main-manage-etcd-0.c-mas-devops-fixes-main-manage-etcd:2379"}, {"name": "ETCDCTL_API", "value": "3"}, {"name": "ETCDCTL_ENDPOINTS", "value": "http://c-mas-devops-fixes-main-manage-etcd-0.c-mas-devops-fixes-main-manage-etcd:2379,http://c-mas-devops-fixes-main-manage-etcd-0.c-mas-devops-fixes-main-manage-etcd:2379,http://c-mas-devops-fixes-main-manage-etcd-0.c-mas-devops-fixes-main-manage-etcd:2379"}, {"name": "SERVICE_NAME", "value": "c-mas-devops-fixes-main-manage-db2u-internal"}, {"name": "DB2U_API_ENDPOINT", "value": "c-mas-devops-fixes-main-manage-db2u-internal.db2u.svc:50052"}, {"name": "DB2U_API_DATABASE_BACKEND", "value": "k8s"}, {"name": "DB2U_API_CONFIGMAP_NAME", "value": "c-mas-devops-fixes-main-manage-db2u-api"}, {"name": "DB2U_API_KEY_FILE", "value": "/secrets/certs/db2u-api/tls.key"}, {"name": "DB2U_API_CERT_FILE", "value": "/secrets/certs/db2u-api/tls.crt"}], "image": "icr.io/db2u/db2u@sha256:2532bee039ea3e1d825cfc0ac226fddf88a1192ae85b98cadcbdad5e75fd138b", "imagePullPolicy": "IfNotPresent", "livenessProbe": {"failureThreshold": 5, "httpGet": {"path": "/v1/db2/health", "port": 50052, "scheme": "HTTPS"}, "periodSeconds": 60, "successThreshold": 1, "timeoutSeconds": 3}, "name": "db2u", "ports": [{"containerPort": 50000, "name": "db2-server", "protocol": "TCP"}, {"containerPort": 50001, "name": "db2-ssl-server", "protocol": "TCP"}, {"containerPort": 50052, "name": "db2uapi", "protocol": "TCP"}], "readinessProbe": {"exec": {"command": ["sh", "-c", "date"]}, "failureThreshold": 10, "periodSeconds": 30, "successThreshold": 1, "timeoutSeconds": 1}, "resources": {"limits": {"cpu": "6", "ephemeral-storage": "4Gi", "memory": "24Gi"}, "requests": {"cpu": "4", "ephemeral-storage": "2Gi", "memory": "8Gi"}}, "securityContext": {"allowPrivilegeEscalation": true, "capabilities": {"add": ["SYS_RESOURCE", "IPC_OWNER", "SYS_NICE", "CHOWN", "DAC_OVERRIDE", "FSETID", "FOWNER", "SETGID", "SETUID", "SETFCAP", "SETPCAP", "SYS_CHROOT", "KILL", "AUDIT_WRITE"], "drop": ["ALL"]}, "privileged": false, "readOnlyRootFilesystem": false, "runAsUser": 600}, "startupProbe": {"exec": {"command": ["sh", "-c", "[ -f /mnt/blumeta0/db2/.lifecycle/.db2u_restore_morph_completed ] || [ -f /db2u/tmp/.pause_probe ]"]}, "failureThreshold": 60, "initialDelaySeconds": 30, "periodSeconds": 20, "successThreshold": 1, "timeoutSeconds": 3}, "terminationMessagePath": "/dev/termination-log", "terminationMessagePolicy": "File", "volumeMounts": [{"mountPath": "/mnt/blumeta0", "name": "meta"}, {"mountPath": "/mnt/bludata0", "name": "data"}, {"mountPath": "/mnt/backup", "name": "backup"}, {"mountPath": "/mnt/logs/active", "name": "activelogs"}, {"mountPath": "/mnt/tempts", "name": "tempts"}, {"mountPath": "/dev/shm", "name": "dshm"}, {"mountPath": "/mnt/local", "name": "local"}, {"mountPath": "/run", "name": "runvol"}, {"mountPath": "/mnt/blumeta0/configmap/db2u", "name": "db2uconfig", "readOnly": true}, {"mountPath": "/mnt/blumeta0/configmap/db2/registry", "name": "db2regconfig", "readOnly": true}, {"mountPath": "/mnt/blumeta0/configmap/db2/dbm-cfg", "name": "db2dbmconfig", "readOnly": true}, {"mountPath": "/mnt/blumeta0/configmap/db2/db-cfg", "name": "db2dbconfig", "readOnly": true}, {"mountPath": "/secrets/sshkeys/db2instusr", "name": "sshkeys-db2instusr", "readOnly": true}, {"mountPath": "/secrets/sshkeys/db2uhausr", "name": "sshkeys-db2uhausr", "readOnly": true}, {"mountPath": "/secrets/db2ssl", "name": "db2ssl", "readOnly": true}, {"mountPath": "/secrets/db2instancepwd", "name": "instancepassword", "readOnly": true}, {"mountPath": "/secrets/certs/wv-rest", "name": "certs-wv-rest", "readOnly": true}, {"mountPath": "/db2u/license/", "name": "db2u-lic", "readOnly": true}, {"mountPath": "/secrets/sshkeys/db2uadm", "name": "sshkeys-db2uadm", "readOnly": true}, {"mountPath": "/secrets/certs/db2u-api", "name": "certs-db2u-api", "readOnly": true}, {"mountPath": "/secrets/user-mgmt-keypwd", "name": "user-mgmt-key", "readOnly": true}, {"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount", "name": "kube-api-access-fmvlx", "readOnly": true}]}], "dnsConfig": {"options": [{"name": "ndots", "value": "2"}], "searches": ["c-mas-devops-fixes-main-manage-db2u-internal.db2u.svc.cluster.local"]}, "dnsPolicy": "ClusterFirst", "enableServiceLinks": true, "hostname": "c-mas-devops-fixes-main-manage-db2u-0", "imagePullSecrets": [{"name": "ibm-registry"}, {"name": "account-db2u-mas-devops-fixes-main-manage-dockercfg-wbsqz"}], "initContainers": [{"command": ["bash", "-ec", "/tools/pre-install/db2u_init.sh ${MLN_TOTAL} ${REPLICAS}"], "env": [{"name": "SERVICENAME", "value": "c-mas-devops-fixes-main-manage-db2u"}, {"name": "DB2TYPE", "value": "db2wh"}, {"name": "POD_NAME", "valueFrom": {"fieldRef": {"apiVersion": "v1", "fieldPath": "metadata.name"}}}, {"name": "POD_NAMESPACE", "valueFrom": {"fieldRef": {"apiVersion": "v1", "fieldPath": "metadata.namespace"}}}, {"name": "MLN_TOTAL", "value": "1"}, {"name": "REPLICAS", "value": "1"}, {"name": "SERVICE_NAME", "value": "c-mas-devops-fixes-main-manage-db2u-internal"}, {"name": "DB2U_API_ENDPOINT", "value": "c-mas-devops-fixes-main-manage-db2u-internal.db2u.svc:50052"}, {"name": "DB2U_API_DATABASE_BACKEND", "value": "k8s"}, {"name": "DB2U_API_CONFIGMAP_NAME", "value": "c-mas-devops-fixes-main-manage-db2u-api"}, {"name": "DB2U_API_KEY_FILE", "value": "/secrets/certs/db2u-api/tls.key"}, {"name": "DB2U_API_CERT_FILE", "value": "/secrets/certs/db2u-api/tls.crt"}], "image": "icr.io/db2u/db2u.tools@sha256:4515fe819f9812fabf5b0e65acbbf65c2923ac89baa48976f903d695c4129030", "imagePullPolicy": "IfNotPresent", "name": "init-labels", "resources": {"limits": {"cpu": "500m", "ephemeral-storage": "5Mi", "memory": "256Mi"}, "requests": {"cpu": "100m", "ephemeral-storage": "1Mi", "memory": "50Mi"}}, "securityContext": {"allowPrivilegeEscalation": true, "capabilities": {"add": ["CHOWN", "DAC_OVERRIDE", "FOWNER", "SETUID", "SETGID"], "drop": ["ALL"]}, "privileged": false, "readOnlyRootFilesystem": false, "runAsUser": 500}, "terminationMessagePath": "/dev/termination-log", "terminationMessagePolicy": "File", "volumeMounts": [{"mountPath": "/mnt/blumeta0", "name": "meta"}, {"mountPath": "/mnt/blumeta0/configmap/db2u", "name": "db2uconfig", "readOnly": true}, {"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount", "name": "kube-api-access-fmvlx", "readOnly": true}]}, {"command": ["bash", "-ec", "/tools/pre-install/set_kernel_params.sh"], "env": [{"name": "SERVICENAME", "value": "c-mas-devops-fixes-main-manage-db2u"}, {"name": "POD_NAME", "valueFrom": {"fieldRef": {"apiVersion": "v1", "fieldPath": "metadata.name"}}}, {"name": "POD_NAMESPACE", "valueFrom": {"fieldRef": {"apiVersion": "v1", "fieldPath": "metadata.namespace"}}}, {"name": "MEMORY_LIMIT", "valueFrom": {"resourceFieldRef": {"containerName": "db2u", "divisor": "0", "resource": "limits.memory"}}}, {"name": "SERVICE_NAME", "value": "c-mas-devops-fixes-main-manage-db2u-internal"}, {"name": "DB2U_API_ENDPOINT", "value": "c-mas-devops-fixes-main-manage-db2u-internal.db2u.svc:50052"}, {"name": "DB2U_API_DATABASE_BACKEND", "value": "k8s"}, {"name": "DB2U_API_CONFIGMAP_NAME", "value": "c-mas-devops-fixes-main-manage-db2u-api"}, {"name": "DB2U_API_KEY_FILE", "value": "/secrets/certs/db2u-api/tls.key"}, {"name": "DB2U_API_CERT_FILE", "value": "/secrets/certs/db2u-api/tls.crt"}], "image": "icr.io/db2u/db2u.tools@sha256:4515fe819f9812fabf5b0e65acbbf65c2923ac89baa48976f903d695c4129030", "imagePullPolicy": "IfNotPresent", "name": "init-kernel", "resources": {"limits": {"cpu": "500m", "ephemeral-storage": "5Mi", "memory": "256Mi"}, "requests": {"cpu": "100m", "ephemeral-storage": "1Mi", "memory": "50Mi"}}, "securityContext": {"allowPrivilegeEscalation": true, "capabilities": {"drop": ["ALL"]}, "privileged": true, "readOnlyRootFilesystem": false, "runAsNonRoot": false, "runAsUser": 0}, "terminationMessagePath": "/dev/termination-log", "terminationMessagePolicy": "File", "volumeMounts": [{"mountPath": "/mnt/blumeta0", "name": "meta"}, {"mountPath": "/host/proc", "name": "proc"}, {"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount", "name": "kube-api-access-fmvlx", "readOnly": true}]}], "nodeName": "10.113.27.178", "preemptionPolicy": "PreemptLowerPriority", "priority": 0, "restartPolicy": "Always", "schedulerName": "default-scheduler", "securityContext": {"runAsNonRoot": true, "seLinuxOptions": {"level": "s0:c26,c15"}}, "serviceAccount": "account-db2u-mas-devops-fixes-main-manage", "serviceAccountName": "account-db2u-mas-devops-fixes-main-manage", "subdomain": "c-mas-devops-fixes-main-manage-db2u-internal", "terminationGracePeriodSeconds": 120, "tolerations": [{"effect": "NoExecute", "key": "node.kubernetes.io/not-ready", "operator": "Exists", "tolerationSeconds": 300}, {"effect": "NoExecute", "key": "node.kubernetes.io/unreachable", "operator": "Exists", "tolerationSeconds": 300}, {"effect": "NoSchedule", "key": "node.kubernetes.io/memory-pressure", "operator": "Exists"}], "volumes": [{"name": "activelogs", "persistentVolumeClaim": {"claimName": "activelogs-c-mas-devops-fixes-main-manage-db2u-0"}}, {"name": "tempts", "persistentVolumeClaim": {"claimName": "tempts-c-mas-devops-fixes-main-manage-db2u-0"}}, {"name": "data", "persistentVolumeClaim": {"claimName": "data-c-mas-devops-fixes-main-manage-db2u-0"}}, {"name": "meta", "persistentVolumeClaim": {"claimName": "c-mas-devops-fixes-main-manage-meta"}}, {"name": "backup", "persistentVolumeClaim": {"claimName": "c-mas-devops-fixes-main-manage-backup"}}, {"emptyDir": {"medium": "Memory", "sizeLimit": "1Gi"}, "name": "dshm"}, {"emptyDir": {"sizeLimit": "200Mi"}, "name": "local"}, {"emptyDir": {"medium": "Memory", "sizeLimit": "200Mi"}, "name": "runvol"}, {"hostPath": {"path": "/proc", "type": ""}, "name": "proc"}, {"configMap": {"defaultMode": 420, "name": "c-mas-devops-fixes-main-manage-db2uconfig"}, "name": "db2uconfig"}, {"configMap": {"defaultMode": 420, "name": "c-mas-devops-fixes-main-manage-db2regconfig"}, "name": "db2regconfig"}, {"configMap": {"defaultMode": 420, "name": "c-mas-devops-fixes-main-manage-db2dbmconfig"}, "name": "db2dbmconfig"}, {"configMap": {"defaultMode": 420, "name": "c-mas-devops-fixes-main-manage-db2dbconfig"}, "name": "db2dbconfig"}, {"name": "sshkeys-db2instusr", "secret": {"defaultMode": 256, "optional": false, "secretName": "c-mas-devops-fixes-main-manage-sshkeys-db2instusr"}}, {"name": "sshkeys-db2uhausr", "secret": {"defaultMode": 256, "optional": false, "secretName": "c-mas-devops-fixes-main-manage-sshkeys-db2uhausr"}}, {"name": "db2ssl", "secret": {"defaultMode": 420, "optional": false, "secretName": "db2u-certificate"}}, {"name": "instancepassword", "secret": {"defaultMode": 420, "optional": false, "secretName": "c-mas-devops-fixes-main-manage-instancepassword"}}, {"name": "certs-wv-rest", "secret": {"defaultMode": 256, "optional": false, "secretName": "c-mas-devops-fixes-main-manage-certs-wv-rest"}}, {"name": "db2u-lic", "secret": {"defaultMode": 256, "optional": false, "secretName": "c-mas-devops-fixes-main-manage-db2u-lic"}}, {"name": "sshkeys-db2uadm", "secret": {"defaultMode": 256, "optional": false, "secretName": "c-mas-devops-fixes-main-manage-sshkeys-db2uadm"}}, {"name": "certs-db2u-api", "secret": {"defaultMode": 420, "optional": false, "secretName": "c-mas-devops-fixes-main-manage-certs-db2u-api"}}, {"name": "user-mgmt-key", "secret": {"defaultMode": 256, "optional": false, "secretName": "c-mas-devops-fixes-main-manage-user-mgmt-key"}}, {"name": "kube-api-access-fmvlx", "projected": {"defaultMode": 420, "sources": [{"serviceAccountToken": {"expirationSeconds": 3607, "path": "token"}}, {"configMap": {"items": [{"key": "ca.crt", "path": "ca.crt"}], "name": "kube-root-ca.crt"}}, {"downwardAPI": {"items": [{"fieldRef": {"apiVersion": "v1", "fieldPath": "metadata.namespace"}, "path": "namespace"}]}}, {"configMap": {"items": [{"key": "service-ca.crt", "path": "service-ca.crt"}], "name": "openshift-service-ca.crt"}}]}}]}, "status": {"conditions": [{"lastProbeTime": null, "lastTransitionTime": "2023-08-30T01:04:12Z", "status": "True", "type": "Initialized"}, {"lastProbeTime": null, "lastTransitionTime": "2023-08-30T01:10:07Z", "status": "True", "type": "Ready"}, {"lastProbeTime": null, "lastTransitionTime": "2023-08-30T01:10:07Z", "status": "True", "type": "ContainersReady"}, {"lastProbeTime": null, "lastTransitionTime": "2023-08-30T01:03:31Z", "status": "True", "type": "PodScheduled"}], "containerStatuses": [{"containerID": "cri-o://3fa11e2578c7ab2a81eac3c57034c50912ffd42727e65ebf715024fae94ab583", "image": "icr.io/db2u/db2u@sha256:2532bee039ea3e1d825cfc0ac226fddf88a1192ae85b98cadcbdad5e75fd138b", "imageID": "icr.io/db2u/db2u@sha256:2532bee039ea3e1d825cfc0ac226fddf88a1192ae85b98cadcbdad5e75fd138b", "lastState": {}, "name": "db2u", "ready": true, "restartCount": 0, "started": true, "state": {"running": {"startedAt": "2023-08-30T01:04:12Z"}}}], "hostIP": "10.113.27.178", "initContainerStatuses": [{"containerID": "cri-o://2d8552ac9885ba744e2dd6582b88773a002a7e3b6d2de079623b87dbb81e3b4d", "image": "icr.io/db2u/db2u.tools@sha256:4515fe819f9812fabf5b0e65acbbf65c2923ac89baa48976f903d695c4129030", "imageID": "icr.io/db2u/db2u.tools@sha256:4515fe819f9812fabf5b0e65acbbf65c2923ac89baa48976f903d695c4129030", "lastState": {}, "name": "init-labels", "ready": true, "restartCount": 0, "state": {"terminated": {"containerID": "cri-o://2d8552ac9885ba744e2dd6582b88773a002a7e3b6d2de079623b87dbb81e3b4d", "exitCode": 0, "finishedAt": "2023-08-30T01:04:10Z", "reason": "Completed", "startedAt": "2023-08-30T01:04:08Z"}}}, {"containerID": "cri-o://646128d1345139a7a7f75ee459a3356f89269b3e2a4596e8dd1b85012162a761", "image": "icr.io/db2u/db2u.tools@sha256:4515fe819f9812fabf5b0e65acbbf65c2923ac89baa48976f903d695c4129030", "imageID": "icr.io/db2u/db2u.tools@sha256:4515fe819f9812fabf5b0e65acbbf65c2923ac89baa48976f903d695c4129030", "lastState": {}, "name": "init-kernel", "ready": true, "restartCount": 0, "state": {"terminated": {"containerID": "cri-o://646128d1345139a7a7f75ee459a3356f89269b3e2a4596e8dd1b85012162a761", "exitCode": 0, "finishedAt": "2023-08-30T01:04:11Z", "reason": "Completed", "startedAt": "2023-08-30T01:04:11Z"}}}], "phase": "Running", "podIP": "172.30.184.176", "podIPs": [{"ip": "172.30.184.176"}], "qosClass": "Burstable", "startTime": "2023-08-30T01:03:31Z"}}}
TASK [ibm.mas_devops.db2 : Create LDAP user if username and password is provided] ***
Wednesday 30 August 2023 01:14:25 +0000 (0:00:00.919) 0:15:29.500 ******
included: /opt/app-root/lib64/python3.9/site-packages/ansible_collections/ibm/mas_devops/roles/db2/tasks/install/create_ldap_user.yml for localhost
TASK [ibm.mas_devops.db2 : Lookup db2 ldap Pod in db2u namespace] **************
Wednesday 30 August 2023 01:14:25 +0000 (0:00:00.105) 0:15:29.605 ******
ok: [localhost] => {"api_found": true, "changed": false, "resources": [{"apiVersion": "v1", "kind": "Pod", "metadata": {"annotations": {"cni.projectcalico.org/containerID": "0b39cd7895d57fd481cf6706efa432802edcdcdc5d433935c15ae75c8c8d43b6", "cni.projectcalico.org/podIP": "172.30.101.55/32", "cni.projectcalico.org/podIPs": "172.30.101.55/32", "k8s.v1.cni.cncf.io/network-status": "[{\n \"name\": \"k8s-pod-network\",\n \"ips\": [\n \"172.30.101.55\"\n ],\n \"default\": true,\n \"dns\": {}\n}]", "k8s.v1.cni.cncf.io/networks-status": "[{\n \"name\": \"k8s-pod-network\",\n \"ips\": [\n \"172.30.101.55\"\n ],\n \"default\": true,\n \"dns\": {}\n}]", "openshift.io/scc": "db2u-c-mas-devops-fixes-main-manage-scc"}, "creationTimestamp": "2023-08-30T01:00:43Z", "generateName": "c-mas-devops-fixes-main-manage-ldap-5494c467dd-", "labels": {"app": "mas-devops-fixes-main-manage", "formation_id": "mas-devops-fixes-main-manage", "pod-template-hash": "5494c467dd", "role": "ldap"}, "managedFields": [{"apiVersion": "v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": {"f:generateName": {}, "f:labels": {".": {}, "f:app": {}, "f:formation_id": {}, "f:pod-template-hash": {}, "f:role": {}}, "f:ownerReferences": {".": {}, "k:{\"uid\":\"41289fa7-5480-4d1a-bb16-a1cb000f5bf4\"}": {}}}, "f:spec": {"f:affinity": {".": {}, "f:podAntiAffinity": {}}, "f:containers": {"k:{\"name\":\"ldap\"}": {".": {}, "f:env": {".": {}, "k:{\"name\":\"SERVICENAME\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"role\"}": {".": {}, "f:name": {}, "f:value": {}}}, "f:image": {}, "f:imagePullPolicy": {}, "f:livenessProbe": {".": {}, "f:failureThreshold": {}, "f:initialDelaySeconds": {}, "f:periodSeconds": {}, "f:successThreshold": {}, "f:tcpSocket": {".": {}, "f:port": {}}, "f:timeoutSeconds": {}}, "f:name": {}, "f:readinessProbe": {".": {}, "f:exec": {".": {}, "f:command": {}}, "f:failureThreshold": {}, "f:initialDelaySeconds": {}, "f:periodSeconds": {}, "f:successThreshold": {}, "f:timeoutSeconds": {}}, "f:resources": {".": {}, "f:limits": {".": {}, "f:cpu": {}, "f:ephemeral-storage": {}, "f:memory": {}}, "f:requests": {".": {}, "f:cpu": {}, "f:ephemeral-storage": {}, "f:memory": {}}}, "f:securityContext": {".": {}, "f:allowPrivilegeEscalation": {}, "f:capabilities": {".": {}, "f:add": {}, "f:drop": {}}, "f:privileged": {}, "f:readOnlyRootFilesystem": {}}, "f:terminationMessagePath": {}, "f:terminationMessagePolicy": {}, "f:volumeMounts": {".": {}, "k:{\"mountPath\":\"/mnt/blumeta0\"}": {".": {}, "f:mountPath": {}, "f:name": {}}, "k:{\"mountPath\":\"/secrets/bluadmin.pwd\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/secrets/bluldap.pwd\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}}}}, "f:dnsPolicy": {}, "f:enableServiceLinks": {}, "f:restartPolicy": {}, "f:schedulerName": {}, "f:securityContext": {".": {}, "f:runAsNonRoot": {}, "f:runAsUser": {}, "f:supplementalGroups": {}}, "f:serviceAccount": {}, "f:serviceAccountName": {}, "f:terminationGracePeriodSeconds": {}, "f:volumes": {".": {}, "k:{\"name\":\"ldapblueadminpassword\"}": {".": {}, "f:name": {}, "f:secret": {".": {}, "f:defaultMode": {}, "f:optional": {}, "f:secretName": {}}}, "k:{\"name\":\"ldappassword\"}": {".": {}, "f:name": {}, "f:secret": {".": {}, "f:defaultMode": {}, "f:optional": {}, "f:secretName": {}}}, "k:{\"name\":\"meta\"}": {".": {}, "f:name": {}, "f:persistentVolumeClaim": {".": {}, "f:claimName": {}}}}}}, "manager": "kube-controller-manager", "operation": "Update", "time": "2023-08-30T01:00:43Z"}, {"apiVersion": "v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:status": {"f:conditions": {".": {}, "k:{\"type\":\"PodScheduled\"}": {".": {}, "f:lastProbeTime": {}, "f:lastTransitionTime": {}, "f:message": {}, "f:reason": {}, "f:status": {}, "f:type": {}}}}}, "manager": "kube-scheduler", "operation": "Update", "subresource": "status", "time": "2023-08-30T01:00:43Z"}, {"apiVersion": "v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": {"f:annotations": {"f:cni.projectcalico.org/containerID": {}, "f:cni.projectcalico.org/podIP": {}, "f:cni.projectcalico.org/podIPs": {}}}}, "manager": "calico", "operation": "Update", "subresource": "status", "time": "2023-08-30T01:01:24Z"}, {"apiVersion": "v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": {"f:annotations": {"f:k8s.v1.cni.cncf.io/network-status": {}, "f:k8s.v1.cni.cncf.io/networks-status": {}}}}, "manager": "multus", "operation": "Update", "subresource": "status", "time": "2023-08-30T01:01:24Z"}, {"apiVersion": "v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:status": {"f:conditions": {"k:{\"type\":\"ContainersReady\"}": {".": {}, "f:lastProbeTime": {}, "f:lastTransitionTime": {}, "f:status": {}, "f:type": {}}, "k:{\"type\":\"Initialized\"}": {".": {}, "f:lastProbeTime": {}, "f:lastTransitionTime": {}, "f:status": {}, "f:type": {}}, "k:{\"type\":\"Ready\"}": {".": {}, "f:lastProbeTime": {}, "f:lastTransitionTime": {}, "f:status": {}, "f:type": {}}}, "f:containerStatuses": {}, "f:hostIP": {}, "f:phase": {}, "f:podIP": {}, "f:podIPs": {".": {}, "k:{\"ip\":\"172.30.101.55\"}": {".": {}, "f:ip": {}}}, "f:startTime": {}}}, "manager": "kubelet", "operation": "Update", "subresource": "status", "time": "2023-08-30T01:01:54Z"}], "name": "c-mas-devops-fixes-main-manage-ldap-5494c467dd-mt7w5", "namespace": "db2u", "ownerReferences": [{"apiVersion": "apps/v1", "blockOwnerDeletion": true, "controller": true, "kind": "ReplicaSet", "name": "c-mas-devops-fixes-main-manage-ldap-5494c467dd", "uid": "41289fa7-5480-4d1a-bb16-a1cb000f5bf4"}], "resourceVersion": "67824", "uid": "d721251a-2ec3-4af4-bf39-c8167f8bd709"}, "spec": {"affinity": {"podAntiAffinity": {}}, "containers": [{"env": [{"name": "SERVICENAME", "value": "c-mas-devops-fixes-main-manage-ldap"}, {"name": "role", "value": "LDAP"}], "image": "icr.io/db2u/db2u.auxiliary.auth@sha256:89c19da618e6f0c9f2e5218ed1d6afa39c83cd21b332f0b611afa0ee430fbceb", "imagePullPolicy": "IfNotPresent", "livenessProbe": {"failureThreshold": 5, "initialDelaySeconds": 20, "periodSeconds": 30, "successThreshold": 1, "tcpSocket": {"port": 50389}, "timeoutSeconds": 10}, "name": "ldap", "readinessProbe": {"exec": {"command": ["/bin/sh", "-c", "ldapwhoami -x -Z -H ldap://localhost:50389 -D 'cn=bluldap,dc=blustratus,dc=com' -w $(sudo cat /secrets/bluldap.pwd/password)"]}, "failureThreshold": 5, "initialDelaySeconds": 10, "periodSeconds": 30, "successThreshold": 1, "timeoutSeconds": 3}, "resources": {"limits": {"cpu": "1", "ephemeral-storage": "5Mi", "memory": "1Gi"}, "requests": {"cpu": "500m", "ephemeral-storage": "1Mi", "memory": "512Mi"}}, "securityContext": {"allowPrivilegeEscalation": true, "capabilities": {"add": ["CHOWN", "DAC_OVERRIDE", "SETGID", "SETUID", "KILL"], "drop": ["ALL"]}, "privileged": false, "readOnlyRootFilesystem": false}, "terminationMessagePath": "/dev/termination-log", "terminationMessagePolicy": "File", "volumeMounts": [{"mountPath": "/mnt/blumeta0", "name": "meta"}, {"mountPath": "/secrets/bluldap.pwd", "name": "ldappassword", "readOnly": true}, {"mountPath": "/secrets/bluadmin.pwd", "name": "ldapblueadminpassword", "readOnly": true}, {"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount", "name": "kube-api-access-wxdhl", "readOnly": true}]}], "dnsPolicy": "ClusterFirst", "enableServiceLinks": true, "imagePullSecrets": [{"name": "ibm-registry"}, {"name": "account-db2u-mas-devops-fixes-main-manage-dockercfg-wbsqz"}], "nodeName": "10.113.27.221", "preemptionPolicy": "PreemptLowerPriority", "priority": 0, "restartPolicy": "Always", "schedulerName": "default-scheduler", "securityContext": {"runAsNonRoot": true, "runAsUser": 55, "seLinuxOptions": {"level": "s0:c26,c15"}, "supplementalGroups": [55]}, "serviceAccount": "account-db2u-mas-devops-fixes-main-manage", "serviceAccountName": "account-db2u-mas-devops-fixes-main-manage", "terminationGracePeriodSeconds": 120, "tolerations": [{"effect": "NoExecute", "key": "node.kubernetes.io/not-ready", "operator": "Exists", "tolerationSeconds": 300}, {"effect": "NoExecute", "key": "node.kubernetes.io/unreachable", "operator": "Exists", "tolerationSeconds": 300}, {"effect": "NoSchedule", "key": "node.kubernetes.io/memory-pressure", "operator": "Exists"}], "volumes": [{"name": "meta", "persistentVolumeClaim": {"claimName": "c-mas-devops-fixes-main-manage-meta"}}, {"name": "ldappassword", "secret": {"defaultMode": 256, "optional": false, "secretName": "c-mas-devops-fixes-main-manage-ldappassword"}}, {"name": "ldapblueadminpassword", "secret": {"defaultMode": 256, "optional": false, "secretName": "c-mas-devops-fixes-main-manage-ldapblueadminpassword"}}, {"name": "kube-api-access-wxdhl", "projected": {"defaultMode": 420, "sources": [{"serviceAccountToken": {"expirationSeconds": 3607, "path": "token"}}, {"configMap": {"items": [{"key": "ca.crt", "path": "ca.crt"}], "name": "kube-root-ca.crt"}}, {"downwardAPI": {"items": [{"fieldRef": {"apiVersion": "v1", "fieldPath": "metadata.namespace"}, "path": "namespace"}]}}, {"configMap": {"items": [{"key": "service-ca.crt", "path": "service-ca.crt"}], "name": "openshift-service-ca.crt"}}]}}]}, "status": {"conditions": [{"lastProbeTime": null, "lastTransitionTime": "2023-08-30T01:01:23Z", "status": "True", "type": "Initialized"}, {"lastProbeTime": null, "lastTransitionTime": "2023-08-30T01:01:54Z", "status": "True", "type": "Ready"}, {"lastProbeTime": null, "lastTransitionTime": "2023-08-30T01:01:54Z", "status": "True", "type": "ContainersReady"}, {"lastProbeTime": null, "lastTransitionTime": "2023-08-30T01:01:23Z", "status": "True", "type": "PodScheduled"}], "containerStatuses": [{"containerID": "cri-o://19a5e35169fe53c9618e13187f276fc59227a92648bbe408055b1e9a3b1b961b", "image": "icr.io/db2u/db2u.auxiliary.auth@sha256:89c19da618e6f0c9f2e5218ed1d6afa39c83cd21b332f0b611afa0ee430fbceb", "imageID": "icr.io/db2u/db2u.auxiliary.auth@sha256:89c19da618e6f0c9f2e5218ed1d6afa39c83cd21b332f0b611afa0ee430fbceb", "lastState": {}, "name": "ldap", "ready": true, "restartCount": 0, "started": true, "state": {"running": {"startedAt": "2023-08-30T01:01:25Z"}}}], "hostIP": "10.113.27.221", "phase": "Running", "podIP": "172.30.101.55", "podIPs": [{"ip": "172.30.101.55"}], "qosClass": "Burstable", "startTime": "2023-08-30T01:01:23Z"}}]}
TASK [ibm.mas_devops.db2 : Set facts for LDAP pod name] ************************
Wednesday 30 August 2023 01:14:26 +0000 (0:00:00.859) 0:15:30.464 ******
ok: [localhost] => {"ansible_facts": {"db2_ldap_pod_name": "c-mas-devops-fixes-main-manage-ldap-5494c467dd-mt7w5"}, "changed": false}
TASK [ibm.mas_devops.db2 : Lookup db2 instance Pod in db2u namespace] **********
Wednesday 30 August 2023 01:14:26 +0000 (0:00:00.095) 0:15:30.560 ******
ok: [localhost] => {"api_found": true, "attempts": 1, "changed": false, "failed_when_result": false, "resources": [{"apiVersion": "v1", "kind": "Pod", "metadata": {"annotations": {"cni.projectcalico.org/containerID": "205247d866dce8ffc3a43220fca55020472a163ce1bd4ab8a6f7cbeaed82486f", "cni.projectcalico.org/podIP": "172.30.184.176/32", "cni.projectcalico.org/podIPs": "172.30.184.176/32", "k8s.v1.cni.cncf.io/network-status": "[{\n \"name\": \"k8s-pod-network\",\n \"ips\": [\n \"172.30.184.176\"\n ],\n \"default\": true,\n \"dns\": {}\n}]", "k8s.v1.cni.cncf.io/networks-status": "[{\n \"name\": \"k8s-pod-network\",\n \"ips\": [\n \"172.30.184.176\"\n ],\n \"default\": true,\n \"dns\": {}\n}]", "openshift.io/scc": "db2u-c-mas-devops-fixes-main-manage-scc", "productChargedContainers": "All", "productID": "cb1bb71fd6fb4b6695f64ba436421a33", "productMetric": "FREE", "productName": "IBM Db2 Warehouse Developer Edition Non-Production (Community)"}, "creationTimestamp": "2023-08-30T01:02:20Z", "deletionGracePeriodSeconds": 120, "deletionTimestamp": "2023-08-30T01:16:24Z", "generateName": "c-mas-devops-fixes-main-manage-db2u-", "labels": {"app": "mas-devops-fixes-main-manage", "component": "db2wh", "controller-revision-hash": "c-mas-devops-fixes-main-manage-db2u-5dfc46fcc7", "formation_id": "mas-devops-fixes-main-manage", "name": "dashmpp-head-0", "role": "db", "statefulset.kubernetes.io/pod-name": "c-mas-devops-fixes-main-manage-db2u-0", "type": "engine"}, "managedFields": [{"apiVersion": "v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": {"f:annotations": {".": {}, "f:productChargedContainers": {}, "f:productID": {}, "f:productMetric": {}, "f:productName": {}}, "f:generateName": {}, "f:labels": {".": {}, "f:app": {}, "f:component": {}, "f:controller-revision-hash": {}, "f:formation_id": {}, "f:role": {}, "f:statefulset.kubernetes.io/pod-name": {}, "f:type": {}}, "f:ownerReferences": {".": {}, "k:{\"uid\":\"e14d1dab-358f-4066-a208-7bb695757719\"}": {}}}, "f:spec": {"f:affinity": {".": {}, "f:podAntiAffinity": {}}, "f:containers": {"k:{\"name\":\"db2u\"}": {".": {}, "f:env": {".": {}, "k:{\"name\":\"CPU_LIMIT\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:resourceFieldRef": {}}}, "k:{\"name\":\"DB2U_API_CERT_FILE\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_CONFIGMAP_NAME\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_DATABASE_BACKEND\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_ENDPOINT\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_KEY_FILE\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"ETCDCTL_API\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"ETCDCTL_ENDPOINTS\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"ETCD_ENDPOINTS\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"MEMORY_LIMIT\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:resourceFieldRef": {}}}, "k:{\"name\":\"MEMORY_REQUEST\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:resourceFieldRef": {}}}, "k:{\"name\":\"POD\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:fieldRef": {}}}, "k:{\"name\":\"POD_NAME\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:fieldRef": {}}}, "k:{\"name\":\"POD_NAMESPACE\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:fieldRef": {}}}, "k:{\"name\":\"SERVICE_NAME\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"WV_HACLASS\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"WV_RECOVERY\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"etcdoperator\"}": {".": {}, "f:name": {}, "f:value": {}}}, "f:image": {}, "f:imagePullPolicy": {}, "f:livenessProbe": {".": {}, "f:failureThreshold": {}, "f:httpGet": {".": {}, "f:path": {}, "f:port": {}, "f:scheme": {}}, "f:periodSeconds": {}, "f:successThreshold": {}, "f:timeoutSeconds": {}}, "f:name": {}, "f:ports": {".": {}, "k:{\"containerPort\":50000,\"protocol\":\"TCP\"}": {".": {}, "f:containerPort": {}, "f:name": {}, "f:protocol": {}}, "k:{\"containerPort\":50001,\"protocol\":\"TCP\"}": {".": {}, "f:containerPort": {}, "f:name": {}, "f:protocol": {}}, "k:{\"containerPort\":50052,\"protocol\":\"TCP\"}": {".": {}, "f:containerPort": {}, "f:name": {}, "f:protocol": {}}}, "f:readinessProbe": {".": {}, "f:exec": {".": {}, "f:command": {}}, "f:failureThreshold": {}, "f:periodSeconds": {}, "f:successThreshold": {}, "f:timeoutSeconds": {}}, "f:resources": {".": {}, "f:limits": {".": {}, "f:cpu": {}, "f:ephemeral-storage": {}, "f:memory": {}}, "f:requests": {".": {}, "f:cpu": {}, "f:ephemeral-storage": {}, "f:memory": {}}}, "f:securityContext": {".": {}, "f:allowPrivilegeEscalation": {}, "f:capabilities": {".": {}, "f:add": {}, "f:drop": {}}, "f:privileged": {}, "f:readOnlyRootFilesystem": {}, "f:runAsUser": {}}, "f:startupProbe": {".": {}, "f:exec": {".": {}, "f:command": {}}, "f:failureThreshold": {}, "f:initialDelaySeconds": {}, "f:periodSeconds": {}, "f:successThreshold": {}, "f:timeoutSeconds": {}}, "f:terminationMessagePath": {}, "f:terminationMessagePolicy": {}, "f:volumeMounts": {".": {}, "k:{\"mountPath\":\"/db2u/license/\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/dev/shm\"}": {".": {}, "f:mountPath": {}, "f:name": {}}, "k:{\"mountPath\":\"/mnt/backup\"}": {".": {}, "f:mountPath": {}, "f:name": {}}, "k:{\"mountPath\":\"/mnt/bludata0\"}": {".": {}, "f:mountPath": {}, "f:name": {}}, "k:{\"mountPath\":\"/mnt/blumeta0\"}": {".": {}, "f:mountPath": {}, "f:name": {}}, "k:{\"mountPath\":\"/mnt/blumeta0/configmap/db2/db-cfg\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/mnt/blumeta0/configmap/db2/dbm-cfg\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/mnt/blumeta0/configmap/db2/registry\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/mnt/blumeta0/configmap/db2u\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/mnt/local\"}": {".": {}, "f:mountPath": {}, "f:name": {}}, "k:{\"mountPath\":\"/mnt/logs/active\"}": {".": {}, "f:mountPath": {}, "f:name": {}}, "k:{\"mountPath\":\"/mnt/tempts\"}": {".": {}, "f:mountPath": {}, "f:name": {}}, "k:{\"mountPath\":\"/run\"}": {".": {}, "f:mountPath": {}, "f:name": {}}, "k:{\"mountPath\":\"/secrets/certs/db2u-api\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/secrets/certs/wv-rest\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/secrets/db2instancepwd\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/secrets/db2ssl\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/secrets/sshkeys/db2instusr\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/secrets/sshkeys/db2uadm\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/secrets/sshkeys/db2uhausr\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/secrets/user-mgmt-keypwd\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}}}}, "f:dnsConfig": {".": {}, "f:options": {}, "f:searches": {}}, "f:dnsPolicy": {}, "f:enableServiceLinks": {}, "f:hostname": {}, "f:initContainers": {".": {}, "k:{\"name\":\"init-kernel\"}": {".": {}, "f:command": {}, "f:env": {".": {}, "k:{\"name\":\"DB2U_API_CERT_FILE\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_CONFIGMAP_NAME\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_DATABASE_BACKEND\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_ENDPOINT\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_KEY_FILE\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"MEMORY_LIMIT\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:resourceFieldRef": {}}}, "k:{\"name\":\"POD_NAME\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:fieldRef": {}}}, "k:{\"name\":\"POD_NAMESPACE\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:fieldRef": {}}}, "k:{\"name\":\"SERVICENAME\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"SERVICE_NAME\"}": {".": {}, "f:name": {}, "f:value": {}}}, "f:image": {}, "f:imagePullPolicy": {}, "f:name": {}, "f:resources": {".": {}, "f:limits": {".": {}, "f:cpu": {}, "f:ephemeral-storage": {}, "f:memory": {}}, "f:requests": {".": {}, "f:cpu": {}, "f:ephemeral-storage": {}, "f:memory": {}}}, "f:securityContext": {".": {}, "f:allowPrivilegeEscalation": {}, "f:capabilities": {".": {}, "f:drop": {}}, "f:privileged": {}, "f:readOnlyRootFilesystem": {}, "f:runAsNonRoot": {}, "f:runAsUser": {}}, "f:terminationMessagePath": {}, "f:terminationMessagePolicy": {}, "f:volumeMounts": {".": {}, "k:{\"mountPath\":\"/host/proc\"}": {".": {}, "f:mountPath": {}, "f:name": {}}, "k:{\"mountPath\":\"/mnt/blumeta0\"}": {".": {}, "f:mountPath": {}, "f:name": {}}}}, "k:{\"name\":\"init-labels\"}": {".": {}, "f:command": {}, "f:env": {".": {}, "k:{\"name\":\"DB2TYPE\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_CERT_FILE\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_CONFIGMAP_NAME\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_DATABASE_BACKEND\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_ENDPOINT\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_KEY_FILE\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"MLN_TOTAL\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"POD_NAME\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:fieldRef": {}}}, "k:{\"name\":\"POD_NAMESPACE\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:fieldRef": {}}}, "k:{\"name\":\"REPLICAS\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"SERVICENAME\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"SERVICE_NAME\"}": {".": {}, "f:name": {}, "f:value": {}}}, "f:image": {}, "f:imagePullPolicy": {}, "f:name": {}, "f:resources": {".": {}, "f:limits": {".": {}, "f:cpu": {}, "f:ephemeral-storage": {}, "f:memory": {}}, "f:requests": {".": {}, "f:cpu": {}, "f:ephemeral-storage": {}, "f:memory": {}}}, "f:securityContext": {".": {}, "f:allowPrivilegeEscalation": {}, "f:capabilities": {".": {}, "f:add": {}, "f:drop": {}}, "f:privileged": {}, "f:readOnlyRootFilesystem": {}, "f:runAsUser": {}}, "f:terminationMessagePath": {}, "f:terminationMessagePolicy": {}, "f:volumeMounts": {".": {}, "k:{\"mountPath\":\"/mnt/blumeta0\"}": {".": {}, "f:mountPath": {}, "f:name": {}}, "k:{\"mountPath\":\"/mnt/blumeta0/configmap/db2u\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}}}}, "f:restartPolicy": {}, "f:schedulerName": {}, "f:securityContext": {".": {}, "f:runAsNonRoot": {}}, "f:serviceAccount": {}, "f:serviceAccountName": {}, "f:subdomain": {}, "f:terminationGracePeriodSeconds": {}, "f:volumes": {".": {}, "k:{\"name\":\"activelogs\"}": {".": {}, "f:name": {}, "f:persistentVolumeClaim": {".": {}, "f:claimName": {}}}, "k:{\"name\":\"backup\"}": {".": {}, "f:name": {}, "f:persistentVolumeClaim": {".": {}, "f:claimName": {}}}, "k:{\"name\":\"certs-db2u-api\"}": {".": {}, "f:name": {}, "f:secret": {".": {}, "f:defaultMode": {}, "f:optional": {}, "f:secretName": {}}}, "k:{\"name\":\"certs-wv-rest\"}": {".": {}, "f:name": {}, "f:secret": {".": {}, "f:defaultMode": {}, "f:optional": {}, "f:secretName": {}}}, "k:{\"name\":\"data\"}": {".": {}, "f:name": {}, "f:persistentVolumeClaim": {".": {}, "f:claimName": {}}}, "k:{\"name\":\"db2dbconfig\"}": {".": {}, "f:configMap": {".": {}, "f:defaultMode": {}, "f:name": {}}, "f:name": {}}, "k:{\"name\":\"db2dbmconfig\"}": {".": {}, "f:configMap": {".": {}, "f:defaultMode": {}, "f:name": {}}, "f:name": {}}, "k:{\"name\":\"db2regconfig\"}": {".": {}, "f:configMap": {".": {}, "f:defaultMode": {}, "f:name": {}}, "f:name": {}}, "k:{\"name\":\"db2ssl\"}": {".": {}, "f:name": {}, "f:secret": {".": {}, "f:defaultMode": {}, "f:optional": {}, "f:secretName": {}}}, "k:{\"name\":\"db2u-lic\"}": {".": {}, "f:name": {}, "f:secret": {".": {}, "f:defaultMode": {}, "f:optional": {}, "f:secretName": {}}}, "k:{\"name\":\"db2uconfig\"}": {".": {}, "f:configMap": {".": {}, "f:defaultMode": {}, "f:name": {}}, "f:name": {}}, "k:{\"name\":\"dshm\"}": {".": {}, "f:emptyDir": {".": {}, "f:medium": {}, "f:sizeLimit": {}}, "f:name": {}}, "k:{\"name\":\"instancepassword\"}": {".": {}, "f:name": {}, "f:secret": {".": {}, "f:defaultMode": {}, "f:optional": {}, "f:secretName": {}}}, "k:{\"name\":\"local\"}": {".": {}, "f:emptyDir": {".": {}, "f:sizeLimit": {}}, "f:name": {}}, "k:{\"name\":\"meta\"}": {".": {}, "f:name": {}, "f:persistentVolumeClaim": {".": {}, "f:claimName": {}}}, "k:{\"name\":\"proc\"}": {".": {}, "f:hostPath": {".": {}, "f:path": {}, "f:type": {}}, "f:name": {}}, "k:{\"name\":\"runvol\"}": {".": {}, "f:emptyDir": {".": {}, "f:medium": {}, "f:sizeLimit": {}}, "f:name": {}}, "k:{\"name\":\"sshkeys-db2instusr\"}": {".": {}, "f:name": {}, "f:secret": {".": {}, "f:defaultMode": {}, "f:optional": {}, "f:secretName": {}}}, "k:{\"name\":\"sshkeys-db2uadm\"}": {".": {}, "f:name": {}, "f:secret": {".": {}, "f:defaultMode": {}, "f:optional": {}, "f:secretName": {}}}, "k:{\"name\":\"sshkeys-db2uhausr\"}": {".": {}, "f:name": {}, "f:secret": {".": {}, "f:defaultMode": {}, "f:optional": {}, "f:secretName": {}}}, "k:{\"name\":\"tempts\"}": {".": {}, "f:name": {}, "f:persistentVolumeClaim": {".": {}, "f:claimName": {}}}, "k:{\"name\":\"user-mgmt-key\"}": {".": {}, "f:name": {}, "f:secret": {".": {}, "f:defaultMode": {}, "f:optional": {}, "f:secretName": {}}}}}}, "manager": "kube-controller-manager", "operation": "Update", "time": "2023-08-30T01:02:20Z"}, {"apiVersion": "v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:status": {"f:conditions": {".": {}, "k:{\"type\":\"PodScheduled\"}": {".": {}, "f:lastProbeTime": {}, "f:lastTransitionTime": {}, "f:message": {}, "f:reason": {}, "f:status": {}, "f:type": {}}}}}, "manager": "kube-scheduler", "operation": "Update", "subresource": "status", "time": "2023-08-30T01:02:20Z"}, {"apiVersion": "v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": {"f:annotations": {"f:cni.projectcalico.org/containerID": {}, "f:cni.projectcalico.org/podIP": {}, "f:cni.projectcalico.org/podIPs": {}}}}, "manager": "calico", "operation": "Update", "subresource": "status", "time": "2023-08-30T01:04:08Z"}, {"apiVersion": "v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": {"f:annotations": {"f:k8s.v1.cni.cncf.io/network-status": {}, "f:k8s.v1.cni.cncf.io/networks-status": {}}}}, "manager": "multus", "operation": "Update", "subresource": "status", "time": "2023-08-30T01:04:08Z"}, {"apiVersion": "v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": {"f:labels": {"f:name": {}}}}, "manager": "kubectl-label", "operation": "Update", "time": "2023-08-30T01:04:10Z"}, {"apiVersion": "v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:status": {"f:conditions": {"k:{\"type\":\"ContainersReady\"}": {".": {}, "f:lastProbeTime": {}, "f:lastTransitionTime": {}, "f:status": {}, "f:type": {}}, "k:{\"type\":\"Initialized\"}": {".": {}, "f:lastProbeTime": {}, "f:lastTransitionTime": {}, "f:status": {}, "f:type": {}}, "k:{\"type\":\"Ready\"}": {".": {}, "f:lastProbeTime": {}, "f:lastTransitionTime": {}, "f:status": {}, "f:type": {}}}, "f:containerStatuses": {}, "f:hostIP": {}, "f:initContainerStatuses": {}, "f:phase": {}, "f:podIP": {}, "f:podIPs": {".": {}, "k:{\"ip\":\"172.30.184.176\"}": {".": {}, "f:ip": {}}}, "f:startTime": {}}}, "manager": "kubelet", "operation": "Update", "subresource": "status", "time": "2023-08-30T01:10:07Z"}], "name": "c-mas-devops-fixes-main-manage-db2u-0", "namespace": "db2u", "ownerReferences": [{"apiVersion": "apps/v1", "blockOwnerDeletion": true, "controller": true, "kind": "StatefulSet", "name": "c-mas-devops-fixes-main-manage-db2u", "uid": "e14d1dab-358f-4066-a208-7bb695757719"}], "resourceVersion": "78529", "uid": "d1d301ff-4b8f-4f1e-90fb-90186c80899f"}, "spec": {"affinity": {"podAntiAffinity": {}}, "containers": [{"env": [{"name": "POD", "valueFrom": {"fieldRef": {"apiVersion": "v1", "fieldPath": "metadata.labels['name']"}}}, {"name": "POD_NAME", "valueFrom": {"fieldRef": {"apiVersion": "v1", "fieldPath": "metadata.name"}}}, {"name": "POD_NAMESPACE", "valueFrom": {"fieldRef": {"apiVersion": "v1", "fieldPath": "metadata.namespace"}}}, {"name": "MEMORY_REQUEST", "valueFrom": {"resourceFieldRef": {"divisor": "0", "resource": "requests.memory"}}}, {"name": "MEMORY_LIMIT", "valueFrom": {"resourceFieldRef": {"divisor": "0", "resource": "limits.memory"}}}, {"name": "CPU_LIMIT", "valueFrom": {"resourceFieldRef": {"divisor": "0", "resource": "limits.cpu"}}}, {"name": "etcdoperator", "value": "true"}, {"name": "WV_RECOVERY", "value": "partial"}, {"name": "WV_HACLASS", "value": "UDB"}, {"name": "ETCD_ENDPOINTS", "value": "http://c-mas-devops-fixes-main-manage-etcd-0.c-mas-devops-fixes-main-manage-etcd:2379,http://c-mas-devops-fixes-main-manage-etcd-0.c-mas-devops-fixes-main-manage-etcd:2379,http://c-mas-devops-fixes-main-manage-etcd-0.c-mas-devops-fixes-main-manage-etcd:2379"}, {"name": "ETCDCTL_API", "value": "3"}, {"name": "ETCDCTL_ENDPOINTS", "value": "http://c-mas-devops-fixes-main-manage-etcd-0.c-mas-devops-fixes-main-manage-etcd:2379,http://c-mas-devops-fixes-main-manage-etcd-0.c-mas-devops-fixes-main-manage-etcd:2379,http://c-mas-devops-fixes-main-manage-etcd-0.c-mas-devops-fixes-main-manage-etcd:2379"}, {"name": "SERVICE_NAME", "value": "c-mas-devops-fixes-main-manage-db2u-internal"}, {"name": "DB2U_API_ENDPOINT", "value": "c-mas-devops-fixes-main-manage-db2u-internal.db2u.svc:50052"}, {"name": "DB2U_API_DATABASE_BACKEND", "value": "k8s"}, {"name": "DB2U_API_CONFIGMAP_NAME", "value": "c-mas-devops-fixes-main-manage-db2u-api"}, {"name": "DB2U_API_KEY_FILE", "value": "/secrets/certs/db2u-api/tls.key"}, {"name": "DB2U_API_CERT_FILE", "value": "/secrets/certs/db2u-api/tls.crt"}], "image": "icr.io/db2u/db2u@sha256:2532bee039ea3e1d825cfc0ac226fddf88a1192ae85b98cadcbdad5e75fd138b", "imagePullPolicy": "IfNotPresent", "livenessProbe": {"failureThreshold": 5, "httpGet": {"path": "/v1/db2/health", "port": 50052, "scheme": "HTTPS"}, "periodSeconds": 60, "successThreshold": 1, "timeoutSeconds": 3}, "name": "db2u", "ports": [{"containerPort": 50000, "name": "db2-server", "protocol": "TCP"}, {"containerPort": 50001, "name": "db2-ssl-server", "protocol": "TCP"}, {"containerPort": 50052, "name": "db2uapi", "protocol": "TCP"}], "readinessProbe": {"exec": {"command": ["sh", "-c", "date"]}, "failureThreshold": 10, "periodSeconds": 30, "successThreshold": 1, "timeoutSeconds": 1}, "resources": {"limits": {"cpu": "6", "ephemeral-storage": "4Gi", "memory": "24Gi"}, "requests": {"cpu": "4", "ephemeral-storage": "2Gi", "memory": "8Gi"}}, "securityContext": {"allowPrivilegeEscalation": true, "capabilities": {"add": ["SYS_RESOURCE", "IPC_OWNER", "SYS_NICE", "CHOWN", "DAC_OVERRIDE", "FSETID", "FOWNER", "SETGID", "SETUID", "SETFCAP", "SETPCAP", "SYS_CHROOT", "KILL", "AUDIT_WRITE"], "drop": ["ALL"]}, "privileged": false, "readOnlyRootFilesystem": false, "runAsUser": 600}, "startupProbe": {"exec": {"command": ["sh", "-c", "[ -f /mnt/blumeta0/db2/.lifecycle/.db2u_restore_morph_completed ] || [ -f /db2u/tmp/.pause_probe ]"]}, "failureThreshold": 60, "initialDelaySeconds": 30, "periodSeconds": 20, "successThreshold": 1, "timeoutSeconds": 3}, "terminationMessagePath": "/dev/termination-log", "terminationMessagePolicy": "File", "volumeMounts": [{"mountPath": "/mnt/blumeta0", "name": "meta"}, {"mountPath": "/mnt/bludata0", "name": "data"}, {"mountPath": "/mnt/backup", "name": "backup"}, {"mountPath": "/mnt/logs/active", "name": "activelogs"}, {"mountPath": "/mnt/tempts", "name": "tempts"}, {"mountPath": "/dev/shm", "name": "dshm"}, {"mountPath": "/mnt/local", "name": "local"}, {"mountPath": "/run", "name": "runvol"}, {"mountPath": "/mnt/blumeta0/configmap/db2u", "name": "db2uconfig", "readOnly": true}, {"mountPath": "/mnt/blumeta0/configmap/db2/registry", "name": "db2regconfig", "readOnly": true}, {"mountPath": "/mnt/blumeta0/configmap/db2/dbm-cfg", "name": "db2dbmconfig", "readOnly": true}, {"mountPath": "/mnt/blumeta0/configmap/db2/db-cfg", "name": "db2dbconfig", "readOnly": true}, {"mountPath": "/secrets/sshkeys/db2instusr", "name": "sshkeys-db2instusr", "readOnly": true}, {"mountPath": "/secrets/sshkeys/db2uhausr", "name": "sshkeys-db2uhausr", "readOnly": true}, {"mountPath": "/secrets/db2ssl", "name": "db2ssl", "readOnly": true}, {"mountPath": "/secrets/db2instancepwd", "name": "instancepassword", "readOnly": true}, {"mountPath": "/secrets/certs/wv-rest", "name": "certs-wv-rest", "readOnly": true}, {"mountPath": "/db2u/license/", "name": "db2u-lic", "readOnly": true}, {"mountPath": "/secrets/sshkeys/db2uadm", "name": "sshkeys-db2uadm", "readOnly": true}, {"mountPath": "/secrets/certs/db2u-api", "name": "certs-db2u-api", "readOnly": true}, {"mountPath": "/secrets/user-mgmt-keypwd", "name": "user-mgmt-key", "readOnly": true}, {"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount", "name": "kube-api-access-fmvlx", "readOnly": true}]}], "dnsConfig": {"options": [{"name": "ndots", "value": "2"}], "searches": ["c-mas-devops-fixes-main-manage-db2u-internal.db2u.svc.cluster.local"]}, "dnsPolicy": "ClusterFirst", "enableServiceLinks": true, "hostname": "c-mas-devops-fixes-main-manage-db2u-0", "imagePullSecrets": [{"name": "ibm-registry"}, {"name": "account-db2u-mas-devops-fixes-main-manage-dockercfg-wbsqz"}], "initContainers": [{"command": ["bash", "-ec", "/tools/pre-install/db2u_init.sh ${MLN_TOTAL} ${REPLICAS}"], "env": [{"name": "SERVICENAME", "value": "c-mas-devops-fixes-main-manage-db2u"}, {"name": "DB2TYPE", "value": "db2wh"}, {"name": "POD_NAME", "valueFrom": {"fieldRef": {"apiVersion": "v1", "fieldPath": "metadata.name"}}}, {"name": "POD_NAMESPACE", "valueFrom": {"fieldRef": {"apiVersion": "v1", "fieldPath": "metadata.namespace"}}}, {"name": "MLN_TOTAL", "value": "1"}, {"name": "REPLICAS", "value": "1"}, {"name": "SERVICE_NAME", "value": "c-mas-devops-fixes-main-manage-db2u-internal"}, {"name": "DB2U_API_ENDPOINT", "value": "c-mas-devops-fixes-main-manage-db2u-internal.db2u.svc:50052"}, {"name": "DB2U_API_DATABASE_BACKEND", "value": "k8s"}, {"name": "DB2U_API_CONFIGMAP_NAME", "value": "c-mas-devops-fixes-main-manage-db2u-api"}, {"name": "DB2U_API_KEY_FILE", "value": "/secrets/certs/db2u-api/tls.key"}, {"name": "DB2U_API_CERT_FILE", "value": "/secrets/certs/db2u-api/tls.crt"}], "image": "icr.io/db2u/db2u.tools@sha256:4515fe819f9812fabf5b0e65acbbf65c2923ac89baa48976f903d695c4129030", "imagePullPolicy": "IfNotPresent", "name": "init-labels", "resources": {"limits": {"cpu": "500m", "ephemeral-storage": "5Mi", "memory": "256Mi"}, "requests": {"cpu": "100m", "ephemeral-storage": "1Mi", "memory": "50Mi"}}, "securityContext": {"allowPrivilegeEscalation": true, "capabilities": {"add": ["CHOWN", "DAC_OVERRIDE", "FOWNER", "SETUID", "SETGID"], "drop": ["ALL"]}, "privileged": false, "readOnlyRootFilesystem": false, "runAsUser": 500}, "terminationMessagePath": "/dev/termination-log", "terminationMessagePolicy": "File", "volumeMounts": [{"mountPath": "/mnt/blumeta0", "name": "meta"}, {"mountPath": "/mnt/blumeta0/configmap/db2u", "name": "db2uconfig", "readOnly": true}, {"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount", "name": "kube-api-access-fmvlx", "readOnly": true}]}, {"command": ["bash", "-ec", "/tools/pre-install/set_kernel_params.sh"], "env": [{"name": "SERVICENAME", "value": "c-mas-devops-fixes-main-manage-db2u"}, {"name": "POD_NAME", "valueFrom": {"fieldRef": {"apiVersion": "v1", "fieldPath": "metadata.name"}}}, {"name": "POD_NAMESPACE", "valueFrom": {"fieldRef": {"apiVersion": "v1", "fieldPath": "metadata.namespace"}}}, {"name": "MEMORY_LIMIT", "valueFrom": {"resourceFieldRef": {"containerName": "db2u", "divisor": "0", "resource": "limits.memory"}}}, {"name": "SERVICE_NAME", "value": "c-mas-devops-fixes-main-manage-db2u-internal"}, {"name": "DB2U_API_ENDPOINT", "value": "c-mas-devops-fixes-main-manage-db2u-internal.db2u.svc:50052"}, {"name": "DB2U_API_DATABASE_BACKEND", "value": "k8s"}, {"name": "DB2U_API_CONFIGMAP_NAME", "value": "c-mas-devops-fixes-main-manage-db2u-api"}, {"name": "DB2U_API_KEY_FILE", "value": "/secrets/certs/db2u-api/tls.key"}, {"name": "DB2U_API_CERT_FILE", "value": "/secrets/certs/db2u-api/tls.crt"}], "image": "icr.io/db2u/db2u.tools@sha256:4515fe819f9812fabf5b0e65acbbf65c2923ac89baa48976f903d695c4129030", "imagePullPolicy": "IfNotPresent", "name": "init-kernel", "resources": {"limits": {"cpu": "500m", "ephemeral-storage": "5Mi", "memory": "256Mi"}, "requests": {"cpu": "100m", "ephemeral-storage": "1Mi", "memory": "50Mi"}}, "securityContext": {"allowPrivilegeEscalation": true, "capabilities": {"drop": ["ALL"]}, "privileged": true, "readOnlyRootFilesystem": false, "runAsNonRoot": false, "runAsUser": 0}, "terminationMessagePath": "/dev/termination-log", "terminationMessagePolicy": "File", "volumeMounts": [{"mountPath": "/mnt/blumeta0", "name": "meta"}, {"mountPath": "/host/proc", "name": "proc"}, {"mountPath": "/var/run/secrets/kubernetes.io/serviceaccount", "name": "kube-api-access-fmvlx", "readOnly": true}]}], "nodeName": "10.113.27.178", "preemptionPolicy": "PreemptLowerPriority", "priority": 0, "restartPolicy": "Always", "schedulerName": "default-scheduler", "securityContext": {"runAsNonRoot": true, "seLinuxOptions": {"level": "s0:c26,c15"}}, "serviceAccount": "account-db2u-mas-devops-fixes-main-manage", "serviceAccountName": "account-db2u-mas-devops-fixes-main-manage", "subdomain": "c-mas-devops-fixes-main-manage-db2u-internal", "terminationGracePeriodSeconds": 120, "tolerations": [{"effect": "NoExecute", "key": "node.kubernetes.io/not-ready", "operator": "Exists", "tolerationSeconds": 300}, {"effect": "NoExecute", "key": "node.kubernetes.io/unreachable", "operator": "Exists", "tolerationSeconds": 300}, {"effect": "NoSchedule", "key": "node.kubernetes.io/memory-pressure", "operator": "Exists"}], "volumes": [{"name": "activelogs", "persistentVolumeClaim": {"claimName": "activelogs-c-mas-devops-fixes-main-manage-db2u-0"}}, {"name": "tempts", "persistentVolumeClaim": {"claimName": "tempts-c-mas-devops-fixes-main-manage-db2u-0"}}, {"name": "data", "persistentVolumeClaim": {"claimName": "data-c-mas-devops-fixes-main-manage-db2u-0"}}, {"name": "meta", "persistentVolumeClaim": {"claimName": "c-mas-devops-fixes-main-manage-meta"}}, {"name": "backup", "persistentVolumeClaim": {"claimName": "c-mas-devops-fixes-main-manage-backup"}}, {"emptyDir": {"medium": "Memory", "sizeLimit": "1Gi"}, "name": "dshm"}, {"emptyDir": {"sizeLimit": "200Mi"}, "name": "local"}, {"emptyDir": {"medium": "Memory", "sizeLimit": "200Mi"}, "name": "runvol"}, {"hostPath": {"path": "/proc", "type": ""}, "name": "proc"}, {"configMap": {"defaultMode": 420, "name": "c-mas-devops-fixes-main-manage-db2uconfig"}, "name": "db2uconfig"}, {"configMap": {"defaultMode": 420, "name": "c-mas-devops-fixes-main-manage-db2regconfig"}, "name": "db2regconfig"}, {"configMap": {"defaultMode": 420, "name": "c-mas-devops-fixes-main-manage-db2dbmconfig"}, "name": "db2dbmconfig"}, {"configMap": {"defaultMode": 420, "name": "c-mas-devops-fixes-main-manage-db2dbconfig"}, "name": "db2dbconfig"}, {"name": "sshkeys-db2instusr", "secret": {"defaultMode": 256, "optional": false, "secretName": "c-mas-devops-fixes-main-manage-sshkeys-db2instusr"}}, {"name": "sshkeys-db2uhausr", "secret": {"defaultMode": 256, "optional": false, "secretName": "c-mas-devops-fixes-main-manage-sshkeys-db2uhausr"}}, {"name": "db2ssl", "secret": {"defaultMode": 420, "optional": false, "secretName": "db2u-certificate"}}, {"name": "instancepassword", "secret": {"defaultMode": 420, "optional": false, "secretName": "c-mas-devops-fixes-main-manage-instancepassword"}}, {"name": "certs-wv-rest", "secret": {"defaultMode": 256, "optional": false, "secretName": "c-mas-devops-fixes-main-manage-certs-wv-rest"}}, {"name": "db2u-lic", "secret": {"defaultMode": 256, "optional": false, "secretName": "c-mas-devops-fixes-main-manage-db2u-lic"}}, {"name": "sshkeys-db2uadm", "secret": {"defaultMode": 256, "optional": false, "secretName": "c-mas-devops-fixes-main-manage-sshkeys-db2uadm"}}, {"name": "certs-db2u-api", "secret": {"defaultMode": 420, "optional": false, "secretName": "c-mas-devops-fixes-main-manage-certs-db2u-api"}}, {"name": "user-mgmt-key", "secret": {"defaultMode": 256, "optional": false, "secretName": "c-mas-devops-fixes-main-manage-user-mgmt-key"}}, {"name": "kube-api-access-fmvlx", "projected": {"defaultMode": 420, "sources": [{"serviceAccountToken": {"expirationSeconds": 3607, "path": "token"}}, {"configMap": {"items": [{"key": "ca.crt", "path": "ca.crt"}], "name": "kube-root-ca.crt"}}, {"downwardAPI": {"items": [{"fieldRef": {"apiVersion": "v1", "fieldPath": "metadata.namespace"}, "path": "namespace"}]}}, {"configMap": {"items": [{"key": "service-ca.crt", "path": "service-ca.crt"}], "name": "openshift-service-ca.crt"}}]}}]}, "status": {"conditions": [{"lastProbeTime": null, "lastTransitionTime": "2023-08-30T01:04:12Z", "status": "True", "type": "Initialized"}, {"lastProbeTime": null, "lastTransitionTime": "2023-08-30T01:10:07Z", "status": "True", "type": "Ready"}, {"lastProbeTime": null, "lastTransitionTime": "2023-08-30T01:10:07Z", "status": "True", "type": "ContainersReady"}, {"lastProbeTime": null, "lastTransitionTime": "2023-08-30T01:03:31Z", "status": "True", "type": "PodScheduled"}], "containerStatuses": [{"containerID": "cri-o://3fa11e2578c7ab2a81eac3c57034c50912ffd42727e65ebf715024fae94ab583", "image": "icr.io/db2u/db2u@sha256:2532bee039ea3e1d825cfc0ac226fddf88a1192ae85b98cadcbdad5e75fd138b", "imageID": "icr.io/db2u/db2u@sha256:2532bee039ea3e1d825cfc0ac226fddf88a1192ae85b98cadcbdad5e75fd138b", "lastState": {}, "name": "db2u", "ready": true, "restartCount": 0, "started": true, "state": {"running": {"startedAt": "2023-08-30T01:04:12Z"}}}], "hostIP": "10.113.27.178", "initContainerStatuses": [{"containerID": "cri-o://2d8552ac9885ba744e2dd6582b88773a002a7e3b6d2de079623b87dbb81e3b4d", "image": "icr.io/db2u/db2u.tools@sha256:4515fe819f9812fabf5b0e65acbbf65c2923ac89baa48976f903d695c4129030", "imageID": "icr.io/db2u/db2u.tools@sha256:4515fe819f9812fabf5b0e65acbbf65c2923ac89baa48976f903d695c4129030", "lastState": {}, "name": "init-labels", "ready": true, "restartCount": 0, "state": {"terminated": {"containerID": "cri-o://2d8552ac9885ba744e2dd6582b88773a002a7e3b6d2de079623b87dbb81e3b4d", "exitCode": 0, "finishedAt": "2023-08-30T01:04:10Z", "reason": "Completed", "startedAt": "2023-08-30T01:04:08Z"}}}, {"containerID": "cri-o://646128d1345139a7a7f75ee459a3356f89269b3e2a4596e8dd1b85012162a761", "image": "icr.io/db2u/db2u.tools@sha256:4515fe819f9812fabf5b0e65acbbf65c2923ac89baa48976f903d695c4129030", "imageID": "icr.io/db2u/db2u.tools@sha256:4515fe819f9812fabf5b0e65acbbf65c2923ac89baa48976f903d695c4129030", "lastState": {}, "name": "init-kernel", "ready": true, "restartCount": 0, "state": {"terminated": {"containerID": "cri-o://646128d1345139a7a7f75ee459a3356f89269b3e2a4596e8dd1b85012162a761", "exitCode": 0, "finishedAt": "2023-08-30T01:04:11Z", "reason": "Completed", "startedAt": "2023-08-30T01:04:11Z"}}}], "phase": "Running", "podIP": "172.30.184.176", "podIPs": [{"ip": "172.30.184.176"}], "qosClass": "Burstable", "startTime": "2023-08-30T01:03:31Z"}}]}
TASK [ibm.mas_devops.db2 : Set facts for pod name] *****************************
Wednesday 30 August 2023 01:14:27 +0000 (0:00:00.980) 0:15:31.541 ******
ok: [localhost] => {"ansible_facts": {"db2_manage_pod_name": "c-mas-devops-fixes-main-manage-db2u-0"}, "changed": false}
TASK [ibm.mas_devops.db2 : check if user already exists] ***********************
Wednesday 30 August 2023 01:14:27 +0000 (0:00:00.069) 0:15:31.611 ******
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "oc exec -it c-mas-devops-fixes-main-manage-db2u-0 -n db2u -c db2u -- su -lc \"id maximo\"\n", "delta": "0:00:15.698818", "end": "2023-08-30 01:14:43.495198", "msg": "non-zero return code", "rc": 1, "start": "2023-08-30 01:14:27.796380", "stderr": "Unable to use a TTY - input is not a terminal or the right kind of file\nerror: Internal error occurred: error executing command in container: container is not created or running", "stderr_lines": ["Unable to use a TTY - input is not a terminal or the right kind of file", "error: Internal error occurred: error executing command in container: container is not created or running"], "stdout": "", "stdout_lines": []}
...ignoring
TASK [ibm.mas_devops.db2 : Creating db2 user in local LDAP registry] ***********
Wednesday 30 August 2023 01:14:43 +0000 (0:00:16.247) 0:15:47.858 ******
changed: [localhost] => {"changed": true, "cmd": "oc exec -it -n db2u c-mas-devops-fixes-main-manage-ldap-5494c467dd-mt7w5 -- /opt/ibm/ldap_scripts/addLdapUser.py -u maximo -r admin -p maximo\n", "delta": "0:00:00.674446", "end": "2023-08-30 01:14:44.562527", "msg": "", "rc": 0, "start": "2023-08-30 01:14:43.888081", "stderr": "Unable to use a TTY - input is not a terminal or the right kind of file", "stderr_lines": ["Unable to use a TTY - input is not a terminal or the right kind of file"], "stdout": "Next UID will be 5003\nAdding maximo to LDAP server\nUpdating LDAP password for user maximo\nAdded user to LDAP server", "stdout_lines": ["Next UID will be 5003", "Adding maximo to LDAP server", "Updating LDAP password for user maximo", "Added user to LDAP server"]}
TASK [ibm.mas_devops.db2 : Test that the newly created user can connect to db2] ***
Wednesday 30 August 2023 01:14:44 +0000 (0:00:01.064) 0:15:48.923 ******
FAILED - RETRYING: [localhost]: Test that the newly created user can connect to db2 (20 retries left).
FAILED - RETRYING: [localhost]: Test that the newly created user can connect to db2 (19 retries left).
FAILED - RETRYING: [localhost]: Test that the newly created user can connect to db2 (18 retries left).
FAILED - RETRYING: [localhost]: Test that the newly created user can connect to db2 (17 retries left).
FAILED - RETRYING: [localhost]: Test that the newly created user can connect to db2 (16 retries left).
changed: [localhost] => {"attempts": 6, "changed": true, "cmd": "oc exec -it c-mas-devops-fixes-main-manage-db2u-0 -n db2u -c db2u -- su -lc \"db2 connect to BLUDB user maximo using maximo\" db2inst1\n", "delta": "0:00:02.726574", "end": "2023-08-30 01:17:32.357170", "msg": "", "rc": 0, "start": "2023-08-30 01:17:29.630596", "stderr": "Unable to use a TTY - input is not a terminal or the right kind of file", "stderr_lines": ["Unable to use a TTY - input is not a terminal or the right kind of file"], "stdout": "\n Database Connection Information\n\n Database server = DB2/LINUXX8664 11.5.8.0\n SQL authorization ID = MAXIMO\n Local database alias = BLUDB", "stdout_lines": ["", " Database Connection Information", "", " Database server = DB2/LINUXX8664 11.5.8.0", " SQL authorization ID = MAXIMO", " Local database alias = BLUDB"]}
TASK [ibm.mas_devops.db2 : debug] **********************************************
Wednesday 30 August 2023 01:17:32 +0000 (0:02:47.799) 0:18:36.723 ******
ok: [localhost] => {
"msg": [
"maximo",
false
]
}
TASK [ibm.mas_devops.db2 : Rotate Db2 LDAP password if db2_rotate_password is True and username is provided] ***
Wednesday 30 August 2023 01:17:32 +0000 (0:00:00.067) 0:18:36.790 ******
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [ibm.mas_devops.db2 : Wait for Db2 Stateful set to be ready] **************
Wednesday 30 August 2023 01:17:32 +0000 (0:00:00.076) 0:18:36.867 ******
ok: [localhost] => {"api_found": true, "attempts": 1, "changed": false, "resources": [{"apiVersion": "apps/v1", "kind": "StatefulSet", "metadata": {"annotations": {"databases.cloud.ibm.com/converged-replicas": "1", "productChargedContainers": "All", "productID": "cb1bb71fd6fb4b6695f64ba436421a33", "productMetric": "FREE", "productName": "IBM Db2 Warehouse Developer Edition Non-Production (Community)"}, "creationTimestamp": "2023-08-30T01:02:20Z", "generation": 1, "labels": {"app": "mas-devops-fixes-main-manage", "component": "db2wh", "formation_id": "mas-devops-fixes-main-manage", "role": "db", "type": "engine"}, "managedFields": [{"apiVersion": "apps/v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:status": {"f:collisionCount": {}, "f:currentRevision": {}, "f:observedGeneration": {}, "f:replicas": {}, "f:updateRevision": {}}}, "manager": "kube-controller-manager", "operation": "Update", "time": "2023-08-30T01:10:07Z"}, {"apiVersion": "apps/v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:metadata": {"f:annotations": {".": {}, "f:databases.cloud.ibm.com/converged-replicas": {}, "f:productChargedContainers": {}, "f:productID": {}, "f:productMetric": {}, "f:productName": {}}, "f:labels": {".": {}, "f:app": {}, "f:component": {}, "f:formation_id": {}, "f:role": {}, "f:type": {}}, "f:ownerReferences": {".": {}, "k:{\"uid\":\"de4a25ee-1d2d-4ce6-bafd-125ce543fcdb\"}": {}}}, "f:spec": {"f:podManagementPolicy": {}, "f:replicas": {}, "f:revisionHistoryLimit": {}, "f:selector": {}, "f:serviceName": {}, "f:template": {"f:metadata": {"f:annotations": {".": {}, "f:productChargedContainers": {}, "f:productID": {}, "f:productMetric": {}, "f:productName": {}}, "f:labels": {".": {}, "f:app": {}, "f:component": {}, "f:formation_id": {}, "f:role": {}, "f:type": {}}}, "f:spec": {"f:affinity": {".": {}, "f:podAntiAffinity": {}}, "f:containers": {"k:{\"name\":\"db2u\"}": {".": {}, "f:env": {".": {}, "k:{\"name\":\"CPU_LIMIT\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:resourceFieldRef": {}}}, "k:{\"name\":\"DB2U_API_CERT_FILE\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_CONFIGMAP_NAME\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_DATABASE_BACKEND\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_ENDPOINT\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_KEY_FILE\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"ETCDCTL_API\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"ETCDCTL_ENDPOINTS\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"ETCD_ENDPOINTS\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"MEMORY_LIMIT\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:resourceFieldRef": {}}}, "k:{\"name\":\"MEMORY_REQUEST\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:resourceFieldRef": {}}}, "k:{\"name\":\"POD\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:fieldRef": {}}}, "k:{\"name\":\"POD_NAME\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:fieldRef": {}}}, "k:{\"name\":\"POD_NAMESPACE\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:fieldRef": {}}}, "k:{\"name\":\"SERVICE_NAME\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"WV_HACLASS\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"WV_RECOVERY\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"etcdoperator\"}": {".": {}, "f:name": {}, "f:value": {}}}, "f:image": {}, "f:imagePullPolicy": {}, "f:livenessProbe": {".": {}, "f:failureThreshold": {}, "f:httpGet": {".": {}, "f:path": {}, "f:port": {}, "f:scheme": {}}, "f:periodSeconds": {}, "f:successThreshold": {}, "f:timeoutSeconds": {}}, "f:name": {}, "f:ports": {".": {}, "k:{\"containerPort\":50000,\"protocol\":\"TCP\"}": {".": {}, "f:containerPort": {}, "f:name": {}, "f:protocol": {}}, "k:{\"containerPort\":50001,\"protocol\":\"TCP\"}": {".": {}, "f:containerPort": {}, "f:name": {}, "f:protocol": {}}, "k:{\"containerPort\":50052,\"protocol\":\"TCP\"}": {".": {}, "f:containerPort": {}, "f:name": {}, "f:protocol": {}}}, "f:readinessProbe": {".": {}, "f:exec": {".": {}, "f:command": {}}, "f:failureThreshold": {}, "f:periodSeconds": {}, "f:successThreshold": {}, "f:timeoutSeconds": {}}, "f:resources": {".": {}, "f:limits": {".": {}, "f:cpu": {}, "f:ephemeral-storage": {}, "f:memory": {}}, "f:requests": {".": {}, "f:cpu": {}, "f:ephemeral-storage": {}, "f:memory": {}}}, "f:securityContext": {".": {}, "f:allowPrivilegeEscalation": {}, "f:capabilities": {".": {}, "f:add": {}, "f:drop": {}}, "f:privileged": {}, "f:readOnlyRootFilesystem": {}, "f:runAsUser": {}}, "f:startupProbe": {".": {}, "f:exec": {".": {}, "f:command": {}}, "f:failureThreshold": {}, "f:initialDelaySeconds": {}, "f:periodSeconds": {}, "f:successThreshold": {}, "f:timeoutSeconds": {}}, "f:terminationMessagePath": {}, "f:terminationMessagePolicy": {}, "f:volumeMounts": {".": {}, "k:{\"mountPath\":\"/db2u/license/\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/dev/shm\"}": {".": {}, "f:mountPath": {}, "f:name": {}}, "k:{\"mountPath\":\"/mnt/backup\"}": {".": {}, "f:mountPath": {}, "f:name": {}}, "k:{\"mountPath\":\"/mnt/bludata0\"}": {".": {}, "f:mountPath": {}, "f:name": {}}, "k:{\"mountPath\":\"/mnt/blumeta0\"}": {".": {}, "f:mountPath": {}, "f:name": {}}, "k:{\"mountPath\":\"/mnt/blumeta0/configmap/db2/db-cfg\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/mnt/blumeta0/configmap/db2/dbm-cfg\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/mnt/blumeta0/configmap/db2/registry\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/mnt/blumeta0/configmap/db2u\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/mnt/local\"}": {".": {}, "f:mountPath": {}, "f:name": {}}, "k:{\"mountPath\":\"/mnt/logs/active\"}": {".": {}, "f:mountPath": {}, "f:name": {}}, "k:{\"mountPath\":\"/mnt/tempts\"}": {".": {}, "f:mountPath": {}, "f:name": {}}, "k:{\"mountPath\":\"/run\"}": {".": {}, "f:mountPath": {}, "f:name": {}}, "k:{\"mountPath\":\"/secrets/certs/db2u-api\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/secrets/certs/wv-rest\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/secrets/db2instancepwd\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/secrets/db2ssl\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/secrets/sshkeys/db2instusr\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/secrets/sshkeys/db2uadm\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/secrets/sshkeys/db2uhausr\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}, "k:{\"mountPath\":\"/secrets/user-mgmt-keypwd\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}}}}, "f:dnsConfig": {".": {}, "f:options": {}, "f:searches": {}}, "f:dnsPolicy": {}, "f:initContainers": {".": {}, "k:{\"name\":\"init-kernel\"}": {".": {}, "f:command": {}, "f:env": {".": {}, "k:{\"name\":\"DB2U_API_CERT_FILE\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_CONFIGMAP_NAME\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_DATABASE_BACKEND\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_ENDPOINT\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_KEY_FILE\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"MEMORY_LIMIT\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:resourceFieldRef": {}}}, "k:{\"name\":\"POD_NAME\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:fieldRef": {}}}, "k:{\"name\":\"POD_NAMESPACE\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:fieldRef": {}}}, "k:{\"name\":\"SERVICENAME\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"SERVICE_NAME\"}": {".": {}, "f:name": {}, "f:value": {}}}, "f:image": {}, "f:imagePullPolicy": {}, "f:name": {}, "f:resources": {".": {}, "f:limits": {".": {}, "f:cpu": {}, "f:ephemeral-storage": {}, "f:memory": {}}, "f:requests": {".": {}, "f:cpu": {}, "f:ephemeral-storage": {}, "f:memory": {}}}, "f:securityContext": {".": {}, "f:allowPrivilegeEscalation": {}, "f:capabilities": {".": {}, "f:drop": {}}, "f:privileged": {}, "f:readOnlyRootFilesystem": {}, "f:runAsNonRoot": {}, "f:runAsUser": {}}, "f:terminationMessagePath": {}, "f:terminationMessagePolicy": {}, "f:volumeMounts": {".": {}, "k:{\"mountPath\":\"/host/proc\"}": {".": {}, "f:mountPath": {}, "f:name": {}}, "k:{\"mountPath\":\"/mnt/blumeta0\"}": {".": {}, "f:mountPath": {}, "f:name": {}}}}, "k:{\"name\":\"init-labels\"}": {".": {}, "f:command": {}, "f:env": {".": {}, "k:{\"name\":\"DB2TYPE\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_CERT_FILE\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_CONFIGMAP_NAME\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_DATABASE_BACKEND\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_ENDPOINT\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"DB2U_API_KEY_FILE\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"MLN_TOTAL\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"POD_NAME\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:fieldRef": {}}}, "k:{\"name\":\"POD_NAMESPACE\"}": {".": {}, "f:name": {}, "f:valueFrom": {".": {}, "f:fieldRef": {}}}, "k:{\"name\":\"REPLICAS\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"SERVICENAME\"}": {".": {}, "f:name": {}, "f:value": {}}, "k:{\"name\":\"SERVICE_NAME\"}": {".": {}, "f:name": {}, "f:value": {}}}, "f:image": {}, "f:imagePullPolicy": {}, "f:name": {}, "f:resources": {".": {}, "f:limits": {".": {}, "f:cpu": {}, "f:ephemeral-storage": {}, "f:memory": {}}, "f:requests": {".": {}, "f:cpu": {}, "f:ephemeral-storage": {}, "f:memory": {}}}, "f:securityContext": {".": {}, "f:allowPrivilegeEscalation": {}, "f:capabilities": {".": {}, "f:add": {}, "f:drop": {}}, "f:privileged": {}, "f:readOnlyRootFilesystem": {}, "f:runAsUser": {}}, "f:terminationMessagePath": {}, "f:terminationMessagePolicy": {}, "f:volumeMounts": {".": {}, "k:{\"mountPath\":\"/mnt/blumeta0\"}": {".": {}, "f:mountPath": {}, "f:name": {}}, "k:{\"mountPath\":\"/mnt/blumeta0/configmap/db2u\"}": {".": {}, "f:mountPath": {}, "f:name": {}, "f:readOnly": {}}}}}, "f:restartPolicy": {}, "f:schedulerName": {}, "f:securityContext": {".": {}, "f:runAsNonRoot": {}}, "f:serviceAccount": {}, "f:serviceAccountName": {}, "f:terminationGracePeriodSeconds": {}, "f:volumes": {".": {}, "k:{\"name\":\"backup\"}": {".": {}, "f:name": {}, "f:persistentVolumeClaim": {".": {}, "f:claimName": {}}}, "k:{\"name\":\"certs-db2u-api\"}": {".": {}, "f:name": {}, "f:secret": {".": {}, "f:defaultMode": {}, "f:optional": {}, "f:secretName": {}}}, "k:{\"name\":\"certs-wv-rest\"}": {".": {}, "f:name": {}, "f:secret": {".": {}, "f:defaultMode": {}, "f:optional": {}, "f:secretName": {}}}, "k:{\"name\":\"db2dbconfig\"}": {".": {}, "f:configMap": {".": {}, "f:defaultMode": {}, "f:name": {}}, "f:name": {}}, "k:{\"name\":\"db2dbmconfig\"}": {".": {}, "f:configMap": {".": {}, "f:defaultMode": {}, "f:name": {}}, "f:name": {}}, "k:{\"name\":\"db2regconfig\"}": {".": {}, "f:configMap": {".": {}, "f:defaultMode": {}, "f:name": {}}, "f:name": {}}, "k:{\"name\":\"db2ssl\"}": {".": {}, "f:name": {}, "f:secret": {".": {}, "f:defaultMode": {}, "f:optional": {}, "f:secretName": {}}}, "k:{\"name\":\"db2u-lic\"}": {".": {}, "f:name": {}, "f:secret": {".": {}, "f:defaultMode": {}, "f:optional": {}, "f:secretName": {}}}, "k:{\"name\":\"db2uconfig\"}": {".": {}, "f:configMap": {".": {}, "f:defaultMode": {}, "f:name": {}}, "f:name": {}}, "k:{\"name\":\"dshm\"}": {".": {}, "f:emptyDir": {".": {}, "f:medium": {}, "f:sizeLimit": {}}, "f:name": {}}, "k:{\"name\":\"instancepassword\"}": {".": {}, "f:name": {}, "f:secret": {".": {}, "f:defaultMode": {}, "f:optional": {}, "f:secretName": {}}}, "k:{\"name\":\"local\"}": {".": {}, "f:emptyDir": {".": {}, "f:sizeLimit": {}}, "f:name": {}}, "k:{\"name\":\"meta\"}": {".": {}, "f:name": {}, "f:persistentVolumeClaim": {".": {}, "f:claimName": {}}}, "k:{\"name\":\"proc\"}": {".": {}, "f:hostPath": {".": {}, "f:path": {}, "f:type": {}}, "f:name": {}}, "k:{\"name\":\"runvol\"}": {".": {}, "f:emptyDir": {".": {}, "f:medium": {}, "f:sizeLimit": {}}, "f:name": {}}, "k:{\"name\":\"sshkeys-db2instusr\"}": {".": {}, "f:name": {}, "f:secret": {".": {}, "f:defaultMode": {}, "f:optional": {}, "f:secretName": {}}}, "k:{\"name\":\"sshkeys-db2uadm\"}": {".": {}, "f:name": {}, "f:secret": {".": {}, "f:defaultMode": {}, "f:optional": {}, "f:secretName": {}}}, "k:{\"name\":\"sshkeys-db2uhausr\"}": {".": {}, "f:name": {}, "f:secret": {".": {}, "f:defaultMode": {}, "f:optional": {}, "f:secretName": {}}}, "k:{\"name\":\"user-mgmt-key\"}": {".": {}, "f:name": {}, "f:secret": {".": {}, "f:defaultMode": {}, "f:optional": {}, "f:secretName": {}}}}}}, "f:updateStrategy": {"f:rollingUpdate": {".": {}, "f:partition": {}}, "f:type": {}}, "f:volumeClaimTemplates": {}}}, "manager": "manager", "operation": "Update", "time": "2023-08-30T01:10:09Z"}, {"apiVersion": "apps/v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:status": {"f:availableReplicas": {}, "f:currentReplicas": {}, "f:readyReplicas": {}, "f:updatedReplicas": {}}}, "manager": "kube-controller-manager", "operation": "Update", "subresource": "status", "time": "2023-08-30T01:16:12Z"}], "name": "c-mas-devops-fixes-main-manage-db2u", "namespace": "db2u", "ownerReferences": [{"apiVersion": "db2u.databases.ibm.com/v1", "kind": "Formation", "name": "mas-devops-fixes-main-manage", "uid": "de4a25ee-1d2d-4ce6-bafd-125ce543fcdb"}], "resourceVersion": "80023", "uid": "e14d1dab-358f-4066-a208-7bb695757719"}, "spec": {"podManagementPolicy": "Parallel", "replicas": 1, "revisionHistoryLimit": 10, "selector": {"matchLabels": {"app": "mas-devops-fixes-main-manage", "component": "db2wh", "formation_id": "mas-devops-fixes-main-manage", "role": "db", "type": "engine"}}, "serviceName": "c-mas-devops-fixes-main-manage-db2u-internal", "template": {"metadata": {"annotations": {"productChargedContainers": "All", "productID": "cb1bb71fd6fb4b6695f64ba436421a33", "productMetric": "FREE", "productName": "IBM Db2 Warehouse Developer Edition Non-Production (Community)"}, "creationTimestamp": null, "labels": {"app": "mas-devops-fixes-main-manage", "component": "db2wh", "formation_id": "mas-devops-fixes-main-manage", "role": "db", "type": "engine"}}, "spec": {"affinity": {"podAntiAffinity": {}}, "containers": [{"env": [{"name": "POD", "valueFrom": {"fieldRef": {"apiVersion": "v1", "fieldPath": "metadata.labels['name']"}}}, {"name": "POD_NAME", "valueFrom": {"fieldRef": {"apiVersion": "v1", "fieldPath": "metadata.name"}}}, {"name": "POD_NAMESPACE", "valueFrom": {"fieldRef": {"apiVersion": "v1", "fieldPath": "metadata.namespace"}}}, {"name": "MEMORY_REQUEST", "valueFrom": {"resourceFieldRef": {"divisor": "0", "resource": "requests.memory"}}}, {"name": "MEMORY_LIMIT", "valueFrom": {"resourceFieldRef": {"divisor": "0", "resource": "limits.memory"}}}, {"name": "CPU_LIMIT", "valueFrom": {"resourceFieldRef": {"divisor": "0", "resource": "limits.cpu"}}}, {"name": "etcdoperator", "value": "true"}, {"name": "WV_RECOVERY", "value": "partial"}, {"name": "WV_HACLASS", "value": "UDB"}, {"name": "ETCD_ENDPOINTS", "value": "http://c-mas-devops-fixes-main-manage-etcd-0.c-mas-devops-fixes-main-manage-etcd:2379,http://c-mas-devops-fixes-main-manage-etcd-0.c-mas-devops-fixes-main-manage-etcd:2379,http://c-mas-devops-fixes-main-manage-etcd-0.c-mas-devops-fixes-main-manage-etcd:2379"}, {"name": "ETCDCTL_API", "value": "3"}, {"name": "ETCDCTL_ENDPOINTS", "value": "http://c-mas-devops-fixes-main-manage-etcd-0.c-mas-devops-fixes-main-manage-etcd:2379,http://c-mas-devops-fixes-main-manage-etcd-0.c-mas-devops-fixes-main-manage-etcd:2379,http://c-mas-devops-fixes-main-manage-etcd-0.c-mas-devops-fixes-main-manage-etcd:2379"}, {"name": "SERVICE_NAME", "value": "c-mas-devops-fixes-main-manage-db2u-internal"}, {"name": "DB2U_API_ENDPOINT", "value": "c-mas-devops-fixes-main-manage-db2u-internal.db2u.svc:50052"}, {"name": "DB2U_API_DATABASE_BACKEND", "value": "k8s"}, {"name": "DB2U_API_CONFIGMAP_NAME", "value": "c-mas-devops-fixes-main-manage-db2u-api"}, {"name": "DB2U_API_KEY_FILE", "value": "/secrets/certs/db2u-api/tls.key"}, {"name": "DB2U_API_CERT_FILE", "value": "/secrets/certs/db2u-api/tls.crt"}], "image": "icr.io/db2u/db2u@sha256:2532bee039ea3e1d825cfc0ac226fddf88a1192ae85b98cadcbdad5e75fd138b", "imagePullPolicy": "IfNotPresent", "livenessProbe": {"failureThreshold": 5, "httpGet": {"path": "/v1/db2/health", "port": 50052, "scheme": "HTTPS"}, "periodSeconds": 60, "successThreshold": 1, "timeoutSeconds": 3}, "name": "db2u", "ports": [{"containerPort": 50000, "name": "db2-server", "protocol": "TCP"}, {"containerPort": 50001, "name": "db2-ssl-server", "protocol": "TCP"}, {"containerPort": 50052, "name": "db2uapi", "protocol": "TCP"}], "readinessProbe": {"exec": {"command": ["sh", "-c", "date"]}, "failureThreshold": 10, "periodSeconds": 30, "successThreshold": 1, "timeoutSeconds": 1}, "resources": {"limits": {"cpu": "6", "ephemeral-storage": "4Gi", "memory": "24Gi"}, "requests": {"cpu": "4", "ephemeral-storage": "2Gi", "memory": "8Gi"}}, "securityContext": {"allowPrivilegeEscalation": true, "capabilities": {"add": ["SYS_RESOURCE", "IPC_OWNER", "SYS_NICE", "CHOWN", "DAC_OVERRIDE", "FSETID", "FOWNER", "SETGID", "SETUID", "SETFCAP", "SETPCAP", "SYS_CHROOT", "KILL", "AUDIT_WRITE"], "drop": ["ALL"]}, "privileged": false, "readOnlyRootFilesystem": false, "runAsUser": 600}, "startupProbe": {"exec": {"command": ["sh", "-c", "[ -f /mnt/blumeta0/db2/.lifecycle/.db2u_restore_morph_completed ] || [ -f /db2u/tmp/.pause_probe ]"]}, "failureThreshold": 60, "initialDelaySeconds": 30, "periodSeconds": 20, "successThreshold": 1, "timeoutSeconds": 3}, "terminationMessagePath": "/dev/termination-log", "terminationMessagePolicy": "File", "volumeMounts": [{"mountPath": "/mnt/blumeta0", "name": "meta"}, {"mountPath": "/mnt/bludata0", "name": "data"}, {"mountPath": "/mnt/backup", "name": "backup"}, {"mountPath": "/mnt/logs/active", "name": "activelogs"}, {"mountPath": "/mnt/tempts", "name": "tempts"}, {"mountPath": "/dev/shm", "name": "dshm"}, {"mountPath": "/mnt/local", "name": "local"}, {"mountPath": "/run", "name": "runvol"}, {"mountPath": "/mnt/blumeta0/configmap/db2u", "name": "db2uconfig", "readOnly": true}, {"mountPath": "/mnt/blumeta0/configmap/db2/registry", "name": "db2regconfig", "readOnly": true}, {"mountPath": "/mnt/blumeta0/configmap/db2/dbm-cfg", "name": "db2dbmconfig", "readOnly": true}, {"mountPath": "/mnt/blumeta0/configmap/db2/db-cfg", "name": "db2dbconfig", "readOnly": true}, {"mountPath": "/secrets/sshkeys/db2instusr", "name": "sshkeys-db2instusr", "readOnly": true}, {"mountPath": "/secrets/sshkeys/db2uhausr", "name": "sshkeys-db2uhausr", "readOnly": true}, {"mountPath": "/secrets/db2ssl", "name": "db2ssl", "readOnly": true}, {"mountPath": "/secrets/db2instancepwd", "name": "instancepassword", "readOnly": true}, {"mountPath": "/secrets/certs/wv-rest", "name": "certs-wv-rest", "readOnly": true}, {"mountPath": "/db2u/license/", "name": "db2u-lic", "readOnly": true}, {"mountPath": "/secrets/sshkeys/db2uadm", "name": "sshkeys-db2uadm", "readOnly": true}, {"mountPath": "/secrets/certs/db2u-api", "name": "certs-db2u-api", "readOnly": true}, {"mountPath": "/secrets/user-mgmt-keypwd", "name": "user-mgmt-key", "readOnly": true}]}], "dnsConfig": {"options": [{"name": "ndots", "value": "2"}], "searches": ["c-mas-devops-fixes-main-manage-db2u-internal.db2u.svc.cluster.local"]}, "dnsPolicy": "ClusterFirst", "initContainers": [{"command": ["bash", "-ec", "/tools/pre-install/db2u_init.sh ${MLN_TOTAL} ${REPLICAS}"], "env": [{"name": "SERVICENAME", "value": "c-mas-devops-fixes-main-manage-db2u"}, {"name": "DB2TYPE", "value": "db2wh"}, {"name": "POD_NAME", "valueFrom": {"fieldRef": {"apiVersion": "v1", "fieldPath": "metadata.name"}}}, {"name": "POD_NAMESPACE", "valueFrom": {"fieldRef": {"apiVersion": "v1", "fieldPath": "metadata.namespace"}}}, {"name": "MLN_TOTAL", "value": "1"}, {"name": "REPLICAS", "value": "1"}, {"name": "SERVICE_NAME", "value": "c-mas-devops-fixes-main-manage-db2u-internal"}, {"name": "DB2U_API_ENDPOINT", "value": "c-mas-devops-fixes-main-manage-db2u-internal.db2u.svc:50052"}, {"name": "DB2U_API_DATABASE_BACKEND", "value": "k8s"}, {"name": "DB2U_API_CONFIGMAP_NAME", "value": "c-mas-devops-fixes-main-manage-db2u-api"}, {"name": "DB2U_API_KEY_FILE", "value": "/secrets/certs/db2u-api/tls.key"}, {"name": "DB2U_API_CERT_FILE", "value": "/secrets/certs/db2u-api/tls.crt"}], "image": "icr.io/db2u/db2u.tools@sha256:4515fe819f9812fabf5b0e65acbbf65c2923ac89baa48976f903d695c4129030", "imagePullPolicy": "IfNotPresent", "name": "init-labels", "resources": {"limits": {"cpu": "500m", "ephemeral-storage": "5Mi", "memory": "256Mi"}, "requests": {"cpu": "100m", "ephemeral-storage": "1Mi", "memory": "50Mi"}}, "securityContext": {"allowPrivilegeEscalation": true, "capabilities": {"add": ["CHOWN", "DAC_OVERRIDE", "FOWNER", "SETUID", "SETGID"], "drop": ["ALL"]}, "privileged": false, "readOnlyRootFilesystem": false, "runAsUser": 500}, "terminationMessagePath": "/dev/termination-log", "terminationMessagePolicy": "File", "volumeMounts": [{"mountPath": "/mnt/blumeta0", "name": "meta"}, {"mountPath": "/mnt/blumeta0/configmap/db2u", "name": "db2uconfig", "readOnly": true}]}, {"command": ["bash", "-ec", "/tools/pre-install/set_kernel_params.sh"], "env": [{"name": "SERVICENAME", "value": "c-mas-devops-fixes-main-manage-db2u"}, {"name": "POD_NAME", "valueFrom": {"fieldRef": {"apiVersion": "v1", "fieldPath": "metadata.name"}}}, {"name": "POD_NAMESPACE", "valueFrom": {"fieldRef": {"apiVersion": "v1", "fieldPath": "metadata.namespace"}}}, {"name": "MEMORY_LIMIT", "valueFrom": {"resourceFieldRef": {"containerName": "db2u", "divisor": "0", "resource": "limits.memory"}}}, {"name": "SERVICE_NAME", "value": "c-mas-devops-fixes-main-manage-db2u-internal"}, {"name": "DB2U_API_ENDPOINT", "value": "c-mas-devops-fixes-main-manage-db2u-internal.db2u.svc:50052"}, {"name": "DB2U_API_DATABASE_BACKEND", "value": "k8s"}, {"name": "DB2U_API_CONFIGMAP_NAME", "value": "c-mas-devops-fixes-main-manage-db2u-api"}, {"name": "DB2U_API_KEY_FILE", "value": "/secrets/certs/db2u-api/tls.key"}, {"name": "DB2U_API_CERT_FILE", "value": "/secrets/certs/db2u-api/tls.crt"}], "image": "icr.io/db2u/db2u.tools@sha256:4515fe819f9812fabf5b0e65acbbf65c2923ac89baa48976f903d695c4129030", "imagePullPolicy": "IfNotPresent", "name": "init-kernel", "resources": {"limits": {"cpu": "500m", "ephemeral-storage": "5Mi", "memory": "256Mi"}, "requests": {"cpu": "100m", "ephemeral-storage": "1Mi", "memory": "50Mi"}}, "securityContext": {"allowPrivilegeEscalation": true, "capabilities": {"drop": ["ALL"]}, "privileged": true, "readOnlyRootFilesystem": false, "runAsNonRoot": false, "runAsUser": 0}, "terminationMessagePath": "/dev/termination-log", "terminationMessagePolicy": "File", "volumeMounts": [{"mountPath": "/mnt/blumeta0", "name": "meta"}, {"mountPath": "/host/proc", "name": "proc"}]}], "restartPolicy": "Always", "schedulerName": "default-scheduler", "securityContext": {"runAsNonRoot": true}, "serviceAccount": "account-db2u-mas-devops-fixes-main-manage", "serviceAccountName": "account-db2u-mas-devops-fixes-main-manage", "terminationGracePeriodSeconds": 120, "volumes": [{"name": "meta", "persistentVolumeClaim": {"claimName": "c-mas-devops-fixes-main-manage-meta"}}, {"name": "backup", "persistentVolumeClaim": {"claimName": "c-mas-devops-fixes-main-manage-backup"}}, {"emptyDir": {"medium": "Memory", "sizeLimit": "1Gi"}, "name": "dshm"}, {"emptyDir": {"sizeLimit": "200Mi"}, "name": "local"}, {"emptyDir": {"medium": "Memory", "sizeLimit": "200Mi"}, "name": "runvol"}, {"hostPath": {"path": "/proc", "type": ""}, "name": "proc"}, {"configMap": {"defaultMode": 420, "name": "c-mas-devops-fixes-main-manage-db2uconfig"}, "name": "db2uconfig"}, {"configMap": {"defaultMode": 420, "name": "c-mas-devops-fixes-main-manage-db2regconfig"}, "name": "db2regconfig"}, {"configMap": {"defaultMode": 420, "name": "c-mas-devops-fixes-main-manage-db2dbmconfig"}, "name": "db2dbmconfig"}, {"configMap": {"defaultMode": 420, "name": "c-mas-devops-fixes-main-manage-db2dbconfig"}, "name": "db2dbconfig"}, {"name": "sshkeys-db2instusr", "secret": {"defaultMode": 256, "optional": false, "secretName": "c-mas-devops-fixes-main-manage-sshkeys-db2instusr"}}, {"name": "sshkeys-db2uhausr", "secret": {"defaultMode": 256, "optional": false, "secretName": "c-mas-devops-fixes-main-manage-sshkeys-db2uhausr"}}, {"name": "db2ssl", "secret": {"defaultMode": 420, "optional": false, "secretName": "db2u-certificate"}}, {"name": "instancepassword", "secret": {"defaultMode": 420, "optional": false, "secretName": "c-mas-devops-fixes-main-manage-instancepassword"}}, {"name": "certs-wv-rest", "secret": {"defaultMode": 256, "optional": false, "secretName": "c-mas-devops-fixes-main-manage-certs-wv-rest"}}, {"name": "db2u-lic", "secret": {"defaultMode": 256, "optional": false, "secretName": "c-mas-devops-fixes-main-manage-db2u-lic"}}, {"name": "sshkeys-db2uadm", "secret": {"defaultMode": 256, "optional": false, "secretName": "c-mas-devops-fixes-main-manage-sshkeys-db2uadm"}}, {"name": "certs-db2u-api", "secret": {"defaultMode": 420, "optional": false, "secretName": "c-mas-devops-fixes-main-manage-certs-db2u-api"}}, {"name": "user-mgmt-key", "secret": {"defaultMode": 256, "optional": false, "secretName": "c-mas-devops-fixes-main-manage-user-mgmt-key"}}]}}, "updateStrategy": {"rollingUpdate": {"partition": 0}, "type": "RollingUpdate"}, "volumeClaimTemplates": [{"apiVersion": "v1", "kind": "PersistentVolumeClaim", "metadata": {"annotations": {"formation_id": "mas-devops-fixes-main-manage", "storageConfigType": "template"}, "creationTimestamp": null, "labels": {"formation_id": "mas-devops-fixes-main-manage"}, "name": "data", "ownerReferences": [{"apiVersion": "db2u.databases.ibm.com/v1", "kind": "Formation", "name": "mas-devops-fixes-main-manage", "uid": "de4a25ee-1d2d-4ce6-bafd-125ce543fcdb"}]}, "spec": {"accessModes": ["ReadWriteOnce"], "resources": {"requests": {"storage": "512Gi"}}, "storageClassName": "ibmc-block-gold", "volumeMode": "Filesystem"}, "status": {"phase": "Pending"}}, {"apiVersion": "v1", "kind": "PersistentVolumeClaim", "metadata": {"annotations": {"formation_id": "mas-devops-fixes-main-manage", "storageConfigType": "template"}, "creationTimestamp": null, "labels": {"formation_id": "mas-devops-fixes-main-manage"}, "name": "activelogs", "ownerReferences": [{"apiVersion": "db2u.databases.ibm.com/v1", "kind": "Formation", "name": "mas-devops-fixes-main-manage", "uid": "de4a25ee-1d2d-4ce6-bafd-125ce543fcdb"}]}, "spec": {"accessModes": ["ReadWriteOnce"], "resources": {"requests": {"storage": "100Gi"}}, "storageClassName": "ibmc-block-gold", "volumeMode": "Filesystem"}, "status": {"phase": "Pending"}}, {"apiVersion": "v1", "kind": "PersistentVolumeClaim", "metadata": {"annotations": {"formation_id": "mas-devops-fixes-main-manage", "storageConfigType": "template"}, "creationTimestamp": null, "labels": {"formation_id": "mas-devops-fixes-main-manage"}, "name": "tempts", "ownerReferences": [{"apiVersion": "db2u.databases.ibm.com/v1", "kind": "Formation", "name": "mas-devops-fixes-main-manage", "uid": "de4a25ee-1d2d-4ce6-bafd-125ce543fcdb"}]}, "spec": {"accessModes": ["ReadWriteOnce"], "resources": {"requests": {"storage": "100Gi"}}, "storageClassName": "ibmc-block-gold", "volumeMode": "Filesystem"}, "status": {"phase": "Pending"}}]}, "status": {"availableReplicas": 1, "collisionCount": 0, "currentReplicas": 1, "currentRevision": "c-mas-devops-fixes-main-manage-db2u-5dfc46fcc7", "observedGeneration": 1, "readyReplicas": 1, "replicas": 1, "updateRevision": "c-mas-devops-fixes-main-manage-db2u-5dfc46fcc7", "updatedReplicas": 1}}]}
TASK [ibm.mas_devops.db2 : include_tasks] **************************************
Wednesday 30 August 2023 01:17:33 +0000 (0:00:00.927) 0:18:37.795 ******
included: /opt/app-root/lib64/python3.9/site-packages/ansible_collections/ibm/mas_devops/roles/db2/tasks/install/suite_jdbccfg.yml for localhost
TASK [ibm.mas_devops.db2 : Prepare vars file from template.] *******************
Wednesday 30 August 2023 01:17:33 +0000 (0:00:00.109) 0:18:37.904 ******
changed: [localhost] => {"changed": true, "checksum": "81f89227d682d7868f2ce612d060dcc84188b3e6", "dest": "/tmp/wsapp.yml", "gid": 0, "group": "root", "md5sum": "cfcedf214d4891bc3d6cafb2e505d1d2", "mode": "0644", "owner": "root", "size": 242, "src": "/root/.ansible/tmp/ansible-tmp-1693358253.7008038-901-70232865734451/source", "state": "file", "uid": 0}
TASK [ibm.mas_devops.db2 : Load variables to use in JDBCCfg] *******************
Wednesday 30 August 2023 01:17:34 +0000 (0:00:00.979) 0:18:38.884 ******
ok: [localhost] => {"ansible_facts": {"suite_jdbccfg_labels": {"mas.ibm.com/applicationId": "manage", "mas.ibm.com/configScope": "workspace-application", "mas.ibm.com/instanceId": "devops-fixes", "mas.ibm.com/workspaceId": "main"}, "suite_jdbccfg_name": "devops-fixes-jdbc-wsapp-main-manage"}, "ansible_included_var_files": ["/tmp/wsapp.yml"], "changed": false}
TASK [ibm.mas_devops.db2 : Lookup db2u instance password] **********************
Wednesday 30 August 2023 01:17:34 +0000 (0:00:00.071) 0:18:38.955 ******
ok: [localhost] => {"api_found": true, "changed": false, "resources": [{"apiVersion": "v1", "data": {"password": "Q0U1dHl0S0lKUWxkcjli"}, "kind": "Secret", "metadata": {"creationTimestamp": "2023-08-30T00:59:43Z", "labels": {"formation_id": "mas-devops-fixes-main-manage", "role": "none"}, "managedFields": [{"apiVersion": "v1", "fieldsType": "FieldsV1", "fieldsV1": {"f:data": {".": {}, "f:password": {}}, "f:metadata": {"f:labels": {".": {}, "f:formation_id": {}, "f:role": {}}, "f:ownerReferences": {".": {}, "k:{\"uid\":\"de4a25ee-1d2d-4ce6-bafd-125ce543fcdb\"}": {}}}, "f:type": {}}, "manager": "manager", "operation": "Update", "time": "2023-08-30T00:59:43Z"}], "name": "c-mas-devops-fixes-main-manage-instancepassword", "namespace": "db2u", "ownerReferences": [{"apiVersion": "db2u.databases.ibm.com/v1", "kind": "Formation", "name": "mas-devops-fixes-main-manage", "uid": "de4a25ee-1d2d-4ce6-bafd-125ce543fcdb"}], "resourceVersion": "65577", "uid": "622db177-69f1-4215-8f95-90bee3561773"}, "type": "Opaque"}]}
TASK [ibm.mas_devops.db2 : Set Facts for JdbcCfg] ******************************
Wednesday 30 August 2023 01:17:35 +0000 (0:00:00.828) 0:18:39.784 ******
ok: [localhost] => {"ansible_facts": {"jdbc_instance_password": "CE5tytKIJQldr9b", "jdbc_url": "jdbc:db2://c-mas-devops-fixes-main-manage-db2u-engn-svc.db2u.svc:50001/BLUDB:sslConnection=true;sslVersion=TLSv1.2;"}, "changed": false}
TASK [ibm.mas_devops.db2 : Set facts for db2_jdbc_username and jdbc_instance_password] ***
Wednesday 30 August 2023 01:17:35 +0000 (0:00:00.082) 0:18:39.866 ******
ok: [localhost] => {"ansible_facts": {"db2_jdbc_username": "maximo", "jdbc_instance_password": "maximo"}, "changed": false}
TASK [ibm.mas_devops.db2 : Copy JdbcCfg to filesytem] **************************
Wednesday 30 August 2023 01:17:35 +0000 (0:00:00.083) 0:18:39.950 ******
changed: [localhost] => {"changed": true, "checksum": "7582a8e5501d0a53521e080edff2a9944440e33d", "dest": "/workspace/configs/jdbc-mas-devops-fixes-main-manage-db2u.yml", "gid": 0, "group": "root", "md5sum": "aad7fdd170fb8d3dd03cb6eafdc2deff", "mode": "0664", "owner": "root", "size": 2429, "src": "/root/.ansible/tmp/ansible-tmp-1693358255.7487528-945-146146308227441/source", "state": "file", "uid": 0}
PLAY RECAP *********************************************************************
localhost : ok=69 changed=9 unreachable=0 failed=0 skipped=8 rescued=0 ignored=1
Upgrade test:
PLAY [localhost] *****************************************************************************************************************************************************************************************************
TASK [Gathering Facts] ***********************************************************************************************************************************************************************************************
ok: [localhost]
TASK [ibm.mas_devops.db2 : Run the selected action] ******************************************************************************************************************************************************************
included: /Users/andremarcelino/.ansible/collections/ansible_collections/ibm/mas_devops/roles/db2/tasks/upgrade/main.yml for localhost
TASK [ibm.mas_devops.db2 : Lookup Namespace: db2u] *******************************************************************************************************************************************************************
ok: [localhost]
TASK [ibm.mas_devops.db2 : Set found_db2_namespace Fact] *************************************************************************************************************************************************************
ok: [localhost]
TASK [ibm.mas_devops.db2 : Namespace Not Found: db2u] ****************************************************************************************************************************************************************
skipping: [localhost]
TASK [ibm.mas_devops.db2 : include_tasks] ****************************************************************************************************************************************************************************
included: /Users/andremarcelino/.ansible/collections/ansible_collections/ibm/mas_devops/roles/db2/tasks/upgrade/prepare-db2-upgrade.yml for localhost
TASK [ibm.mas_devops.db2 : Lookup db2u-operator packagemanifest] *****************************************************************************************************************************************************
ok: [localhost]
TASK [ibm.mas_devops.db2 : Set db2u-operator update channel to latest default channel if not provided] ***************************************************************************************************************
ok: [localhost]
TASK [ibm.mas_devops.db2 : Verify db2_channel set] *******************************************************************************************************************************************************************
ok: [localhost] => {
"changed": false,
"msg": "All assertions passed"
}
TASK [ibm.mas_devops.db2 : Debug Db2 Universal Operator Install] *****************************************************************************************************************************************************
ok: [localhost] => {
"msg": [
"Db2 Channel ............................ v110508.0"
]
}
TASK [ibm.mas_devops.db2 : Get the current subscription channel for db2] *********************************************************************************************************************************************
ok: [localhost]
TASK [ibm.mas_devops.db2 : Set the value for the current channel for db2] ********************************************************************************************************************************************
ok: [localhost]
TASK [ibm.mas_devops.db2 : debug] ************************************************************************************************************************************************************************************
ok: [localhost] => {
"msg": [
"Current db2 channel .......... v2.0",
"Current db2 csv .............. db2u-operator.v2.0.0"
]
}
TASK [ibm.mas_devops.db2 : Debug when no upgrade is needed] **********************************************************************************************************************************************************
skipping: [localhost]
TASK [ibm.mas_devops.db2 : include_tasks] ****************************************************************************************************************************************************************************
included: /Users/andremarcelino/.ansible/collections/ansible_collections/ibm/mas_devops/roles/db2/tasks/upgrade/run-db2-subscription-upgrade.yml for localhost
TASK [ibm.mas_devops.db2 : Delete old Db2 OperandRequest] ************************************************************************************************************************************************************
ok: [localhost]
TASK [ibm.mas_devops.db2 : Wait 2 minutes if we removed an old OperandRequest] ***************************************************************************************************************************************
skipping: [localhost]
TASK [ibm.mas_devops.db2 : Update db2 subscription to the new channel] ***********************************************************************************************************************************************
changed: [localhost]
TASK [ibm.mas_devops.db2 : Pause for a minute before checking subscription status...] ********************************************************************************************************************************
Pausing for 60 seconds
(ctrl+C then 'C' = continue early, ctrl+C then 'A' = abort)
ok: [localhost]
TASK [ibm.mas_devops.db2 : Wait db2 subscription to update installedCSV] *********************************************************************************************************************************************
ok: [localhost]
TASK [ibm.mas_devops.db2 : Wait for ibm-db2u-operator to be ready (60s delay)] ***************************************************************************************************************************************
ok: [localhost]
TASK [ibm.mas_devops.db2 : Pause for a minute before continuing upgrade process...] **********************************************************************************************************************************
Pausing for 60 seconds
(ctrl+C then 'C' = continue early, ctrl+C then 'A' = abort)
ok: [localhost]
TASK [ibm.mas_devops.db2 : Lookup the updated OperatorCondition] *****************************************************************************************************************************************************
ok: [localhost]
TASK [ibm.mas_devops.db2 : Debug Operator Version] *******************************************************************************************************************************************************************
ok: [localhost] => {
"msg": [
"Db2u Operator condition ................ db2u-operator.v110508.0.2"
]
}
TASK [ibm.mas_devops.db2 : Wait until the db2u-license-keys secret is available] *************************************************************************************************************************************
ok: [localhost]
TASK [ibm.mas_devops.db2 : set_fact] *********************************************************************************************************************************************************************************
ok: [localhost]
TASK [ibm.mas_devops.db2 : Set db2 version] **************************************************************************************************************************************************************************
ok: [localhost]
TASK [ibm.mas_devops.db2 : Debug target DB2 channel and engine version] **********************************************************************************************************************************************
ok: [localhost] => {
"msg": [
"Current Db2 Channel .................... v2.0",
"Target Db2 Channel ..................... v110508.0",
"Target Db2 Engine Version .............. s11.5.8.0-cn2"
]
}
TASK [ibm.mas_devops.db2 : include_tasks] ****************************************************************************************************************************************************************************
included: /Users/andremarcelino/.ansible/collections/ansible_collections/ibm/mas_devops/roles/db2/tasks/upgrade/run-db2-instances-upgrade.yml for localhost
TASK [ibm.mas_devops.db2 : Get db2u instance list] *******************************************************************************************************************************************************************
ok: [localhost]
TASK [ibm.mas_devops.db2 : Debug list of db2u instances] *************************************************************************************************************************************************************
ok: [localhost] => {
"msg": [
"Db2u Cluster Names ...................... ['mas-devops-fixes-main-manage']",
"Db2u Cluster Namespace .................. db2u",
"Db2u Cluster Versions ................... ['s11.5.8.0-cn2']"
]
}
TASK [ibm.mas_devops.db2 : Get and set variables to store the lists] *************************************************************************************************************************************************
ok: [localhost]
TASK [ibm.mas_devops.db2 : Check if Db2 instance is at version s11.5.8.0-cn2] ****************************************************************************************************************************************
skipping: [localhost] => (item=['mas-devops-fixes-main-manage', 's11.5.8.0-cn2'])
skipping: [localhost]
TASK [ibm.mas_devops.db2 : Update db2u instance version when required] ***********************************************************************************************************************************************
skipping: [localhost] => (item=['mas-devops-fixes-main-manage', 's11.5.8.0-cn2'])
skipping: [localhost]
TASK [ibm.mas_devops.db2 : Wait for db2u instance to be ready (1m delay)] ********************************************************************************************************************************************
skipping: [localhost] => (item=['mas-devops-fixes-main-manage', 's11.5.8.0-cn2'])
skipping: [localhost]
PLAY RECAP ***********************************************************************************************************************************************************************************************************
localhost : ok=29 changed=1 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0
Fixed with the merged pull request.
We've been seeing cases where users are installing db2 via mas cli with old catalog versions that are not supporting the current default version for db2 set in
db2
roleSo this issue is to cover the fix that will lookup the latest db2u version compatible with the db2 operator installed in the cluster and make it default in case customer has not defined the desired version. That will use the information provided by the
db2u-license-keys
secret that is added by db2 operator during install time.