Adding the master_lb_enabled option when creating a cluster,
which will benefit both the cloud provider side and the end
user side. For cloud prodiver, they don't have to maintain
separate cluster templates with or w/o master_lb_enabled enabled.
For end user, they can easily use one single template to create
different clusters with different configs.
Task: 39680
Story: 2007634
Change-Id: I0b586f05168ece84fd340ef7493a56688191053d
Now the label `fixed_network_cidr` is not handled correctly, no matter
if the label is set, the default value '10.0.0.0/24' is used for
fixed network anyway. This patch fixes it and renamed it as
`fixed_subnet_cidr` to make less confusion. The new behaviour will be:
1. If the label `fixed_subnet_cidr` is set but no fixed subnet passed
in, then a new subnet will be created with the given CIDR.
2. If a fixed subnet is passed in by user, then label `fixed_subnet_cidr`
will be override with the CIDR from the given subnet.
Task: 39847
Story: 2007712
Change-Id: Id05e36696bf85297a556fcd959ed897fe47b7354
Following changes were introduced in Train release:
- Allow setting network, subnet and FIP when creating cluster
(I11579ff6b83d133c71c2cbf49ee4b20996dfb918)
- ng-7: Adapt parameter and output mappings
(I45cf765977c7f5a92f28ae12c469b98435763163)
The first change allowed setting cluster.floating_ip_enabled but the
second change introduced ServerAddressOutputMapping conditional on
cluster_template.floating_ip_enabled which leads to an edge case where
if floating_ip_enabled is overriden to False when a cluster is created
when it is True in the cluster_template scope, we see this error in the
conductor logs: ValueError: Field `node_addresses[0]' cannot be None and
the cluster remains forever stuck in CREATE_IN_PROGRESS status despite
Heat reaching CREATE_COMPLETE. This commit addresses this issue by
correctly referring to the cluster.floating_ip_enabled.
Change-Id: Ic83f625178786d4750a66dd6dd6db35c05bc0272
Story: 2007550
Task: 39401
* Fedora CoreOS need the key to be passed as
a string.
* We can adopt in all drivers so that users in
the same project can do cluster resize.
story: 2005201
task: 36934
Change-Id: I9a18ce4dcbd74f0dcd23274baed7c8c3d2029d50
Signed-off-by: Spyros Trigazis <spyridon.trigazis@cern.ch>
When using a public cluster template, user still need the capability
to reuse their existing network/subnet, and they also need to be
able to turn of/off the floatingip to overwrite the setting in the
public template. This patch supports that by adding those three
items as parameters when creating cluster.
Story: 2006208
Task: 35797
Change-Id: I11579ff6b83d133c71c2cbf49ee4b20996dfb918
Using comma delimited ipv4 address list to specify multi dns server
"8.8.8.8,114.114.114.114".
Task: 29465
Story: 2004994
Change-Id: I031247b0cc2ae417f18b2a5b9b3832e78ed9dafd
- Never allocate floating IP for etcd service.
- Introduce a new label `master_lb_floating_ip_enabled` which controls
if Magnum allocates floating IP for the master load balancer. This
label only takes effect when the `master_lb_enabled` is set. The
default value is the same with `floating_ip_enabled`.
- The `floating_ip_enabled` property now only controls if Magnum
should allocate the floating IPs for the master and worker nodes.
Change-Id: I0a232406deaf112b0cb9e445735d7b49206c676d
Story: #2005153
Task: #29868
Add labels as an option during cluster create. If not given,
the default is taken from the cluster template.
Add labels in the Cluster object and use that instead
of the one from ClusterTemplate.
Update both magnum and magnum cli documentation to reflect the above changes.
Partial-Bug: #1697651
Implements: blueprint flatten-attributes
Change-Id: I8990c78433dcbbca5bc4aa121678b02636346802
Seen fails in some cases due to short timeout. This will be a safe
amount of time to avoid failures.
Change-Id: Iabe9751e5d3dba2cb7b57504bf38b55a5c7aba2d
Add docker_volume_size as an option during cluster create. If not given,
the default is taken from the cluster template.
Add docker_volume_size in the Cluster object and use that instead
of the one from ClusterTemplate.
Update both magnum and magnum cli documentation to reflect the above changes.
Partial-Bug: #1697648
Implements: blueprint flatten-attributes
Change-Id: Ic6d77e6fdf5b068fa5319b238f4fd98b4d499be4
Adding config to enable OpenStack loadbalancer for Kubernetes
cluster as backend. By default we keep it disabled to avoid having
to inject the openstack credentials in the cluster always.
Change-Id: I02f690b220e933d492671f53724a604a167d5abb
Add install_imagebuild_deps which installs all the required
packages to build a DC/OS image on Ubuntu Xenial machines.
Change-Id: I85c48d91ff0750d90358056a09287dfc1c12faf2
Partially-Implements: blueprint mesos-dcos
I get [1] when trying to build a DC/OS image.
+ sudo systemctl disable firewalld
Operation failed: No such file or directory
Change-Id: I94c1d4c8056526502ad4c17af85209388bed8b21
A minor update to existing example template.
Added details about what the example template does and what to
expect from the example template and cluster created based on this
example template.
Change-Id: I53c4b9d0921555fd35fb89a5ef1f8696720c4eda
Add information on how to build openSUSE Leap 42.1 image for
OpenStack Magnum with Kubernetes packages.
Change-Id: Ia53b79f14cb5f70b10d81bc13cae32232adca2a9
Partial-Bug: #1622949
After kube-minions restart, we would like to have mounted
DOCKER_DEV again on minion nodes.
Change-Id: I3777c3584e00a397f9604eae8ce0f628d2dcb190
Closes-Bug: #1663526
We would like to remove default values for network configuration
from child templates.
Change-Id: I2e24c55d7a0188a0e1e0c82cc1fbea2e79b800ca
Partial-Bug: #1622949
This patch provides support for installing dcos on centos using magnum.
A new coe type(dcos) is added. This provides support for vm.
Design spec and steps on how to test can be found in
contrib/drivers/dcos_centos_v1/README.md.
Public agent nodes are not supported now.
Co-Authored-By: fengbeihong (fengbeihong@gmail.com)
Co-Authored-By: vmud213 (vinay50muddu@yahoo.com)
Change-Id: I58b378b4bd6df34fd43307e4252cfbbd9bf593d8
Partially-Implements: blueprint mesos-dcos
Make Kubernetes' kube-controller-manager and kube-scheduler
health checks configurable as a parameter to the cluster-template
(label).
Set their value higher for all deployments. And set their value
to a high number for tests, for the CI.
Change-Id: I65e2da12487c513419125f0525a4e21bac22210e
Closes-Bug: 1648826
We would like to open following ports on kube_master:
- for debug handlers kubectl exec and kubectl run commands
protocol: tcp, port: 10250
- for application service
protocol: tcp, port_range: 30000 to 32767
- for flanneld udp and vxlan backend
protocol: udp, port: 8285 and port: 8472
Change-Id: Ie40e5c90c0b246960ff94b917f285a810120c340
Partial-Bug: #1622949
Add support of LBaaS v2 to suse k8s driver.
This patch also allows suse k8s cluster to be created
without enabling LBaaS.
Change-Id: I5de4059aa1185973be1c556a4b7565c62f76f9f9
Partial-Bug: #1622949
Support of proxy for docker was missing in suse k8s
driver, added support of proxy with this patch.
Change-Id: I1dae1177f48a6c770df836e13384f0a9fb7774fc
Partial-Bug: #1622949
A lot of changes have been done in descriptions meanwhile
in the inspiration source of these heat templates, so merge
them here as well
Change-Id: I6c58efa430dd7eb4ee069781fcd39ec73bbe5e58
This is a patch to build a centos image to support installing DC/OS as
a magnum coe.
Two elements are included: dcos and docker, only used to build a centos
image.
1. Element docker will install and configure docker in centos.
2. Element dcos will download dcos_generate_config.sh and do some
configurations for DC/OS.
Design spec in contrib/drivers/dcos_centos_v1/image/README.md.
Partially-Implements: blueprint mesos-dcos
Change-Id: I30fa4c102205aa2475b9491398c06da0d1e86f84
The initial import was a bit of too much of a copy&paste, mildly
reword documentation and reflect copyright statements.
Change-Id: I64d51152e4b0081a7126777a8aedc54f38944502
OS::stack_id is currently set to kubeminion private ip. With this
patch it now refers to OS::stack_id.
Change-Id: I5695801f73a7e29aa0ce9909e1203764fe12b105
Partial-Bug: #1622949
Updated heat template version to 2014-10-16 to sync with other
cluster drivers.
Change-Id: I26fc5b915a62bc839abcc3bf6a1f59dcf8f10060
Partial-Bug: #1622949
Parameter: 'flannel_network_subnetlen' is currently defined as string for
opensuse driver. With this patch flannel_network_subnetlen is changed
to 'number'.
Change-Id: I1bddca23029a448a8bed490c3a37a97e41cc1414
Partial-Bug: #1622949
Factor Out common kubernetes template definitions and address mapping
from Fedora Atomic, CoreOS and Suse drivers.
Partially-Implements: bp bay-drivers
Change-Id: Ib172c19acc1303041f7d8d9249df2d9ca1e4ff6f
Moves magnum.drivers from using Baymodel to ClusterTemplate naming to align
with bay to cluster blueprint.
First part of the rest of magnum.drivers update, with the next part renaming
Bay to Cluster.
Change-Id: I34c5a8bb2b2617b9a057cf7063d4749fa5a39f58
Implements: blueprint rename-bay-to-cluster
Make consistent default version of heat template across
kubernetes, swarm and mesos
Change-Id: I5f8231336a6832ae8ecd8f789ed0b51ba5062729
Closes-Bug: #1425368
This patch moves k8s-coreos specific templates and
template_definition class to the new drivers folder.
It also deletes the /magnum/templates folder
as everything has been moved to the drivers directory.
Change-Id: I6b2ca49e4d7d5fcfb96d0abc373d6476fd907358
Paritially-Implements: blueprint bay-drivers
Moved all Dev Quick-Start realted documents to docs/source folder
(html files will be genrated for them at
http://docs.openstack.org/developer/magnum),
Updated all Dev Quick-Start interanl links to
http://docs.openstack.org/developer/magnum, converted Mesos cluster
with Heat to rst (requred for docs)
Change-Id: Ibba5f44fc5ce9cab30adc0957b6103c811329a06