]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm: Fixed spawning ip addresses list for public network interface. 43737/head
authorAndrewSharapov <93389903+AndrewSharapov@users.noreply.github.com>
Fri, 29 Oct 2021 15:10:20 +0000 (18:10 +0300)
committerAndrew Sharapov <andrewshar@gmail.com>
Fri, 29 Oct 2021 15:43:09 +0000 (18:43 +0300)
commitb605b786a2ec95606a2c2791cc643dda3fbe24cc
tree79bb9752bf409d1d69a17b89476e0ce3afdb582a
parente297db28a3e43653ba4cda41888b072c4eedaede
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>
src/pybind/mgr/cephadm/schedule.py