Bug 980886 - rhevm is stucked while loading an unaccessible config file during startup
Summary: rhevm is stucked while loading an unaccessible config file during startup
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.4.0
Assignee: Michal Skrivanek
QA Contact:
URL:
Whiteboard: virt
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-03 12:45 UTC by Jiri Belka
Modified: 2014-01-05 10:53 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-05 10:53:07 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
engine.log (3.27 MB, text/plain)
2013-07-03 12:45 UTC, Jiri Belka
no flags Details

Description Jiri Belka 2013-07-03 12:45:07 UTC
Created attachment 768240 [details]
engine.log

Description of problem:

rhevm is stucked while loading an unaccessible config file during startup. Not sure how rhevm should handle this...

rhevm loads files in $ENGINE_ETC/conf/osinfo.conf.d directory, if i create a symlink in this directory pointing to problematic nfs share, rhevm would never load correctly, it's just stucked...


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

How reproducible:
100%

Steps to Reproduce:
1. create a symlink in $ENGINE_ETC/conf/osinfo.conf.d pointing to a nfs share
2. disable access to this nfs share (iptables -I INPUT -s $your_nfs_host -j DROP)
3. restart rhevm

Actual results:
rhevm stucked while starting up

Expected results:
no sure... but what about some timeout and then fail with an ERROR?

Additional info:

mount $server:$export /mnt
echo 'foobar' > /mnt/test
ln -sf /mnt/test $ENGINE_ETC/conf/osinfo.conf.d/11-link-to-unavailfs.properties
iptables -I INPUT -s $server -j DROP
service ovirt-engine restart

check log around 12:30 and later...les

Comment 1 Michal Skrivanek 2013-07-04 05:52:46 UTC
what do you mean stuck?
if your nfs share is "hard" it will hang until you fix it. That's exactly the behavior it should have 
if your nfs is using "soft" it will time out and error out. Not sure - worth a check if it fails loading osinfo file only or exits completely. The latter would be best and if it's not the case this bug should be fixed - engine should fail to start.

Comment 2 Jiri Belka 2013-07-04 13:46:09 UTC
Yes, if using 'soft' option for nfs mount, after timeout engine continues in startup and finishes.

The original question was if engine should guess it is starting up for long time thus being stucked somewhere.

Feel free to close it as user problem.

Comment 3 Itamar Heim 2014-01-05 10:53:07 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.


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