summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
4 daysAdd support for www_authenticate_uri in ContextHookHEADmasterErik Olof Gunnar Andersson
* Added support for www_authenticate_uri in ContextHook. * Made code path consistent with keystone.py impl. Story: 2004271 Task: 28073 Change-Id: I7e3f23964a55be3255e87a4c4af7bae0a1415676 Notes (review): Code-Review+1: Colin Gibbons <cgibbons@blizzard.com> Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Sat, 08 Dec 2018 14:30:36 +0000 Reviewed-on: https://review.openstack.org/619806 Project: openstack/magnum Branch: refs/heads/master
7 daysMerge "Add Octavia python client for Magnum"Zuul
2018-11-23Merge "Make providing a keypair optional"Zuul
2018-11-21Make providing a keypair optionalJim Bach
A user may not rely on nova-keypairs to access their cluster such as a preconfigured SSSD. story: 2004402 task: 28035 Change-Id: I77fbdc174d3dddfd312fb8dac20516314d4c182e 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, 23 Nov 2018 15:00:53 +0000 Reviewed-on: https://review.openstack.org/590443 Project: openstack/magnum Branch: refs/heads/master
2018-11-08Merge "Add support for www_authentication_uri"Zuul
2018-11-08Merge "Cleaned up devstack logging"Zuul
2018-11-06Cleaned up devstack loggingErik Olof Gunnar Andersson
Switch to systemd logging to take advantage of some of the newer logging features. Story: 2004272 Task: 27820 Change-Id: I475bf26e24b3a725f68c7da355807374bf1e189b Notes (review): Code-Review+1: Jim Bach <jabach@blizzard.com> Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 08 Nov 2018 10:44:51 +0000 Reviewed-on: https://review.openstack.org/615682 Project: openstack/magnum Branch: refs/heads/master
2018-11-06Add support for www_authentication_uriErik Olof Gunnar Andersson
We do currently not support www_authentication_uri at all, which is the new standard, as auth_uri has long been deprecated. * Make sure we support both auth_uri and www_authenticate_uri. * Switched to www_authenticate_uri for devstack. * Fixed a bug where a bad exception would be thrown if auth_uri was not set. Story: 2004271 Task: 27819 Change-Id: Ibc932d35f3d6ba2ac7ffb6193aa37bd4a3d4422e Notes (review): Code-Review+1: Colin Gibbons <cgibbons@blizzard.com> Code-Review+1: Jim Bach <jabach@blizzard.com> Code-Review+1: Bharat Kunwar <bharat@stackhpc.com> Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 08 Nov 2018 11:52:33 +0000 Reviewed-on: https://review.openstack.org/614082 Project: openstack/magnum Branch: refs/heads/master
2018-11-05Add Octavia python client for MagnumJim Bach
Adding the client enables the manipulation of Octavia resources with Magnum such as during cluster deletion, being able to clean up non-heat created resouces. Change-Id: I976ab136e24b98d447d61028ce07d0f5dd9d255a story: 2004259 task: 27795 Notes (review): Code-Review+1: Erik Olof Gunnar Andersson <eandersson@blizzard.com> Code-Review+2: Feilong Wang <flwang@catalyst.net.nz> Code-Review+1: Rico Lin <rico.lin.guanyu@gmail.com> Code-Review+1: Lingxian Kong <anlin.kong@gmail.com> Code-Review+1: Gaëtan Trellu <gaetan.trellu@incloudus.com> Workflow+1: Feilong Wang <flwang@catalyst.net.nz> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 04 Dec 2018 01:34:06 +0000 Reviewed-on: https://review.openstack.org/615591 Project: openstack/magnum Branch: refs/heads/master
2018-11-03[K8S] Pass cluster name to controller-managerLingxian Kong
The cluster name is useful to identify resources created in different k8s clusters, especially in the cloud environment, the cluster name is always injected into the name of the cloud resources(e.g. the load balancer, volume, etc.), which is helpful for the cluster resource clean up. The magnum cluster UUID is used as the value of '--cluster-name' option. Story: 2004242 Task: 27766 Change-Id: I245a8869948a0b8bfa8d5cc32e7fb9277477026a 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, 06 Nov 2018 09:42:36 +0000 Reviewed-on: https://review.openstack.org/614996 Project: openstack/magnum Branch: refs/heads/master
2018-10-29Merge "Trivial code cleanups"Zuul
2018-10-29Merge "Add heat_container_agent_tag label"Zuul
2018-10-24Add heat_container_agent_tag labelSpyros Trigazis
Add heat_container_agent_tag label to allow users select the heat-agent tag. Stein default: stein-dev story: 2003992 task: 26936 Change-Id: I6a8d8dbb2ec7bd4b7d01fa7cd790a8966ea88f73 Signed-off-by: Spyros Trigazis <spyridon.trigazis@cern.ch> Notes (review): Code-Review+1: Erik Olof Gunnar Andersson <eandersson@blizzard.com> Code-Review+1: Ricardo Rocha <rocha.porto@gmail.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, 29 Oct 2018 10:59:22 +0000 Reviewed-on: https://review.openstack.org/612727 Project: openstack/magnum Branch: refs/heads/master
2018-10-23Merge "Minor fixes to re-align with Ironic"Zuul
2018-10-23Merge "Add prometheus-monitoring namespace"Zuul
2018-10-23Merge "Make master node schedulable with taints"Zuul
2018-10-23Minor fixes to re-align with IronicJulia Kreger
Ironic has evolved and a few items were no longer correct in the contributed scripts for use with ironic. Additionally a database workaround was fixed, and as such commented out. Change-Id: I105791985973e8348d43d41982ac7ba3e0cf970c Notes (review): Code-Review+1: Erik Olof Gunnar Andersson <eandersson@blizzard.com> 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: Tue, 23 Oct 2018 22:04:40 +0000 Reviewed-on: https://review.openstack.org/612748 Project: openstack/magnum Branch: refs/heads/master
2018-10-19Merge "[swarm-mode] Remove --live-restore from Docker daemon options"Zuul
2018-10-16[swarm-mode] Remove --live-restore from Docker daemon optionsTobias Urdin
Ensure the --live-restore is not in the Docker daemon OPTIONS. Some images has this option by default which will cause the node not being able to perform it swarm init process. Change-Id: I287a5274143903fad5d4476e9d1640b26bdb46d4 Story: 2004095 Task: 27497 Notes (review): Code-Review+1: Erik Olof Gunnar Andersson <eandersson@blizzard.com> Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Code-Review+1: Jim Bach <jabach@blizzard.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 19 Oct 2018 10:30:06 +0000 Reviewed-on: https://review.openstack.org/611097 Project: openstack/magnum Branch: refs/heads/master
2018-10-16Update heat-container-agent version tagFeilong Wang
Update heat-container-agent version tag to include the multi region fix. Task: 27051 Story: 2003992 Change-Id: Ided337dafa52cce771126e96ef41a62a3358fda1 Notes (review): 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, 17 Oct 2018 01:52:55 +0000 Reviewed-on: https://review.openstack.org/609579 Project: openstack/magnum Branch: refs/heads/master
2018-10-16Fixing gate failing due to bad AMQP virtual_hostErik Olof Gunnar Andersson
We are currently hitting this error with the gate. > NOT_ALLOWED - access to vhost 'None' refused for user 'stackrabbit' This patch fixes this by using the inbuilt devstack construct to create an appropriate transport_url. Change-Id: I9aae96094b7bd8bc148ae3e42c118ba160eff8ae Notes (review): Code-Review+2: yatin <ykarel@redhat.com> Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 16 Oct 2018 08:05:48 +0000 Reviewed-on: https://review.openstack.org/610740 Project: openstack/magnum Branch: refs/heads/master
2018-10-08Make master node schedulable with taintschestack
--register-with-taints take no effect when --register-schedulable=false configured. It's better to drop --register-schedulable and leave --register-with-taints to make master schedulable add --pod-infra-container-image=CONTAINER_INFRA_PREFIX for kubelet on master nodes. Change-Id: Ia2ce59841d823ba02a65224088e5af1a8c9610b1 Notes (review): Code-Review+1: PanFengyun <pan_feng_yun@163.com> Code-Review+2: Feilong Wang <flwang@catalyst.net.nz> Code-Review+1: Erik Olof Gunnar Andersson <eandersson@blizzard.com> Code-Review+1: Bharat Kunwar <bharat@stackhpc.com> Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 23 Oct 2018 17:02:25 +0000 Reviewed-on: https://review.openstack.org/608627 Project: openstack/magnum Branch: refs/heads/master
2018-10-02Trivial code cleanupsErik Olof Gunnar Andersson
Cleaning up comments and logging to make sure they properly adhere to Openstack standards. * Consistently use """ instead of ''' for comments. * Always lazy-load logging parameters. * Fixed bad log line in cert_manager. Change-Id: I547f5dfa61609a899aef9b1470be8d8a6d8e4b81 Notes (review): Code-Review+1: Jim Bach <jabach@blizzard.com> Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Code-Review+1: Colin Gibbons <cgibbons@blizzard.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 29 Oct 2018 14:45:47 +0000 Reviewed-on: https://review.openstack.org/601904 Project: openstack/magnum Branch: refs/heads/master
2018-09-24Merge "Make cover jobs non-voting"Zuul
2018-09-24Merge "Use existing templates for cluster-update command"Zuul
2018-09-24Use existing templates for cluster-update commandSpyros Trigazis
Cluster update was used for scaling operations only, but if the heat-temaplates where changed for any reason (eg upgrade of the magnum server), the stack update command was destructive. This patch uses the existing parameter in the stack update call. story: 1722573 task: 21583 Change-Id: Id84e5d878b21c908021e631514c2c58b3fe8b8b0 Notes (review): Code-Review+1: Bharat Kunwar <bharat@stackhpc.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, 24 Sep 2018 14:01:20 +0000 Reviewed-on: https://review.openstack.org/600806 Project: openstack/magnum Branch: refs/heads/master
2018-09-19Make cover jobs non-votingAndreas Jaeger
This job is not ready to be voting yet. Change-Id: I2f1a2ba5d1fa501ead403f94243f45f8da100097 Notes (review): Code-Review+1: Erik Olof Gunnar Andersson <eandersson@blizzard.com> 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: Mon, 24 Sep 2018 16:17:47 +0000 Reviewed-on: https://review.openstack.org/603594 Project: openstack/magnum Branch: refs/heads/master
2018-09-18Add prometheus-monitoring namespaceJangwon Lee
When using 'prometheus_monitoring=true' in the label option, 'kube-enable-monitoring.service' in the master node has stuck in 'Wait for Grafana pod and then inject data source'. It caused the 'prometheus-monitoring' namespace doesn't exist, so scripts don't create pods about Prometheus and Grafana. To fix the error, I added codes in 'magnum/drivers/common/templates/ kubernetes/fragments/enable-prometheus-monitoring.sh' to make 'prometheus-monitoring' namespace. We could put codes in a new file like 'magnum/magnum/drivers/ k8s_coreos_v1/templates/fragments/create-kube-namespace.yaml', but I think it's ok. Change-Id: I23395b41919c6f39cfcc2b4480bcd4b040cae031 Task: 26347 Story: 2003697 Notes (review): Code-Review+2: Feilong Wang <flwang@catalyst.net.nz> Code-Review+1: Erik Olof Gunnar Andersson <eandersson@blizzard.com> Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 23 Oct 2018 20:37:31 +0000 Reviewed-on: https://review.openstack.org/600905 Project: openstack/magnum Branch: refs/heads/master
2018-09-14Merge "add python 3.6 unit test job"Zuul
2018-09-14Merge "switch documentation job to new PTI"Zuul
2018-09-12Merge "Fix unit test failure with python3.6"Zuul
2018-09-12add python 3.6 unit test jobqingszhao
This is a mechanically generated patch to add a unit test job running under Python 3.6 as part of the python3-first goal. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Depends-On: https://review.openstack.org/596861 Change-Id: I5a361dc3b651399042174f183c5c2f46bc26aea1 Story: #2002586 Task: #24308 Notes (review): Code-Review+1: Andreas Jaeger <jaegerandi@gmail.com> Code-Review+1: Erik Olof Gunnar Andersson <eandersson@blizzard.com> Code-Review+2: Feilong Wang <flwang@catalyst.net.nz> Code-Review+1: wu.chunyang <wu.chunyang@99cloud.net> Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Code-Review+1: Vieri <15050873171@163.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 14 Sep 2018 10:45:18 +0000 Reviewed-on: https://review.openstack.org/595459 Project: openstack/magnum Branch: refs/heads/master
2018-09-12switch documentation job to new PTIqingszhao
This is a mechanically generated patch to switch the documentation jobs to use the new PTI versions of the jobs as part of the python3-first goal. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: I3672dad9be3d60d243af9f7bb422f86d9ce87ad4 Story: #2002586 Task: #24308 Notes (review): Code-Review+1: Andreas Jaeger <jaegerandi@gmail.com> Code-Review+1: Erik Olof Gunnar Andersson <eandersson@blizzard.com> Code-Review+1: wu.chunyang <wu.chunyang@99cloud.net> Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 14 Sep 2018 10:39:48 +0000 Reviewed-on: https://review.openstack.org/595458 Project: openstack/magnum Branch: refs/heads/master
2018-09-11Merge "Remove fedora-atomic diskimage-builder element"Zuul
2018-09-10Merge "Docs: Replace non-existing command"Zuul
2018-09-10Merge "Add prometheus & grafana container image tags"Zuul
2018-09-09Merge "Make X-Subject-Token search case unsensitive"Zuul
2018-09-07Use templates for cover and lower-constraintsAndreas Jaeger
Use openstack-tox-cover template, this runs the cover job in the check queue only. Use openstack-lower-constraints-jobs template Remove jobs that are part of the templates. Change-Id: Ibc271ef9ac9a47b585a7099bfcdbc6f9884227fe Notes (review): Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Code-Review+1: Erik Olof Gunnar Andersson <eandersson@blizzard.com> Code-Review+2: yatin <ykarel@redhat.com> Workflow+1: yatin <ykarel@redhat.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Sun, 09 Sep 2018 15:40:34 +0000 Reviewed-on: https://review.openstack.org/600712 Project: openstack/magnum Branch: refs/heads/master
2018-09-05Make X-Subject-Token search case unsensitiveManuel Rodriguez
USER_TOKEN variable is empty because the grep expression is not ignoring case and certs are not created. Change-Id: I175cb2d4c64d5f7024b13ce11c1184029f63c317 Task: 26189 Story: 2003671 Notes (review): Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Code-Review+1: Erik Olof Gunnar Andersson <eandersson@blizzard.com> Code-Review+1: Gaëtan Trellu <gaetan.trellu@incloudus.com> Code-Review+1: Shu Yingya <yingya.shu@easystack.cn> Code-Review+2: Feilong Wang <flwang@catalyst.net.nz> Code-Review+2: yatin <ykarel@redhat.com> Workflow+1: yatin <ykarel@redhat.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Sun, 09 Sep 2018 15:52:18 +0000 Reviewed-on: https://review.openstack.org/600089 Project: openstack/magnum Branch: refs/heads/master
2018-09-04Merge "Fixing CoreOS driver"Zuul
2018-09-03Merge "Add health_status and health_status_reason to cluster"Zuul
2018-08-31Add prometheus & grafana container image tagsSergey Filatov
To upgrade cluster we need to be able to set image tags so this change adds to labels for corresponding containers Task: 23314 Story: 2003171 Change-Id: I4cd0270a69fb889c59bdb28966821adb11fd0292 Notes (review): Code-Review+2: Feilong Wang <flwang@catalyst.net.nz> Code-Review+1: Erik Olof Gunnar Andersson <eandersson@blizzard.com> Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 10 Sep 2018 07:43:43 +0000 Reviewed-on: https://review.openstack.org/591507 Project: openstack/magnum Branch: refs/heads/master
2018-08-31Merge "import zuul job settings from project-config"Zuul
2018-08-30Merge "[swarm-mode] allow TCP port 2377 to swarm master node"Zuul
2018-08-30Merge "[k8s] Add kubelet to the master nodes"Zuul
2018-08-29import zuul job settings from project-configqingszhao
This is a mechanically generated patch to complete step 1 of moving the zuul job settings out of project-config and into each project repository. Because there will be a separate patch on each branch, the branch specifiers for branch-specific jobs have been removed. Because this patch is generated by a script, there may be some cosmetic changes to the layout of the YAML file(s) as the contents are normalized. See the python3-first goal document for details: https://governance.openstack.org/tc/goals/stein/python3-first.html Change-Id: I4145c393efa3e8734301c8f541518a8e46101ea2 Story: #2002586 Task: #24308 Notes (review): Code-Review+1: Erik Olof Gunnar Andersson <eandersson@blizzard.com> Code-Review+1: Shu Muto <shu.mutow@gmail.com> Code-Review+2: yatin <ykarel@redhat.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, 31 Aug 2018 11:00:06 +0000 Reviewed-on: https://review.openstack.org/595457 Project: openstack/magnum Branch: refs/heads/master
2018-08-29Merge "[k8s] Add new label `service_cluster_ip_range`"Zuul
2018-08-29[swarm-mode] allow TCP port 2377 to swarm master nodeTobias Urdin
Allow traffic on TCP port 2377 to the swarm master node which is used by the nodes to join the cluster using a token. Story: 2003582 Task: 24888 Change-Id: Iee662e7d76c6863f83d28dfe7a8897fb25b33ed1 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, 30 Aug 2018 14:21:47 +0000 Reviewed-on: https://review.openstack.org/597295 Project: openstack/magnum Branch: refs/heads/master
2018-08-28[k8s] Add kubelet to the master nodesSpyros Trigazis
Add kubelet on the master nodes. This work was done already for calico, this patch applies the same config when calico is used as well. story: 2003521 task: 24797 Change-Id: Id33fb59ef23da740712d9a9b7ec4205bd6579b35 Notes (review): Code-Review+1: Erik Olof Gunnar Andersson <eandersson@blizzard.com> Code-Review+1: Jim Bach <jabach@blizzard.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: Thu, 30 Aug 2018 14:09:44 +0000 Reviewed-on: https://review.openstack.org/596860 Project: openstack/magnum Branch: refs/heads/master
2018-08-27Fix unit test failure with python3.6Chuck Short
Since python3.6 os.path.join can be either bytes or a str. So mock os.path.join in order for the unit tests to pass. Change-Id: I82c793875d888092e5c814727a6c4ad4053e76fb Signed-off-by: Chuck Short <chucks@redhat.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: Wed, 12 Sep 2018 22:29:18 +0000 Reviewed-on: https://review.openstack.org/596861 Project: openstack/magnum Branch: refs/heads/master