Created attachment 1235595 [details] 4.1_install log Description of problem: RHVH 4.1-Beta ( rhvh-4.1-0.20161222.0 ) could be installed successfully, but unfortunately, there are some errors occur: 1. After reboot, it could not find entry boot but could enter the system, check # cat /etc/grub2.cfg, there is no rhvh-4.1-0.20161222.0 info added to this config file. 2. run #imgbase w 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/imgbased/__main__.py", line 51, in <module> CliApplication() File "/usr/lib/python2.7/site-packages/imgbased/__init__.py", line 82, in CliApplication app.hooks.emit("post-arg-parse", args) ...... #imgbase layout rhvh-4.1-0.20161222.0 +- rhvh-4.1-0.20161222.0+1 3. run #nodectl check Status: FAILED Bootloader ... FAILED - It looks like there are no valid bootloader entries. Please ensure this is fixed before rebooting. Layer boot entries ... FAILED - No bootloader entries which point to imgbased layers Valid boot entries ... FAILED - No valid boot entries for imgbased layers or non-imgbased layers Mount points ... FAILED - This can happen if the installation was performed incorrectly Separate /var ... OK Discard is used ... FAILED - 'discard' mount option was not added or got removed ..... Version-Release number of selected component (if applicable): PXE profile: RHVH-4.0-73-20161116.0 cockpit-ws-118-2.el7.x86_64 imgbased-0.8.10-0.1.el7ev.noarch How reproducible: 100% Steps to Reproduce: 1. Install redhat-virtualization-host-4.1-0.20161222.0 via anaconda GUI 2. Successfully install and reboot Actual results: After step 2, it could not find boot entry, and some tools like imgbase, nodectl could not work well. Expected results: After step 2, it could install successfully, and work correctly Additional info: Maybe imgbase tools problems result in other tool to work well and focus on attachment "grub2.cfg" to check boot info
Created attachment 1235596 [details] grub file
Created attachment 1235597 [details] boot_1 image
Created attachment 1235598 [details] boot image 2
After the installation, also catch the issue, and adding host to engine, found the failure issue: Host dguo_local installation failed. Unexpected error during execution: usage: nodectl [-h] [--version] [--debug] [--machine-readable] {info,rollback,check,motd,init,generate-banner} ... nodectl: error: unrecognized arguments: --oneline This issue blocked the registration test cases.
Can you please add the engine logs? I'm guessing it should be calling --machine-readable, not --oneline, but I didn't know host-deploy checked nodectl at all
Created attachment 1235800 [details] engine logs
(In reply to Ryan Barry from comment #5) > Can you please add the engine logs? I'm guessing it should be calling > --machine-readable, not --oneline, but I didn't know host-deploy checked > nodectl at all Hi, Ryan Barry I have uploaded engine logs on #attachment 1235800 [details], please check it
After deploy HostedEngine successfully, add additional host via engine web UI also failed.Just like add host to engine failed.So blocked by it. Thanks, Yihui
(In reply to Ryan Barry from comment #5) > Can you please add the engine logs? I'm guessing it should be calling > --machine-readable, not --oneline, but I didn't know host-deploy checked > nodectl at all Please open a separate bug about this.
(In reply to Sandro Bonazzola from comment #9) > (In reply to Ryan Barry from comment #5) > > Can you please add the engine logs? I'm guessing it should be calling > > --machine-readable, not --oneline, but I didn't know host-deploy checked > > nodectl at all > > Please open a separate bug about this. As request, submit a new bug 1409745
(In reply to dguo from comment #10) > (In reply to Sandro Bonazzola from comment #9) > > (In reply to Ryan Barry from comment #5) > > > Can you please add the engine logs? I'm guessing it should be calling > > > --machine-readable, not --oneline, but I didn't know host-deploy checked > > > nodectl at all > > > > Please open a separate bug about this. > > As request, submit a new bug 1409745 the --oneline gets called from profile.d after a successful login from /etc/profile.d/nodectl-motd.sh, it's not something that host-deploy runs. I think this was solved in bug 1409388
Hi, Ryan Barry I have retest this bug on redhat-virtualization-host-4.1-20170104.0 version version cockpit-ovirt-dashboard-0.10.7-0.0.3.el7ev.noarch kernel-3.10.0-514.2.2.el7.x86_64 ovirt-hosted-engine-setup-2.1.0-0.0.master.git46cacd3.el7ev.noarch redhat-release-virtualization-host-4.1-0.0.el7.x86_64 vdsm-4.19.1-1.el7ev.x86_64 Step to reproduce: 1. Install redhat-virtualization-host-4.1-0.20170104.0 via anaconda GUI 2. Successfully install and reboot Actual results: After step 2, RHVH is installed successfully and could reboot. According to this test result, this bug is fixed in redhat-virtualization-host-4.1-20170104.0, so i will verify this bug. Jian Wu Thanks