Bug 1373857 - [WALA] There's error message "unexpectedly restart" when manually restart waagent service
Summary: [WALA] There's error message "unexpectedly restart" when manually restart waa...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: WALinuxAgent
Version: 7.3
Hardware: x86_64
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Yuxin Sun
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 1387783
TreeView+ depends on / blocked
 
Reported: 2016-09-07 09:48 UTC by Yuxin Sun
Modified: 2019-02-26 20:57 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-04 08:31:31 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Yuxin Sun 2016-09-07 09:48:56 UTC
Description of problem:
When enable AutoUpdate and the new version is running, run "systemctl restart waagent", there's an error message "unexpectedly restarted" in the waagent.log

Version-Release number of selected component (if applicable):
WALinuxAgent-2.1.5

RHEL Version: RHEL-7.3-20160901.1
Python Version: 2.7.5

How reproducible:
100%

Steps to Reproduce:
1. Prepare a VM with WALA-2.1.5 installed.
2. Enable AutoUpdate inside the waagent.conf, and restart service, wait for AutoUpdate done:
# AutoUpdate.Enabled=y
# systemctl restart waagent
wait for several seconds. See this log inside the waagent.log:
INFO Event: name=WALinuxAgent, op=Enable, message=Agent WALinuxAgent-2.1.6 launched with command 'python -u bin/WALinuxAgent-2.1.6-py2.7.egg -run-exthandlers' is successfully running
3. Restart waagent manually
# systemctl restart waagent
4. Check waagent.log

Actual results:
There's error messages:

2016/09/07 17:10:26.272727 INFO WALinuxAgent-2.1.6 running as process 39426
2016/09/07 17:10:26.281475 INFO WALinuxAgent-2.1.6 unexpectedly restarted
2016/09/07 17:10:26.294560 ERROR Event: name=WALinuxAgent, op=Restart, message=WALinuxAgent-2.1.6 unexpectedly restarted

Expected results:
There's no error message.

Impact:
No function impact.

Additional info:
1. This issue is already fixed in the WALA-2.1.6 upstream release build. But we need to verify it in our official package.

Comment 1 Yuxin Sun 2016-11-04 08:31:31 UTC

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


Note You need to log in before you can comment on or make changes to this bug.