[Spacewalk-list] RHEV 3 support

Colin Coe colin.coe at gmail.com
Thu Jan 5 22:49:44 UTC 2012


On Fri, Jan 6, 2012 at 6:14 AM, Colin Coe <colin.coe at gmail.com> wrote:
> On Tue, Jan 3, 2012 at 6:43 AM, Colin Coe <colin.coe at gmail.com> wrote:
>> On Mon, Jan 2, 2012 at 5:49 PM, Jan Pazdziora <jpazdziora at redhat.com> wrote:
>>> On Wed, Dec 28, 2011 at 07:51:37AM +0800, Colin Coe wrote:
>>>> Hmmm, or maybe not.
>>>>
>>>> I'm getting heaps of mail to root on my fat RHEL 6.2 RHEV hypervisors
>>>> that are resulting from "python
>>>> /usr/share/rhn/virtualization/poller.py" failing.  these are being
>>>> called every two minutes from /etc/cron.d/rhn-virtualization.cron.
>>>>
>>>> The trace back is
>>>> ---
>>>> Traceback (most recent call last):
>>>>   File "/usr/share/rhn/virtualization/poller.py", line 289, in <module>
>>>>     domain_list = poll_through_vdsm()
>>>>   File "/usr/share/rhn/virtualization/poller.py", line 139, in poll_through_vdsm
>>>>     import localvdsm
>>>>   File "/usr/share/rhn/virtualization/localvdsm.py", line 30, in <module>
>>>>     from config import config
>>>>   File "/usr/share/vdsm/config.py", line 69, in <module>
>>>>     config.set('vars', 'trust_store_path', constants.P_TRUSTSTORE)
>>>> ImportError: local vdsm not found
>>>> ---
>>>>
>>>> I've had a brief poke at this but not sure how to resolve.  Any ideas?
>>>
>>> What does
>>>
>>>        rpm -qf /usr/share/rhn/virtualization/localvdsm.py
>>>
>>> say?
>>>
>>> --
>>> Jan Pazdziora
>>> Principal Software Engineer, Satellite Engineering, Red Hat
>>>
>>> _______________________________________________
>>> Spacewalk-list mailing list
>>> Spacewalk-list at redhat.com
>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>
>> Hi Jan
>>
>> It was on rhn-virtualization-host-5.4.30-1.el6.noarch but I noticed
>> rhn-virtualization-host-5.4.31-1.el6.noarch was out so I upgraded to
>> that.  Same result though.
>>
>> CC
>>
>> --
>> RHCE#805007969328369
>
> Any thoughts on this?  If I can get some hints on this I'm happy to run with it.
>
> CC
>
> --
> RHCE#805007969328369

Just had another poke at this: I commented out the following lines
(/usr/share/vdsm/config.py) and now I see VMs under the virtualisation
tab of the hypervisor.
---
#config.set('vars', 'trust_store_path', constants.P_TRUSTSTORE)
#config.set('irs', 'pools_data_dir', constants.P_STORAGEPOOLS)
#config.set('irs', 'lock_util_path', constants.P_VDSM_LIBEXEC)
#config.set('irs', 'md_backup_dir', constants.P_VDSM_BACKUP)
#config.read([constants.P_VDSM_CONF + 'vdsm.conf'])
---
Not sure what the implications of doing this is though.

CC

-- 
RHCE#805007969328369




More information about the Spacewalk-list mailing list