You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by GitBox <gi...@apache.org> on 2021/09/15 11:30:51 UTC
[GitHub] [solr-operator] lennartjuette opened a new issue #323: Deleting the namespace of a SolrCloud breaks finalizer
lennartjuette opened a new issue #323:
URL: https://github.com/apache/solr-operator/issues/323
We are currently using Flux to roll out some of our environments on a k8s Cluster. Somewhere on this Cluster solr-operator 0.3.0 is doing it's job quite well. But there's a special scenario that I can't wrap my head around.
**Scenario**
We have a Kustomization (KS) that will be applied/reconciled by Flux. This KS creates a new namespace, in which other KS are placed. Those 2nd level KS install a SolrCloud instance.
**Problem**
When we remove one of our environments (top level KS) the namespace and all decendant KS are being purged immediately. This means that the NS is marked for termination while the SolrCloud resource is still purging it's own Resources (Pods, PVCs, ...). This seems to be a problem, because the SolrCloud won't finish cleaning up and just hang there, blocking the namespace deletion.
I don't see a way to tell Flux to keep the namespace untouched until SolrCloud has been cleaned up. The only way to fix this at the moment is to remove the finalizer.
Any ideas what I might be doing wrong or if something is broken here?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
[GitHub] [solr-operator] HoustonPutman closed issue #323: Deleting the namespace of a SolrCloud breaks finalizer
Posted by GitBox <gi...@apache.org>.
HoustonPutman closed issue #323:
URL: https://github.com/apache/solr-operator/issues/323
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
[GitHub] [solr-operator] HoustonPutman commented on issue #323: Deleting the namespace of a SolrCloud breaks finalizer
Posted by GitBox <gi...@apache.org>.
HoustonPutman commented on issue #323:
URL: https://github.com/apache/solr-operator/issues/323#issuecomment-926117621
You could use `solrcloud.spec.dataStorage.persistent.reclaimPolicy=Retain`, at that point the SolrCloud won't use a finalizer on the PVCs. And when you delete the namespace, I imagine the PVCs in that namespace will be deleted anyways.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
[GitHub] [solr-operator] HoustonPutman commented on issue #323: Deleting the namespace of a SolrCloud breaks finalizer
Posted by GitBox <gi...@apache.org>.
HoustonPutman commented on issue #323:
URL: https://github.com/apache/solr-operator/issues/323#issuecomment-953063696
Closing as this is not a bug.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org
[GitHub] [solr-operator] lennartjuette commented on issue #323: Deleting the namespace of a SolrCloud breaks finalizer
Posted by GitBox <gi...@apache.org>.
lennartjuette commented on issue #323:
URL: https://github.com/apache/solr-operator/issues/323#issuecomment-954695920
@HoustonPutman Sorry for the lack of feedback. I'll try to follow your suggestion as soon as I get the opportunity. Thanks for the hint!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org