Performance tests are broken after changing default network provider

Bug #1508897 reported by Alexander Kislitsky
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Alexander Kislitsky

Bug Description

https://ci.fuel-infra.org/job/nailgun_performance_tests/369/console

One of errors:

self = <webtest.app.TestApp object at 0x8002a50>, status = None
res = <400 Bad Request text/html body='{"message... []}'/76>

    def _check_status(self, status, res):
        if status == '*':
            return
        res_status = res.status
        if (isinstance(status, string_types) and '*' in status):
            if re.match(fnmatch.translate(status), res_status, re.I):
                return
        if isinstance(status, (list, tuple)):
            if res.status_int not in status:
                raise AppError(
                    "Bad response: %s (not one of %s for %s)\n%s",
                    res_status, ', '.join(map(str, status)),
                    res.request.url, res)
            return
        if status is None:
            if res.status_int >= 200 and res.status_int < 400:
                return
            raise AppError(
                "Bad response: %s (not 200 OK or 3xx redirect for %s)\n%s",
                res_status, res.request.url,
> res)
E AppError: Bad response: 400 Bad Request (not 200 OK or 3xx redirect for http://localhost/api/clusters/6/network_configuration/nova_network/)
E '{"message": "Wrong net provider - environment uses \'neutron\'", "errors": []}'

Dmitry Pyzhov (dpyzhov)
tags: added: tech-debt tricky
tags: added: area-python
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

Fix proposed to branch: master
Review: https://review.openstack.org/239899

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/239899
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=7c4e7cc585f5c8cbd8d59d079b916a621893fd96
Submitter: Jenkins
Branch: master

commit 7c4e7cc585f5c8cbd8d59d079b916a621893fd96
Author: Alexander Kislitsky <email address hidden>
Date: Wed Oct 28 13:36:13 2015 +0300

    Network provider fixed in performance tests

    Restriction for nodegroup name was introduced into DB.
    Performance test for adding nodegroup fixed.

    Change-Id: Id1ed98ea3f718ba693df4ed52c012158dc0feff3
    Closes-Bug: #1508897

Changed in fuel:
status: In Progress → Fix Committed
Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.