3679 Commits

Author SHA1 Message Date
yatin
64a5dea2a6 Fix: Pass external_network to kube-minion
Broken by d01452b81b9294fe5afe423cfa37133dcf5659e1

Change-Id: If6a2d536f658a76339d9fc7d5768ec5dd55f87b2
2017-01-25 10:43:50 +05:30
Jenkins
1aaf6a950f Merge "Fix Ironic driver" 2017-01-24 15:09:08 +00:00
Jenkins
9d93c5aca6 Merge "Resource Quota - DB layer changes" 2017-01-24 13:32:02 +00:00
Jason Dunsmore
a65ef7d3c3 Add an API to rotate a cluster CA certificate
This will give admins a way to revoke access to an existing cluster
once a user has been granted access.

Bumped the API microversion to 1.5 for the new endpoint.

Deprecated policy certificate:get in favor of certificate:get_ca for
clarity and consistency.

Depends-On: Ie960464e45445e195e75b91e8d65a4046eb21e93
Implements: blueprint revoke-cluster-cert
Change-Id: Ief28bef3a79f212acf4166e443a96e5419fbb757
2017-01-23 21:26:05 -06:00
Jenkins
06b97cc7d7 Merge "Move scale managers at driver level" 2017-01-23 23:08:18 +00:00
Jenkins
056c1c6e50 Merge "Resource Quota - Add config option to limit clusters" 2017-01-23 21:35:34 +00:00
Jenkins
9070885365 Merge "Replace naked exceptions in barbican_cert_manager" 2017-01-23 18:30:07 +00:00
Jenkins
ba5fd79e47 Merge "Added reno for stable/mitaka and stable/liberty" 2017-01-23 18:17:36 +00:00
Jenkins
38abd174e5 Merge "Move monitors at driver level" 2017-01-23 18:17:29 +00:00
Jenkins
66d2be16e1 Merge "Updated from global requirements" 2017-01-23 18:16:49 +00:00
Mathieu Velten
d1f338afa1 Fix Ironic driver
Broken by d01452b81b9294fe5afe423cfa37133dcf5659e1

Change-Id: I3c260f27abad96865b9bfca7c2f195062c6107b9
2017-01-23 18:07:34 +01:00
Vijendar Komalla
ccc04d67fc Resource Quota - DB layer changes
Change-Id: Ib1d4d8634eabdba76c5f7f858efc16702ebc0d2a
Partially-Implements: blueprint resource-quota
2017-01-23 11:00:10 -06:00
Vijendar Komalla
73059c5c20 Resource Quota - Add config option to limit clusters
Adding config option to limit the max number of clusters
allowed per project. This limit is ignored if there is
an explicit hard limit set for a project in the 'quotas'
table.

Change-Id: I8a904de156c10c210e9e72999cdcbc28e374ea71
Partially-Implements: blueprint resource-quota
2017-01-23 11:00:02 -06:00
Spyros Trigazis
97d5e6ebe7 Move scale managers at driver level
Following up cluster drivers implementation, move the scale managers
at driver level. This change is needed to add the driver field
properly.

Change-Id: Ia854f2354c51b5fa47095bb4cb118416f3f01a33
Implements: blueprint bay-drivers
2017-01-23 17:16:32 +01:00
Jenkins
55a5d375cd Merge "[Doc] Update User Guide: User Examples" 2017-01-23 15:58:34 +00:00
Spyros Trigazis
f997a332da Move monitors at driver level
Following changes for cluster-drivers, move coe specific monitors
at driver level. This change is needed to add the driver field
properly.

Change-Id: Id4658b8f7400bf3c86c8ff81756fb33d1211a0b3
Implements: blueprint bay-drivers
2017-01-23 13:33:37 +01:00
Chulmin Kang
faccdccc7c Fix LB heat template parameter name
loadbalancer_protocol --> protocol

Closes-Bug: #1658631
Change-Id: Ibac2c00649c87a198bbf56966ee9e05f1d5a81a0
2017-01-23 18:53:02 +09:00
yatin
7dfc71bc33 [Doc] Update User Guide: User Examples
Instead of downloading kubernetes.tar.xz for extracting "kubectl"
binary, we should download only kubectl binary(v1.2.0) for accessing
kubernetes cluster.

Reason for this change: The tar archive is of
large size(above 100MB for v1.0.1 and above 400MB for v1.2.0) which
is not required.

Change-Id: I27e5625c89daa50d243029bb0e736cf77c9a2941
Closes-Bug: #1656752
2017-01-23 12:30:47 +05:30
Jenkins
12379a3d73 Merge "Add debug-py34 to tox.ini" 2017-01-23 03:37:29 +00:00
OpenStack Proposal Bot
651ff790f0 Updated from global requirements
Change-Id: I5b011a0d67de682f45eab4a1b546872d113ee83a
2017-01-21 15:49:35 +00:00
Jenkins
5cca8dfaf2 Merge "[k8s_ironic] Move software configs out of minion" 2017-01-20 18:31:40 +00:00
yatin
203ce78b7a Fix compatibility with novaclient 7.0.0
Recent update of upper-constraints for novaclient 7.0.0 in [1]
breaked magnum.
This patch makes magnum code compatible with latest release.

Also, passed endpoint_override while class Initialization to
remove warning [2]:-

[1] https://review.openstack.org/#/c/414170/

[2] Property `management_url` is deprecated for SessionClient.
It should be set via `endpoint_override` variable while class
initialization.

Change-Id: Idc0e501c23b77ed5b4e9e9e7a6a7b6af7c7bca75
Closes-Bug: #1658058
Closes-Bug: #1658005
2017-01-20 20:06:54 +05:30
Feng Shengqin
d86b2019a1 Add debug-py34 to tox.ini
Change-Id: I547fe58930e8c77ac9cf171adde0b7227ce11269
2017-01-19 18:49:43 +08:00
Jenkins
0c0438b5f1 Merge "Magnum stats API documentation" 2017-01-19 07:24:40 +00:00
Jenkins
942fa495b6 Merge "Magnum stats API" 2017-01-19 07:24:33 +00:00
ricolin
d01452b81b [k8s_ironic] Move software configs out of minion
This patch move software configs out of resource group (kubeminion.yaml).
With this fix, k8s minions will no duplicate software configs.
Partial-Bug: #1646710

Change-Id: I2cabc40401ce9a12bce7a8103090e0b9f0289e4d
2017-01-19 15:20:42 +08:00
Jenkins
8d57c0dcf5 Merge "[k8s_ironic] Move wc out of master resource group" 2017-01-19 06:33:09 +00:00
Jenkins
7fedffab06 Merge "[k8s_ironic] Move wc out of minion resource group" 2017-01-19 06:08:09 +00:00
Vijendar Komalla
57c57e891b Magnum stats API documentation
Change-Id: Idf7491ef16aaad744f713bf3c50117f277772e34
Partially-Implements: blueprint magnum-stats-api
2017-01-18 13:48:14 -06:00
ricolin
61b9bb4f29 [Mesos]Move software configs out of resource group
This patch move software configs out of resource group(mesosslave.yaml).
With this fix Mesos templates will no duplicate software configs.

Change-Id: I241acb6aa9389e01e5412d412f07adb0b318f835
Partial-Bug: #1646710
2017-01-18 16:04:13 +08:00
ricolin
4680fb40f7 [Mesos]Move wait condition out of resource group
This patch let mesos slave share same wait condition and wait condition
handler resource instead of create same function of resource for each
slave node.
Partial-Bug: #1646720

Change-Id: I4271e0bce1a0a9a5b9d5e4b29a53508fe529badd
2017-01-18 16:04:13 +08:00
ricolin
f7bf92ae24 [k8s_ironic] Move wc out of master resource group
This patch let kubemasters share same wait condition and wait condition
handler resource instead of create same function of resource for each
kubemaster node.
Partial-Bug: #1646720

Change-Id: Ib529e695409ba4519bdf0ad159a4599ef0805d54
2017-01-18 16:00:23 +08:00
ricolin
a9ded02418 [k8s_ironic] Move wc out of minion resource group
This patch let kubeminions share same wait condition and wait condition
handler resource instead of create same function of resource for each
kubeminion node.
Partial-Bug: #1646720

Change-Id: I890a6f3155737286fe8930de038ba78ff7c2498c
2017-01-18 16:00:23 +08:00
Jenkins
ec0afd97c1 Merge "[devstack] Copy bash_completion script during magnum installation" 2017-01-18 01:07:10 +00:00
Jenkins
671a3d5848 Merge "Remove extra spaces" 2017-01-18 00:26:08 +00:00
Vijendar Komalla
51e833137b Magnum stats API
This change introduces a new /stats REST endpoint that
provide the following basic information;
1) Total number of clusters and nodes for the given tenant.
2) Total number of clusters and nodes across all the tenants.
Follow-up patches include more stats.

Change-Id: Iac0bf9343549de31654545d5b1fd7601e56142a7
Partially Implements blueprint magnum-stats-api
2017-01-17 09:48:54 -06:00
Jenkins
ef0e83d671 Merge "[swarm] Fix cert filename in swarm-agent service" 2017-01-17 13:21:01 +00:00
yatin
7e59f53b59 [devstack] Copy bash_completion script during magnum installation
Copy magnum.bash_completion script to /etc/bash_completion.d
so that users/developers can take advantage of auto completion
of magnum commands.

Change-Id: I8d0ba953e7eb963be1d9e459c4015e882231e2c8
Closes-Bug: #1657004
2017-01-17 11:38:39 +05:30
Tovin Seven
143687974d Remove extra spaces
Remove extra spaces in ini files

Change-Id: I81b3a98687ff87a0a447c25a479a2ec74c7489c1
2017-01-17 10:21:28 +07:00
prameswar
c5713a3731 [Doc] Update quickstart Guide: Using a Kubernetes Cluster
Instead of downloading kubernetes.tar.xz for extracting "kubectl"
binary, we should download only kubectl binary(v1.2.0) for accessing
kubernetes cluster.

Reason for this change: The tar archive is of
large size(above 100MB for v1.0.1 and above 400MB for v1.2.0) which
is not required.

Closes-Bug: #1656752
Change-Id: I6c0013c6900252486129a9ba0e7d9df23d577d77
2017-01-16 13:43:25 +00:00
OpenStack Proposal Bot
19e2473340 Updated from global requirements
Change-Id: I08b6ae54733362a555e713fb6065cbe8a2470986
2017-01-15 09:22:05 +00:00
Spyros Trigazis
7c4ef12fd4 [swarm] Fix cert filename in swarm-agent service
In swarm nodes the docker certs are named server.crt and server.key.
Replace filenames in swarm-agent service from client to server.

Change-Id: Ic3bc228d98c3829b583403156d8ad3ad4939037a
PArtially-Implements: blueprint secure-etcd-cluster-coe
2017-01-15 07:42:16 +00:00
Hongbin Lu
900c2af483 Remove unused context variable in db api
Change-Id: I78d7ddccddcc3630ddaf8fc6ddfc62dcff352bcd
2017-01-15 04:26:39 +00:00
Jenkins
b8b40f5569 Merge "[k8s_coreos] Enable TLS in Etcd cluster" 2017-01-14 13:54:04 +00:00
Jenkins
5014dd6855 Merge "Remove provision_state parameters(specific to ironic)" 2017-01-14 04:35:37 +00:00
Jenkins
54025f335c Merge "[suse] Add min and max to flannel_network_subnet option" 2017-01-14 02:13:58 +00:00
Jenkins
9cbf998d19 Merge "Use Kubernetes config to launch services pods" 2017-01-12 08:18:17 +00:00
Jenkins
b709f990d0 Merge "CI: Set storage driver to overlay" 2017-01-12 06:51:39 +00:00
Jenkins
4d13ffda5b Merge "CI: Increase master-flavor size" 2017-01-11 21:25:13 +00:00
yatin
ffb751d638 [swarm] Enable TLS in Etcd cluster
With this patch following are done:-
- Configure Etcd with TLS support

Configure Following to commuicate with TLS enabled Etcd:-
- Swarm manager
- Swarm agent
- Docker
- Flannel

Etcd also listens at http://127.0.0.1:2379,
so on master nodes etcdctl can be used without certificates.

if TLS_DISABLED="True" then no TLS is enabled for etcd.

Change-Id: I6cadfebcfaaaf7ac7a7660b377b7d96748f0f9f0
Partially-Implements: blueprint secure-etcd-cluster-coe
2017-01-11 21:33:38 +05:30