Unable to retrieve instance project information and warning in log global name 'api' is not defined when navigating host_topology page in Horizon

Bug #1792204 reported by Wendy Mitchell
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
High
Tyler Smith

Bug Description

Title
-----------------
Unable to retrieve instance project information and warning in log global name 'api' is not defined when navigating host_topology page in Horizon

Brief Description
-----------------
Error appears in Horizon host_topology page; Unable to retrieve instance project information
(global name 'api' is not defined)

Severity
--------
Standard

Steps to Reproduce
------------------
1. As admin user, log into Horizon
2. Select Platform - Provider Network Topology
3. Select from the list of Provider Networks to highlight it eg. group0-data0
4. Select 'Provider Network Topology' panel again

Expected Behavior
------------------
In step 3, expect highlight of the provider network (without errors)
In step 4, did not expect error in horizon

Actual Behavior
----------------
In step 3, the following error is reported in horizon.log
[WARNING] horizon.exceptions: Recoverable error: global name 'api' is not defined

In step 4, the following error appears in Horizon
Error: Unable to retrieve instance project information when reselecting the 'Provider Network Topology' panel

Reproducibility
---------------
Reproducible

System Configuration
--------------------
2 node system

Branch/Pull Time/Commit
-----------------------

Timestamp/Logs
--------------
see horizon.log
2018-09-12 15:05:47,418 [WARNING] horizon.exceptions: Recoverable error: global name 'api' is not defined
2018-09-12 15:05:47,667 [WARNING] horizon.exceptions: Recoverable error: global name 'api' is not defined
2018-09-12 15:05:52,783 [WARNING] horizon.exceptions: Recoverable error: global name 'api' is not defined
2018-09-12 15:05:57,801 [WARNING] horizon.exceptions: Recoverable error: global name 'api' is not defined

summary: - STX: Unable to retrieve instance project information and warning in log
+ Unable to retrieve instance project information and warning in log
global name 'api' is not defined when navigating host_topology page in
Horizon
Ghada Khalil (gkhalil)
tags: added: stx.gui
Dariush Eslimi (deslimi)
Changed in starlingx:
importance: Undecided → High
Eddie Ramirez (ediardo)
Changed in starlingx:
assignee: nobody → Eddie Ramirez (ediardo)
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Targeted for stx.2018.10 - errors from generated

tags: added: stx.2018.10
Changed in starlingx:
assignee: Eddie Ramirez (ediardo) → Tyler Smith (tyler.smith)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to stx-gui (master)

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

Changed in starlingx:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to stx-gui (master)

Reviewed: https://review.openstack.org/603835
Committed: https://git.openstack.org/cgit/openstack/stx-gui/commit/?id=68855d9ef6ca53db61b44af98d8f14a0f48ba067
Submitter: Zuul
Branch: master

commit 68855d9ef6ca53db61b44af98d8f14a0f48ba067
Author: Tyler Smith <email address hidden>
Date: Wed Sep 19 11:53:33 2018 -0400

    Fix api import on Providernet Topology page

    The openstackdashboard api was still being
    used so I added it back in

    Fixes-Bug: 1792204
    Change-Id: I326b728d063c0ff96fe682356f884190f54d7a97
    Signed-off-by: Tyler Smith <email address hidden>

Changed in starlingx:
status: In Progress → Fix Released
Ken Young (kenyis)
tags: added: stx.1.0
removed: stx.2018.10
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.