** Also affects: glance (Ubuntu)
   Importance: Undecided
       Status: New

-- 
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):
  New
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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to