<div dir="ltr"><div class="gmail_default" style="font-family:'courier new',monospace"><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 15, 2014 at 10:29 AM, Asselin, Ramy <span dir="ltr"><<a href="mailto:ramy.asselin@hp.com" target="_blank">ramy.asselin@hp.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">John,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">We’re running master on every patch set. What needs to be set in localrc?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Actually, I think I know what could be the issue (still need to confirm)<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p><u></u><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><span>1.<span style="font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;font-family:'Times New Roman'">      
</span></span></span><u></u><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">devstack-gate/devstack-vm-gate-wrap.sh configures localrc<u></u><u></u></span></p>
<p><u></u><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><span>2.<span style="font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;font-family:'Times New Roman'">      
</span></span></span><u></u><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">We configuring the cinder backend in local.conf. We’re not setting CINDER_ENABLED_BACKENDS variable which stack.sh is looking at. [1]</span></p>

</div></div></blockquote><div class="gmail_default" style="font-family:'courier new',monospace">​Correct, that's what you need.​</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div lang="EN-US" link="blue" vlink="purple"><div><p><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u><u></u></span></p>
<p><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Question: How do you configure devstack-gate/devstack-vm-gate-wrap.sh to set CINDER_ENABLED_BACKENDS in localrc?</span></p>

</div></div></blockquote><div class="gmail_default" style="font-family:'courier new',monospace">​Recent change that honestly I never felt was really clear, but in your localrc:</div><div class="gmail_default" style="font-family:'courier new',monospace">

CINDER_ENABLED_BACKENDS={BACKEND_TYPE}:{BACKEND_NAME}, the work is done here:</div><div class="gmail_default" style="font-family:'courier new',monospace"><a href="https://github.com/openstack-dev/devstack/blob/master/lib/cinder#L467">https://github.com/openstack-dev/devstack/blob/master/lib/cinder#L467</a></div>

<div class="gmail_default" style="font-family:'courier new',monospace">​</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Ramy<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">[1]
<a href="http://15.126.198.151/09/114509/2/check/dsvm-tempest-hp-lefthand/b8e7c4d/logs/devstacklog.txt.gz" target="_blank">
http://15.126.198.151/09/114509/2/check/dsvm-tempest-hp-lefthand/b8e7c4d/logs/devstacklog.txt.gz</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">2014-08-15 14:10:57.619 | + create_        2014-08-15 14:10:57.619 | + create_volume_types<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">2014-08-15 14:10:57.619 | + is_service_enabled c-api<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">2014-08-15 14:10:57.625 | + return 0<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">2014-08-15 14:10:57.625 | + [[ -n lvm:lvmdriver-1 ]]<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">2014-08-15 14:10:57.625 | + for be in '${CINDER_ENABLED_BACKENDS//,/ }'<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">2014-08-15 14:10:57.625 | + BE_TYPE=lvm<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">2014-08-15 14:10:57.626 | + BE_NAME=lvmdriver-1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">2014-08-15 14:10:57.626 | + type configure_cinder_backend_lvm<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">2014-08-15 14:10:57.626 | + cinder type-create lvmdriver-1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">2014-08-15 14:10:59.324 | +--------------------------------------+-------------+<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">2014-08-15 14:10:59.324 | |                  ID                  |     Name    |<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">2014-08-15 14:10:59.324 | +--------------------------------------+-------------+<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">2014-08-15 14:10:59.324 | | 5c154cdd-2fa3-4056-a669-f535b33d3105 | lvmdriver-1 |<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">2014-08-15 14:10:59.324 | +--------------------------------------+-------------+<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">2014-08-15 14:10:59.360 | + cinder type-key lvmdriver-1 set volume_backend_name=lvmdriver-1<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11pt;font-family:Calibri,sans-serif">From:</span></b><span style="font-size:11pt;font-family:Calibri,sans-serif"> John Griffith [mailto:<a href="mailto:john.griffith@solidfire.com" target="_blank">john.griffith@solidfire.com</a>]
<br>
<b>Sent:</b> Friday, August 15, 2014 6:48 AM</span></p><div class=""><br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
</div><div><div class="h5"><b>Subject:</b> Re: [openstack-dev] [Cinder] 3'rd party CI systems: Not Whitelisted Volume type with name * could not be found.<u></u><u></u></div></div><p></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-family:'Courier New'"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Fri, Aug 15, 2014 at 6:39 AM, Kerr, Andrew <<a href="mailto:Andrew.Kerr@netapp.com" target="_blank">Andrew.Kerr@netapp.com</a>> wrote:<u></u><u></u></p>
<blockquote style="border-style:none none none solid;border-left-color:rgb(204,204,204);border-left-width:1pt;padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal">Can the default_volume_type be left empty and get the original "None"<br>
type, so we don't have to create the volume type prior to running tempest<br>
tests?<br>
<br>
Andrew Kerr<br>
OpenStack QA<br>
Cloud Solutions Group<br>
NetApp<br>
<br>
<br>
<br>
On 8/14/14, 5:23 PM, "Martin, Kurt Frederick (ESSN Storage MSDU)"<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><<a href="mailto:kurt.f.martin@hp.com" target="_blank">kurt.f.martin@hp.com</a>> wrote:<br>
<br>
>They need to be manually added.<br>
><br>
>-----Original Message-----<br>
>From: Asselin, Ramy<br>
>Sent: Thursday, August 14, 2014 2:17 PM<br>
>To: OpenStack Development Mailing List (not for usage questions)<br>
>Subject: Re: [openstack-dev] [Cinder] 3'rd party CI systems: Not<br>
>Whitelisted Volume type with name * could not be found.<br>
><br>
>Both configurations have that set as you described. [1][2] Who actually<br>
>creates that volume type? Is that supposed to be added manually to<br>
>local.sh, or is this a bug in devstack?<br>
><br>
>[1]<br>
><a href="http://publiclogs.emc.com/vnx_ostack/EMC_VNX_FC/212/logs/etc/cinder/cinder" target="_blank">http://publiclogs.emc.com/vnx_ostack/EMC_VNX_FC/212/logs/etc/cinder/cinder</a><br>
>.conf.txt.gz<br>
>[DEFAULT]<br>
>default_volume_type = cat_1<br>
><br>
>[2]<br>
><a href="http://15.126.198.151/60/111460/18/check/dsvm-tempest-hp-lefthand/3ee1598/" target="_blank">http://15.126.198.151/60/111460/18/check/dsvm-tempest-hp-lefthand/3ee1598/</a><br>
>logs/etc/cinder/cinder.conf.txt.gz<br>
>[DEFAULT]<br>
>default_volume_type = dot<br>
><br>
>-----Original Message-----<br>
>From: Martin, Kurt Frederick (ESSN Storage MSDU)<br>
>Sent: Thursday, August 14, 2014 2:00 PM<br>
>To: OpenStack Development Mailing List (not for usage questions)<br>
>Subject: Re: [openstack-dev] [Cinder] 3'rd party CI systems: Not<br>
>Whitelisted Volume type with name * could not be found.<br>
><br>
>Cinder.conf needs to have a default_volume_type  entry set under the<br>
>[Default] group and a volume type that is valid, for example,<br>
>default_volume_type=bronze. This allows for a volume to be created when a<br>
>volume type is not selected, the default 'None'  type. This feature has<br>
>been available for some time in cinder but recently enabled in devstack.<br>
>~Kurt<br>
><br>
>-----Original Message-----<br>
>From: Asselin, Ramy<br>
>Sent: Thursday, August 14, 2014 10:00 AM<br>
>To: OpenStack Development Mailing List (not for usage questions)<br>
>Subject: [openstack-dev] [Cinder] 3'rd party CI systems: Not Whitelisted<br>
>Volume type with name * could not be found.<br>
><br>
>Hi,<br>
><br>
>Does anyone know how to configure cinder ci tests to not have these<br>
>errors?<br>
><br>
>12:32:11 *** Not Whitelisted *** 2014-08-14 12:23:<a href="tel:56.179%2018021" value="+15617918021" target="_blank">56.179 18021</a> ERROR<br>
>cinder.volume.volume_types [req-c9ec92ab-132b-4167-a467-15bd213659e8<br>
>bd1f54a867ce47acb4097cd94149efa0 d15dcf4cb3c7495389799ec849e9036d - - -]<br>
>Default volume type is not found, please check default_volume_type<br>
>config: Volume type with name dot could not be found.<br>
><br>
>17:43:28 *** Not Whitelisted *** 2014-08-11 17:31:20.343 2097 ERROR<br>
>cinder.volume.volume_types [req-01e539ad-5357-4a0f-8d58-464b970114f9<br>
>f72cd499be584d9d9585bc26ca71c603 d845ad2d7e6a47dfb84bdf0754f60384 - - -]<br>
>Default volume type is not found, please check default_volume_type<br>
>config: Volume type with name cat_1 could not be found.<br>
><br>
><a href="http://15.126.198.151/60/111460/18/check/dsvm-tempest-hp-lefthand/3ee1598/" target="_blank">http://15.126.198.151/60/111460/18/check/dsvm-tempest-hp-lefthand/3ee1598/</a><br>
>console.html<br>
><a href="http://publiclogs.emc.com/vnx_ostack/EMC_VNX_FC/212/console.html" target="_blank">http://publiclogs.emc.com/vnx_ostack/EMC_VNX_FC/212/console.html</a><br>
><br>
>Thanks,<br>
>Ramy<br>
><br>
>_______________________________________________<br>
>OpenStack-dev mailing list<br>
><a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
>_______________________________________________<br>
>OpenStack-dev mailing list<br>
><a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
>_______________________________________________<br>
>OpenStack-dev mailing list<br>
><a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
>_______________________________________________<br>
>OpenStack-dev mailing list<br>
><a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><u></u><u></u></p>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:'Cambria Math',serif">​</span><span style="font-family:'Courier New'">Update your devstack, it should be creating this for you.  There's a call in stack.sh to create_volume_types (which is in lib/cinder).  If
 this isn't working for you, double check your localrc setting.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:'Courier New'"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:'Courier New'">John</span><span style="font-family:'Cambria Math',serif">​</span><span style="font-family:'Courier New'"><u></u><u></u></span></p>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div></div></div>
</div>

<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div></div>