Bug 1431434 - [UI] - Gray out 'Sync All Networks' button when all networks are synced on host
Summary: [UI] - Gray out 'Sync All Networks' button when all networks are synced on host
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Network
Version: 4.1.1.4
Hardware: x86_64
OS: Linux
medium
low
Target Milestone: ovirt-4.2.0
: 4.2.0
Assignee: Ales Musil
QA Contact: Michael Burman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-12 14:27 UTC by Michael Burman
Modified: 2017-12-20 11:07 UTC (History)
3 users (show)

Fixed In Version: ovirt-engine-4.2.0-0.0.master.20170911195522.git5ddba50.el7.centos.noarch.rpm
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-20 11:07:42 UTC
oVirt Team: Network
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)
screenshot (26.68 KB, image/png)
2017-03-12 14:27 UTC, Michael Burman
no flags Details
record sync all button (1.57 MB, application/x-gzip)
2017-09-03 06:07 UTC, Michael Burman
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 79330 0 master MERGED webadmin: disable 'Sync All Networks' button when networks are synced 2017-08-30 14:39:49 UTC
oVirt gerrit 81461 0 master POST webadmin: Check original iface items for sync state 2017-09-05 12:57:43 UTC

Description Michael Burman 2017-03-12 14:27:03 UTC
Created attachment 1262226 [details]
screenshot

Description of problem:
[UI] - Gray out 'Sync All Networks' button when all networks are synced on host.

We should disable/gray out the 'Sync All Networks' button under 'Hosts' > 'Network Interfaces' when all the networks on the host are synced. 

It should be available only when one or more networks on the hosts is out-of-sync and it's a good indication when you have multiple NICs on the host.
If all networks are synced, it should be available for pressing. 

We have the same behavior for the 'Save Network Configuration' button, it is grayed out as long as all of the networks are saved on the host. If it's not grayed out and available to be pressed, it means that one or more networks are not properly saved on the host.

It's a good indication to know that everything is fine on the host and we would like to have the same behaviour for the  'Sync All Networks' button.

Version-Release number of selected component (if applicable):
4.1.1.4-0.1.el7

Comment 1 Michael Burman 2017-09-03 06:04:14 UTC
'Sync All Networks' button is now grayed out when all networks on the host are synced. But, in some cases when the networks are out-of-sync the button stays grayed out when should be editable.
Attaching record of hosts which are out of sync, on one the button is grayed out, on others editable.

Comment 2 Michael Burman 2017-09-03 06:07:18 UTC
Created attachment 1321431 [details]
record sync all button

Comment 3 Michael Burman 2017-09-12 08:15:20 UTC
Verified on - 4.2.0-0.0.master.20170911195522.git5ddba50.el7.centos

Comment 4 Sandro Bonazzola 2017-12-20 11:07:42 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.