openebs-archive / e2e-tests

E2e tests for OpenEBS. The tests are run on various platforms and results can be seen at https://openebs.ci
https://openebs.io
Apache License 2.0
10 stars 24 forks source link

Release Checklist 2.10.0-RC2 #643

Closed nsathyaseelan closed 3 years ago

nsathyaseelan commented 3 years ago
akhilerm commented 3 years ago

RC2 images are available

openebs/node-disk-exporter:1.5.0-RC2 ✔
openebs/node-disk-operator:1.5.0-RC2 ✔
openebs/node-disk-manager:1.5.0-RC2 ✔

openebs/zfs-driver:1.8.0-RC2 ✔

openebs/lvm-driver:0.6.0-RC2 ✔

openebs/linux-utils:2.10.0-RC2 ✔
openebs/jiva:2.10.0-RC2 ✔
openebs/jiva-operator:2.10.0-RC2 ✔

openebs/provisioner-localpv:2.10.0-RC2 ✔

openebs/cstor-istgt:2.10.0-RC2 ✔
openebs/cstor-webhook:2.10.0-RC2 ✔
openebs/cstor-pool-manager:2.10.0-RC2 ✔
openebs/cstor-volume-manager:2.10.0-RC2 ✔
openebs/cspc-operator:2.10.0-RC2 ✔
openebs/cvc-operator:2.10.0-RC2 ✔
openebs/openebs-k8s-provisioner:2.10.0-RC2 ✔
openebs/velero-plugin:2.10.0-RC2 ✔
openebs/snapshot-provisioner:2.10.0-RC2 ✔
openebs/snapshot-controller:2.10.0-RC2 ✔
openebs/admission-server:2.10.0-RC2 ✔
openebs/m-upgrade:2.10.0-RC2 ✔
openebs/m-exporter:2.10.0-RC2 ✔
openebs/cstor-volume-mgmt:2.10.0-RC2 ✔
openebs/cstor-pool-mgmt:2.10.0-RC2 ✔
openebs/m-apiserver:2.10.0-RC2 ✔
openebs/cstor-pool:2.10.0-RC2 ✔
openebs/migrate:2.10.0-RC2 ✔
openebs/upgrade:2.10.0-RC2 ✔
openebs/cstor-csi-driver:2.10.0-RC2 ✔

Operator commit for RC2 https://github.com/openebs/charts/pull/223/commits/2b78b7743696e8db0ede32be4a3b51598ad7e9d5 Helm commit for RC2 https://github.com/openebs/charts/pull/224/commits/5b689c6fd7913260f63613085143785ece876ff7

nsathyaseelan commented 3 years ago

While Upgrading the CSPC pools from 1.12.0 to 2.10.0-RC2 in k8s 1.20 cluster upgrade job getting failed to update/change the validatingwebhookconfig apiversion to v1beta1 into v1

I0614 08:13:59.385491       1 cspi.go:79] cspi already in 2.10.0-RC2 version
I0614 08:14:00.586024       1 cspc.go:76] patching cspc cstor-cspc-disk-pool
E0614 08:14:00.602577       1 cstor_cspc.go:73] failed to patch cspc cstor-cspc-disk-pool: Internal error occurred: failed calling webhook "admission-webhook.cstor.openebs.io": converting (v1.AdmissionReview) to (v1beta1.AdmissionReview): unknown conversion
F0614 08:14:00.602621       1 cstor_cspc.go:53] Failed to upgrade cStor CSPC cstor-cspc-disk-pool
lvmuser@rack2:~/.../deployers$ kubectl get validatingwebhookconfiguration openebs-cstor-validation-webhook -o yaml
apiVersion: admissionregistration.k8s.io/v1
kind: ValidatingWebhookConfiguration
metadata:
  creationTimestamp: "2021-06-14T06:34:53Z"
  generation: 1
  labels:
    app: cstor-admission-webhook
    openebs.io/component-name: cstor-admission-webhook
    openebs.io/version: 2.10.0-RC2
  managedFields:
  - apiVersion: admissionregistration.k8s.io/v1beta1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:labels:
          .: {}
          f:app: {}
          f:openebs.io/component-name: {}
        f:ownerReferences:
          .: {}
          k:{"uid":"43b2140f-82c2-4fb9-a4ee-a4e2753a69da"}:
            .: {}
            f:apiVersion: {}
            f:blockOwnerDeletion: {}
            f:controller: {}
            f:kind: {}
            f:name: {}
            f:uid: {}
      f:webhooks:
        .: {}
        k:{"name":"admission-webhook.cstor.openebs.io"}:
          .: {}
          f:admissionReviewVersions: {}
          f:clientConfig:
            .: {}
            f:caBundle: {}
            f:service:
              .: {}
              f:name: {}
              f:namespace: {}
              f:path: {}
              f:port: {}
          f:failurePolicy: {}
          f:matchPolicy: {}
          f:name: {}
          f:namespaceSelector: {}
          f:objectSelector: {}
          f:rules: {}
          f:sideEffects: {}
          f:timeoutSeconds: {}
    manager: webhook
    operation: Update
    time: "2021-06-14T06:34:53Z"
  - apiVersion: admissionregistration.k8s.io/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:labels:
          f:openebs.io/version: {}
    manager: webhook
    operation: Update
    time: "2021-06-14T07:31:36Z"
  name: openebs-cstor-validation-webhook
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: Deployment
    name: openebs-cstor-admission-server
    uid: 43b2140f-82c2-4fb9-a4ee-a4e2753a69da
  resourceVersion: "1241275"
  uid: 2604b996-2732-46e7-8fba-070470cba0c7
webhooks:
- admissionReviewVersions:
  - v1beta1
  clientConfig:
    caBundle: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUM5akNDQWQ2Z0F3SUJBZ0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFzTVNvd0tBWURWUVFERXlGdmNHVnUKWldKekxXTnpkRzl5TFdGa2JXbHpjMmx2YmkxelpYSjJaWEl0WTJFd0hoY05NakV3TmpFME1EWXpORFV6V2hjTgpNekV3TmpFeU1EWXpORFV6V2pBc01Tb3dLQVlEVlFRREV5RnZjR1Z1WldKekxXTnpkRzl5TFdGa2JXbHpjMmx2CmJpMXpaWEoyWlhJdFkyRXdnZ0VpTUEwR0NTcUdTSWIzRFFFQkFRVUFBNElCRHdBd2dnRUtBb0lCQVFDNXNMeEIKejZOTkUwWkIxYis3OXZINjl6L0JDcmRWTlBPM1ZmajBVNUJoOXYxVUVRQVR4Mms2dFY3VFh1NVdVL1R2K1ZDeQoybDM5SkRCekFOL2pRcXJpaXhVc0htZGFVeER0dHo2a0wyMGUwSnlVOE12cHJIa3Njd3BySGlhN1FUdFgzbE9GCjVBdEw5TU9GWGpKeFg5NU82b0JGb1J5LzkzNk9NdDNVNjNBeEpJbm41WC9HbkRyS3Nma1NNN2l1STNFaFlWdGkKZUFHL3F3Y0xLeGoyQURJV1lpVTkyUFFvK1JIRkRucW05cXBwTFFGMjQ3SUVFVk91Ukljemlma1NhYVlGNnFaNwp2cnlNNXRRclBBTXZyYlNibXRzT1VmVnpHWVFyWGVhUy9yRlU3TEtLNWc1VmtKQm4vTmdJSTZZN01DYkVKQVlOCk80VDk3ajR4VU55bGx6SEJBZ01CQUFHakl6QWhNQTRHQTFVZER3RUIvd1FFQXdJQ3BEQVBCZ05WSFJNQkFmOEUKQlRBREFRSC9NQTBHQ1NxR1NJYjNEUUVCQ3dVQUE0SUJBUUJQWDA0bzZwYkN5c2VLTDM2OE9NeHFzeVgrSEt1cQpmYmpJTkgrdGptUWhUaHZUUG0zL08wRDl3U3N4OXpIVU15VVJoTjNDaEY2WHBYSDYzMWR2SmNvZWZQL0NtZHlzCk05MGcyV0ozRlJJMlF3RWYxNjB3bzFEaWR3d0kvczErcGdWWFpnNFhtN3FhaE9jWkkzdlpOQTdQdGlKUWVmTEoKdmVSbmQvZVpOUGpiQ0ZKeXFQeHZaVkpzYVF2MGNwS2N2OE4zR2ZsY29EUWt1bnBra2NHSjFqRWpRNHNLZnJLQwpJUDlROWVMWXk0M2IwSnpxL20zU3hndVZVNUlpWGwzZ3hhcXFleCtzSHRJQ2VncjFRK3N0WVdDTEJmV0pUM2M4ClIzRm41Z25HSVQ0T0ZuU3NKMmY2b3Q3YWtwaStueWtKV2pnb1J3d2d5MmMyZzAyUHVxV0dIVFlSCi0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
    service:
      name: openebs-cstor-admission-server
      namespace: openebs
      path: /validate
      port: 443
  failurePolicy: Fail
  matchPolicy: Exact
  name: admission-webhook.cstor.openebs.io
  namespaceSelector: {}
  objectSelector: {}
  rules:
  - apiGroups:
    - '*'
    apiVersions:
    - '*'
    operations:
    - CREATE
    - DELETE
    resources:
    - persistentvolumeclaims
    scope: '*'
  - apiGroups:
    - cstor.openebs.io
    apiVersions:
    - v1
    operations:
    - CREATE
    - UPDATE
    - DELETE
    resources:
    - cstorpoolclusters
    scope: '*'
  - apiGroups:
    - cstor.openebs.io
    apiVersions:
    - v1
    operations:
    - UPDATE
    resources:
    - cstorvolumeconfigs
    scope: '*'
  sideEffects: Unknown
  timeoutSeconds: 5
shubham14bajpai commented 3 years ago

This failed in latest versions of k8s ref as the fallback support for v1beta1 API was removed from 1.19 onwards. Raised a fix PR to correct the comparisons between functions

https://github.com/openebs/cstor-operators/pull/341 https://github.com/openebs/cstor-operators/pull/342 https://github.com/openebs/maya/pull/1806 https://github.com/openebs/maya/pull/1807