← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1694380] Re: Error message ' There was an error submitting the form' in dashboard while updating any network changes

 

*** This bug is a duplicate of bug 1650097 ***
    https://bugs.launchpad.net/bugs/1650097

** This bug has been marked a duplicate of bug 1650097
   update network which has subnets is "failed"

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1694380

Title:
  Error message ' There was an error submitting the form' in dashboard
  while updating any network changes

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Error pop message appear in dashboard while submitting any network changes. In Newton Release.
  Error Message - "Danger: There was an error submitting the form. Please try again."

  Steps to reproduce -
  1.Create a Network, go to admin tab and select Edit Network.
  2. Update any field ex- 'Shared' or 'External Network" & submit by clicking Save Changes.
  3. Error Message appears in dashboard.

  Error is observed in httpd/error_log, see the error details below-

  ==> /var/log/httpd/error_log <==
  [Mon May 29 10:09:45.486397 2017] [:error] [pid 32038] Internal Server Error: /dashboard/admin/networks/3dc32ba1-5a52-4cda-8cc9-c5633159297e/update
  [Mon May 29 10:09:45.486431 2017] [:error] [pid 32038] Traceback (most recent call last):
  [Mon May 29 10:09:45.486435 2017] [:error] [pid 32038]   File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
  [Mon May 29 10:09:45.486437 2017] [:error] [pid 32038]     response = wrapped_callback(request, *callback_args, **callback_kwargs)
  [Mon May 29 10:09:45.486439 2017] [:error] [pid 32038]   File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 36, in dec
  [Mon May 29 10:09:45.486441 2017] [:error] [pid 32038]     return view_func(request, *args, **kwargs)
  [Mon May 29 10:09:45.486442 2017] [:error] [pid 32038]   File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 52, in dec
  [Mon May 29 10:09:45.486444 2017] [:error] [pid 32038]     return view_func(request, *args, **kwargs)
  [Mon May 29 10:09:45.486446 2017] [:error] [pid 32038]   File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 36, in dec
  [Mon May 29 10:09:45.486447 2017] [:error] [pid 32038]     return view_func(request, *args, **kwargs)
  [Mon May 29 10:09:45.486449 2017] [:error] [pid 32038]   File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 84, in dec
  [Mon May 29 10:09:45.486451 2017] [:error] [pid 32038]     return view_func(request, *args, **kwargs)
  [Mon May 29 10:09:45.486452 2017] [:error] [pid 32038]   File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 71, in view
  [Mon May 29 10:09:45.486454 2017] [:error] [pid 32038]     return self.dispatch(request, *args, **kwargs)
  [Mon May 29 10:09:45.486455 2017] [:error] [pid 32038]   File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 89, in dispatch
  [Mon May 29 10:09:45.486457 2017] [:error] [pid 32038]     return handler(request, *args, **kwargs)
  [Mon May 29 10:09:45.486458 2017] [:error] [pid 32038]   File "/usr/lib/python2.7/site-packages/django/views/generic/edit.py", line 215, in post
  [Mon May 29 10:09:45.486469 2017] [:error] [pid 32038]     return self.form_valid(form)
  [Mon May 29 10:09:45.486471 2017] [:error] [pid 32038]   File "/usr/lib/python2.7/site-packages/horizon/forms/views.py", line 195, in form_valid
  [Mon May 29 10:09:45.486472 2017] [:error] [pid 32038]     obj_dict = handled.to_dict()
  [Mon May 29 10:09:45.486474 2017] [:error] [pid 32038]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py", line 102, in to_dict
  [Mon May 29 10:09:45.486476 2017] [:error] [pid 32038]     d['subnets'] = [s.to_dict() for s in d['subnets']]
  [Mon May 29 10:09:45.486478 2017] [:error] [pid 32038] AttributeError: 'unicode' object has no attribute 'to_dict'

  commenting the code in the specified error lines , /usr/share
  /openstack-dashboard/openstack_dashboard/api/neutron.py line 102, the
  issue goes off but the impact on the functionality needs to be
  investigated

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1694380/+subscriptions


References