Skip to content

mgr/cephadm: Fix IPv6 in monitoring services - #43579

Merged
sebastian-philipp merged 5 commits into
ceph:masterfrom
sebastian-philipp:cephadm-monitoring-ipv6
Oct 26, 2021
Merged

sebastian-philipp merged 5 commits into
ceph:masterfrom
sebastian-philipp:cephadm-monitoring-ipv6

Conversation

@sebastian-philipp

Copy link
Copy Markdown
Contributor

Checklist

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

@sebastian-philipp

Copy link
Copy Markdown
Contributor Author
cephadm/tests/test_cephadm.py:7:1: F401 'yaml' imported but unused
cephadm/tests/test_services.py:245:1: W293 blank line contains whitespace
cephadm/tests/test_services.py:248:1: W293 blank line contains whitespace
cephadm/tests/test_services.py:257:1: W293 blank line contains whitespace
cephadm/tests/test_services.py:300:1: W293 blank line contains whitespace
cephadm/tests/test_services.py:306:1: W293 blank line contains whitespace
cephadm/tests/test_services.py:349:38: W291 trailing whitespace
cephadm/tests/test_services.py:359:1: W293 blank line contains whitespace
cephadm/tests/test_services.py:406:18: F821 undefined name 'mock'
cephadm/tests/test_services.py:409:21: F821 undefined name 'CephadmServe'
cephadm/tests/test_services.py:420:34: W292 no newline at end of file
1     F401 'yaml' imported but unused
2     F821 undefined name 'mock'
1     W291 trailing whitespace
1     W292 no newline at end of file
6     W293 blank line contains whitespace

@sebastian-philipp sebastian-philipp added the wip-swagner-testing My Teuthology tests label Oct 19, 2021

@adk3798 adk3798 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM


with with_host(cephadm_module, 'test'):

yaml_str = """service_type: alertmanager

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Any reason for not using dedent here as well? I think it looks much nicer in the places you did use it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

no particular reason. but I'll look into using dedent more often!

@sebastian-philipp

Copy link
Copy Markdown
Contributor Author

@sebastian-philipp
sebastian-philipp merged commit 6461730 into ceph:master Oct 26, 2021
s0nea pushed a commit to s0nea/ceph that referenced this pull request Mar 17, 2022
There are two different ways to get the host address. From the
inventory of the mgr object directly or via the `_inventory_get_addr`
method of `CephadmService`. Update the code in order to use the
`_inventory_get_addr` method only.

Signed-off-by: Tatjana Dehler <[email protected]>
(cherry picked from commit a1ee73f3ad600870dba05beab85f2cd21ff8c991)

Conflicts:
	src/pybind/mgr/cephadm/services/monitoring.py
Fixed a few conflicts because the upstream master contains some
improvements around handling URLs, e.g.
ceph#43579
s0nea pushed a commit to s0nea/ceph that referenced this pull request Mar 17, 2022
Fixes: https://tracker.ceph.com/issues/54502
Signed-off-by: Tatjana Dehler <[email protected]>
(cherry picked from commit e233ed01c0d43f6d6debfcd41fb6c4cdd3105e34)

Conflicts:
	src/pybind/mgr/cephadm/services/cephadmservice.py
Fixed conflict because `get_keyring_with_caps` has not been
backported to octopus:
ceph#39677
	src/pybind/mgr/cephadm/services/monitoring.py
Fixed a few conflicts because the upstream master contains some
improvements around handling URLs, e.g.
ceph#43579
s0nea pushed a commit to s0nea/ceph that referenced this pull request Mar 24, 2022
There are two different ways to get the host address. From the
inventory of the mgr object directly or via the `_inventory_get_addr`
method of `CephadmService`. Update the code in order to use the
`_inventory_get_addr` method only.

Signed-off-by: Tatjana Dehler <[email protected]>
(cherry picked from commit 3038506)

Conflicts:
	src/pybind/mgr/cephadm/services/monitoring.py
Fixed a few conflicts because the master contains some improvements
around handling URLs, e.g. ceph#43579
s0nea pushed a commit to s0nea/ceph that referenced this pull request Mar 24, 2022
Fixes: https://tracker.ceph.com/issues/54502
Signed-off-by: Tatjana Dehler <[email protected]>
(cherry picked from commit 4f14993)

Conflicts:
	src/pybind/mgr/cephadm/services/cephadmservice.py
Fixed conflict because `get_keyring_with_caps` has not been
backported to octopus: ceph#39677
	src/pybind/mgr/cephadm/services/monitoring.py
Fixed a few conflicts because the master contains some improvements
around handling URLs, e.g. ceph#43579
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants