← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1485792] [NEW] Glance create an image with incorrect location

 

Public bug reported:

I tried to upload images from location by way like using SCP:

# glance image-create --name LINUX-64 --is-public True --disk-format iso
--container-format bare --progress --location
http://<fuel_ip>:~/ubuntu-14.04.2-server-amd64.iso

# glance image-create --name LINUX-64-2 --is-public True --disk-format
iso --container-format bare --progress --copy-from
http://<fuel_ip>:~/ubuntu-14.04.2-server-amd64.iso

Glance client accepted wrong location and as result i got images in Glance with Active status and 0 size.
Same behavior noticed with aki and ari images.

Expected that Glance client will prevent creation of image from
malformed source.

** Affects: glance
     Importance: Undecided
     Assignee: Kairat Kushaev (kkushaev)
         Status: New

** Changed in: glance
     Assignee: (unassigned) => Kairat Kushaev (kkushaev)

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

Title:
  Glance create an image with incorrect location

Status in Glance:
  New

Bug description:
  I tried to upload images from location by way like using SCP:

  # glance image-create --name LINUX-64 --is-public True --disk-format
  iso --container-format bare --progress --location
  http://<fuel_ip>:~/ubuntu-14.04.2-server-amd64.iso

  # glance image-create --name LINUX-64-2 --is-public True --disk-format
  iso --container-format bare --progress --copy-from
  http://<fuel_ip>:~/ubuntu-14.04.2-server-amd64.iso

  Glance client accepted wrong location and as result i got images in Glance with Active status and 0 size.
  Same behavior noticed with aki and ari images.

  Expected that Glance client will prevent creation of image from
  malformed source.

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


Follow ups