when running a test, clicking the 'stop' button results in an AttributeError that is not handled. redhat-certification-2.0-20150909.el6 redhat-certification-hardware-1.6.6-20150901.el6 no workaround yet Steps to Reproduce: 1. install on a laptop system (with mandatory 'suspend' test) 2. create a certification with a host attached 3. run a test 4. click 'stop' to abort the suspend test (there's no other way to bypass it in the web ui). Actual results: Environment: Request Method: POST Request URL: http://$LTS/interactive Django Version: 1.8.4 Python Version: 2.7.5 Installed Applications: ('django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.staticfiles', 'application') Installed Middleware: ('django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware') Traceback: File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response 132. response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/var/www/rhcert/application/views.py" in interactive 108. return Interactive().serve(request, "interactive.html") File "/var/www/rhcert/wsgi/view.py" in serve 40. result = self.view(request) File "/var/www/rhcert/wsgi/interactive.py" in view 44. errors = self.restartHost() Exception Type: AttributeError at /interactive Exception Value: 'Interactive' object has no attribute 'restartHost' Expected results: test stops, bypassing suspend test. Additional info:
Also, Re-labeling the button to "restart", because that's what it does.
verified in redhat-certification-2.0-20150916.el7 using the 'restart' button does not trigger a python error with backtrace.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-2479.html