[Openstack] Ubuntu Cloud Image - Forbidden access! Glance fails with error 500.
stuart.mclaren at hp.com
stuart.mclaren at hp.com
Mon Aug 29 09:37:31 UTC 2016
To prevent this kind of thing recurring you can upload the image bytes
into Glance rather than relying on the third party url always being
available, eg:
curl http://uec-images.ubuntu.com/releases/16.04/release/ubuntu-16.04-server-cloudimg-amd64-disk1.img | glance image-create --name "Ubuntu 16.04.1 LTS - Xenial Xerus - 64-bit - Cloud Based Ima
ge" --is-public true --container-format bare --disk-format qcow2
On Sun, 28 Aug 2016, Kaustubh Kelkar wrote:
> Broken link?
>
> https://cloud-images.ubuntu.com/xenial/
>
> -Kaustubh
>
> From: Martinx - ジェームズ
> Sent: Saturday, August 27, 23:06
> Subject: [Openstack] Ubuntu Cloud Image - Forbidden access! Glance failswith error 500.
> To: ubuntu-server, Ubuntu user technical support, not for general discussions, openstack at lists.openstack.org
>
> Guys,
>
> It is impossible to download Ubuntu Cloud Image right now:
>
> http://uec-images.ubuntu.com/releases/16.04/release/ubuntu-16.04-server-cloudimg-amd64-disk1.img
>
> Returns: Forbidden!
>
> ----
>
> wget http://uec-images.ubuntu.com/releases/16.04/release/ubuntu-16.04-server-cloudimg-amd64-disk1.img
>
> --2016-08-28 02:50:36-- http://uec-images.ubuntu.com/releases/16.04/release/ubuntu-16.04-server-cloudimg-amd64-disk1.img
>
> Resolving uec-images.ubuntu.com<http://uec-images.ubuntu.com> (uec-images.ubuntu.com<http://uec-images.ubuntu.com>)... 91.189.88.140
>
> Connecting to uec-images.ubuntu.com<http://uec-images.ubuntu.com> (uec-images.ubuntu.com<http://uec-images.ubuntu.com>)|91.189.88.140|:80... connected.
>
> HTTP request sent, awaiting response... 403 Forbidden
>
> 2016-08-28 02:50:36 ERROR 403: Forbidden.
>
> ----
>
> This broke my OpenStack deployment, because Glance tries to download it and then it fails (error 500 on Glance).
>
> ---
>
> http://paste.openstack.org/show/564302/
>
> ---
>
> Here is how I'm adding Ubuntu images to my OpenStack Mitaka Cloud:
>
> ---
>
> glance image-create --location http://uec-images.ubuntu.com/releases/16.04/release/ubuntu-16.04-server-cloudimg-amd64-disk1.img --name "Ubuntu 16.04.1 LTS - Xenial Xerus - 64-bit - Cloud Based Image" --is-public true --container-format bare --disk-format qcow2
>
> ---
>
> Cheers!
>
> Thiago
>
>
More information about the Openstack
mailing list