Bug 1148716 - post-auto-installation python scripts are not executed
Summary: post-auto-installation python scripts are not executed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-node
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.5.0
Assignee: Fabian Deutsch
QA Contact: Virtualization Bugs
URL:
Whiteboard: node
Depends On: 1176000
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-02 08:17 UTC by Fabian Deutsch
Modified: 2016-02-10 20:07 UTC (History)
14 users (show)

Fixed In Version: rhev-hypervisor6-6.6-20141218.0.iso rhev-hypervisor7-7.0-20141218.0.iso
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-11 21:02:17 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Showing the failed python script execution (17.47 KB, image/png)
2014-10-02 08:18 UTC, Fabian Deutsch
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:0160 0 normal SHIPPED_LIVE ovirt-node bug fix and enhancement update 2015-02-12 01:34:52 UTC
oVirt gerrit 33703 0 master MERGED auto-install: Only run hooks once Never
oVirt gerrit 35848 0 ovirt-3.5 MERGED auto-install: Only run hooks once Never

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


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