Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
576dbaa
refactoring auctioneer server tls enablement, to be more adhoc to the…
qu1queee Jul 4, 2017
20b42f2
refactoring auctioneer server tls enablement, to be more adhoc to the…
qu1queee Jul 4, 2017
8fcef63
Merge branch 'develop' of https://github.com/qu1queee/diego-release i…
qu1queee Jul 12, 2017
a85e4e9
Create final release 1.22.0
Jul 12, 2017
516c4df
bump diego-ssh
crhino Jul 12, 2017
5f2c5c5
install the git hooks after all submodules have been initialized
jvshahid Jul 12, 2017
10396f5
bump buildpackapplifecycle diego-ssh dockerapplifecycle
Jul 12, 2017
d09f02b
bump executor
caod123 Jul 12, 2017
0c060ce
Generate minimal cloud-config for use with cf-mysql-deployment
jvshahid Jul 12, 2017
366511b
bump auctioneer bbs inigo
crhino Jul 12, 2017
8ba0b96
bump mysql
jvshahid Jul 13, 2017
54f998c
Make max_cache_size_in_bytes configurable on windows cells
jvshahid Jul 13, 2017
788f6d0
bump bbs
jvshahid Jul 13, 2017
4381a42
bump cfdot
swetharepakula Jul 13, 2017
d727575
bump lager
swetharepakula Jul 13, 2017
01807d8
bump bbs go-loggregator
jvshahid Jul 13, 2017
4e47261
bump executor
jvshahid Jul 14, 2017
edb126a
update the docs in examples/aws with instructions for cf-mysql-deploy…
jvshahid Jul 14, 2017
7c4eede
bump benchmarkbbs
jvshahid Jul 14, 2017
bc933f2
bump buildpackapplifecycle
jvshahid Jul 14, 2017
d2fa2bf
bump route-emitter
jvshahid Jul 14, 2017
4de2d62
bump locket
jvshahid Jul 14, 2017
c924d3e
bump bbs
Jul 14, 2017
e954fe0
bump executor
Jul 14, 2017
6b8f18c
bump auctioneer bbs
swetharepakula Jul 14, 2017
5d08f1a
Create final release 1.23.0
Jul 15, 2017
9c1803f
Merge remote-tracking branch 'local-diego-release-master/master' into…
Jul 15, 2017
d3ddf87
bump diego-upgrade-stability-tests
swetharepakula Jul 17, 2017
df22436
bump vizzini
Jul 17, 2017
0a5c460
bump inigo
crhino Jul 19, 2017
f56d174
bump diego-ssh
crhino Jul 19, 2017
a3ca7a2
bump workpool
crhino Jul 19, 2017
894eea3
bump executor inigo
crhino Jul 19, 2017
de0822d
examples/aws: minor revisions
emalm Jul 20, 2017
6764251
refactoring auctioneer server tls enablement, to be more adhoc to the…
qu1queee Jul 4, 2017
aad524e
refactoring auctioneer server tls enablement, to be more adhoc to the…
qu1queee Jul 4, 2017
18f5663
fixing conflict due to commits in same file
qu1queee Jul 20, 2017
484a83d
fixing conflicts due to commits in auctioneer.json.erb
qu1queee Jul 20, 2017
cc0d2bf
fixing typo introduced by mistake
qu1queee Jul 20, 2017
60012ca
reverting merge
qu1queee Jul 20, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions docs/metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,20 +100,20 @@

## Route Emitter

| Metric | Description | Unit |
| ------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---- |
| `RoutesTotal` | Number of (http and tcp) route associations (`external routes * backend instances`) in the route-emitter's routing table. Emitted periodically every emit cycle. | number |
| `HTTPRouteCount` | Number of (http and tcp) route associations (`external routes * backend instances`) in the route-emitter's routing table. Emitted periodically every emit cycle (only in local mode). | number |
| `TCPRouteCount` | Number of exposable ports (i.e. container ports) in the routing table. Emitted periodically every emit cycle (only in local mode). | number |
| `AddressCollisions` | Number of detected conflicting routes. A conflicting route is a set of two distinct instances with the same IP address on the routing table. | number |
| `MessagesEmitted` | Cumulative number of messages the route-emitter sends over NATS to the gorouter. | number |
| `RouteEmitterSyncDuration` | Time the route-emitter took to perform its synchronization pass. Emitted periodically. | ns |
| `RoutesRegistered` | Cumulative number of NATs route registrations emitted from the route-emitter as it reacts to changes to LRPs. | number |
| `RoutesUnregistered` | Cumulative number of NATs route unregistrations emitted from the route-emitter as it reacts to changes to LRPs. | number |
| `RoutesSynced` | Cumulative number of route **registrations** emitted from the route-emitter during its periodic route-table emission. | number |
| `ConsulDownMode` | Whether the route-emitter is able to connect with the consul correctly | 0 or 1 boolean |
| `LockHeld.` `v1-locks-route_emitter_lock` | Whether a route-emitter holds the route-emitter lock: 1 means the lock is held, and 0 means the lock was lost. Emitted periodically by the active route-emitter. | 0 or 1 (boolean) |
| `LockHeldDuration.` `v1-locks-route_emitter_lock` | Time the active route-emitter has held the route-emitter lock. Emitted periodically by the active route-emitter. | ns |
| Metric | Description | Unit |
| ------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---- |
| `AddressCollisions` | Number of detected conflicting routes. A conflicting route is a set of two distinct instances with the same IP address on the routing table. | number |
| `LockHeld.` `v1-locks-route_emitter_lock` | Whether a route-emitter holds the route-emitter lock: 1 means the lock is held, and 0 means the lock was lost. Emitted periodically by the active route-emitter. | 0 or 1 (boolean) |
| `LockHeldDuration.` `v1-locks-route_emitter_lock` | Time the active route-emitter has held the route-emitter lock. Emitted periodically by the active route-emitter. | ns |
| `MessagesEmitted` | Cumulative number of messages the route-emitter sends over NATS to the gorouter. | number |
| `RouteEmitterSyncDuration` | Time the active route-emitter took to perform its synchronization pass. Emitted periodically. | ns |
| `RoutesRegistered` | Cumulative number of route registrations emitted from the route-emitter as it reacts to changes to LRPs. | number |
| `RoutesSynced` | Cumulative number of route registrations emitted from the route-emitter during its periodic route-table synchronization. | number |
| `RoutesTotal` | Number of routes in the route-emitter's routing table. Emitted periodically. | number |
| `RoutesUnregistered` | Cumulative number of route unregistrations emitted from the route-emitter as it reacts to changes to LRPs. | number |
| `ConsulDownMode` | Whether the route-emitter is able to connect with the consul correctly | 0 or 1 boolean |
| `HTTPRouteCount` | Number of HTTP Routes in the route-emitter's routing table. Emitted periodically and only on local mode. | number |
| `TCPRouteCount` | Number of TCP Routes in the route-emitter's routing table. Emitted periodically and only on local mode and when tcp enabled. | number |

## SSH Proxy

Expand Down
15 changes: 6 additions & 9 deletions docs/tls-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,12 @@ the rep servers on the cell vms, via the `diego.rep.require_tls` and
`false`. When enabled, the operator must provide TLS certificates and keys for
the rep server and its clients (other components in the Diego deployment).

TLS with mutual authentication can be enabled for communication to the Auctioneer
server, via the presence of any of the following properties: `diego.auctioneer.ca_cert`,
`diego.auctioneer.server_cert`, `diego.auctioneer.server_key`. If TLS is enabled for
the Auctioneer, the operator must also specify the client certificates and keys
required for mutual authentication in the following properties: `diego.bbs.auctioneer.ca_cert`,
`diego.bbs.auctioneer.client_cert`, `diego.bbs.auctioneer.client_key`.
The operator may also set `diego.bbs.auctioneer.require_tls` to `true` to ensure
that all communication between the BBS and the Auctioneer server is secured using TLS
with mutual authentication.

TLS with mutual authentication can be enabled for communication to
the Auctioneer server, via the `diego.auctioneer.require_tls` and
`diego.bbs.auctioneer.require_tls` BOSH properties. These properties default to
`false`. When enabled, the operator must provide TLS certificates and keys for
the Auctioneer server and the BBS client.

TLS with mutual authentication can be enabled for upload and download of assets
into the containers, via the presence of the following properties:
Expand Down
3 changes: 3 additions & 0 deletions jobs/auctioneer/spec
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ packages:
- auctioneer

properties:
diego.auctioneer.require_tls:
description: "Whether to require mutual TLS for communication to the securable auctioneer API server"
default: false
diego.auctioneer.ca_cert:
description: "PEM-encoded CA certificate for the auctioneer API server."
diego.auctioneer.server_cert:
Expand Down
3 changes: 2 additions & 1 deletion jobs/auctioneer/templates/auctioneer.json.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
CONF_DIR = "/var/vcap/jobs/auctioneer/config"

config = {
require_tls: p("diego.auctioneer.require_tls"),
dropsonde_port: p("diego.auctioneer.dropsonde_port"),
consul_cluster: "http://127.0.0.1:8500",
debug_address: p("diego.auctioneer.debug_addr"),
Expand Down Expand Up @@ -37,7 +38,7 @@
config[:rep_ca_cert] = "#{CONF_DIR}/certs/rep/ca.crt"
end

if p("diego.auctioneer.ca_cert", "") != "" || p("diego.auctioneer.server_cert", "") != "" || p("diego.auctioneer.server_key", "") != ""
if p("diego.auctioneer.require_tls")
config[:ca_cert_file] = "#{CONF_DIR}/certs/auctioneer/ca.crt"
config[:server_cert_file] = "#{CONF_DIR}/certs/auctioneer/server.crt"
config[:server_key_file] = "#{CONF_DIR}/certs/auctioneer/server.key"
Expand Down
6 changes: 5 additions & 1 deletion jobs/auctioneer/templates/auctioneer_ca.crt.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<% if_p("diego.auctioneer.ca_cert") do |value| %>
<% if p("diego.auctioneer.require_tls") %>
<%= p("diego.auctioneer.ca_cert") %>
<% else %>
<% if_p("diego.auctioneer.ca_cert") do |value| %>
<%= value %>
<% end %>
<% end %>
6 changes: 5 additions & 1 deletion jobs/auctioneer/templates/auctioneer_server.crt.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<% if_p("diego.auctioneer.server_cert") do |value| %>
<% if p("diego.auctioneer.require_tls") %>
<%= p("diego.auctioneer.server_cert") %>
<% else %>
<% if_p("diego.auctioneer.server_cert") do |value| %>
<%= value %>
<% end %>
<% end %>
6 changes: 5 additions & 1 deletion jobs/auctioneer/templates/auctioneer_server.key.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<% if_p("diego.auctioneer.server_key") do |value| %>
<% if p("diego.auctioneer.require_tls") %>
<%= p("diego.auctioneer.server_key") %>
<% else %>
<% if_p("diego.auctioneer.server_key") do |value| %>
<%= value %>
<% end %>
<% end %>
2 changes: 0 additions & 2 deletions packages/healthcheck/packaging
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,13 @@ export PATH=$GOROOT/bin:$PATH

CGO_ENABLED=0 go build -a -installsuffix static code.cloudfoundry.org/healthcheck/cmd/healthcheck
GOOS=windows CGO_ENABLED=0 go build -a -installsuffix static code.cloudfoundry.org/healthcheck/cmd/healthcheck
GOOS=windows CGO_ENABLED=0 go build -o healthcheck-external-port.exe -tags=external -a -installsuffix static code.cloudfoundry.org/healthcheck/cmd/healthcheck

for binary in healthcheck; do
ldd $binary && echo "$binary must be statically linked" && false
done

cp healthcheck ${BOSH_INSTALL_TARGET}
cp healthcheck.exe ${BOSH_INSTALL_TARGET}
cp healthcheck-external-port.exe ${BOSH_INSTALL_TARGET}

# clean up source artifacts
rm -rf ${BOSH_INSTALL_TARGET}/src ${BOSH_INSTALL_TARGET}/pkg
2 changes: 1 addition & 1 deletion packages/windows_app_lifecycle/packaging
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ set -e
mkdir -p tmp
tar -xzf lifecycles/windows_app_lifecycle-*.tgz -C tmp
tar -xzf /var/vcap/packages/diego-sshd/diego-sshd-windows.tgz -C tmp
cp /var/vcap/packages/healthcheck/healthcheck-external-port.exe tmp/healthcheck.exe
cp /var/vcap/packages/healthcheck/healthcheck.exe tmp
tar -zcf ${BOSH_INSTALL_TARGET}/windows_app_lifecycle.tgz -C tmp .
2 changes: 1 addition & 1 deletion src/code.cloudfoundry.org/guardian
Submodule guardian updated 245 files
2 changes: 1 addition & 1 deletion src/code.cloudfoundry.org/inigo
Submodule inigo updated 1 files
+26 −47 world/components.go
2 changes: 1 addition & 1 deletion src/code.cloudfoundry.org/vizzini
Submodule vizzini updated 1 files
+1 −0 crashes_test.go