1. Nishanth Shyamkumar

Nishanth Shyamkumar

Forum Replies Created

Viewing 2 posts - 31 through 32 (of 32 total)
  • Author
    Posts
  • in reply to: Renew slice fails in fablib #5050
    Nishanth Shyamkumar
    Participant

      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.

      in reply to: Renew slice fails in fablib #5046
      Nishanth Shyamkumar
      Participant

        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

      Viewing 2 posts - 31 through 32 (of 32 total)