Comment 5 for bug 1235226

Revision history for this message
Stuart McLaren (stuart-mclaren) wrote : Re: image_download policy not enforced for cached images in v1

Seems to be in v2 aswell

ubuntu@devstack27:/etc/glance$ glance --os-image-api-version 1 image-download 42c834df-3b35-4982-aed6-ffa4a44d3778
Request returned failure status.
403 Forbidden
Access was denied to this resource.
    (HTTP 403)
ubuntu@devstack27:/etc/glance$ glance --os-image-api-version 2 image-download 42c834df-3b35-4982-aed6-ffa4a44d3778
LABEL=cloudimg-rootfs / ext4 defaults 0 0
/dev/vdb /mnt auto defaults,nobootwait,comment=cloudconfig 0 2