yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #18419
[Bug 1307346] Re: Directory /var/lib/glance not owned by "glance" user
*** This bug is a duplicate of bug 1302044 ***
https://bugs.launchpad.net/bugs/1302044
Hi Thiago
I think this was fixed in:
glance (1:2014.1~rc2-0ubuntu1) trusty; urgency=medium
[ Chuck Short ]
* New upstream release candidate (LP: #1299055).
* debian/patches/sql_conn.patch: Refreshed.
* debian/glance-api.install: Install missing schema.json file.
(LP: #1307518)
[ Thomas Bechtold ]
* debian/glance-common.postinst: Set correct owner/group for /var/lib/glance
and subdirs only on local filesystems (LP: #1302044).
So this is a dupe of bug 1302044
** Changed in: glance
Status: New => Invalid
** This bug has been marked a duplicate of bug 1302044
permissions on /var/lib/glance/image* are wrong
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1307346
Title:
Directory /var/lib/glance not owned by "glance" user
Status in OpenStack Image Registry and Delivery Service (Glance):
Invalid
Status in “glance” package in Ubuntu:
New
Bug description:
Gusy,
Glance packages from Ubuntu 14.04 have wrong permissions on
/var/lib/glance, look:
---
root@controller:~# ll /var/lib/glance/
total 60
drwxr-xr-x 4 glance glance 4096 Apr 14 01:06 ./
drwxr-xr-x 40 root root 4096 Apr 14 04:47 ../
-rw-r--r-- 1 glance glance 37888 Apr 14 01:06 glance.sqlite
drwxr-xr-x 5 root root 4096 Apr 14 01:05 image-cache/
drwxr-xr-x 2 root root 4096 Apr 2 10:40 images/
---
This triggers an error:
---
2014-04-14 04:52:59.475 973 WARNING glance.store.base [4f6aa565-e15e-4201-bb24-417add066796 - - - - -] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Permission to write in /var/lib/glance/images/ denied Disabling add method.
---
To fix it, I just did:
---
root@controller:~# chown glance: /var/lib/glance -R
---
Cheers!
Thiago
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1307346/+subscriptions
References