Commit graph

597 commits

Author SHA1 Message Date
isaac-hammes
8beab7f874 (maint) Fix bug where fail_pending_vm was logging an error before any timeouts are reached. 2023-08-23 08:41:07 -07:00
isaac-hammes
1130cdd65c (maint) Release prep for version 3.5.0 2023-08-23 05:56:46 -07:00
isaac-hammes
eee7c4082a (maint) Raise error when ip address is not given to vm after clone. 2023-08-22 13:36:33 -07:00
isaac-hammes
17a1831952 (POD-8) Add timeout_notification config to log warning before vm is destroyed. 2023-08-22 12:09:17 -07:00
Jake Spain
fdbb0f3a77
Add ability to use bind_as with a service account 2023-08-21 07:17:47 -04:00
isaac-hammes
089071b1b9 (maint) Release prep for version 3.4.0 2023-08-18 08:58:37 -07:00
isaac-hammes
43f085352b (POD-10) Log reason for failed VM checks. 2023-08-17 13:41:15 -07:00
isaac-hammes
236765709a (maint) Release prep for version 3.3.0 2023-08-15 09:24:45 -07:00
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