stdevel / katprep

Python toolkit for automating system maintenance and generating patch reports along with Foreman/Katello and Red Hat Satellite 6.x
GNU General Public License v3.0
35 stars 6 forks source link

Checking status of package upgrade tasks not working #107

Open stdevel opened 5 years ago

stdevel commented 5 years ago

Describe the bug Using the most recent Foreman/Katello versions, it is not possible to check the status of package upgrade tasks using katprep_maintenance.

To Reproduce Steps to reproduce the behavior:

  1. Execute package upgrade on a particular host: katprep_maintenance *.json execute -p
  2. Check status: katprep_maintenance *.json status
  3. Package upgrade task cannot be found

I assume that the package upgrade task name changed from Actions::Katello::Host::Update to something different.

Expected behavior Package upgrade task status is shown.

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Additional context Command output:

$ katprep_maintenance --insecure -C katprep.auth -s pinkepank.test.loc errata-snapshot-report-*.json -I centos07 status
Authentication container password:
INFO:katprep_maintenance:No package task for 'st-centos07.stankowic.loc' found!
INFO:katprep_maintenance:Erratum task for host 'st-centos07.stankowic.loc' succeeded