Description of problem: Make livecd to USB disk via livecd-iso-to-disk ,then plug that USB media into local host. Boot from PXE. Enter into ROOT/HOSTVG_STORAGE_PAGE to check that rhev-h still filtered out live usb device in these pages. when boot from CD media, rhev-h will list live usb device in ROOT/HOSTVG_STORAGE_PAGE, so no this issue on booting from cd media Version-Release number of selected component (if applicable): rhev-hypervisor6-6.4-20121126.0.el6 How reproducible: 100% Steps to Reproduce: 1.Make livecd to USB disk via livecd-iso-to-disk 2.Plug that USB media into local host and boot from PXE 3.clean install rhev-h via TUI 4.Enter ROOT/HOSTVG_STORAGE_PAGE Actual result: After Step 4,check that rhev-h still filtered out live usb device in these pages. Expect result: rhev-h should also list live usb device in ROOT/HOSTVG_STORAGE_PAGE when boot from PXE Additional info: Maybe the root cause is that: When boot from PXE Python 2.6.6 (r266:84292, Oct 12 2012, 14:23:48) [GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from ovirtnode.ovirtfunctions import * >>> get_live_disk() '/dev/sdb1' >>> exit() so rhev-h will filter out live usb device(/dev/sdb) in ROOT/HOSTVG_STORAGE_PAGE When boot from CD media Python 2.6.6 (r266:84292, Oct 12 2012, 14:26:36) [GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from ovirtnode.ovirtfunctions import * >>> get_live_disk() 'sr0' >>> exit() so rhev-h will list live usb device(/dev/sdb) in ROOT/HOSTVG_STORAGE_PAGE
if/elif/else loggic needed some tweaks can you try this testbuild: http://jenkins.virt.bos.redhat.com/jenkins/job/rhev-hypervisor-6/lastSuccessfulBuild/artifact/rhev-hypervisor6-6.4-20121126.0.auto1171.el6.iso booted from pxe cd/usb inserted, cd device will show up in list
(In reply to comment #2) > if/elif/else loggic needed some tweaks can you try this testbuild: > > > http://jenkins.virt.bos.redhat.com/jenkins/job/rhev-hypervisor-6/ > lastSuccessfulBuild/artifact/rhev-hypervisor6-6.4-20121126.0.auto1171.el6.iso > > > booted from pxe > cd/usb inserted, cd device will show up in list Plug live usb media/CD into local host and booted rhev-hypervisor6-6.4-20121126.0.auto1171.el6 from PXE, can see that: rhev-h will list live usb device(/dev/sdb) in ROOT/HOSTVG_STORAGE_PAGE so this iso work well for this bug
*** Bug 883313 has been marked as a duplicate of this bug. ***
patch causes issues seen in bug 886439
*** Bug 886439 has been marked as a duplicate of this bug. ***
Need to rework the filter logic Test by booting from: pxe cdrom usb (livecd-iso-to-disk) usb (dd)
This will require reworking the logic for detecting the live device. We need to ensure that the logic handles the following operating systems EL6 and derivatives Fedora 18/19 And the following cases: 1. Boot from disk (/dev/mapper/, /dev/vda, etc) 2. Boot from usb (livecd-iso-to-disk) 3. Boot from usb (dd) 4. Boot from pxe 5. Boot from iso 6. Boot from cd 7. Boot from virtual media #2 and #3 are *not* the same #5 and #6 might be the same #7 is definitely different than #6 (some virtual media don't recognize the label on the disk.
This is a mass change, moving bugs of merged patches into MODIFIED. Please correct the state, if you think that the move was not justified.
Test version: rhev-hypervisor6-6.6-20141107.0.iso ovirt-node-3.1.0-0.25.20141107gitf6dc7b9.el6.noarch Test Steps 1.Make livecd to USB disk via livecd-iso-to-disk 2.Plug that USB media into local host and boot from PXE 3.clean install rhev-h via TUI 4.Enter ROOT/HOSTVG_STORAGE_PAGE Test results: rhev-h will list live usb device in ROOT/HOSTVG_STORAGE_PAGE when boot from PXE so this bug has been fixed in in rhevh 6.6 for RHEV 3.5 bulid version, change the status into "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://rhn.redhat.com/errata/RHEA-2015-0160.html