Bug 1393661
Summary: | Any host installed with RHVH-4.0-20161018.0-RHVH-x86_64-dvd1.iso is showing same iqn name. | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Kumar Mashalkar <kmashalk> | |
Component: | imgbased | Assignee: | Ryan Barry <rbarry> | |
Status: | CLOSED ERRATA | QA Contact: | Qin Yuan <qiyuan> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 4.0.4 | CC: | cshao, dfediuck, gveitmic, lsurette, mgoldboi, mkalinin, pstehlik, rbarry, srevivo, tnisan, ycui, ykaul | |
Target Milestone: | ovirt-4.1.0-beta | Keywords: | ZStream | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | imgbased-0.8.19-0.1.el7ev | Doc Type: | No Doc Update | |
Doc Text: |
undefined
|
Story Points: | --- | |
Clone Of: | ||||
: | 1397007 (view as bug list) | Environment: | ||
Last Closed: | 2017-04-20 19:01:34 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | Node | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | 1393833 | |||
Bug Blocks: | 1397007 |
Description
Kumar Mashalkar
2016-11-10 06:14:12 UTC
This should really be fixed in platform. But this script can be used to generate a new name: sed "s/:.*$/:$(cut -d- -f 5 < /proc/sys/kernel/random/uuid)/" < /etc/iscsi/initiatorname.iscsi Test this issue on redhat-virtualization-host-4.0-20161115.1. Test steps are split into two parts, one is initial install test, the other is upgrade test. The test steps and results are as followed: Initial install test: 1. Install RHVH on several servers(for example, 3 servers) 2. Check the initiator iqn on each server after login to RHVH cat /etc/iscsi/initiatorname.iscsi 3. Reboot the server, and check the initiator iqn again Initial install results: 1. Each server has an unique initiator iqn. 2. After reboot, the iqn can be persisted. Upgrade test: 1. Install an old version RHVH(redhat-virtualization-host-4.0-20160919.0) 2. Check the initiator iqn after login to the old version RHVH 3. Upgrade to the latest version(redhat-virtualization-host-4.0-20161115.1) 4. Reboot and login to the latest version RHVH 5. Check the initiator iqn again Upgrade results: After upgrade, the initiator iqn of the latest RHVH is the same as the old RHVH. Fabian, there are two questions need your confirmation: 1. If the test steps are sufficient to test this issue? 2. All hosts installed with one old version, such as redhat-virtualization-host-4.0-20160919.0, have the same initiator iqn. Upgrade them to the latest version, the iqn will be persisted. So, after upgrade, all hosts with the latest version will have the same iqn as well. To resolve this problem, should we generate the unique iqn manually before upgrade? This bug had requires_doc_text flag, yet no documentation text was provided. Please add the documentation text and only then set this flag. Test Versions: redhat-virtualization-host-4.1-20170116.0 imgbased-0.9.4-0.1.el7ev.noarch Test Steps: 1. Install RHVH on 3 servers 2. Check the initiator iqn on each server after login to RHVH #cat /etc/iscsi/initiatorname.iscsi 3. Reboot the server, and check the initiator iqn again Test Results: 1. Each server has an unique initiator iqn. 2. After reboot, the iqn can be persisted. The bug is fixed, set the status to VERIFIED 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. https://access.redhat.com/errata/RHEA-2017:1114 |