← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1414967] Re: test_slaac_from_os fails on nova v2.1 API

 

Reviewed:  https://review.openstack.org/151117
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=fc5e0c75fa7c20c62974e2fd6e66087d67707928
Submitter: Jenkins
Branch:    master

commit fc5e0c75fa7c20c62974e2fd6e66087d67707928
Author: ghanshyam <ghanshyam.mann@xxxxxxxxxxxxxxxxxx>
Date:   Thu Jan 29 15:09:40 2015 +0900

    Fix create server request in test_network_v6
    
    As Nova V2.1 is much strict about API inputs, Security group name
    only is accepted on create server request as a security group
    parameter.
    
    test_network_v6 passes complete security group (name, id, rules etc)
    in create server request and fails for Nova V2.1.
    
    Closes-Bug: #1414967
    
    Change-Id: I45adde0c7c4134ea087427f23f2e45d7ec9c88e7


** Changed in: tempest
       Status: In Progress => Fix Released

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

Title:
  test_slaac_from_os fails on nova v2.1 API

Status in OpenStack Compute (Nova):
  Invalid
Status in Tempest:
  Fix Released

Bug description:
  Now we are testing nova v2.1 API on the gate *without* neutron.
  If enabling both v2.1 API and neutron, test_slaac_from_os and test_dhcp6_stateless_from_os will fail.

  http://logs.openstack.org/03/139903/4/check/check-tempest-dsvm-
  neutron-full/3697e41/logs/testr_results.html.gz

  Traceback (most recent call last):
    File "tempest/test.py", line 112, in wrapper
      return f(self, *func_args, **func_kwargs)
    File "tempest/scenario/test_network_v6.py", line 151, in test_dhcp6_stateless_from_os
      self._prepare_and_test(address6_mode='dhcpv6-stateless')
    File "tempest/scenario/test_network_v6.py", line 118, in _prepare_and_test
      ssh1, srv1 = self.prepare_server()
    File "tempest/scenario/test_network_v6.py", line 107, in prepare_server
      srv = self.create_server(create_kwargs=create_kwargs)
    File "tempest/scenario/manager.py", line 190, in create_server
      **create_kwargs)
    File "tempest/services/compute/json/servers_client.py", line 87, in create_server
      resp, body = self.post('servers', post_body)
    File "/usr/local/lib/python2.7/dist-packages/tempest_lib/common/rest_client.py", line 168, in post
      return self.request('POST', url, extra_headers, headers, body)
    File "tempest/common/service_client.py", line 67, in request
      raise exceptions.BadRequest(ex)
  BadRequest: Bad request
  Details: Bad request
  Details: {u'code': 400, u'message': u"Invalid input for field/attribute 0. Value: {u'tenant_id': u'9d3ba5d5126a4762a34ed937affcac32', u'security_group_rules': [{u'remote_group_id': None, u'direction': u'egress', u'protocol': None, u'ethertype': u'IPv4', u'port_range_max': None, u'security_group_id': u'64bb364b-ce81-419a-9dfc-42ceff3d38df', u'tenant_id': u'9d3ba5d5126a4762a34ed937affcac32', u'port_range_min': None, u'remote_ip_prefix': None, u'id': u'49684079-30d5-40af-a3d7-50e8d36f7836'}, {u'remote_group_id': None, u'direction': u'egress', u'protocol': None, u'ethertype': u'IPv6', u'port_range_max': None, u'security_group_id': u'64bb364b-ce81-419a-9dfc-42ceff3d38df', u'tenant_id': u'9d3ba5d5126a4762a34ed937affcac32', u'port_range_min': None, u'remote_ip_prefix': None, u'id': u'04cd8976-0994-4411-b407-0d093f4376f7'}], u'id': u'64bb364b-ce81-419a-9dfc-42ceff3d38df', u'name': u'secgroup-smoke-1781250592', u'description': u'secgroup-smoke-1781250592 description'}. Additional properties are not allowed (u'tenant_id', u'id', u'security_group_rules', u'description' were unexpected)"}
  Traceback (most recent call last):
  _StringException: Empty attachments:
    stderr
    stdout

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


References