Description of problem:
In /var/log/messages, when start VDSM:
Feb 14 16:25:48 puma39 vdsm vds WARNING MOM initialization failed and fall back to KsmMonitor#012Traceback (most recent call last):#012 File "/usr/share/vdsm/clientIF.py", line 194, in _prepareMOM#012 self.mom = MomThread(momconf)#012 File "/usr/share/vdsm/momIF.py", line 34, in __init__#012 raise Exception("MOM is not available")#012Exception: MOM is not available
Feb 14 16:25:48 puma39 vdsm vds WARNING Unable to load the rest server module. Please make sure it is installed.
Feb 14 16:25:48 puma39 vdsm vds WARNING Unable to load the json rpc server module. Please make sure it is installed.
Version-Release number of selected component (if applicable):
vdsm-4.10.2-1.4.el6.x86_64
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
MOM integration is just warning that it's falling back to the previous ksm integration. This warning is not an issue. REST and json could be more meaningful.
The warnings are meaningful. It means that in your config.py file the variables xmlrpc_enable jsonrpc_enable are set to true and the rpms vdsm-xmlrpc and vdsm-jsonrpc are not installed. And if you planed to use it as you set it to enabled, you probably meant to install it..
I didn't understand what is wrong with that and what do you want to do with those warning? Omit them?
we do not ship or support -jsonrpc and -rest downstream, so indeed we should not even try to load them. Best and simple is a two-liner change config.py: flip the defaults of jsonrpc_enable/rest_enable to false.
I prefer that, as I like DOWNSTREAM ONLY changes to be minimal.
Description of problem: In /var/log/messages, when start VDSM: Feb 14 16:25:48 puma39 vdsm vds WARNING MOM initialization failed and fall back to KsmMonitor#012Traceback (most recent call last):#012 File "/usr/share/vdsm/clientIF.py", line 194, in _prepareMOM#012 self.mom = MomThread(momconf)#012 File "/usr/share/vdsm/momIF.py", line 34, in __init__#012 raise Exception("MOM is not available")#012Exception: MOM is not available Feb 14 16:25:48 puma39 vdsm vds WARNING Unable to load the rest server module. Please make sure it is installed. Feb 14 16:25:48 puma39 vdsm vds WARNING Unable to load the json rpc server module. Please make sure it is installed. Version-Release number of selected component (if applicable): vdsm-4.10.2-1.4.el6.x86_64 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: