Oracle Openstack 4.0.1: Re-deploy might Fail with Error: "500 Server Error: Internal Server Error...mkdir /var/lib/glance: file exists"

(Doc ID 2357555.1)

Last updated on FEBRUARY 08, 2018

Applies to:

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


If there was an Oracle Openstack 4.0.1 deployed and cleaned up by "$ kollacli host destroy all --includedata --images", then re-deploy again might fail with below error:

$ kollacli deploy
PLAY RECAP ********************************************************************* : ok=145 changed=76 unreachable=0 failed=0 ignored=0 : ok=41 changed=25 unreachable=0 failed=0 ignored=0 : ok=41 changed=25 unreachable=0 failed=0 ignored=0 : ok=154 changed=84 unreachable=0 failed=1 ignored=0
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/kollacli/commands/", line 103, in take_action
CommandError: ERROR: Job failed:
Host:, Task: glance : Running Glance bootstrap container, Status: failed, Message: 'Traceback (most recent call last):\n File "/tmp/ansible_5kYpL2/", line 799, in main\n result = bool(getattr(dw, module.params.get(\'action\'))())\n File "/tmp/ansible_5kYpL2/", line 617, in start_container\n self.dc.start(container=self.params.get(\'name\'))\n File "/usr/lib/python2.7/site-packages/docker/utils/", line 21, in wrapped\n return f(self, resource_id, *args, **kwargs)\n File "/usr/lib/python2.7/site-packages/docker/api/", line 366, in start\n self._raise_for_status(res)\n File "/usr/lib/python2.7/site-packages/docker/", line 154, in _raise_for_status\n raise errors.APIError(e, response, explanation=explanation)\nAPIError: 500 Server Error: Internal Server Error ("{"message":"mkdir /var/lib/glance: file exists"}")\n'

Fail to access directory /var/lib/glance:

$ ll /var/lib/glance
ls: cannot access /var/lib/glance: Stale file handle
$ cd /var/lib/glance
-bash: cd: /var/lib/glance: Stale file handle



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