← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1546742] Re: Unable to create an instance

 

It doesn't look like a bug in Neutron but it seems that something is
misconfigured/not working properly in your cloud

** Changed in: neutron
       Status: New => Invalid

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

Title:
  Unable to create an instance

Status in neutron:
  Invalid

Bug description:
  I am trying to create an instance from command line.

  System requirements:
  OS: CentOS 7
  Openstack Liberty

  Reproduce a bug:
  openstack server create --debug --flavor m1.tiny --image 97836f02-2059-40a8-99ba-1730e97aa101 --nic net-id=256eea0b-06fe-49a0-880d-6ecc8afeff5a --security-group default --key-name vladf public-instance

  Program output:
  Instantiating network client: <class 'neutronclient.v2_0.client.Client'>
  Instantiating network api: <class 'neutronclient.v2_0.client.Client'>
  REQ: curl -g -i -X GET http://controller:9696/v2.0/networks.json?fields=id&name=256eea0b-06fe-49a0-880d-6ecc8afeff5a -H "User-Agent: python-neutronclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}c153a4df19fb8e5fb095ea656a8dabbe26d88e13"
  RESP: [503] date: Wed, 17 Feb 2016 22:04:50 GMT connection: keep-alive content-type: text/plain; charset=UTF-8 content-length: 100 x-openstack-request-id: req-72933065-8db0-4dd4-af82-4a529cd08e90
  RESP BODY: 503 Service Unavailable

  The server is currently unavailable. Please try again at a later time.


  Error message: 503 Service Unavailable

  The server is currently unavailable. Please try again at a later time.

  
  503 Service Unavailable

  The server is currently unavailable. Please try again at a later time.

  
  Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/cliff/app.py", line 374, in run_subcommand
      result = cmd.run(parsed_args)
    File "/usr/lib/python2.7/site-packages/cliff/display.py", line 92, in run
      column_names, data = self.take_action(parsed_args)
    File "/usr/lib/python2.7/site-packages/openstackclient/common/utils.py", line 45, in wrapper
      return func(self, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/openstackclient/compute/v2/server.py", line 452, in take_action
      nic_info["net-id"])
    File "/usr/lib/python2.7/site-packages/openstackclient/network/common.py", line 32, in find
      data = list_method(**kwargs)
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 102, in with_params
      ret = self.function(instance, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 574, in list_networks
      **_params)
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 307, in list
      for r in self._pagination(collection, path, **params):
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 320, in _pagination
      res = self.get(path, params=params)
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 293, in get
      headers=headers, params=params)
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 270, in retry_request
      headers=headers, params=params)
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 211, in do_request
      self._handle_fault_response(status_code, replybody)
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 185, in _handle_fault_response
      exception_handler_v20(status_code, des_error_body)
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 83, in exception_handler_v20
      message=message)
  NeutronClientException: 503 Service Unavailable

  The server is currently unavailable. Please try again at a later time.

  
  clean_up CreateServer: 503 Service Unavailable

  The server is currently unavailable. Please try again at a later time.

  
  Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 112, in run
      ret_val = super(OpenStackShell, self).run(argv)
    File "/usr/lib/python2.7/site-packages/cliff/app.py", line 255, in run
      result = self.run_subcommand(remainder)
    File "/usr/lib/python2.7/site-packages/cliff/app.py", line 374, in run_subcommand
      result = cmd.run(parsed_args)
    File "/usr/lib/python2.7/site-packages/cliff/display.py", line 92, in run
      column_names, data = self.take_action(parsed_args)
    File "/usr/lib/python2.7/site-packages/openstackclient/common/utils.py", line 45, in wrapper
      return func(self, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/openstackclient/compute/v2/server.py", line 452, in take_action
      nic_info["net-id"])
    File "/usr/lib/python2.7/site-packages/openstackclient/network/common.py", line 32, in find
      data = list_method(**kwargs)
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 102, in with_params
      ret = self.function(instance, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 574, in list_networks
      **_params)
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 307, in list
      for r in self._pagination(collection, path, **params):
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 320, in _pagination
      res = self.get(path, params=params)
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 293, in get
      headers=headers, params=params)
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 270, in retry_request
      headers=headers, params=params)
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 211, in do_request
      self._handle_fault_response(status_code, replybody)
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 185, in _handle_fault_response
      exception_handler_v20(status_code, des_error_body)
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 83, in exception_handler_v20
      message=message)
  NeutronClientException: 503 Service Unavailable

  The server is currently unavailable. Please try again at a later time.

  END return value: 1

  =========> neutron/server.log <=========
  2016-02-17 17:04:49.954 11678 INFO neutron.wsgi [-] (11678) accepted ('192.168.2.50', 52005)
  2016-02-17 17:04:49.958 11678 DEBUG keystoneclient.session [-] REQ: curl -g -i -X GET https://127.0.0.1:35357 -H "Accept: application/json"
  -H "User-Agent: neutron/7.0.1 keystonemiddleware.auth_token/2.3.1" _http_log_request /usr/lib/python2.7/site-packages/keystoneclient/session
  .py:198
  2016-02-17 17:04:50.004 11678 CRITICAL keystonemiddleware.auth_token [-] Unable to validate token: SSL exception connecting to https://127.0
  .0.1:35357: [SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:765)
  2016-02-17 17:04:50.005 11678 INFO neutron.wsgi [-] 192.168.2.50 - - [17/Feb/2016 17:04:50] "GET /v2.0/networks.json?fields=id&name=256eea0b
  -06fe-49a0-880d-6ecc8afeff5a HTTP/1.1" 503 325 0.049828

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


References