Bug 1055656

Summary: VDSM - hooks - after_update_device_fail hook fails
Product: Red Hat Enterprise Virtualization Manager Reporter: rhev-integ
Component: vdsmAssignee: Assaf Muller <amuller>
Status: CLOSED ERRATA QA Contact: sefi litmanovich <slitmano>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: abaron, bazulay, danken, gklein, iheim, lpeer, myakove, nyechiel, slitmano, talayan, yeylon, zdover
Target Milestone: ---Keywords: TestBlocker, Triaged, ZStream
Target Release: 3.3.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: network
Fixed In Version: is34 Doc Type: Bug Fix
Doc Text:
after_update_device now runs as expected after a hook fails to run.
Story Points: ---
Clone Of: 1047646 Environment:
Last Closed: 2014-02-27 09:43:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1047646    
Bug Blocks:    

Comment 2 Dan Kenigsberg 2014-02-02 17:12:45 UTC
http://gerrit.ovirt.org/#/c/22950/ is merged and would be included in the upcoming 3.3.1.

Comment 4 sefi litmanovich 2014-02-06 16:00:27 UTC
Verified on RHEL6.5 RHEVM3.3.1 is34.

Steps to Reproduce:

1. add some script to /usr/libexec/vdsm/hooks/after_update_device_fail/ that does something e.g "touch /var/tmp/somefile".
2. set permission for the script, CHMOD 755.
3. Invoke the hook. I did:
a) vdsClient -s rose07.qa.lab.tlv.redhat.com vmUpdateDevice 976cea23-3cc8-43bc-9b8f-b26269534af8 deviceType=interface alias=net0 network=giasfkasf

b) update fails.
4. /var/tmp/somefile found.

Comment 6 errata-xmlrpc 2014-02-27 09:43:28 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-0219.html