Glance Error: image-cache/image-cache permission denied
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Matthew Mosesohn |
Bug Description
build_id": "2014-02-
"mirantis": "yes",
"build_number": "181",
"nailgun_sha": "f786786894acc3
"ostf_sha": "b8f16a0288cbf3
"fuelmain_sha": "9a8f918f0f5113
"astute_sha": "3d43abeefb6067
"release": "4.1",
"fuellib_sha": "e3ea44c3b607f3
1. Create new environment (Ubuntu, HA mode)
2. Choose Neutron VLAN segmentation
3. Add 3 controllers, 1 compute and 1 cinder
4. Start deployment. It will be successful.
5. Run OSTF tests. Some test will fail including "Check that required services are running" and "Launch instance"
6. Go to controller node and run "nova-manage service list". You'll see some services on one of controllers are not started:
root@node-
Binary Host Zone Status State Updated_At
nova-consoleauth node-3 internal enabled XXX 2014-02-24 17:45:32
nova-cert node-3 internal enabled XXX 2014-02-24 17:45:31
nova-scheduler node-3 internal enabled XXX 2014-02-24 17:45:23
nova-conductor node-3 internal enabled XXX 2014-02-24 17:45:32
You'll also see an error in glance-all.log on that node:
<147>Feb 24 15:37:53 node-3 <U+FEFF>
...
<147>Feb 24 16:46:16 node-3 <U+FEFF>
Traceback (most recent call last):
File "/usr/lib/
with self.driver.
File "/usr/lib/
return self.gen.next()
File "/usr/lib/
with open(incomplete
IOError: [Errno 13] Permission denied: '/var/lib/
Changed in fuel: | |
importance: | Undecided → High |
Changed in fuel: | |
assignee: | Fuel Library Team (fuel-library) → Matthew Mosesohn (raytrac3r) |
status: | New → In Progress |
Changed in fuel: | |
status: | In Progress → Fix Committed |
I can reproduce, but all nodes are functional. TestVM added with no problem.
/var/lib/ glance/ image-cache is owned by glance:glance, but its subdirectories are owned by root/root
I can't reproduce the issue, but it looks like it should be fixed in the Ubuntu package. I submitted a request to OSCI.
I'll submit a fix for the glance API settings to add the filesystem_ store_data setting to Glance API (it's necessary in both API conf and cache conf).