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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OWVkMjFkNWQ1ZjFjMjNiMTc2NmIxNzRkNDdkOGUyNjk0MmU0NTM3ZQ==
4
+ ZDg0NDViYjMzMzFlYTgzNGI2MmRiZGExNmRlNzRlODUyZDdiNjFjNQ==
5
5
  data.tar.gz: !binary |-
6
- NWRjYjY3MTlhNDc5NGI4OWVkNzEyNDBkMjNkNTYxM2ExMDk2NjY1OA==
6
+ Njg3ODhkYWEwNjU2ODczZmI1MjAwYTllMTcwNGM0ZDBiYzQ3MzE1MA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NDk5YzYwODNhOTljNjZiMGJmMThjNjJmNWQ5ZDMyZjY3OGNlNTRiOTJjM2Fj
10
- M2QxYzVhY2JkY2EzYmYzZDFlMWQyYjViMTlmZjk3Y2RlNTE4OWFhZGJhODA3
11
- MzUyMjdjODE0YTgyZDAxOTZlMmU1Mjk5ZjQxZTlkMGZjMmM5YzI=
9
+ MDM2NDEyZTFkZDU4NTc5YTk1YTk2MGJjYzFmNWQ1ODZkZTM5YWY5NWI1NWZh
10
+ MWJmMDVkOTg5ZWQyZmFjNDY3YWE3M2ZjOGI3NWU0MGZiOTFmMmRlYjRmNWUy
11
+ MjEyOGFkMzVkZmRjOTVmNDc1ODk3NGM5OTQxZDhlMGZlNzkwZGQ=
12
12
  data.tar.gz: !binary |-
13
- YzcwZmRkNGIwMmE0ZTllNjM4ODg2YzBlNjU4ZTUwMmE1YTczMGY2NTk5Njc1
14
- Yzg3MzA4YTBiZGY3MTljMmRiNDA4OGU2ZDc4ZDQxZTJhNGQxZTdmNWJiN2Fh
15
- NDZmMjk0NTgyMDQyZDkxNTU4ODJkYzI1YjJkNjA3NDcyYzViODM=
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
- info 'VIP is unreachable by ICMP, checking for duplicates on L2'
82
- if vip_dup?
83
- info 'VIP is still assigned! (ARP)'
84
- # FIXME: notify by sensu client socket
85
- else
86
- info 'VIP is free :) assigning'
87
- vip_handle! status_swarm
88
- info 'updating other hosts about change'
89
- vip_update_arp!
90
- end
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'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: port-authority
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Radek 'blufor' Slavicinsky