Bug 769370
| Summary: | headpin cli system info shows time incorrectly | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Eric Sammons <esammons> | ||||
| Component: | katello-agent | Assignee: | Bryan Kearney <bkearney> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Katello QA List <katello-qa-list> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | urgent | ||||||
| Version: | 6.0.1 | ||||||
| Target Milestone: | Unspecified | ||||||
| Target Release: | Unused | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: |
headpin
|
|||||
| Last Closed: | 2012-04-27 00:32:11 UTC | Type: | --- | ||||
| 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: | 703617, 747354 | ||||||
| Attachments: |
|
||||||
fixed in katello master at 4ab42150b2ae6f0e9974ec70a0e35782115be612. You will see this in katello-common-cli version 0.1.31 or later. # headpin -u admin -p admin system info --name System-2OM2NHQCsMqW5p --org ACME_Corporation --env DEV
------------------------------------------------------------------------------------------------------------------------------------------
System Information For Environment [ DEV ] in Org [ ACME_Corporation ]
------------------------------------------------------------------------------------------------------------------------------------------
Name: System-2OM2NHQCsMqW5p
Uuid: b86fc612-5001-442b-b00f-b4df51f69dd6
Location: None
Registered: 2012/01/23 09:24:32
Last updated: 2012/01/23 09:24:32
Description:
Initial Registration Params
VERIFIED:
katello-qpid-broker-key-pair-1.0-1.noarch
katello-cli-common-0.1.34-2.el6.noarch
candlepin-0.5.10-1.el6.noarch
thumbslug-0.0.21-1.el6.noarch
katello-cli-headpin-0.1.13-2.el6.noarch
candlepin-tomcat6-0.5.10-1.el6.noarch
katello-common-0.1.180-2.el6.noarch
katello-headpin-0.1.126-2.el6.noarch
katello-configure-0.1.52-2.el6.noarch
katello-httpd-ssl-key-pair-1.0-1.noarch
katello-trusted-ssl-cert-1.0-1.noarch
katello-certs-tools-1.0.1-2.el6.noarch
katello-glue-candlepin-0.1.180-2.el6.noarch
katello-headpin-all-0.1.126-2.el6.noarch
getting rid of 6.0.0 version since that doesn't exist |
Created attachment 548873 [details] Webui screenshot showing last checkin and registration Description of problem: When running 'headpin system info' the output shows time incorrectly; possible not using local time zone. Also, last update does not reflect last checkin which may be expected; however, there appears to be no way to get last checkin from 'headpin system' Version-Release number of selected component (if applicable): # rpm -q katello-cli-headpin katello-cli-headpin-0.1.13-2.el6.noarch # cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.2 (Santiago) Steps to Reproduce: 1.Run headpin system info $ headpin -u admin -p admin system info --name [SYSTEMNAME] --org ACME_Corporation --env Test 2. Review output Actual results: ---------------------------------------------------------------------------------------- System Information For Environment [ Test ] in Org [ ACME_Corporation ] ---------------------------------------------------------------------------------------- Name: brain.usersys.redhat.com Uuid: 82b720c7-008d-4635-bb90-a265812e26a8 Location: None Registered: 2011/12/20 15:17:39 Last updated: 2011/12/20 15:17:39 Description: Initial Registration Params Compare results to those in the webui (attached). Expected results: I would expect to see Last Checkin somewhere from the command line; however, info and facts both fail to reflect this information. Also, Date reflected at command line matches (minutes and seconds) of webui; however, hour is wrong. I have verified timezone of the 5.8 system. # date Tue Dec 20 10:59:22 EST 2011 Additional info: