summaryrefslogtreecommitdiffstats
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2021-01-13Fix glance deactivate image test casesJames Gu1-1/+1
Needed to add admin_glance_update role to tempest conf that is required by Airship 1.8 glance policy Signed-off-by: James Gu <james.gu@att.com> Change-Id: I286cfbe6c5e3344962a3ba2689ccabd49846a806
2021-01-12keystone tempest full test case fixesJames Gu1-3/+5
Added domain specific driver in tempest conf Adjusted user account security enhancement configurations pull the upstream rbac adjustment for cntt Signed-off-by: James Gu <james.gu@att.com> Change-Id: I4cc8110b94ac55bc5c065e28c6df67025836a288
2020-12-17Pull upstream patchset for Nova rbac fixJames Gu1-1/+1
Also fixed the test.sh to use the simplevm patch deployed in /home/opnfv/functest folder. Pull upstream Nova policy change to fix Nova aggregate and server usage test cases Signed-off-by: James Gu <james.gu@att.com> Change-Id: Ibbdaafdf8636dbf2aca32f70baf5057a50764b11
2020-12-14Add tempest black listJames Gu4-4/+49
Signed-off-by: James Gu <james.gu@att.com> Change-Id: I341cc8faab3d9be8365bb062ae8eb80e002125e8
2020-12-09Catch NeutronNetworks.create_and_*routers in blacklistCédric Ollivier1-0/+2
It skips it if NO_TENANT_NETWORK as asked by Airship. Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I4d685a51566e063605b0fea1f6f329d4d286e467
2020-12-08Enable object discoverability in tempestCédric Ollivier1-2/+1
It's now supported and will allow pass refstack_object. Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I7e3ed3ff2a2e08468aea0578690878e52985e50a
2020-12-08Update tempest_roles in tempest_conf.yamlCédric Ollivier1-0/+2
It depends on the Functest patch "Concat both dynamic and static roles in tempest.conf" which is being backported towards Iruya [1] [1] https://gerrit.opnfv.org/gerrit/c/functest/+/71651 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Ib07df87442e398f6045a2a2d77a5543560d407f9
2020-12-04Add router testing as blacklistingCédric Ollivier1-4/+8
It conforms with the Functest change [1] [1] https://gerrit.opnfv.org/gerrit/c/functest/+/71627/1/functest/opnfv_tests/openstack/rally/blacklist.yaml Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I47f0b51b978d8f157162dbc517cae30b983901e9
2020-12-04Precise api_extensions in tempest_conf.ymlCédric Ollivier1-2/+15
Else they will be falsy assumed in a couple of tempest tests [1]. It stop setting floating_ips to false as it's dynmically handled by tempest.py. [1] https://github.com/openstack/tempest/blob/master/tempest/api/network/test_extensions.py#L43 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I78fc54a8497a3f68d8a00c4e688df09409acc1c1
2020-12-02Remove unused router l3-agent extensions and adjust keystone rgwJames Gu1-3/+13
accepted roles for functest Also added retry login when first time invoke shipyard action in the deploy script. Occasionally, genesis finishes without the ucp service apis are fully up and accept requests. Signed-off-by: James Gu <james.gu@att.com> Change-Id: Id57ef02f3d2601033a6bf42c91b74668bdf10db3
2020-11-28Fix rally blacklistJames Gu2-9/+6
Fixed the screnario name ergex to the blacklist works for ovs scenario Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Signed-off-by: James Gu <james.gu@att.com> Change-Id: I7ee852d149a601494ad5c9543a914c51362d88ea
2020-11-24functest configuration for AS 1.8James Gu5-201/+69
added rally sanity blacklist, updated tempest conf and test.sh. updated TM revision in site-definition.yaml for pod 15 and 17. Change-Id: I25b848e545a1a72428ba7d33ffebdd3f39be5b99 Signed-off-by: James Gu <james.gu@att.com>
2020-11-23Removed hard coded reference to treasuremap gerrit repoJames Gu1-12/+15
Removed hard coded reference to treasuremap gerrit repo in deploy script in favor of the global repo url defined in site definiton yaml. Signed-off-by: James Gu <james.gu@att.com> Change-Id: I67cb889174d04a6e18b454b552d31e59d2f2fd30
2020-11-19Remove asking user confirmation to cleanup genesis nodeJames Gu1-7/+0
Thsi allows the gate job to run w/o user input. Change-Id: I8f5d1263290669af05fc08fac2ff92732dedb354 Signed-off-by: James Gu <james.gu@att.com>
2020-11-12functest healthcheck failuresJames Gu6-59/+354
- Overrides the default new user role value with "_member_" - Updated treasuremap ref to include inflight upstream patches for healthcheck Updated nova and neutron overrides due to pod 15 PCI address changes for VFs - Added site name input in test.sh so it can used to test for all intel pod envs - Added init_cloud in the deployment script to create test image, flavor and provider network - Updated the heat template for pod 15 and 17 public network creation Signed-off-by: James Gu <james.gu@att.com> Change-Id: I6738d80e98332a3523e541d5178d8a920e28def5
2020-10-05Upgrade intel pod 15 to Airship 1.8James Gu3-3/+40
Depends: https://gerrit.opnfv.org/gerrit/c/airship/+/70158 Change-Id: Ic9b8a56de430d02f2f21e053a40c9c29ab40433f Signed-off-by: James Gu <james.gu@att.com>
2020-10-05Treasuremap 1.8 integrationJames Gu18-35/+1330
Upgrade pod 17 to Treasuremap 1.8 prime for CNTT RI-1. Added deploy script enhancement to include pregenesis, certs, and wrapper for shipyard cli command. Added clean-genesis script to properly clean genesis node for redeployment. Signed-off-by: James Gu <james.gu@att.com> Change-Id: I4c150ef216d5eb631a0980c72b3c6c80a55788d0 Signed-off-by: James Gu <james.gu@att.com>
2020-07-30Support for newer pyyaml version in pod 10 and 15James Gu1-0/+1
Pod 10 and 15 jumphost has upgraded pyyaml vesion that requires the pyyaml loader fix from upstream Treasuremap that is not available from 1.7. Thsi fix pulls the pyyaml patchset as a temporary workaround to support pod 10 and 15 until treasuremap 1.9 prime is integrated into OPNFV. Signed-off-by: James Gu <james.gu@att.com> Change-Id: Ic6188a29e2bfb41b4af8aa1db96521ac089f67a6
2020-05-12Added support to deploy from local airship and treasuremap repoJames Gu1-14/+24
Added the ability to deploy Airship from local airship and treasuremap folder, instead of pulling from remote repo. The use case is primarily for developers to test locally. Signed-off-by: James Gu <james.gu@att.com> Change-Id: I42b91b0c68ab2033016711e9c4d05289dbe6c002 Signed-off-by: James Gu <james.gu@att.com>
2020-01-08Deploy Script: Pubnet deployment across all pods.opensource-tnbt4-1/+71
Existing deploy.sh script configures public network only for pod17. Modified the script to configure for all pods. Renamed heat files in tools/files folder to include pod-name Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: I2899a1b95052f39f015d8896dbb2400d73e13a97
2019-12-10Fix: Add restart docker after genesis cleanupKaspars Skels1-0/+2
Change-Id: Ib38b7d0d4a85eb6884569eb17a39de7e4714e187 Signed-off-by: Kaspars Skels <kaspars.skels@att.com>
2019-11-23Allow running deploy.sh out of toolsCédric Ollivier1-10/+10
It completes "Deploy Script for all Sites." which adds this dependency [1]. [1] https://build.opnfv.org/ci/job/airship-deploy-daily-latest/46/console Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Ib8dae7b60e4bcef6f4e573762907ef12c5fdae5d
2019-11-20Merge "Deploy Script for all Sites."Kaspars Skels1-12/+14
2019-11-20Deploy Script for all Sites.Sridhar K. N. Rao1-12/+14
This patch modified deploy script to be used for all sites. Expectation: Every site should include <site_name>.env in its home folder. Change in Arguments: With this patch deploy script take site_name as first arugment. Ex: deploy.sh intel-pod10 deploy_site Added .env files for all 3 sites. Pod10 env was already present Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: I917b19c0b656e4495f7643ff2d2b73ad9ae03a11
2019-11-09Site: Intel Pod-10 Cleanup and Enable SRIOVSridhar K. N. Rao1-7/+0
This patch performs some cleanup and enable SRIOV for pod10. pod10prep.sh script is removed. Added environment file intel-pod10.env, which could be used by deploy.sh Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: I4c9759edf69511a426315a227012b5fbe9dea498
2019-10-28Site definition for Intel Pod-10Sridhar K. N. Rao2-0/+77
This patch adds site definition for Intel Pod-10. Updated publickeys of luc and trevor Updated site-definition Updated divingbell Modifying common parts - FOR TESTING ONLY - Will be removed Trying with only 1 disk (bootdisk) Trying with 2 disks - /dev/sda as bootdisk, /dev/sdb as datadisk Change ceph config from directory to /dev/sdb (OSD-data only) Change ceph config from directory to /dev/sdb (OSD-Journl too) Reduce footprint of osh-infra (reduce disk pressure) Move ceph to site specific manifests Fix pod10 host/hardware profiles to be site local Fix Nova/Neutron parts to be site local Fix glance cirros image pull Fix type to site layer names for moved files Rename pod10 hardware/host profiles Move ceph fully to /dev/sdb Disable SR-IOV configuration Optimize disk storage for Nova VMs (use root disk or 3T) Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com> Change-Id: I2160e56744917510d4627cefca32031904188f77
2019-10-03Set jump to be default GW for the public networkKaspars Skels1-2/+2
Change-Id: I69777db996e61d231e69da51df0c2b5097aec32b Signed-off-by: Kaspars Skels <kaspars.skels@att.com>
2019-09-23Update deploy.sh to be more Jenkins friendlyKaspars Skels1-0/+2
Change-Id: I4a3abd85d9dddd0139cf88e2662814b452ef67f1 Signed-off-by: Kaspars Skels <kaspars.skels@att.com>
2019-09-11Precise BLOCK_MIGRATION=False in envCédric Ollivier1-0/+1
It takes Ceph into account in Functest inputs. It completes the previous patch modifying tempest configuration [1]. [1] https://git.opnfv.org/airship/commit/?id=8ffc8773c0b66123a2d24ba477e684ebebd2cc53 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I94d353f1f024ee32fb33c7effaf8bb44e8f8349b
2019-09-10Disable Swift discoverability in tempestCédric Ollivier1-0/+2
It allows passing most of Swift tests even if bucket info is missing. Additional modifications should be applied to SUT [1]. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1252600 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I28cd5de5cda47324a5c0589b32394232c78786a3
2019-09-10Precise tempest_conf.yaml to verify AirshipCédric Ollivier1-1/+29
It sets all max microversions according to Ocata [1][2][3] and takes ceph into account (OpenStack and Functest gates leverage on iSCSI [4]). [1] https://docs.openstack.org/cinder/latest/contributor/api_microversion_history.html [2] https://docs.openstack.org/nova/latest/reference/api-microversion-history.html [3] https://docs.openstack.org/placement/latest/placement-api-microversion-history.html [4] https://git.opnfv.org/functest/tree/functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf.yaml?h=stable%2Fhunter#n24 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Ic5a8a501d83fbefadcad24d58bbc5c1e3ffcd6ce
2019-09-10Force running Functest vs public endpointsCédric Ollivier1-3/+6
It sets OS_INTERFACE to force the use of public endpoints as the internal and management endpoints are unreachable from jumphost. It also sets OS_REGION_NAME to avoid the fallback mechanism in tempest selecting the first endpoint listed in catalog (here internal) [1] EXTERNAL_NETWORK is defined to allow running Functest testcases in parallel. [1] https://github.com/openstack/tempest/blob/21.0.0/tempest/lib/auth.py#L583 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I9933316479d1830d3f37dcae19940be0c8f185b1
2019-09-09Fixes for tests/deploy scriptsKaspars Skels2-1/+2
Change-Id: Idb80f8b401592c8e5a2e1682051164719ae70405 Signed-off-by: Kaspars Skels <kaspars.skels@att.com>
2019-09-06Update test/deploy scriptsKaspars Skels3-12/+88
Change-Id: Ia53ec842c5b56f9cc9e42f88ceaf7b45171dd8e6 Signed-off-by: Kaspars Skels <kaspars.skels@att.com>
2019-09-05Add wrapper script for functional tests (Functest)Kaspars Skels1-0/+67
This enables running healthcheck and smoke tests for intel-pod17 https://wiki.opnfv.org/pages/viewpage.action?pageId=29098314 Change-Id: Ibb40aa12f8c8ba5f1aee68554acae2edd722bd80 Signed-off-by: Kaspars Skels <kaspars.skels@att.com>
2019-09-04Use Shipyard flags to enable more robust site updatesKaspars Skels1-2/+5
Change-Id: I0b0ec2172767cc0ecbea23ae6752a37cfda43949 Signed-off-by: Kaspars Skels <kaspars.skels@att.com>
2019-09-04Move genesis from pod17-jump to pod17-node1Kaspars Skels1-3/+3
Adjust installation to comply with Pharos specification http://artifacts.opnfv.org/pharos/colorado/docs/specification/index.html The jump host is intended to serve as a node where installer runs. This then is used as a worker node for Jenkins. This patchset re-configures genesis to move to pod17-node1, and reduces compute nodes from 3 to 2. Change-Id: Ie5f65ad7cc0e6f688c913705babab6dc25925b4e Signed-off-by: Kaspars Skels <kaspars.skels@att.com>
2019-09-03Add deploy script for intel-pod17Kaspars Skels1-0/+158
Change-Id: Ie9f594a8bd76d91a945ccc26f715b84894e52641 Signed-off-by: Kaspars Skels <kaspars.skels@att.com>