can not access hyper-v console from horizon dashboard(icehouse)

Bug #1328853 reported by Justin Pham
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Invalid
Medium
Justin Pham

Bug Description

Environment:

Request Method: GET
Request URL: http://ip/project/instances/01441164-6811-4f5a-8cdb-e71bed1fcc2f/?tab=instance_details__console

Django Version: 1.6.5
Python Version: 2.7.3
Installed Applications:
['openstack_dashboard.dashboards.project',
 'openstack_dashboard.dashboards.admin',
 'openstack_dashboard.dashboards.settings',
 'openstack_dashboard',
 'django.contrib.contenttypes',
 'django.contrib.auth',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.humanize',
 'compressor',
 'horizon',
 'openstack_auth']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'horizon.middleware.HorizonMiddleware',
 'django.middleware.doc.XViewMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware')

Traceback:
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
  112. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py" in dec
  36. return view_func(request, *args, **kwargs)
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py" in dec
  52. return view_func(request, *args, **kwargs)
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py" in dec
  36. return view_func(request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py" in view
  69. return self.dispatch(request, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py" in dispatch
  87. return handler(request, *args, **kwargs)
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tabs/views.py" in get
  71. context = self.get_context_data(**kwargs)
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/instances/views.py" in get_context_data
  249. context = super(DetailView, self).get_context_data(**kwargs)
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tabs/views.py" in get_context_data
  56. exceptions.handle(self.request)
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tabs/views.py" in get_context_data
  54. context["tab_group"].load_tab_data()
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tabs/base.py" in load_tab_data
  120. exceptions.handle(self.request)
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tabs/base.py" in load_tab_data
  117. tab._data = tab.get_context_data(self.request)
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/instances/tabs.py" in get_context_data
  65. console_url = console.get_console(request, console_type, instance)
File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/instances/console.py" in get_console
  50. except nova_exception.HTTPNotImplemented:

Exception Type: AttributeError at /project/instances/01441164-6811-4f5a-8cdb-e71bed1fcc2f/
Exception Value: 'module' object has no attribute 'HTTPNotImplemented'

Changed in horizon:
assignee: nobody → Justin Pham (justinpham0210)
Revision history for this message
tomek (tiomek) wrote :

same problem, I can not open console of instance that is running on compute node, but I can open if it is running on controller node
i've installed openstack by devstack

Changed in horizon:
status: New → Confirmed
Changed in horizon:
importance: Undecided → Medium
Revision history for this message
Rob Cresswell (robcresswell-deactivatedaccount) wrote :

Marking invalid; it's not an issue I am still aware of, and its an extremely old horizon version.

Changed in horizon:
status: Confirmed → Invalid
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.