Silly thought: what about launching automating VM to do the work of downloading and uploading the image to glance?
On Tue, Feb 7, 2012 at 4:21 PM, Tres Henry <t...@treshenry.net> wrote: > I think this is a slightly different (but related) use case. In this case the > user wants to add an image to the configured Glance store through the web > front-end performing the same task as 'glance add name="foo" is_public=true < > blah.tar.gz' in the CLI. > > Ideally Horizon would provide a UI that allows the user to specify an image > location URL and then optionally a check box for "upload to image store" or > something along those lines. > > On Feb 7, 2012, at 2:09 PM, Eoghan Glynn wrote: > >> >> >>> The Horizon team is looking at adding a first-pass implementation of >>> image upload before the Essex release, and we'd really like to >>> bypass the problems associated with, say, passing a 700MB Ubuntu >>> image through the user's browser to a web server and then across to >>> Glance... >>> >>> So the question is this: is there a way to add an image to Glance via >>> the API *without* passing the image data in via the POST body? >>> Options might include specifying a Swift object for the image, or a >>> download URL... >> >> Hi Gabriel, >> >> Check out the X-Image-Meta-Location header which allows a pre-existing >> HTTP, S3, Swift or 'file://' image location to be specified. >> >> The result is that the image content is not uploaded to glance, instead >> the external location is relied upon. >> >> Cheers, >> Eoghan >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~openstack >> Post to : openstack@lists.launchpad.net >> Unsubscribe : https://launchpad.net/~openstack >> More help : https://help.launchpad.net/ListHelp > > > _______________________________________________ > Mailing list: https://launchpad.net/~openstack > Post to : openstack@lists.launchpad.net > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp _______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp