← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1710250] [NEW] glance v2 has no proper 'copy-from' method

 

Public bug reported:

If one is following the documented steps, there is no way to import an
image from a remote URL using glance v2, unless one enables deprecated
options.

It's asinine to force users to hairpin an image file - (e.g. download
from remote URL to local FS, then upload to image service)

A workaround https://bugs.launchpad.net/glance/+bug/1595335 notes that
`show_multiple_locations` is required for this to work via Horizon, and
https://bugs.launchpad.net/glance/+bug/1618583 has this option
deprecated.

This not only affects Horizon, as using the CLI commands to set an
image's location causes a 403 error, unless we set
`show_multiple_locations=True`.

There has got to be a way to accomplish this easily as the v1 `--copy-
from` method. It needs to be documented, only documenting examples using
`--file` is a poor assumption of actual use.

** 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/1710250

Title:
  glance v2 has no proper 'copy-from' method

Status in Glance:
  New

Bug description:
  If one is following the documented steps, there is no way to import an
  image from a remote URL using glance v2, unless one enables deprecated
  options.

  It's asinine to force users to hairpin an image file - (e.g. download
  from remote URL to local FS, then upload to image service)

  A workaround https://bugs.launchpad.net/glance/+bug/1595335 notes that
  `show_multiple_locations` is required for this to work via Horizon,
  and https://bugs.launchpad.net/glance/+bug/1618583 has this option
  deprecated.

  This not only affects Horizon, as using the CLI commands to set an
  image's location causes a 403 error, unless we set
  `show_multiple_locations=True`.

  There has got to be a way to accomplish this easily as the v1 `--copy-
  from` method. It needs to be documented, only documenting examples
  using `--file` is a poor assumption of actual use.

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


Follow ups