isaac-hammes
e7322577c7
Fix rubocop
2023-08-10 09:24:17 -07:00
isaac-hammes
113ca2dacb
Merge branch 'main' into update_redis
2023-08-10 08:48:16 -07:00
Jake Spain
77ed477522
3.2.0 release prep
2023-08-10 09:50:58 -04:00
isaac-hammes
ac578eef15
(RE-15162) Update OTEL gems.
2023-08-10 06:15:27 -07:00
Jake Spain
c1808632c8
Do not attempt loading DNS classes if none are defined
2023-08-09 10:04:51 -04:00
isaac-hammes
46156fd85f
Convert Times to strings when being added to redis.
2023-08-08 11:05:55 -07:00
isaac-hammes
30820ec115
(RE-15162) Update Redis gem to version 5
2023-08-07 08:37:17 -07:00
Jake Spain
92ad13cd04
3.1.0 release prep
2023-05-01 08:19:29 -04:00
Jake Spain
649aef7339
Rubocop fix: Style/SlicingWithRange
2023-04-21 08:43:11 -04:00
Jake Spain
0f7cc78525
3.0.0 release prep
2023-03-28 17:21:24 -04:00
Jake Spain
669ecaef48
Point dashboard to v3 api
2023-03-27 21:27:46 -04:00
Jake Spain
528e9635d1
exit application if domain setting is used
2023-03-27 21:27:45 -04:00
Jake Spain
527f42cca9
Remove api reroute in favor of using versioned api directly
2023-03-27 21:27:44 -04:00
Jake Spain
93201756a0
Add v3 api and remove v2
2023-03-27 21:27:43 -04:00
Jake Spain
91248fe23a
Added spec tests for Vmpooler::Dns
2023-03-27 21:27:40 -04:00
Jake Spain
eaa1104dd7
Fix rubocops
2023-03-27 21:27:38 -04:00
Jake Spain
da4015f5b3
Refactor obtaining and saving ip address
2023-03-27 21:27:37 -04:00
Jake Spain
0119126cd1
Update hostname_shorten and callers
2023-03-27 21:27:36 -04:00
Jake Spain
35dc7cb26f
Update domain in V2 api
2023-03-27 21:27:35 -04:00
Jake Spain
aeabb7e134
Remove global domain usage from pool manager
2023-03-27 21:27:34 -04:00
Jake Spain
268ff9f981
Add dns_config method to provider base
2023-03-27 21:27:33 -04:00
Jake Spain
6f3d853271
Do not create/delete records if using dynamic dns
2023-03-27 21:27:32 -04:00
Jake Spain
b1e20a2fc0
Get zone from config and add dns/base_spec
2023-03-27 21:27:30 -04:00
Jake Spain
65f04254a8
Add delete_record
2023-03-27 21:27:29 -04:00
Jake Spain
ac96550f57
Stub out dns provider usage
2023-03-27 21:27:15 -04:00
Jake Spain
c18edea931
2.5.0 release prep
2023-03-06 14:40:07 -05:00
isaac-hammes
1a75edcb60
(maint) Update to 9.4.1.0-jdk8 and fix spec test.
2023-03-02 11:14:47 -08:00
isaac-hammes
60fe266c9e
(maint) Use timeout builtin to TCPSocket when opening sockets.
2023-03-02 10:56:40 -08:00
kfjohnson
72928ce80d
Merge pull request #502 from puppetlabs/maint-upgrade-jruby-9.3-nokogiri
...
(maint) Bump version to 2.4.0
2022-07-25 09:28:39 -07:00
kfjohnson
c50887d63e
Merge pull request #501 from puppetlabs/maint-bug-ondemand-retry
...
(bug) Prevent failing VMs to be retried infinitely (ondemand)
2022-07-25 09:28:19 -07:00
Samuel Beaulieu
b859743694
(maint) Bump version to 2.4.0
...
Upgrade to jruby 9.3.6.0
Remove workaround for jruby 9.2 using JRUBY_OPTS=-Xinvokedynamic.yield=false
Removed unused dependency nokogiri?
2022-07-25 11:09:59 -05:00
Samuel Beaulieu
7f1f8def8e
fix comment offence
2022-07-25 09:12:12 -05:00
Samuel Beaulieu
c846e41780
fix rubocoop offences
2022-07-25 09:06:11 -05:00
Samuel Beaulieu
980344ee24
(bug) Prevent failing VMs to be retried infinitely (ondemand)
...
Normally when a VM is failing the vm_ready? check, it is moved to the completed queue which deletes it.
In a pooled config a new VM will be retried. For ondemand, we would also recreate the task to trigger
the creation of a new VMs. There was a bug where an ondemand request would be retried infinitely when
vm_ready? would always fail. We would never check the status of the request if it was deleted via the
API or if it was detected as failed because it is expired (over the ondemand_request_ttl limit)
2022-07-25 08:37:13 -05:00
Samuel Beaulieu
6aa10151ca
(DIO-3138) vmpooler v2 api missing vm/hostname
...
there was one API that was falling back on v1 and was returning a domain key.
in order to make it consistent with the changes in v2, the domain is not returned
anymore, and the fqdn is returned if it is available
2022-06-29 14:14:25 -05:00
Samuel Beaulieu
ef87fe8db5
adding deprecation warning to logs for reroute.rb
2022-03-31 13:16:03 -05:00
Samuel Beaulieu
9a9dfce316
adding an api endpoint to print the current full config
2022-03-31 13:16:02 -05:00
Samuel Beaulieu
1005a33ed2
fix rubocop
2022-03-31 13:16:01 -05:00
Samuel Beaulieu
3809dac2d4
fix rubocop and fetch_single_vm logic, bump version
2022-03-31 13:15:59 -05:00
Samuel Beaulieu
70b5bd297a
add multi domain support to ondemand queries
2022-03-31 13:15:57 -05:00
Samuel Beaulieu
a2d613782a
remove 'last minute' tcp vm_ready check from the api for pooled vms
...
the vm_ready methods should be implemented per provider and checking in the api
creates issues since provider code is not available. Removing this for the V2 api
2022-03-31 13:15:56 -05:00
Samuel Beaulieu
dd375b20c3
document the new provider configuration skip_dns_check_before_creating_vm
2022-03-31 13:15:55 -05:00
Samuel Beaulieu
66eb598e4e
tabling this PR for the next sprint
2022-03-31 13:15:54 -05:00
Samuel Beaulieu
e5c477254f
initial review
2022-03-31 13:15:53 -05:00
6b9eb2369f
Connect domain settings to pools, create v2 API
2022-03-31 13:15:52 -05:00
Samuel Beaulieu
2ad9b8c549
(maint) Fix deprecation warning for redis ruby library
...
The syntax for pipelined has changed and the old syntax will be removed in v5.0.0
Fixing the syntax now since the block syntax has been supported for a while now.
2022-03-30 09:01:25 -05:00
72c82cf084
Add OTel HttpClient Instrumentation
...
This will be useful for the GCE provider.
2022-01-20 11:42:43 -05:00
Samuel
ddbd522d5c
Bump version to 2.2.0
...
In preparation for release
2021-12-29 13:27:24 -06:00
Samuel Beaulieu
3a508a3afb
(maint) do not raise an error when base provider create_template_delta_disks called
2021-12-23 14:08:18 -06:00
Samuel Beaulieu
23efcc4cc0
(maint) Fix EXTRA_CONFIG merge behavior
...
Before this change if an extra config file had new keys they would get
merged to the main config but if it contained an existing key, like
'providers' it would overwrite the original config.
Adding a library 'deep_merge' to do a more natural merge, where existing keys
get sub-elements added together and arrays are combined like for the
pool configuration.
Adding spec tests around EXTRA_CONFIG as they were missing, by adding
and testing two new extra_config.yaml fixture files
2021-12-23 13:34:33 -06:00