[Spacewalk-list] (no subject)
Colin Coe
colin.coe at gmail.com
Wed Nov 30 04:29:42 UTC 2011
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.
--- /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
More information about the Spacewalk-list
mailing list