92 Commits

Author SHA1 Message Date
Tin Lam
8f577f284a Fix an issue where arp is not found
This patch set addresses an issue where the ``arp`` command cannot
be found by a non-root user due to path.

Change-Id: Ibfca30f38d72c5be0b98d92bd03ec40160196160
Signed-off-by: Tin Lam <tin@irrational.io>
2017-07-08 13:21:41 -05:00
Pete Birley
0c36b4354d Helm: Move to Helm v2.5.0
This PS Moves OpenStack-Helm to Helm version 2.5.0.

Change-Id: I79da76875a44a5fb7ff55f8c9a9d114ca5f9c186
2017-07-06 12:45:34 -05:00
Jenkins
6f3f72f57e Merge "Dev Scripts: Update service launch commands to use local helm charts" 2017-07-05 15:04:30 +00:00
Pete Birley
e924cd0374 Dev Scripts: Update service launch commands to use local helm charts
This PS changes the basic_launch .sh script to use the local chart
dirs to launch services - making it much easier to rapidly develop
charts locally.

Change-Id: Ib62cb8373708457b892e75cd916942620ca24fb6
2017-07-05 14:19:18 +00:00
Jenkins
2d7fe938c0 Merge "Fix MultiOpt options in gen-oslo-openstack-helm" 2017-07-05 13:46:14 +00:00
Michał Dulko
9eaa08678c Fix MultiOpt options in gen-oslo-openstack-helm
gen-oslo-openstack-helm generated configuration file templates in
incorrect form, causing setting mulitple values in Values.yaml to
produce something like:

  foo=barfoo=baz

This commit fixes this in the generator and updates config file
templates to generate configs correctly:

  foo=bar
  foo=baz

Change-Id: Iea661dcf1710987b2e111d7141ba888f01c44a50
Closes-Bug: 1699581
2017-07-04 17:26:06 +02:00
Jenkins
d901a9d12b Merge "Soft pod anti-affinity for all pods" 2017-07-03 20:12:58 +00:00
Jenkins
a995e6ced7 Merge "Cleanup installation docs" 2017-07-03 19:40:18 +00:00
Pete Birley
c5bbc97ab7 Soft pod anti-affinity for all pods
This PS adds soft anti-affinity to all pods in OS-H. By doing so
resiliancy is improved by attempting to ensure that pods are created
on seperate nodes.

Change-Id: I0c1092498f7a1e44218ef785ca3f73fa9f49819c
2017-07-03 14:15:40 -05:00
Pete Birley
7d109c371c Zuul Checks: Change the serviced launched to relefect gate resources
This PS changes the services launched in the single and multinode
gates to reflect the resources avalible.

Change-Id: I6b2824ef98fefb5532ebaae315c3c5a4c6f730da
2017-07-03 12:07:10 -05:00
Larry Rensing
8ce88e52e0 Cleanup installation docs
This PS organizes the installation document tree for easier navigation
and updating relevant content.

Change-Id: I51951d99dfc06bf441bd65ca817119cbca061851
2017-07-03 11:54:29 -05:00
Steve Wilkerson
9797750fd2 Add support for helm tests in multiple namespaces
Originally, the function to execute helm tests expected the helm
release to be in the openstack namespace. This changes the
function to get the namespace directly from the helm releases to
allow for the gathering of logs and removal of resources from the
namespace a release was installed to

Change-Id: Ic9d1215f363a6251bcc33bead311aba1ba67a658
2017-07-01 17:00:07 -05:00
Pete Birley
7ac9adb7ad Basic launch script: fix some typos in ceph deployment.
This PS fixes some minor typos in the ceph deployment used for dev
and ci checks.

Change-Id: Iab216aaa85fbccb978bb8d69b92f6793888a50d8
2017-06-30 08:44:02 -05:00
Jenkins
c4c1b937dd Merge "Gate: fix multinode support for running outside of zuul" 2017-06-29 23:20:35 +00:00
Pete Birley
5fd358f0ba Gate: fix multinode support for running outside of zuul
This PS fixes multinode operation when run outside of zuul.

Change-Id: I66fecae7c14fa4022882235d656f5c0ac97c12bc
2017-06-29 17:27:59 -05:00
Larry Rensing
8b90c3386a Change custom kube-controller-manager references
This PS changes the install guide in order to have users pull our
custom kube-controller-manager image prior to initializing their
Kubernetes cluster.  Also changes the reference in the gate to remove
redundant lines.

Change-Id: Ic32742b1df8145a99c8333a3d0711113e3cce30e
2017-06-29 20:05:57 +00:00
Jenkins
4ea250f8fd Merge "Helm: fix incorrect refences to old version of Helm." 2017-06-29 13:30:41 +00:00
Pete Birley
22da29c2be Logging: Disable debug logging by default
This PS disables debug logging for all services that had it on, and
removes the key from the default values.yaml. It does however ensure
that the mvp values has the appropriate key to make turning debugging
on simple.

Change-Id: I8ed84d531971cbd7984f029abbebb373af4c7311
2017-06-29 07:10:20 -05:00
Pete Birley
728caa3d7d Helm: fix incorrect refences to old version of Helm.
This PS fixes some references to Helm v2.3.1, which has been
replaced by Helm v2.4.1 as the reference version.

Change-Id: I369f4846623932c2420fab2632ac1c0d8aad3cff
2017-06-29 11:49:41 +00:00
Jenkins
e1874a7b1a Merge "Ingress controller for public endpoints" 2017-06-29 05:03:19 +00:00
Pete Birley
c0cf2337a2 Ingress controller for public endpoints
This PS provides the framework for Ingress controller based access to
public APIs.

Services covered:
 * Barbican
 * Cinder
 * Glance
 * Heat
 * Horizon
 * Keystone
 * Magnum
 * Mistral
 * Neutron
 * Nova
 * Senlin

Change-Id: I82d55f6ca41859ebed3312ec7d95b353df09e772
Implements: blueprint api-ingress
External-Tracking-Id: OSH-58, OSH-62
2017-06-28 17:37:10 -05:00
Jenkins
31d3ba45c7 Merge "Gate scripts: Update readme to describe multinode deployment" 2017-06-28 15:33:25 +00:00
Pete Birley
fc82130ceb Gate scripts: Update readme to describe multinode deployment
This PS updates the gate script to make multinode developer
deployment outside of zuul much clearer.

Change-Id: I25cc8c2f101dd0241d715ef7bf2e004cddf43c06
2017-06-28 14:45:26 +00:00
Jaesang Lee
55c1625a4f Helm Test: Cinder
Add rally tests in cinder helm chart.
It only test create a volume because volume driver is fake_driver.

Change-Id: Iba5df74df427a414c70dda6baf9bc7e775b1716d
Partial-Implements: blueprint implement-helm-test-for-charts
2017-06-28 04:45:46 +00:00
Pete Birley
8ef5d94674 Refactor Ceph secret generation
This PS refactors the ceph chart and secret generation process.
The updated chart replaces the existing "bootstrap" chart.
Additionally, Ceph manifests and deployment guides were modified
accordingly.

Change-Id: I6f5bb88fc0f40cfee8865d9dab83859d765e7537
Co-Authored-By: Larry Rensing <lr699s@att.com>
2017-06-27 13:42:03 -05:00
Jenkins
b3f353ca7a Merge "Gates: Cleanup VM after basic functional test" 2017-06-23 18:18:38 +00:00
Jenkins
802b74ba0b Merge "Zuul logging: get descriptions of k8s objects running in gates" 2017-06-23 14:23:35 +00:00
Pete Birley
361aad0789 Gates: Cleanup VM after basic functional test
This ps stops and removes the test VM after we have finished with it.
This frees up resources for the helm tests to use on the small machines
we have avalible in openstack-infra.

Change-Id: I743d8a9271bd349636ffc57e86255cc967633844
2017-06-23 14:18:48 +00:00
Pete Birley
1da5ea7a95 Zuul logging: get descriptions of k8s objects running in gates
This ps adds descriptive logging of all k8s objects running in the
Zuul gates.

Change-Id: Id44b085f2e49bb89b0dd1d0d8444af0aa1265ed4
2017-06-23 13:07:12 +00:00
Pete Birley
d69f021e32 Nova: Helm test functionaility using Rally
This PS adds 'helm test' functionality using Rally to Nova

Change-Id: Ie53c42636b58e36c22a9260c67a7981183d741d3
Partial-Implements: blueprint implement-helm-test-for-charts
External-Tracking-Id: OSH-89
2017-06-22 19:00:41 -05:00
Pete Birley
653f7ed3e4 Neutron: Helm test functionaility using Rally
This PS adds 'helm test' functionality using Rally to Neutron

Change-Id: I6e89aca1870704368b4dc1f8ad93f8ba563002c1
Partial-Implements: blueprint implement-helm-test-for-charts
External-Tracking-Id: OSH-89
2017-06-22 15:51:27 -05:00
Pete Birley
960613e5c6 Boot VM's and basic functional test in Zuul Checks
This PS adds basic vm booting and functional testing to the single node
Zuul gates. Multinode testing will be once we have ceph running in zuul.

Change-Id: Ifcbdcaa4a30dee4088e369d4410dd737ef6f12cd
2017-06-22 14:23:26 -05:00
Darla Ahlert
7eeb9836c1 Fixing outdated versions and broken links in docs
Change-Id: I81df87c39d3ac8f0ba321b8d37a74f873c9a974d
2017-06-21 13:39:41 -05:00
Pete Birley
d27c041534 Neutron: fix mvp values.
This PS fixes the MVP values file to permit VM's to both be accessed
and access external networks.

Change-Id: If2243e55747c771ecd5fd9e2f4fb683899aa6623
2017-06-19 19:41:24 -05:00
Jenkins
b7fa4dce2a Merge "Checks: enable remaining core services." 2017-06-15 15:12:11 +00:00
Jenkins
de1a0ece08 Merge "KubeADM-AIO: Make init more stable and support multiple PVC backends" 2017-06-15 15:11:37 +00:00
Pete Birley
f9741a9679 Checks: enable remaining core services.
This PS enables the remaining core services of openstack-helm in
the check/gate runs.

Change-Id: Ia6caafcd0975a5ae020fe204605ef734e26eebbc
2017-06-15 01:59:38 +00:00
Pete Birley
979591af87 KubeADM-AIO: Make init more stable and support multiple PVC backends
This PS makes the init of the KubeADM environment more stable by ensuring
all kube-system pods are up before trying to launch tiller. the NFS PVC
provider is now made optional but enabled by default, so that Ceph (and
other more complex providers) can be supported in future. Finaly the
scripts to bring up k8s/helm are refined to not bring in the clients if
already present with the correct versions on the host.

Change-Id: I4d7ceb6196e8fd5e3350ec99f09fbe6bb5fe01f6
2017-06-14 20:30:51 -05:00
Tin Lam
4358552d8b Fix whitespace linter trap
When the linter fails due to trailing whitespaces, the trapped
dump_logs.sh execution will attempt to collect logs using kubectl,
which is not installed, causing further errors in the log.
This patch set prevents the log gathering if kubectl does not
exists.

Change-Id: I83c13caec2ece7cc8ec9bfd838ae7d4af9dcbed3
2017-06-14 13:31:59 +00:00
Tin Lam
b780680232 Remove trailing whitespaces in rst
This patch set cleans up some whitespaces introduced in preparation
for the linter gate to be voting.

Change-Id: If92a754204c40171b055bfd71eb03ff519955f9d
2017-06-13 22:39:43 -05:00
Jenkins
a094df8a31 Merge "Remove temporary folder copying logic" 2017-06-13 20:34:12 +00:00
Tin Lam
39d12c6d77 Remove temporary folder copying logic
This patch set removes the need to create a temporary directory
brought up in patch set [0].

[0] https://review.openstack.org/#/c/472451/

Change-Id: I57448d9722a33bb63fca5576d19b61f3015828ec
2017-06-12 23:02:12 -05:00
mattmceuen
cf4c6d50de Clarified a couple documentation points.
Conditionals:  since the developer flag is no longer used by the
glance chart, it's no longer a good example.  However, we want to
keep the flag around for future use if needed.  So, replaced with
a foo/bar example.

gen-oslo-openstack-helm README:  it referred to "this directory",
which doesn't make sense when the README is sourced into the
overall ops guide.  Specified the directory explicitly.

Change-Id: I2ba02bd3efd87e58fcb701c8b7c2bb6af05994ba
2017-06-12 21:38:49 -05:00
Jenkins
0a8dfeb517 Merge "Checks: Run the helm template plugin against charts" 2017-06-12 22:44:05 +00:00
Jenkins
374752131d Merge "N-Node gate, and improved logging" 2017-06-09 20:50:21 +00:00
Pete Birley
de656ea7f2 N-Node gate, and improved logging
This PS sets up the check scripts to support a N node gate in zuul
it also adds more comprehensive logging of OS-H.

Change-Id: Id2af01c688a438eeec348f221fb05b09401c80a0
2017-06-09 15:00:29 -05:00
Alan Meadows
a3972f6e5d Ensure gate failure summary shows node assigned to each pod
Change-Id: Ic765a423eddcd13961b395cbcee7b86c5fd07760
2017-06-09 08:10:15 -07:00
Pete Birley
8ec335cbfd Checks: Run the helm template plugin against charts
This PS runs the helm template plugin against charts in the linter
gate.

Change-Id: I660588707a4e2b49d9661222b590dfea67b74fb1
2017-06-08 17:23:41 -05:00
Curtis Collicutt
6ffd10403c Add sudo to docker log command
There are two spots where docker log is run without sudo, and
without sudo the command will usually fail and the loop will
never be exited. This would only be hit on an error.

Change-Id: I4335783478ad2583b581bd9264b029e929bfc8c3
2017-06-07 11:51:39 -06:00
Jenkins
caca8b9d56 Merge "Helm Test: Glance" 2017-06-07 00:22:52 +00:00