Bug 1214281 - On exec ovirt-node-setup displayed ImportError: No module named system_config_keyboard.keyboard
Summary: On exec ovirt-node-setup displayed ImportError: No module named system_config...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: ovirt-node
Classification: oVirt
Component: General
Version: ---
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ovirt-3.6.0-rc
: ---
Assignee: Douglas Schilling Landgraf
QA Contact: yileye
URL:
Whiteboard: node
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-22 10:51 UTC by Oleg Gashev
Modified: 2016-02-10 19:17 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-25 12:58:04 UTC
oVirt Team: Node
Embargoed:
ylavi: ovirt-3.6.0?
ylavi: planning_ack+
fdeutsch: devel_ack?
ycui: testing_ack+


Attachments (Terms of Use)
Added system-config-keyboard-base to Requires (1.47 KB, application/mbox)
2015-04-22 10:51 UTC, Oleg Gashev
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 40188 0 master MERGED spec: Add requires system-config-keyboard-base Never

Description Oleg Gashev 2015-04-22 10:51:47 UTC
Created attachment 1017365 [details]
Added system-config-keyboard-base to Requires

Description of problem:


Version-Release number of selected component (if applicable):
Fedora 22 server beta

How reproducible:


Steps to Reproduce:
1. Install fedora 22 server
2. Exec dnf install ovirt-node-setup
3. Exec exec ovirt-node-setup


Actual results:
# ovirt-node-setup

Traceback (most recent call last):
  File /usr/lib64/python2.7/runpy.py, line 162, in _run_module_as_main
    __main__, fname, loader, pkg_name)
  File /usr/lib64/python2.7/runpy.py, line 72, in _run_code
    exec code in run_globals
  File /usr/lib/python2.7/site-packages/ovirt/node/setup/__main__.py, line 26, in <module>
    from ovirt.node import app, setup
  File /usr/lib/python2.7/site-packages/ovirt/node/app.py, line 24, in <module>
    from ovirt.node.config import defaults
  File /usr/lib/python2.7/site-packages/ovirt/node/config/defaults.py, line 24, in <module>
    from ovirt.node.utils import storage, process, fs, AugeasWrapper, console,   File /usr/lib/python2.7/site-packages/ovirt/node/utils/system.py, line 29, in <module>
    import system_config_keyboard.keyboard
ImportError: No module named system_config_keyboard.keyboard

Expected results:
executed without errors.

Additional info:

Comment 1 Fabian Deutsch 2015-04-22 13:33:13 UTC
Oleg, thanks for your report.

Please note that ovirt-node-setup is _not_ intended to be installed directly on Fedora. It is only intended to be used in the ovirt-node iso.

Nevertheless we can update the rpm dependency to also require the necessary package to fullfill the requirement.

Comment 4 Fabian Deutsch 2015-11-25 12:58:04 UTC
Oh - This is actually not a bug.

Because someone tried to install ovirt-node on a regular host. This is not intended.

Comment 5 Ying Cui 2015-11-26 03:29:51 UTC
(In reply to Fabian Deutsch from comment #4)
> Oh - This is actually not a bug.
> 
> Because someone tried to install ovirt-node on a regular host. This is not
> intended.

So Fabian, then need to drop the patch?

Comment 6 Fabian Deutsch 2015-11-26 08:31:02 UTC
No, it does not do any harm.


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