Oracle OpenStack 4.0.1: Destroy Deployment Fails at Deleting NFS Share Directory /var/lib/kolla/var/lib/nova/instances

(Doc ID 2412608.1)

Last updated on JUNE 27, 2018

Applies to:

Oracle OpenStack for Oracle Linux - Version OpenStack 4.0.1 and later
Linux x86-64

Symptoms

Destroy deployment fails:
$ kollacli host destroy all --includedata
Please be patient as this may take a while.
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/kollacli/commands/host.py", line 114, in take_action
.format(msg=job.get_error_message()))
CommandError: ERROR: Job failed:
Host: ostk3.oracle.com, Task: destroy : Destroying kolla_host_mount_directory contents, Status: failed, Message: {"_ansible_parsed": true, "stderr_lines": ["rm: cannot remove \u2018/var/lib/kolla/var/lib/nova/instances\u2019: Device or resource busy"], "changed": true, "end": "2018-06-19 11:32:39.184384", "_ansible_no_log": false, "stdout": "", "cmd": "rm -rf /var/lib/kolla/*", "start": "2018-06-19 11:32:39.178482", "delta": "0:00:00.005902", "stderr": "rm: cannot remove \u2018/var/lib/kolla/var/lib/nova/instances\u2019: Device or resource busy", "rc": 1, "invocation": {"module_args": {"creates": null, "executable": null, "_uses_shell": true, "_raw_params": "rm -rf /var/lib/kolla/*", "removes": null, "warn": false, "chdir": null}}, "stdout_lines": [], "failed": true} 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms