nova.service IOError: [Errno 13] Permission denied: '/var/lock/nova/nova-iptables'
I am using the Folsom release and when I try to run a VM instance and it fails in the dashboard. The nova-api.log gives the below error:
2012-10-17 14:28:07 TRACE nova.service
2012-10-17 14:28:07 INFO nova.wsgi [-] Stopping WSGI server.
2012-10-17 14:28:07 INFO nova.service [-] Child 117963 exited with status 2
2012-10-17 14:28:07 INFO nova.service [-] Started child 117964
2012-10-17 14:28:07 DEBUG nova.utils [-] Got semaphore "iptables" for method "_apply"... from (pid=117964) inner /usr/lib/
2012-10-17 14:28:07 DEBUG nova.utils [-] Attempting to grab file lock "iptables" for method "_apply"... from (pid=117964) inner /usr/lib/
2012-10-17 14:28:07 ERROR nova.service [-] Unhandled exception
2012-10-17 14:28:07 TRACE nova.service Traceback (most recent call last):
2012-10-17 14:28:07 TRACE nova.service File "/usr/lib/
2012-10-17 14:28:07 TRACE nova.service self._child_
2012-10-17 14:28:07 TRACE nova.service File "/usr/lib/
2012-10-17 14:28:07 TRACE nova.service launcher.
2012-10-17 14:28:07 TRACE nova.service File "/usr/lib/
2012-10-17 14:28:07 TRACE nova.service server.start()
2012-10-17 14:28:07 TRACE nova.service File "/usr/lib/
2012-10-17 14:28:07 TRACE nova.service self.manager.
2012-10-17 14:28:07 TRACE nova.service File "/usr/lib/
2012-10-17 14:28:07 TRACE nova.service self.network_
2012-10-17 14:28:07 TRACE nova.service File "/usr/lib/
2012-10-17 14:28:07 TRACE nova.service iptables_
2012-10-17 14:28:07 TRACE nova.service File "/usr/lib/
2012-10-17 14:28:07 TRACE nova.service self._apply()
2012-10-17 14:28:07 TRACE nova.service File "/usr/lib/
2012-10-17 14:28:07 TRACE nova.service with lock:
2012-10-17 14:28:07 TRACE nova.service File "/usr/lib/
2012-10-17 14:28:07 TRACE nova.service self.lockfile = open(self.fname, 'w')
2012-10-17 14:28:07 TRACE nova.service IOError: [Errno 13] Permission denied: '/var/lock/
2012-10-17 14:28:07 TRACE nova.service
2012-10-17 14:28:07 INFO nova.wsgi [-] Stopping WSGI server.
2012-10-17 14:28:07 INFO nova.service [-] Child 117964 exited with status 2
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Rashmi
- Solved:
- Last query:
- Last reply: