← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1470087] [NEW] stop glance-api service will raise exception

 

Public bug reported:

1. In redhat system,  run systemctl stop  openstack-glance-api.service  will stop glance API service .
2. after step 1, the glance api log as follow:
2015-06-18 08:58:47.538 11453 CRITICAL glance [-] OSError: [Errno 38] Function not implemented
2015-06-18 08:58:47.538 11453 TRACE glance Traceback (most recent call last):
2015-06-18 08:58:47.538 11453 TRACE glance   File "/usr/bin/glance-api", line 10, in <module>
2015-06-18 08:58:47.538 11453 TRACE glance     sys.exit(main())
2015-06-18 08:58:47.538 11453 TRACE glance   File "/usr/lib/python2.7/site-packages/glance/cmd/api.py", line 90, in main
2015-06-18 08:58:47.538 11453 TRACE glance     server.wait()
2015-06-18 08:58:47.538 11453 TRACE glance   File "/usr/lib/python2.7/site-packages/glance/common/wsgi.py", line 406, in wait
2015-06-18 08:58:47.538 11453 TRACE glance     self.wait_on_children()
2015-06-18 08:58:47.538 11453 TRACE glance   File "/usr/lib/python2.7/site-packages/glance/common/wsgi.py", line 345, in wait_on_children
2015-06-18 08:58:47.538 11453 TRACE glance     pid, status = os.wait()
2015-06-18 08:58:47.538 11453 TRACE glance   File "/usr/lib/python2.7/site-packages/eventlet/green/os.py", line 78, in wait
2015-06-18 08:58:47.538 11453 TRACE glance     return waitpid(0, 0)
2015-06-18 08:58:47.538 11453 TRACE glance   File "/usr/lib/python2.7/site-packages/eventlet/green/os.py", line 96, in waitpid
2015-06-18 08:58:47.538 11453 TRACE glance     greenthread.sleep(0.01)
2015-06-18 08:58:47.538 11453 TRACE glance   File "/usr/lib/python2.7/site-packages/eventlet/greenthread.py", line 34, in sleep
2015-06-18 08:58:47.538 11453 TRACE glance     hub.switch()
2015-06-18 08:58:47.538 11453 TRACE glance   File "/usr/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 294, in switch
2015-06-18 08:58:47.538 11453 TRACE glance     return self.greenlet.switch()
2015-06-18 08:58:47.538 11453 TRACE glance   File "/usr/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 346, in run
2015-06-18 08:58:47.538 11453 TRACE glance     self.wait(sleep_time)
2015-06-18 08:58:47.538 11453 TRACE glance   File "/usr/lib/python2.7/site-packages/eventlet/hubs/poll.py", line 82, in wait
2015-06-18 08:58:47.538 11453 TRACE glance     sleep(seconds)
2015-06-18 08:58:47.538 11453 TRACE glance   File "/usr/lib/python2.7/site-packages/glance/common/wsgi.py", line 287, in kill_children
2015-06-18 08:58:47.538 11453 TRACE glance     os.killpg(self.pgid, signal.SIGTERM)
2015-06-18 08:58:47.538 11453 TRACE glance OSError: [Errno 38] Function not implemented
2015-06-18 08:58:47.538 11453 TRACE glance 

3.I use icehouse2014.1.3 version, but I review code in K version, this
issue is also present

** Affects: glance
     Importance: Undecided
         Status: New

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

Title:
  stop glance-api service will raise exception

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  1. In redhat system,  run systemctl stop  openstack-glance-api.service  will stop glance API service .
  2. after step 1, the glance api log as follow:
  2015-06-18 08:58:47.538 11453 CRITICAL glance [-] OSError: [Errno 38] Function not implemented
  2015-06-18 08:58:47.538 11453 TRACE glance Traceback (most recent call last):
  2015-06-18 08:58:47.538 11453 TRACE glance   File "/usr/bin/glance-api", line 10, in <module>
  2015-06-18 08:58:47.538 11453 TRACE glance     sys.exit(main())
  2015-06-18 08:58:47.538 11453 TRACE glance   File "/usr/lib/python2.7/site-packages/glance/cmd/api.py", line 90, in main
  2015-06-18 08:58:47.538 11453 TRACE glance     server.wait()
  2015-06-18 08:58:47.538 11453 TRACE glance   File "/usr/lib/python2.7/site-packages/glance/common/wsgi.py", line 406, in wait
  2015-06-18 08:58:47.538 11453 TRACE glance     self.wait_on_children()
  2015-06-18 08:58:47.538 11453 TRACE glance   File "/usr/lib/python2.7/site-packages/glance/common/wsgi.py", line 345, in wait_on_children
  2015-06-18 08:58:47.538 11453 TRACE glance     pid, status = os.wait()
  2015-06-18 08:58:47.538 11453 TRACE glance   File "/usr/lib/python2.7/site-packages/eventlet/green/os.py", line 78, in wait
  2015-06-18 08:58:47.538 11453 TRACE glance     return waitpid(0, 0)
  2015-06-18 08:58:47.538 11453 TRACE glance   File "/usr/lib/python2.7/site-packages/eventlet/green/os.py", line 96, in waitpid
  2015-06-18 08:58:47.538 11453 TRACE glance     greenthread.sleep(0.01)
  2015-06-18 08:58:47.538 11453 TRACE glance   File "/usr/lib/python2.7/site-packages/eventlet/greenthread.py", line 34, in sleep
  2015-06-18 08:58:47.538 11453 TRACE glance     hub.switch()
  2015-06-18 08:58:47.538 11453 TRACE glance   File "/usr/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 294, in switch
  2015-06-18 08:58:47.538 11453 TRACE glance     return self.greenlet.switch()
  2015-06-18 08:58:47.538 11453 TRACE glance   File "/usr/lib/python2.7/site-packages/eventlet/hubs/hub.py", line 346, in run
  2015-06-18 08:58:47.538 11453 TRACE glance     self.wait(sleep_time)
  2015-06-18 08:58:47.538 11453 TRACE glance   File "/usr/lib/python2.7/site-packages/eventlet/hubs/poll.py", line 82, in wait
  2015-06-18 08:58:47.538 11453 TRACE glance     sleep(seconds)
  2015-06-18 08:58:47.538 11453 TRACE glance   File "/usr/lib/python2.7/site-packages/glance/common/wsgi.py", line 287, in kill_children
  2015-06-18 08:58:47.538 11453 TRACE glance     os.killpg(self.pgid, signal.SIGTERM)
  2015-06-18 08:58:47.538 11453 TRACE glance OSError: [Errno 38] Function not implemented
  2015-06-18 08:58:47.538 11453 TRACE glance 

  3.I use icehouse2014.1.3 version, but I review code in K version, this
  issue is also present

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


Follow ups

References