Bug 1116893
| Summary: | [Admin Portal] UI is not reporting every percentage state of migration | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Jiri Belka <jbelka> | ||||||
| Component: | ovirt-engine-webadmin | Assignee: | bugs <bugs> | ||||||
| Status: | CLOSED NOTABUG | QA Contact: | Pavel Stehlik <pstehlik> | ||||||
| Severity: | low | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 3.5 | CC: | acathrow, ecohen, gklein, iheim, mgoldboi, ofrenkel, yeylon | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2014-07-08 07:51:16 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
Created attachment 916098 [details]
sosreport-LogCollector-20140707162712.7z.002
clarification: UI didn't change = migration progress bar didn't change well migration progress, like cpu usage and other, is defined as statistics information. statistics are collected every NumberVmRefreshesBeforeSave (5sec) monitoring cycles which happens every VdsRefreshRate (3sec) so this information from vdsm is collected every 15sec (assuming no load that can make it slower) so you should not expect to see the progress accurate as it is in vdsm on long migrations you will see more progress, on short, less. you can try playing with this configurations, but i wouldn't recommend it, as it will make the system behave in a different way, depend on load. |
Created attachment 916097 [details] sosreport-LogCollector-20140707162712.7z.001 Description of problem: I was trying to see if UI reports every percentage state vdsm.log is reporting. But this is not the case. I had "tail -f /var/log/vdsm/vdsm.log | grep 'Migration Progress'" on source host and I was constantly refreshing UI. There's some odd delay, I saw: Thread-220::INFO::2014-07-07 16:18:29,526::migration::466::vm.Vm::(monitor_migration) vmId=`b3915b6e-8f5f-49ce-ba10-defacde0a19c`::Migration Progress: 10 seconds elapsed, 28% of data processed then I was click on refresh button at least 5-6 times and UI didn't change. In a while new line appeared while I was still manually refreshing UI Thread-220::INFO::2014-07-07 16:18:39,539::migration::466::vm.Vm::(monitor_migration) vmId=`b3915b6e-8f5f-49ce-ba10-defacde0a19c`::Migration Progress: 20 seconds elapsed, 58% of data processed the UI in a while displayed 58%. Seems strange 28% state was skipped. Version-Release number of selected component (if applicable): vdsm-4.16.0-3.git601f786.el6.x86_64 ovirt-engine-webadmin-portal-3.5.0-0.0.master.20140629172257.git0b16ed7.el6.noarch How reproducible: 100% Steps to Reproduce: 1. tail -f /var/log/vdsm/vdsm.log | grep 'Migration Progress' on source host 2. when you see first line in vdsm.log start constantly manually refreshing UI 3. Actual results: some progress states are not displayed even manual refresh was executed after vdsm.log reported changed progress status Expected results: manual UI refresh should display progress state "immediately" Additional info: