← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1473009] [NEW] HTTP external sources are not supported

 

Public bug reported:

Trying to define a new image from an external source keeps failing with 400 Bad Request External source are not supported.
In my specific case I have tryed to define an image via Heat:

# heat stack-create image-test -f cirros.yaml

cirros.yaml:
heat_template_version: 2013-05-23

description: Glance image provider

parameters:
  image_name:
    type: string
    default: heat_cirros

resources:

  glance_image:
    type: OS::Glance::Image
    properties:
      container_format: bare
      disk_format: qcow2
      is_public: true
      location: http://download.cirros-cloud.net/0.3.3/cirros-0.3.3-x86_64-disk.img
      min_disk: 1
      min_ram: 64
      name: {get_param: image_name}
      protected: false

Note that the URL is well formatted should be valid as an external
source.

** Affects: glance
     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/1473009

Title:
  HTTP external sources are not supported

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  Trying to define a new image from an external source keeps failing with 400 Bad Request External source are not supported.
  In my specific case I have tryed to define an image via Heat:

  # heat stack-create image-test -f cirros.yaml

  cirros.yaml:
  heat_template_version: 2013-05-23

  description: Glance image provider

  parameters:
    image_name:
      type: string
      default: heat_cirros

  resources:

    glance_image:
      type: OS::Glance::Image
      properties:
        container_format: bare
        disk_format: qcow2
        is_public: true
        location: http://download.cirros-cloud.net/0.3.3/cirros-0.3.3-x86_64-disk.img
        min_disk: 1
        min_ram: 64
        name: {get_param: image_name}
        protected: false

  Note that the URL is well formatted should be valid as an external
  source.

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


Follow ups