mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 05:28:40 -05:00
Add support for deleting ondemand requests by request-id
This change enables floaty delete to accept request-ids (UUID format) in addition to hostnames. When a request-id is detected, floaty will: 1. Cancel pending ondemand requests by marking status as 'deleted' 2. Move any already-provisioned VMs to the termination queue Implementation: - Modified Pooler.delete to detect UUID format and use ondemandvm endpoint - Updated command syntax and examples to document request-id support - Added comprehensive tests for request-id deletion - Fixed Ruby 3.1+ compatibility by adding abbrev and base64 gems Fixes issue where users had no way to cancel ondemand requests or bulk-delete VMs from a completed request.
This commit is contained in:
parent
6b6d6f73cd
commit
4686213f49
6 changed files with 299 additions and 4 deletions
2
Gemfile
2
Gemfile
|
|
@ -7,6 +7,8 @@ gemspec
|
|||
gem 'rake', require: false
|
||||
|
||||
group :test do
|
||||
gem 'abbrev'
|
||||
gem 'base64'
|
||||
gem 'simplecov', '~> 0.22.0'
|
||||
gem 'simplecov-html', '~> 0.13.1'
|
||||
gem 'simplecov-lcov', '~> 0.8.0'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue