Bug 1157152 - configure <Set Console Path> and Enable SCSI DH_ALUA failed after enabled iSCSI boot
Summary: configure <Set Console Path> and Enable SCSI DH_ALUA failed after enabled iSC...
Keywords:
Status: CLOSED WONTFIX
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.2
Assignee: Ryan Barry
QA Contact: Virtualization Bugs
URL:
Whiteboard: node
Depends On:
Blocks: rhevh-7.0 rhevh-software-iscsi-root
TreeView+ depends on / blocked
 
Reported: 2014-10-25 13:02 UTC by haiyang,dong
Modified: 2016-02-10 20:03 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-05 10:56:09 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
attached ovirt-node.debug.log (425.33 KB, text/plain)
2014-10-25 13:02 UTC, haiyang,dong
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 26418 0 master ABANDONED Redo Bootloader.find_grub_cfg() Never

Description haiyang,dong 2014-10-25 13:02:39 UTC
Created attachment 950650 [details]
attached ovirt-node.debug.log

Description of problem:
Auto install RHEV-H  with the follow parameters:
BOOTIF=eth0 storage_init=/dev/sda,/dev/sdb iscsi_init=/dev/sdb iscsi_target_name=iqn.2013-04.com:hadong iscsi_install iscsi_server=10.66.8.222:3260
firstboot.

After install success, login rhe-h with admin.
Then configure  <Set Console Path> and Enable SCSI DH_ALUA in TUI setup menu
but configure  <Set Console Path> and Enable SCSI DH_ALUA will failed with the follow 
error info:
     ERROR 2014-10-25 10:06:39,849 /usr/lib/python2.7/site-packages/ovirt/node/app.py:307:run: An error appeared in the UI: RuntimeError('Grub config file does not exist: <ovirt.node.utils.fs.File object at 0x303c210>',)
      INFO 2014-10-25 10:06:39,850 /usr/lib/python2.7/site-packages/ovirt/node/app.py:308:run: Exception:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/ovirt/node/app.py", line 304, in run
  ...
  File "/usr/lib/python2.7/site-packages/ovirt/node/setup/core/status_page.py", line 288, in real_console
  File "/usr/lib/python2.7/site-packages/ovirt/node/utils/system.py", line 960, in __init__
  File "/usr/lib/python2.7/site-packages/ovirt/node/utils/system.py", line 952, in find_grub_cfg
RuntimeError: Grub config file does not exist: <ovirt.node.utils.fs.File object at 0x303c210>
..
Checking pre-conditions ...
(1/1) Setting scsi_dh_alua
     DEBUG 2014-10-25 10:08:34,668 /usr/lib/python2.7/site-packages/ovirt/node/utils/console.py:180:__enter__: Redirecting <open file '<stdout>', mode 'w' at 0x7fc79ff4d150> to <StringIO.StringIO instance at 0x3a33638>
     DEBUG 2014-10-25 10:08:34,668 /usr/lib/python2.7/site-packages/ovirt/node/utils/console.py:181:__enter__: Redirecting <open file '<stderr>', mode 'w' at 0x7fc79ff4d1e0> to <StringIO.StringIO instance at 0x3a33680>
      INFO 2014-10-25 10:08:34,668 /usr/lib/python2.7/site-packages/ovirt/node/plugins.py:187ry_or: Running <function <lambda> at 0x3304e60>
     DEBUG 2014-10-25 10:08:34,668 /usr/lib/python2.7/site-packages/ovirt/node/utils/console.py:193:__exit__: Removed redirections
      INFO 2014-10-25 10:08:34,668 /usr/lib/python2.7/site-packages/ovirt/node/utils/console.py:199:__exit__: Captured nothing
      INFO 2014-10-25 10:08:34,669 /usr/lib/python2.7/site-packages/ovirt/node/ui/__init__.py:953:__run_transaction: An exception during the transaction: Grub config file does not exist: <ovirt.node.utils.fs.File object at 0x3a0b210>
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/ovirt/node/ui/__init__.py", line 949, in __run_transaction
  File "/usr/lib/python2.7/site-packages/ovirt/node/plugins.py", line 188, in dry_or
  File "/usr/lib/python2.7/site-packages/ovirt/node/ui/__init__.py", line 949, in <lambda>
  File "/usr/lib/python2.7/site-packages/ovirt/node/config/defaults.py", line 1336, in commit
  File "/usr/lib/python2.7/site-packages/ovirt/node/utils/system.py", line 960, in __init__
  File "/usr/lib/python2.7/site-packages/ovirt/node/utils/system.py", line 952, in find_grub_cfg
RuntimeError: Grub config file does not exist: <ovirt.node.utils.fs.File object at 0x3a0b210>
     DEBUG 2014-10-25 10:08:34,669 /usr/lib/python2.7/site-packages/ovirt/node/ui/urwid_builder.py:89:on_item_text_change_cb: Element changed, updating label '<Label path='dialog.progress' at 0x32f3c90>':



Version-Release number of selected component (if applicable):
rhev-hypervisor7-7.0-20141006.0.el7ev
ovirt-node-3.1.0-0.20.20141006gitc421e04.el7.noarch.rpm

How reproducible:
100%
QA Whiteboard: rhevh7

Steps to Reproduce:


Actual results:

Expected results:

Additional info:


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