nova_verify, pre_launch_ironic: fix ironic post-adoption provisioning#1412
Conversation
|
Build failed (check pipeline). Post ✔️ noop SUCCESS in 0s |
|
recheck |
|
Build failed (check pipeline). Post ✔️ noop SUCCESS in 0s |
ce9611a to
38fa07e
Compare
|
Build failed (check pipeline). Post ✔️ noop SUCCESS in 0s |
38fa07e to
0f27d22
Compare
|
Build failed (check pipeline). Post ✔️ noop SUCCESS in 0s |
0f27d22 to
1120d02
Compare
1120d02 to
5ba055f
Compare
|
Not a blocker but i do wonder if it would be better to just have the quota set correctly from the start :) |
|
This PR is stale because it has been for over 15 days with no activity. |
5ba055f to
90dcd9b
Compare
90dcd9b to
6f89612
Compare
The post-adoption ironic instance provisioning task in nova_verify.yaml can fail with quota exceeded (HTTP 403) when the adopted environment already uses all available instances (e.g. uni04delta-ipv6 with 10 VMs from the source cloud at the default quota of 10). Set the instance quota correctly from the start in pre_launch_ironic.bash by reading the current quota and adding headroom for the pre-adoption and post-adoption test instances. The quota carries over through the Nova database migration during adoption, so the post-adoption provisioning step no longer hits the limit. Also add ironic_post_adoption_create_instance variable (default true) to allow scenarios to skip the post-adoption provisioning step entirely. Co-authored-by: Cursor <cursoragent@cursor.com>
6f89612 to
2fe2c57
Compare
care to add an |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: holser The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
5d24308
into
openstack-k8s-operators:main
Problem
The post-adoption ironic instance provisioning task in nova_verify.yaml
can fail with quota exceeded (HTTP 403) when the adopted environment
already uses all available instances (e.g. uni04delta-ipv6 with 10 VMs
from the source cloud at the default quota of 10).
Fix
instance so it works regardless of source cloud instance count.
allow scenarios to skip the post-adoption provisioning step entirely.