* add SC2001 to shellcheck skip-list
* few functions from CloudFoundryDiego application was changed -
manual deployment test requeired
Change-Id: Ib7b223553bdfc14f7051911d7ed0e4076c6aebb0
* DIB element is updated to the latest k8s version - 1.3.0
* K8s application is fixed according to the new k8s version:
- replaced short '-t' flag on the long one - '--template'
Change-Id: I37d73a907c55c0e3aca6a2e786b05a9e99a215ac
This patch adds actions to KubernetesPod class which allow to
recreate a pod (delete it and create new one) and to restart docker
containers on minion nodes.
Change-Id: Ia03b27d72662700fb302960adba9dae20203b597
Closes-bug: #1466359
During scaling gateways down, reporter was trying to get ip of the
instance which was already released and that caused index error.
This patch saves this ip for report before releasing resourses.
Change-Id: I9310a423b1ad8c488c1cc7400844ae5d8767879c
Closes-bug: #1590728
* Increases format of packages
* Adds missed licence headers
* Other minor refactoring
Change-Id: I580bea2eb2f7e4616cd12245367ada8d43c5c4ff
Targets: bp refactor-apps-scripts
Allow access to Google Container Registry using json key as
a password for docker login. The key is scoped to a specific
Google Cloud Platform Console project and its resources.
Add new field for key.
Partially implements: blueprint k8s-google-registry-support
Change-Id: Ica71d1a48ac7fb75a71497fcbe318d1b9e4e8192
Allow access to private docker registry using docker argument
'--insecure-registry'.
Add new field for docker private registry host ip or domain name.
Partially implements: blueprint k8s-docker-enterprise-hub-support
Change-Id: I725c0b6a2bdbfe6eb9e627266411286fe44bfae3
1. There was scaleGatewayUp but no Down action
2. Gracefully remove node from etcd upon down-scale of nodes/gateways
3. Log to user which gateways were created/deleted
4. Deployment either hanged or worked incorrectly when downscaling and then
upscaling something again
Also sets minimum gateway node count to 1 until gateway-less mode be fully
functional again
Change-Id: Ie3255f70b8a3fdfadab119a579c00433938495c8
Closes-Bug: #1509074
Some images are updated and may not supported in the future.
Murano admins should build images by there own
from fresh elements, provided in the application folder
Change-Id: I683bcac64e46e4c93a1b958e5b79452874c44288
(cherry picked from commit bd51f268525a55c7800a32a3e3d3fd5e9ffc4fb0)
When Environment get deleted both Docker/k8s host and
Docker applications get deleted. So it is possible that host
will try to delete container from an Instance that was already
destroyed. Attempt to send commands to such instance
will hang until timeout because there is no more agent
exist on the other side.
Change-Id: Ia6e8064ae50c24ce595ed08e446ed45b96b4a330
Closes-Bug: #1504623
Depends-On: I298f3f079a153ef87ed7213b7f1432c9e5e4b4b6
* Kubernetes element was updated to base on v1.0.6
* Docker now has its own repo and has different package name.
Also it is now installed via downloadable script.
TODO: Need somehow to fix docker version to 1.8.2
Change-Id: I230e9705cb850e9fb3772a67284561907d4be615
Implements: blueprint update-k8-to-v1-dib-elements
Co-Authored-By: Alexey Deryugin <aderyugin@mirantis.com>
etcd services on Kubernetes nodes should not start concurrently
or even close to each other, otherwise a split-brain may occur.
This patch increases the delay between service starts from 10 to
30 seconds.
Change-Id: I76a6de47e1fff911373cee1909580be73bf8fb02
Partial-bug: #1494999
The script which adds new nodes to etcd cluster now does up to 30 attempts
and fails (returns a non-zero exit code) if none are successful.
A minor performance optimization has been done as well, so no unneeded
waits happen when the command is successful and no temporary files are used.
Closes-Bug: #1494997
Change-Id: Ic0552f388518c119925da902b64797bbf96f979f
Availability zone was present for master node but not for
minion and gateway nodes which caused error when AZ was
not "nova"
Change-Id: I5b223f20223c2d4d1f2d797f94cd366e206773da
Closes-Bug: #1490575