RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1361445 - [RHEL6] Virt-who should not add "." at the end of ESX hypervisor hostname if the domain name is not configured.
Summary: [RHEL6] Virt-who should not add "." at the end of ESX hypervisor hostname if ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-who
Version: 6.9
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: rc
: ---
Assignee: Chris Snyder
QA Contact: Eko
URL:
Whiteboard:
Depends On:
Blocks: 1269194 1355878 CEE_Sat6_Top_BZs, GSS_Sat6_Top_Bugs
TreeView+ depends on / blocked
 
Reported: 2016-07-29 06:04 UTC by Ashish Humbe
Modified: 2020-06-11 12:56 UTC (History)
9 users (show)

Fixed In Version: virt-who-0.18-1.el6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-21 10:31:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
customer tested patch (1.53 KB, patch)
2016-08-09 18:38 UTC, James Hartsock
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 2476091 0 None None None 2016-08-09 18:39:52 UTC
Red Hat Product Errata RHBA-2017:0675 0 normal SHIPPED_LIVE virt-who bug fix update 2017-03-21 12:35:57 UTC

Comment 2 James Hartsock 2016-08-09 18:38:31 UTC
Created attachment 1189376 [details]
customer tested patch

Had customer apply attached patch and reported things working for them now.

# rpm -q virt-who
virt-who-0.16-8.el6.noarch
# service virt-who stop
# cd /
# cat /root/bz1361445.patch | patch -p1 -b -z .bz1361445
patching file usr/share/virt-who/virt/esx/esx.py
# service virt-who start


Not sure related or not yet, but seems virt entitlements are not correct yet.  So may need additional steps after fix if is related

Comment 5 Radek Novacek 2016-10-11 14:05:39 UTC
Fixed in virt-who-0.18-1.el6.

Comment 8 yuefliu 2017-02-08 09:05:05 UTC
The bug doesn't reproduce on RHEL-6.9-20170202.0 (virt-who-0.18-3.el6.noarch) with satellite6.2.6, virt-who can correctelly report hypervisor hostname without "." to the sat server when the hostname is configured without domain name, just "server". So verified it.


*******/rhsm.log*******
2017-02-08 04:03:32,824 [virtwho.main DEBUG] MainProcess(10488):MainThread @subscriptionmanager.py:hypervisorCheckIn:196 - Host-to-guest mapping: {
    "host1.rhts.eng.pek2.redhat.com": [
        {
            "guestId": "421d1083-25f6-f8d0-b31a-f98ec7e4a87c", 
            "state": 5, 
            "attributes": {
                "active": 0, 
                "virtWhoType": "esx"
            }
        }
    ], 
    "server": [
        {
            "guestId": "421de5a3-a462-2fae-656b-094173934a0d", 
            "state": 1, 
            "attributes": {
                "active": 1, 
                "virtWhoType": "esx"
            }
        }, 
        {
            "guestId": "421ce0fc-af56-2476-0edc-20deed295e37", 
            "state": 5, 
            "attributes": {
                "active": 0, 
                "virtWhoType": "esx"
            }
        }
    ]
}
2017-02-08 04:03:35,158 [virtwho.main DEBUG] MainProcess(10488):MainThread @executor.py:send_report:102 - Report for config "sate-esx" sent

Comment 10 errata-xmlrpc 2017-03-21 10:31:14 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2017-0675.html


Note You need to log in before you can comment on or make changes to this bug.