Bug 1042909
| Summary: | System -> Requiring Reboot will list systems, that do not require a reboot due to timezone handling problems | ||
|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | Joerg Steffens <joerg.steffens> |
| Component: | WebUI | Assignee: | Tomas Lestach <tlestach> |
| Status: | CLOSED DUPLICATE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.0 | CC: | ipetts, jochen, maxime+redhat, redhat |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-07-10 14:04:09 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1484117 | ||
|
Description
Joerg Steffens
2013-12-13 15:46:11 UTC
The "lastboot" field seems populated with : (see https://github.com/spacewalkproject/spacewalk/blob/dec6f8700d5c80cca6fd2d832904eed11bef57f0/java/code/src/com/redhat/rhn/domain/server/test/ServerFactoryTest.java) s.setLastBoot(new Long(System.currentTimeMillis())); System.currentTimeMillis will return a millisecond UTC epoch timestamp, whereaspostgresql's to_timestamp() procedure returns the time relative to the local timezone. There might be more places where the S.lastBoot field is set, but that's the only call to system.setMastBoot() i've found on the source. Still acutal as of spacewalk 2.3 Yes, we've just fixed the issue within Bug 1235955. I'm closing this one as duplicate. *** This bug has been marked as a duplicate of bug 1235955 *** This BZ closed some time during 2.5, 2.6 or 2.7. Adding to 2.7 tracking bug. |