| Summary: | [RHEVH] RHEVH upgrade failed ... ImportError: No module named puppet.puppet_page . | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Fabian Deutsch <fdeutsch> |
| Component: | ovirt-node | Assignee: | Ryan Barry <rbarry> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 6.5 | CC: | acathrow, bsarathy, cboyle, cshao, gouyang, hadong, hannsj_uhl, huiwa, iheim, jboggs, leiwang, lsong, mburns, mpavlik, ovirt-maint, rbarry, syeghiay, yaniwang, ycui, yeylon |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | ovirt-node-3.0.1-8.el6 | Doc Type: | Bug Fix |
| Doc Text: |
Upgrading the hypervisor was failing with the following error message: "No module named puppet.puppet_page" This occurre because Specfile definitions were allowing autoinstall files for plugins to be placed onto the base image (where the plugins are not present). This is no longer possible, and autoinstall scripts for all current and future plugins should now stay in their appropriate packages where they belong, rather than the base image.
|
Story Points: | --- |
| Clone Of: | 1035797 | Environment: | |
| Last Closed: | 2014-01-21 19:38:18 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | 1035797 | ||
| Bug Blocks: | |||
|
Description
Fabian Deutsch
2013-11-29 10:05:18 UTC
I'll look over the specfiles. I don't see a reason why puppet_autoinstall would be present at all on an image without the puppet plugin installed, since it should properly be tagged as part of ovirt-node-plugin-puppet. I haven't managed to reproduce this upstream. I'm going to dissect the RPM RHEVM passes tomorrow to see if I can find any reason why a file from the puppet plugin would be referenced in a non-puppet build. Just a specfile problem. The excludes should now be broad enough to cover everything, and future autoinstall files with the same naming conventions. *** Bug 1035797 has been marked as a duplicate of this bug. *** This bug is currently attached to errata RHBA-2013:15277. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag. Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information: * Cause: What actions or circumstances cause this bug to present. * Consequence: What happens when the bug presents. * Fix: What was done to fix the bug. * Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore') Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug. For further details on the Cause, Consequence, Fix, Result format please refer to: https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes Thank you for your help. I could reproduce this issue in rhev-hypervisor6-6.5-20131121.0.el6ev, also this bug has been fixed in the follow version:
rhev-hypervisor6-6.5-20140102.0.el6ev.noarch.rpm
ovirt-node-3.0.1-13.el6_5.noarch
Test steps:
Steps to Reproduce:
1. add rhev-hypervisor6-6.5-20140102.0.el6ev to 3.3 cluster
2. install rpm with rhev-hypervisor6-6.5-20140102.0.el6ev.noarch.rpm to RHEVM
3. put host to maintenance run upgrade
The issue for " ImportError: No module named puppet.puppet_page " has been fixed in ovirt-node-3.0.1-13.el6_5.noarch, but i met another issue "RHEVH upgrade failed ... Unexpected error during execution: Traceback (most recent call last):
File "/etc/ovirt-config-boot.d/rhn_autoinstall.py", line 55, in <module>
"rhn.password": cfg['password'],
KeyError: 'password' "
For this keyerror issue, i have report bug 1045326 to track it. so this bug has been fixed in ovirt-node-3.0.1-13.el6_5.noarch, change the status into "verified".
Hi could you please give me a quick synopsis of the fix to this problem? Thanks Specfile definitions allowed autoinstall files for plugins to sneak onto the base image (where the plugins aren't present). This is no longer possible, and autoinstall scripts for all current and future plugins should now stay in their appropriate packages where they belong rather than the base image. 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-0033.html |