swift-recon --sockstat fails if target host does not have ipv6 configured
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Undecided
|
Christian Schwede |
Bug Description
Using Swift 1.10.0
When running swift-recon --sockstat, if the target host doesn't have IPV6 configured, swift-recon fails with the following:
[2014-01-20 05:50:46] Checking socket usage
[root@uclmp0043 log]# swift-recon --sockstat
=======
--> Starting reconnaissance on 15 hosts
=======
[2014-01-20 05:50:57] Checking socket usage
Traceback (most recent call last):
File "/usr/bin/
reconnoiter
File "/usr/bin/
self.
File "/usr/bin/
inuse6[url] = response[
KeyError: 'tcp6_in_use'
The target host in question does not have IPV6 configured, thus doesn't have /proc/net/
Changed in swift: | |
milestone: | none → 1.13.0 |
status: | Fix Committed → Fix Released |
Fix proposed: https:/ /review. openstack. org/#/c/ 67776/