Commit Graph

90 Commits

Author SHA1 Message Date
Sorin Sbarnea a3c9dc40e4 Fixed yamlint violations
Change-Id: I7468ef9929cd6a7c0969bcd6befb320bfd671097
2021-02-10 15:24:59 +00:00
Sagi Shnaidman 0977f8502d Big clean of tripleo-ci
Change-Id: Iff0350a1fff1057d1de924f05693258445da9c37
2020-01-22 18:37:04 +02:00
Sorin Sbarnea 7b84c23443 lint: maintenance chore
- reverted previours workarounds
- assures we run ansible-lint on our files
- bumped linters
- fixed new problems found by the linters

Change-Id: I7812fcfd17569b0c438f58bec73ab0f4b07e625c
2019-11-11 18:01:00 +00:00
Sorin Sbarnea ed27a979d5 Adopt use of pre-commit linting
Follows the same configuration that was used on
tripleo-quickstart-extras and documented use on tripleo-docs.

Change-Id: Iba8a2db92137f9f6ad28f498627eb1b87039d99f
Story: https://tree.taiga.io/project/tripleo-ci-board/task/381
2018-12-14 15:50:06 +00:00
Natal Ngétal dbc129238e [Core] Remove mitaka.
The mitaka release is no longer supported by the community.

Change-Id: Iba4ed16f5d91973e43d3be040ce7e0eaf7396c73
Closes-Bug: #1722602
2018-11-14 11:14:06 +01:00
Emilien Macchi a01d020710 Remove unused test-environments
They are now in THT, no need to keep them here.

Depends-On:I6277603f19513539d4dc493543c9d4671d4af2ca
Change-Id: I4b81a6f6ad6ecc32b3e3351ec03eb8a3f85cf849
2018-01-10 11:43:04 -08:00
Steven Hardy 821d84f34c Replace references to deprecated controllerExtraConfig
This should be ControllerExtraConfig, since the current parameter name
has been deprecated for some time, and is inconsistent with all other
roles.

Since mitaka is now EOL this also removes references to the
worker-config-mitaka-and-below environment.

Change-Id: I0f07b3abbe290ed7f740a6f4915e16be39e3a4c6
2017-08-04 23:05:55 +00:00
Ben Nemec 4a881bcd16 Allow 1 ceph osd for updates job
Change Ie9bdd9b16bcb9f11107ece614b010e87d3ae98a9 disallowed a
single osd by default, but for some reason the ci job did not
catch the fact that this breaks our updates job configuration (I
suspect ceph didn't get restarted after the config change was
applied).

This change just adds an environment that will allow a single osd
again, which should unblock the updates job.

Change-Id: I2da488400898e3cef6a7cc819abb8df27aad5d67
Closes-Bug: 1694847
2017-06-02 19:44:23 +00:00
Emilien Macchi 5bef8effb2 [newton-to-ocata] Force EnablePackageInstall to true on multinode jobs
A recent change in tripleo CI broke the upgrade jobs from Newton to
Ocata:
36f86a2c98

This patch is a simple way to enforce EnablePackageInstall: true for
multinode jobs upgraded to stable/ocata, so we can ensure all packages
are deployed on multinode & scenarios jobs.

Change-Id: I08e17de19ce2f59c74346e1ac5a93858257766e0
2017-05-27 18:36:43 +02:00
Jenkins 5e6395a1db Merge "Add storage-mgmt network to compute nodes" 2017-04-19 17:12:56 +00:00
Jenkins 11cb5663a9 Merge "Use custom network-isolation-absolute.yaml in ipv4 net-iso jobs" 2017-04-19 16:46:26 +00:00
Sagi Shnaidman 9def3e1ede Combined OVB ha and non-ha job
Bring together features from ha and non-ha jobs into one,
using TripleO Quickstart.
Added to HA: introspection, SSL.

Change-Id: I2663ba662d342dd7afa12b600d9f0266f6ccca4f
2017-04-05 20:34:55 +03:00
Ben Nemec 069c165e02 Add storage-mgmt network to compute nodes
This is going to be required for hyperconverged ceph deployments
in tripleo-ci.

Change-Id: Ia0ebb167b57553cbdaaa3593409eff5625e6ddc6
2017-03-30 16:57:44 -05:00
Ben Nemec c0acf09f0d Use custom network-isolation-absolute.yaml in ipv4 net-iso jobs
The follow-up patch adds the storage-mgmt network to the compute
node, so we can no longer use the shipped network-isolation.yaml.
This change makes use of the generated network-isolation env with
absolute paths pointing at /usr/share/openstack-tripleo-heat-templates

Change-Id: I46b3c0a0fa2653a7e74929130bec29d900edaf6d
2017-03-30 16:57:41 -05:00
Emilien Macchi 65c4b42819 Disable Ceilometer pipeline when deploying Swift on multinode-3nodes
Because Ceilometer is not deployed on this scenario, we need to disable
the pipeline in order to not fail in Swift deployment.
This patch will fix the 3nodes-multinode-nv job.

Change-Id: Ib11cfd79981193a05073d7050ef14d0cfb095a4f
2017-03-13 07:34:41 -04:00
Emilien Macchi a52bbde43f remove test-environments/multinode_major_upgrade.yaml
This is now in t-h-t so we should only use that version.

Note this means we use the master version of the env for
defining the service list for the deployed (newton) overcloud.

Change-Id: Ia7cc49daf8e9e26e3dee9db6f1bdb53b543b658e
2017-02-17 23:29:50 +00:00
Jenkins aa9658897d Merge "Test with scheduler hints" 2017-02-01 23:32:26 +00:00
Jenkins d7ebf58a39 Merge "Remove references to Liberty (now EOL'd)" 2017-01-31 02:04:59 +00:00
Ben Nemec 52ab46042a Test with scheduler hints
Enables predictable placement to specific nodes using the nova
scheduler hints.

Change-Id: Ib64be565494658c8e0b8301240aaf116824692e9
2017-01-27 22:24:29 +00:00
Ben Nemec c36eafb900 Test hostname map
Deploy with a hostname map and verify that the instance names end
up as specified.

Change-Id: I3a120e784c8862b112869288ccf87ee1634b3564
2017-01-26 18:10:27 +00:00
Ben Nemec 2cb41b9d1f Add support for testing predictable placement
Initially just the predefined ips piece of that functionality
because it is the easiest to implement.  Testing the other bits
will come in followup patches.

Change-Id: Ic12b85be917aad1ae8313cb4748b4f11b6b24192
2017-01-26 18:10:27 +00:00
Julie Pichon 08af9ed794 Remove references to Liberty (now EOL'd)
Change-Id: I57d977e48bac4cf703d9c428a0f527baa1968d99
2017-01-26 08:55:59 +00:00
Emilien Macchi e8ce6e4e03 Move Multinode environments to THT
Scenarios already live in THT because they contain some data (like
TripleO services or data binding) that are specific to TripleO releases.
Example: NovaPlacement has been introduced in TriplO Ocata but not
support in Newton. That's the reason we moved scenarios templates and
pingtests in THT, so they can be branched.
This patch does the same for multinode and multinode-3nodes. It moves
the roles-data and pingtest to THT.

Change-Id: I689d85918d78f51951e0c142f5cfb51b5c1f78f5
2017-01-25 22:15:05 +00:00
Jenkins 7928180714 Merge "Revert "enable Placement API on multinode jobs"" 2017-01-23 18:50:45 +00:00
Emilien Macchi 3853a13360 Revert "enable Placement API on multinode jobs"
This reverts commit 2a4f48c380.
It breaks stable/newton jobs because Placement didn't exist at this time.

We'll have to move these templates into THT soon.

Change-Id: Id11822d46948413f61b21bcbe21d37d51d8b4857
2017-01-23 13:52:59 +00:00
Jenkins a34dd1e3aa Merge "multinode: remove 417109 workaround" 2017-01-23 13:13:10 +00:00
Jenkins 4909fa968e Merge "Add sahara support to major upgrade CI" 2017-01-20 17:25:12 +00:00
Jenkins 901656a5ee Merge "Add Swift to the major upgrade CI" 2017-01-20 17:13:26 +00:00
Emilien Macchi 9e62fe1716 multinode: remove 417109 workaround
Remove a workaround since 417109 has merged.

Change-Id: Iddd9fe5be09c4ed71fca07ad9b9d85fce2e50d14
2017-01-20 03:01:07 +00:00
Steven Hardy 3a53aa0294 Add sahara support to major upgrade CI
Depends-On: Icf8e215935bdf299cb792abb29bb5d58c5c312c5
Change-Id: Ie211946601c7a313d95705de11746d773dd269e1
2017-01-19 17:25:46 +00:00
Steven Hardy ced9d6058f Add Swift to the major upgrade CI
Adds swift and some sanity checks, and switches glance
back to use swift as the backend instead of file.

Depends-On: I83134f51d152f3b97f9a570bbd9a67c753982810
Change-Id: I9ecbedb9b2ee39368829287097f13095aa4cde1b
2017-01-19 17:25:46 +00:00
Emilien Macchi 2a4f48c380 enable Placement API on multinode jobs
Enable Nova Placement API on both multinode and multinode-3nodes jobs.

Change-Id: I64ac74252cedf23bcc32d9d26271f8d4b1c80d6e
2017-01-19 12:22:22 +00:00
Ben Nemec 2b470d2ad7 Re-generate nic-configs
The template generator tool has been improved to output more readable
templates.  This just re-generates the tripleo-ci templates to take
advantage of that.

Change-Id: Id4230b88e9ed8bcd865f989c0f5c88930eb94dce
2017-01-17 16:52:02 -06:00
Jenkins f604f8ceef Merge "multinode: remove Glance registry service deployment" 2017-01-16 19:54:44 +00:00
Emilien Macchi f1fc231ff6 multinode: remove Glance registry service deployment
Glance Registry is being removed from TripleO. Let's remove it from CI
environments first.

Change-Id: I77db1e1789fba0fb8ac014d6d1f8f5a8ae98ae84
2017-01-16 15:57:46 +00:00
Steven Hardy 432b90554e Add Heat to upgrade CI job
Adds heat to the job with some basic sanity tests

Change-Id: I7612189be49c9c07f64753c1be4b72aa8524d06d
Depends-On: Idbbff1e7b3947a8a381ddae172006d724a98a344
2017-01-13 17:38:29 +00:00
Steven Hardy a63eedc113 Add cinder to upgrade CI job
This adds basic smoke tests and configuration for testing the
cinder service upgrade in CI.

Change-Id: Ideda3cd00ca4433561d5a42da6588976ec313337
Depends-On: I5447afb18b43bc3442e411a6b0ac7c32e8075116
2017-01-13 15:13:00 +00:00
Steven Hardy 2d797e79b6 Add neutron to major upgrade CI
This adds neutron to the environment used for the upgrade
test, and some basic sanity tests to ensure the service is
running before and after the upgrade.


Depends-On: I9c6116ddb4475b798876635cbb701214759fa33b
Change-Id: Ic9772724da382d6f0ea9b32b1fb85c3878964620
2017-01-13 14:21:37 +00:00
Mathieu Bultel 2912afb90f Implement major upgrade for Newton to Ocata
Implement the major upgrade from Newton to Ocata based on multinode.
Currently we will start with the very basic use case, just few services
in the controller.

Co-Authored-By: Steven Hardy <shardy@redhat.com>
Co-Authored-By: James Slagle <jslagle@redhat.com>
Depends-On: I45991b60a151abf3c5e4d05a3aa7246b2d25ac5a
Change-Id: Id2e0d7bbb76734e84dac6a192c213ea246ec6e6a
2017-01-13 11:46:52 +00:00
Steven Hardy 4f773b8945 Add glance to major upgrade CI
Adds glance services to the deployed stack and some associated
sanity tests to tripleo.sh

Note this temporarily sets the glance backend to file as we've not
yet enabled swift in the upgrade test environment.

Depends-On: I730abee756598c0a23209a53e52cc83e0b815a50
Change-Id: I6f390ae82aac19b5ed5ebc9bece8c97d7d9bd03f
2017-01-13 11:46:52 +00:00
Jenkins b927f623aa Merge "updates: enable ssl" 2016-12-22 23:41:15 +00:00
Gabriele Cerami d9c8dcd7c5 updates: enable ssl
Change-Id: I3dd83c39f101c2bee9a15f9897ef32840961a1cc
2016-12-22 18:20:11 +01:00
Jenkins cf102d89fa Merge "Disable the ceilo swift pipeline for multinode" 2016-12-22 14:06:28 +00:00
Jenkins a0faab2357 Merge "Add 3 node multinode job" 2016-12-20 20:26:25 +00:00
Dan Prince 653cb791ff Disable the ceilo swift pipeline for multinode
This is to help de-couple Swift from requiring the
Ceilometer packages to be present.

Change-Id: Id1584df5e5bb90f8087ae25eecc4834179b6fc21
2016-12-15 06:31:03 -05:00
David Moreau-Simard d4f72b0302 Default libvirt_cpu_mode to none when using qemu
An upcoming update to qemu-kvm (2.6.0) with CentOS/RHEL 7.3 can break
existing implementations where qemu is the configured hypervisor and
'host-model' is used.
As such, ensure libvirt_cpu_mode is set to none when qemu is in use.

Worth noting that devstack has been setting 'none' [1] as well.

[1]: 1c442eebc8/lib/nova_plugins/hypervisor-libvirt (L42)

Change-Id: I4a7c3ced59c46fb2582122260922813b09a3d042
2016-12-14 17:21:40 +00:00
James Slagle b009f75223 Add 3 node multinode job
The 3 node multinode job tests with a primary node and 2 subnodes. The
primary node is used for the undercloud. The 2 subnodes are used for the
overcloud. The overcloud services are split between pacemaker managed
services and non pacemaker managed services on the 2 subnodes. The first
subnode has the minimal set of services for an all-in-one overcloud with
the exception of any pacemaker service (galera, rabbitmq, etc) which are
on the second subnode.

This job adds coverage of non-default composable roles since a custom
roles data yaml file has to be used to split up the services in this
manner across the 2 subnodes.

Depends-On: I8fc39e6d18cd70ff881e2a284234b26261018d67
Change-Id: I0cee6ff8b5c3002d45a6e66e4657baffa99ac5a6
2016-12-02 13:20:33 -05:00
Emilien Macchi a5dfb7ab22 cleanup: remove scenario004 bits
scenario004 bits are not used anymore.
We'll add scenario004 again, but in THT, not here.

Change-Id: I067b86aa2a7773a6afefe3c1b8af48602949b155
2016-12-01 08:22:30 -05:00
Emilien Macchi 213ec15d3e Consume TripleO CI scenarios envs from THT
Use TripleO CI scenarios environments from TripleO Heat Templates.

Note: Newton jobs will fail once we merge this patch, and will pass
again once we merge and backport:
https://review.openstack.org/#/c/402119/ into stable/newton.

Change-Id: I8235fa0648a05c2420c536e388b05e9c2f8fecc1
Depends-On: I3527a64c0c8f56ca77115d32849fa23fe710112d
2016-11-25 10:27:42 -05:00
Jenkins 2a047cd945 Merge "Stop using documentation network range" 2016-11-23 01:24:06 +00:00