Hi Paul,
Do you know if the slice.submit() would rebuild all the VMs and network components or will it correctly update only the L2 link information? I don’t want to lose the files and environment setup on my VMs due to a slice rebuild.
Hi, with Georgios’ code snippet, the renewal was successfully extended. What was missing was the ‘tz.tzutc()’ when using datetime.now(), which needs to be explicitly defined as the %z argument.
I tried with less than 7 days, but it fails with the same error.
For example, the exception when I try to extend it by 1 day:
Exception: Failed to renew slice: Status.INVALID_ARGUMENTS, Lease End Time 2023-08-16 23:54:38 should be in format: %Y-%m-%d %H:%M:%S %z