You have been subscribed to a public bug:

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

** Affects: keystone (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Keystone writes "Access denied" for DB-Connection to its configured logfile
https://bugs.launchpad.net/bugs/1433595
You received this bug notification because you are a member of Ubuntu Server 
Team, which is subscribed to keystone in Ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to