Bug 1148716

Summary: post-auto-installation python scripts are not executed
Product: Red Hat Enterprise Virtualization Manager Reporter: Fabian Deutsch <fdeutsch>
Component: ovirt-nodeAssignee: Fabian Deutsch <fdeutsch>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 3.5.0CC: aberezin, cshao, dfediuck, ecohen, fdeutsch, gklein, hadong, huiwa, iheim, leiwang, lsurette, rbarry, yaniwang, ycui
Target Milestone: ---   
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: node
Fixed In Version: rhev-hypervisor6-6.6-20141218.0.iso rhev-hypervisor7-7.0-20141218.0.iso Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-11 21:02:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1176000    
Bug Blocks:    
Attachments:
Description Flags
Showing the failed python script execution none

Description Fabian Deutsch 2014-10-02 08:17:29 UTC
Description of problem:
Currently post-auto-installations cripts are not executed, because the python files themselves are not executable.

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

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Fabian Deutsch 2014-10-02 08:18:56 UTC
Created attachment 943324 [details]
Showing the failed python script execution

Comment 2 Fabian Deutsch 2014-10-02 09:01:43 UTC
The scripts are run twice.
During the auto-install script, and before reboot.

The attached patch will remove the second call (before reboot). This will silence the error messages.

Comment 3 haiyang,dong 2014-10-09 04:08:42 UTC
I could reproduce this issues in the follow version:
rhev-hypervisor7-7.0-20141006.0.el7ev.noarch
ovirt-node-3.1.0-0.20.20141006gitc421e04.el7.noarch

Comment 4 Ying Cui 2014-11-10 02:12:33 UTC
This issue exist on rhevh 6.6 for 3.4.z as well.
ovirt-node-3.0.1-19.el6.22.noarch
ovirt-node-plugin-rhn-3.0.1-19.el6.22.noarch
ovirt-node-plugin-snmp-3.0.1-19.el6.22.noarch
Red Hat Enterprise Virtualization Hypervisor release 6.6 (20141106.1.el6ev)

Comment 7 Ying Cui 2014-12-23 06:59:20 UTC
This bug can not be verified on build rhev-hypervisor6-6.6-20141218.0.iso, due to automatic installation failed see bug 1176000.

I will verify it when the bug 1176000 is fixed.

Comment 8 Ying Cui 2015-01-13 11:40:17 UTC
Verified this bug on build rhev-hypervisor6-6.6-20150112.0.iso(ovirt-node-3.1.0-0.42.20150109gitd06b7c5.el6.noarch) and rhev-hypervisor7-7.0-20150112.0.iso(ovirt-node-3.1.0-0.42.20150109gitd06b7c5.el7.noarch)

1. RHEVH auto install
   console=ttyS0,115200n8 storage_init=/dev/sda storage_vol=::::: firstboot
2. During installation process
3. There is no permission denied error failed python script execution in screen output.

Comment 10 errata-xmlrpc 2015-02-11 21:02:17 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.

https://rhn.redhat.com/errata/RHEA-2015-0160.html