port-authority 0.3.7 → 0.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/lib/port-authority/manager/app.rb +15 -10
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
ZDg0NDViYjMzMzFlYTgzNGI2MmRiZGExNmRlNzRlODUyZDdiNjFjNQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
Njg3ODhkYWEwNjU2ODczZmI1MjAwYTllMTcwNGM0ZDBiYzQ3MzE1MA==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
MDM2NDEyZTFkZDU4NTc5YTk1YTk2MGJjYzFmNWQ1ODZkZTM5YWY5NWI1NWZh
|
|
10
|
+
MWJmMDVkOTg5ZWQyZmFjNDY3YWE3M2ZjOGI3NWU0MGZiOTFmMmRlYjRmNWUy
|
|
11
|
+
MjEyOGFkMzVkZmRjOTVmNDc1ODk3NGM5OTQxZDhlMGZlNzkwZGQ=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
MjRlMzIwZWRiNzA5YjZhOGQzNDU1MmRkMDg2MTRlYjJhN2YxNTBiNTM5YTYz
|
|
14
|
+
YTNkMTMzNjFjZjRmOWE1YTk3ZjU0ZjQ2YjFiMTBiOGI0OWVmMTEwYjIyYmY3
|
|
15
|
+
YmQxMjM3NWRlMWMyNWE4NjY3ZjhhNjQ3YWRkNzZlNmJiMjg4MGQ=
|
|
@@ -78,17 +78,22 @@ module PortAuthority
|
|
|
78
78
|
info 'VIP is still up! (ICMP)'
|
|
79
79
|
# FIXME: notify by sensu client socket
|
|
80
80
|
else
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
81
|
+
# FIXME: proper arping handling
|
|
82
|
+
# info 'VIP is unreachable by ICMP, checking for duplicates on L2'
|
|
83
|
+
# if vip_dup?
|
|
84
|
+
# info 'VIP is still assigned! (ARP)'
|
|
85
|
+
# # FIXME: notify by sensu client socket
|
|
86
|
+
# else
|
|
87
|
+
# info 'VIP is free :) assigning'
|
|
88
|
+
# vip_handle! status_swarm
|
|
89
|
+
# info 'updating other hosts about change'
|
|
90
|
+
# vip_update_arp!
|
|
91
|
+
# end
|
|
91
92
|
end
|
|
93
|
+
info 'VIP is free :) assigning'
|
|
94
|
+
vip_handle! status_swarm
|
|
95
|
+
info 'updating other hosts about change'
|
|
96
|
+
vip_update_arp!
|
|
92
97
|
end
|
|
93
98
|
if lb_up?
|
|
94
99
|
debug 'i am the leader and load-balancer is up, that is OK'
|