permissions on /var/lib/glance/image* are wrong
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-manuals |
Fix Released
|
High
|
Unassigned | ||
glance (Ubuntu) |
Fix Released
|
Critical
|
Chuck Short | ||
Trusty |
Fix Released
|
Critical
|
Chuck Short |
Bug Description
/var/lib/
The current packaging leaves them as this after the postinst:
ls -l /var/lib/glance/
total 52
-rw-r--r-- 1 glance glance 37888 Apr 3 14:30 glance.sqlite
drwxr-xr-x 5 root root 4096 Apr 3 14:30 image-cache
drwxr-xr-x 2 root root 4096 Apr 3 14:06 images
which causes the glance service to fail when using local filestores:
image-cache error:
2014-04-03 15:30:02.108 27128 ERROR glance.
2014-04-03 15:30:02.109 27128 WARNING glance.image_cache [-] Image cache driver 'glance.
2014-04-03 15:30:02.110 27128 ERROR glance.
2014-04-03 15:30:02.110 27128 CRITICAL glance [-] BadDriverConfig
api error:
2014-04-03 15:52:07.522 32673 TRACE glance.
2014-04-03 15:52:07.522 32673 TRACE glance.
2014-04-03 15:52:07.522 32673 WARNING glance.store.base [576d9069-
See also Bug #1214947 -- which introduced this bug by removing recursive chown instead of just restricting the chown to applicable directories
Related branches
- James Page: Approve
-
Diff: 43 lines (+9/-1)3 files modifieddebian/changelog (+7/-0)
debian/glance-api.install (+1/-0)
debian/glance-common.postinst (+1/-1)
Changed in glance (Ubuntu Trusty): | |
importance: | Undecided → Critical |
status: | Confirmed → Triaged |
assignee: | nobody → Chuck Short (zulcss) |
Changed in glance (Ubuntu Trusty): | |
status: | Triaged → In Progress |
Changed in openstack-manuals: | |
status: | New → Fix Released |
importance: | Undecided → Medium |
importance: | Medium → High |
milestone: | none → icehouse |
Which version is this with?