← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1013594] Re: Update server name with invalid server name is not raising BadRequest

 

** Changed in: nova
       Status: Confirmed => 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/1013594

Title:
  Update server name with invalid server name is not raising BadRequest

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  Update server name with invalid server name

  Expected Result:
  When name parameter of server is updated with invalid value, Bad Request Exception is supposed 

  Actual Result:
  Did not raise Bad Request

  Log:

  Update name of the server with name of server to already existing ...
  FAIL

  ======================================================================
  FAIL: Update name of the server with name of server to already existing
  ----------------------------------------------------------------------
  Traceback (most recent call last):
    File "/home/openstack/tempest/tempest_harika/tempest_15thJune/tempest/tempest/tests/compute/test_servers_negative.py", line 442, in test_update_server_with_name_of_server_to_already_existing
      self.server['id'], name=server_detail['name'])
  AssertionError: BadRequest not raised

  
  Input given:

  new_name = 'update_!@#$%^&*()_+|={}<>?'

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