477 Commits

Author SHA1 Message Date
Aaron Sheffield
7cad8077e4 Update the README.md File
- Update links in the readme to point to the updated URLs.

Change-Id: I4aa3842b23a08347d11759539ea0afa414ec89cf
2018-07-30 15:52:23 -05:00
Zuul
3a9d3b4839 Merge "Update Dockerfile to allow override of FROM variable" 2018-07-26 15:23:09 +00:00
Jerome Brette
5232d17a2a Update Dockerfile to allow override of FROM variable
l is to let user customize the base image of the component
by passing FROM=myimage during the build process. This would let any
project leveraging Airship ensure that the base image is matching the
security requirements for that project and still use the same Dockerfile.
This will also ease the control of the /etc/apt/source.list
and thereby the result of apt-get update/upgrade procedure.
2. The above goal is achievable by using docker-ce feature such as:
ARG FROM="defaultbaseimage:xx"
FROM ${FROM}
For this reason, the installation of docker.io in the Zuul gating is beeing
replaced by docker-ce.
3. Third Goal is to bring consistency with the other compoenents leveraging
Helm such as the openstack-helm and potentially use bindep the same way
the LOCI images are to ensure
4. The new syntax in the Dockerfile is still commented out until the associated
image builder have been updated to use docker-ce as they have been for the LOCI
images.

Change-Id: Ie5ae836221dc3cb9bdafc6e5e6670f914d3d1bb4
2018-07-24 21:11:35 +00:00
Mark Burnett
7797aadb8b Update tiller to be compatible with latest Armada
Change-Id: If5d2527240948c0628dfbb76b658f7ad05395ab5
2018-07-24 15:39:54 -05:00
Zuul
12b3c4627e Merge "Remove unused image references" 2018-07-24 15:44:29 +00:00
Zuul
64a5896c1c Merge "Add liveness probe to kube-proxy" 2018-07-24 15:44:28 +00:00
Zuul
186d69fced Merge "Add missing storagePolicy entries" 2018-07-24 15:44:28 +00:00
Zuul
79f38e504d Merge "Remove substitution_sources from Deckhand layering" 2018-07-24 15:23:04 +00:00
Mark Burnett
ea4c9b73e4 Remove unused image references
Change-Id: I152ccc1d8b10bdad89bff1f3cabc471ffd8d0734
2018-07-23 11:17:41 -05:00
Mark Burnett
f73cbfcc85 Add liveness probe to kube-proxy
Change-Id: I420926a5720a90eb1748ba2bc58ac62fc4e93dd9
2018-07-23 11:17:41 -05:00
Mark Burnett
9e5fb310b9 Add missing storagePolicy entries
Change-Id: I94e95f821d60a176116a333a1d1cf9afbe2f7f0b
2018-07-23 11:17:41 -05:00
Zuul
048fb1636e Merge "Fix broken validatedesign endpoint" 2018-07-23 15:31:12 +00:00
Zuul
3feb79f612 Merge "Tolerate unready endpoints for apiserver service" 2018-07-23 15:31:11 +00:00
Felipe Monteiro
6edaa8d4d6 Remove substitution_sources from Deckhand layering
This patch set removes substitution_sources kwarg from the
Deckhand layering call as it is deprecated [0] because
all concrete documents will simply be used by default as the
substitution source documents.

[0] 1583b78902/deckhand/engine/layering.py (L480)

Change-Id: I934c8d5e7f2fa2a84dcdba592bd515f889337f79
2018-07-21 15:43:05 -04:00
Zuul
282e1a5d9e Merge "Enable etcd helm test to run on non-ready nodes" 2018-07-20 14:26:51 +00:00
Zuul
fa37f08cdf Merge "(fix) Update deckhand dependency" 2018-07-19 18:43:10 +00:00
Mark Burnett
0e5009277a Fix broken validatedesign endpoint
This endpoint did not correctly return a response body.

Change-Id: Iec23083402d92069ab34698f31aeee4dce035aa6
2018-07-19 13:29:18 -05:00
Mark Burnett
5a8b1d82e8 Tolerate unready endpoints for apiserver service
This avoids a race condition that can occur while joining nodes when
another node is down.

The service is really a discovery service that is primarily used by the
haproxy chart to find apiserver endpoints, so it's reasonable for it to
include all endpoints (HAProxy will monitor health on its own).

Change-Id: I09dd66883af4ff91f9d13432137094fdf876ca83
2018-07-19 13:29:18 -05:00
Mark Burnett
bfce4208bf Enable etcd helm test to run on non-ready nodes
This allows the helm test to run for calico-etcd during bootstrapping.
This is necesssary, because Armada now runs helm test by default.

Change-Id: I903b2074e45247ab8bb776e601823c4ccce265e3
2018-07-19 13:29:18 -05:00
Zuul
3e25df83df Merge "Upgrade the version of kubernetes-entrypoint for UCP helm charts" 2018-07-19 17:14:28 +00:00
Scott Hussey
358cd882ad (fix) Update deckhand dependency
Resolve an issue on Deckhand schema validation

Change-Id: I271f07e704dd2ee61482ad1c86f7b465b7f0c32c
2018-07-17 13:57:02 -05:00
Aaron Sheffield
2239ba5652 Add test pods labels.
- Uses helm toolkit to add labels to test pods.

Change-Id: I4c2c320894b7e8a8b6ce5ce8698f2342c885ac4f
2018-07-11 08:04:29 -05:00
hosingh000
131718aef8 Upgrade the version of kubernetes-entrypoint for UCP helm charts
Change-Id: I8196917509373b4753ab0714089fb2c41ec90eeb
2018-07-10 11:51:57 -05:00
Zuul
57d8ea6301 Merge "Update validatedesign message" 2018-07-03 14:53:41 +00:00
Zuul
9a4882ec4e Merge "Update examples to use new image/repo locations" 2018-07-03 00:16:49 +00:00
Zuul
146c67c6b1 Merge "Make hard-coded busybox image configurable" 2018-07-02 13:04:23 +00:00
Zuul
ab216afbd6 Merge "Add py36 testenv" 2018-06-28 15:05:11 +00:00
Zuul
1c9ad31b7b Merge "Add Additional Liveness Probes for apiserver" 2018-06-28 13:37:35 +00:00
Vu Cong Tuan
cb0baea330 Add py36 testenv
Python 3.6 is installed by default in Ubuntu 18.04 LTS.
Therefore, according to Transition Plan [1],
it'll be handy to have py36 testenv.

For more details, please check Python2 Deprecation Timeline [2]
and Python3-first Goal - Completion Criteria [3].

[1] https://wiki.ubuntu.com/Python/Python36Transition
[2] https://governance.openstack.org/tc/resolutions/20180529-python2-deprecation-timeline.html
[3] https://review.openstack.org/#/c/575933/8/goals/stein/python3-first.rst@42

Change-Id: Ied2445269d56090770558a765a38aeff549f8dae
2018-06-28 08:48:47 +07:00
Mark Burnett
44fb6db261 Make hard-coded busybox image configurable
The image used to test kubectl logs in the validation scripts was hard
coded and is now configurable.

This also makes the power-up-node.sh gate script more robust by making
it wait for the node to be ready.

Change-Id: I531ca8477ac3575dd4249ab5e991881af290fa52
2018-06-27 16:58:02 -05:00
Mark Burnett
eb13fe8e46 Update examples to use new image/repo locations
Change-Id: I284369af2f822c559afbd9ffaf0b1df537baa533
2018-06-27 13:57:12 -05:00
Aaron Sheffield
890964eca0 Add Additional Liveness Probes for apiserver
- Updated apiserver-anchor with a liveness probe.
- Changed apiserver liveness probe to query kubectl.
   This allows the pod to restart if it looses access to etcd.

Change-Id: I0ef9cbc941a0533268e4f499a1333e88be3e43a3
2018-06-26 09:29:07 -05:00
Mark Burnett
0d75314699 Add retry to fetching tarballs
Change-Id: I1177a6dcfe88d3b438ad4d5ced4c94ceff3fe1b5
2018-06-26 08:56:04 -05:00
Samantha Blanco
2cd353da21 Update validatedesign message
Update validatedesign failure message to return more detailed error
message.

Change-Id: I56f11ecd3030532d90b421dce5d8959b28d40cbb
2018-06-25 10:22:10 -04:00
Mark Burnett
9cb2c5a5ca Add local file cache for Builder tarball fetch
Change-Id: I4741b50c4a4b505f4f70ff2cbc5e9689b9f28b7b
2018-06-25 07:51:44 -05:00
Zuul
57093d29ce Merge "Unifying proxy variables for tox" 2018-06-22 17:15:02 +00:00
Zuul
9b03ee2d50 Merge "Only prune docker when specified" 2018-06-22 14:22:22 +00:00
Roman Gorshunov
46e406ba71 Unifying proxy variables for tox
This patch adds proxy-related variables to tox command.

Change-Id: Ifa202936f5cd240978893e2ee280eb4f27fb0744
2018-06-22 14:54:35 +02:00
Mark Burnett
ad765db2c3 Only prune docker when specified
This should make the testing cycle faster for some users by keeping
images around for reuse.

Change-Id: Ib7eb12f2f3835a5eb1c1b981d9e86e1b2fe79561
2018-06-21 15:19:05 -05:00
Zuul
c8a0aeb5c3 Merge "Use Kubernetes lease endpoint reconciler" 2018-06-20 18:52:12 +00:00
Mark Burnett
15658a088e Use Kubernetes lease endpoint reconciler
In the resiliency gate:
* Enable the --endpoint-reconciler-type=least option for the apiserver.
* Extract etcd validation into its own stages.
* Test joining a node while one control plane node is down.

Change-Id: Id89b0816e91ab6427c5e2f4833ad4ec4e1e3d133
Depends-On: I2150d40e917567a4072a1565c1b96089f3d6fd2b
2018-06-15 13:13:02 -05:00
Mark Burnett
8fee9322ab Fix incorrect use of wget in CoreDNS health
The previous command created a file in /health, which caused the check
to fail after the first run.

Change-Id: I2150d40e917567a4072a1565c1b96089f3d6fd2b
2018-06-14 10:34:42 -05:00
Mark Burnett
faf5a9a2d0 Expand CoreDNS liveness/readiness probes
This adds direct name resolution as part of these checks.  We have
experienced an issue with older versions of the proxy plugin that
resulted in coredns pods unable to resolve upstream names, but passing
health checks.

Change-Id: I9241b78490b4ae1640fb028c8c32bb179bf4e8ec
2018-06-11 03:07:19 +00:00
Zuul
009f3de7ec Merge "trivial fix: Move developer onboarding guide to doc folder" 2018-06-10 01:17:56 +00:00
Zuul
e0aacbfa28 Merge "Remove HAProxy reference to default namespace" 2018-06-10 01:16:02 +00:00
Zuul
c5ce9af805 Merge "(zuul) Update docker publish to quay.io" 2018-06-08 21:37:03 +00:00
Zuul
ec912fde36 Merge "Drop IP & hostname regexes for formats" 2018-06-08 14:06:31 +00:00
Scott Hussey
68faf5a5f6 (zuul) Update docker publish to quay.io
- Use quay.io for publishing images
- Add debug output to image build

Change-Id: I00408cc981b400cefcb4b7c4e598274b86d5fb52
2018-06-07 18:05:05 -05:00
Zuul
aa74efbfc3 Merge "[trivial] Rename tox jobs for zuul" 2018-06-07 14:21:51 +00:00
Felipe Monteiro
ed65d983f7 [trivial] Rename tox jobs for zuul
This patchset renames the tox.ini jobs:

* coverage => cover
* lint => pep8
* unit => py35

to comply with OpenStack standards [0].

[0] e.g. 04469a5181/tox.ini (L119)

Change-Id: I1a542c5e36f29d3788df8a5ebdce3cbe49ab4046
2018-06-06 15:12:54 +00:00