← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1467462] [NEW] Error causes image creation window to loose values

 

Public bug reported:

Description of problem:
In 'Create An Image' widow, when inserting an illegal URL in image location field, the action fails and the image format field looses its content        

Version-Release number of selected component (if applicable):
python-django-horizon-2015.1.0-10.el7ost.noarch

How reproducible:
sometimes 

Steps to Reproduce:
1. From 'Create An Image' window, insert an illegal URL in image location field 
2. Try to confirm the creation image

Actual results:
The format field is not configured, although it was 

Expected results:
The format field should stay as it was configured 

Additional info:

>From horizon log:
[Mon Jun 22 09:19:12.758853 2015] [:error] [pid 21067]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/glance.py", line 129, in image_update
[Mon Jun 22 09:19:12.758997 2015] [:error] [pid 21067]     return image
[Mon Jun 22 09:19:12.759045 2015] [:error] [pid 21067] UnboundLocalError: local variable 'image' referenced before assignment
[Mon Jun 22 09:19:33.647517 2015] [:error] [pid 21068] Unhandled exception in thread started by <function image_update at 0x7fd151ff0320>
[Mon Jun 22 09:19:33.655274 2015] [:error] [pid 21068] Traceback (most recent call last):
[Mon Jun 22 09:19:33.655319 2015] [:error] [pid 21068]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/glance.py", line 129, in image_update
[Mon Jun 22 09:19:33.655379 2015] [:error] [pid 21068]     return image
[Mon Jun 22 09:19:33.655418 2015] [:error] [pid 21068] UnboundLocalError: local variable 'image' referenced before assignment
[Mon Jun 22 09:20:07.599046 2015] [:error] [pid 21069] Unhandled exception in thread started by <function image_update at 0x7fd151ff0320>
[Mon Jun 22 09:20:07.606163 2015] [:error] [pid 21069] Traceback (most recent call last):
[Mon Jun 22 09:20:07.606205 2015] [:error] [pid 21069]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/glance.py", line 129, in image_update
[Mon Jun 22 09:20:07.606293 2015] [:error] [pid 21069]     return image
[Mon Jun 22 09:20:07.606336 2015] [:error] [pid 21069] UnboundLocalError: local variable 'image' referenced before assignment
[Mon Jun 22 09:21:05.728746 2015] [:error] [pid 21069] Unhandled exception in thread started by <function image_update at 0x7fd151ff0320>
[Mon Jun 22 09:21:05.728826 2015] [:error] [pid 21069] Traceback (most recent call last):
[Mon Jun 22 09:21:05.728846 2015] [:error] [pid 21069]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/glance.py", line 129, in image_update
[Mon Jun 22 09:21:05.728923 2015] [:error] [pid 21069]     return image
[Mon Jun 22 09:21:05.728972 2015] [:error] [pid 21069] UnboundLocalError: local variable 'image' referenced before assignment
[Mon Jun 22 09:21:26.640919 2015] [:error] [pid 21069] Unhandled exception in thread started by <function image_update at 0x7fd151ff0320>
[Mon Jun 22 09:21:26.640967 2015] [:error] [pid 21069] Traceback (most recent call last):
[Mon Jun 22 09:21:26.640990 2015] [:error] [pid 21069]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/glance.py", line 129, in image_update
[Mon Jun 22 09:21:26.641080 2015] [:error] [pid 21069]     return image
[Mon Jun 22 09:21:26.641123 2015] [:error] [pid 21069] UnboundLocalError: local variable 'image' referenced before assignment

** Affects: horizon
     Importance: Undecided
         Status: New

** Attachment added: "horizon_error.log"
   https://bugs.launchpad.net/bugs/1467462/+attachment/4418450/+files/horizon_error.log

-- 
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/1467462

Title:
  Error causes image creation window to loose values

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Description of problem:
  In 'Create An Image' widow, when inserting an illegal URL in image location field, the action fails and the image format field looses its content        

  Version-Release number of selected component (if applicable):
  python-django-horizon-2015.1.0-10.el7ost.noarch

  How reproducible:
  sometimes 

  Steps to Reproduce:
  1. From 'Create An Image' window, insert an illegal URL in image location field 
  2. Try to confirm the creation image

  Actual results:
  The format field is not configured, although it was 

  Expected results:
  The format field should stay as it was configured 

  Additional info:

  From horizon log:
  [Mon Jun 22 09:19:12.758853 2015] [:error] [pid 21067]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/glance.py", line 129, in image_update
  [Mon Jun 22 09:19:12.758997 2015] [:error] [pid 21067]     return image
  [Mon Jun 22 09:19:12.759045 2015] [:error] [pid 21067] UnboundLocalError: local variable 'image' referenced before assignment
  [Mon Jun 22 09:19:33.647517 2015] [:error] [pid 21068] Unhandled exception in thread started by <function image_update at 0x7fd151ff0320>
  [Mon Jun 22 09:19:33.655274 2015] [:error] [pid 21068] Traceback (most recent call last):
  [Mon Jun 22 09:19:33.655319 2015] [:error] [pid 21068]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/glance.py", line 129, in image_update
  [Mon Jun 22 09:19:33.655379 2015] [:error] [pid 21068]     return image
  [Mon Jun 22 09:19:33.655418 2015] [:error] [pid 21068] UnboundLocalError: local variable 'image' referenced before assignment
  [Mon Jun 22 09:20:07.599046 2015] [:error] [pid 21069] Unhandled exception in thread started by <function image_update at 0x7fd151ff0320>
  [Mon Jun 22 09:20:07.606163 2015] [:error] [pid 21069] Traceback (most recent call last):
  [Mon Jun 22 09:20:07.606205 2015] [:error] [pid 21069]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/glance.py", line 129, in image_update
  [Mon Jun 22 09:20:07.606293 2015] [:error] [pid 21069]     return image
  [Mon Jun 22 09:20:07.606336 2015] [:error] [pid 21069] UnboundLocalError: local variable 'image' referenced before assignment
  [Mon Jun 22 09:21:05.728746 2015] [:error] [pid 21069] Unhandled exception in thread started by <function image_update at 0x7fd151ff0320>
  [Mon Jun 22 09:21:05.728826 2015] [:error] [pid 21069] Traceback (most recent call last):
  [Mon Jun 22 09:21:05.728846 2015] [:error] [pid 21069]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/glance.py", line 129, in image_update
  [Mon Jun 22 09:21:05.728923 2015] [:error] [pid 21069]     return image
  [Mon Jun 22 09:21:05.728972 2015] [:error] [pid 21069] UnboundLocalError: local variable 'image' referenced before assignment
  [Mon Jun 22 09:21:26.640919 2015] [:error] [pid 21069] Unhandled exception in thread started by <function image_update at 0x7fd151ff0320>
  [Mon Jun 22 09:21:26.640967 2015] [:error] [pid 21069] Traceback (most recent call last):
  [Mon Jun 22 09:21:26.640990 2015] [:error] [pid 21069]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/glance.py", line 129, in image_update
  [Mon Jun 22 09:21:26.641080 2015] [:error] [pid 21069]     return image
  [Mon Jun 22 09:21:26.641123 2015] [:error] [pid 21069] UnboundLocalError: local variable 'image' referenced before assignment

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


Follow ups

References