[Openstack] Glance Image Upload error.

Trinath Somanchi trinath.somanchi at gmail.com
Fri Jul 6 05:26:42 UTC 2012


Hi -

Nope, I'm not working on Diablo release.

But I have image in 3 parts. I want to store these three parts of the image
into glance as a single image. To achieve the same while doing a google
search found this procedure.

Hence, implemented the same.

Can any one guide me on how to store multiple parts of a single image into
glance.


thanks a lot for the replies.

On Thu, Jul 5, 2012 at 5:59 PM, Atul Jha <Atul.Jha at csscorp.com> wrote:

>  Trinath,
> I meant are you working on the Diablo release?  The documentation you
> shared related to glance is from diablo release of Openstack.
>
> The latest stable Openstack release is Essex.
>  ------------------------------
> *From:* Trinath Somanchi [trinath.somanchi at gmail.com]
> *Sent:* Thursday, July 05, 2012 5:49 PM
> *To:* Atul Jha
> *Cc:* openstack at lists.launchpad.net
> *Subject:* RE: [Openstack] Glance Image Upload error.
>
>   I installed Glance... While uploading image got this error...
> On Jul 5, 2012 5:35 PM, "Atul Jha" <Atul.Jha at csscorp.com> wrote:
>
>>  Are you installing/working on the Glance release of Openstack?
>>
>>
>>  ------------------------------
>> *From:* openstack-bounces+atul.jha=csscorp.com at lists.launchpad.net[openstack-bounces+atul.jha=
>> csscorp.com at lists.launchpad.net] on behalf of Trinath Somanchi [
>> trinath.somanchi at gmail.com]
>> *Sent:* Thursday, July 05, 2012 5:14 PM
>> *To:* openstack at lists.launchpad.net
>> *Subject:* [Openstack] Glance Image Upload error.
>>
>>  Hi-
>>
>> I have followed this document page to upload images into glance.
>>
>>
>> http://docs.openstack.org/diablo/openstack-compute/install/content/uploading-to-glance.html
>>
>> I have issued the commands as below following the document above.
>>
>> *root at OpenstackController:~/Image# curl -d
>> '{"auth":{"passwordCredentials":{"username": "admin", "password":
>> "admin"}}}' -H "Content-type: application/json"
>> http://10.232.90.82:35357/v2.0/tokens | python -mjson.tool
>>   % Total    % Received % Xferd  Average Speed   Time    Time     Time
>> Current
>>                                  Dload  Upload   Total   Spent    Left
>> Speed
>> 100   319    0   244  100    75    548    168 --:--:-- --:--:--
>> --:--:--   548
>> {
>>     "access": {
>>         "serviceCatalog": {},
>>         "token": {
>>             "expires": "2012-07-06T09:43:20Z",
>>             "id": "ab758cd3be864b17821ce073ea4358e5"
>>         },
>>         "user": {
>>             "id": "668f5d9ca716417fa16208828c5acea8",
>>             "name": "admin",
>>             "roles": [],
>>             "roles_links": [],
>>             "username": "admin"
>>         }
>>     }
>> }
>>
>>
>> *But, I'm getting the following error
>>
>> *root at OpenstackController:~/Image# glance add -A
>> ab758cd3be864b17821ce073ea4358e5 name="kernel" is_public=true
>> container_format=bare disk_format=raw < uImage
>> =============================================================================================================================[100%]
>> 35.0M/s, ETA  0h  0m  0s
>> Uploading image 'kernel'
>> Failed to add image. Got error:
>> You are not authenticated.
>> Details: 401 Unauthorized
>>
>> This server could not verify that you are authorized to access the
>> document you requested. Either you supplied the wrong credentials (e.g.,
>> bad password), or your browser does not understand how to supply the
>> credentials required.
>>
>>  Authentication required
>> *
>>
>>
>> This error might occur when there exists an error in environmental
>> variables.
>>
>> But when I access the env vars they are accessible and not other errors
>> exists.
>>
>> The following ENV vars are set.
>>
>> *export SERVICE_ENDPOINT=http://localhost:35357/v2.0
>> export SERVICE_TOKEN=admin
>> export OS_TENANT_NAME=admin
>> export OS_USERNAME=admin
>> export OS_PASSWORD=admin
>> export OS_AUTH_URL="http://localhost:5000/v2.0/"
>> *
>> Can you any one kindly help me on debugging/solving this issue.
>>
>> Thanking you,
>>
>> --
>> Regards,
>> ----------------------------------------------
>> Trinath Somanchi,
>> +91 9866 235 130
>>
>>   http://www.csscorp.com/common/email-disclaimer.php
>>
>   http://www.csscorp.com/common/email-disclaimer.php
>



-- 
Regards,
----------------------------------------------
Trinath Somanchi,
+91 9866 235 130
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120706/61a90047/attachment.html>


More information about the Openstack mailing list