Comment 0 for bug 1881967

Revision history for this message
ayyappa (mantri425) wrote : cm resource creation fails after swact on duplex ipv6 system

Brief Description
-----------------
The cert-manager resource creation fails after swact on wcp_78_79 ipv6 duplex system

Severity
--------
Major

Steps to Reproduce
------------------
1)Create a stepca issuer
[sysadmin@controller-1 ~(keystone_admin)]$ kubectl get clusterissuers.cert-manager.io
NAME READY AGE
stepca-issuer True 78s

2)create a certificate request with the following yaml file
apiVersion: cert-manager.io/v1alpha2
kind: Certificate
metadata:
  name: cert-1
spec:
  secretName: cert-1
  issuerRef:
    name: stepca-issuer
    kind: ClusterIssuer
  organization:
  - Windriver
  dnsNames:
  - cgcs-wildcat-78-79.cumulus.wrs.com

3)certificate is issued by stepca
4)swact the active controller
5)wait for swact operation is succesful, now delete the stepca_issuer
[sysadmin@controller-1 ~(keystone_admin)]$ kubectl delete -f stepca_issuer.yaml
clusterissuer.cert-manager.io "stepca-issuer" deleted

6)Now if the user tries to create it again shows the following error on the system
[sysadmin@controller-1 ~(keystone_admin)]$ kubectl create -f stepca_issuer.yaml
Error from server (InternalError): error when creating "stepca_issuer.yaml": Internal error occurred: failed calling webhook "webhook.cert-manager.io": Post https://cm-cert-manager-webhook.cert-manager.svc:443/mutate?timeout=30s: dial tcp [abcd:207::a15c]:443: connect: network is unreachable
[sysadmin@controller-1 ~(keystone_admin)]$

7)Tried the same operation on r430_3_4 ipv6 system and it seems to be working fine

System Configuration
--------------------
duplex system,wcp_78_79_ipv6
duplex system, wcp_r430_3_4_ipv6

Branch/Pull Time/Commit
-----------------------
2020-06-02_20-00-00

Last Pass
---------
Never

Timestamp/Logs
--------------
2020-06-03T19:08:18.175878694Z

Test Activity
-------------
Automation

Workaround
----------
swact again and perform the same operation