stable/mitaka gate is broken

Bug #1605617 reported by Sirushti Murugesan
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Sirushti Murugesan

Bug Description

The stable/mitaka gate is broken with the following errors:

2016-07-22 11:44:29.471881 | Traceback (most recent call last):
2016-07-22 11:44:29.471902 | File "heat/tests/aws/", line 87, in setUp
2016-07-22 11:44:29.471918 | self.fc = fakes_nova.FakeClient()
2016-07-22 11:44:29.471941 | File "heat/tests/openstack/nova/", line 44, in __init__
2016-07-22 11:44:29.471951 | 'auth_url')
2016-07-22 11:44:29.471994 | File "/home/jenkins/workspace/gate-heat-python27-db/.tox/py27/local/lib/python2.7/site-packages/novaclient/v2/", line 112, in __init__
2016-07-22 11:44:29.472018 | 403, _LE("'novaclient.v2.client.Client' is not designed to be "
2016-07-22 11:44:29.472110 | novaclient.exceptions.Forbidden: 'novaclient.v2.client.Client' is not designed to be initialized directly. It is inner class of novaclient. You should use 'novaclient.client.Client' instead. Related lp bug-report: 1493576 (HTTP 403)

2016-07-22 11:45:43.418163 | Traceback (most recent call last):
2016-07-22 11:45:43.418215 | ImportError: Failed to import test module: heat.tests.openstack.magnum.test_bay
2016-07-22 11:45:43.418251 | Traceback (most recent call last):
2016-07-22 11:45:43.418332 | File "/home/jenkins/workspace/gate-heat-python27-db/.tox/py27/local/lib/python2.7/site-packages/unittest2/", line 456, in _find_test_path
2016-07-22 11:45:43.418393 | module = self._get_module_from_name(name)
2016-07-22 11:45:43.418479 | File "/home/jenkins/workspace/gate-heat-python27-db/.tox/py27/local/lib/python2.7/site-packages/unittest2/", line 395, in _get_module_from_name
2016-07-22 11:45:43.418532 | __import__(name)
2016-07-22 11:45:43.418583 | File "heat/tests/openstack/magnum/", line 19, in <module>
2016-07-22 11:45:43.418635 | from magnumclient.openstack.common.apiclient import exceptions as mc_exc
2016-07-22 11:45:43.418678 | ImportError: No module named openstack.common.apiclient


Changed in heat:
assignee: nobody → Sirushti Murugesan (sirushtim)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (stable/mitaka)

Fix proposed to branch: stable/mitaka

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (stable/mitaka)

Submitter: Jenkins
Branch: stable/mitaka

commit 656ac73c6c452e2bc14d3fd34b2ea4bc63585c15
Author: Sirushti Murugesan <email address hidden>
Date: Fri Jul 22 18:08:49 2016 +0530

    Collate multiple commits to fix the gate

    The gate fails because the clients/libraries the code
    depends on were upgraded. Fix by merging the following
    two commits.

    commit 90e55779e9baa1e7cbdc6e0c737f32bb73721524
    Author: Oleksii Chuprykov <email address hidden>
    Date: Mon Jul 18 15:29:18 2016 +0300

        Add direct_use=False flag to constructor of novaclient

        As we directly use novaclient class with particular version,
        we need to path direct_use=False to avoid fails.

        Change-Id: Ieb3dcd2b48a172a4e7ad55e44dcdf6329c8bcb0c
        Closes-Bug: #1603976

    commit 0156e98e66c9a26649897f0e0b7cd0907cbebff5
    Author: Dmitriy Uvarenkov <email address hidden>
    Date: Fri Apr 15 13:09:15 2016 +0300

        Fix stack deleting problem in magnum stacks

        In magnumclient/ exceptions are imported
        from magnumclient.common.apiclient so exception class
        is not the same as expected in heat/engine/clients/os/

        Closes-Bug: #1570781
        Change-Id: Ie60a735470b9adc38675b613950e6480e28136ab

    Closes-Bug: #1605617
    Change-Id: Ie4519584a0be6e399a08ca281e8e0f4049c52720

tags: added: in-stable-mitaka
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/heat 6.1.0

This issue was fixed in the openstack/heat 6.1.0 release.

Rico Lin (rico-lin)
Changed in heat:
milestone: none → no-priority-tag-bugs
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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