Bug 885446
Summary: | restart engine-notifierd service follow linux error. | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Ilanit Stein <istein> | |
Component: | ovirt-engine-notification-service | Assignee: | Greg Padgett <gpadgett> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ilanit Stein <istein> | |
Severity: | low | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 3.1.0 | CC: | amureini, bazulay, dyasny, iheim, Rhev-m-bugs, sgrinber, ykaul, yzaslavs | |
Target Milestone: | --- | |||
Target Release: | 3.2.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | infra | |||
Fixed In Version: | sf7 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 910603 (view as bug list) | Environment: | ||
Last Closed: | 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 910603, 915537 |
Description
Ilanit Stein
2012-12-09 14:46:51 UTC
Are you sure this relates to setting to debug? what happens when you set back to info? The linux error "find: failed to restore initial working directory: Permission denied" appear for all priority levels (DEBUG, INFO, ERROR).
for DEBUG level,
Messages "DEBUG: JavaMail version 1.4.4-redhat-1
> DEBUG: successfully loaded resource: /META-INF/javamail.default.providers ..."
from the above bug description appear only for DEBUG priority level.
Bug subject has been changed accordingly.
Is it a file permissions issue ? What are the permissions of: /etc/ovirt-engine/notifier /etc/ovirt-engine/notifier/log4j.xml /etc/ovirt-engine/notifier/notifier.conf drwxr-xr-x. 2 root root 4096 Jan 8 15:43 notifier -rw-r-----. 1 ovirt ovirt 3106 Dec 26 15:59 notifier.conf -rw-r--r--. 1 root root 1320 Dec 26 15:59 log4j.xml (In reply to comment #2) > The linux error "find: failed to restore initial working directory: > Permission denied" appear for all priority levels (DEBUG, INFO, ERROR). > for DEBUG level, I was able to reproduce this; it's due to the init script executing `find` as user ovirt from root's home directory. I've submitted a simple fix to upstream, linked in the ovirt gerrit tracker. > Messages "DEBUG: JavaMail version 1.4.4-redhat-1 > > DEBUG: successfully loaded resource: /META-INF/javamail.default.providers ..." > from the above bug description appear only for DEBUG priority level. Can you attach your /etc/ovirt-engine/notifier/log4j.xml file? /etc/ovirt-engine/notifier/log4j.xml (priority set by priority value="INFO","DEBUG", "ERROR"): ==================================================================== <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false"> <!-- Log levels:DEBUG,INFO,WARN,ERROR,FATAL --> <appender name="FILE" class="org.apache.log4j.RollingFileAppender"> <param name="File" value="/var/log/ovirt-engine/notifier/notifier.log" /> <param name="Append" value="true" /> <param name="MaxFileSize" value="10000KB" /> <param name="MaxBackupIndex" value="5" /> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d %-5p [%c] %m%n" /> <!-- <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n" /> --> </layout> </appender> <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender"> <param name="Target" value="System.out" /> <layout class="org.apache.log4j.PatternLayout"> <!-- The default pattern: Date Priority [Category] Message\n --> <param name="ConversionPattern" value="%d %-5p [%c] (%t) %m%n" /> </layout> </appender> <root> <priority value="INFO" /> <!-- appender-ref ref="CONSOLE" /--> <appender-ref ref="FILE" /> </root> </log4j:configuration> New bug 910603 was cloned from this one to split up the 2 issues here: this bug - "find" error printed to terminal upon notifier startup bug 910603 - JavaMail debug output printed to terminal upon notifier startup Merged change id: I83622cbb8b39ea5792907e6efc68d824ca4b02da 3.2 has been released 3.2 has been released 3.2 has been released |