Description of problem: When running the applied errata report the last reboot time is incorrect and report downloading never asks for a location to Download. How reproducible: Every time we run a report template of Applied errata. Steps to Reproduce: 1. Apply an errata on the client. 2. Reboot the client system 3. Run the applied errata report Actual results: Last reboot time is incorrect. date,hostname,erratum_id,erratum_type,status,last_reboot_time 2019-08-20 10:43:15 +0530,mindy-dottavio.lab.example.com,RHBA-2019:2404,bugfix,success,1970-01-01 07:26:13 +0530 No location asked to save the file. Expected results: It should show the correct reboot time and ask for a location to save the file. Additional info:
These are clearly two separate and unrelated issues, please pick one and open separate BZ for the second. Note that the last reboot information is based on uptime fact coming from various sources. The immediate reboot does not mean we get the fresh information. There needs to ocure at least one puppet agent run in order to get updated value. In your example, it looks like wrongly calculated value, we had an issue with btime fact parsing, that was coming from subscription manager. You haven't specified which version/snap you encounter the issue with, so it's hard to tell, whether it's not a duplicate.
This is the fact parsing issue for the reference https://bugzilla.redhat.com/show_bug.cgi?id=1732317