Adding log and exception handling for update_platform_nfs_ip_references
to confirm if the execution was correct.
During an upgrade from Rel. 7 to Rel. 8 the upgrade_activate failed
and after some time it was executed again. In the second
upgrade_activate execution, the update_platform_nfs_ip_references
was called again, but this is not expected because, according to the
logs, it was already executed and there is a condition where it just
runs if the platform_nfs_ip is present in the database. Please note
that at the end of this function, the platform_nfs IP is removed by
address_destroy.
Reviewed: https:/ /review. opendev. org/c/starlingx /config/ +/879683 /opendev. org/starlingx/ config/ commit/ dfc10a34a431952 026495b280b2b19 9bf7e59e0b
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit dfc10a34a431952 026495b280b2b19 9bf7e59e0b
Author: Fabiano Mercer <email address hidden>
Date: Wed Apr 5 16:51:49 2023 -0300
Log and exception handling for platform_nfs_ip
Adding log and exception handling for update_ platform_ nfs_ip_ references activate execution, the update_ platform_ nfs_ip_ references destroy.
to confirm if the execution was correct.
During an upgrade from Rel. 7 to Rel. 8 the upgrade_activate failed
and after some time it was executed again. In the second
upgrade_
was called again, but this is not expected because, according to the
logs, it was already executed and there is a condition where it just
runs if the platform_nfs_ip is present in the database. Please note
that at the end of this function, the platform_nfs IP is removed by
address_
Test plan
PASS AIO-DX upgrade from Rel 7 to 8
Partial-Bug: #2015392
Signed-off-by: Fabiano Mercer <email address hidden> 6cc3a4db3fc4552 8678f9989a2
Change-Id: I8a162d372c04b2