-
Bug
-
Resolution: Done-Errata
-
Normal
-
rhel-9.3.0
-
pcp-6.2.0-2.el9
-
None
-
Moderate
-
Customer Reported
-
1
-
rhel-sst-pt-pcp
-
ssg_platform_tools
-
22
-
1
-
QE ack, Dev ack
-
False
-
-
No
-
Red Hat Enterprise Linux
-
PCP Sprint 1
-
Pass
-
None
-
Unspecified Release Note Type - Unknown
-
None
Issue:
When date is Jan 1st (doesn't matter the year), performance copilot would output the following error:
'Value Error: day of year out of range'
How to Reproduce:
1. Set system date to Jan 1st of the current year.
2. Run any performance copilot python commands (for example, 'pcp-mpstat -P ALL -t 1 -s 2').
3. Observe Issue.
Expected Behavior.
Command runs successively without issues.
Actual Behavior.
Command fails with above mentioned error.
Affected components:
Latest versions of pcp and pcp-system-tools for RHEL 8 and 9.
6.1.1-4.el9
5.3.7-19.el8
Additional:
Customer this listing was filed for has already filed a Pull Request for a fix with upstream that has been merged at the time of this listing being posted.
https://github.com/performancecopilot/pcp/pull/1890
As such, this bug listing is for backporting this fix into the Red Hat implementation.
- is cloned by
-
RHEL-29708 performance copilot gives 'day of year out of range' error when date is Jan 1st for a year.
- Closed
- links to
-
RHBA-2024:129301 pcp update