[Openstack] [Glance] Error 503 when creating image
Alexandr Porunov
alexandr.porunov at gmail.com
Thu Feb 25 21:29:13 UTC 2016
There are my logs:
It is my /var/log/glance/api.log:
http://paste.openstack.org/show/488205/
It is my /var/log/glance/registry.log:
http://paste.openstack.org/show/488207/
It is my /var/log/keystone/keystone.log:
http://paste.openstack.org/show/488208/
Nothing have changed. There only this lines interesting in api.log:
2016-02-25 17:44:11.524 2462 WARNING keystonemiddleware.auth_token [-]
Identity response: {"error": {"message": "The request you have made
requires authentication.", "code": 401, "title": "Unauthorized"}}
2016-02-25 17:44:12.335 2462 WARNING keystonemiddleware.auth_token [-]
Identity response: {"error": {"message": "The request you have made
requires authentication.", "code": 401, "title": "Unauthorized"}}
2016-02-25 17:44:12.336 2462 CRITICAL keystonemiddleware.auth_token
[-] Unable to validate token: Identity server rejected authorization
necessary to fetch token data
But I don't know how to repair it
On Thu, Feb 25, 2016 at 11:22 PM, Remo Mattei <remo at italy1.com> wrote:
> Check your logs and see what it says you may want to add —debug to that
> and see where it fails
>
>
> On Feb 25, 2016, at 13:21, Alexandr Porunov <alexandr.porunov at gmail.com>
> wrote:
>
> The same error.
>
> glance image-create --progress --file ./cirros-0.3.4-x86_64-disk.img
> --name cirros --disk-format qcow2 --container-format bare
> 503 Service Unavailable: The server is currently unavailable. Please try
> again at a later time. (HTTP 503)
>
> =(
>
>
> On Thu, Feb 25, 2016 at 11:20 PM, Remo Mattei <remo at italy1.com> wrote:
>
>> try this
>>
>> glance image-create --progress --file ./cirros-0.3.4-x86_64-disk.img
>> --name cirros --disk-format qcow2 --container-format bare
>>
>>
>> On Feb 25, 2016, at 13:19, Remo Mattei <remo at italy1.com> wrote:
>>
>> did you try without public ?
>>
>> On Feb 25, 2016, at 13:11, Alexandr Porunov <alexandr.porunov at gmail.com>
>> wrote:
>>
>> But I have put admin's variables. Haven't I?
>>
>> On Thu, Feb 25, 2016 at 6:15 PM, Remo Mattei <Remo at italy1.com> wrote:
>>
>>> Only admin can use public
>>>
>>> It will not work if that is a normal tenant
>>>
>>> Inviato da iPhone
>>>
>>> Il giorno 25 feb 2016, alle ore 07:56, Alexandr Porunov <
>>> alexandr.porunov at gmail.com> ha scritto:
>>>
>>> Hello everyone,
>>>
>>> I am trying to upload the image to the Image service like in this
>>> tutorial:
>>> http://docs.openstack.org/liberty/install-guide-rdo/glance-verify.html
>>>
>>> I have done all steps, but this step fails:
>>> glance image-create --name "cirros" --file cirros-0.3.4-x86_64-disk.img
>>> --disk-format qcow2 --container-format bare --visibility public --progress
>>>
>>> 503 Service Unavailable: The server is currently unavailable. Please try
>>> again at a later time. (HTTP 503)
>>>
>>> It is my /var/log/glance/api.log:
>>> http://paste.openstack.org/show/488205/
>>>
>>> It is my /var/log/glance/registry.log:
>>> http://paste.openstack.org/show/488207/
>>>
>>> It is my /var/log/keystone/keystone.log:
>>> http://paste.openstack.org/show/488208/
>>>
>>> It is my variables:
>>> export OS_PROJECT_DOMAIN_ID=default
>>> export OS_USER_DOMAIN_ID=default
>>> export OS_PROJECT_NAME=admin
>>> export OS_TENANT_NAME=admin
>>> export OS_USERNAME=admin
>>> export OS_PASSWORD=admin
>>> export OS_AUTH_URL=http://controller:35357/v3
>>> export OS_IDENTITY_API_VERSION=3
>>> export OS_IMAGE_API_VERSION=2
>>>
>>> May somebody help me, please?
>>>
>>> Best Regards, Alexandr
>>>
>>> _______________________________________________
>>> Mailing list:
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>> Post to : openstack at lists.openstack.org
>>> Unsubscribe :
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>
>>>
>>>
>>>
>> !DSPAM:1,56cf6f7e268051706116401!
>>
>>
>>
>>
> !DSPAM:1,56cf7078270641806488744!
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160225/e14af8d0/attachment.html>
More information about the Openstack
mailing list