| Summary: | TinMan and Nova plugins conflict | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dusty Mabe <dustymabe> | ||||
| Component: | imagefactory-plugins | Assignee: | Ian McLeod <imcleod> | ||||
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 23 | CC: | imcleod | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-12-20 20:16:56 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: | |||||
| Attachments: |
|
||||||
This message is a reminder that Fedora 23 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 23. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '23'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 23 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |
Created attachment 1153541 [details] debuglog.txt Description of problem: The Nova and TinMan plugins conflict such when both are installed only one of them will get used and could lead to problems. I would propose that we either make them conflict at the RPM level or error out in imagefactory (rather than warn) when we have plugins that define the same thing. Here are the warnings that you get: ``` 2016-05-03 18:21:41,523 INFO imgfac.PluginManager.PluginManager thread(MainThread) Message: Plugin (Nova) loaded... 2016-05-03 18:21:41,524 WARNING imgfac.PluginManager.PluginManager thread(MainThread) Message: Did not register TinMan for (u'Fedora', None, None). Plugin Nova already registe red. 2016-05-03 18:21:41,524 WARNING imgfac.PluginManager.PluginManager thread(MainThread) Message: Did not register TinMan for (u'RHEL-6', None, None). Plugin Nova already registe red. 2016-05-03 18:21:41,524 WARNING imgfac.PluginManager.PluginManager thread(MainThread) Message: Did not register TinMan for (u'RHEL-5', None, None). Plugin Nova already registe red. 2016-05-03 18:21:41,524 WARNING imgfac.PluginManager.PluginManager thread(MainThread) Message: Did not register TinMan for (u'Ubuntu', None, None). Plugin Nova already registe red. 2016-05-03 18:21:41,524 WARNING imgfac.PluginManager.PluginManager thread(MainThread) Message: Did not register TinMan for (u'CentOS-6', None, None). Plugin Nova already regis tered. 2016-05-03 18:21:41,524 WARNING imgfac.PluginManager.PluginManager thread(MainThread) Message: Did not register TinMan for (u'CentOS-5', None, None). Plugin Nova already regis tered. 2016-05-03 18:21:41,524 WARNING imgfac.PluginManager.PluginManager thread(MainThread) Message: Did not register TinMan for (u'RHEL-7', None, None). Plugin Nova already registe red. 2016-05-03 18:21:41,525 INFO imgfac.PluginManager.PluginManager thread(MainThread) Message: Plugin (TinMan) loaded... ``` But the eventual error message you get is much more obscure: ``` 2016-05-03 18:21:41,550 ERROR imgfac.Builder.Builder thread(613e37c3) Message: Exception encountered in _build_image_from_template thread 2016-05-03 18:21:41,551 ERROR imgfac.Builder.Builder thread(613e37c3) Message: Unable to import plugin for target: ('Fedora', '20', 'x86_64') Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/imgfac/Builder.py", line 130, in _build_image_from_template self.os_plugin = plugin_mgr.plugin_for_target((template.os_name, template.os_version, template.os_arch)) File "/usr/lib/python2.7/site-packages/imgfac/PluginManager.py", line 155, in plugin_for_target raise ImageFactoryException("Unable to import plugin for target: %s" % str(target)) ImageFactoryException: Unable to import plugin for target: ('Fedora', '20', 'x86_64') Image build FAILED with error: Unable to import plugin for target: ('Fedora', '20', 'x86_64') ``` Version-Release number of selected component (if applicable): imagefactory-1.1.8-1.fc23.noarch imagefactory-plugins-TinMan-1.1.8-4.fc23.noarch imagefactory-plugins-Nova-1.1.7-2.fc23.noarch How reproducible: Always Steps to Reproduce: 1. Run a command like: imagefactory --debug base_image --file-parameter install_script koji-f24-build-13885710-base.ks --parameter offline_icicle true tdl-x86_64.xml