← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1711123] Re: Failed to start openstack image service glance (openstack-glance-api.service).

 

What version of the "monotonic" library do you have installed?

What version of glance are you trying to install? Ocata? Pike? You'd
want to follow the appropriate upper-constraints file here:

Ocata: https://github.com/openstack/requirements/blob/stable/ocata
/upper-constraints.txt#L195

Pike: https://github.com/openstack/requirements/blob/stable/pike/upper-
constraints.txt#L463

I'm marking this as incomplete for Glance and removing Nova since this
isn't a Nova bug.

** Changed in: glance
       Status: New => Incomplete

** No longer affects: nova

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1711123

Title:
  Failed to start openstack image service glance (openstack-glance-
  api.service).

Status in Glance:
  Incomplete

Bug description:
  Hi

  I am unable to start openstack-glance-api.service on my machine, I
  have followed OpenStack documentation to the point. Systemctl status
  shows that OpenStack-glance-api.service has failed to start OpenStack
  image service but openstac-glance-registry.service is active(running).

  journalctl -xe shows that

  Aug 16 18:13:22 localhost.localdomain audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=op
  Aug 16 18:13:23 localhost.localdomain glance-api[11143]: Exception AttributeError: "'_SocketDuckForFd' object has no attribute '_closed'" in <bound me
  Aug 16 18:13:23 localhost.localdomain glance-api[11143]: Exception AttributeError: "'_SocketDuckForFd' object has no attribute '_closed'" in <bound me
  Aug 16 18:13:23 localhost.localdomain glance-api[11143]: Exception AttributeError: "'_SocketDuckForFd' object has no attribute '_closed'" in <bound me
  Aug 16 18:13:23 localhost.localdomain glance-api[11143]: Exception AttributeError: "'_SocketDuckForFd' object has no attribute '_closed'" in <bound me
  Aug 16 18:13:23 localhost.localdomain glance-api[11143]: Exception AttributeError: "'_SocketDuckForFd' object has no attribute '_closed'" in <bound me
  Aug 16 18:13:23 localhost.localdomain glance-api[11143]: Exception AttributeError: "'_SocketDuckForFd' object has no attribute '_closed'" in <bound me
  Aug 16 18:13:23 localhost.localdomain glance-api[11143]: Exception AttributeError: "'_SocketDuckForFd' object has no attribute '_closed'" in <bound me
  Aug 16 18:13:23 localhost.localdomain glance-api[11143]: Exception AttributeError: "'_SocketDuckForFd' object has no attribute '_closed'" in <bound me
  Aug 16 18:13:23 localhost.localdomain glance-api[11143]: Exception AttributeError: "'_SocketDuckForFd' object has no attribute '_closed'" in <bound me
  Aug 16 18:13:23 localhost.localdomain glance-api[11143]: Traceback (most recent call last):
  Aug 16 18:13:23 localhost.localdomain glance-api[11143]:   File "/usr/bin/glance-api", line 6, in <module>
  Aug 16 18:13:23 localhost.localdomain glance-api[11143]:     from glance.cmd.api import main
  Aug 16 18:13:23 localhost.localdomain glance-api[11143]:   File "/usr/lib/python2.7/site-packages/glance/cmd/api.py", line 45, in <module>
  Aug 16 18:13:23 localhost.localdomain glance-api[11143]:     from oslo_log import log as logging
  Aug 16 18:13:23 localhost.localdomain glance-api[11143]:   File "/usr/lib/python2.7/site-packages/oslo_log/log.py", line 49, in <module>
  Aug 16 18:13:23 localhost.localdomain glance-api[11143]:     from oslo_log import formatters
  Aug 16 18:13:23 localhost.localdomain glance-api[11143]:   File "/usr/lib/python2.7/site-packages/oslo_log/formatters.py", line 28, in <module>
  Aug 16 18:13:23 localhost.localdomain glance-api[11143]:     from oslo_serialization import jsonutils
  Aug 16 18:13:23 localhost.localdomain glance-api[11143]:   File "/usr/lib/python2.7/site-packages/oslo_serialization/jsonutils.py", line 42, in <modul
  Aug 16 18:13:23 localhost.localdomain glance-api[11143]:     from oslo_utils import timeutils
  Aug 16 18:13:23 localhost.localdomain glance-api[11143]:   File "/usr/lib/python2.7/site-packages/oslo_utils/timeutils.py", line 27, in <module>
  Aug 16 18:13:23 localhost.localdomain glance-api[11143]:     from monotonic import monotonic as now  # noqa
  Aug 16 18:13:23 localhost.localdomain glance-api[11143]:   File "/usr/lib/python2.7/site-packages/monotonic.py", line 169, in <module>
  Aug 16 18:13:23 localhost.localdomain glance-api[11143]:     raise RuntimeError('no suitable implementation for this system')
  Aug 16 18:13:23 localhost.localdomain glance-api[11143]: RuntimeError: no suitable implementation for this system

  openstack-glance-api.service starts running but it fails after running
  command:

  ```
  $ openstack image create "cirros" \
    --file cirros-0.3.5-x86_64-disk.img \
    --disk-format qcow2 --container-format bare \
    --public
  ```

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


References