Support for ensuring pool health manually has landed.
Example run against prod.
[cr go] pprabhu@pprabhu:go$ skylab ensure-pool-healthy DUT_POOL_BVT nyan_blaze
### Model: nyan_blaze, Target: DUT_POOL_BVT, Spare: DUT_POOL_SUITES
New target pool status: 8/11 healthy
New spare pool status: 0/2 healthy
Inventory changes:
6a58fd94-64c0-4aef-a416-e9f441a1c762: DUT_POOL_BVT --> DUT_POOL_SUITES
66c634e8-1da6-414c-b52a-90cd45740922: DUT_POOL_SUITES --> DUT_POOL_BVT
06321e38-7463-4889-9752-4413899e9880: DUT_POOL_BVT --> DUT_POOL_SUITES
4997843e-720a-4c4e-bf2e-e6603d0ef975: DUT_POOL_SUITES --> DUT_POOL_BVT
Failures encountered: NOT_ENOUGH_HEALTHY_SPARES
Inventory changes commited at: https://chrome-internal-review.googlesource.com/c/chromeos/infra_internal/skylab_inventory/+/727831
Closing this bug.
Follow up work:
- Automatically ensure pool healthy across all models: issue 913674
- Ensure that models in Skylab have spares in DUT_POOL_SUITES: issue 913675
- Add a tool to resize pools: issue 913676
Comment 1 by pprabhu@chromium.org
, Oct 29