[Spacewalk-list] RHEV 3.0 BETA hosts
Milan Zazrivec
mzazrivec at redhat.com
Wed Mar 28 11:44:20 UTC 2012
> Oops, sorry. Completely missed this question.
>
> Just spinning up a new spacewalk server (1.7 on postgres) in a new dev
> environment and I'm running into this again. RHEV 3.0.2.
>
> [root at benvir2d ~]# python /usr/share/rhn/virtualization/poller.py
> Traceback (most recent call last):
> File "/usr/share/rhn/virtualization/poller.py", line 291, in <module>
> domain_list = poll_through_vdsm()
> File "/usr/share/rhn/virtualization/poller.py", line 141, 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
> [root at benvir2d ~]#
>
> The changes indicated below still fix this for RHEV 3.0 (fat RHEL)
> hypervisors.
>
> Thanks and apologies for the delay.
Thank you -- I filed bug https://bugzilla.redhat.com/show_bug.cgi?id=807635
for this and will try to investigate / fix it.
-MZ
> On Wed, Nov 30, 2011 at 6:43 PM, Milan Zazrivec <mzazrivec at redhat.com>
wrote:
> >> Re-sending with subject...
> >>
> >> On Wed, Nov 30, 2011 at 12:29 PM, Colin Coe <colin.coe at gmail.com> wrote:
> >> > Hi all
> >> >
> >> > Was having a look at my (fat RHEL 6.1) RHEV hypervisors. I updated
> >> > rhn-virtualization* to 5.4.30-1.el6.noarch (out of nightly)
> >> >
> >> > When running 'python /usr/share/rhn/virtualization/poller.py' I get a
> >> > number of tracebacks. I hacked on /usr/share/vdsm/config.py a bit and
> >> > now it runs and the correct details are showing up in the spacewalk
> >> > web UI.
> >
> > What tracebacks do you see with the unmodified config.py?
> >
> > Thanks
> > -MZ
> >
> >> > --- /usr/share/vdsm/config.py.orig 2011-11-30 11:55:20.400750404
> >> > +0800 +++ /usr/share/vdsm/config.py 2011-11-30 11:56:00.735970257
> >> > +0800 @@ -66,7 +66,7 @@
> >> > config.set('vars', 'vm_sample_net_window', '2')
> >> >
> >> > # where the certificates and keys are situated
> >> > -config.set('vars', 'trust_store_path', constants.P_TRUSTSTORE)
> >> > +#config.set('vars', 'trust_store_path', constants.P_TRUSTSTORE)
> >> > # whether to use ssl encryption and authentication. default is true
> >> > config.set('vars', 'ssl', 'true')
> >> >
> >> > @@ -128,16 +128,16 @@
> >> > #
> >> > config.set('irs', 'nfs_mount_options',
> >> > 'soft,timeo=600,retrans=6,nosharecache,vers=3')
> >> >
> >> > -config.set('irs', 'pools_data_dir', constants.P_STORAGEPOOLS)
> >> > +#config.set('irs', 'pools_data_dir', constants.P_STORAGEPOOLS)
> >> > config.set('irs', 'vol_extend_policy', 'ON')
> >> > -config.set('irs', 'lock_util_path', constants.P_VDSM_LIBEXEC)
> >> > +#config.set('irs', 'lock_util_path', constants.P_VDSM_LIBEXEC)
> >> > config.set('irs', 'lock_cmd', 'spmprotect.sh')
> >> > config.set('irs', 'free_lock_cmd', 'spmstop.sh')
> >> > config.set('irs', 'thread_pool_size', '10')
> >> > config.set('irs', 'max_tasks', '500')
> >> > config.set('irs', 'lvm_dev_whitelist', '')
> >> > config.set('irs', 'md_backup_versions', '30')
> >> > -config.set('irs', 'md_backup_dir', constants.P_VDSM_BACKUP)
> >> > +#config.set('irs', 'md_backup_dir', constants.P_VDSM_BACKUP)
> >> > # Note: the number of pvs per vg has a hard-coded limit of 10
> >> > config.set('irs', 'maximum_allowed_pvs', '8')
> >> >
> >> > @@ -163,4 +163,4 @@
> >> > config.set('addresses', 'guests_gateway_ip', '')
> >> >
> >> > ### and finally, hide defaults with local definitions ###
> >> > -config.read([constants.P_VDSM_CONF + 'vdsm.conf'])
> >> > +#config.read([constants.P_VDSM_CONF + 'vdsm.conf'])
> >> >
> >> >
> >> > I'm not putting this forward as a fix, just a note that I had problems
> >> > with these lines un-commented.
> >> >
> >> > CC
> >> >
> >> >
> >> > --
> >> > RHCE#805007969328369
> >
> > _______________________________________________
> > Spacewalk-list mailing list
> > Spacewalk-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/spacewalk-list
More information about the Spacewalk-list
mailing list