John this function is workable in Icehouse I believe, the Nova side (for libvirt only) code has been merged in this cycle early.
I also had given the answer for this question at: https://answers.launchpad.net/cinder/+question/243863 zhiyan On Fri, Feb 14, 2014 at 1:10 PM, John Griffith <[email protected]> wrote: > On Thu, Feb 13, 2014 at 7:54 PM, minmin ren <[email protected]> wrote: >> I found cinder havana version is added a new feature about the read-only >> volume. >> So I create a volume with setting volume metadata with key="readonly" and >> value="True", and attached it to an instance. >> However, it doesn't work. I can write data in volume. >> >> Any wrong with my steps? >> How could I use the read-only volume? >> Has been multi-attach readonly volume supported? >> >> >> _______________________________________________ >> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >> Post to : [email protected] >> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >> > Unfortunately this isn't something that's usable at this point. What > you are seeing in the code are the beginnings of an effort that was > started but never picked back up this cycle. I'll have a look at > where this is at but may revert the code for icehouse it's picked back > up. There's no API call specifically because we weren't ready to > expose this yet. > > Thanks, > John > > _______________________________________________ > Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > Post to : [email protected] > Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack _______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
