[feedhenry-dev] MCP: make clean errors (on Feodra 26)

Damien Murphy damurphy at redhat.com
Wed Oct 11 12:51:25 UTC 2017


No worries Matthias, it seems it may be a known issue where pods/ volumes
don't always unmount properly. Gist with a filthy one-liner I used -
https://gist.github.com/damienomurchu/0510507067ed0ba1b6a5412e1e54a274 :-)

On 11 October 2017 at 13:39, Matthias Wessendorf <mwessend at redhat.com>
wrote:

> ah, that sounds good, thanks Damien!
>
> On Wed, Oct 11, 2017 at 2:36 PM, Damien Murphy <damurphy at redhat.com>
> wrote:
>
>> Hey Matthias,
>>
>> Had the same issue with OpenShift not unmounting the pods properly - you
>> can unmount the pods manually by running `sudo umount` on each of the
>> problematic pods. Once I did that I could run a `make clean` without issue,
>>
>> Damien
>>
>> On 11 October 2017 at 13:06, Matthias Wessendorf <mwessend at redhat.com>
>> wrote:
>>
>>> Hi,
>>>
>>> when doing a 'make clean', I am getting also some errors that the script
>>> can not remove all stuff:
>>>
>>> + sudo rm -rf /home/Matthias/go/src/github.c
>>> om/feedhenry/mcp-standalone/ui/openshift-pvs
>>> + sudo rm -rf /home/Matthias/go/src/github.c
>>> om/feedhenry/mcp-standalone/ui/openshift-volumes
>>> rm: cannot remove '/home/Matthias/go/src/github.
>>> com/feedhenry/mcp-standalone/ui/openshift-volumes/pods/cf8bd
>>> 6d3-ae61-11e7-ad7e-c85b765a6fb1/volumes/kubernetes.io~secret
>>> /service-catalog-controller-token-k44wx': Device or resource busy
>>> rm: cannot remove '/home/Matthias/go/src/github.
>>> com/feedhenry/mcp-standalone/ui/openshift-volumes/pods/cf8bd
>>> 6d3-ae61-11e7-ad7e-c85b765a6fb1/volumes/kubernetes.io~secret
>>> /service-catalog-ssl': Device or resource busy
>>> rm: cannot remove '/home/Matthias/go/src/github.
>>> com/feedhenry/mcp-standalone/ui/openshift-volumes/pods/341b9
>>> a7a-ae62-11e7-9b83-c85b765a6fb1/volumes/kubernetes.io~secret
>>> /asb-token-l7wjh': Device or resource busy
>>> rm: cannot remove '/home/Matthias/go/src/github.
>>> com/feedhenry/mcp-standalone/ui/openshift-volumes/pods/341b9
>>> a7a-ae62-11e7-9b83-c85b765a6fb1/volumes/kubernetes.io~secret
>>> /asb-auth-volume': Device or resource busy
>>> rm: cannot remove '/home/Matthias/go/src/github.
>>> com/feedhenry/mcp-standalone/ui/openshift-volumes/pods/341b9
>>> a7a-ae62-11e7-9b83-c85b765a6fb1/volumes/kubernetes.io~secret/asb-tls':
>>> Device or resource busy
>>> rm: cannot remove '/home/Matthias/go/src/github.
>>> com/feedhenry/mcp-standalone/ui/openshift-volumes/pods/fcea5
>>> c92-ae61-11e7-ad7e-c85b765a6fb1/volumes/kubernetes.io~secret
>>> /server-certificate': Device or resource busy
>>> rm: cannot remove '/home/Matthias/go/src/github.
>>> com/feedhenry/mcp-standalone/ui/openshift-volumes/pods/fcea5
>>> c92-ae61-11e7-ad7e-c85b765a6fb1/volumes/kubernetes.io~secret
>>> /router-token-k7ph4': Device or resource busy
>>> rm: cannot remove '/home/Matthias/go/src/github.
>>> com/feedhenry/mcp-standalone/ui/openshift-volumes/pods/cf891
>>> 608-ae61-11e7-ad7e-c85b765a6fb1/volumes/kubernetes.io~secret
>>> /service-catalog-apiserver-token-scxp5': Device or resource busy
>>> rm: cannot remove '/home/Matthias/go/src/github.
>>> com/feedhenry/mcp-standalone/ui/openshift-volumes/pods/cf891
>>> 608-ae61-11e7-ad7e-c85b765a6fb1/volumes/kubernetes.io~secret
>>> /apiserver-ssl': Device or resource busy
>>> rm: cannot remove '/home/Matthias/go/src/github.
>>> com/feedhenry/mcp-standalone/ui/openshift-volumes/pods/0512a
>>> 0f8-ae62-11e7-ad7e-c85b765a6fb1/volumes/kubernetes.io~secret
>>> /registry-token-zqmj2': Device or resource busy
>>> make: *** [Makefile:64: clean] Error 1
>>>
>>>
>>>
>>> Rebooting my machine does fix this ..   - anyone had the same ?
>>>
>>>
>>> -M
>>>
>>>
>>>
>>>
>>> --
>>> Project lead AeroGear.org
>>>
>>> _______________________________________________
>>> feedhenry-dev mailing list
>>> feedhenry-dev at redhat.com
>>> https://www.redhat.com/mailman/listinfo/feedhenry-dev
>>>
>>>
>>
>>
>
>
> --
> Project lead AeroGear.org
>



-- 

DAMIEN MURPHY

SOFTWARE ENGINEER
<https://red.ht/sig>

Red Hat Mobile <https://www.redhat.com/>

IM: damurphy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/feedhenry-dev/attachments/20171011/048f8a37/attachment.htm>


More information about the feedhenry-dev mailing list