<br><br><div class="gmail_quote">On Fri, Jan 4, 2013 at 11:39 AM, Akira Yoshiyama <span dir="ltr"><<a href="mailto:akirayoshiyama@gmail.com" target="_blank">akirayoshiyama@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi all,<br>
<br>
JOSUG (Japanese OpenStack User Group) had a regular hackathon in Tokyo<br>
last month.<br>
We discussed about Quantum and Cinder, and got an idea about 'cinder-agent'.<br>
<br>
Now Cinder has many server-side drivers for volume service and nova-compute has<br>
client-side drivers to use it. If other software like CloudStack,<br>
OpenNebula and so on use<br>
Cinder, they will have to implement their own client-side drivers for<br>
Cinder. But they don't<br>
have to do it for Quantum because it has a client service<br>
'quantum-agent' and others.<br>
<br>
I think Cinder should have its own client service 'cinder-agent'.<br>
There are many benefits:<br>
<br>
* We can remove volume-related drivers (server/client side) from Nova perfectly.<br>
  * Nova can be used with newer/older Cinder.<br>
  * Both-side volume drivers can be added or updated with one patch for Cinder.<br>
* Attaching/detaching volume API can be simple because Cinder can use<br>
RPC to do them.<br>
  For example:<br>
    Attaching volume request:<br>
      POST /v2/{tenant_id}/servers/{server_id}/os-volume_attachments_with_agent<br>
      {'volume'] '{volume_id}', 'host': '{host_name}'}<br>
    Response body:<br>
      {'volume': '{volume_id}', 'host': '{host_name}', 'path': '{device_path}'}<br>
    # {host_name}: the host name with nova-compute and cinder-agent<br>
* Of course, any software can use Cinder without client-side volume drivers.<br>
<br>
Any comments?<br>
<br>
Regards,<br>
   Akira YOSHIYAMA <<a href="mailto:akirayoshiyama@gmail.com">akirayoshiyama@gmail.com</a>><br>
<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</blockquote></div>Hi Akira,<div><br></div><div>This is something I've thought about a little bit but to be honest it's been very low on my priority list.  I've be very interested in pursuing the idea further and getting more input/feedback from the community.  I think there are some significant benefits to this for NTT and a few other end users as well as obvious wins for those vendors with storage drivers in Cinder.</div>

<div><br></div><div>Thanks,</div><div>John</div>