← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 980037] Re: Service managers starting keystone-all don't know when its ready

 

** Also affects: neutron
   Importance: Undecided
       Status: New

** Changed in: neutron
     Assignee: (unassigned) => Jakub Libosvar (libosvar)

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

Title:
  Service managers starting keystone-all don't know when its ready

Status in OpenStack Identity (Keystone):
  Fix Released
Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  If starting keystone-all with a Service Manager (systemd for example),
  keystone has no way of reporting back to systemd that it is ready to
  serve http requests and as a result its possible for systemd to return
  before keystone is ready.

  For example on Fedora 
  where the systemd  process start-up type is set to simple (i.e. just start the process and return)

  > /bin/systemctl stop openstack-keystone.service ; /bin/systemctl start openstack-keystone.service ; /usr/bin/keystone --token keystone_admin_token --endpoint http://127.0.0.1:35357/v2.0/ service-list
  Unable to communicate with identity service: 'NoneType' object has no attribute 'makefile'. (HTTP 400)

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