Commit Graph

17 Commits

Author SHA1 Message Date
Sagi Shnaidman 0977f8502d Big clean of tripleo-ci
Change-Id: Iff0350a1fff1057d1de924f05693258445da9c37
2020-01-22 18:37:04 +02: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
James Slagle 4eba02b2de Add mulitnode CI job support to tripleo-ci
This would allow using multinode jobs spawned by nodepool, but that is
not the only use case. Any cloud provider could be used by this setup,
including a 3rd party CI setup.

The scripts here are modified to support installing the undercloud
directly on the node running the toci_gate_test.sh script, which is
often the jenkins slave. When deploying an all in one Overcloud this
results in needing 2 nodes total to do the basic TripleO deployment.

There is a new script named toci_instack_multinode.sh to run the
multinode setup.

Change-Id: Icc67a289df207348536c0a2419b3fc81f03fe758
2016-07-19 17:20:44 -04:00
Jenkins 73349c74c7 Merge "Use baremetal_full to get the entire disk" 2014-08-14 00:43:49 +00:00
Jenkins 6da55a90e2 Merge "Specify the control plane network for testenvs." 2014-08-11 08:51:59 +00:00
Dan Prince b78ca24eb6 Configure NTP on the testenv-workers
Update the testenv-element to require the NTP element.

Also updates the testenv-workers.yaml heat template to
configure an NTP server for the testenv-worker nodes.

Change-Id: I5f3b4e5aa1bb8d4065fe27c883a5d89a1862dc0b
2014-07-23 14:46:30 -04:00
Robert Collins 6dcb1ccefb Use baremetal_full to get the entire disk
We don't need a state partition for testenvs.

Change-Id: I489a06223d37c01fc12edfbbfc268e35f6968b8c
2014-07-24 01:58:01 +12:00
Robert Collins e3eba95cdb Specify the control plane network for testenvs.
We now have two networks (public and ctlplane) on the undercloud so
we need to choose.

Change-Id: I7e9b905f353011323c7cacc43a3f1a7c27205cb0
2014-07-23 13:47:04 +12:00
Derek Higgins 19bd811746 Reduce resource requirements set aside for testenvs
CPUPerEnv : Because we're not cpu bound overcommitting slightly on CPU
should not cause us any problems.

MemPerEnv : Nodes in testenvs now use the devtest default of 2G.

DiskPerEnv: Each testenv currently uses about 35G of diskspace, setting
aside almost twice should be ok.

Essentially this should cause the number of Test Envs on each R1 host to
increase from 4 to 8 (bound by CPUPerEnv) and on each R2 host from 3 to
6 (bound by MemPerEnv).

Change-Id: Ia45f686d261152f74077259199bc8eab5babe12b
2014-05-07 00:38:24 +01:00
Derek Higgins 338afc4bed Expose more testenv parameters
Exposing these extra parameters will make it easier for people to test
a testenv deployment on a virtualized devtest undercloud.

Change-Id: I1209f6b933446d0ad55096ef7d94f5b3c9114321
2014-03-25 16:10:24 +00:00
Derek Higgins bbc8276e8a Add waitcondition on test environments
This will ensure errors during the test environment creation process
are correctly represented in the final heat stack status.

Change-Id: Ib5fcb3e59de5b838b22bbf720fed947401ca955b
2014-02-25 17:23:41 +00:00
Robert Collins a734a798e4 Provide for adding a string to /etc/hosts.
This is needed for the test environments that are isolated from the
real network including DNS etc.

Change-Id: Ibeb39dfc0abbce25c8f6384c86e502c8c767aed1
2014-01-31 20:22:56 +13:00
Robert Collins fc98884a48 Build test environments for 2 hypervisors.
We need another VM and thus more memory, CPU and disk.

Change-Id: I517ee065988df330876eb155b5e2308614450ce6
2014-01-28 19:46:32 +13:00
Derek Higgins 2919032fe4 Fix the server name
The server name in the AllowedResources needs to match the actual server
name.

Change-Id: Ia36360e94cc439ba6abe60f90c9ea0abd35806ba
2014-01-21 09:29:52 +00:00
Derek Higgins 1882e2ab40 Switch test environment users
We should be using the tripleo-ci user (as part of the
openstack-nodepool tenant) to obtain IP addresses from the overcloud.

Change-Id: Ibbb32038b6f9e445f92b74cd4f70004168e3c64e
2014-01-19 08:56:04 +00:00
Derek Higgins c5d62426d5 Change metadata names to match
Some of the metadata names mismatch between heat template and
setup-testenvs, change the ones that don't match.

Change-Id: I121cbe828bddb8cce96b941b50b9a5d2b5d4431c
2014-01-19 08:53:52 +00:00
Dan Prince cae01768c0 Test environment worker template.
This template will get used to create test worker nodes
on the baremetal undercloud.

Change-Id: I249207a2bc0b0dd2ee85c7f07ed6bb99b09bf7f1
2014-01-16 09:16:07 +13:00