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'm using nokia.sros collection for managing VSR release 19.10.R3. The ansible_network_os mode is nokia.sros.light.
Ansible version is 2.9.19 running with python 3.8.8 on CentOS-8.3 based Docker container.
ansible.netcommon version 2.0.1
nokia.sros version 1.6.0
Initially when the VSR VM is started, it will not have a license. Then I transfer the license file to VSR (using Nokia Centralized License Manager application) and try to reboot VSR to apply the license using task:
- name: Reboot VSR VM
cli_command:
command: "admin reboot now"
The reason for failure is that when the license is not activated, VSR does not support "show system information" command but nokia.sros plugin always wants to run that first.
A:VSR# show system information
^
Error: Invalid parameter.
Would there be some way to enhance the implementation to support also this use case where I just want to run a simple command and nokia.sros could ignore trying to read the system information?
The text was updated successfully, but these errors were encountered:
jurajama
changed the title
Cannot use sros_command when VSR does not have license installed
Cannot use cli_command when VSR does not have license installed
Feb 2, 2022
I'm using nokia.sros collection for managing VSR release 19.10.R3. The ansible_network_os mode is nokia.sros.light.
Initially when the VSR VM is started, it will not have a license. Then I transfer the license file to VSR (using Nokia Centralized License Manager application) and try to reboot VSR to apply the license using task:
That fails with:
The reason for failure is that when the license is not activated, VSR does not support "show system information" command but nokia.sros plugin always wants to run that first.
Would there be some way to enhance the implementation to support also this use case where I just want to run a simple command and nokia.sros could ignore trying to read the system information?
The text was updated successfully, but these errors were encountered: