summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
6 hoursMerge "[k8s] helm install metrics service"HEADmasterZuul
22 hoursMerge "Add hidden flag to cluster template"Zuul
5 days[k8s] helm install metrics serviceDiogo Guerra
* Add Folder specific for helm managed resources * Add first use case of helm install script * Install metrics-server with helm (parallel to heapster to allow back compatibility) * Added extra ARGS to kube-apiserver to enable communication with metrics-server Known Issues: * Tiller pod sometimes is presented as not active due to (possibly) Heartbeat/Healthz story: 2004816 task: 28980 depends_on: I99d3a78085ba10030200f12bbfe58a72964e2326 Change-Id: I1b2432bc09ccde02e43124ed010120b99d853d65 Signed-off-by: Diogo Guerra <dy090.guerra@gmail.com> Notes (review): Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Code-Review+2: Feilong Wang <flwang@catalyst.net.nz> Workflow+1: Feilong Wang <flwang@catalyst.net.nz> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 18 Feb 2019 17:46:42 +0000 Reviewed-on: https://review.openstack.org/632392 Project: openstack/magnum Branch: refs/heads/master
5 daysMerge "[k8s_fedora] Add heat-agent to worker nodes"Zuul
6 days[k8s_fedora] Add heat-agent to worker nodesSpyros Trigazis
Start/Install heat agent in worker nodes. task: 29140 story: 2002210 Signed-off-by: Spyros Trigazis <spyridon.trigazis@cern.ch> Change-Id: If39d0dff3432ba132b8b56eb21b5aae80ba52450 Notes (review): Code-Review+2: Feilong Wang <flwang@catalyst.net.nz> Workflow+1: Feilong Wang <flwang@catalyst.net.nz> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 13 Feb 2019 11:48:03 +0000 Reviewed-on: https://review.openstack.org/561858 Project: openstack/magnum Branch: refs/heads/master
7 daysAdd hidden flag to cluster templateRicardo Rocha
Add a new hidden flag to cluster templates. This allows an operator to keep a cluster public (accessible to all users) while not showing them in cluster template listing. Story: 2004941 Task: 29342 Change-Id: Ia2717ca960041753f6e772bf2d41c7f5a196dae6 Notes (review): Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Code-Review+2: Feilong Wang <flwang@catalyst.net.nz> Workflow+1: Feilong Wang <flwang@catalyst.net.nz> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 18 Feb 2019 01:28:15 +0000 Reviewed-on: https://review.openstack.org/634948 Project: openstack/magnum Branch: refs/heads/master
8 daysk8s_fedora: Deploy tillerSpyros Trigazis
Add enable_tiller label to install tiller in k8s_fedora_atomic clusters. Defaults to false. Add tiller_tag label to select the version of tiller. If the tag is not set the tag that matches the helm client version in the heat-agent will be picked. The tiller image can be stored in a private registry and the cluster can pull it using the container_infra_prefix label. Install tiller securely using helper container. TODO: *add instructions on how RBAC is designed https://docs.helm.sh/using_helm/#example-deploy-tiller-in-a-namespace-restricted-to-deploying-resources-in-another-namespace * add docs on how to install addon in the cluster using this tiller * how users can get the creds to talk to tiller NOTE: The main goal of this tiller is internal usage! Users can still deploy other tillers in other namespaces. story: 2003902 task: 26780 Change-Id: I99d3a78085ba10030200f12bbfe58a72964e2326 Signed-off-by: dioguerra <dy090.guerra@gmail.com> Notes (review): Code-Review+1: Diogo Guerra <dy090.guerra@gmail.com> Code-Review+1: Jake Yip <jake.yip@unimelb.edu.au> Code-Review+2: Feilong Wang <flwang@catalyst.net.nz> Code-Review+1: Erik Olof Gunnar Andersson <eandersson@blizzard.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 13 Feb 2019 10:20:03 +0000 Reviewed-on: https://review.openstack.org/612336 Project: openstack/magnum Branch: refs/heads/master
8 daysMerge "Fixing container-build job"Zuul
8 daysFixing container-build jobErik Olof Gunnar Andersson
When the base zuul job moved from openstack-infra to opendev the role openstack-zuul-jobs which we depend on for the swap was removed. This patch manually imports that repo. Change-Id: I90acaf010014664879f5c0d2f1a1ef660baf498f Notes (review): Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 11 Feb 2019 08:57:54 +0000 Reviewed-on: https://review.openstack.org/636077 Project: openstack/magnum Branch: refs/heads/master
8 daysFix typo in octavia-ingress-controller docLingxian Kong
Change-Id: I53eaab312fa1b3b3f5689aa0147a028ecaeb52f1 Notes (review): Code-Review+1: Jake Yip <jake.yip@unimelb.edu.au> Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 11 Feb 2019 08:09:35 +0000 Reviewed-on: https://review.openstack.org/636072 Project: openstack/magnum Branch: refs/heads/master
12 daysMerge "Delete loadbalancers and floatingips for service and ingress"Zuul
12 daysMerge "Allow overwriting labels on swarm mode creation"Zuul
12 daysAllow overwriting labels on swarm mode creationRicardo Rocha
Allow passing label values on cluster creation for swarm mode. This is available in all kubernetes drivers as well as swarm, but somehow missed on swarm mode. Story: 2004942 Task: 29343 Change-Id: Ie3ac66f45e27cc92993116c3df0b33873dc67e24 Notes (review): Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 06 Feb 2019 16:05:42 +0000 Reviewed-on: https://review.openstack.org/634501 Project: openstack/magnum Branch: refs/heads/master
13 daysMerge "Allow cluster template being renamed"Zuul
2019-02-05Delete loadbalancers and floatingips for service and ingressLingxian Kong
This patch makes the regex more broad to cover both services and ingresses that create load balancers in octavia. In cloud-provider-openstack repo, the load balancer description is defined in: - https://github.com/kubernetes/cloud-provider-openstack/blob/f056677572b2635632abcc7dbde459cdfc4432b9/pkg/cloudprovider/providers/openstack/openstack_loadbalancer.go#L459 - https://github.com/kubernetes/cloud-provider-openstack/blob/f056677572b2635632abcc7dbde459cdfc4432b9/pkg/ingress/controller/openstack/octavia.go#L316 The floating ip description is defined in: - https://github.com/kubernetes/cloud-provider-openstack/blob/f056677572b2635632abcc7dbde459cdfc4432b9/pkg/cloudprovider/providers/openstack/openstack_loadbalancer.go#L1063 - https://github.com/kubernetes/cloud-provider-openstack/blob/f056677572b2635632abcc7dbde459cdfc4432b9/pkg/ingress/controller/openstack/neutron.go#L72 Change-Id: I7ce38e38de0d66fac340e287ce520de4c4bf679d Story: 2004839 Notes (review): Code-Review+1: Serhii Rusin <Serhii_Rusin@Jabil.com> Code-Review+1: Feilong Wang <flwang@catalyst.net.nz> Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 07 Feb 2019 11:04:18 +0000 Reviewed-on: https://review.openstack.org/632580 Project: openstack/magnum Branch: refs/heads/master
2019-02-03Merge "Support octavia-ingress-controller"Zuul
2019-02-01Merge "[k8s_fedora_atomic] Delete floating ip for load balancer"Zuul
2019-02-01Merge "[k8s-fedora-atomic] Update k8s default version"Zuul
2019-02-01Merge "heat-agent: Add openssh-clients"Zuul
2019-01-31Support octavia-ingress-controllerLingxian Kong
- Add "octavia" as one of the "ingress_controller" options. - Add label "octavia_ingress_controller_tag". - Use external network ID in the heat templates. Story: 2004838 Change-Id: I7d889a054cd5feb2eeef523b20607a6c7630d777 Notes (review): Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Code-Review+2: Feilong Wang <flwang@catalyst.net.nz> Workflow+1: Feilong Wang <flwang@catalyst.net.nz> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Sun, 03 Feb 2019 22:20:02 +0000 Reviewed-on: https://review.openstack.org/631330 Project: openstack/magnum Branch: refs/heads/master
2019-01-30heat-agent: Add openssh-clientsSpyros Trigazis
Add openssh-client to the heat-agent to act on the host. story: 2002210 task: 29142 Change-Id: I6e52291e4fc750418c70a22cc386034fa729d765 Signed-off-by: Spyros Trigazis <spyridon.trigazis@cern.ch> Notes (review): Code-Review+2: Feilong Wang <flwang@catalyst.net.nz> Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 01 Feb 2019 11:34:51 +0000 Reviewed-on: https://review.openstack.org/633504 Project: openstack/magnum Branch: refs/heads/master
2019-01-31[k8s-fedora-atomic] Update k8s default versionFeilong Wang
And also update the default value of keystone_auth_enabled from False to True in favor of prompting the integration of OpenStack and K8s. Change-Id: I0fcea762d467e1afeecb175f65b9b13ad9ee1f71 Notes (review): Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 01 Feb 2019 11:34:53 +0000 Reviewed-on: https://review.openstack.org/634055 Project: openstack/magnum Branch: refs/heads/master
2019-01-30Support multi k8s image versionsFeilong Wang
Change-Id: Icae30a7d6c5f779e75587f398d06dc149378e827 Notes (review): Code-Review+1: Diogo Guerra <dy090.guerra@gmail.com> Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 01 Feb 2019 11:34:49 +0000 Reviewed-on: https://review.openstack.org/633650 Project: openstack/magnum Branch: refs/heads/master
2019-01-28Allow cluster template being renamedFeilong Wang
To get a better cluster template versioning and relieve the pain of maintaining public cluster template, the patch is proposing that the name of cluster template can be changed. A folllowing patch/spec will be proposed to add a new field 'deprecated' to allow ops to hide old/deprecated templates. Task: 26889 Story: 2003960 Change-Id: Id1db81d35bc3dccff0fac481be7801de200d52de Notes (review): Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Feilong Wang <flwang@catalyst.net.nz> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 05 Feb 2019 21:46:42 +0000 Reviewed-on: https://review.openstack.org/609174 Project: openstack/magnum Branch: refs/heads/master
2019-01-28ci: Rebuild kubernetes v1.11.6 containersSpyros Trigazis
Change-Id: I531bf1fef6a87d8fbbf8f16c22c3db6a80797b69 Notes (review): Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 28 Jan 2019 12:00:13 +0000 Reviewed-on: https://review.openstack.org/633478 Project: openstack/magnum Branch: refs/heads/master
2019-01-28Merge "Update kube cmd documentation links"Zuul
2019-01-28Merge "Enable CoreDNS prometheus metrics plugin"Zuul
2019-01-28Update kube cmd documentation linksRicardo Rocha
Change-Id: I2f6aca27d0f640f01e8e031f759479c776b2523a Notes (review): Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 28 Jan 2019 09:32:44 +0000 Reviewed-on: https://review.openstack.org/633458 Project: openstack/magnum Branch: refs/heads/master
2019-01-27Add framework for magnum-status upgrade checkakhiljain23
This commit adds the functionality of magnum-status CLI for performing upgrade checks as part of the Stein cycle upgrade-checkers goal. It only includes a sample check which must be replaced by real checks in future. Change-Id: Ia8a74fd8bd5a804e71bb04eb0615fa114a517bc4 Story: 2003657 Task: 26138 Notes (review): Code-Review+1: Matt Riedemann <mriedem.os@gmail.com> Code-Review+2: Hongbin Lu <hongbin034@gmail.com> Code-Review+1: Erik Olof Gunnar Andersson <eandersson@blizzard.com> Code-Review+1: Gaƫtan Trellu <gaetan.trellu@incloudus.com> Code-Review+2: Feilong Wang <flwang@catalyst.net.nz> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 28 Jan 2019 09:29:53 +0000 Reviewed-on: https://review.openstack.org/611505 Project: openstack/magnum Branch: refs/heads/master
2019-01-25[k8s_fedora_atomic] Delete floating ip for load balancerLingxian Kong
When user creates LoadBalancer type service in k8s cluster, a floating ip may be created and associated with the load balancer VIP. Magnum now could delete the load balancers automatically in the cluster pre-delete method, should also remove the floating ip as needed. This patch depends on the github PR for cloud-provider-openstack: https://github.com/kubernetes/cloud-provider-openstack/pull/433 Story: 2004836 Change-Id: Ia553aff4e66033346c6bfe120a72992bec79e136 Notes (review): Code-Review+2: Feilong Wang <flwang@catalyst.net.nz> Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 01 Feb 2019 15:19:26 +0000 Reviewed-on: https://review.openstack.org/630820 Project: openstack/magnum Branch: refs/heads/master
2019-01-23Merge "Use oslo_serialization instead of the json module directly"Zuul
2019-01-23Merge "support http/https proxy for discovery url"Zuul
2019-01-23Merge "Fix prometheus monitoring"Zuul
2019-01-21Use oslo_serialization instead of the json module directlyErik Olof Gunnar Andersson
* Always use oslo jsonutils. * Consistently import jsonutils as-is. * Use dump_as_bytes instead of dumps. https://wiki.openstack.org/wiki/Python3#Serialization:_base64.2C_JSON.2C_etc. Change-Id: I2b65faa7df43a1d58205e8ff106ff62f73d78198 Notes (review): Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 23 Jan 2019 22:53:24 +0000 Reviewed-on: https://review.openstack.org/631331 Project: openstack/magnum Branch: refs/heads/master
2019-01-19Merge "Use python3 for functional tests"Zuul
2019-01-18Merge "Use MultiType and types.text instead of str"Zuul
2019-01-18Use python3 for functional testsSpyros Trigazis
* Run by default with python3. * Add python2 functinal-api job. Change-Id: Ic5c3c4ef57284767665d3c5dc92c59671218ebe1 Signed-off-by: Spyros Trigazis <spyridon.trigazis@cern.ch> Notes (review): Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Sat, 19 Jan 2019 15:08:41 +0000 Reviewed-on: https://review.openstack.org/629126 Project: openstack/magnum Branch: refs/heads/master
2019-01-18Use MultiType and types.text instead of strErik Olof Gunnar Andersson
The goal of this is to fix python3 compatibility issues. story: 2003236 task: 23698 Change-Id: I555c7faecfcccaaa3649ef8c631b99a01e747c0b Notes (review): Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 18 Jan 2019 12:56:38 +0000 Reviewed-on: https://review.openstack.org/631081 Project: openstack/magnum Branch: refs/heads/master
2019-01-17Bump k8s version up to v1.11.5Bharat Kunwar
Change-Id: I77f46ac03cfd3f1e86db6e3327b37c27d8f0edab Notes (review): Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Code-Review+1: Bharat Kunwar <bharat@stackhpc.com> Code-Review+1: Diogo Guerra <dy090.guerra@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 18 Jan 2019 11:40:43 +0000 Reviewed-on: https://review.openstack.org/631532 Project: openstack/magnum Branch: refs/heads/master
2019-01-17Fix python3 compatibilityMichal Arbet
Change-Id: Id8a0913dde556a3e59b1ffdb22ca5e2aabd257a2 Closes-Bug: #1803972 Notes (review): Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 17 Jan 2019 11:00:02 +0000 Reviewed-on: https://review.openstack.org/618756 Project: openstack/magnum Branch: refs/heads/master
2019-01-17Fix prometheus monitoringFeilong Wang
There are 2 changes included in this patch: 1. Using cluster ip instead of fixed ip for grafana service to make sure the address is reachable. 2. Move node exporter to prometheus-monitoring namespace and make it as a DaemonSet to collect metrics from master node. Task: 28468 Story: 2004590 Change-Id: I9090c6dc4b38e1a1466c4c3a6a827d95c089fb41 Notes (review): Code-Review+1: Diogo Guerra <dy090.guerra@gmail.com> Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Code-Review+1: Erik Olof Gunnar Andersson <eandersson@blizzard.com> Workflow+1: Feilong Wang <flwang@catalyst.net.nz> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 23 Jan 2019 00:00:28 +0000 Reviewed-on: https://review.openstack.org/624558 Project: openstack/magnum Branch: refs/heads/master
2019-01-16Do not use 'exit' in the scriptLingxian Kong
The scripts in kube_cluster_config SoftwareConfig resource are combined together as one script inside the VM, any 'exit' clause will stop executing the following script. Change-Id: I25965c663e6e1ca5a59d0f28098174810bd76df1 Notes (review): Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Code-Review+1: Diogo Guerra <dy090.guerra@gmail.com> Code-Review+2: Feilong Wang <flwang@catalyst.net.nz> Workflow+1: Feilong Wang <flwang@catalyst.net.nz> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 16 Jan 2019 23:07:09 +0000 Reviewed-on: https://review.openstack.org/631106 Project: openstack/magnum Branch: refs/heads/master
2019-01-15Merge "Removed admin_* from devstack config"Zuul
2019-01-15Merge "Release note for cluster pre-delete"Zuul
2019-01-15Merge "Remove -U from pip install"Zuul
2019-01-15Remove -U from pip installricolin
'pip install -U' ugrades specified packages, this is not necessary since we use constraints, remove the parameter '-U' from the line. Change-Id: I2582c1a1995bb4cf903d4ce2e1ebb3fca930ea01 Notes (review): Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Code-Review+1: Diogo Guerra <dy090.guerra@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 15 Jan 2019 11:12:28 +0000 Reviewed-on: https://review.openstack.org/528556 Project: openstack/magnum Branch: refs/heads/master
2019-01-14Enable CoreDNS prometheus metrics pluginDiogo Guerra
- Update coredns container version from 1.0.1 to 1.3.0 - Enable prometheus /metrics plugin Change-Id: I4e37db8dd95f2df08ad2cf51ae861b47eacda457 Task: 28900 Story: 2004623 Signed-off-by: Diogo Guerra <dy090.guerra@gmail.com> Notes (review): Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 28 Jan 2019 09:32:41 +0000 Reviewed-on: https://review.openstack.org/630748 Project: openstack/magnum Branch: refs/heads/master
2019-01-14Support Keystone AuthN and AuthZ for k8sFeilong Wang
Now cloud-provider-openstack of Kubernetes has a webhook to support Keystone authorization and authentication. With this feature, user can use a new label 'keystone-auth-enabled' to enable the keystone authN and authZ. DocImpact Task: 21637 Story: 1755770 Change-Id: I3d21ad8f55c0d7308a302f62db9e9af147a604f8 Notes (review): Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 15 Jan 2019 11:12:25 +0000 Reviewed-on: https://review.openstack.org/561783 Project: openstack/magnum Branch: refs/heads/master
2019-01-08Merge "containers: clean-up build code"Zuul
2019-01-08Merge "Change docker image pulling policy from Always to IfNotPresent"Zuul