Bug 1242213

Summary: Failed to run vdsm service on PPC host
Product: Red Hat Enterprise Virtualization Manager Reporter: Artyom <alukiano>
Component: vdsmAssignee: Yaniv Bronhaim <ybronhei>
Status: CLOSED DUPLICATE QA Contact: Aharon Canan <acanan>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.6.0CC: bazulay, ecohen, gklein, lpeer, lsurette, oourfali, ycui, yeylon
Target Milestone: ---   
Target Release: 3.6.0   
Hardware: ppc64le   
OS: Linux   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-12 14:02:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
logs none

Description Artyom 2015-07-12 11:12:15 UTC
Created attachment 1051098 [details]
logs

Description of problem:
Failed to run vdsm service on PPC host. First error was:

Jul 12 05:20:31 ibm-p8-rhevm-04 momd: Traceback (most recent call last):
Jul 12 05:20:31 ibm-p8-rhevm-04 momd: File "/usr/lib64/python2.7/logging/handlers.py", line 76, in emit
Jul 12 05:20:31 ibm-p8-rhevm-04 momd: if self.shouldRollover(record):
Jul 12 05:20:31 ibm-p8-rhevm-04 momd: File "/usr/lib64/python2.7/logging/handlers.py", line 154, in shouldRollover
Jul 12 05:20:31 ibm-p8-rhevm-04 momd: msg = "%s\n" % self.format(record)
Jul 12 05:20:31 ibm-p8-rhevm-04 momd: File "/usr/lib64/python2.7/logging/__init__.py", line 724, in format
Jul 12 05:20:31 ibm-p8-rhevm-04 momd: return fmt.format(record)
Jul 12 05:20:31 ibm-p8-rhevm-04 momd: File "/usr/lib64/python2.7/logging/__init__.py", line 464, in format
Jul 12 05:20:31 ibm-p8-rhevm-04 momd: record.message = record.getMessage()
Jul 12 05:20:31 ibm-p8-rhevm-04 momd: File "/usr/lib64/python2.7/logging/__init__.py", line 328, in getMessage
Jul 12 05:20:31 ibm-p8-rhevm-04 momd: msg = msg % self.args
Jul 12 05:20:31 ibm-p8-rhevm-04 momd: TypeError: not all arguments converted during string formatting
Jul 12 05:20:31 ibm-p8-rhevm-04 momd: Logged from file vdsmxmlrpcInterface.py, line 253

When I locally fixed logger problem, I started receive another error:

Jul 12 05:25:38 ibm-p8-rhevm-04 systemd: Stopping Auxiliary vdsm service for running helper functions as root...
Jul 12 05:25:38 ibm-p8-rhevm-04 daemonAdapter: Traceback (most recent call last):
Jul 12 05:25:38 ibm-p8-rhevm-04 daemonAdapter: File "/usr/lib64/python2.7/multiprocessing/util.py", line 268, in _run_finalizers
Jul 12 05:25:38 ibm-p8-rhevm-04 daemonAdapter: finalizer()
Jul 12 05:25:38 ibm-p8-rhevm-04 daemonAdapter: File "/usr/lib64/python2.7/multiprocessing/util.py", line 201, in __call__
Jul 12 05:25:38 ibm-p8-rhevm-04 daemonAdapter: res = self._callback(*self._args, **self._kwargs)
Jul 12 05:25:38 ibm-p8-rhevm-04 daemonAdapter: OSError: [Errno 2] No such file or directory: '/var/run/vdsm/svdsm.sock'
Jul 12 05:25:38 ibm-p8-rhevm-04 systemd: Started Auxiliary vdsm service for running helper functions as root.


Version-Release number of selected component (if applicable):
vdsm-4.17.0.8-1.el7ev.noarch

How reproducible:
Always

Steps to Reproduce:
1. Try to start vdsmd service
2.
3.

Actual results:
start vdsmd service failed with traceback

Expected results:
start vdsmd service succeed

Additional info:
see all logs under sosreport

Comment 2 Yaniv Bronhaim 2015-07-12 14:02:39 UTC
This issue was raised before - closing as duplicated. please read comment #6 in Bug 1232665 

Currently I removed the syslog configuration from /etc/vdsm/logger.conf so vdsmd is running on your system alright now - but the bug is still there, you won't get syslog reports.

Please follow the dup bug, its not ppc specific issue.

*** This bug has been marked as a duplicate of bug 1232665 ***