Description of problem: HE install via CockPit cut the install text allow only a few dozen lines of history. This can cause issue when for example user wants to access console of the VM with password displayed in the setup process. Version-Release number of selected component (if applicable): 4.0 How reproducible: Always Steps to Reproduce: 1. Run HE install via CockPit 2. Try to access console in late stages of setup Actual results: Unable to scroll back to that section of setup. Expected results: Should allow scrolling to any part of the setup process. Additional info:
There is almost no chance this will be fixed in 4.0.z. It involves a significant amount of development work on the back end, and a redesign is happening in 4.1 Please file an RFE against 4.1 to keep the full log somewhere accessible. Fabian, please nack this until when/if there's a customer ticket.
Also, please note that the output window is only truncated once input is submitted. Any/all output is kept in-between input submissions. Additionally, my understanding is that we are moving to an appliance-only flow, so the console password should be available anyway (since it is a one-stage setup then), assuming cloud-init is not used, which is also the suggested flow.
I should have checked, I assumed that the truncation happens to the text which is shown after a submission. Which effectively sounded like the text of the previous step is truncated - and this sounded like it could be fixed. As this is not the case according to comment 1, then I'm moving it out. And it might rather be implicitly fixed by bug 1367457.
No worries about checking. We do truncate the info messages after 10 (since the actual VM setup has so many that the would cover the entire screen), so possibly you were thinking of that. We truncate the messages from the previous step on input, but keep the entire output until input happens. We initially spoke about keeping the entire log, which is something we should do for 4.1 (particularly as these messages won't be shown again with the US redesign), but the development effort doesn't seem worth it for 4.0.z with a redesign coming, since the code would be abandoned after that. The logs are still available on the actual host as a workaround if necessary, and we can fix this with ~4-6 hours of development, but probably not worth it unless there's a customer case.
Created attachment 1204632 [details] screenshot
I just attached a screenshot. We truncate the top, but we don't truncate the bottom. However, it looks like there was a behavior change at some point (the bottom used to have a scrollbar), possibly in the patternfly component from npm. We don't truncate this, but it's not possible to scroll up, which should be fixed in 4.0.z... That's just a UX change, and it's a regression
On RHVH 4.0,it was unable to scroll back to that section of setup. Tested on RHVH 4.1-20161222.0, if select execte engine-setup automatically on cockpit ,it can scroll to any part of the setup process on cockpit console. Thanks, Yihui
From Comment7: When select execte engine-setup automatically on cockpit,it can scroll back to any part of the setup process on cockpit console. Version-Release number of selected component (if applicable): RHVH 4.1 So it work well on RHVH4.1. Thanks, Yihui
(In reply to Yihui Zhao from comment #8) > From Comment7: > When select execte engine-setup automatically on cockpit,it can scroll back > to any > part of the setup process on cockpit console. > > Version-Release number of selected component (if applicable): > RHVH 4.1 > > So it work well on RHVH4.1. > > Thanks, > Yihui Additional info: Version-Release number of selected component (if applicable): rhvh-4.1-0.20170104.0+1 cockpit-ovirt-dashboard-0.10.7-0.0.3.el7ev.noarch cockpit-ws-126-1.el7.x86_64 cockpit-shell-126-1.el7.noarch cockpit-storaged-126-1.el7.noarch cockpit-bridge-126-1.el7.x86_64 ovirt-hosted-engine-ha-2.1.0-0.0.master.git118000f.el7ev.noarch ovirt-hosted-engine-setup-2.1.0-0.0.master.git46cacd3.el7ev.noarch ovirt-host-deploy-1.6.0-0.2.master.gitb76ad50.el7ev.noarch 20170103.0-1.el7ev.4.0.rpm( ovirt-engine-appliance rpm)