My Oracle Support Banner

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 AUGUST 04, 2018

Applies to:

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

Symptoms

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
(snip)
PLAY RECAP *********************************************************************
o3lr2ctlr1.cn.oracle.com : ok=145 changed=76 unreachable=0 failed=0 ignored=0
o3lr2ovs1.cn.oracle.com : ok=41 changed=25 unreachable=0 failed=0 ignored=0
o3lr2kvm1.cn.oracle.com : ok=41 changed=25 unreachable=0 failed=0 ignored=0
o3lr2net1.cn.oracle.com : ok=154 changed=84 unreachable=0 failed=1 ignored=0
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/kollacli/commands/deploy.py", line 103, in take_action
.format(msg=job.get_error_message()))
CommandError: ERROR: Job failed:
Host: o3lr2net1.cn.oracle.com, Task: glance : Running Glance bootstrap container, Status: failed, Message: 'Traceback (most recent call last):\n File "/tmp/ansible_5kYpL2/ansible_module_kolla_docker.py", line 799, in main\n result = bool(getattr(dw, module.params.get(\'action\'))())\n File "/tmp/ansible_5kYpL2/ansible_module_kolla_docker.py", line 617, in start_container\n self.dc.start(container=self.params.get(\'name\'))\n File "/usr/lib/python2.7/site-packages/docker/utils/decorators.py", line 21, in wrapped\n return f(self, resource_id, *args, **kwargs)\n File "/usr/lib/python2.7/site-packages/docker/api/container.py", line 366, in start\n self._raise_for_status(res)\n File "/usr/lib/python2.7/site-packages/docker/client.py", 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

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.