Services keystone and glance fail to start due to incorrect log file ownership
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-manuals |
Invalid
|
Undecided
|
Unassigned |
Bug Description
It seems that each time I install certain openstack service(so far only keystone and glance) there seems to be this persistent issue with starting the service caused by the SERVICENAME.log being owned by root group instead of the service specific group.
CentOS 6.5 on virtualbox
arch x64
Openstack-Icehouse
> First instance with keystone service
> http://
# service openstack-keystone start / failed on the first launch, wrongly root ownership assigned
> solution
# chown keystone:keystone /var/log/
# service openstack-keystone stop
# service openstack-keystone start / works
> info
# keystone --version
0.9.0
> Second instance with the glance service
> http://
# service openstack-
# service openstack-
> solution
# chown glance:glance /var/log/
# service openstack-
# service openstack-
> info
# glance --version
0.12.0
Please let me know if I've been omitting something or else I think would be helpful to mention in the docs about
changing log ownership after installing openstack services to avoid troubles.
Thanks!
-------
Built: 2014-07-17T08:09:50 00:00
git SHA: 3144c8b2fabd570
URL: http://
source File: file:/home/
xml:id: glance-install
The doc indicates that the *-manage commands should be run as the service system user to avoid this kind of problems. Make sure that you didn't run these commands as root.