768879121a
timeutils.isotime() is no longer available in oslo_utils. The error message says to use datetime.datetime.isoformat() instead, but the format of the string generated by isoformat isn't the same as the format of the string generated by isotime. This change adds a local isotime() helper copying the implementation of oslo_utils.timeutils.isotime() to sysinv.objects.utils.isotime(). Test Plan: PASS AIO-SX Story: 2011360 Change-Id: Ibad1cb3a49d39b451d999f11f37ca87347065589 Signed-off-by: sharang bhardwaj <sharang.bhardwaj@windriver.com>