summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-02-14Merge "Switch to kubernetes upstream python client"Jenkins
2017-02-14Add keypair to api-ref cluster createStephen Watson
Keypair was missing in api-ref for cluster create, so add it and update example accordingly. Change-Id: Ibf9280cec7000c1303b7898494fec9f3a2020068 Closes-Bug: 1660296 Notes (review): Code-Review+2: yatin <yatin.karel@nectechnologies.in> Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Wed, 15 Feb 2017 10:28:48 +0000 Reviewed-on: https://review.openstack.org/433960 Project: openstack/magnum Branch: refs/heads/master
2017-02-14Merge "Fix quotas API pagination"Jenkins
2017-02-14Fix quotas API paginationVijendar Komalla
Currently quotas-list operation with limit is failing since there is no uuid attribute defined in Quota object. (Please refer to bug#1662935 report for more details) Change-Id: I7ec53f990b1223fe3c72fc7a20fb8261c12e8398 Closes-Bug: #1662935 Notes (review): Code-Review+1: Drago <drago.rosson@rackspace.com> Code-Review+2: Jaycen Grant <jaycen.v.grant@intel.com> Code-Review+2: Adrian Otto <adrian.otto@rackspace.com> Workflow+1: Adrian Otto <adrian.otto@rackspace.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 14 Feb 2017 21:30:33 +0000 Reviewed-on: https://review.openstack.org/431751 Project: openstack/magnum Branch: refs/heads/master
2017-02-14Merge "[doc] install 'curl' as a prerequisite"Jenkins
2017-02-14Merge "Use variables for hyperkube and kube version"Jenkins
2017-02-14[doc] install 'curl' as a prerequisiteyatin
'curl' is required for installing pip in "Install pip" section. Change-Id: I7ca3263aa2dffd751e4668697c2bb2e9a16c88a8 Notes (review): Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Code-Review+1: Vijendar Komalla <vijendar.komalla@rackspace.com> Code-Review+2: Jaycen Grant <jaycen.v.grant@intel.com> Workflow+1: Jaycen Grant <jaycen.v.grant@intel.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 14 Feb 2017 18:31:44 +0000 Reviewed-on: https://review.openstack.org/433453 Project: openstack/magnum Branch: refs/heads/master
2017-02-14Use variables for hyperkube and kube versionKevin Lefevre
Introduce HYPERKUBE_IMAGE_REPO variable which is set to CoreOS hyperkube by default. Also remove "_coreos.0" from script as it can be a different build number. This number should be included in the kubernetes version parameters and not in scripts. With this, it is possible to use any combination of hyperkube image with any tags. by default we use the CoreOS one. Partially-Implements: blueprint support-insecure-registry Partially-Implements: blueprint coreos-best-pratice Change-Id: Ie0fbed4b160fa972cfe130c252e87765690e2f5f Notes (review): Code-Review+2: Eli Qiao <qiaoliyong@gmail.com> Code-Review+1: Vijendar Komalla <vijendar.komalla@rackspace.com> Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 14 Feb 2017 11:09:26 +0000 Reviewed-on: https://review.openstack.org/427227 Project: openstack/magnum Branch: refs/heads/master
2017-02-13Switch to kubernetes upstream python clientDavanum Srinivas
For a really long time, we generated and maintained our very own python client generated from kubernetes swagger json files. Now in Kubernetes Community there is a concerted effort to organize an official python client (also generated from swagger) for everyone to use. So let us please switch over from our python-k8sclient and use the community driven python client. I have ported all of our end-to-end tests and got them working in kubernetes client-python project upstream so we should be protected from regressions. Implements: blueprint replace-k8sclient-with-upstream-kubernetes-client Depends-On: I72359f2b811392008eb5267812bf343797b1553a Change-Id: Ib81a69cfdc25198e259e3b3d4081c92c01fd1bc5 Notes (review): Code-Review+1: Stephen Watson <stephen.watson@intel.com> Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Code-Review+1: Mathieu Velten <mathieu.velten@cern.ch> Code-Review+1: Vijendar Komalla <vijendar.komalla@rackspace.com> Code-Review+2: Adrian Otto <adrian.otto@rackspace.com> Workflow+1: Adrian Otto <adrian.otto@rackspace.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 14 Feb 2017 22:56:58 +0000 Reviewed-on: https://review.openstack.org/432421 Project: openstack/magnum Branch: refs/heads/master
2017-02-13Updated from global requirementsOpenStack Proposal Bot
Change-Id: I73d45d37f256ac1b9c8ac0438d4fa20026fef5c3 Notes (review): Code-Review+2: Jaycen Grant <jaycen.v.grant@intel.com> Code-Review+2: Adrian Otto <adrian.otto@rackspace.com> Workflow+1: Adrian Otto <adrian.otto@rackspace.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 13 Feb 2017 18:05:45 +0000 Reviewed-on: https://review.openstack.org/432616 Project: openstack/magnum Branch: refs/heads/master
2017-02-13Add reno: bp secure-etcd-cluster-coeyatin
Change-Id: I84877c258014c57fbcf013a784ab1a35ec6e04f8 Implements: blueprint secure-etcd-cluster-coe Notes (review): Code-Review+2: Adrian Otto <adrian.otto@rackspace.com> Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 13 Feb 2017 13:36:08 +0000 Reviewed-on: https://review.openstack.org/432849 Project: openstack/magnum Branch: refs/heads/master
2017-02-11Merge "Remove $myip when unnecessary and use KUBE_NODE_IP"Jenkins
2017-02-11Updated from global requirementsOpenStack Proposal Bot
Change-Id: Ia8979759fabda6e8b9500e84fe4000c53dd7d934 Notes (review): Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Code-Review+2: Ton Ngo <ton@us.ibm.com> Workflow+1: Ton Ngo <ton@us.ibm.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Sat, 11 Feb 2017 06:04:45 +0000 Reviewed-on: https://review.openstack.org/431969 Project: openstack/magnum Branch: refs/heads/master
2017-02-10Merge "Don't enforce microversion for rotate CA cert API"Jenkins
2017-02-10Remove $myip when unnecessary and use KUBE_NODE_IPKevin Lefevre
myip is defined almost in every fragment. It is unnecessary. We can use KUBE_NODE_IP that is defined in HEAT. Also, if for some reason KUBE_NODE_IP is empty, we use the failsafe like in make-cert fragment where we curl metadata to make sure KUBE_NODE_IP is not empty. Implements: blueprint coreos-best-pratice Change-Id: I8597a5afa9b4bc7a5c740738303102e7b60ec63e Notes (review): Code-Review+2: Adrian Otto <adrian.otto@rackspace.com> Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Workflow+1: Spyros Trigazis <strigazi@gmail.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Sat, 11 Feb 2017 19:11:33 +0000 Reviewed-on: https://review.openstack.org/427614 Project: openstack/magnum Branch: refs/heads/master
2017-02-10Make KUBE_ALLOW_PRIV used for api serverArchiFleKs
Change-Id: I7513a992cebce46d46308b8263d61efc56d17096 Implements: blueprint coreos-best-pratice Notes (review): Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Code-Review+2: Adrian Otto <adrian.otto@rackspace.com> Workflow+1: Adrian Otto <adrian.otto@rackspace.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Fri, 10 Feb 2017 18:53:51 +0000 Reviewed-on: https://review.openstack.org/432247 Project: openstack/magnum Branch: refs/heads/master
2017-02-10Merge "Use https instead of http for git.openstack.org"Jenkins
2017-02-10Merge "[k8s] Get logs of controller-manager and scheduler"Jenkins
2017-02-10Merge "Remove heat-params sourcing"Jenkins
2017-02-10Merge "Add microversion and release notes for quotas API"Jenkins
2017-02-10Merge "Improve consistency for SSL PATH accross template"Jenkins
2017-02-10Merge "Don't enforce microversion for stats API"Jenkins
2017-02-09Add microversion and release notes for quotas APIVijendar Komalla
This is follow-up for https://review.openstack.org/419704 Change-Id: Ib586adb81e4bcb7e87f9b8ccd13bbbcb7cf5501f Closes-Bug: #1661325 Notes (review): Code-Review+2: Jaycen Grant <jaycen.v.grant@intel.com> Code-Review+2: Adrian Otto <adrian.otto@rackspace.com> Workflow+1: Adrian Otto <adrian.otto@rackspace.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Fri, 10 Feb 2017 01:42:20 +0000 Reviewed-on: https://review.openstack.org/431160 Project: openstack/magnum Branch: refs/heads/master
2017-02-09Don't enforce microversion for stats APIVijendar Komalla
Due to bug in microversion logic, adding any new microversioned API would mandate OpenStack-API-Version header in the request. This change is to avoid microversion enforcement until the bug in microversioning is fixed. Please note that, this issue is only seen when no version header is sent to the controller the first time and also this bug can not be reproduced by magnum CLI since it sends the latest version header by default. Change-Id: I9a576e048846e930c62fb55584b125585137fcfd Partial-Bug: #1659431 Notes (review): Code-Review+1: Jason Dunsmore <jason.dunsmore@rackspace.com> Code-Review+2: Jaycen Grant <jaycen.v.grant@intel.com> Code-Review+2: Adrian Otto <adrian.otto@rackspace.com> Workflow+1: Adrian Otto <adrian.otto@rackspace.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Fri, 10 Feb 2017 00:20:16 +0000 Reviewed-on: https://review.openstack.org/431210 Project: openstack/magnum Branch: refs/heads/master
2017-02-09Remove heat-params sourcingArchiFleKs
Since commit 220675d42a578e51b401c72c7940b5664a289406 heat-params are used by systemd and are unnecessary. Implements: blueprint coreos-best-pratice Change-Id: Iaf88219db2d3aaa452ff07a146acb3fbef323eb1 Notes (review): Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Code-Review+2: Eli Qiao <qiaoliyong@gmail.com> Workflow+1: Eli Qiao <qiaoliyong@gmail.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Fri, 10 Feb 2017 09:29:57 +0000 Reviewed-on: https://review.openstack.org/431491 Project: openstack/magnum Branch: refs/heads/master
2017-02-09Improve consistency for SSL PATH accross templateKevin Lefevre
Multiple variables names where used in different fragments. This commit makes KUBE_CERTS_PATH and HOST_CERTS_PATH hardcoded values in heat-params fragment and use them inside fragments instead of hardcoded value and different variables names Implements: blueprint coreos-best-pratice Change-Id: I8c7856601096672890ab5a1318db0177d582e53d Notes (review): Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Code-Review+2: Adrian Otto <adrian.otto@rackspace.com> Workflow+1: Adrian Otto <adrian.otto@rackspace.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Fri, 10 Feb 2017 00:20:33 +0000 Reviewed-on: https://review.openstack.org/427608 Project: openstack/magnum Branch: refs/heads/master
2017-02-09Merge "Remove carriage return when getting user token"Jenkins
2017-02-08Merge "Trivial: Fix typo in exception message"Jenkins
2017-02-08Remove support for py34Cao Xuan Hoang
The gating on python 3.4 is restricted to <= Mitaka. This is due to the change from Ubuntu Trusty to Xenial, where only python3.5 is available. There is no need to continue to keep these settings. Change-Id: Id6d387d7e2cf6395a7ccff6291c9c73787984d51 Notes (review): Code-Review+2: Adrian Otto <adrian.otto@rackspace.com> Code-Review+1: Stephen Watson <stephen.watson@intel.com> Code-Review+2: Eli Qiao <qiaoliyong@gmail.com> Workflow+1: Eli Qiao <qiaoliyong@gmail.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Wed, 15 Feb 2017 05:20:15 +0000 Reviewed-on: https://review.openstack.org/430522 Project: openstack/magnum Branch: refs/heads/master
2017-02-07Merge "[suse] Update security group for kube_masters"Jenkins
2017-02-07Merge "Don't create clusters of an unsupported type"Jenkins
2017-02-07Merge "Remove unused enforce_cluster_types decorator"Jenkins
2017-02-07Don't enforce microversion for rotate CA cert APIJason Dunsmore
Enforcing microversion 1.5 for the certificates PATCH endpoint (rotating a CA cert) was not necessary because it is a new endpoint and not a change to an existing endpoint. The absence of an implementation for prior microversions of this endpoint was causing unexpected behavior. Change-Id: I33240d6b325843972a6f05d1c93c94b82752d32f Partial-Bug: #1659431 Notes (review): Code-Review+1: Stephen Watson <stephen.watson@intel.com> Code-Review+2: Jaycen Grant <jaycen.v.grant@intel.com> Code-Review+2: Eli Qiao <qiaoliyong@gmail.com> Workflow+1: Eli Qiao <qiaoliyong@gmail.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Fri, 10 Feb 2017 18:54:11 +0000 Reviewed-on: https://review.openstack.org/427907 Project: openstack/magnum Branch: refs/heads/master
2017-02-07Remove carriage return when getting user tokenArchiFleKs
make-cert failed because keystone return a '\r' at the end of token Change-Id: I2f65756e53bf7d5b3ac407c7b2a6c5bcba02454f Notes (review): Code-Review+2: Hongbin Lu <hongbin.lu@huawei.com> Code-Review+2: Ton Ngo <ton@us.ibm.com> Workflow+1: Ton Ngo <ton@us.ibm.com> Code-Review+1: Vijendar Komalla <vijendar.komalla@rackspace.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Thu, 09 Feb 2017 00:28:14 +0000 Reviewed-on: https://review.openstack.org/430342 Project: openstack/magnum Branch: refs/heads/master
2017-02-07Merge "K8S: Allows to specify admission control plugins to enable"Jenkins
2017-02-07Use https instead of http for git.openstack.orggengchc2
Trivialfix Change-Id: I3dda5d7d01e548e640aef77aca1402dd268ce0cf Notes (review): Code-Review+2: Hongbin Lu <hongbin.lu@huawei.com> Code-Review+2: Eli Qiao <qiaoliyong@gmail.com> Workflow+1: Eli Qiao <qiaoliyong@gmail.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Fri, 10 Feb 2017 09:35:56 +0000 Reviewed-on: https://review.openstack.org/429996 Project: openstack/magnum Branch: refs/heads/master
2017-02-07Merge "Use right no proxy settings for swarm master and agent"Jenkins
2017-02-06[mesos] Use latest build for mesos imageSpyros Trigazis
After changes in the heat-agents [1] the auth calls of the nodes to heat were failing. The mesos image that was used was missing chnage [1]. Update to ubuntu-mesos daily builds. [1] https://review.openstack.org/#/c/397232/1 Closes-Bug: #1662280 Change-Id: I06ab3f7a92f06a7eddf297c5ecd2bf2e35f3728b Notes (review): Code-Review+2: Jaycen Grant <jaycen.v.grant@intel.com> Code-Review+2: Hongbin Lu <hongbin.lu@huawei.com> Workflow+1: Hongbin Lu <hongbin.lu@huawei.com> Code-Review+1: Kevin Lefevre <lefevre.kevin@gmail.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 06 Feb 2017 22:32:11 +0000 Reviewed-on: https://review.openstack.org/429796 Project: openstack/magnum Branch: refs/heads/master
2017-02-06Merge "Fix missing $ in CoreOS proxy conf"Jenkins
2017-02-01Don't create clusters of an unsupported typeJason Dunsmore
Return a 400 error if the cluster type is unsupported (ie. no drivers are installed that will create a cluster of that particular server type, cluster distro, and COE combination). Partial-Bug: #1646215 Change-Id: I26d9881cfc530132e1aa88d01194c6496bc527f4 Notes (review): Code-Review+1: Stephen Watson <stephen.watson@intel.com> Code-Review+1: Vijendar Komalla <vijendar.komalla@rackspace.com> Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Code-Review+2: Hongbin Lu <hongbin.lu@huawei.com> Workflow+1: Hongbin Lu <hongbin.lu@huawei.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 07 Feb 2017 22:45:12 +0000 Reviewed-on: https://review.openstack.org/427370 Project: openstack/magnum Branch: refs/heads/master
2017-02-01Fix missing $ in CoreOS proxy confKevin Lefevre
Change-Id: I0c57cd32ad56f9a485b1e76555dbbba4fea5148e Notes (review): Code-Review+2: Hongbin Lu <hongbin.lu@huawei.com> Code-Review+2: Ton Ngo <ton@us.ibm.com> Workflow+1: Ton Ngo <ton@us.ibm.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 06 Feb 2017 09:37:47 +0000 Reviewed-on: https://review.openstack.org/427586 Project: openstack/magnum Branch: refs/heads/master
2017-02-01Use heat-params in systemd unitKevin Lefevre
Instead of sourcing heat-params in script, we can use it as a systemd unit EnvironmentFile directive and not inline in sh scripts. Change-Id: I3ebf23dee6785febdc87bc5ce4212c30ef24806e Notes (review): Code-Review+1: Mathieu Velten <mathieu.velten@cern.ch> Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Code-Review+1: Jason Dunsmore <jason.dunsmore@rackspace.com> Code-Review+2: Hongbin Lu <hongbin.lu@huawei.com> Workflow+1: Hongbin Lu <hongbin.lu@huawei.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Sun, 05 Feb 2017 19:21:10 +0000 Reviewed-on: https://review.openstack.org/425275 Project: openstack/magnum Branch: refs/heads/master
2017-01-31Trivial: Fix typo in exception messageVijendar Komalla
Change-Id: I683ba5e13cecad3d8d05dd1ea7cf0fd96b7b34de Notes (review): Code-Review+1: Stephen Watson <stephen.watson@intel.com> Code-Review+2: Jaycen Grant <jaycen.v.grant@intel.com> Code-Review+1: Jason Dunsmore <jason.dunsmore@rackspace.com> Workflow+1: Eli Qiao <qiaoliyong@gmail.com> Code-Review+2: Eli Qiao <qiaoliyong@gmail.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Wed, 08 Feb 2017 04:40:18 +0000 Reviewed-on: https://review.openstack.org/427214 Project: openstack/magnum Branch: refs/heads/master
2017-01-31K8S: Allows to specify admission control plugins to enableBertrand NOEL
If nothing is specified a set of recommended default plugins is used, which includes the ServiceAccount one. Change-Id: I1383aae09ba68f8e83b07e3eaae40ab071f7be94 Closes-Bug: #1646489 Notes (review): Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Code-Review+2: Ton Ngo <ton@us.ibm.com> Workflow+1: Ton Ngo <ton@us.ibm.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 07 Feb 2017 13:42:42 +0000 Reviewed-on: https://review.openstack.org/405374 Project: openstack/magnum Branch: refs/heads/master
2017-01-31Use right no proxy settings for swarm master and agentKevin Lefevre
Change-Id: I6a920a189264bf4c306be44399caa25537d4a0ce Closes-Bug: 1660562 Notes (review): Code-Review+1: Stephen Watson <stephen.watson@intel.com> Code-Review+2: Hongbin Lu <hongbin.lu@huawei.com> Code-Review+2: Ton Ngo <ton@us.ibm.com> Workflow+1: Ton Ngo <ton@us.ibm.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 07 Feb 2017 01:21:42 +0000 Reviewed-on: https://review.openstack.org/427073 Project: openstack/magnum Branch: refs/heads/master
2017-01-30Remove unused enforce_cluster_types decoratorJason Dunsmore
Closes-Bug: #1659587 Change-Id: I14e83e4d72cddffb86173317320864dbe49500f3 Notes (review): Code-Review+1: Stephen Watson <stephen.watson@intel.com> Code-Review+1: Vijendar Komalla <vijendar.komalla@rackspace.com> Code-Review+2: Spyros Trigazis <strigazi@gmail.com> Code-Review+2: Hongbin Lu <hongbin.lu@huawei.com> Workflow+1: Hongbin Lu <hongbin.lu@huawei.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 07 Feb 2017 22:44:56 +0000 Reviewed-on: https://review.openstack.org/426833 Project: openstack/magnum Branch: refs/heads/master
2017-01-30Merge "Use UUID instead of "00000" for UniqueId"Jenkins
2017-01-30[k8s] Get logs of controller-manager and schedulerSpyros Trigazis
Get the pod logs for controller-manager and scheduler. The current copy logs from journalctl because controller-manager and scheduler used to be managed by systemd. Change-Id: I1e4e5a810f838cc59d4a4aaa4fc4478541872b0b Notes (review): Code-Review+1: Mathieu Velten <mathieu.velten@cern.ch> Code-Review+2: Eli Qiao <qiaoliyong@gmail.com> Code-Review+2: Madhuri Kumari <madhuri.kumari@intel.com> Workflow+1: Madhuri Kumari <madhuri.kumari@intel.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Fri, 10 Feb 2017 09:35:49 +0000 Reviewed-on: https://review.openstack.org/426773 Project: openstack/magnum Branch: refs/heads/master
2017-01-27Merge "Resource Quota - API documentation"4.0.0Jenkins
2017-01-26Merge "Resource Quota - Limit clusters per project"Jenkins