Cannot create network in horizon

Bug #1804863 reported by Tyler Smith
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
Patrick Bonnell

Bug Description

Title
-----
Cannot create network in horizon

Brief Description
-----------------
Discovered by Bin, saw this error when trying to create a network in a private build. The neutron-api.log didn't have an error log.

2018-11-22 13:44:01,455 [ERROR] horizon.workflows.base: Problem instantiating action class.
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/horizon/workflows/base.py", line 396, in action
    context)
  File "/usr/share/openstack-dashboard/openstack_dashboard/dashboards/project/networks/workflows.py", line 81, in __init__
    for qos in api.neutron.qos_list(request):
  File "/usr/share/openstack-dashboard/openstack_dashboard/api/neutron.py", line 1687, in qos_list
    qoses = neutronclient(request).list_qoses().get('qoses')
AttributeError: 'Client' object has no attribute 'list_qoses'
2018-11-22 13:44:01,455 [ERROR] django.request: Internal Server Error: /project/networks/create
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 164, in get_response
    response = response.render()
  File "/usr/lib/python2.7/site-packages/django/template/response.py", line 158, in render
    self.content = self.rendered_content
  File "/usr/lib/python2.7/site-packages/django/template/response.py", line 135, in rendered_content
    content = template.render(context, self._request)
  File "/usr/lib/python2.7/site-packages/django/template/backends/django.py", line 74, in render
    return self.template.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 210, in render
    return self._render(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 202, in _render
    return self.nodelist.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 905, in render
    bit = self.render_node(node, context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 919, in render_node
    return node.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/defaulttags.py", line 574, in render
    six.iteritems(self.extra_context)}
  File "/usr/lib/python2.7/site-packages/django/template/defaulttags.py", line 573, in <dictcomp>
    values = {key: val.resolve(context) for key, val in
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 648, in resolve
    obj = self.var.resolve(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 789, in resolve
    value = self._resolve_lookup(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 849, in _resolve_lookup
    current = current()
  File "/usr/lib/python2.7/site-packages/horizon/workflows/base.py", line 753, in get_entry_point
    step._verify_contributions(self.context)
  File "/usr/lib/python2.7/site-packages/horizon/workflows/base.py", line 421, in _verify_contributions
    field = self.action.fields.get(key, None)
  File "/usr/lib/python2.7/site-packages/horizon/workflows/base.py", line 396, in action
    context)
  File "/usr/share/openstack-dashboard/openstack_dashboard/dashboards/project/networks/workflows.py", line 81, in __init__
    for qos in api.neutron.qos_list(request):
  File "/usr/share/openstack-dashboard/openstack_dashboard/api/neutron.py", line 1687, in qos_list
    qoses = neutronclient(request).list_qoses().get('qoses')
AttributeError: 'Client' object has no attribute 'list_qoses'

Severity
--------
Minor, can still use the cli

Actual Behavior
----------------
Unable to create a network

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

Changed in starlingx:
assignee: nobody → Patrick Bonnell (pbonnell)
Revision history for this message
Ghada Khalil (gkhalil) wrote :

This is minor. With the strategy to rebase to Stein, this will be taken care of automatically. No plan to address in the meantime.

Changed in starlingx:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Will re-test after the cut-over to containerized openstack.

tags: added: stx.2019.03
Ken Young (kenyis)
tags: added: stx.2019.05
removed: stx.2019.03
Revision history for this message
Ghada Khalil (gkhalil) wrote :

This has been addressed in the StarlingX containerized environment.

Changed in starlingx:
status: Triaged → Fix Released
Revision history for this message
Ghada Khalil (gkhalil) wrote :

The containerized environment has been merged to starlingx master on March 1/2019

Ken Young (kenyis)
tags: added: stx.2.0
removed: stx.2019.05
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.