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
when running NSSU the backup RE is upgraded first, then the RE is flipped to the newly upgraded device so the other member can be upgraded. When the RE flip happens the netconf session is broken (same with SSH if you happen to be on the command line)
This means the ansible never gets the message that a reboot has been initiated, such as: Package /opt/ansible/software/jinstall-host-qfx-5-17.4R1.16-signed.tgz successfully installed. Reboot successfully initiated."
Therefore Ansible will eventually error out when when the RPC timer expires.
Steps to reproduce
Basically just run any upgrade using nssu using juniper_junos_software
Not really sure if there is a workaround here... be great if we could reconnect after the RE flip to confirm a reboot has been initiated
Actual results
The error is: TimeoutExpiredError('ncclient timed out while waiting for an rpc reply.')\nncclient.operations.errors.TimeoutExpiredError: ncclient timed out while waiting for an rpc reply.
Once the netconf session dies, it never sees that the last node reboots so never moves on
The text was updated successfully, but these errors were encountered:
lucasalvatore
changed the title
Validate that NSSU Works
Unable to Validate that NSSU Works
May 14, 2019
lucasalvatore
changed the title
Unable to Validate that NSSU Works
juniper_junos_software: Unable to Validate that NSSU Works
May 14, 2019
@lucasalvatore1 I have not worked on NSSU. Let me take a look at how NSSU is handled on the device and using PyEZ, then we can discuss further what can be added/modified to make the module better.
Module Name
juniper_junos_software
Juniper.Junos role and Python libraries version
OS / Environment
QFX5100-48S Virtual Chassis 17.4R1 (2 members)
Summary
when running NSSU the backup RE is upgraded first, then the RE is flipped to the newly upgraded device so the other member can be upgraded. When the RE flip happens the netconf session is broken (same with SSH if you happen to be on the command line)
This means the ansible never gets the message that a reboot has been initiated, such as:
Package /opt/ansible/software/jinstall-host-qfx-5-17.4R1.16-signed.tgz successfully installed. Reboot successfully initiated."
Therefore Ansible will eventually error out when when the RPC timer expires.
Steps to reproduce
Basically just run any upgrade using nssu using juniper_junos_software
Expected results
Not really sure if there is a workaround here... be great if we could reconnect after the RE flip to confirm a reboot has been initiated
Actual results
The error is:
TimeoutExpiredError('ncclient timed out while waiting for an rpc reply.')\nncclient.operations.errors.TimeoutExpiredError: ncclient timed out while waiting for an rpc reply.
Once the netconf session dies, it never sees that the last node reboots so never moves on
The text was updated successfully, but these errors were encountered: