Satellite 6.2.9 virt who is failing to send report
Hi
I have an new installation of Satellite server 6.2.9 on RHEL 7.3 It will be replacing our existing Satellite server 6
main difference between setups is that o new setup virt-who is running with the satellite server
When I start the virt-who service I get the following error.
2017-05-19 11:03:55,427 [virtwho.init DEBUG] MainProcess(1472):MainThread @executor.py:init:66 - Using config named 'dubppvc01'
2017-05-19 11:03:55,428 [virtwho.init INFO] MainProcess(1472):MainThread @main.py:main:165 - Using configuration "dubppvc01" ("esx" mode)
2017-05-19 11:03:55,428 [virtwho.init INFO] MainProcess(1472):MainThread @main.py:main:167 - Using reporter_id='dubrh-satserver-62.office.local-d6270d40eeff4e1795b368a056d921b6'
2017-05-19 11:03:55,430 [virtwho.main DEBUG] MainProcess(1472):MainThread @executor.py:run:176 - Starting infinite loop with 3600 seconds interval
2017-05-19 11:03:55,473 [virtwho.dubppvc01 DEBUG] Esx-1(1482):MainThread @virt.py:run:379 - Virt backend 'dubppvc01' started
2017-05-19 11:03:55,474 [virtwho.dubppvc01 DEBUG] Esx-1(1482):MainThread @esx.py:_prepare:128 - Log into ESX
2017-05-19 11:03:55,654 [virtwho.dubppvc01 DEBUG] Esx-1(1482):MainThread @esx.py:_prepare:131 - Creating ESX event filter
2017-05-19 11:03:57,109 [virtwho.dubppvc01 DEBUG] Esx-1(1482):MainThread @virt.py:enqueue:372 - Report for config "dubppvc01" gathered, putting to queue for sending
2017-05-19 11:03:57,149 [virtwho.main DEBUG] MainProcess(1472):MainThread @subscriptionmanager.py:_connect:120 - Authenticating with RHSM username virt_who
2017-05-19 11:03:57,156 [virtwho.main DEBUG] MainProcess(1472):MainThread @executor.py:send_report:109 - Report from "dubppvc01" failed to sent
And my ESX hosts are not listed.
Here are detals of my /etc/sysconfig/virt-who
# Enable debugging output.
VIRTWHO_DEBUG=1
# Send the list of guest IDs and exit immediately.
#VIRTWHO_ONE_SHOT=0
# Acquire list of virtual guest each N seconds, only sends if changes detected
# 0 means default configuration.
#VIRTWHO_INTERVAL=0
# Virt-who subscription manager backend. Enable only one option from the following:
# Report to Subscription Asset Manager (SAM) or the Red Hat Customer Portal
# VIRTWHO_SAM=1
# Report to Satellite version 6
VIRTWHO_SATELLITE6=1
# Report to Satellite version 5
# VIRTWHO_SATELLITE5=0
# Report to Satellite [Legacy]
# VIRTWHO_SATELLITE=0
Here is my /etc/virt-who.d/Vcenter.conf (the only config file
[dubppvc01]
type=esx
server=vcenter.office.local
username=rhel-virt-who
#password=
encrypted_password=582c6300079d19b349ee7741f4b01cde
owner=RHEL-License
env=Library
hypervisor_id=hostname
rhsm_hostname=10.5.5.70
rhsm_username=virt-who
rhsm_encrypted_password=dbf788009a73712f4e85d54d5e41a761
rhsm_prefix=/rhsm
Our Vmware environment is ussually in lockdown mode but I have disabled it for several ESX hosts but I still get no hosts discovered.
Any help will be appreciated.
regards
Philip
Responses
- I see that you mentioned
2: moved the following enstries to /etc/sysconfig/virt-who rhsm_hostname=10.5.5.70 rhsm_username=virt-who rhsm_encrypted_password=dbf788009a73712f4e85d54d5e41a761 rhsm_prefix=/rhsm. As per the Satellite6 virtual instances guide this should be in your dubppvc01.conf file - You are right about naming the config file with
.conf- this happened with recent virt-who release and the Satellite6 doc update bug is already created to track this issue. - Can you please double check if 10.5.5.70 is the right ip address of new satellite
- also check if
virt-whouser is available in your new satellite with right permissions
I will create a bug for the broken url in virtual instances guide.
I didn't realize that you have a proxy in your environment between Satellite and the CDN - If so, virt-who will try to use it as well. I am not aware of any other documentation other than https://access.redhat.com/documentation/en-us/red_hat_satellite/6.2/html-single/virtual_instances_guide/#http_proxy and the one which you mentioned.
Since I am running out of ideas, it will be best if you can create a support ticket with necessary info.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
