# Longhorn volume terminating status

**URL:** <https://forums.suse.com/t/longhorn-volume-terminating-status/11683>\
**Category:** SUSE Storage\
**Created:** [September 5, 2018, 8:37pm UTC](https://forums.suse.com/t/longhorn-volume-terminating-status/11683 "2018-09-05T20:37:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gui](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/gui/32/4173_2.png) [@Gui](https://forums.suse.com/u/Gui)\
**Post date:** [September 5, 2018, 8:37pm UTC](https://forums.suse.com/t/longhorn-volume-terminating-status/11683/1 "2018-09-05T20:37:10Z")

</div>

Hi everyone,

We are using to Longhorn with kubernetes to deliver of persistent volumes. Sometimes when we making some pod updates (change some configuration for example) we have problems. The pod doesn’t start correctly due to PVC state. The persistent volume claim stays with terminating state forever. While this pvc have been terminating, the pod doesn’t start. If I force to delete PVC, through the kubectl, pod starts and mount the persistent volume again, at the same time as we will have data loss.

Someone have this problem too? And how we can fix them without data lost?

Thank you.

---

<div class="post-metadata">

**Author:** ![yasker](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/yasker/32/137_2.png) [@yasker](https://forums.suse.com/u/yasker)\
**Post date:** [September 5, 2018, 10:02pm UTC](https://forums.suse.com/t/longhorn-volume-terminating-status/11683/2 "2018-09-05T22:02:11Z")

</div>

Hi @Gui

Can you file an issue with reproduce steps? What update you’ve done? If the deployment is not using `recreate` policy, Kubernetes will attempt to start another pod (probably on another node) with the same PVC, which can cause problem since Longhorn volume cannot be mounted on two different nodes.

---

<div class="post-metadata">

**Author:** ![Gui](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/gui/32/4173_2.png) [@Gui](https://forums.suse.com/u/Gui)\
**Post date:** [September 6, 2018, 1:01pm UTC](https://forums.suse.com/t/longhorn-volume-terminating-status/11683/3 "2018-09-06T13:01:11Z")

</div>

Hi @yasker,

We have made a pod image update, our PV is using a delete reclaim policy. We’re using this commando: _**"kubectl set image deployment/jenkins [jenkins=my.registry.com/jenkins:2.138\_v2](http://jenkins=my.registry.com/jenkins:2.138_v2)"**_ to update our pod image.

I noticed that sometimes if I run this command the image update works and others it doesn’t work. In my opinion, the problem is on Kubernetes and not in Longhorn. Something strange is occurring during this process (image updates or pods recreate) that put PV on delete status forever.

You can try reproduce this problem just making some images update or recreate pods.

Thanks.
