Re: [openstack-dev] ][third-party-ci]Running custom code before tests
Hi, I think you pointed me to the wrong file, the devstack-gate yaml (and line 2201 contains timestamps). I need an example of how to configure tempest to use my driver. I tried EXPORT in the jenkins job (before executing dsvm shell script) but looking at the tempest.txt (log) it shows that it still uses the defaults. How do i overwrite those defaults? Thanks, Eduard __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] ][third-party-ci]Running custom code before tests
HI, this file has changed since yesterday, New link is https://github.com/openstack-infra/project-config/blob/master/jenkins/jobs/devstack-gate.yaml#L2146 or you can find these lines by yourself - export DEVSTACK_LOCAL_CONFIG=CINDER_ISCSI_HELPER=lioadm export DEVSTACK_LOCAL_CONFIG+=$'\n'CINDER_LVM_TYPE=thin I mean that you can try to change CINDER_ISCSI_HELPER in devstack. On Thu, Aug 13, 2015 at 9:47 AM, Eduard Matei eduard.ma...@cloudfounders.com wrote: Hi, I think you pointed me to the wrong file, the devstack-gate yaml (and line 2201 contains timestamps). I need an example of how to configure tempest to use my driver. I tried EXPORT in the jenkins job (before executing dsvm shell script) but looking at the tempest.txt (log) it shows that it still uses the defaults. How do i overwrite those defaults? Thanks, Eduard __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Kind regards, Andrey Pavlov. __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] ][third-party-ci]Running custom code before tests
This is what we do: https://github.com/rasselin/os-ext-testing-data/blob/master/etc/jenkins_jobs/config/dsvm-cinder-driver.yaml.sample#L23 Ramy From: Andrey Pavlov [mailto:andrey...@gmail.com] Sent: Thursday, August 13, 2015 12:11 AM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] ][third-party-ci]Running custom code before tests HI, this file has changed since yesterday, New link is https://github.com/openstack-infra/project-config/blob/master/jenkins/jobs/devstack-gate.yaml#L2146 or you can find these lines by yourself - export DEVSTACK_LOCAL_CONFIG=CINDER_ISCSI_HELPER=lioadm export DEVSTACK_LOCAL_CONFIG+=$'\n'CINDER_LVM_TYPE=thin I mean that you can try to change CINDER_ISCSI_HELPER in devstack. On Thu, Aug 13, 2015 at 9:47 AM, Eduard Matei eduard.ma...@cloudfounders.commailto:eduard.ma...@cloudfounders.com wrote: Hi, I think you pointed me to the wrong file, the devstack-gate yaml (and line 2201 contains timestamps). I need an example of how to configure tempest to use my driver. I tried EXPORT in the jenkins job (before executing dsvm shell script) but looking at the tempest.txt (log) it shows that it still uses the defaults. How do i overwrite those defaults? Thanks, Eduard __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribehttp://openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Kind regards, Andrey Pavlov. __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] ][third-party-ci]Running custom code before tests
Hi, Found some more info (finally): i added a function in the script part in the jenkins job and an export -f and it seems it's being called, so now my backend is installed and configured. I'm now trying to configure cinder to use my driver when running but i couldn't find a way to configure it. https://wiki.openstack.org/wiki/Cinder/tested-3rdParty-drivers#How_do_I_configure_DevStack_so_my_Driver_Passes_Tempest.3F mentions Sample local.conf. How do i edit that file? I tried exporting TEMPEST_VOLUME_DRIVER... but still the tests seem to use the default driver. Thanks, -- *Eduard Biceri Matei, Senior Software Developer* www.cloudfounders.com | eduard.ma...@cloudfounders.com __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] ][third-party-ci]Running custom code before tests
Hi, You can something like this - https://github.com/openstack-infra/project-config/blob/master/jenkins/jobs/devstack-gate.yaml#L2201 On Wed, Aug 12, 2015 at 2:11 PM, Eduard Matei eduard.ma...@cloudfounders.com wrote: Hi, Found some more info (finally): i added a function in the script part in the jenkins job and an export -f and it seems it's being called, so now my backend is installed and configured. I'm now trying to configure cinder to use my driver when running but i couldn't find a way to configure it. https://wiki.openstack.org/wiki/Cinder/tested-3rdParty-drivers#How_do_I_configure_DevStack_so_my_Driver_Passes_Tempest.3F mentions Sample local.conf. How do i edit that file? I tried exporting TEMPEST_VOLUME_DRIVER... but still the tests seem to use the default driver. Thanks, -- *Eduard Biceri Matei, Senior Software Developer* www.cloudfounders.com | eduard.ma...@cloudfounders.com __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev -- Kind regards, Andrey Pavlov. __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] ][third-party-ci]Running custom code before tests
Hi, Replying to my own post... i found how/where to put the pre_test_hook (in the jenkins job, in the step that executes the devstack-vm script) The problem is that now i need to execute code BETWEEN installation of devstack and start of tests. Is there a hook i can define that will be executed after devstack installed but before tests start? Thanks, -- *Eduard Biceri Matei, Senior Software Developer* www.cloudfounders.com | eduard.ma...@cloudfounders.com __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev