3617 Commits

Author SHA1 Message Date
Hongbin Lu
a60529cb11 Fix the incorrect initialization of context roles
We should pass roles to oslo_context to initialize instead of
manually set it.

Change-Id: Ice05204d789bb1770ab6605f06d670c5fc7c6726
Closes-Bug: #1654813
2017-01-07 23:35:08 -06:00
Jenkins
c0091a4053 Merge "Fully clean up requirement.txt dependencies" 2017-01-06 19:57:37 +00:00
Jenkins
7f5e10a38f Merge "[suse] Update k8s_opensuse_v1 driver" 2017-01-06 16:52:32 +00:00
Jenkins
15acd63c4c Merge "Remove the usage of MagnumObjectDictCompat from magnum_service" 2017-01-06 11:01:47 +00:00
Jenkins
7e685fb90a Merge "Modify variable's using method in Log Messages" 2017-01-06 09:16:47 +00:00
Bertrand Lallau
6fd2e3f6a6 Fully clean up requirement.txt dependencies
This patch cleans up the requirements.txt list to remove
paramiko, greenlet and urllib3 modules not used anymore.

Change-Id: I8d91ce6ffcd1637098b898db81afc61c5b3a1cb9
2017-01-06 08:39:41 +01:00
Michal Jura
07a68dcd95 [suse] Update k8s_opensuse_v1 driver
This change is collecting fixes and updates for k8s_opensuse_v1 drver
  * Fix indentation for bash scripts
  * Fix DOCKER_NETWORK_OPTIONS for configure-docker.sh
  * Add FLANNEL_BACKEND option
  * Update deprecated options for kubernetes services
  * Fix KUBE_NODE_IP option for kube-minions
  * Add kube_version and volume_driver options
  * Sync changes with opensuse Mitaka driver

Change-Id: I33bf90331ff78ed538a55451f6de64c4a576cb2d
Partial-Bug: #1622949
Partially-Implements: blueprint k8s-opensuse-support
2017-01-06 03:26:54 +00:00
Feng Shengqin
85b1babb00 Remove the usage of MagnumObjectDictCompat from magnum_service
Nova has removed the usage of NovaObjectDictCompat:
https://blueprints.launchpad.net/nova/+spec/rm-object-dict-compat.
magnum needs a similar cleanup.

Change-Id: I07ce6db76aaca517aadff6fba7fb51ff0972ccca
Partially-Implements: blueprint rm-object-dict-compat
2017-01-06 03:25:28 +00:00
Michal Jura
0b1c59b21b [suse] Tune default value for docker_volume_size
Change-Id: I88fa0a21bef34cdca2284ec22f1759736762509f
Partial-Bug: #1622949
2017-01-06 03:24:45 +00:00
Jenkins
edd6934577 Merge "Remove PrettyTable useless requirement" 2017-01-05 21:17:29 +00:00
yatin
6950c34045 Fix gate: caused by tempest(removal of "service" param)
Tempest removed "service" param from Manager class in
following patch:-
https://review.openstack.org/#/c/416699

The use of "service" param is removed with this patch.

Change-Id: I67f79efd2049c05d36ea56691b664417ed358fd8
2017-01-05 15:59:33 +05:30
Bertrand Lallau
422d12cbea Remove PrettyTable useless requirement
This patch cleans up the requirements.txt list to remove PrettyTable module not used anymore.

Change-Id: Ic6a9921b041cc5ba986410a1a774424a67f27459
2017-01-05 10:48:53 +01:00
Jenkins
9416d7c653 Merge "Add cluster record to db right after API request" 2017-01-04 13:45:43 +00:00
melissaml
2ee054c1f5 Modify variable's using method in Log Messages
String interpolation should be delayed to be handled by the logging code,
rather than being done at the point of the logging call.
Ref:http://docs.openstack.org/developer/oslo.i18n/guidelines.html#log-translation
For example:
LOG.info(_LI('some message: variable=%s') % variable)
LOG.info(_LI('some message: variable=%s'), variable)

Change-Id: Ifaf1dfe589615732e412c4e640cf46679abc9023
Closes-Bug: #1643463
2017-01-04 15:11:33 +08:00
Jenkins
1b4815081d Merge "Updated from global requirements" 2017-01-04 07:08:17 +00:00
Jenkins
93f5018787 Merge "[suse] Setting correct permissions for Kubernetes files" 2017-01-04 06:44:17 +00:00
Jenkins
ec5857e793 Merge "Remove the usage of MagnumObjectDictCompat from x509keypair" 2017-01-04 06:44:00 +00:00
Michal Jura
df37275fe1 [suse] Setting correct permissions for Kubernetes files
Change-Id: I595dfa66fb37b733bf50b18f52f7b124aa96906b
Partial-Bug: #1622949
2017-01-03 05:40:28 +00:00
OpenStack Proposal Bot
0cb8b1817e Updated from global requirements
Change-Id: If82ffc5a920fa6b6a5f298a3945fbf80ca73207a
2017-01-01 12:09:38 +00:00
Jenkins
1d1096ce54 Merge "Remove the usage of MagnumObjectDictCompat from certificate" 2016-12-28 04:43:58 +00:00
Jenkins
616ca1ceda Merge "[k8s_coreos] Remove podmaster" 2016-12-27 19:55:48 +00:00
Danil Golov
9cbb142c2e Add cluster record to db right after API request
This commit changes the incorrect behavior of cluster create workflow.
Now db record with status CREATE_IN_PROGRESS is created right after
related API request.

Change-Id: I11692c4126823d49672ba5172fa45774bf0ce544
Closes-bug: #1640729
2016-12-27 13:19:13 +03:00
Jenkins
b38039f3b1 Merge "Updated from global requirements" 2016-12-26 19:13:51 +00:00
Jenkins
ef300c2a74 Merge "Removes unnecessary utf-8 encoding" 2016-12-26 10:30:50 +00:00
Jenkins
51a3842681 Merge "Fix multiple typos in unit tests names" 2016-12-26 06:27:04 +00:00
yatin
3c0e06e7a0 [k8s_coreos] Remove podmaster
Podmaster is deprecated since k8s 1.2 and its docker
image is v1, incompatible with docker >=1.12.

* Remove podmaster pod
* Update manifests of kube-controller-manager and kube-scheduler

Change-Id: Ib46182b811aba6a6e544de265bc89a7bcb7488e1
Closes-Bug: #1646109
2016-12-26 03:00:04 +00:00
OpenStack Proposal Bot
3732b8dd97 Updated from global requirements
Change-Id: I977d710da4768d871d896faac8fd6be22450689f
2016-12-22 19:03:01 +00:00
Cao Xuan Hoang
2bc67d43a1 Removes unnecessary utf-8 encoding
The following file(s) added utf-8 encoding but never used. So we can
remove them at all.

magnum/objects/certificate.py
magnum/objects/cluster.py

Change-Id: I359bc96e21bedf60c62181c9aa0c5e65a07ba5e9
2016-12-22 10:56:03 +07:00
Jenkins
c8f07a1fb0 Merge "Use correct context synching status" 2016-12-21 22:59:13 +00:00
Jenkins
135c5cf629 Merge "List all the possibilities of cluster's name through a list" 2016-12-21 06:23:16 +00:00
Jenkins
2cad421a8e Merge "Make Docker proxy configuration consistent across template" 2016-12-21 06:22:56 +00:00
Randall Burt
c40413518a Use correct context synching status
Use the trust context when synching cluster status
with orchestration status.

Change-Id: I8ae0d1b92c3adce83032bb6c5f269d8d23c20c5e
Partial-Blueprint: bp-driver-consolodation
Closes-Bug: #1651243
2016-12-20 17:02:00 +00:00
Jenkins
d4cceee48d Merge "Specification for Magnum stats API" 2016-12-20 16:25:10 +00:00
ArchiFleKs
8d7bc9c99e Make Docker proxy configuration consistent across template
Closes-Bug: #1647815
Related-Bug: #1632698
Change-Id: Ic5e5cadd3d912f01072eff427a1095309c4f6e9b
2016-12-20 10:08:42 +01:00
Feng Shengqin
cea125b9a1 Remove the usage of MagnumObjectDictCompat from certificate
Nova has removed the usage of NovaObjectDictCompat:
https://blueprints.launchpad.net/nova/+spec/rm-object-dict-compat.
magnum needs a similar cleanup.

Change-Id: I04b221febaa4a31b0ecc9454a978c3a2ec4fa9c8
Partially-Implements: blueprint rm-object-dict-compat
2016-12-20 16:58:58 +08:00
Mike Fedosin
92e3e18c48 Fix multiple typos in unit tests names
Change-Id: I0d24ba10b6db58c7036761089909489cb06ec807
2016-12-20 10:49:01 +03:00
Feng Shengqin
9e91fd2fd8 List all the possibilities of cluster's name through a list
In the unit code for cluster testing, the valid name and invalid
name have many possibilities. We can list all the possibilities
of cluster's name through a list, to reduce some repetitive code.

Change-Id: Ib98540523ff083147a007b5cb893122f3c965fe1
Closes-Bug: #1651013
2016-12-20 07:31:44 +00:00
Jenkins
05423c6829 Merge "Import magnum.i18n._ in driver/heat/driver.py" 2016-12-20 04:34:31 +00:00
Vijendar Komalla
1ef059b646 Specification for Magnum stats API
blueprint magnum-stats-api
Change-Id: I97a3ac0bf96208e1c8d909271fe770dff5532898
2016-12-19 11:37:57 -06:00
Feng Shengqin
3dc50e2ad1 Remove the usage of MagnumObjectDictCompat from x509keypair
Nova has removed the usage of NovaObjectDictCompat:
https://blueprints.launchpad.net/nova/+spec/rm-object-dict-compat.
magnum needs a similar cleanup.

Change-Id: I69dc2d5bec54b6d3228dcb6ba834e5cc515c6a3f
Partially-Implements: blueprint rm-object-dict-compat
2016-12-20 01:12:09 +08:00
Jason Dunsmore
1cdb4f94aa Import magnum.i18n._ in driver/heat/driver.py
Closes-Bug: 1651169
Change-Id: I7d0cf66517935a13dfdf7ff24dd933024353f6f8
2016-12-19 09:52:17 -06:00
OpenStack Proposal Bot
2f9f613c9a Updated from global requirements
Change-Id: I279834c12847aa6e16b7c791e45bca0592b0a9e9
2016-12-18 17:31:24 +00:00
Jenkins
8ddef55e13 Merge "cors: update default configuration" 2016-12-18 14:23:44 +00:00
Jenkins
f04c3ff657 Merge "Revert "devstack: Fix neutron configuration to run in OSIC"" 2016-12-16 17:56:06 +00:00
Mathieu Velten
472af7fd8e Update Swarm version to 1.2.5
We should upgrade swarm because 1.0.0 is more than
one year old and lack features and bug fixes.

Change-Id: Ia236e473ce3152a6bf3115a3bfc62fbf0af100d7
Closes-Bug: 1644620
2016-12-16 10:29:52 +01:00
Jenkins
d3277af787 Merge "Improve security for swarm" 2016-12-15 21:56:53 +00:00
Jenkins
d30df64f5c Merge "[suse] Allow k8s cluster without floating ip" 2016-12-15 20:35:01 +00:00
Jenkins
8182d7f213 Merge "[suse] add support of LBaaS v2" 2016-12-15 20:34:21 +00:00
Jenkins
7a2ef5957e Merge "[suse] Add proxy config" 2016-12-15 20:30:26 +00:00
Jenkins
e58e987449 Merge "[suse] Sync with cluster drivers" 2016-12-15 19:57:09 +00:00