Bug 1113505 - rhevh hangs on reboot process which installed in software iscsi after register to rhevm
Summary: rhevh hangs on reboot process which installed in software iscsi after registe...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-node
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: 3.5.2
Assignee: Fabian Deutsch
QA Contact: Virtualization Bugs
URL:
Whiteboard: node
Depends On:
Blocks: rhevh-software-iscsi-root
TreeView+ depends on / blocked
 
Reported: 2014-06-26 10:04 UTC by wanghui
Modified: 2016-07-04 00:40 UTC (History)
8 users (show)

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


Attachments (Terms of Use)

Description wanghui 2014-06-26 10:04:41 UTC
Description of problem:
Rhevh which is installed in software iscsi can not reboot successfully after register to rhevm3.4. It will hang on determine rhevm ip process and report the error like follows.
--------------------------------------------------------------------------------
iscsi:10.66.8.222::3260::iqn.2013-01.com:hadong
iscsistart: Logging into iqn.2013-01.com:hadong 10.66.8.222:3260,1
iscsistart: can not connect to iSCSI daemon (111)!
iscsistart: version 6.2.0-873.10.el6
iscsistart: Connection1:0 to [target: iqn.2013-01.com:hadong, portal: 10.66.8.222,3260] through [iface: default] is operational now
mkdir: cannot create directory `/dev/.initramfs/': File exists
                Welcome to Red Hat Enterprise Virtualization Hypervisor
Starting udev: G[  OK  ]
Setting hostname localhost.localdomain:  [  OK  ]
Setting up Logical Volume Management:   4 logical volume(s) in volume group "HostVG" now active
[  OK  ]
cp: `/etc/sysconfig/network-scripts' and `/var/lib/stateless/writable/etc/sysconfig/network-scripts' are the same file
Mounting local filesystems:  [  OK  ]
Enabling /etc/fstab swaps:  [  OK  ]
Entering non-interactive startup
Starting ovirt-early: [  OK  ]
Calling the system activity data collector (sadc)... 
Starting monitoring for VG HostVG:   4 logical volume(s) in volume group "HostVG" monitored
[  OK  ]
Starting cgconfig service: [  OK  ]
Starting multipathd daemon: [  OK  ]
ip6tables: Applying firewall rules: [  OK  ]
iptables: Applying firewall rules: [  OK  ]
Bringing up loopback interface:  [  OK  ]
Bringing up interface em1:  [  OK  ]
Bringing up interface rhevm:  
Determining IP information for rhevm...INFO: task loop0:1607 blocked for more than 120 seconds.
      Not tainted 2.6.32-431.20.3.el6.x86_64 #1
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
INFO: task loop1:1614 blocked for more than 120 seconds.
      Not tainted 2.6.32-431.20.3.el6.x86_64 #1
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
INFO: task jbd2/dm-10-8:3490 blocked for more than 120 seconds.
      Not tainted 2.6.32-431.20.3.el6.x86_64 #1
--------------------------------------------------------------------------------
Check the /proc/cmdline rhevh used during reboot, the output is as follows.

root=live:LABEL=Root netroot=iscsi:10.66.8.222::3260::iqn.2013-02.com:hadong ip=em1hcp ksdevice=bootif RD_NO_LVM  crashkernel=128M lang= rd_NO_LUKS max_loop=256 kssendmac rd_NO_MD quiet elevator=deadline rhgb rd_NO_DM

But actually we used network rhevm which is bridged network after register to rhevm. So just try to change the cmdline as follows and reboot can be succeed.

root=live:LABEL=Root netroot=iscsi:10.66.8.222::3260::iqn.2013-02.com:hadong ip=rhevmhcp bridge=rhevm:em1 ksdevice=bootif RD_NO_LVM  crashkernel=128M lang= rd_NO_LUKS max_loop=256 kssendmac rd_NO_MD quiet elevator=deadline rhgb rd_NO_DM

Version-Release number of selected component (if applicable):
rhev-hypervisor6-6.5-20140624.0.el6ev
ovirt-node-3.0.1-18.el6_5.11.noarch

How reproducible:
100%

Steps to Reproduce:
1. Install rhevh with software iscsi as follow parameters.
   BOOTIF=em1 storage_init=/dev/sda,/dev/sdb iscsi_init=/dev/sdb iscsi_install iscsi_server=10.66.8.222:3260 iscsi_target_name=iqn.2013-02.com:hadong firstboot
2. Register to rhevm3.4
3. Reboot rhevh

Actual results:
1. Rhevh hangs on reboot process and report the errors infos.

Expected results:
1. Rhevh can reboot successfully.

Additional info:


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