Bug 967490 - engine: AutoRecovery starts a host and host gets stuck in unassigned because engine fails to clean cloneImageStructure with 'java.lang.ArrayIndexOutOfBoundsException: -1'
Summary: engine: AutoRecovery starts a host and host gets stuck in unassigned because ...
Keywords:
Status: CLOSED DUPLICATE of bug 966153
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.2.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 3.3.0
Assignee: Ayal Baron
QA Contact: Haim
URL:
Whiteboard: storage
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-27 09:42 UTC by Dafna Ron
Modified: 2016-02-10 20:31 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-09 11:52:14 UTC
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
logs (2.06 MB, application/x-gzip)
2013-05-27 09:42 UTC, Dafna Ron
no flags Details

Description Dafna Ron 2013-05-27 09:42:38 UTC
Created attachment 753532 [details]
logs

Description of problem:

I ran a vm on the hsm and blocked connectivity from the hsm to the storage domain right when we finish the createVolume task.

when engine tries to clean cloneImageStructure we fail with  'java.lang.ArrayIndexOutOfBoundsException: -1'

after the host became non-operational I restored the connectivity to the storage from the host and after a few minutes AutoRecovery tries to activate the host. 

the host is stuck in unassigned until I restarted ovirt-engine service, even host reboot does not release it. 

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

sf17.1
vdsm-4.10.2-21.0.el6ev.x86_64

How reproducible:

100%

Steps to Reproduce:
1. in iscsi storage with multiple domains and export domain, create a vm from template and run it on the hsm host
2. when FINISH, CreateSnapshotVDSCommand is logged in the engine log block connectivity to the storage domain from the hsm host using iptables 
3. when host becomes non-operational restore the connectivity to the storage

Actual results:

engine fails to clear task cloneImageStructure with 'java.lang.ArrayIndexOutOfBoundsException: -1'
when we restore the connectivity to the storage from the hsm and AutoRecovery tries to activate the host, host is stuck in unassigned until we restart engine and clear the task. 


Expected results:

host should not be stuck in unassigned because of ArrayIndexOutOfBoundsException

Additional info: logs

Comment 1 Tal Nisan 2013-07-09 11:52:14 UTC

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


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