bosh-monitor 1.2732.0 → 1.2739.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/bosh-monitor +4 -0
- data/lib/bosh/monitor/agent_manager.rb +3 -0
- data/lib/bosh/monitor/runner.rb +1 -1
- data/lib/bosh/monitor/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61af2a8991aeb626e2f097dcb0e060f876bca00a
|
4
|
+
data.tar.gz: dc12c3e48512456e64fa58656e7042bca9a553a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94d19eef32e6cf945962d90fb59be429187a4b142f0a353986cabb873541f70e041f72cedcef8c4d5782096b5371c9d05c4a5d80dcbad4090f4c7e8210baf4e5
|
7
|
+
data.tar.gz: 325b9ae5e9dad7c8352f7db2bfff1bd26d7084340d2fd74d57dc4e90623aef0f5c8571b708dd525ceaf76975d1251e81292f15adcd02af8cffd9635bfb204247
|
data/bin/bosh-monitor
CHANGED
@@ -108,6 +108,7 @@ module Bosh::Monitor
|
|
108
108
|
end
|
109
109
|
|
110
110
|
def remove_agent(agent_id)
|
111
|
+
@logger.info("Removing agent #{agent_id} from all deployments...")
|
111
112
|
@agents.delete(agent_id)
|
112
113
|
@deployments.each_pair do |deployment, agents|
|
113
114
|
agents.delete(agent_id)
|
@@ -123,6 +124,8 @@ module Bosh::Monitor
|
|
123
124
|
return false
|
124
125
|
end
|
125
126
|
|
127
|
+
@logger.info("Adding agent #{vm_data["agent_id"]} (#{vm_data["job"]}/#{vm_data["index"]}) to #{deployment_name}...")
|
128
|
+
|
126
129
|
agent_id = vm_data["agent_id"]
|
127
130
|
agent_cid = vm_data["cid"]
|
128
131
|
|
data/lib/bosh/monitor/runner.rb
CHANGED
@@ -143,8 +143,8 @@ module Bosh::Monitor
|
|
143
143
|
|
144
144
|
@logger.info "Found deployment `#{deployment_name}'"
|
145
145
|
|
146
|
-
vms = @director.get_deployment_vms(deployment_name)
|
147
146
|
@logger.debug "Fetching VMs information for `#{deployment_name}'..."
|
147
|
+
vms = @director.get_deployment_vms(deployment_name)
|
148
148
|
|
149
149
|
@agent_manager.sync_agents(deployment_name, vms)
|
150
150
|
end
|
data/lib/bosh/monitor/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bosh-monitor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2739.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- VMware
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09
|
11
|
+
date: 2014-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: eventmachine
|
@@ -138,7 +138,7 @@ dependencies:
|
|
138
138
|
version: 1.6.0
|
139
139
|
description: |-
|
140
140
|
BOSH Health Monitor
|
141
|
-
|
141
|
+
0d77bd
|
142
142
|
email: support@cloudfoundry.com
|
143
143
|
executables:
|
144
144
|
- bosh-monitor-console
|