GitHub user grkvlt opened a pull request:
https://github.com/apache/brooklyn-server/pull/732
Adds brooklyn-container-service code
See [IP clearance
details](http://incubator.apache.org/ip-clearance/brooklyn-container-service.html)
for further details.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/grkvlt/brooklyn-server
feature/container-service
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/brooklyn-server/pull/732.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #732
----
commit 103ab7a24b41118e38751c0da7ecace450acc659
Author: Andrew Donald Kennedy <[email protected]>
Date: 2016-06-19T18:50:15Z
Set no internal networking config key for Riak
commit 21fbf45c1f35f87c69f374620e6d576c96c5124d
Author: Geoff Macartney <[email protected]>
Date: 2016-06-20T15:08:41Z
Avoid transmitting private key over the network.
Previously the private key of a docker node was fetched over the web
interface to the ca-server, which is not encrypted. This changes the
shape of the handshake so that the docker node generates its own key
and a certificate signing request (CSR) which it then sends to the
ca-server, obtaining its signed certificate in the response to the
REST request.
This also adds some sensors, the idea having been that we would do
away with the web server entirely and use sensors to expose data and
an effector to sign the CSR. It turns out that the effector call
will need a bit more work in brooklyn, so for now we retain the
web server interaction to transmit the certificate.
This also adds a script as a convenience for developers to get
certificates from the ca-server, getcert.sh. See the script for
comments on usage.
commit b68d199a4b280f645505572262cbb81842bba45f
Author: Svetoslav Neykov <[email protected]>
Date: 2016-06-27T12:41:37Z
Add swarm+etcd-tls test
commit a50bd7c7931ef4854a5b92abfa5ab7ddacea0747
Author: Svetoslav Neykov <[email protected]>
Date: 2016-06-28T10:04:54Z
docker-engine doesn't open open tcp port
commit 07e0b0be17097bc2114d0afd0ed78c1f25d47a3a
Author: Svetoslav Neykov <[email protected]>
Date: 2016-06-28T14:15:16Z
Package BOMs in a jar
commit e2dfc87493a836e9fd43ec106f0d16b36dc53099
Author: Svetoslav Neykov <[email protected]>
Date: 2016-06-29T13:03:26Z
Restart swarm containers and Docker VM wrapper container
* Adds "--restart=unless-stopped" to swarm nodes and manager
* Adds user supplied --restart policy (defaults to unless-stopped) for
docker vm wrapper entity
* Adds additional options configuration for the docker vm wrapper entity
commit 104ffc3eaaaa490c94e6214481d09556885a9e77
Author: Svetoslav Neykov <[email protected]>
Date: 2016-06-30T12:29:14Z
Replace failed swarm nodes
commit b04030c03269651b1d15bfe203ad0a7410dae005
Author: Andrew Donald Kennedy <[email protected]>
Date: 2016-07-05T05:19:18Z
Update the brooklynetcd version to 2.1.0
commit ae5659aa3600887e5445fc480e183a45f51687f9
Author: Geoff Macartney <[email protected]>
Date: 2016-07-05T14:03:25Z
Fix etcd connection failure for different external and subnet networks.
Builds on https://github.com/cloudsoft/container-service/pull/55,
do not merge until after that.
Adds subnet address as as subjectAltName as well as host address.
This is because on Softlayer or other clouds where the public
address is on a different network from the subnet address,
swarm fails to connect to the etcd discovery mechanism.
The problem is that the public host address is configured in the
certificate but the etcd config is using the subnet address for the
client and peer urls. When swarm nodes connect on the subnet
address the certificate presented does not match the IP address
requested and the connection fails.
By adding the subnet address as another alternative name it
is possible to connect using either address.
commit e622129827c491c9e6d8a196eaee2573e17e49ba
Author: Andrew Donald Kennedy <[email protected]>
Date: 2016-07-05T18:15:38Z
Add replication for Swarm masters
commit 8ce66fe173b48bf10bf0606ded1ea8f4fcfc5769
Author: Geoff Macartney <[email protected]>
Date: 2016-07-06T08:40:08Z
Updates for running on Karaf.
Add required libraries.
commit d8cda90e5fb977f82ed084fc30f169277e3f24a8
Author: Duncan Grant <[email protected]>
Date: 2016-07-07T15:16:13Z
Add a DockerContainer type
Entity for adding docker images from docker-hub
commit 553e54f95a3ecf282ba9b512fb3668d1678c476a
Author: Andrew Donald Kennedy <[email protected]>
Date: 2016-07-08T10:32:55Z
Add Nginx load balancer for Swarm
commit fbeaf8e51db800162f98d094699d6453037174c1
Author: Andrew Donald Kennedy <[email protected]>
Date: 2016-07-08T21:59:35Z
Updated test BOM formatting for consistency
commit 8d3e3603f3f27c8a518d6e37cf15393720ae8618
Author: Andrew Donald Kennedy <[email protected]>
Date: 2016-07-08T23:30:50Z
[TMP] Replace failed swarm nodes
commit 9f37129b238e9c7f12fe09bf995e6aaf9d639dc9
Author: Andrew Donald Kennedy <[email protected]>
Date: 2016-07-08T23:37:44Z
Add extra Swarm config properties and fix inheritance
commit c15d1d1aad86ee3461145a389fedd6fed01063de
Author: Andrew Donald Kennedy <[email protected]>
Date: 2016-07-11T09:31:47Z
Updated README with resilience and more config
commit 6688365b37a6c591d6ebcd954fc6bcdc13623293
Author: Andrew Donald Kennedy <[email protected]>
Date: 2016-07-11T15:08:05Z
Use separate certificate-functions.sh script
commit e5b0304d4037d6f6e1649c322af5e32e66448e3f
Author: Andrew Donald Kennedy <[email protected]>
Date: 2016-07-11T15:37:23Z
Formatting changes in YAML files
commit b1aafce60f8e023d558974d0ce098569520f015c
Author: Andrew Donald Kennedy <[email protected]>
Date: 2016-07-11T15:45:04Z
Fix CPU and memory sensor SSH commands
commit 8f6e76a0f00098fd6cb630f5d900121f75fb2199
Author: Andrew Donald Kennedy <[email protected]>
Date: 2016-07-12T02:51:02Z
Fix environment for etcdctl TLS
commit f2921f7ac49b868b432b9b2c35db46c8272fdb5f
Author: Andrew Donald Kennedy <[email protected]>
Date: 2016-07-12T05:00:54Z
Better tests for Swarm failover
commit 4603cb44a2b9cd29848bf0dac519f13277d576d7
Author: Andrew Donald Kennedy <[email protected]>
Date: 2016-07-12T09:28:13Z
Fixes for Swarm node and manager startup
commit 4723dd3666b153dfd5a85b338b612dc66a851b36
Author: Andrew Donald Kennedy <[email protected]>
Date: 2016-07-12T09:28:38Z
Fix config inheritance issues for HA policies
commit 96935c63122dd96e56628aabfba957bc4982186c
Author: Andrew Donald Kennedy <[email protected]>
Date: 2016-07-13T01:58:07Z
Configure usage of ca.cert sensor
commit 46e7cc5e1d94a7b955e830af57b4e502fb6574ec
Author: Andrew Donald Kennedy <[email protected]>
Date: 2016-07-13T08:44:11Z
Fix etcd testing for clustered TLS
commit ef15406370c2c4721ff9fb3a5b89ed208b040c47
Author: Andrew Donald Kennedy <[email protected]>
Date: 2016-07-13T17:32:33Z
[TODO] Set provisioning properties for Swarm nodes
Adds Swarm minRam and minCores configuration.
Currently does not work due to issues resolving the
provisioning.properties config keys in the JcloudsLocation
context, which does not appear to have an entity set.
If the entire propery map is use as a configuration
value, the coercion fails as it is only trying to
coerce the individual emtries in the map.
commit 4eac1c45f66bbe0dc1928b51b59e689c28d014eb
Author: Svetoslav Neykov <[email protected]>
Date: 2016-07-14T06:15:05Z
Register docker location in Karaf
commit 0b69977b237bdce845ae3aa4941959e2c01a8ba0
Author: graeme.miller <[email protected]>
Date: 2016-07-14T13:03:48Z
Added YUM update, changed docker.endpoint to host.address as it has to be
an IP address
commit a6553bdb90c664fa59fd98882634ea891b427116
Author: graeme.miller <[email protected]>
Date: 2016-07-14T14:09:10Z
Add docker engine as template
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---