<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="RIGHT: auto"><SPAN style="RIGHT: auto">Thanks for the reply.</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto">I am using Essex released version (2012-1 that was released in april). Here are the outputs of  nova command</SPAN></div>
<div style="RIGHT: auto"><SPAN style="RIGHT: auto"></SPAN> </div>
<div style="RIGHT: auto"><A style="RIGHT: auto" href="mailto:localadmin@$">$</A> nova volume-snapshot-list<BR>+----+-----------+-----------+----------------------+------+<BR>| ID | Volume ID |   Status  |     Display Name     | Size |<BR>+----+-----------+-----------+----------------------+------+<BR>| 2  | 4         | available | test-volume-snapshot | 1    |<BR>+----+-----------+-----------+----------------------+------+<BR><A href="mailto:n@rosesx0077:~$">$</A> nova volume-snapshot-show 2<BR>+---------------------+----------------------+<BR>|       Property      |        Value         |<BR>+---------------------+----------------------+<BR>| created_at          |
 2012-05-19 01:22:57  |<BR>| display_description |                      |<BR>| display_name        | test-volume-snapshot |<BR>| id                  | 2                    |<BR>| size                | 1                    |<BR>| status              | available            |<BR>| volume_id           |
 4                    |<BR>+---------------------+----------------------+</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">However, when I try to attach the snapshot to a running instance , then I get resource could not be found error. May be volume snapshot create did not actually create a copy of the volume.</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">$ nova --debug volume-attach 7dd2e3cb-70c6-44aa-8976-967eef519752 2 /dev/vdb</div>
<div style="RIGHT: auto"> </div>
<div style="RIGHT: auto">send: u'POST /v2/6672d2141fe4454e87fad2ba19223327/servers/7dd2e3cb-70c6-44aa-8976-967eef519752/os-volume_attachments HTTP/1.1\r\nHost:                        16.77.8.231:8774\r\nContent-Length: 59\r\nx-auth-project-id: openstackDemo\r\naccept-encoding: gzip, deflate\r\naccept: application/j                       son\r\nx-auth-token: 9053bb1410a742b2aaa42a7ec1539180\r\nuser-agent: python-novaclient\r\ncontent-type: application/json\r\n\r\n{"volumeAttachment": {"device": "/dev/vdb", "volumeId": 2}}'<BR>reply: 'HTTP/1.1 404 Not Found\r\n'<BR>header: Content-Length: 78<BR>header: Content-Type: application/json; charset=UTF-8<BR>header: X-Compute-Request-Id: req-8ac705cc-8531-4353-9d9f-1e4083570c20<BR>header:
 Date: Sat, 19 May 2012 13:43:53 GMT<BR>DEBUG (shell:416) The resource could not be found. (HTTP 404)<BR>Traceback (most recent call last):<BR>  File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2012.1-py2.7.egg/novaclient/shell.py", line 413, in main<BR>    OpenStackComputeShell().main(sys.argv[1:])<BR>  File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2012.1-py2.7.egg/novaclient/shell.py", line 364, in main<BR>    args.func(self.cs, args)<BR>  File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2012.1-py2.7.egg/novaclient/v1_1/shell.py", line 927, in do_volume_at                       tach<BR>    args.device)<BR>  File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2012.1-py2.7.egg/novaclient/v1_1/volumes.py", line 103, in
 create_ser                       ver_volume<BR>    body, "volumeAttachment")<BR>  File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2012.1-py2.7.egg/novaclient/base.py", line 157, in _create<BR>    resp, body = self.api.client.post(url, body=body)<BR>  File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2012.1-py2.7.egg/novaclient/client.py", line 139, in post<BR>    return self._cs_request(url, 'POST', **kwargs)<BR>  File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2012.1-py2.7.egg/novaclient/client.py", line 124, in _cs_request<BR>    **kwargs)<BR>  File "/usr/local/lib/python2.7/dist-packages/python_novaclient-2012.1-py2.7.egg/novaclient/client.py", line 107, in request<BR>    raise
 exceptions.from_response(resp, body)<BR>NotFound: The resource could not be found. (HTTP 404)<BR>ERROR: The resource could not be found. (HTTP 404)<BR></div>
<div style="RIGHT: auto">Thanks,</div>
<div style="RIGHT: auto">-vj<VAR id=yui-ie-cursor></VAR></div>
<div style="RIGHT: auto"> </div>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV style="RIGHT: auto" id=yiv958815333>
<DIV style="RIGHT: auto">
<DIV style="BACKGROUND-COLOR: #fff; FONT-FAMILY: tahoma, new york, times, serif; COLOR: #000; FONT-SIZE: 10pt">
<DIV style="FONT-FAMILY: tahoma, new york, times, serif; FONT-SIZE: 10pt">
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt">
<DIV style="RIGHT: auto" dir=ltr><FONT size=2 face=Arial>----- Forwarded Message -----<BR><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> John Griffith <john.griffith@solidfire.com><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> vijayrg@yahoo.com <BR><B><SPAN style="FONT-WEIGHT: bold">Cc:</SPAN></B> openstack@lists.launchpad.net <BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Friday, May 18, 2012 10:31 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Openstack] Essex horizon dashboard - volume snapshot issue<BR></FONT></DIV><BR>On Fri, May 18, 2012 at 7:54 PM, Vijay <<A href="mailto:vijayrg@yahoo.com" rel=nofollow target=_blank ymailto="mailto:vijayrg@yahoo.com">vijayrg@yahoo.com</A>> wrote:<BR>> Hello,<BR>> On Essex Dashboard, I am able to create a snapshot of a volume successfully. However, when I click on the volume snapshot to look at the details, I get "Error: Unable to retrieve volume details".
 This error occurs only when retrieving the details of volume snapshots only. The volume details of the volume created from the scratch shows up correctly.<BR>><BR>> Also, on the horizon dashboard, there is no option to attach the volume snapshot to any running instance. I see only delete snapshot option. If it is by design, then, how is volume snapshot is going to be used?<BR>><BR>> Any help is appreciated.<BR>><BR>> Thanks,<BR>> -vj<BR>><BR>> _______________________________________________<BR>> Mailing list: <A href="https://launchpad.net/~openstack" rel=nofollow target=_blank>https://launchpad.net/~openstack</A><BR>> Post to     : <A href="mailto:openstack@lists.launchpad.net" rel=nofollow target=_blank ymailto="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</A><BR>> Unsubscribe : <A href="https://launchpad.net/~openstack" rel=nofollow
 target=_blank>https://launchpad.net/~openstack</A><BR>> More help   : <A href="https://help.launchpad.net/ListHelp" rel=nofollow target=_blank>https://help.launchpad.net/ListHelp</A><BR><BR>Hi VJ,<BR><BR>I believe you may have discovered a bug in the current version of<BR>code.  Are you using the latest Folsom version (ie devstack)?  Check<BR>your Horizon logs and you'll notice a number of errors when trying to<BR>perform this operation.  Perhaps some Horizon folks here have some<BR>knowledge of this, otherwise I can look into it further next week and<BR>file a bug if necessary.<BR><BR>Meanwhile, you can use python-novaclient to perform a 'nova<BR>volume-snapshot-show' which is the information that would be reported<BR>from the Horizon details page you're trying to retrieve.<BR><BR>Thanks,<BR>John<BR><BR>_______________________________________________<BR>Mailing list: <A href="https://launchpad.net/~openstack" rel=nofollow
 target=_blank>https://launchpad.net/~openstack</A><BR>Post to    : <A href="mailto:openstack@lists.launchpad.net" rel=nofollow target=_blank ymailto="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</A><BR>Unsubscribe : <A href="https://launchpad.net/~openstack" rel=nofollow target=_blank>https://launchpad.net/~openstack</A><BR>More help  : <A href="https://help.launchpad.net/ListHelp" rel=nofollow target=_blank>https://help.launchpad.net/ListHelp</A><BR><BR><BR></DIV></DIV></DIV></DIV></DIV>
<META content=on http-equiv=x-dns-prefetch-control><BR><BR></DIV></DIV></div></body></html>