You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have several vManages, on 19.2.2, 20.3.1 vmanage show device status works.
On 19.2.3 i'm getting issue. So I can get some devices but not all. Later it crash.
(venv) root@8f451fdfd84a:~/viptela_api/python-viptela# vmanage show device status
Hostname System IP Model Site Status BFD OMP CON Version UUID Serial
vManage_London 1.1.1.6 vmanage 4294943323 reachable 22 19.2.3 c319dcc2-9320-4d8d-b038-773a4bb15b5c 7D345E3744FC6509A55A0E9033FAA8F633BE637A
vSmart_EU_London 1.1.1.4 vsmart 4294943322 reachable 21 (22) 36 19.2.3 0ed41cb4-9859-482a-97e8-157d559f3c32 22ACABC3C50D7B73E7453AB16242551839417EC0
vSmart_US_Virginia 1.1.1.5 vsmart 4294943321 reachable 21 (22) 36 19.2.3 fcde3948-f252-472d-83da-dca9d2cceccd 587F46A9DF297A1C7F6F469D7034EC91CC373142
VBond_London 1.1.1.2 vedge-cloud 4294943327 reachable -- -- 19.2.3 bbb62bdd-e87c-4f16-9dd2-12501bbfd56d 0932250B7AEC05DC7D6379A6759852DD53CD0592
vBond_Virginia 1.1.1.3 vedge-cloud 4294943326 reachable -- -- 19.2.3 47304062-5f0c-4aa0-9951-ef98d28c1b1e 2F907B228D51EEFC1116B7E86C273E67E387CE31
Traceback (most recent call last):
File "/opt/conda/bin/vmanage", line 33, in
sys.exit(load_entry_point('viptela', 'console_scripts', 'vmanage')())
File "/opt/conda/lib/python3.8/site-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/opt/conda/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/opt/conda/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/opt/conda/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/opt/conda/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/opt/conda/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/opt/conda/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/opt/conda/lib/python3.8/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context().obj, *args, **kwargs)
File "/home/jovyan/viptela_api/python-viptela/vmanage/cli/show/device.py", line 62, in status
f"{device_entry['host-name']:20} {device_entry['system-ip']:15} {device_entry['device-model']:15} {device_entry['site-id']:6} {device_entry['reachability']:9} {bfd:>3} {omp:>3} {control:>3} {device_entry['version']:8} {device_entry['uuid']:40} {device_entry['board-serial']}"
KeyError: 'version'
The text was updated successfully, but these errors were encountered:
Hi,
I have several vManages, on 19.2.2, 20.3.1 vmanage show device status works.
On 19.2.3 i'm getting issue. So I can get some devices but not all. Later it crash.
(venv) root@8f451fdfd84a:~/viptela_api/python-viptela# vmanage show device status
Hostname System IP Model Site Status BFD OMP CON Version UUID Serial
vManage_London 1.1.1.6 vmanage 4294943323 reachable 22 19.2.3 c319dcc2-9320-4d8d-b038-773a4bb15b5c 7D345E3744FC6509A55A0E9033FAA8F633BE637A
vSmart_EU_London 1.1.1.4 vsmart 4294943322 reachable 21 (22) 36 19.2.3 0ed41cb4-9859-482a-97e8-157d559f3c32 22ACABC3C50D7B73E7453AB16242551839417EC0
vSmart_US_Virginia 1.1.1.5 vsmart 4294943321 reachable 21 (22) 36 19.2.3 fcde3948-f252-472d-83da-dca9d2cceccd 587F46A9DF297A1C7F6F469D7034EC91CC373142
VBond_London 1.1.1.2 vedge-cloud 4294943327 reachable -- -- 19.2.3 bbb62bdd-e87c-4f16-9dd2-12501bbfd56d 0932250B7AEC05DC7D6379A6759852DD53CD0592
vBond_Virginia 1.1.1.3 vedge-cloud 4294943326 reachable -- -- 19.2.3 47304062-5f0c-4aa0-9951-ef98d28c1b1e 2F907B228D51EEFC1116B7E86C273E67E387CE31
Traceback (most recent call last):
File "/opt/conda/bin/vmanage", line 33, in
sys.exit(load_entry_point('viptela', 'console_scripts', 'vmanage')())
File "/opt/conda/lib/python3.8/site-packages/click/core.py", line 829, in call
return self.main(*args, **kwargs)
File "/opt/conda/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/opt/conda/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/opt/conda/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/opt/conda/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/opt/conda/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/opt/conda/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/opt/conda/lib/python3.8/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context().obj, *args, **kwargs)
File "/home/jovyan/viptela_api/python-viptela/vmanage/cli/show/device.py", line 62, in status
f"{device_entry['host-name']:20} {device_entry['system-ip']:15} {device_entry['device-model']:15} {device_entry['site-id']:6} {device_entry['reachability']:9} {bfd:>3} {omp:>3} {control:>3} {device_entry['version']:8} {device_entry['uuid']:40} {device_entry['board-serial']}"
KeyError: 'version'
The text was updated successfully, but these errors were encountered: