]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: Fixed spawning ip addresses list for public network interface.
authorAndrewSharapov <93389903+AndrewSharapov@users.noreply.github.com>
Fri, 29 Oct 2021 15:10:20 +0000 (18:10 +0300)
committerSebastian Wagner <sewagner@redhat.com>
Wed, 17 Nov 2021 10:25:57 +0000 (11:25 +0100)
commitc76b3e94b0b6d3e63542ccf28107087657c6bf00
treed786cce581d09905386e51cb10d15e98408cfe75
parent6dd24de33bfc0b727723c66f1f0cdd3413520acc
mgr/cephadm: Fixed spawning ip addresses list for public network interface.

Eevery call of find_ip_on_host() actually  duplicates the list of public ip
addresses in self.networks, while it should NOT change it. As the result
value of key mgr/cephadm/host.<hostname> in kv store becomes very large
and may cause crash of ceph mgr.

Signed-off-by: Andrew Sharapov <andrewshar@gmail.com>
(cherry picked from commit b605b786a2ec95606a2c2791cc643dda3fbe24cc)
src/pybind/mgr/cephadm/schedule.py