Commit Graph

98 Commits

Author SHA1 Message Date
OpenDev Sysadmins 8023bdc864 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:50:41 +00:00
Ian Wienand d6d27752ad Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I37d57e12ebe5af5f02429831fe3249c5da0d1bad
2019-03-24 20:36:10 +00:00
Harry Zhang 8d69865d6e Update with stackube demo
Change-Id: Ib10aa1e860cc17315a04b58bac565807eabf7736
2017-11-18 23:40:06 +08:00
Li Wei 240094e061 fix volume mount error in stackube-proxy
As kubernetes support mount propogation now, the "shared" propogation
type is not needed any more and would cause volume mount error.

Change-Id: Idfa718ff7f0591ed246dc06f4a78c886abe9efe2
Signed-off-by: Li Wei <liwei@anbutu.com>
2017-11-14 19:53:35 +08:00
Harry Zhang c853c272e0 Bump 1.8 and version config, frakti 1.1.1
Implements: blueprint update-to-1.8

Change-Id: I4d12db6ccaedf3c28b6f7ff687de46b42dac5465

Fetch version from release URL

Change-Id: Icedce88e90ec98ff4b66b1b30e74030aa4932cdd
2017-10-28 22:41:10 +08:00
Harry Zhang 5cac2ab81f Update stackube architecture to latest version
Change-Id: If4e17db521fff03b0ec01592c01bc9ba39d283cf
2017-10-12 14:18:13 +08:00
Harry Zhang df9c581007 Clarify work with kuryr-kubernetes
Change-Id: Ia679f1b5f674d09b720a8ab39809bb16fa0dd8a3
2017-09-27 15:35:32 +08:00
Harry Zhang a772885672 Upgrade to k8s 1.7.5 to use flexvolume-ds 0.2
stackube/flex-volume:v0.2 has been uploaded to hub

Change-Id: Ibb7469ee7683abcfc939b58104df20f1c621ab25
2017-09-08 10:55:55 +08:00
Harry Zhang 4de3925dd1 Add details to vol guide
Change-Id: I875bb2a288352bacfac2744b23b2268cbacc6deb
2017-09-05 14:21:40 +08:00
mozhulee 068c895b27 Add network-controller unit tests
including
* fix creating kube-dns deployment and svc when
  getting network or creating network failed.
* add network-controller unit tests.
* enhance fake openstack client.

Change-Id: Ib527ff2a995301af343d34d3a7f948e7ba492516
Implements: blueprint auth-controller-test
Signed-off-by: mozhuli <21621232@zju.edu.cn>
2017-09-04 14:50:56 +08:00
Jenkins 4f657203b0 Merge "Add tenant-controller unit tests" 2017-08-31 08:40:46 +00:00
mozhuli 1394c0b10c Add tenant-controller unit tests
including
* enhance rbac-controller unit tests
* add tenant-controller unit tests

Change-Id: I8a803a9c9194bc27662373099e2be34793811311
Implements: blueprint auth-controller-test
Signed-off-by: mozhuli <21621232@zju.edu.cn>
2017-08-31 16:32:51 +08:00
Harry Zhang c5e3a3f539 Fix typo in developer user doc
Change-Id: Ie6129eab9acb94de4ae0438d35b8a78042f218d1
2017-08-31 16:10:56 +08:00
Jenkins fb8b06a0f1 Merge "Release note 1.0beta" 2017-08-31 07:26:02 +00:00
Harry Zhang feed3031f4 Release note 1.0beta
Change-Id: I68e965afc3ab47dcbbaf9961e9d5ff87a7f8c3aa
2017-08-31 15:17:57 +08:00
Jenkins 8ad0ae03f4 Merge "Fix doc/source/setup.rst" 2017-08-30 15:06:16 +00:00
Pei Tong 0bbb5a98b0 Fix doc/source/setup.rst
Change-Id: Ia2ffe4ef520a18c5bcddefc1c53bc8560a9c25e5
2017-08-30 14:48:54 +00:00
Jenkins 714fcdb322 Merge "Add rbac-controller unit tests" 2017-08-30 13:54:50 +00:00
mozhuli 3813a93ae8 Add rbac-controller unit tests
Change-Id: I3194075ecd8ed136fe780b52c05d58a16a0087c3
Implements: blueprint auth-controller-test
Signed-off-by: mozhuli <21621232@zju.edu.cn>
2017-08-30 21:12:40 +08:00
Pei Tong ba9fa99f6c blueprint cluster-installation
Add install tool

The tool aims to make the deploying of stackube as easy as possible.
User could set up a whole Stackube cluster automatically by using it.
It uses docker images provided by OpenStack Kolla Project to run a
containerized OpenStack, and uses kubeadm to deploy kubenetes, then
bootstrap the Stackube cluster.

Change-Id: I6f18cf4d1a792bc505f955937f000dc0967341ce
Implements: blueprint cluster-installation
2017-08-30 09:33:39 +00:00
mozhulee 45c253ba0f Update clientset to interface
Update newcontroller methods to use clientset interface
parameter, so we can use a fake clientset for unit tests.

Change-Id: I6dc7291a2979227e60641e72384e5d7f144d77b8
Implements: blueprint enhance-unit-testing
Signed-off-by: mozhuli <21621232@zju.edu.cn>
2017-08-28 14:00:50 +08:00
mozhulee 604dd5b0c9 Add service-controller unit tests
Change-Id: I3fd5bc4b62d26c7e6d118ba08b6c001c871fcbd3
Implements: blueprint service-controller-test
Signed-off-by: mozhuli <21621232@zju.edu.cn>
2017-08-28 09:43:43 +08:00
mozhulee 7fed3d210b Add fake CRD client
Change-Id: I4748ce465b2886098cfab37277a18cc0b571c22b
Implements: blueprint enhance-unit-testing
Signed-off-by: mozhuli <21621232@zju.edu.cn>
2017-08-26 12:09:10 +08:00
Jenkins 23c2da8286 Merge "Add "--version" parameters to cmd" 2017-08-25 14:13:30 +00:00
Kevin Zhao 3eda49669c Add "--version" parameters to cmd
Closes-bug: #1712486

Change-Id: I824bba993fa82eb0c74b53c7b2cb7835c3e53b37
Signed-off-by: Kevin Zhao <kevin.zhao@arm.com>
2017-08-25 17:20:54 +08:00
Harry Zhang 03929dc65b Unpdate and add new doc
Implements: blueprint enhance-documentation

Change-Id: I7a67b55bbb12fae9d0f2e5c693182254a2abc0e6
2017-08-24 14:32:38 +08:00
Kevin Zhao d49fd75750 Bump Kubernetes version from 1.7.3 to 1.7.4
Tweak setup document about set env

Implements: blueprint upgrade-kubernetes

Change-Id: Ib6c25c9affcf7020aaf127220dad7e07f9b518ff
Signed-off-by: Kevin Zhao <kevin.zhao@arm.com>
2017-08-23 14:24:42 +08:00
mozhuli 1f950f63f0 Add fake files
including
* add fake openstack client framework.
* add fake iptables.
* add proxier unit tests.

Change-Id: I8e47ecd33a103ac736e0619e35cfe59cca8ef2e2
Implements: blueprint enhance-unit-testing
Signed-off-by: mozhuli <21621232@zju.edu.cn>
2017-08-22 21:47:33 +08:00
Pengfei Ni 7e2fc21c2c Clean up netns symlink of failure
* change the netns symlink name to pod full name (concating the
  namespace and name)
* clean up the symlink on failure

Change-Id: Ic80b07e2e3b6c3a312d95af4068e69f4740e44eb
Closes-Bug: 1712273
Signed-off-by: Pengfei Ni <feiskyer@gmail.com>
2017-08-22 17:19:02 +08:00
Harry Zhang b828e3d7ab Add cinder-flexvolume developer doc
Implements: blueprint volume-improve

Change-Id: I907bdbd238b16aad81e8150dacac049436750864
2017-08-22 13:35:30 +08:00
mozhulee 30669fdc5b Use interface
Update openstack client and iptables to use interface, so we
can fake openstack client and iptables for unit tests.

Change-Id: Id97eef2b9b36002b0c70a069a3718328d111ffd3
Implements: blueprint enhance-unit-testing
Signed-off-by: mozhuli <21621232@zju.edu.cn>
2017-08-21 17:32:02 +08:00
Jenkins 5ffb3de826 Merge "Handle service's clusterIP for all services." 2017-08-21 04:35:59 +00:00
Jenkins 855ca87776 Merge "Fix flexvolume deploy nits" 2017-08-19 07:34:03 +00:00
mozhulee 9eefeeaceb Fix flexvolume deploy nits
Since stackube-controller need time to start,
we need to use hostnetwork.

Change-Id: I0d29f23b49f58a87ddb43f65657e3554c4608afa
Signed-off-by: mozhuli <21621232@zju.edu.cn>
2017-08-18 17:36:16 +08:00
mozhulee 803d5e4a97 Fix user accessing k8s pod denied
Change-Id: I864ef6ea07c85f2ff15709c2b01e7bd2f31e81b5
Closes-Bug: 1709277
Signed-off-by: mozhuli <21621232@zju.edu.cn>
2017-08-18 16:00:37 +08:00
Pengfei Ni d5e5b0765f Handle service's clusterIP for all services.
stackube-proxy has already handled clusterIP for ClusterIP typed
service, this PR adds handling for other typed services. This could
make clusterIP working for all services.

Change-Id: Ic728be02301bf8befe98b5b92861f865c6bf8f15
Closes-Bug: 1710840
Signed-off-by: Pengfei Ni <feiskyer@gmail.com>
2017-08-18 15:30:46 +08:00
Harry Zhang ca41a68e0b Fix deploy nits
Change-Id: I2e833301b46d55607d8a6129e58d4c70376d87bd
2017-08-17 21:33:29 +08:00
Jenkins c7a2eeca04 Merge "Deploy flexvolume" 2017-08-17 08:31:18 +00:00
Harry Zhang 1a05137dcc Deploy flexvolume
Implements: blueprint volume-improve

Change-Id: Iab5f2b7ac92d1cd7fbf8136fe62155d80e596653
2017-08-17 16:17:41 +08:00
mozhulee 2c716e0922 Add iptables unit tests
including
* use k8s utils/exec package
* add iptables unit tests

Change-Id: I4cd1f7b5a600fd6088ba179c569ce367abc2a841
Signed-off-by: mozhuli <21621232@zju.edu.cn>
2017-08-16 15:52:16 +08:00
mozhulee 194a985730 Fix system namespace binding no RBAC
Change-Id: I27fb66574d0ae54203a6a4ea7b981abc741ae698
Closes-Bug: 1710839
Signed-off-by: mozhuli <21621232@zju.edu.cn>
2017-08-15 19:16:24 +08:00
Pengfei Ni a225041bf4 Mount netns as shared.
Since mount propagation is not supported in kubernetes API yet, we need
to set it as shared.

Also adds hostIPC for stackube-proxy.

Change-Id: Ie31761a12f169d9afde52e56b7068adaa8f2a127
Closes-Bug: 1710830
Signed-off-by: Pengfei Ni <feiskyer@gmail.com>
2017-08-15 16:56:22 +08:00
mozhulee 328463416e Fix identity endpoint
Change-Id: I2db64d89a4ebcb2dd37276abaf89400dc055c1a4
Closes-Bug: 1709270
Signed-off-by: mozhuli <21621232@zju.edu.cn>
2017-08-10 16:00:16 +08:00
mozhulee c82bbccf1d Add kubecrd unit tests
Change-Id: I94ed8c8efef96cd4387807626683e6eb2ba3f719
Signed-off-by: mozhuli <21621232@zju.edu.cn>
2017-08-07 17:02:32 +08:00
Pengfei Ni 8dd1fa2992 Add deployments for stackube addons
Deploy stackube addons, including

* stackube-controller
* stackube-proxy
* kubestack cni plugin
* kube-dns

Change-Id: I44bcaad3b30931ba79c80f37b0e33033ef94bca5
2017-08-04 18:37:30 +08:00
Pengfei Ni e978fceacb Fix document format, e.g. numbers and paragraph
Change-Id: I914ea3968513af77d8aacfc21973f06b2065608e
Signed-off-by: Pengfei Ni <feiskyer@gmail.com>
2017-08-04 10:32:50 +08:00
Pengfei Ni 4e4141ac9d Use openstackdocstheme for documentation
Change-Id: I208cc61bd326a157527b09dbe828b16815a6c64f
Signed-off-by: Pengfei Ni <feiskyer@gmail.com>
2017-08-04 10:10:00 +08:00
Pengfei Ni 4dd67bf6ab Update documentation
Change-Id: Ib135d350d48452fc986ccfcdbfd4f04e4a29b28b
2017-08-04 08:58:44 +08:00
Pengfei Ni 50322401cd Add kube-dns
Adds kube-dns deployments for each tenant. And also adds loadbalancer
for cluster DNS in each namespace.

Implements: blueprint dns
Change-Id: I2ee00806431cc4a3dfdf4c3c49b54892d4c2c98b
Signed-off-by: Pengfei Ni <feiskyer@gmail.com>
2017-08-04 08:56:27 +08:00
Pengfei Ni ea45b75fbc Fix deployment on centos
Change-Id: I1f6de4fd05cdf5169e8f8796e78d820c5c16c5ce
Signed-off-by: Pengfei Ni <feiskyer@gmail.com>
2017-08-02 19:31:22 +08:00