Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retry check of service IP configured #970

Merged

Conversation

freyes
Copy link
Member

@freyes freyes commented Oct 26, 2022

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

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
@freyes
Copy link
Member Author

freyes commented Oct 26, 2022

This PR is being exercised by this patch - https://review.opendev.org/c/openstack/charm-designate-bind/+/862735

Copy link
Contributor

@ajkavanagh ajkavanagh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ajkavanagh ajkavanagh merged commit d083dde into openstack-charmers:master Oct 28, 2022
openstack-mirroring pushed a commit to openstack/charm-designate-bind that referenced this pull request Oct 28, 2022
- mysql-innodb-cluster
- rabbitmq-server

Change-Id: I1a009cd083a22ba86ba2fd4aec660d7729a283f7
Func-Test-Pr: openstack-charmers/zaza-openstack-tests#970
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request Oct 28, 2022
* Update charm-designate-bind from branch 'master'
  to 490a302815fea29601e42ea4e5e4f38a70034d0c
  - Drop 'source' config key from support charms
    
    - mysql-innodb-cluster
    - rabbitmq-server
    
    Change-Id: I1a009cd083a22ba86ba2fd4aec660d7729a283f7
    Func-Test-Pr: openstack-charmers/zaza-openstack-tests#970
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.

None yet

2 participants