← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1331215] Re: AttachInterfacesTestXML.test_add_remove_fixed_ip BadRequest

 

The proximate cause of these errors is that at the time this bug was
reported, we tried to grab the console in an erroneous way that causes a
400. This issue was fixed and I would just close this as another random
"server failed to boot" issue except that right before the failed server
create, there are a lot of errors in the nova cpu log:

http://logs.openstack.org/93/99393/4/check/check-tempest-dsvm-
neutron/1392e22/logs/screen-n-cpu.txt.gz?level=ERROR

I tried to search for some of these errors but many normal runs produce
them as well. So I am opening this to nova in case there is meaning in
these errors that a nova expert can see.

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

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

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

Title:
  AttachInterfacesTestXML.test_add_remove_fixed_ip  BadRequest

Status in OpenStack Compute (Nova):
  New
Status in Tempest:
  Invalid

Bug description:
  This looks to be a new bug, see
  http://logs.openstack.org/93/99393/4/check/check-tempest-dsvm-
  neutron/1392e22/console.html

  2014-06-17 19:47:54.665 | 
  2014-06-17 19:47:54.665 | ==============================
  2014-06-17 19:47:54.665 | Failed 3 tests - output below:
  2014-06-17 19:47:54.665 | ==============================
  2014-06-17 19:47:54.665 | 
  2014-06-17 19:47:54.665 | tempest.api.compute.servers.test_attach_interfaces.AttachInterfacesTestXML.test_add_remove_fixed_ip[gate,smoke]
  2014-06-17 19:47:54.665 | ---------------------------------------------------------------------------------------------------------------
  2014-06-17 19:47:54.665 | 
  2014-06-17 19:47:54.665 | Captured traceback:
  2014-06-17 19:47:54.665 | ~~~~~~~~~~~~~~~~~~~
  2014-06-17 19:47:54.665 |     Traceback (most recent call last):
  2014-06-17 19:47:54.666 |       File "tempest/api/compute/servers/test_attach_interfaces.py", line 133, in test_add_remove_fixed_ip
  2014-06-17 19:47:54.666 |         server, ifs = self._create_server_get_interfaces()
  2014-06-17 19:47:54.666 |       File "tempest/api/compute/servers/test_attach_interfaces.py", line 48, in _create_server_get_interfaces
  2014-06-17 19:47:54.666 |         resp, server = self.create_test_server(wait_until='ACTIVE')
  2014-06-17 19:47:54.666 |       File "tempest/api/compute/base.py", line 247, in create_test_server
  2014-06-17 19:47:54.666 |         raise ex
  2014-06-17 19:47:54.666 |     BadRequest: Bad request
  2014-06-17 19:47:54.666 |     Details: {'message': 'The server could not comply with the request since it is either malformed or otherwise incorrect.', 'code': '400'}
  2014-06-17 19:47:54.666 |     
  2014-06-17 19:47:54.666 | 
  2014-06-17 19:47:54.666 | Captured pythonlogging:
  2014-06-17 19:47:54.666 | ~~~~~~~~~~~~~~~~~~~~~~~
  2014-06-17 19:47:54.667 |     2014-06-17 19:15:13,993 Request (AttachInterfacesTestXML:test_add_remove_fixed_ip): 200 POST http://127.0.0.1:5000/v2.0/tokens
  2014-06-17 19:47:54.667 |     2014-06-17 19:15:14,431 Request (AttachInterfacesTestXML:test_add_remove_fixed_ip): 202 POST http://127.0.0.1:8774/v2/97b84e38f795456d8c63a64526f8e8b5/servers 0.437s
  2014-06-17 19:47:54.667 |     2014-06-17 19:15:14,534 Request (AttachInterfacesTestXML:test_add_remove_fixed_ip): 200 GET http://127.0.0.1:8774/v2/97b84e38f795456d8c63a64526f8e8b5/servers/94bb0663-1b9e-4098-bedf-9c7d4fc6f8c9 0.101s
  2014-06-17 19:47:54.667 |     2014-06-17 19:15:15,663 Request (AttachInterfacesTestXML:test_add_remove_fixed_ip): 200 GET http://127.0.0.1:8774/v2/97b84e38f795456d8c63a64526f8e8b5/servers/94bb0663-1b9e-4098-bedf-9c7d4fc6f8c9 0.126s
  2014-06-17 19:47:54.667 |     2014-06-17 19:15:15,665 State transition "BUILD/scheduling" ==> "ERROR/None" after 1 second wait
  2014-06-17 19:47:54.667 |     2014-06-17 19:15:15,782 Request (AttachInterfacesTestXML:test_add_remove_fixed_ip): 400 POST http://127.0.0.1:8774/v2/97b84e38f795456d8c63a64526f8e8b5/servers/94bb0663-1b9e-4098-bedf-9c7d4fc6f8c9/action 0.116s
  2014-06-17 19:47:54.667 |     2014-06-17 19:15:16,103 Request (AttachInterfacesTestXML:test_add_remove_fixed_ip): 204 DELETE http://127.0.0.1:8774/v2/97b84e38f795456d8c63a64526f8e8b5/servers/94bb0663-1b9e-4098-bedf-9c7d4fc6f8c9 0.320s
  2014-06-17 19:47:54.667 |     
  2014-06-17 19:47:54.667 | 
  2014-06-17 19:47:54.667 | tempest.api.compute.servers.test_attach_interfaces.AttachInterfacesTestXML.test_create_list_show_delete_interfaces[gate,smoke]
  2014-06-17 19:47:54.667 | ------------------------------------------------------------------------------------------------------------------------------
  2014-06-17 19:47:54.668 | 
  2014-06-17 19:47:54.668 | Captured traceback:
  2014-06-17 19:47:54.668 | ~~~~~~~~~~~~~~~~~~~
  2014-06-17 19:47:54.668 |     Traceback (most recent call last):
  2014-06-17 19:47:54.668 |       File "tempest/api/compute/servers/test_attach_interfaces.py", line 111, in test_create_list_show_delete_interfaces
  2014-06-17 19:47:54.668 |         server, ifs = self._create_server_get_interfaces()
  2014-06-17 19:47:54.668 |       File "tempest/api/compute/servers/test_attach_interfaces.py", line 48, in _create_server_get_interfaces
  2014-06-17 19:47:54.668 |         resp, server = self.create_test_server(wait_until='ACTIVE')
  2014-06-17 19:47:54.668 |       File "tempest/api/compute/base.py", line 247, in create_test_server
  2014-06-17 19:47:54.668 |         raise ex
  2014-06-17 19:47:54.668 |     BadRequest: Bad request
  2014-06-17 19:47:54.668 |     Details: {'message': 'The server could not comply with the request since it is either malformed or otherwise incorrect.', 'code': '400'}

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