← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1679223] [NEW] tempest.api.compute.servers.test_server_tags.ServerTagsTestJSON fail on centos7 nodes

 

Public bug reported:

Description
===========
These tempest test cases fail on centos7 nodes:
    test_server_tags.ServerTagsTestJSON.test_create_delete_tag
    test_server_tags.ServerTagsTestJSON.test_delete_all_tags
    test_server_tags.ServerTagsTestJSON.test_update_all_tags
    test_server_tags.ServerTagsTestJSON.test_check_tag_existence

http://logstash.openstack.org/#/dashboard/file/logstash.json?from=7d&query=message:%5C%22Malformed%20request%20body%5C%22


Steps to reproduce
==================
See any test run of the 3rd party CI "IBM zKVM CI" after the last successful run from 2017-03-30T06:22:14:
http://ci-watch.tintri.com/project?project=nova&time=7+days


Expected result
===============
The server tagging functionality tests should work since they got introduced with https://github.com/openstack/tempest/commit/7c95befefb7db27296114f87cf49e8f2b8f43a59


Actual result
=============

As an example:

    [tempest.lib.common.rest_client] 
    Request (ServerTagsTestJSON:test_check_tag_existence): 
    400 PUT https://15.184.67.250:8774/v2.1/servers/b56af78e-d406-4858-9509-473863275223/tags/tempest-tag-151463324

    [tempest.lib.common.rest_client] 
    Request - Headers: 
    {'Content-Type': 'application/json', 'Accept': 'application/json', 
    'X-OpenStack-Nova-API-Version': '2.26', 'X-Auth-Token': '<omitted>'}
     Body: None

    Response - Headers: {'status': '400', u'content-length': '66', 
    u'server': 'Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_wsgi/3.4 Python/2.7.5',
    u'date': 'Mon, 03 Apr 2017 10:15:12 GMT', 
    u'x-openstack-nova-api-version': '2.26', 
    u'x-compute-request-id': 'req-1f8726fc-df20-4592-a214-cff3fa73c8e6', 
    u'content-type': 'application/json; charset=UTF-8', 
    content-location': 'https://15.184.67.250:8774/v2.1/servers/b56af78e-d406-4858-9509-473863275223/tags/tempest-tag-151463324', 
    u'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 
    u'openstack-api-version': 'compute 2.26', 
    u'connection': 'close'}
    Body: {"badRequest": {"message": "Malformed request body", "code": 400}}

Traceback: http://paste.openstack.org/show/605262/


Environment
===========
This happens in various gate test jobs. The common theme is that the build
node is centos7 based. 
Logstash query: http://logstash.openstack.org/#/dashboard/file/logstash.json?from=7d&query=message:%5C%22Malformed%20request%20body%5C%22

You can also see this constantly on the centos based 3rd party CI "IBM zKVM CI":
https://review.openstack.org/#/q/reviewer:%22IBM+zKVM+CI%22

Logs & Configs
==============
See any test run of the 3rd party CI "IBM zKVM CI" after the last successful run from 2017-03-30T06:22:14:
http://ci-watch.tintri.com/project?project=nova&time=7+days

** 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/1679223

Title:
  tempest.api.compute.servers.test_server_tags.ServerTagsTestJSON fail
  on centos7 nodes

Status in OpenStack Compute (nova):
  New

Bug description:
  Description
  ===========
  These tempest test cases fail on centos7 nodes:
      test_server_tags.ServerTagsTestJSON.test_create_delete_tag
      test_server_tags.ServerTagsTestJSON.test_delete_all_tags
      test_server_tags.ServerTagsTestJSON.test_update_all_tags
      test_server_tags.ServerTagsTestJSON.test_check_tag_existence

  http://logstash.openstack.org/#/dashboard/file/logstash.json?from=7d&query=message:%5C%22Malformed%20request%20body%5C%22

  
  Steps to reproduce
  ==================
  See any test run of the 3rd party CI "IBM zKVM CI" after the last successful run from 2017-03-30T06:22:14:
  http://ci-watch.tintri.com/project?project=nova&time=7+days

  
  Expected result
  ===============
  The server tagging functionality tests should work since they got introduced with https://github.com/openstack/tempest/commit/7c95befefb7db27296114f87cf49e8f2b8f43a59

  
  Actual result
  =============

  As an example:

      [tempest.lib.common.rest_client] 
      Request (ServerTagsTestJSON:test_check_tag_existence): 
      400 PUT https://15.184.67.250:8774/v2.1/servers/b56af78e-d406-4858-9509-473863275223/tags/tempest-tag-151463324

      [tempest.lib.common.rest_client] 
      Request - Headers: 
      {'Content-Type': 'application/json', 'Accept': 'application/json', 
      'X-OpenStack-Nova-API-Version': '2.26', 'X-Auth-Token': '<omitted>'}
       Body: None

      Response - Headers: {'status': '400', u'content-length': '66', 
      u'server': 'Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_wsgi/3.4 Python/2.7.5',
      u'date': 'Mon, 03 Apr 2017 10:15:12 GMT', 
      u'x-openstack-nova-api-version': '2.26', 
      u'x-compute-request-id': 'req-1f8726fc-df20-4592-a214-cff3fa73c8e6', 
      u'content-type': 'application/json; charset=UTF-8', 
      content-location': 'https://15.184.67.250:8774/v2.1/servers/b56af78e-d406-4858-9509-473863275223/tags/tempest-tag-151463324', 
      u'vary': 'OpenStack-API-Version,X-OpenStack-Nova-API-Version', 
      u'openstack-api-version': 'compute 2.26', 
      u'connection': 'close'}
      Body: {"badRequest": {"message": "Malformed request body", "code": 400}}

  Traceback: http://paste.openstack.org/show/605262/

  
  Environment
  ===========
  This happens in various gate test jobs. The common theme is that the build
  node is centos7 based. 
  Logstash query: http://logstash.openstack.org/#/dashboard/file/logstash.json?from=7d&query=message:%5C%22Malformed%20request%20body%5C%22

  You can also see this constantly on the centos based 3rd party CI "IBM zKVM CI":
  https://review.openstack.org/#/q/reviewer:%22IBM+zKVM+CI%22

  Logs & Configs
  ==============
  See any test run of the 3rd party CI "IBM zKVM CI" after the last successful run from 2017-03-30T06:22:14:
  http://ci-watch.tintri.com/project?project=nova&time=7+days

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


Follow ups