[Yahoo-eng-team] [Bug 1379798] Re: Glance returns HTTPInternalServerError 500 in case of image server is down

2015-03-19 Thread Thierry Carrez
** Changed in: glance
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1379798

Title:
  Glance returns HTTPInternalServerError 500 in case of image server is
  down

Status in OpenStack Image Registry and Delivery Service (Glance):
  Fix Released
Status in OpenStack Glance backend store-drivers library (glance_store):
  Fix Released

Bug description:
  HTTPInternalServerError 500 response is returned to the user while image 
server is down during downloading the image.
  When user tries to download the image from the remote location (image server) 
which is down, Connection refused ECONNREFUSED error is raised on the glance 
server.

  Ideally it should return 503 HTTPServiceUnavailable response to the
  user.

  Steps to reproduce:

  1. Create a file 'test_image.py' at any location. example: /home/openstack/
  2. Run Simple HTTP server using python -m SimpleHTTPServer 8050 from 
location mentioned in step 1.
  3. Create an image using location parameter.
  example: glance image-create --name myimage --disk-format=raw 
--container-format=bare --location http://10.69.4.178:8050/test_image.py
  4. Stop Simple HTTP server.
  5. Download image using  glance image-download image_id created in step 3.

  Please refer http://paste.openstack.org/show/120165/ for v1 and v2 api
  logs.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1379798] Re: Glance returns HTTPInternalServerError 500 in case of image server is down

2015-02-25 Thread nikhil komawar
** Changed in: glance-store
   Status: In Progress = Fix Released

** Changed in: glance
Milestone: None = kilo-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1379798

Title:
  Glance returns HTTPInternalServerError 500 in case of image server is
  down

Status in OpenStack Image Registry and Delivery Service (Glance):
  In Progress
Status in OpenStack Glance backend store-drivers library (glance_store):
  Fix Released

Bug description:
  HTTPInternalServerError 500 response is returned to the user while image 
server is down during downloading the image.
  When user tries to download the image from the remote location (image server) 
which is down, Connection refused ECONNREFUSED error is raised on the glance 
server.

  Ideally it should return 503 HTTPServiceUnavailable response to the
  user.

  Steps to reproduce:

  1. Create a file 'test_image.py' at any location. example: /home/openstack/
  2. Run Simple HTTP server using python -m SimpleHTTPServer 8050 from 
location mentioned in step 1.
  3. Create an image using location parameter.
  example: glance image-create --name myimage --disk-format=raw 
--container-format=bare --location http://10.69.4.178:8050/test_image.py
  4. Stop Simple HTTP server.
  5. Download image using  glance image-download image_id created in step 3.

  Please refer http://paste.openstack.org/show/120165/ for v1 and v2 api
  logs.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1379798] Re: Glance returns HTTPInternalServerError 500 in case of image server is down

2014-11-19 Thread Louis Taylor
** Also affects: glance-store
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1379798

Title:
  Glance returns HTTPInternalServerError 500 in case of image server is
  down

Status in OpenStack Image Registry and Delivery Service (Glance):
  Triaged
Status in OpenStack Glance backend store-drivers library (glance_store):
  Triaged

Bug description:
  HTTPInternalServerError 500 response is returned to the user while image 
server is down during downloading the image.
  When user tries to download the image from the remote location (image server) 
which is down, Connection refused ECONNREFUSED error is raised on the glance 
server.

  Ideally it should return 503 HTTPServiceUnavailable response to the
  user.

  Steps to reproduce:

  1. Create a file 'test_image.py' at any location. example: /home/openstack/
  2. Run Simple HTTP server using python -m SimpleHTTPServer 8050 from 
location mentioned in step 1.
  3. Create an image using location parameter.
  example: glance image-create --name myimage --disk-format=raw 
--container-format=bare --location http://10.69.4.178:8050/test_image.py
  4. Stop Simple HTTP server.
  5. Download image using  glance image-download image_id created in step 3.

  Please refer http://paste.openstack.org/show/120165/ for v1 and v2 api
  logs.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp