Project

General

Profile

Actions

Bug #29653

closed

upgraded 3.15 katello fails sometimes uploading package profile

Added by Justin Sherrill over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

A user reported here: https://community.theforeman.org/t/tasks-ending-with-warnings-after-katello-3-15-upgrade/18467/11

an error uploading some package profiles. This uncovered a couple of issues:

  • the epoch of '0' is not handled properly if its not uploaded as a string
  • race conditions resulting in attempting to create installed packages that already exist are not handled properly, the resulting objects could cause the association to host to fail (attempts to insert an installed package id of zero
Actions

Also available in: Atom PDF