SA Huawei.VRP NE20E get_version не собирается image, version
./noc script --debug --pretty get_version krasnogorsk-ar01
2018-06-21 18:30:28,889 [noc.core.dcs.base] Resolve near service pgbouncer
2018-06-21 18:30:28,889 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/pgbouncer?passing=1&near=_agent
2018-06-21 18:30:28,895 [noc.core.http.client] HTTP Response 200
2018-06-21 18:30:28,896 [noc.core.dcs.base] Resolved near service pgbouncer to ['10.50.64.67:6432']
2018-06-21 18:30:29,045 [noc.core.dcs.base] Running resolver for service mongo
2018-06-21 18:30:29,045 [noc.core.dcs.base] [mongo] Starting resolver
2018-06-21 18:30:29,045 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/mongo?passing=1
2018-06-21 18:30:29,048 [noc.core.http.client] HTTP Response 200
2018-06-21 18:30:29,049 [noc.core.dcs.base] [mongo] Set active services to: mongo: 10.50.74.62:27017
2018-06-21 18:30:29,049 [noc.core.http.client] HTTP GET http://consul:8500/v1/health/service/mongo?index=2104934007&passing=1
2018-06-21 18:30:29,049 [noc.lib.nosql] Connecting to MongoDB {'username': 'noc', 'authentication_source': 'noc', 'readPreference': 'secondaryPreferred', 'replicaSet': 'noc', 'db': 'noc', 'socketKeepAlive': True, 'host': 'mongodb://noc:********@10.50.74.62:27017/noc', 'password': '********'}
2018-06-21 18:30:29,103 [noc.core.cache.base] Using cache backend: noc.core.cache.memcached.MemcachedCache
2018-06-21 18:30:29,108 [noc.core.cache.memcached] Starting memcached pool: hosts=10.50.50.60:11212, pool size=8
2018-06-21 18:30:29,261 [noc.main.models.doccategory] Registering Capability
2018-06-21 18:30:29,262 [noc.main.models.doccategory] Registering MetricType
2018-06-21 18:30:29,299 [noc.main.models.doccategory] Registering ConnectionType
2018-06-21 18:30:29,303 [noc.main.models.doccategory] Registering ObjectModel
2018-06-21 18:30:29,312 [noc.main.models.textindex] Adding FTS index for sa.managedobject
2018-06-21 18:30:29,327 [noc.main.models.textindex] Adding FTS index for ip.vrf
2018-06-21 18:30:29,330 [noc.main.models.textindex] Adding FTS index for vc.vc
2018-06-21 18:30:29,331 [noc.main.models.textindex] Adding FTS index for ip.prefix
2018-06-21 18:30:29,335 [noc.main.models.textindex] Adding FTS index for ip.address
2018-06-21 18:30:29,373 [noc.core.script.loader] Loading script Huawei.VRP.get_version
2018-06-21 18:30:29,449 [noc.core.profile.loader] Loading profile Huawei.VRP
2018-06-21 18:30:29,450 [script] [Huawei.VRP.get_version|10.100.138.40] Running. Input arguments: {}, timeout 3600
2018-06-21 18:30:29,450 [script] [Huawei.VRP.get_version|10.100.138.40] [snmp] Creating IOLoop
2018-06-21 18:30:29,451 [script] [Huawei.VRP.get_version|10.100.138.40] [snmp] Create UDP socket
2018-06-21 18:30:29,451 [noc.core.ioloop.snmp] [10.100.138.40] SNMP GET ['1.3.6.1.2.1.1.1.0']
2018-06-21 18:30:29,466 [noc.core.ioloop.snmp] [10.100.138.40] GET result: 'Huawei Versatile Routing Platform Software \r\nVRP (R) software, Version 8.150 (NE20E V800R009C10SPC200) \r\nCopyright (C) 2012-2017 Huawei Technologies Co., Ltd. \r\nHUAWEINE20E-S2F \r\n'
2018-06-21 18:30:29,466 [script] [Huawei.VRP.get_version|10.100.138.40] [snmp] Closing UDP socket
2018-06-21 18:30:29,466 [script] [Huawei.VRP.get_version|10.100.138.40] [snmp] Closing IOLoop
2018-06-21 18:30:29,466 [script] [Huawei.VRP.get_version|10.100.138.40] Result: {'platform': 'Technologies', 'version': '8.150', 'vendor': 'Huawei'}
2018-06-21 18:30:29,466 [script] [Huawei.VRP.get_version|10.100.138.40] Complete (15.82ms)
{'platform': 'Technologies', 'vendor': 'Huawei', 'version': '8.150'}
./noc about
)
Paste NOC version (NOC version is: 15.05.1+microservices.9986.ddd08c74