Skip to content

[stable/yoga] Fix designate-bind ServiceIPs test wait states#1398

Open
xtrusia wants to merge 3 commits into
openstack-charmers:stable/yogafrom
xtrusia:fix-designate-bind-serviceips-wait-states
Open

[stable/yoga] Fix designate-bind ServiceIPs test wait states#1398
xtrusia wants to merge 3 commits into
openstack-charmers:stable/yogafrom
xtrusia:fix-designate-bind-serviceips-wait-states

Conversation

@xtrusia

@xtrusia xtrusia commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

test_configure_ips called wait_for_application_states() with no states, requiring every application active. nrpe is related only to designate (no nagios) so it stays blocked and the wait times out under juju 3.6. Pass target_deploy_status from tests.yaml, matching what DesignateBindExpand already does.

@xtrusia xtrusia changed the title Fix designate-bind ServiceIPs test wait states [stable/yoga] Fix designate-bind ServiceIPs test wait states Jul 2, 2026
@xtrusia xtrusia force-pushed the fix-designate-bind-serviceips-wait-states branch from cdb235a to 2ca6639 Compare July 2, 2026 10:08
freyes and others added 3 commits July 2, 2026 23:23
There are scenarios where the config-changed hook can complete, yet the
service IP get configured many seconds after, because a relation-changed
hook execution needs to be triggered on the hacluster side of the
relation.

This change adds a retry to the check (10 times with a 2 seconds wait
time).

This issue was found at the gate https://review.opendev.org/c/openstack/charm-designate-bind/+/861417

(cherry picked from commit d083dde)
Similar to when an IP has been added to the service_ips earlier
in test_configure_ips(), this adds tenacity Retrying after an
IP has been removed from the service_ips.

(cherry picked from commit 080a715)
Pass target_deploy_status so blocked nrpe is tolerated.

Signed-off-by: Seyeong Kim <seyeong.kim@canonical.com>
(cherry picked from commit 8e96802)
@xtrusia xtrusia force-pushed the fix-designate-bind-serviceips-wait-states branch from 2ca6639 to 58f1dcf Compare July 2, 2026 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants