Commit graph

1407 commits

Author SHA1 Message Date
a3cfe7749e
Merge pull request #435 from puppetlabs/MAINT-Fix-Checkout-Metric
(MAINT) Fix checkout counter allocation
2020-11-09 09:49:56 -05:00
John O'Connor
11bda0f31a (MAINT) Fix checkout counter allocation
Checkout metric counters were against the template name and not the
actual pool used which prevents us from counting the checkouts in the
pixa4 pools for example.
2020-11-06 20:46:11 +00:00
Belén
fd937b416d
Merge pull request #432 from puppetlabs/otel-080
Update to OTel 0.8.0
2020-10-30 09:54:10 -07:00
481cf31010
Update to OTel 0.8.0 2020-10-30 12:49:29 -04:00
John O'Connor
96ceba1954
Merge pull request #423 from puppetlabs/pooler-192
(POOLER-192) Use Rubocop 1.0
2020-10-26 20:34:27 +00:00
Belén
7f3d867b5c
Merge branch 'master' into pooler-192 2020-10-26 11:34:13 -07:00
Belen Bustamante
474aba379c Rubocop fix 2020-10-26 10:25:54 -07:00
Jenkins
32e9b6c330 (GEM) update vmpooler version to 0.18.0 2020-10-26 16:26:29 +00:00
Belen Bustamante
2a6d610b7a Rubocop fix 2020-10-23 17:41:02 -07:00
Samuel
0a323f6052
(maint) Speedup the tagging method (#422)
* (maint) Speedup the tagging method
While looking at the instrumentation data for the ABS queue processor,
I noticed a lot of time spent in the HTTP PUT method, which in the code
was easy to isolate, as it is only used via the vmpooler tagging functions
ie the API /vm/foobar/ with 'tag' key-value pairs.
While I'm not sure the original hset() make sense to me, there was an easy
way to speed them up by using pipelined. I would expect a very good speed
increase with this turned on.

* tag rubocop to <1.0 because the 1.0 version returns 130 new offenses
2020-10-23 09:40:11 -07:00
063a6f6d53
Merge pull request #421 from puppetlabs/dio-1065
(DIO-1065) Add lightstep gh action
2020-10-23 11:44:03 -04:00
Belen Bustamante
fbb5212037 Add lightstep gh action 2020-10-22 17:20:23 -07:00
Jenkins
981d110bbf (GEM) update vmpooler version to 0.17.0 2020-10-20 15:27:00 +00:00
Belén
217bdd7bd0
Merge pull request #419 from puppetlabs/dio-1059
(DIO-1059) Optionally add snapshot tuning params at clone time
2020-10-16 16:38:34 -07:00
suckatrash
b2ac53fa76
(DIO-1059) Optionally add snapshot tuning params at clone time 2020-10-16 16:29:29 -07:00
Jenkins
a42ed6cb5d (GEM) update vmpooler version to 0.16.3 2020-10-14 19:26:09 +00:00
Samuel
e600336a7e
Merge pull request #418 from mattkirby/pooler_191
(POOLER-191) Add checking for running instances that are not in active
2020-10-14 13:14:51 -05:00
kirby@puppetlabs.com
0ad069b958 (POOLER-191) Add checking for running instances that are not in active
This change adds detection of running instances that are in a running
queue, but have no data in a active queue for the same pool. When this
happens a machine will live forever, impacting the running count, and
preventing the machine from being killed. Without this change running
instances that are not marked as active will live forever.
2020-10-13 14:17:51 -07:00
Jenkins
35104a75bb (GEM) update vmpooler version to 0.16.2 2020-10-08 22:44:29 +00:00
Belén
5a1da663b2
Merge pull request #417 from puppetlabs/otel-071
Bump OTel Sinatra to 0.7.1
2020-10-08 15:19:09 -07:00
cb1f19ad1f
Bump OTel Sinatra to 0.7.1
This is to pull in the bug fix in
https://github.com/open-telemetry/opentelemetry-ruby/pull/434
so that the new feature of naming spans based on their Sinatra route
actually works.
2020-10-08 18:13:33 -04:00
Jenkins
a8bdfc1647 (GEM) update vmpooler version to 0.16.1 2020-10-08 19:06:50 +00:00
Jenkins
ccdf8a4ccb (GEM) update vmpooler version to 0.16.0 2020-10-08 19:02:28 +00:00
635181c694
Merge pull request #416 from puppetlabs/otel-070
Update to OTel 0.7.0
2020-10-08 14:55:12 -04:00
f5698d49fc
Update to OTel 0.7.0
This update includes two key benefits:

1. Spans will be named based on their route instead of the full path
   info thanks to https://github.com/open-telemetry/opentelemetry-ruby/pull/415
2. Helper methods were added to the configurator to simplify setting
   service.name and service.version
2020-10-08 09:49:45 -04:00
Jenkins
4e7e16e001 (GEM) update vmpooler version to 0.15.0 2020-09-30 20:12:39 +00:00
Belén
8423887672
Merge pull request #406 from puppetlabs/pooler-180
(pooler-180) Add healthcheck endpoint, spec testing
2020-09-30 11:27:39 -07:00
mattkirby
42d97dcfd6
Merge branch 'master' into pooler-180 2020-09-30 14:05:53 -04:00
ced794c788
Merge pull request #407 from puppetlabs/fix-gem
(maint) Centralize dependency management in the gemspec
2020-09-23 15:41:29 -04:00
Samuel Beaulieu
338c97b33f (maint) Centralize dependency management in the gemspec
As per best practices, removed duplication between the Gemfile and gemspec.
There was also some seemingly superfluous install in the Gemfile.
Ordered the dependency by alphabetical order.
Tested locally by deleting the .bundle and recreating successfully
2020-09-23 14:37:27 -05:00
Belen Bustamante
08132f75bd
Add healthcheck endpoint, spec testing 2020-09-22 12:25:26 -07:00
Jenkins
4d06c01d21 (GEM) update vmpooler version to 0.14.9 2020-09-21 17:45:43 +00:00
Samuel
6374f376b9
Merge pull request #405 from puppetlabs/add-make-to-dockerfiles
Adding make to the other two Dockerfiles
2020-09-18 15:01:49 -05:00
87abab272c
Adding make to the other two Dockerfiles 2020-09-18 15:29:05 -04:00
Jenkins
b484cc5992 (GEM) update vmpooler version to 0.14.8 2020-09-18 19:05:23 +00:00
1acc70c897
Fix mixup of gem placement. (#404)
It seems I should have put these in vmpooler.gemspec instead of the
Gemfile. Now I know :)
2020-09-18 12:53:56 -05:00
Jenkins
c49a94a819 (GEM) update vmpooler version to 0.14.7 2020-09-18 16:07:03 +00:00
a282ae0bc9
Merge pull request #401 from puppetlabs/resource-detectors
Add OTel resource detectors
2020-09-18 12:05:43 -04:00
214f01c501
Add OTel resource detecors
Adding this should allow OpenTelemetry to detect information about our
Kubernetes environment.
2020-09-17 21:11:07 -04:00
8f3039e321
Add distributed tracing (#399)
This change utilizes OpenTelemetry's automatic instrumentation to add
distributed tracing capabilities to VMPooler. This is a non-breaking
change as traces are processed in noop mode by default.
2020-09-17 15:35:21 -04:00
Jenkins
8dda72ebb3 (GEM) update vmpooler version to 0.14.6 2020-09-17 15:14:18 +00:00
dependabot[bot]
92652bf6ee
Update rbvmomi requirement from ~> 2.1 to >= 2.1, < 4.0 (#391)
Updates the requirements on [rbvmomi](https://github.com/vmware/rbvmomi) to permit the latest version.
- [Release notes](https://github.com/vmware/rbvmomi/releases)
- [Commits](https://github.com/vmware/rbvmomi/compare/v2.1.0...v2.4.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mattkirby <kirby@puppet.com>
2020-09-09 15:28:15 -07:00
mattkirby
747c76284b
Test vmpooler on latest 2.5 (#393)
This change updates vmpooler to test ruby 2.5.8, and jruby 9.2.12.0. Without this change vmpooler tests against 2.5.7 and jruby 9.2.9.0. Additionally, testing on 2.4.x is removed. Lastly, rubocop tests are updated to run on 2.5.8.
2020-09-09 13:38:48 -07:00
debd0bd9ac
Merge pull request #398 from puppetlabs/POOLER-184
(POOLER-184) Pool manager retry and exit on failure
2020-09-03 09:51:38 -04:00
Samuel Beaulieu
1c53625fd8 add the default in the standard location, also adding
support for an ENV var. Update the example yaml file with the new config
2020-09-03 08:49:45 -05:00
Samuel Beaulieu
a35d66c606 (POOLER-184) Pool manager retry and exit on failure
Adding a reconnect retry for redis, which by default would retry 10 times,
for a total wait time of ~80 seconds
2020-09-02 11:38:40 -05:00
John O'Connor
bdf77a9e33
Merge pull request #397 from puppetlabs/maint-promstats-check
(maint) Add promstats component check
2020-09-01 16:48:10 +01:00
Belen Bustamante
07d1ca2b2c Add promstats component check 2020-08-29 09:40:29 -07:00
Jenkins
d47df61c19 (GEM) update vmpooler version to 0.14.5 2020-08-21 18:15:48 +00:00
f8c64b4006
Merge pull request #396 from jcoconnor/MAINT-Fix-Staledns-count
(MAINT) Fix Staledns error counter
2020-08-21 14:13:24 -04:00