CiscoUcs / ucsmsdk

Python SDK for Cisco UCSM
Other
81 stars 60 forks source link

Version 4.1(2c) running is not yet supported by ucsmsdk! #205

Closed albertdamien closed 3 years ago

albertdamien commented 3 years ago

Hello, when using easyucs tool (https://github.com/vesposito/easyucs) on UCSPE 4.1.2c environment, script is reporting a warning concerning the 412c version

`dalbert@ubuntu:~/easyucs$ python3 easyucs.py config fetch -t ucsm -i 192.168.56.132 -u ad -p ad -o output/configs/config_ucsm.json

EasyUCS 0.9.7.4 created by Marc Abu El Ghait, Franck Bonneau and Vincent Esposito, Copyright 2016-2021, Cisco

2021-03-15 07:10:17,542 :: INFO :: 192.168.56.132 :: device.py :: in connect :: Trying to connect to UCS System: 192.168.56.132 2021-03-15 07:10:17,776 :: INFO :: 192.168.56.132 :: device.py :: in connect :: Connected to UCSPE-192-168-56-132 running version 4.1(2c) 2021-03-15 07:10:17,777 :: WARNING :: 192.168.56.132 :: device.py :: in connect :: Version 4.1(2c) running is not yet supported by ucsmsdk! 2021-03-15 07:10:17,779 :: INFO :: 192.168.56.132 :: manager.py :: in fetch_config :: Fetching config from live device (can take several minutes) 2021-03-15 07:10:41,195 :: WARNING :: 192.168.56.132 :: admin.py :: in init :: Password of SEL Policy can't be exported 2021-03-15 07:10:41,195 :: WARNING :: 192.168.56.132 :: admin.py :: in init :: Password of Local User admin can't be exported 2021-03-15 07:10:41,373 :: INFO :: 192.168.56.132 :: manager.py :: in fetch_config :: Finished fetching config with UUID 2d7ef884-1a73-4d93-9e0e-e3bb0e1414e6 from live device 2021-03-15 07:10:41,377 :: INFO :: 192.168.56.132 :: manager.py :: in export_config :: Exporting config 2d7ef884-1a73-4d93-9e0e-e3bb0e1414e6 to file: output/configs/config_ucsm.json 2021-03-15 07:10:41,377 :: INFO :: 192.168.56.132 :: manager.py :: in export_config :: Creating directory output/configs 2021-03-15 07:10:41,381 :: INFO :: 192.168.56.132 :: device.py :: in print_logger_summary ::

Summary : Counting number of log by level: There are 3 logs of level: warning There are 0 logs of level: critical There are 0 logs of level: error All logs for level : warning 2021-03-15 07:10:17,777 :: 192.168.56.132 :: device.py :: in connect :: Version 4.1(2c) running is not yet supported by ucsmsdk! 2021-03-15 07:10:41,195 :: 192.168.56.132 :: admin.py :: in init :: Password of SEL Policy can't be exported 2021-03-15 07:10:41,195 :: 192.168.56.132 :: admin.py :: in init :: Password of Local User admin can't be exported

` Thanks

vesposito commented 3 years ago

Hello, This is directly linked to the fact that ucsmsdk has not yet been updated to support 4.1(2) or 4.1(3) releases. If you need UCSM 4.1(2) features, you can have a look at this pull request

Regarding the warning message in EasyUCS, you can safely ignore it. Since ucsmsdk does not support 4.1(2) or 4.1(3) features yet, EasyUCS does not either.

As soon as ucsmsdk get updated, I will make sure to update EasyUCS to support those new features.

vesposito commented 3 years ago

For your information, ucsmsdk 0.9.12 has just been released and brings official support for 4.1(2), 4.1(3) and 4.2(1) UCSM releases I believe this issue can be closed.

albertdamien commented 3 years ago

Thanks for this new version. Problem solved