Advertisement
Guest User

NOC-debug1

a guest
Mar 5th, 2021
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.86 KB | None | 0 0
  1. [root@centos7-noc noc]# ./noc discovery --debug run box 2
  2. 2021-03-05 14:16:07,665 [py.warnings] /opt/noc/core/profile/base.py:72: UserWarning: None: 'pattern_more' '^---MORE---' pattern must be of binary type. Support for text values will be removed in NOC 20.2
  3. warnings.warn(
  4.  
  5. 2021-03-05 14:16:08,949 [noc.core.ioloop.util] Setting up asyncio event loop policy
  6. 2021-03-05 14:16:08,949 [noc.core.ioloop.util] Setting up default event loop
  7. 2021-03-05 14:16:09,898 [noc.core.dcs.base] Resolve near service postgres
  8. 2021-03-05 14:16:09,907 [noc.core.dcs.base] Resolved near service postgres to ['10.250.51.41:5432']
  9. 2021-03-05 12:16:10,257 [noc.core.cache.base] Using cache backend: noc.core.cache.mongo.MongoCache
  10. 2021-03-05 12:16:10,839 [asyncio] Using selector: EpollSelector
  11. 2021-03-05 12:16:10,840 [noc.core.dcs.base] [mongo] Starting resolver (near=False)
  12. 2021-03-05 12:16:10,840 [noc.core.dcs.base] [mongo] Requesting changes from index 0
  13. 2021-03-05 12:16:10,840 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/mongo?passing=1
  14. 2021-03-05 12:16:10,842 [noc.core.http.client] HTTP Response 200
  15. 2021-03-05 12:16:10,842 [noc.core.dcs.base] [mongo] Index changed 0 -> 10066. Applying changes
  16. 2021-03-05 12:16:10,842 [noc.core.dcs.base] [mongo] Set active services to: mongo: 10.250.51.41:27017
  17. 2021-03-05 12:16:10,842 [noc.core.dcs.base] [mongo] Stopping resolver
  18. 2021-03-05 12:16:10,843 [noc.core.mongo.connection] Connecting to MongoDB {'db': 'noc', 'username': 'noc', 'password': '********', 'authentication_source': 'noc', 'replicaSet': 'noc', 'readPreference': 'secondaryPreferred', 'maxIdleTimeMS': 60000, 'host': 'mongodb://noc:********@10.250.51.41:27017/noc'}
  19. 2021-03-05 12:16:11,078 [noc.main.models.doccategory] Registering ConnectionType
  20. 2021-03-05 12:16:11,085 [noc.main.models.doccategory] Registering ObjectModel
  21. 2021-03-05 12:16:11,180 [noc.main.models.textindex] Adding FTS index for sa.managedobject
  22. 2021-03-05 12:16:11,265 [scheduler.discovery] Open collection noc.schedules.discovery.default
  23. Job ID: 603e0b7026193be2ea303f55
  24. 2021-03-05 12:16:11,569 [noc.core.mib] Loading MIB: SNMPv2-MIB
  25. 2021-03-05 12:16:11,663 [noc.main.models.doccategory] Registering ProfileCheckRule
  26. 2021-03-05 12:16:11,901 [noc.main.models.textindex] Adding FTS index for vc.vc
  27. 2021-03-05 12:16:11,916 [noc.main.models.textindex] Adding FTS index for ip.prefix
  28. 2021-03-05 12:16:11,922 [noc.main.models.textindex] Adding FTS index for ip.address
  29. Loading job context from jobctx-discovery-default-603e0b7026193be2ea303f55
  30. 2021-03-05 12:16:12,126 [scheduler.discovery] [2] [discovery|box|C3560X|resolver] Resolving ussc.r
  31. 2021-03-05 12:16:17,191 [scheduler.discovery] [2] [discovery|box|C3560X|resolver] Failed to resolve
  32. 2021-03-05 12:16:17,191 [scheduler.discovery] [2] [discovery|box|C3560X|resolver] Set path: None
  33. 2021-03-05 12:16:17,191 [scheduler.discovery] [2] [discovery|box|C3560X] [resolver] Set problem: class=Discovery | Error | Unhandled Exception path=None message=Failed to resolve fqdn ussc.r fatal=True vars={}
  34. 2021-03-05 12:16:17,191 [noc.core.loader.base] [profile] Loading profile Cisco.IOS
  35. 2021-03-05 12:16:17,266 [py.warnings] /opt/noc/core/profile/base.py:72: UserWarning: Cisco.IOS: 'pattern_more' '^ --More-- ' pattern must be of binary type. Support for text values will be removed in NOC 20.2
  36. warnings.warn(
  37.  
  38. 2021-03-05 12:16:17,266 [py.warnings] /opt/noc/core/profile/base.py:78: UserWarning: Cisco.IOS: 'pattern_more' ' ' command must be of binary type. Support for text values will be removed in NOC 20.2
  39. warnings.warn(
  40.  
  41. 2021-03-05 12:16:17,266 [py.warnings] /opt/noc/core/profile/base.py:72: UserWarning: Cisco.IOS: 'pattern_more' '(?:\\?|interfaces)\\s*\\[confirm\\]' pattern must be of binary type. Support for text values will be removed in NOC 20.2
  42. warnings.warn(
  43.  
  44. 2021-03-05 12:16:17,266 [py.warnings] /opt/noc/core/profile/base.py:78: UserWarning: Cisco.IOS: 'pattern_more' '\n' command must be of binary type. Support for text values will be removed in NOC 20.2
  45. warnings.warn(
  46.  
  47. 2021-03-05 12:16:17,266 [py.warnings] /opt/noc/core/profile/base.py:72: UserWarning: Cisco.IOS: 'pattern_more' '^Destination filename \\[\\S+\\]' pattern must be of binary type. Support for text values will be removed in NOC 20.2
  48. warnings.warn(
  49.  
  50. 2021-03-05 12:16:17,266 [py.warnings] /opt/noc/core/profile/base.py:72: UserWarning: Cisco.IOS: 'pattern_more' '^Proceed with reload\\?\\s*\\[confirm\\]' pattern must be of binary type. Support for text values will be removed in NOC 20.2
  51. warnings.warn(
  52.  
  53. 2021-03-05 12:16:17,266 [py.warnings] /opt/noc/core/profile/base.py:78: UserWarning: Cisco.IOS: 'pattern_more' 'y\n' command must be of binary type. Support for text values will be removed in NOC 20.2
  54. warnings.warn(
  55.  
  56. 2021-03-05 12:16:17,268 [scheduler.discovery] [2] [discovery|box|C3560X] Using CLI sessions
  57. Saving job context to jobctx-discovery-default-603e0b7026193be2ea303f55
  58.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement