Hi -<br><br>Nope, I'm not working on Diablo release.<br><br>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. <br>
<br>Hence, implemented the same. <br><br>Can any one guide me on how to store multiple parts of a single image into glance.<br><br><br>thanks a lot for the replies.<br><br><div class="gmail_quote">On Thu, Jul 5, 2012 at 5:59 PM, Atul Jha <span dir="ltr"><<a href="mailto:Atul.Jha@csscorp.com" target="_blank">Atul.Jha@csscorp.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">Trinath,<br>
I meant are you working on the Diablo release?  The documentation you shared related to glance is from diablo release of Openstack.<br>
<br>
The latest stable Openstack release is Essex.<br>
<div style="font-size:16px;font-family:Times New Roman">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma"><b>From:</b> Trinath Somanchi [<a href="mailto:trinath.somanchi@gmail.com" target="_blank">trinath.somanchi@gmail.com</a>]<br>
<b>Sent:</b> Thursday, July 05, 2012 5:49 PM<br>
<b>To:</b> Atul Jha<br>
<b>Cc:</b> <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
<b>Subject:</b> RE: [Openstack] Glance Image Upload error.<br>
</font><br>
</div><div><div class="h5">
<div></div>
<div>
<p>I installed Glance... While uploading image got this error...</p>
<div class="gmail_quote">On Jul 5, 2012 5:35 PM, "Atul Jha" <<a href="mailto:Atul.Jha@csscorp.com" target="_blank">Atul.Jha@csscorp.com</a>> wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">Are you installing/working on the Glance release of Openstack?<br>
<br>
<br>
<div style="font-size:16px;font-family:Times New Roman">
<hr>
<div style="direction:ltr"><font color="#000000" face="Tahoma"><b>From:</b> openstack-bounces+atul.jha=<a href="mailto:csscorp.com@lists.launchpad.net" target="_blank">csscorp.com@lists.launchpad.net</a> [openstack-bounces+atul.jha=<a href="mailto:csscorp.com@lists.launchpad.net" target="_blank">csscorp.com@lists.launchpad.net</a>]
 on behalf of Trinath Somanchi [<a href="mailto:trinath.somanchi@gmail.com" target="_blank">trinath.somanchi@gmail.com</a>]<br>
<b>Sent:</b> Thursday, July 05, 2012 5:14 PM<br>
<b>To:</b> <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
<b>Subject:</b> [Openstack] Glance Image Upload error.<br>
</font><br>
</div>
<div></div>
<div>Hi-<br>
<br>
I have followed this document page to upload images into glance.<br>
<br>
<a href="http://docs.openstack.org/diablo/openstack-compute/install/content/uploading-to-glance.html" target="_blank">http://docs.openstack.org/diablo/openstack-compute/install/content/uploading-to-glance.html</a><br>
<br>
I have issued the commands as below following the document above.<br>
<br>
<b>root@OpenstackController:~/Image# curl -d '{"auth":{"passwordCredentials":{"username": "admin", "password": "admin"}}}' -H "Content-type: application/json"
<a href="http://10.232.90.82:35357/v2.0/tokens" target="_blank">http://10.232.90.82:35357/v2.0/tokens</a> | python -mjson.tool<br>
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current<br>
                                 Dload  Upload   Total   Spent    Left  Speed<br>
100   319    0   244  100    75    548    168 --:--:-- --:--:-- --:--:--   548<br>
{<br>
    "access": {<br>
        "serviceCatalog": {}, <br>
        "token": {<br>
            "expires": "2012-07-06T09:43:20Z", <br>
            "id": "ab758cd3be864b17821ce073ea4358e5"<br>
        }, <br>
        "user": {<br>
            "id": "668f5d9ca716417fa16208828c5acea8", <br>
            "name": "admin", <br>
            "roles": [], <br>
            "roles_links": [], <br>
            "username": "admin"<br>
        }<br>
    }<br>
}<br>
<br>
<br>
</b>But, I'm getting the following error<br>
<br>
<b>root@OpenstackController:~/Image# glance add -A ab758cd3be864b17821ce073ea4358e5 name="kernel" is_public=true container_format=bare disk_format=raw < uImage<br>
=============================================================================================================================[100%] 35.0M/s, ETA  0h  0m  0s<br>
Uploading image 'kernel'<br>
Failed to add image. Got error:<br>
You are not authenticated.<br>
Details: 401 Unauthorized<br>
<br>
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.<br>

<br>
 Authentication required  <br>
</b><br>
<br>
<br>
This error might occur when there exists an error in environmental variables.<br>
<br>
But when I access the env vars they are accessible and not other errors exists.<br>
<br>
The following ENV vars are set.<br>
<br>
<b>export SERVICE_ENDPOINT=<a href="http://localhost:35357/v2.0" target="_blank">http://localhost:35357/v2.0</a><br>
export SERVICE_TOKEN=admin<br>
export OS_TENANT_NAME=admin<br>
export OS_USERNAME=admin<br>
export OS_PASSWORD=admin<br>
export OS_AUTH_URL="<a href="http://localhost:5000/v2.0/" target="_blank">http://localhost:5000/v2.0/</a>"<br>
</b><br>
Can you any one kindly help me on debugging/solving this issue.<br>
<br>
Thanking you,<br clear="all">
<br>
-- <br>
Regards,<br>
----------------------------------------------<br>
Trinath Somanchi,
<div><a href="tel:%2B91%209866%20235%20130" value="+919866235130" target="_blank">+91 9866 235 130</a></div>
<br>
</div>
</div>
</div>
<a href="http://www.csscorp.com/common/email-disclaimer.php" target="_blank">http://www.csscorp.com/common/email-disclaimer.php</a>
</div>
</blockquote>
</div>
</div>
</div></div></div>
</div>
<a href="http://www.csscorp.com/common/email-disclaimer.php" target="_blank">http://www.csscorp.com/common/email-disclaimer.php</a>
</div>

</blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>----------------------------------------------<br>Trinath Somanchi,<div>+91 9866 235 130</div><br>