[jboss-jira] [JBoss JIRA] (SWSQE-918) Clean-environment jenkins job sometimes stuck on deleting istio-operator

Guilherme Baufaker Rêgo (Jira) issues at jboss.org
Tue Aug 6 03:42:00 EDT 2019


    [ https://issues.jboss.org/browse/SWSQE-918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13767244#comment-13767244 ] 

Guilherme Baufaker Rêgo commented on SWSQE-918:
-----------------------------------------------

It is because of finalizers.

Look for finalizers on smmr and smcp on both control planes (istio-system and istio-system2).

You can do via 


{code:bash}
oc edit smmr -n istio-system
oc edit smcp -n istio-system 
oc edit smmr -n istio-system2
oc edit smcp -n istio-system2
{code}

then you can edit the object by removing the finalizers.

It is not supposed to happen anymore because I added a while to remove the control plane namespace only if you had removed the smmr and smcp entirely first.

Let me know if anything of this happen again.



> Clean-environment jenkins job sometimes stuck on deleting istio-operator
> ------------------------------------------------------------------------
>
>                 Key: SWSQE-918
>                 URL: https://issues.jboss.org/browse/SWSQE-918
>             Project: Kiali QE
>          Issue Type: Bug
>            Reporter: Filip Brychta
>            Assignee: Guilherme Baufaker Rêgo
>            Priority: Major
>
> https://jenkins2.bc.jonqe.lab.eng.bos.redhat.com:8443/job/clean-environment is sometimes stuck on:
> + cat maistra/maistra-operator.yaml
> + ISTIO_OPERATOR_HUB=quay.io/maistra
> + ISTIO_OPERATOR_IMAGE=istio-operator-ubi8
> + ISTIO_OPERATOR_TAG=0.12
> + envsubst
> + oc delete -n istio-operator --ignore-not-found=true -f -
> customresourcedefinition.apiextensions.k8s.io "controlplanes.istio.openshift.com" deleted
> customresourcedefinition.apiextensions.k8s.io "servicemeshcontrolplanes.maistra.io" deleted
> customresourcedefinition.apiextensions.k8s.io "servicemeshmemberrolls.maistra.io" deleted
> clusterrole.rbac.authorization.k8s.io "maistra-admin" deleted
> clusterrolebinding.rbac.authorization.k8s.io "maistra-admin" deleted
> clusterrole.rbac.authorization.k8s.io "istio-admin" deleted
> clusterrolebinding.rbac.authorization.k8s.io "istio-admin" deleted
> clusterrole.rbac.authorization.k8s.io "istio-operator" deleted
> serviceaccount "istio-operator" deleted
> clusterrolebinding.rbac.authorization.k8s.io "istio-operator-account-istio-operator-cluster-role-binding" deleted
> validatingwebhookconfiguration.admissionregistration.k8s.io "istio-operator.servicemesh-resources.maistra.io" deleted
> service "admission-controller" deleted
> deployment.apps "istio-operator" deleted
> Running against OCP 4.1 cluster



--
This message was sent by Atlassian Jira
(v7.12.1#712002)



More information about the jboss-jira mailing list