This useful tool was outdated and written really clumsily. This commit
rewrites bash code to Python, adds options like peeking stack.sh logs,
deploying from a commit or branch and fixes deploying from a gerrit
change.
Change-Id: Icaa01d660b2cdf376d6f000230114986a454c4fb
Reflect reality to the docs regarding devstack deployment.
Also, there were changes to refresh docs for vagrant, updated
Vagrantfile, and removed outdated Opendaylight docs.
Change-Id: Ic038967547ebf748c5b41ad598e8553c4a6bebad
With the new docker download rate limitation, we should update Kuryr-kubernetes documentation to move from celebdor/kuryr-demo container image to quay.io/kuryr/demo.
closes-bug: 1920022
Change-Id: I93bbe01c156bb3d77f9155d5db34be4bc2faa9fe
The vagrant-devstack-Kuryr-Kubernetes 'Vagrant Options available' in
the README stated that the default VAGRANT_KURYR_VM_MEMORY is 4096,
this change updates it to 6144. And mentions that for a lighter
devstack installation ovn and ovn-octavia driver can be used.
This change also updates the url for atlas.
Change-Id: Idb20cc2c89043a2aaf13335aec44acced283baf4
Closes-Bug: 1901558
This commit fixes the order of enabling the IPv6 support on DevStack.
Otherwise installation fails.
Change-Id: Ibfd23c108dd2d4718744099cb288cb063e679826
Current DevStack version does not support Ubuntu Xenial,
we should update the Vagrantfile to use Bionic instead.
Also, current DevStack requires IPv6 to be enabled on
the VM, let's make sure that is present.
Change-Id: I6fad390367476ed50cac38d84edee4387c2275f1
With the new default Kubernetes 1.18 version used by Kuryr,
the command "kubectl run" does not create a Kubernetes Deployment
anymore, but instead creates a Pod.
The Kuryr docs should get updated to still support a
Deployment creation with the command "kubectl create deployment"
Change-Id: I8df10e64d71cc224e08825987d538693df1719f3
Closes-Bug: #1897391
Since we already migrated fully to Python3, it's time to also remove
bits needed for Python2. One of those libs is six.
Change-Id: Ib984d7b4b3c1048ed091c78986c634689a8ace8c
There are the cases, where text blocks in restructuredtext files are
exceeding text 79 column, or are formatted in weeird way. In this patch
it is fixed. Also couple of typos were tided up.
Change-Id: I78c20cbb45c74e817d60582439acc7b01b577a83
There are several restructuredtext files, which don't follow guide for
document contribution. Also made a rule for having additional line
between section body and folowing section headline.
Change-Id: I2dfe9aea36299e3986acb16b1805a4dc0cd952d2
With start of multi-vif support we've merged a new format of Pods
annotations i.e. dictionary with interface names as keys and VIF o.vo's
as values. This is inflexible, as we don't get versioning of the
dictionary.
This commit switches that dictionary to oslo.versionedobject of
following structure:
PodState
- default_vif: VIFBase
- additional_vifs: {
'<ifname>': VIFBase,
...
'<ifname>': VIFBase,
}
This should help us if we ever decide to change this format.
Related-Bug: 1782366
Depends-On: Ied6b5883cf4bfe6a499813c65b49257de040c4b5
Change-Id: I5bce85029f9edfed56ca216f465226b9bcc0d21b
The default vagrant values are insufficient for running Octavia
amphorae. This patch addresses it in documentation.
Change-Id: If0147adb39793b4601f7b00bec34aa9d593ecbc4
Closes-Bug: 1708173
Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
Up until now, if you wanted to change the defaults in the parameters,
you had to go and edit the hot/parameters.yml file. This was
inconvenient because it would then show up in git diff and prevent git
review from normal operation. This patch makes it so that now you can
pass the parameters just like if it was the openstack-cli. For example:
./devstack-heat stack \
--parameter \
"public_net=fbf9bcc6-cbaa-4c24-8d56-8010915a6494" \
--parameter \
"image=CentOS-7-x86_64-GenericCloud-1801-01"
Change-Id: Icf4fb124d03f56c8cf383971c5161520a1734d94
Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
If no github token is used, we resort to cloning. The more patches kuryr
has, the longer it takes. That is, unless we limit the cloning depth,
then it will only be the size of the latest snapshot.
Change-Id: I765be71937f1bf20b99c503a4193ed3de4e71ef2
Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
This plugin prints out nice information about the pods in the current
namespace. It also supports setting a selector and formatting for the
output.
Implements: blueprint kubectl-plugin
Change-Id: Id2afa262aa602765e1abf7fdd6ecda593b642ce0
Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
This patch add the support to get the current status of the pools.
It can list the existing pools and their number of available
subports, as well as to show the ids of the ports associated to
a given pool.
Implements: blueprint kuryr-manager-cli-tool
Change-Id: I9332ffa259c4651b69c788985e5bbd1f98cb38cc
This patch introduces a ports pool manager that runs as an http server
thread belonging to the VIF handler. This Manager handles the requests
to populate and/or empty given subport pools so that they can be easily
managed.
It also includes a client and documentation to test/use the new functionality.
Implements: blueprint kuryr-manager-cli-tool
Change-Id: I495c0ca3ed997ab9da1763d8a3e60bbf7ac618b9
In order to add more options, let's do a refactor and improve the code a
bit. One of the improvements is that it now waits for the stack not to
be in progress anymore before proceeding to show the stack outputs.
Change-Id: I68b64260d0a4b368d0427c5b231c44ea9ec55079
Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
Devstack heat is a convenience set of heat templates and cli to get
devstack deployments without hassles when you already have access to an
OpenStack cloud.
Change-Id: I2de8d12b2e8c805a86d03311857ca9be41ff0c75
Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>
This patch adds the necessary code for building a container that can be
used for our CI functional and fullstack testing needs. The only
requirement for building is a working docker engine and the OS to have
access to a packaging mirror (which CI is supposed to have even when
internet connectivity is limited).
In order to build, simply move to 'contrib/testing/container' and run:
./build.sh
To try it out locally, just do:
docker build -t kuryr/testing_container .
docker run --rm -p 8000:8000 kuryr/testing_container
And from another terminal:
curl 0:8000
Change-Id: Id94ad2d7567f9e5d60fce25d29c8c3d4a391aabc
Signed-off-by: Antoni Segura Puimedon <antonisp@celebdor.com>