← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1425763] Re: test_flavor_manage.rand_flavor sometimes generates an invalid flavor

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => kilo-3

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

Title:
  test_flavor_manage.rand_flavor sometimes generates an invalid flavor

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  The gate-nova-tox-functional job can fail occasionally [1] if
  rand_flavor happens to generate an invalid flavor, for example one
  with ram == 0.

  2015-02-25 23:10:18,113 INFO [nova.api.openstack.wsgi] HTTP exception thrown: Invalid input received: ram must be >= 1
  2015-02-25 23:10:18,115 INFO [nova.osapi_compute.wsgi.server] 127.0.0.1 "POST /v2/openstack/flavors HTTP/1.1" status: 400 len: 304 time: 0.4035170
  2015-02-25 23:10:18,117 INFO [nova.wsgi] Stopping WSGI server.
  }}}

  Traceback (most recent call last):
    File "nova/tests/functional/wsgi/test_flavor_manage.py", line 110, in test_flavor_manage_func
      resp = self.api.api_post('flavors', flav1)
    File "nova/tests/functional/api/client.py", line 168, in api_post
      response = self.api_request(relative_uri, **kwargs)
    File "nova/tests/functional/api/client.py", line 143, in api_request
      response=response)
  OpenStackApiException: Unexpected status code

  [1] http://logs.openstack.org/18/154718/7/gate/gate-nova-tox-
  functional/82d4cb1

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


References