]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
Fix ipv4 and ipv6 address logging for Remote.run 1231/head
authorKyrylo Shatskyy <kyrylo.shatskyy@gmail.com>
Sun, 28 Oct 2018 17:56:14 +0000 (18:56 +0100)
committerKyrylo Shatskyy <kyrylo.shatskyy@gmail.com>
Mon, 29 Oct 2018 00:20:09 +0000 (01:20 +0100)
commitfe38df6fce78ce26856ed148c803505f22bcc920
tree9aed16639fd8ed821fe793c6638806c7f558aec1
parent93566516cf4a6635cac3a9b3325f0ce200b3a157
Fix ipv4 and ipv6 address logging for Remote.run

The Remote class does not respect ip addresses
when it comes to define shortnames. As a result,
the hostname is not shown correctly in the log.
For ipv4 it only shows first number of the octet.
For ipv6 it even does not allow to proceed,
and raises exception in orchestra.run.

Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.de>
teuthology/misc.py
teuthology/orchestra/remote.py
teuthology/orchestra/run.py