Cannot proceed with deployment

Bug #1441123 reported by Dariusz Smigiel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tuskar-ui
Fix Released
Undecided
Unassigned

Bug Description

Steps to reproduce:
1. After verification, click "Verify and Deploy"
2. Confirmation popup appears. Confirm and wait for response.

There is a popup with info:
"Danger: There was an error submitting the form. Please try again. "

and traceback in console.

Internal Server Error: /infrastructure/deploy-confirmation
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 111, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/root/horizon/horizon/decorators.py", line 36, in dec
    return view_func(request, *args, **kwargs)
  File "/root/horizon/horizon/decorators.py", line 84, in dec
    return view_func(request, *args, **kwargs)
  File "/root/horizon/horizon/decorators.py", line 52, in dec
    return view_func(request, *args, **kwargs)
  File "/root/horizon/horizon/decorators.py", line 36, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py", line 69, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py", line 87, in dispatch
    return handler(request, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/django/views/generic/edit.py", line 173, in post
    return self.form_valid(form)
  File "/root/horizon/horizon/forms/views.py", line 173, in form_valid
    exceptions.handle(self.request)
  File "/root/horizon/horizon/exceptions.py", line 364, in handle
    six.reraise(exc_type, exc_value, exc_traceback)
  File "/root/horizon/horizon/forms/views.py", line 170, in form_valid
    handled = form.handle(self.request, form.cleaned_data)
  File "/root/tuskar-ui/tuskar_ui/infrastructure/overview/forms.py", line 302, in handle
    if message['is_critical']:
KeyError: 'is_critical'
[07/Apr/2015 11:40:12] "POST /infrastructure/deploy-confirmation HTTP/1.1" 500 34980

Revision history for this message
Dariusz Smigiel (smigiel-dariusz) wrote :

Tested with OSP7 Director Beta2 which uses Tuskar-UI as frontend. This bug doesn't occur any longer.

Changed in tuskar-ui:
status: New → Fix Released
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.