[openstack-dev] Reg. glance image in different domain

ESWAR RAO eswar7028 at gmail.com
Tue Aug 25 10:25:32 UTC 2015


In Juno version, its failing like:

# glance --os-tenant-id 73e6f673c9684c43966dfa3174d2430c --os-username
eswar-new-user --os-password eswar --os-auth-token
bef0a7aa06064c39ad042ce368aecdec --os-user-domain-name eswar-new-domain
image-list

An auth plugin is required to determine the endpoint URL.

On Mon, Aug 24, 2015 at 5:10 PM, ESWAR RAO <eswar7028 at gmail.com> wrote:

> Hi All,
>
>
> I have created a different domain as below:
>
> domain-name: Heat-stack
> tenant-name: heat-tenant
> user-name: heat-user
>
> I have assigned "admin" role to the tenant.
> I have added "tenant-id" as a member to existing image in glance in
> default domain.
>
>
> # glance --os-tenant-id ad3688ad21b9492599761b54ed58649a
> --os-username heat-user --os-password heat --os-auth-token <auth-token>
> image-list
>
> The request you have made requires authentication. (HTTP 401)
>
>
> # heat --os-tenant-id ad3688ad21b9492599761b54ed58649a
> --os-username heat-user  --os-password heat  --os-auth-token <auth-token>
> stack-list
>
>
> +--------------------------------------+------------------------------------------+-----------------+----------------------+
>
> | id                                   | stack_name
>         | stack_status    | creation_time        |
>
>
> +--------------------------------------+------------------------------------------+-----------------+----------------------+
>
> | 569700fb-9533-43e7-90a7-734be8a86947 |
> heat-0e6475bd-0853-4340-9636-83457c9223fb | CREATE_COMPLETE |
> 2015-08-24T07:00:44Z |
>
>
> +--------------------------------------+------------------------------------------+-----------------+----------------------+
>
> The stack is in CREATE_COMPLETE  but instance is not launched in nova.
>
> I suspect this could be due to glance image problems.
>
>
> How can i see images with the user in different domain?
>
>
> Thanks
>
> Eswar Rao
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150825/f370499e/attachment.html>


More information about the OpenStack-dev mailing list