Skip to content

mgr/cephadm: Fix IPv6 in monitoring services#43579

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

mgr/cephadm: Fix IPv6 in monitoring services#43579
sebastian-philipp merged 5 commits intoceph:masterfrom
sebastian-philipp:cephadm-monitoring-ipv6

Conversation

@sebastian-philipp
Copy link
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

Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
@sebastian-philipp
Copy link
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

Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
Signed-off-by: Sebastian Wagner <sewagner@redhat.com>
@sebastian-philipp sebastian-philipp added the wip-swagner-testing My Teuthology tests label Oct 19, 2021
Copy link
Contributor

@adk3798 adk3798 left a comment

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
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
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
Contributor Author

http://pulpito.front.sepia.ceph.com/adking-2021-10-21_19:20:35-rados:cephadm-wip-adk-testing-2021-10-21-1228-distro-basic-smithi/

Failures (TODO: Add tracker links):

  • cgroups
  • crash in podman stop
  • mons decided to replace the active mds with the standby over and over again...

@sebastian-philipp sebastian-philipp merged commit 6461730 into ceph:master Oct 26, 2021
s0nea pushed a commit to s0nea/ceph_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 <tdehler@suse.com>
(cherry picked from commit a1ee73f)

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_ceph that referenced this pull request Mar 17, 2022
Fixes: https://tracker.ceph.com/issues/54502
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
(cherry picked from commit e233ed0)

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_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 <tdehler@suse.com>
(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_ceph that referenced this pull request Mar 24, 2022
Fixes: https://tracker.ceph.com/issues/54502
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
(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