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

Use zaza.model.get_unit_public_address() #1028

Merged

Conversation

freyes
Copy link
Member

@freyes freyes commented Mar 22, 2023

Replace the use of "unit.public_address" with
zaza.model.get_unit_public_address().

AssertionError: {'host': '172.16.0.25', 'port': 3306, 'user': 'prom_exporter'} != {'host': None, 'port': 3306, 'user': 'prom_exporter'}
- {'host': '172.16.0.25', 'port': 3306, 'user': 'prom_exporter'}
?          ^^^^^^^^^^^^^
+ {'host': None, 'port': 3306, 'user': 'prom_exporter'}

Related-Bug: openstack-charmers/zaza#472

Replace the use of "unit.public_address" with
zaza.model.get_unit_public_address().

    AssertionError: {'host': '172.16.0.25', 'port': 3306, 'user': 'prom_exporter'} != {'host': None, 'port': 3306, 'user': 'prom_exporter'}
    - {'host': '172.16.0.25', 'port': 3306, 'user': 'prom_exporter'}
    ?          ^^^^^^^^^^^^^
    + {'host': None, 'port': 3306, 'user': 'prom_exporter'}

Related-Bug: openstack-charmers/zaza#472
@freyes
Copy link
Member Author

freyes commented Mar 22, 2023

Copy link
Collaborator

@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 6a83221 into openstack-charmers:master Mar 23, 2023
openstack-mirroring pushed a commit to openstack/charm-mysql-innodb-cluster that referenced this pull request Mar 23, 2023
The zosci 3rd party CI has updated to using focal and tox 4 by default
for the runners, so these fixes ensure that the main development branch
continues to be compatible.

Change-Id: I95c5cf033ce077664c7a221d43b13dfe8d3ac504
Func-Test-Pr: openstack-charmers/zaza-openstack-tests#1028
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request Mar 23, 2023
* Update charm-mysql-innodb-cluster from branch 'master'
  to c43ae5147e0303c04fe70d9bd0aaa4bd696939f1
  - Fixes for tox 4 on focal (ZOSCI system)
    
    The zosci 3rd party CI has updated to using focal and tox 4 by default
    for the runners, so these fixes ensure that the main development branch
    continues to be compatible.
    
    Change-Id: I95c5cf033ce077664c7a221d43b13dfe8d3ac504
    Func-Test-Pr: openstack-charmers/zaza-openstack-tests#1028
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