[openstack-dev] how and which tempest tests to run

Erlon Cruz sombrafam at gmail.com
Fri Aug 1 12:12:01 UTC 2014


Hi Nikesh,

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 TEMPEST_VOLUME_DRIVER,  TEMPEST_VOLUME_VENDOR
and 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.

Erlon


On Fri, Aug 1, 2014 at 5:32 AM, Nikesh Kumar Mahalka <
nikeshmahalka at vedams.com> wrote:

> I deployed a single node devstack on Ubuntu 14.04.
> This devstack belongs to Juno.
> I have written a cinder-volume driver for my client backend.
> I want to contribute this driver in Juno release.
> As i analyzed the contribution process,it is telling to run tempest tests
> for Continuous Integration.
>
> Could any one tell me how and which tempest tests to run on this devstack
> deployment for cinder volume driver?
> Also tempest has many test cases.Do i have to pass all tests for
> contribution of my driver?
>
> Also am i missing any thing thing in below local.conf?
>
> *Below are steps for my devstack deployment:*
>
> 1) git clone https://github.com/openstack-dev/devstack.git
> 2)cd devstack
> 3)vi local.conf
>
> [[local|localrc]]
>
> ADMIN_PASSWORD=some_password
> DATABASE_PASSWORD=$ADMIN_PASSWORD
> RABBIT_PASSWORD=$ADMIN_PASSWORD
> SERVICE_PASSWORD=$ADMIN_PASSWORD
> SERVICE_TOKEN=ADMIN
> FLAT_INTERFACE=eth0
> FIXED_RANGE=192.168.2.80/29
> #FLOATING_RANGE=192.168.20.0/25
> HOST_IP=192.168.2.64
> LOGFILE=$DEST/logs/stack.sh.log
> SCREEN_LOGDIR=$DEST/logs/screen
> SYSLOG=True
> SYSLOG_HOST=$HOST_IP
> SYSLOG_PORT=516
> RECLONE=yes
> CINDER_ENABLED_BACKENDS=client:client_driver
> TEMPEST_VOLUME_DRIVER=client_iscsi
> TEMPEST_VOLUME_VENDOR="CLIENT"
> TEMPEST_STORAGE_PROTOCOL=iSCSI
> VOLUME_BACKING_FILE_SIZE=20G
>
> [[post-config|$CINDER_CONF]]
>
> [client_driver]
> volume_driver=cinder.volume.drivers.san.client.iscsi.
> client_iscsi.ClientISCSIDriver
> san_ip = 192.168.2.192
> san_login = some_name
> san_password =some_password
> client_iscsi_ips = 192.168.2.193
>
> 4)./stack.sh
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140801/07b2a8af/attachment.html>


More information about the OpenStack-dev mailing list