← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1712449] Re: Unexpected API Error with 'openstack server list'

 

Seems the system you're running OpenStack on is too small, or you're
running too many worker processes, or you're ulimit is too low, etc.
It's some other configuration issue, so this isn't a nova bug.

** Changed in: nova
       Status: New => Opinion

** Changed in: nova
       Status: Opinion => Invalid

-- 
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/1712449

Title:
  Unexpected API Error with 'openstack server list'

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  Installed packstack mitaka version
  After instantiating of the VM, executing 'openstack server list' is failed. Below is the output
  ---
  [(keystone_admin)]# openstack server list
  Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'oslo_db.exception.DBError'> (HTTP 500) (Request-ID: req-a4ba26bf-7f3f-44c6-af13-4c08e432e1ed)
  [root@sinukoti-osp 3_0_0_221(keystone_admin)]# openstack server list
  Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'oslo_db.exception.DBError'> (HTTP 500) (Request-ID: req-c6f2b27b-c6e7-42a8-99d0-5d95fdaf7635)
  ---
  Subsequent 'openstack server list' command hangs the term.. (no output)

  openstack server list

  ^CTraceback (most recent call last):
    File "/usr/bin/openstack", line 10, in <module>
      sys.exit(main())
    File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 211, in main
      return OpenStackShell().run(argv)
    File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 135, in run
      ret_val = super(OpenStackShell, self).run(argv)
    File "/usr/lib/python2.7/site-packages/cliff/app.py", line 279, in run
      result = self.run_subcommand(remainder)
    File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 180, in run_subcommand
      ret_value = super(OpenStackShell, self).run_subcommand(argv)
    File "/usr/lib/python2.7/site-packages/cliff/app.py", line 400, in run_subcommand
      result = cmd.run(parsed_args)
    File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
      return super(Command, self).run(parsed_args)
    File "/usr/lib/python2.7/site-packages/cliff/display.py", line 112, in run
      column_names, data = self.take_action(parsed_args)
    File "/usr/lib/python2.7/site-packages/openstackclient/compute/v2/server.py", line 947, in take_action
      limit=parsed_args.limit)
    File "/usr/lib/python2.7/site-packages/novaclient/v2/servers.py", line 861, in list
      "servers")
    File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 254, in _list
      resp, body = self.api.client.get(url)
    File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 217, in get
      return self.request(url, 'GET', **kwargs)
    File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 74, in request
      **kwargs)
    File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 374, in request
      resp = super(LegacyJsonAdapter, self).request(*args, **kwargs)
    File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 142, in request
      return self.session.request(url, method, **kwargs)
    File "/usr/lib/python2.7/site-packages/osc_lib/session.py", line 40, in request
      resp = super(TimingSession, self).request(url, method, **kwargs)
    File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner
      return wrapped(*args, **kwargs)
    File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 616, in request
      resp = send(**kwargs)
    File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 674, in _send_request
      resp = self.session.request(method, url, **kwargs)
    File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 475, in request
      resp = self.send(prep, **send_kwargs)
    File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 596, in send
      r = adapter.send(request, **kwargs)
    File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 423, in send
      timeout=timeout
    File "/usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 595, in urlopen
      chunked=chunked)
    File "/usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py", line 386, in _make_request
      httplib_response = conn.getresponse(buffering=True)
    File "/usr/lib64/python2.7/httplib.py", line 1089, in getresponse
      response.begin()
    File "/usr/lib64/python2.7/httplib.py", line 444, in begin
      version, status, reason = self._read_status()
    File "/usr/lib64/python2.7/httplib.py", line 400, in _read_status
      line = self.fp.readline(_MAXLINE + 1)
    File "/usr/lib64/python2.7/socket.py", line 476, in readline
      data = self._sock.recv(self._rbufsize)
  KeyboardInterrupt

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


References