panteras_api 0.0.17 → 0.0.18
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 +4 -4
- data/bin/mesos_consul_consistency_check +4 -4
- data/lib/panteras_api/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: fe4b420ddde3326a11f9c8c9705b40e111aeb827
|
|
4
|
+
data.tar.gz: f479a58b3835c34dc9cdb608f4ca0874ce9aa833
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3a13f4367f42042eed7a15561bd07c890ac5b0c9d6f9465426fc7537d076e987b56a44ffc117e83221127575dbc28f19547f46b4b1cebe9ea9c91ac6d197913f
|
|
7
|
+
data.tar.gz: 79b735d944b3423809039365c24ec8bfc2cc34d42b54a6365ebe2d3ccd02fb13e1fb00e448896d67cb81522924eef9b80ec24b70d45b8322b4519e5bab2dbdb4
|
|
@@ -77,11 +77,11 @@ Timeout::timeout(timeout_in_seconds) do
|
|
|
77
77
|
abort("No running mesos tasks seen on mesos master #{config[:mesos_master_hostname]}:#{config[:mesos_master_port]}") if mesos.tasks('marathon').nil?
|
|
78
78
|
if config[:debug]
|
|
79
79
|
marathon_numer = mesos.task_ids('marathon').count if not mesos.task_ids('marathon').nil?
|
|
80
|
-
chronos_number = mesos.task_ids('chronos-
|
|
80
|
+
chronos_number = mesos.task_ids('chronos-config').count if not mesos.task_ids('chronos-config').nil?
|
|
81
81
|
puts "Number of marathon tasks globally: #{marathon_numer}"
|
|
82
82
|
puts "Number of chronos tasks globally: #{chronos_number}"
|
|
83
83
|
#puts mesos.task_ids('marathon').sort
|
|
84
|
-
#puts mesos.task_ids('chronos-
|
|
84
|
+
#puts mesos.task_ids('chronos-config').sort
|
|
85
85
|
end
|
|
86
86
|
|
|
87
87
|
|
|
@@ -89,7 +89,7 @@ Timeout::timeout(timeout_in_seconds) do
|
|
|
89
89
|
puts "#" * 75 if config[:debug]
|
|
90
90
|
puts "* Mesos tasks ids for tasks running on #{my_fqdn}:" if config[:debug]
|
|
91
91
|
mesos_tasks = mesos.my_tasks_ids(my_fqdn, 'marathon').flatten
|
|
92
|
-
mesos_tasks = mesos_tasks + mesos.my_tasks_ids(my_fqdn, 'chronos-
|
|
92
|
+
mesos_tasks = mesos_tasks + mesos.my_tasks_ids(my_fqdn, 'chronos-config').flatten
|
|
93
93
|
puts mesos_tasks.sort if config[:debug]
|
|
94
94
|
good_news << "#{mesos_tasks.size} mesos tasks running." if ! mesos_tasks.empty?
|
|
95
95
|
|
|
@@ -107,7 +107,7 @@ Timeout::timeout(timeout_in_seconds) do
|
|
|
107
107
|
puts "#" * 75 if config[:debug]
|
|
108
108
|
puts "* Chronos tasks on #{my_fqdn}:" if config[:debug]
|
|
109
109
|
chronos = ChronosEndpoint.new(mesos.master_hostname, 4400)
|
|
110
|
-
chronos_tasks = chronos.my_task_ids(my_fqdn, 'chronos-
|
|
110
|
+
chronos_tasks = chronos.my_task_ids(my_fqdn, 'chronos-config')
|
|
111
111
|
puts chronos_tasks.sort if config[:debug]
|
|
112
112
|
|
|
113
113
|
## compare mesos tasks (source of truth) with tasks seen in marathon
|
data/lib/panteras_api/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: panteras_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.18
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jonathan Colby
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-01-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
100
100
|
version: '0'
|
|
101
101
|
requirements: []
|
|
102
102
|
rubyforge_project:
|
|
103
|
-
rubygems_version: 2.0.14
|
|
103
|
+
rubygems_version: 2.0.14.1
|
|
104
104
|
signing_key:
|
|
105
105
|
specification_version: 4
|
|
106
106
|
summary: Ruby API library for Panteras PaaS platform.
|