Commit Graph

23 Commits

Author SHA1 Message Date
Alexey Deryugin
b4bb6a2191 Fix missing function call in Docker DIB element
Replace call of undefined function 'lowercase' with standart bash string conversion to lowercase

Change-Id: I7fa4a85058e81afbd72d2f245c66995afc5ce26a
Closes-Bug: #1465282
2015-06-15 14:09:17 +00:00
Alexey Deryugin
0661ee3e30 Update Docker DIB elements for usage with Debian-based images
Change-Id: I319c28b5314f9d8ee070a0cafe10968851adf64c
2015-06-05 13:21:46 +00:00
Jenkins
3f06af663d Merge "Set Docker version to 1.6.2 due to Docker update" 2015-06-04 21:43:46 +00:00
Alexey Deryugin
96701cbcfa Set Docker version to 1.6.2 due to Docker update
Change-Id: Idf9e400191787c4df76011a41c192194fd45b012
Closes-Bug: #1457086
2015-05-28 10:04:55 +00:00
Dmytro Dovbii
0fc2e52dc4 Add Require section to maniest file for all apps
Change-Id: I88d690eab977d54e8272fd66a4b785ee5022a2c6
Closes-Bug: #1446563
2015-05-26 09:41:30 +03:00
Dmytro Dovbii
f56c8d889e Add messages in cases when scaleUp/Down action execution fails
Change-Id: Id233e69ab0bd4d2fd993b3c52b0ce2754cca5588
Closes-Bug: #1449595
2015-05-08 10:38:00 +03:00
Stan Lagun
39a9001c04 Adds ability to delete docker applications from the host
Application deletion were supported on DSH/Pod but not exposed
in DockerApplication. Once it became exposed number of bugs in
KubernetesPod and DSH became visible.

Change-Id: I33650936a73994668f72348a909b7a51bae2b98c
Closes-Bug: #1446582
(cherry picked from commit a74293e2b4ed5695737066d9154d51a4170b8a80)
2015-05-01 22:44:24 +00:00
Stan Lagun
a143180618 Fixes k8s deployment without Replication Controller
UpdatePod execution plan was using field from Pod
definition that was present in v1beta1 API but is no
longer used in v1beta3

Change-Id: Ib57a0e5cc7104d5e1fa39b07644eab182a7fdf45
Closes-Bug: #1447594
(cherry picked from commit a680bf5899e006ff1e3ecf1ee3e3c7cce4a9bebb)
2015-04-24 12:55:02 +00:00
Stan Lagun
b0655459b9 Report correct Node capabilities to k8s
KubernetesCluster used to report 2 CPU cores and 4GB RAM
for each Node no matter what flavor was used for the Node.

This fix adds additional step to ask VM for its real capabilities
and provide those values during Node creation

Closes-Bug: #1447386
Change-Id: I786de0b5fcf5cf094397c8c88b2f03a88326b884
(cherry picked from commit dee685beaba7270b0258c8a5be2d028ecab6d2f8)
2015-04-23 11:09:35 +00:00
Alexey Deryugin
c1660be27e Fix wrong permissions on element files
Change-Id: I106542a3c52657a5cbfcdaac32aa7e1208f5d5a4
2015-04-22 18:50:45 +03:00
Stan Lagun
b1d27539d6 Adds missing DIB element name
kubernetes DIB element was forgotten in readme

Change-Id: Idfc15f692e212111d8610e8feeaef8a7a690e4e2
2015-04-22 12:08:28 +00:00
Alexey Deryugin
a514989c9c Elements for Docker and Kubernetes migrated to murano-apps
Versions for kubernetes components fixed to:
* Kubernetes v0.15
* etcd v2.0.9
* flannel v0.3.1
* confd v0.7.1
* Docker v1.6.0

Change-Id: Ibf4028dc4fbc4568e5de24805669d9caa6d4caf1
(cherry picked from commit cc765433d6878f752a0709b04676de0a96e93c13)
2015-04-22 10:35:09 +00:00
Stan Lagun
342ef70801 Added missing execution plan
Execution plan to patch existing k8s services to include node IPs
when number of nodes changed and we are not using gateways
or we was using gateways and now we don't

These 2 files were supposed to be in
https://review.openstack.org/#/c/175506/
but I forgot to commit them

Also fixes typo that is already fixed in stable/kilo

Change-Id: I6af644511bf25ae7ae31c88914d33b8c518a4eec
2015-04-22 03:28:37 +03:00
Jenkins
1576a5626b Merge "Add license information" 2015-04-22 00:23:44 +00:00
Stan Lagun
c681e2197d Update for changes in k8s 0.15
* Migrated to v1beta3 API
* cAdvisor is now enabled by default
* command line daemon settings updated
* HAproxy template updated for multi-port services
* Better reporting

Change-Id: Iefcbe8073fb35503e2fe2ee5c6bf4610561c3cb6
Closes-Bug: #1446306
Closes-Bug: #1445541
2015-04-20 20:34:02 +03:00
Ekaterina Chernova
53c9a9ad26 Add license information
* LICENSE file placed to every package
* License information is shown during application creation
* License added to every file

Change-Id: I682f3d9a09d0c0b575206d79223c1822c4b94f27
Closes-Bug: #1446121
2015-04-20 19:15:15 +03:00
Jenkins
7ff496ad14 Merge "Use more clean and simple regexp validator in UI of k8s Cluster" 2015-04-17 10:06:21 +00:00
Ekaterina Chernova
d44ea97fd3 Add requirements to docker host and k8s cluster
Since now, all flavors that have less than 10 GB disk will
not be added to the possible selection.

Also, unnecessary backslashes were removed.

Change-Id: I0839a4252957acd2be9dddbd335674c22c3d57a5
2015-04-16 08:24:31 +00:00
Dmytro Dovbii
58baa629bc Use more clean and simple regexp validator in UI of k8s Cluster
Old validator was quite strange and difficult.
Validators in another apps also were fixed.

Change-Id: Id191b5e2f260e29113655d9fa034f3fa31d832e0
2015-04-15 19:12:12 +03:00
Stan Lagun
c4c92bf152 Skip built-in k8s services in HAProxy config
Builtin k8s services "kubernetes" and "kubernetes-ro" caused port conflicts with
installed applications if they use ports 80 and/or 43

Change-Id: Ibf7be47d0f63dffeae7553dc3ffe9f1903ccce8f
Closes-Bug: #1444213
2015-04-15 03:35:37 +03:00
Stan Lagun
a855e9a879 Adds support for several applications in single Pod
Kubernetes doesn't allow to add containers to a Pod that
is already deployed. With this change old pods will be deleted
and either new pod created which will include new container
or Replication Controller will be modified (before Pod delete
so that updated Pods be created instead)

Also now Pods are created only when replica number set to 0.
Otherwise Pods created by ReplicationController alone.

Change-Id: I8552793f39083de47ad07e7013dedb72e0550885
Closes-Bug: #1444208
2015-04-15 00:28:31 +00:00
Stan Lagun
e9a04c4db0 Fixes replication controller deletion
KubernetesCluster method to delete RC was using incorrect
property and there was a typo in execution plan making it
fail on validation

Also renames destroy* methods to delete* methods to match
Kubernetes terms

Change-Id: I2ff71679deeb5ad3692fcc1a5fcfed8fa0e8d94f
Closes-Bug: #1443857
2015-04-15 03:15:58 +03:00
Dmytro Dovbii
7cb39996f0 Restructure murano-apps repository
Change-Id: I9cdb1e4afcb9929c7b7a5437faaa25d284daefdb
Closes-Bug: #1441644
2015-04-14 09:42:21 +03:00