Open jorgenspange opened 9 months ago
@NilashishC CC
- name: cisco.nxos.nxos_install | Test
when: software_kickstart is defined
cisco.nxos.nxos_install_os:
kickstart_image_file: "{{ software_kickstart }}"
system_image_file: "{{ software_image }}"
issu: false
register: software_installed
vars:
ansible_command_timeout: 600
ansible_connect_timeout: 600
Tried doing it with the cisco.nxos.nxos_install_os aswell, but did not seem to start the installation either.
@jorgenspange Seems like the problem here is two-folded. The fact that this did not work even with nxos_install_os
tells me that something else might be broken. If the terminal prompt not being answered was the only issue, executing terminal dont-ask
before the install all kickstart ..
command should have fixed it, which is something that the nxos_install_os
module does internally.
We've had image upgrade issues in the past with N7Ks and the fixes varied on a case by case basis. For this particular issue, we can start off with adding terminal dont-ask
before the image upgrade command in the first playbook you shared, just to confirm if it's actually a prompt issue. If the issue continues to persist even after that, then please update this thread, and I'll share the next steps.
Thank you!
SUMMARY
My prompt/answer in cisco.nxos.nxos_command does not do anything
ISSUE TYPE
COMPONENT NAME
cisco.nxos.nxos_command
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Macbook PRO M1 Pro 2021 Sonoma 14.1.1
STEPS TO REPRODUCE
When upgrading Cisco Nexus 7k this does not work
When running that it stops here:
EXPECTED RESULTS
but when i do it manually it goes further like this:
This is what the prompt looks like when running the installation
ACTUAL RESULTS
Just hangs on the "switch will be reloaded for disruptive upgrade".