Commit Graph

526 Commits (c9896602c72682806f9801ece1c480365d9a457e)

Author SHA1 Message Date
Wes Hayutin c9896602c7 add the containers prep role to the quickstart-extras
add container prep to tripleo-quickstart-extras

Related-Change: I676b429cab920516a151b124fca2e26dd5c5e87b
Related-Change: Ie1ca08de17ff0fddd9c9cbd124ae65735ea4b6bc

Change-Id: Id91cfae8aff8652222a4e9adab0635be6c0f8f64
2016-12-21 11:52:32 -05:00
Wes Hayutin 593f15e741 deployment updates for containerized compute
add the ansible variable options to turn on a
containerized compute.

add the pre-deploy tasks to setup the yaml files
required by the containerized compute

Change-Id: Ie1ca08de17ff0fddd9c9cbd124ae65735ea4b6bc
2016-12-21 11:52:32 -05:00
Wes Hayutin 62cd851bec move the undercloud deploy role from quickstart to quickstart-extras
In an effort to make more of the tripleo deployment ci more composable
it has been discussed to break out the undercloud deployment into it's
own role.  There are examples where additional configuration is needed
prior to the undercloud installation such as dpdk, and installing in
other ci environments.

Change-Id: I87fec6435f84490b9f9de8d2cc0dd9f186409d4d
2016-12-19 10:37:22 -05:00
Sagi Shnaidman fda3b1f08f Repositories setup role
Role for setting up repositories for running host or
injecting to the image.

Change-Id: Ifd546febb34efa11330ea375697554533c7cf611
2016-12-19 16:50:57 +02:00
Jenkins 656336b916 Merge "Baremetal undecloud role playbook fixes" 2016-12-16 14:00:53 +00:00
Jenkins 1b7a794c2f Merge "Install gcc to use upstream PXE" 2016-12-16 13:44:24 +00:00
Jenkins b487bb8d67 Merge "prep-network: add support to IPv6 topology" 2016-12-16 13:32:33 +00:00
Jenkins a330d6b82d Merge "Replace hardcoded stack user by ansible_user" 2016-12-16 13:10:16 +00:00
Jenkins 3e8c3a7fae Merge "Add validation parameters to overcloud deploy" 2016-12-16 13:09:38 +00:00
Ben Kero 0988ac6663 overcloud-deploy: add variable for hypervisor_wait
The overcloud-deploy.sh script first spins while waiting for hypervisor
resources to become available. In deployed-server environments this will
never be true, causing the job to spin indefinitely. This commit makes
this an optional component with a hypervisor_wait variable.

Change-Id: I9cc019185ccc6564aea3b5f46249c10ed8518dbb
2016-12-15 20:32:57 +00:00
Raoul Scarazzini f44d75eba3 Baremetal undecloud role playbook fixes
This commit refers to the baremetal undercloud role:

- Fix baremetal undercloud playbooks to support new extra roles names;
- Define the repos as a list which can be overridden;
- Removes the restart of libvirt before the customization of the
overcloud image. This was initially included because it seemed to be
necessary for virt-customize to work, but further tests confirmed it is
not needed anymore;

Change-Id: I52b1a82f260fa1a14d32216f3300888cb10f0244
2016-12-15 16:24:56 +01:00
Sagi Shnaidman e9881317f4 Replace hardcoded stack user by ansible_user
Replace hardcoded stack user in tasks by ansible_user

Change-Id: I7385d8ae8a010fa2c495edde9dd8e8c68fd6c5d1
2016-12-15 14:36:42 +00:00
Gabriele Cerami 823f587d37 prep-network: add support to IPv6 topology
Change-Id: I4c6ce5f9bb5760873c064bc570ed966d255413ff
2016-12-13 22:05:20 +01:00
Ronelle Landy 8c5b471304 Install gcc to use upstream PXE
Some platforms are missing this dependency.
Add this repo so that the upstream PXE script can
complete.

Change-Id: If3d7792e1eaf8b19a53ed71a0cc86bdf3c3ba344
2016-12-13 11:09:10 -05:00
Ronelle Landy 9c833fa675 Add workaround step to avoid introspection failure
This error seems to be environment/workflow specific.
The workaround was added as the error is not
reproducible in other environments - and those
not using ironic node-update.
Related-Bug: #1649350

Change-Id: Ib47be90d4cba72cc88b5d9a1ac702279354b27ff
2016-12-12 13:50:11 -05:00
Jenkins 1672d78db1 Merge "Prepare build-test role for usage in upstream" 2016-12-08 15:59:17 +00:00
Jenkins c975524571 Merge "Show team and repo badges on README" 2016-12-08 12:34:03 +00:00
Attila Darazs 737b679a43 collect-logs: add timeout to log uploads
Uploading the logs can take too much time, resulting ssh connection
timeout during the ansible task execution. Log collection usually runs
in post build tasks, making it immune to jenkins job timeouts.

This change makes the upload tasks asyncronous and adds a timeout.

Change-Id: I65cf017717775ac85b953fe554f84c79e4f808b5
2016-12-07 18:30:33 +01:00
Jenkins 2a9143e78b Merge "collect-logs: run in two stages" 2016-12-07 14:14:22 +00:00
Jenkins ba7a13b91c Merge "Use openstack common cli for validate-simple cleanup" 2016-12-07 14:12:41 +00:00
Jenkins 6bd5801191 Merge "ssl: set IPv6 as certificate CN when necessary" 2016-12-07 10:48:57 +00:00
Sagi Shnaidman 6011f1b0a5 Prepare build-test role for usage in upstream
- Could be situation when nothing is built and it's OK, i.e.
  repo openstack-infra/tripleo-ci
- Use zuul host of openstack by default and dependency on zuul
  changes, not host (because no ZUUL_HOST is set in upstream)
- Build only once for each project (as in current CI do)
Change-Id: I8705a77b5b867ba8ea4dff3c77ca46e2e261c8f9
2016-12-06 21:41:05 +01:00
Attila Darazs 2bb8b177bc collect-logs: run in two stages
We should run and publish a minimal sets of files even without any host,
when we failed the run before inventory generation.

This change separates the collection step that runs on all hosts except
localhost, and the rest running on localhost. Running on localhost
always succeeds, even with an empty inventory.

Also add a log environment file for local collect-logs.sh runs that
does not upload logs.

Change-Id: I48d07d42be879026fb80afd73835484770006f85
2016-12-06 15:14:16 +01:00
Harry Rybacki 7d0f745ee1 Use openstack common cli for validate-simple cleanup
The glance cli is having issues with keystone (v2) credentials.
We should be using the openstack cli anyways.

Change-Id: I9a088e8da70871eae90e55ced29ecd361c23c380
Closes-Bug: 1646527
2016-12-06 13:58:02 +00:00
Attila Darazs f77f89104a build-test-packages: cleanup
* remove the roles build function and relevant documentation that moved
  to the gate-quickstart role
* follow up the role rename in README.md
* add tripleo-ci to the skipped projects
* remove empty/placeholder files
* add and rename the playbook build-test-packages.yml used by the
  ci-scripts

Change-Id: I105824e4b3bc71a9fdaf00496f243a7a1f868783
2016-12-05 16:49:53 +01:00
Gabriele Cerami 31f6bcaefa ssl: set IPv6 as certificate CN when necessary
Change-Id: I814f3fbd3eaf1311e8a0883a0d93a8cf9cadd992
2016-12-02 15:50:33 +01:00
Jenkins 1a3897c326 Merge "Add role extras-common" 2016-12-02 11:51:26 +00:00
Attila Darazs fc388656c4 collect-logs: add rdoproject env requirements
Zuul uses different variables and files to handle artifact uploading,
this change adds the required modifications to collect and publish logs
in the rdoproject.org Zuul environment.

Change-Id: I5d74392210e55be5f5ecd889a5017750a874d45a
2016-12-01 17:07:10 +01:00
Gabriele Cerami cad51f1ce6 Add role extras-common
Change-Id: I915dde5b082b8cec1638aa5b13b91f4242f30867
2016-11-30 16:47:32 +01:00
Jenkins 247e45cb7d Merge "Set validate_image_dir relative to working dir" 2016-11-30 14:22:45 +00:00
Attila Darazs ecd1db82be gate-quickstart: force repo checkout
We need to use force to be able to overwrite the current repo state as
the quickstart repo is already checked out during gating.

Change-Id: Ibb0eeca6a74efccdbd5c2eba84f9e96bab187ec3
2016-11-30 13:12:08 +00:00
Sagi Shnaidman f86a6dd587 Add validation parameters to overcloud deploy
Add validation errors and warnings to overcloud deploy arguments

Change-Id: Ia7d0cbabe601c7569315defcc8b68c3d28490671
2016-11-30 14:28:26 +02:00
Jenkins b6c7489053 Merge "Only clone DLRN in role if needed" 2016-11-30 11:54:44 +00:00
Sagi Shnaidman 3631f6acd2 Set validate_image_dir relative to working dir
Set validate_image_dir relative to working dir, in case
 of different user it shouldn't be defined separately.

Change-Id: Ibfd69cab46b242ff9344da30c0ce78c0af9a7d05
2016-11-30 11:33:05 +00:00
Jenkins 74d7050aa9 Merge "Remove parameters from overcloud deploy" 2016-11-29 21:35:28 +00:00
Jenkins a319ee047d Merge "Update baremetal upgrades playbook to use the updated bm playbook" 2016-11-29 21:22:19 +00:00
Alfredo Moralejo 2a14e3c964 Remove parameters from overcloud deploy
https://review.openstack.org/#/c/397312/ has removed some options in
tripleoclient.

Specifically, --neutron-network-type and --neutron-tunnel-types
are being used in tripleo-quickstart .This patch removes them
from extra_args and scale_extra_args.

This parameters are being passed via environment files or using vxlan
by default so i think it doesn't need any other adjustment.

Change-Id: Icb36a45797bdb5e217ce9f33fa67e6697590b23c
2016-11-29 17:45:26 +01:00
Jenkins a9a3432987 Merge "Update overcloud-scale post extra roles merging" 2016-11-29 16:32:36 +00:00
Ronelle Landy 171c3dde03 Update baremetal upgrades playbook to use the updated bm playbook
Additional settings changes may be required to meet the switching
conditions.

Change-Id: Ieb7112fa0829398daa1353af7af178d07ad2627d
2016-11-29 10:46:47 -05:00
Harry Rybacki 522e9d7d46 Update overcloud-scale post extra roles merging
- Remove scale_ceph.yml config, it isn't tested/verified and
  shouldn't be supported
- Clean up the scale_compute.yml config and remove unused or
  redundant (overriding default with default) variables
- Ensure the conditional tasks cast strings to bools to avoid
  false positives

Change-Id: Ib80e5e492b3add4a7943bdeb24de0957b9b7bcb3
2016-11-29 09:27:50 -05:00
Ronelle Landy 7a275cf77b Modify playbook switch to match quickstart variable
This playbook is switching on undercloud_type.
In tripleo-quickstart, the value used is 'virtual'
not 'virt'.

Change-Id: I236231b402a1920196cf1c82fd21211b86cd6482
2016-11-29 09:27:16 -05:00
Jenkins c231a1c823 Merge "Fix dlrn build role" 2016-11-28 17:53:56 +00:00
Sagi Shnaidman fabe7a8e04 Fix dlrn build role
With last change of build-test-packages role it stopped to work,
commands in shell should be separated by commas when using >

Change-Id: Iccab84b0803b8dc257b6ca174490c3e4803a2f5d
2016-11-28 19:47:34 +02:00
Ronelle Landy c494242b92 Fix typo on undercloud_key defaults
OVB errors with 'undercloud_key' is undefined.
This review fixes the typo in the defaults key.

Change-Id: I76ea4f37accab63e4351de32f7641b3f086f97ac
2016-11-28 12:41:15 -05:00
Flavio Percoco 1357a93d56 Show team and repo badges on README
This patch adds the team's and repository's badges to the README file.
The motivation behind this is to communicate the project status and
features at first glance.

For more information about this effort, please read this email thread:

http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html

To see an example of how this would look like check:

https://gist.github.com/2f7ac4ecf0e39b337ef9f2d152b385f6

Change-Id: I98deade68282539f513e37cd34f5ccf65a588147
2016-11-25 18:45:43 +01:00
Javier Pena 38e985e075 Only clone DLRN in role if needed
If we want to use the build-test-packages role to gate on DLRN
changes itself, we need it not to clone DLRN if it was already done
by Zuul. Adding a check to skip it if needed.

Change-Id: I830299a95286fcf174a3e78a29f163ab06e46cd0
2016-11-24 17:07:40 +01:00
Jenkins 7097904948 Merge "Update DLRN command line usage" 2016-11-24 15:44:00 +00:00
Ronelle Landy 7d68f2152e Update baremetal playbook to use quickstart-extras
Playbook changes should match:
https://review.openstack.org/#/c/397700/

The env setup has been split into a separate
playbook so that the baremetal and OVB playbooks
can be unified.
Related-To: https://review.openstack.org/400997

Change-Id: I65f380729cc2bcba6b1437cc678e7c12f24be001
2016-11-24 14:43:44 +00:00
Ronelle Landy bdada2eca5 Add role to create and delete the OVB stack
For environments where OVB is run on an Openstack
host cloud, this role contains the functionality
to manage the heat stack.
The associated playbooks are included.

Change-Id: I6270000613b1883a4f729faee3d255fd08624c13
2016-11-23 12:17:12 -05:00
Attila Darazs dbac16dfb4 collect-logs: internal rename and cleanup
Follow up the rename of the role in the documentation and in absolute
paths. Also clean up the non-functional files within.

Change-Id: Idc0d60134ddbe48b4237ea56c7993d14cc22f5b1
2016-11-22 19:30:49 +01:00