Display host as hostname in swift-recon

Bug #2034054 reported by kim nuri
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
In Progress
Undecided
kim nuri

Bug Description

Currently, swift-recon displays host information in an IP or IP:Port format.

Adding the host name alongside the IP would make this information more easily readable.

Therefore, I intend to modify the system so that host information will be displayed as HostName(IP or IP:Port) by default.

The following is a sample of the proposed changes.

prev:
Not mounted: sdb3 on 127.0.0.3:6230
Not mounted: sdb1 on 127.0.0.1:6210
Not mounted: sdb4 on 127.0.0.4:6240
Not mounted: sdb2 on 127.0.0.2:6220
===================================
1.12% 127.0.0.4 sdb4
1.12% 127.0.0.1 sdb1

after:
Not mounted: sdb3 on hostname1(127.0.0.3:6230)
Not mounted: sdb1 on hostname2(127.0.0.1:6210)
Not mounted: sdb4 on hostname3(127.0.0.4:6240)
Not mounted: sdb2 on hostname4(127.0.0.2:6220)
==============================================
1.12% hostname4(127.0.0.4) sdb4
1.12% hostname1(127.0.0.1) sdb1

kim nuri (knr1231)
Changed in swift:
assignee: nobody → kim nuri (knr1231)
Changed in swift:
status: New → In Progress
kim nuri (knr1231)
summary: - Display host as host name in swift-recon with human-readable suffix
+ Display host as host name in swift-recon
kim nuri (knr1231)
description: updated
kim nuri (knr1231)
summary: - Display host as host name in swift-recon
+ Display host as hostname in swift-recon
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.