Commit Graph

35 Commits

Author SHA1 Message Date
jacky06 a983902460 Remove all usage of six library
Convert all code to not require six library and instead
use python 3.x logic.

Change-Id: I9d3193668769cd6499a8be8d8d19c16e046f4cc6
2020-05-06 23:35:21 +08:00
ZhongShengping 8f340b2e0e Update mailinglist from dev to discuss
openstack-dev was decomissioned this night in https://review.openstack.org/621258
Update openstack-dev to openstack-discuss

Change-Id: Icb0d2ef017826571739c9605e1421991c100ea4b
2018-12-05 09:44:55 +08:00
Zuul da6600f96b Merge "Kubernetes: Add cluster delete dependents attribute" 2018-05-21 07:04:48 +00:00
Yuanbin.Chen 41f00dd07c Kubernetes: Add cluster delete dependents attribute
This patch add kubernetes cluster dependents, master cluster
record work cluster uuid to dependents.

Master cluster delete check dependents, if work cluster dependents
exist, the master cluster delete faild. kubernetes cluster
work cluster delete before master cluster delete.

Change-Id: Ie6f550f2187d629d396065269af9d4e9fba5acda
Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
2018-05-21 11:00:12 +08:00
Yuanbin.Chen b190fa4b2c Kubernetes: Add network operation exception capture
Change-Id: Iabcbcb646eb3168f39aa40c0aa50d50a4a522caf
Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
2018-04-17 15:30:22 +08:00
Zuul 66e524b5e1 Merge "Use six module format ex message" 2018-04-03 02:19:52 +00:00
Yuanbin.Chen a91cf438c8 Use six module format ex message
Change-Id: I0889020d7357840a23139262e3f43e1221840f66
Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
2018-03-30 15:33:43 +08:00
Yuanbin.Chen aabb6472e1 Kubernetes: Add profile support block_device_mapping_v2
Change-Id: I60d6a1b7fba6b471aa0544163b955eaa0525e03e
Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
2018-03-28 14:52:44 +08:00
Zuul 325ff9dd2a Merge "Kubernetes: Fix cluster database get return error" 2018-03-28 03:06:56 +00:00
Yuanbin.Chen 8ee553b11a Kubernetes: Fix cluster database get return error
kubernetes auth use 'user' and 'project' create context,
but the parameter was modify 'user_id' and 'project_id'.
So, the database get data auth faild.

Change-Id: I366aee582ece6291494b04329f2f14e4491edc0a
Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
2018-03-27 17:46:02 +08:00
Yuanbin.Chen d68f097479 Fix kube token create with string join error
This patch fix token format error, string join error,
Example:
   token_id = 'ufxq7o'
   token_secret = 'yz7till9p24zb0dj'
   token = '.'.join([token_id, token_secret])
The token value is 'ufxq7o.yz7till9p24zb0dj'

Change-Id: Ia8414037a1291415272b591a9a2e5a7fa5347e41
2018-03-27 14:27:14 +08:00
chenpengzi fe5b558c52 remove no use define and spell error
Change-Id: I5ad7500a7452d0fc4828d0d632148b6d98b66c28
2018-02-11 15:39:51 +08:00
tengqm ddc45bc4e8 Release note for webhook trigger fix
Add a release note about fixing webhook triggering, a workaround when
using OpenStack SDK 0.10.x and above.
Also fixed some PEP8 errors for testing the gate status.

Change-Id: I82f973ac918630bf7c954ed19cf112e88d0baa37
2018-02-06 21:18:29 -05:00
Nguyen Van Trung 22da901d16 Drop py34 target in tox.ini
We support py35 now.so it is no need to keep
the supoort for py34.

Change-Id: Ia7b044bd5947eb136fa8ccbfa42e5288b77e34f1
2018-01-29 10:24:04 +07:00
Ethan Lynn 15ca5e41a1 Kubernetes on senlin
Done:
- Add ability to do actions on cluster creation/deletion.
- Add more interfaces with openstacksdk
- Add kubernetes master profile, use kubeadm to setup one master node.
- Add kubernetes node profile, auto retrieve kubernetes data from master cluster.

TODO:
See TODO.md

Change-Id: Ia6a3f562cc776e1df7367a3278aa136db974ff7f
2017-12-21 20:59:40 +08:00
ZhangHongtao 37ce0051dd Fix to use "." to source script files
Adhering to coding conventions. Refer to ``Code conventions`` at
https://docs.openstack.org/contributor-guide/ for details.

The previous patch [1] missing some places.

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

Change-Id: Ic97130e296d9bf8c37851de1bb61c606430516a6
2017-08-28 17:27:21 +08:00
jolie 1cb7c6e9a4 Revise log information
Change-Id: I91a79b36f9b1bb4c856904ce2830cc19fffb9040
2017-08-21 15:09:02 +08:00
Ethan Lynn 16a5b95c7b Add rich network features to server profile
Add 'security_groups', 'floating_network', 'floating_ip'
network properties to server profile.
This patch change the behavior of creating network ports,
it will create ports before creating a server, then store
ports information to server.data.

Change-Id: I6859f7f4dee0c987b2caef0754747555b9d24ff6
2017-08-09 07:56:36 +00:00
melissaml 9842568200 Update URLs in documents according to document migration
Change-Id: Iff714c8382ea48ecf5306cb5adf06c831b040ae3
2017-07-14 10:53:54 +08:00
Jenkins 3479fe0bfe Merge "Refactor VDU server profile" 2017-05-05 14:20:16 +00:00
chenlx f7dbaef773 Optimize the link address
Use https instead of http to ensure the safety.

Change-Id: Ia9feb87c691dbe03bf6e92229f33d2cd6cc0adda
2017-05-03 17:11:10 +08:00
tengqm 0051565fee Refactor VDU server profile
This patch refactors the VDU server profile to kill PEP8 errors and
reduce network validation complexities (it has reached 23).

Change-Id: I9bf1bd62a1566b42248475fcc8cce2a86ee813a9
2017-05-03 04:44:57 -04:00
liyi 3423667de0 Remove log translations
Log messages are no longer being translated. This removes all use of
the _LE, _LI, and _LW translation markers to simplify logging and to
avoid confusion with new contributions.

See:
http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html
http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html

Change-Id: I1c1c3fe4c3281014b0ed413c7b247b6223939a24
2017-03-21 18:34:35 +08:00
Ethan Lynn 936b6e0a6c Handle network update for VDU
Handle network update for VDU

Change-Id: Iadb110e1ef3089dab320a32a42065f9aef78a0af
2017-03-13 23:23:05 +08:00
Ethan Lynn 61c86091cf Store more ports info in node.data for vdu profile
Store more ports info in node.data, so that update operation can
reduce API call to get these info.

Change-Id: I488204001afd28941b751a7df013c4e3fb912d8d
2017-03-13 23:19:15 +08:00
Jenkins 4077918c29 Merge "Trivial: fix some PEP8 nits in VDU profile" 2017-02-16 07:54:37 +00:00
tengqm 9dc9a6e512 Trivial: fix some PEP8 nits in VDU profile
Change-Id: I8ce1952b2727f75ddd74a055309f728ac8928376
2017-02-15 23:03:56 -05:00
Ethan Lynn 5c84a16471 Use jinja2 to handle user_data
Use jinja2 to replace the paramaters defined in user_data.

Change-Id: I4f8ebc1ffefaafcb0b0260fe8c7f709b3dda83bb
2017-02-15 10:54:55 +08:00
Ethan Lynn af4a764365 Add floating IP support to VDU profile
- Add floating_network and floating_address to networks property

Change-Id: I6fa9e4a6b4558d5501b461dab345425943e1e7d4
2017-02-13 09:27:04 +08:00
Ethan Lynn 6b831d3a8e Add security_groups property to VDU profile
- Add security_groups property to VDU profile

Change-Id: I753c3643927adcf64e403ca7c473d22bcb099b06
2017-02-12 22:02:47 +08:00
Ethan Lynn a334e1b897 Add a NFV VDU profile in contrib
- Create ports before creating instance
- Store port_ids in node.data['internal_ports'] for deletion

Change-Id: I41a9ee51eed0922ac2e39882422cff76218cfbc5
2017-02-12 22:02:28 +08:00
Ethan Lynn 608ddd41bd Copy nova server profile to contrib
This is for easier review of following patches.

Change-Id: Ic32dad346fdb48cefca85076600f5f75cd3f0986
2017-02-08 14:08:16 +08:00
Ethan Lynn 06c7f51383 Integrate senlin with devstack
Integrate senlin with devstack

Change-Id: I79360843bc2908d3045f27911cc090fed6f2a230
2015-04-17 10:59:35 +08:00
tengqm da44a98cf8 Removed TLS related config stuff 2015-02-01 15:15:00 +08:00
tengqm 0adecfb85b Initial version of devstack support 2015-01-11 21:48:00 +08:00