← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1433595] Re: Keystone writes "Access denied" for DB-Connection to its configured logfile

 

** Project changed: keystone => keystone (Ubuntu)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1433595

Title:
  Keystone writes "Access denied" for DB-Connection to its configured
  logfile

Status in keystone package in Ubuntu:
  New

Bug description:
  So my Keystone doesn't work because it can't connect to it's DB,
  understandable.

  But why is its configured logfile empty and the error is only logged
  to stderr*?

  root@hw-ctrl:~# grep log /etc/keystone/logging.conf 
  [loggers]
  [logger_root]
  args=('/var/log/keystone/keystone.log', 'a')
  root@hw-ctrl:~# grep "Access denied" /var/log/upstart/keystone.log | tail -n 1
  2015-03-18 14:31:38.633 9577 TRACE keystone.common.wsgi OperationalError: (OperationalError) (1045, "Access denied for user 'keystone'@'192.168.2.10' (using password: YES)") None None
  root@hw-ctrl:~# grep "Access denied" /var/log/upstart/keystone.log | wc -l
  56
  root@hw-ctrl:~# ls -al /var/log/keystone/
  total 8
  drwx------  2 keystone keystone 4096 Mär 18 12:17 .
  drwxrwxr-x 14 root     syslog   4096 Mär 18 12:17 ..

  *) and thus ends up in /var/log/upstart/keystone.log on Ubuntu

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/keystone/+bug/1433595/+subscriptions


References