Ticket #2290 (closed defect: Fixed)
zendisc fails with --net argument
| Reported by: | edahl | Owned by: | ecn |
|---|---|---|---|
| Priority: | 1 - Blocker | Milestone: | zenoss-2.2 |
| Component: | DataCollector | Version: | 2.1.0 |
| Keywords: | zenoss-2.1.1-patched | Cc: | |
| Community Patch Attached: | Deployed @ Customer: | ||
| Installer: | Maintenance Target: | ||
| Specific ZenPack: | Maintenance Status: | ||
| Documentation Note?: | Not required | Regression: |
Description
[zenoss@zenosst ~]$ zendisc run --net 10.1.1.0 -v10
DEBUG:zen.ZenDisc:Run in foreground, starting immediately.
DEBUG:zen.ZenDisc:in debug mode starting apply in main thread.
ERROR:zen.ZenDisc:Error performing net discovery on 1 is an invalid address
Traceback (most recent call last):
File "/opt/zenoss/Products/DataCollector/zendisc.py", line 205, in run
netobj = self.dmd.Networks._getNet(net)
File "/opt/zenoss/Products/ZenModel/IpNetwork.py", line 186, in _getNet
if net.hasIp(ip):
File "/opt/zenoss/Products/ZenModel/IpNetwork.py", line 237, in hasIp
return start <= numbip(ip) < end
File "/opt/zenoss/Products/ZenUtils/IpUtil.py", line 60, in numbip
checkip(ip)
File "/opt/zenoss/Products/ZenUtils/IpUtil.py", line 54, in checkip
raise IpAddressError, "%s is an invalid address" % ip
IpAddressError: 1 is an invalid address
Change History
Note: See
TracTickets for help on using
tickets.