Promoting Content view version error - Katello 3.17

Problem: I just upgraded from Foreman 2.1/Katello 3.16(that was fresh install). I’ve tried to promote a new content view. I’ve promoted it to library, all went fine. Then to test env(1 smartproxy), went fine as well.
But when I tried to promote it to Production (22 smart proxies) i get the error from the attached log.
Expected outcome:

To promote as usual.

Foreman and Proxy versions:
Foreman 2.2
Foreman Proxy 2.1

Foreman and Proxy plugin versions:
Katello 3.17

Distribution and version:
Cenos 7.9.2009
Other relevant data:
error.log (520.0 KB)

Resolved by restarting services. Something must have left hanging after upgrade to Katello 3.17.