[PKG-Openstack-devel] Bug#770706: Bug#770706: Bug#770706: Bug#770706: Bug#770706: keystone.service does not start, /var/run/keystone not created

Mikaël Cluseau mcluseau at isi.nc
Sat Dec 6 01:53:18 UTC 2014


Hi,

On 12/06/2014 03:14 AM, Gaudenz Steinlin wrote:
> I'm not sure if I understand your concerns.

I think it is the difference between

  * having one distribution-managed configuration file per daemon (like
    in /usr/share/<project>/<daemon>.conf) containing the default log
    file, meaning 58 configuration files (see the list at the end)
  * versus having it computed in the init-script instead
    (LOGFILE=/var/log/${PROJECT_NAME}/${NAME}.log)

I'm more inclined to have it explicitly put anyway because 58 files is 
not that much, but as a developper too I can understand the problem that 
it is a defactorised form. Maybe the best thing to do would be to allow 
some templating in OpenStack configurations themselves.

Also note that using a small shell wrapper could be an idea too, as 
systemd doesn't go against using shell scripts to launch service: it 
simply enables us to avoid running (maybe 1ms?). The shell wrapper could 
be generic and take 2 arguments : the project name and the daemon name. 
This would allow us to avoid init-script when sysv init is not in use, 
and using only one script means the system doesn't have to load many 
files (it will be cached when the first openstack daemon is started).

List of configuration files required to manage the "one logfile per 
daemon" logic, exclude /usr/share prefix:

ceilometer/ceilometer-agent-central.conf
ceilometer/ceilometer-agent-compute.conf
ceilometer/ceilometer-agent-notification.conf
ceilometer/ceilometer-alarm-evaluator.conf
ceilometer/ceilometer-alarm-notifier.conf
ceilometer/ceilometer-api.conf
ceilometer/ceilometer-collector.conf
cinder/cinder-api.conf
cinder/cinder-backup.conf
cinder/cinder-scheduler.conf
cinder/cinder-volume.conf
designate/designate-agent.conf
designate/designate-api.conf
designate/designate-central.conf
designate/designate-sink.conf
fuel-astute/astute.conf
fuel-nailgun/nailgun-api.conf
fuel-nailgun/nailgun-assassin.conf
fuel-nailgun/nailgun-reciever.conf
glance/glance-api.conf
glance/glance-registry.conf
heat/heat-api-cfn.conf
heat/heat-api-cloudwatch.conf
heat/heat-api.conf
heat/heat-engine.conf
ironic/ironic-api.conf
ironic/ironic-conductor.conf
keystone/keystone.conf*
murano-agent/murano-agent.conf
murano/murano-api.conf
murano/murano-engine.conf
neutron/neutron-dhcp-agent.conf
neutron/neutron-l3-agent.conf
neutron/neutron-lbaas-agent.conf
neutron/neutron-metadata-agent.conf
neutron/neutron-metering-agent.conf
neutron/neutron-plugin-linuxbridge-agent.conf
neutron/neutron-plugin-openvswitch-agent.conf
neutron/neutron-server.conf
neutron/neutron-vpn-agent.conf
nova/nova-api.conf
nova/nova-baremetal.conf
nova/nova-cells.conf
nova/nova-cert.conf
nova/nova-compute.conf
nova/nova-conductor.conf
nova/nova-consoleauth.conf
nova/nova-console.conf
nova/nova-consoleproxy.nova-novncproxy.conf
nova/nova-consoleproxy.nova-serialproxy.conf
nova/nova-consoleproxy.nova-spicehtml5proxy.conf
nova/nova-consoleproxy.nova-xenvncproxy.conf
nova/nova-network.conf
nova/nova-scheduler.conf
sahara/sahara.conf
tuskar/tuskar-api.conf
tuskar/tuskar-manager.conf
zuul/zuul-server.conf

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/openstack-devel/attachments/20141206/9d713f3b/attachment-0001.html>


More information about the Openstack-devel mailing list