Add log statement to gain visibility on resolved addresses. (#661)
This change should allow the debugging of the bug LP: #1952414 which
seems to be related to situations where the endpoint is resolved to a
hostname and later in different calls to an IP address.
The "ceph mon_status" command seems to have disappeared on octopus and
later, and is replaced by "ceph quorum_status". This changes the
get_mon_map() function to detect the underlying ceph version and do the
right thing.
Fix test failure when local time is not UTC (#656)
When run on a system in CET timezone, the failure
looked like:
Expected call: log('Restart still required, svcA was started at 2021-02-02 10:10:55, restart was requested after that at 2021-02-02 10:19:55', level='DEBUG')
Actual call: log('Restart still required, svcA was started at 2021-02-02 10:10:55, restart was requested after that at 2021-02-02 11:19:55', level='DEBUG')
From LP #1926317 also, the action functions should not be set as
deprecated anymore. It also set instead the function-get/set/fail
as deprecated.
It fixes misleading and unnecessary warning logs.