<div dir="ltr">Hi Nikesh,<div><br></div><div>There's a script in devstack, 'driver_certs/cinder_driver_cert.sh' that is used to test third party drivers. It will run all the necessary tests to get your driver tested. After run, the script says if your driver passed or failed. I see that you are using <span style="font-family:arial,sans-serif;color:rgb(0,0,0);font-size:13px">TEMPEST_VOLUME_DRIVER, </span><span style="font-family:arial,sans-serif;color:rgb(0,0,0);font-size:13px">TEMPEST_VOLUME_VENDOR and </span><span style="font-family:arial,sans-serif;color:rgb(0,0,0);font-size:13px">TEMPEST_STORAGE_PROTOCOL. I usually set those options on /opt/stack/tempest/etc/tempest.conf. Not sure if they are the same, but worth to change if your driver is not passing.</span></div>
<div><span style="font-family:arial,sans-serif;color:rgb(0,0,0);font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;color:rgb(0,0,0);font-size:13px">Erlon</span></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, Aug 1, 2014 at 5:32 AM, Nikesh Kumar Mahalka <span dir="ltr"><<a href="mailto:nikeshmahalka@vedams.com" target="_blank">nikeshmahalka@vedams.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">I deployed a single node devstack on Ubuntu 14.04.</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">This devstack belongs to Juno.</span><div>
<font face="arial, sans-serif">I have written a cinder-volume driver for my client backend.</font></div><div><font face="arial, sans-serif">I want to contribute this driver in Juno release.</font></div><div><font face="arial, sans-serif">As i analyzed the contribution process,it is telling to run tempest tests for Continuous Integration.</font></div>
<div><font face="arial, sans-serif"><br></font><div><font face="arial, sans-serif">Could any one tell me h</font><span style="font-family:arial,sans-serif">ow and which tempest tests to run on this devstack deployment for cinder volume driver?</span></div>
<div>Also tempest has many test cases.Do i have to pass all tests for contribution of my driver?</div><div><br></div><div>Also am i missing any thing thing in below local.conf?</div><div><br></div><div><div><div><div><span style="font-family:arial,sans-serif;font-size:13px"><b><u>Below are steps for my devstack deployment:</u></b></span><br style="font-family:arial,sans-serif;font-size:13px">
<br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">1) git clone </span><a href="https://github.com/openstack-dev/devstack.git" style="font-family:arial,sans-serif;font-size:13px" target="_blank">https://github.com/openstack-dev/devstack.git</a><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">2)cd devstack</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">3)vi local.conf</span><br style="font-family:arial,sans-serif;font-size:13px">
<br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">[[local|localrc]]</span><br style="font-family:arial,sans-serif;font-size:13px"><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">ADMIN_PASSWORD=some_password</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">DATABASE_PASSWORD=$ADMIN_</span><span style="font-family:arial,sans-serif;font-size:13px">PASSWORD</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">RABBIT_PASSWORD=$ADMIN_</span><span style="font-family:arial,sans-serif;font-size:13px">PASSWORD</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">SERVICE_PASSWORD=$ADMIN_</span><span style="font-family:arial,sans-serif;font-size:13px">PASSWORD</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">SERVICE_TOKEN=ADMIN</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">FLAT_INTERFACE=eth0</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">FIXED_RANGE=</span><a href="http://192.168.2.80/29" style="font-family:arial,sans-serif;font-size:13px" target="_blank">192.168.2.80/29</a><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">#FLOATING_RANGE=</span><a href="http://192.168.20.0/25" style="font-family:arial,sans-serif;font-size:13px" target="_blank">192.168.20.0/25</a><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">HOST_IP=192.168.2.64</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">LOGFILE=$DEST/logs/stack.sh.</span><span style="font-family:arial,sans-serif;font-size:13px">log</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">SCREEN_LOGDIR=$DEST/logs/</span><span style="font-family:arial,sans-serif;font-size:13px">screen</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">SYSLOG=True</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">SYSLOG_HOST=$HOST_IP</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">SYSLOG_PORT=516</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">RECLONE=yes</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">CINDER_ENABLED_BACKENDS=</span><span style="font-family:arial,sans-serif;font-size:13px">client:client_driver</span></div>
<div><div><font face="arial, sans-serif">TEMPEST_VOLUME_DRIVER=client_iscsi</font></div><div><font face="arial, sans-serif">TEMPEST_VOLUME_VENDOR="CLIENT"</font></div><div><font face="arial, sans-serif">TEMPEST_STORAGE_PROTOCOL=iSCSI</font></div>
<div><font face="arial, sans-serif">VOLUME_BACKING_FILE_SIZE=20G</font></div><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">[[post-config|$CINDER_CONF]]</span><br style="font-family:arial,sans-serif;font-size:13px">
<br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">[client_driver]</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">volume_driver=cinder.volume.</span><span style="font-family:arial,sans-serif;font-size:13px">drivers.san.client.iscsi.</span><span style="font-family:arial,sans-serif;font-size:13px">client_iscsi.ClientISCSIDriver</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">san_ip = 192.168.2.192</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">san_login = some_name</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">san_password =some_password</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">client_iscsi_ips = 192.168.2.193</span><br style="font-family:arial,sans-serif;font-size:13px">
<br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">4)./stack.sh</span><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><br></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>