<div dir="ltr">Thanks for the info!<div><br></div><div>I think for the migration use case this would definitely solve the issue, but for the image cache we would need more as we would be creating volume objects and need to track them in the Cinder database. We could use a system like that to essentially put a 'hidden' flag in the meta-data entries of the cached images, but its not much better than just adding a hidden flag in regards to having to filter them out from api calls and not accounting for them in quota anywhere.</div><div><br></div><div>Alternatives for using a special tenant are definitely worth considering, I admit its not really an ideal solution, but it happens to be fairly appealing for the problem we are solving. I'll take a closer look at the Manilla changes and adjust the spec's I have for cinder as needed.</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">-Patrick</div></div></div>
<br><div class="gmail_quote">On Wed, May 27, 2015 at 11:01 PM, Sheng Bo Hou <span dir="ltr"><<a href="mailto:sbhou@cn.ibm.com" target="_blank">sbhou@cn.ibm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font size="2" face="sans-serif">Hi Valeriy, </font>
<br>
<br><font size="2" face="sans-serif">Thank you for telling me about the private
driver storage feature from Manila. I have reviewed the patch and it can
definitely resolve the dummy destination volume issue I have during migration
in Cinder. I do not deny that it is a good approach.</font>
<br>
<br><font size="2" face="sans-serif">However, I need to put Patrick in the
CC list to make him aware of this. During the previous Cinder IRC, we made
an agreement that Cinder will go along this approach to consider all the
common issues by introducing a cinder-internal tenant. Please check the
cinder-spec: </font><a href="https://review.openstack.org/#/c/186232/" target="_blank"><font size="2" color="blue" face="sans-serif">https://review.openstack.org/#/c/186232/</font></a><font size="2" face="sans-serif">.
I guess cinder will go along this approach. </font>
<br>
<br><font size="2" face="sans-serif">@Patrick, I am not sure what our implementation
is gonna be. Is it possible that similar data model can be used for cinder
as it is in Manila? Please check </font><a href="https://review.openstack.org/#/c/176877/" target="_blank"><font size="3" color="blue"><u>https://review.openstack.org/#/c/176877/</u></font></a>
<br>
<br><font size="2" face="sans-serif">Best wishes,<br>
Vincent Hou (侯胜博)<br>
<br>
Staff Software Engineer, Open Standards and Open Source Team, Emerging
Technology Institute, IBM China Software Development Lab<br>
<br>
Tel: 86-10-82450778 Fax: 86-10-82453660<br>
Notes ID: Sheng Bo Hou/China/IBM@IBMCN    E-mail: <a href="mailto:sbhou@cn.ibm.com" target="_blank">sbhou@cn.ibm.com</a>
<br>
Address:3F Ring, Building 28 Zhongguancun Software Park, 8 Dongbeiwang
West Road, Haidian District, Beijing, P.R.C.100193<br>
地址:北京市海淀区东北旺西路8号中关村软件园28号楼环宇大厦3层
邮编:100193</font>
<br>
<br>
<br>
<p></p><table width="100%" style="border-collapse:collapse">
<tbody><tr valign="top" height="8">
<td width="40%" style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px"><font size="1" face="sans-serif"><b>Valeriy
Ponomaryov <<a href="mailto:vponomaryov@mirantis.com" target="_blank">vponomaryov@mirantis.com</a>></b> </font>
<p><font size="1" face="sans-serif">05/27/2015 02:12 PM</font>
</p><table width="169" style="border-collapse:collapse">
<tbody><tr valign="top" height="8">
<td width="167" bgcolor="white" style="border-style:solid solid solid solid;border-color:#000000;border-width:1px 1px 1px 1px;padding:0px 0px">
<div align="center"><font size="1" face="sans-serif">Please respond to<br>
"OpenStack Development Mailing List \(not for usage questions\)"
<<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>></font></div></td></tr></tbody></table>
<br>
</td><td width="59%" style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px">
<table width="100%" style="border-collapse:collapse">
<tbody><tr valign="top" height="21">
<td width="57" style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px">
<div align="right"><font size="1" face="sans-serif">To</font></div>
</td><td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px"><font size="1" face="sans-serif">"OpenStack
Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a>></font>
</td></tr><tr valign="top" height="21">
<td width="57" style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px">
<div align="right"><font size="1" face="sans-serif">cc</font></div>
</td><td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px"><font size="1" face="sans-serif"><a href="mailto:rodrigo.barbieri2010@gamil.com" target="_blank">rodrigo.barbieri2010@gamil.com</a></font>
</td></tr><tr valign="top" height="21">
<td width="57" style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px">
<div align="right"><font size="1" face="sans-serif">Subject</font></div>
</td><td style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px"><font size="1" face="sans-serif">Re:
[openstack-dev] [Manila] About how to hide the dummy destination record
during migration</font></td></tr></tbody></table>
<br>
<table width="393" style="border-collapse:collapse">
<tbody><tr valign="top" height="8">
<td width="57" style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px">
</td><td width="336" style="border-style:none none none none;border-color:#000000;border-width:0px 0px 0px 0px;padding:0px 0px"></td></tr></tbody></table>
<br></td></tr></tbody></table>
<br>
<br>
<br><font size="3">Hello Vincent Hou,</font>
<br>
<br><font size="3" face="sans-serif">We, Manila folks, are about to merge
one of new features - "private driver storage" [1]. That is going
to serve for not-user facing data storage related to any resource that
can be reached by both - API and share driver.</font>
<br>
<br><font size="3" face="sans-serif">And in case of share migration, it will
be possible to avoid creation of "temporary share" DB record
and use this data storage for storing all required data per each share.</font>
<br>
<br><font size="3" face="sans-serif">Please, look at it, and provide feedback, whether
such approach can be used in your case or not and why.</font>
<br>
<br><font size="3">[1] - </font><a href="https://review.openstack.org/#/c/176877/" target="_blank"><font size="3" color="blue"><u>https://review.openstack.org/#/c/176877/</u></font></a>
<br>
<br><font size="3">Kind regards,</font>
<br>
<br><font size="3">Valeriy Ponomaryov</font>
<br>
<br><font size="3">On Wed, May 27, 2015 at 7:28 AM, Sheng Bo Hou <</font><a href="mailto:sbhou@cn.ibm.com" target="_blank"><font size="3" color="blue"><u>sbhou@cn.ibm.com</u></font></a><font size="3">>
wrote:</font>
<br><font size="2" face="sans-serif">Hi everyone working for Manila,</font><font size="3">
<br>
</font><font size="2" face="sans-serif"><br>
This is Vincent Hou from IBM. I am working on all the migration issues
in Cinder.</font><font size="3"> <br>
</font><font size="2" face="sans-serif"><br>
I had one session for the Cinder migration issue in Vancouver and some
of you folks attended it. The etherpad link is </font><a href="https://etherpad.openstack.org/p/volume-migration-improvement" target="_blank"><font size="2" color="blue" face="sans-serif"><u>https://etherpad.openstack.org/p/volume-migration-improvement</u></font></a><font size="3">
</font><font size="2" face="sans-serif"><br>
Per the issue that we had better not let the user see the target volume
during migration when issuing command "cinder list", we can add
an additional flag into the volume table, for example, "hidden",
into it. The default value is 0, meaning that it will display for "cinder
list". For the target volume during migration. We can set it to 1,
so the user will not be able to see it with the command "cinder list".
I think it is a straightforward approach we can go with. I just sync up
with you folks, so that we can have a consistent way to resolve this issue
in both Cinder and Manila. I just need to make sure we are on the same
page. Is this solution OK with you folks? Especially @Rodrigo Barbieri
and @Erlon Cruz, etc.</font><font size="3"> <br>
</font><font size="2" face="sans-serif"><br>
Looking forward to hearing from you. Thanks.</font><font size="3"> <br>
</font><font size="2" face="sans-serif"><br>
Best wishes,<br>
Vincent Hou (侯胜博)<br>
<br>
Staff Software Engineer, Open Standards and Open Source Team, Emerging
Technology Institute, IBM China Software Development Lab<br>
<br>
Tel: 86-10-82450778 Fax: 86-10-82453660<br>
Notes ID: Sheng Bo Hou/China/IBM@IBMCN    E-mail: </font><a href="mailto:sbhou@cn.ibm.com" target="_blank"><font size="2" color="blue" face="sans-serif"><u>sbhou@cn.ibm.com</u></font></a><font size="2" face="sans-serif">
<br>
Address:3F Ring, Building 28 Zhongguancun Software Park, 8 Dongbeiwang
West Road, Haidian District, Beijing, P.R.C.100193<br>
地址:北京市海淀区东北旺西路8号中关村软件园28号楼环宇大厦3层
邮编:100193</font><font size="3"> <br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: </font><a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank"><font size="3" color="blue"><u>OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</u></font></a><font size="3" color="blue"><u><br>
</u></font><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank"><font size="3" color="blue"><u>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</u></font></a><tt><font size="2">__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
</font></tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank"><tt><font size="2">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</font></tt></a><tt><font size="2"><br>
</font></tt>
<br>
</blockquote></div><br></div></div>