is_using_neutron method returns True even if there is no neutron endpoint

Bug #1606951 reported by Vitalii Gridnev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
High
Rabi Mishra

Bug Description

To reproduce this one you have to create a security group using heat in nova-network env (without neutron) like that is done sahara code. heat stack creation will be failed, because there is no neutron endpoint, but for sure it's not really needed. Now it's breaking sahara gates.

 Logs:

[0] http://logs.openstack.org/06/347406/3/check/gate-sahara-dsvm-scenario-nova-heat/391bf43/logs/screen-h-eng.txt.gz?level=WARNING

Revision history for this message
Rabi Mishra (rabi) wrote :

It seems just creating a SessionClient does not ensure that the endpoint for that service exists in the catalog.

Changed in heat:
assignee: nobody → Rabi Mishra (rabi)
Changed in heat:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/347855
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=74815dafd9a2459d691ac2bb6c0df27d8277bb42
Submitter: Jenkins
Branch: master

commit 74815dafd9a2459d691ac2bb6c0df27d8277bb42
Author: Rabi Mihsra <email address hidden>
Date: Wed Jul 27 16:59:59 2016 +0300

    Fix is_using_neutron

    Recently we moved to use SessionClient with
    the client plugins and it seems, just
    creating the client does not ensure that the
    service is available. We should check for
    the endpoint.

    Change-Id: Iae9fa8758314a4b04224127a181eb1054aa72d8a
    Closes-Bug: #1606951

Changed in heat:
status: In Progress → Fix Released
Revision history for this message
Rabi Mishra (rabi) wrote :

We should probably have something at the gate to test with nova-network.

Changed in heat:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/heat 7.0.0.0b3

This issue was fixed in the openstack/heat 7.0.0.0b3 development milestone.

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.