Bug 1257575 - Missing buttons and power management on host edit after saving host with wrong power management
Missing buttons and power management on host edit after saving host with wron...
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine (Show other bugs)
Unspecified Unspecified
high Severity high
: ovirt-3.6.0-rc
: 3.6.0
Assigned To: Alexander Wels
Petr Matyáš
Depends On:
Blocks: 1158861
  Show dependency treegraph
Reported: 2015-08-27 07:34 EDT by Petr Matyáš
Modified: 2016-04-19 21:29 EDT (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-04-19 21:29:45 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: Infra
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
screenshot (163.10 KB, image/png)
2015-08-27 07:34 EDT, Petr Matyáš
no flags Details

External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 45595 master MERGED webadmin: Fence agent duplicate ip Never
oVirt gerrit 45880 ovirt-engine-3.6 MERGED webadmin: Fence agent duplicate ip Never
oVirt gerrit 46479 master MERGED webadmin: fence agent duplicate agents Never
oVirt gerrit 46538 ovirt-engine-3.6 MERGED webadmin: fence agent duplicate agents Never

  None (edit)
Description Petr Matyáš 2015-08-27 07:34:46 EDT
Created attachment 1067690 [details]

Description of problem:
I tried to add to host with already configured and working drac5 power management, 2 more ipmilan power managements, same address/user/password for all 3 power managements. After saving if I try to edit the host again I can't see OK/Cancel buttons, power management is disabled and all power managements are missing.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. configure host with drac5 pm
2. add 2 more pm with same address, user and password but type ipmilan and save the dialog
3. try to edit the host again

Actual results:
described above and in attached screenshot

Expected results:
error before saving the dialog with 2 of the same power management or correct dialog appearance

Additional info:
Comment 1 Einav Cohen 2015-08-28 11:43:08 EDT
Petr, can you please check if there are any javascript exceptions / anything unusual in the browser's console log?
Comment 3 Petr Matyáš 2015-09-21 13:26:41 EDT
You can still set up the same power management, when you set one with IP and the other with FQDN, but that doesn't cause any problems, so it's OK.

Other thing is that I can't set up the same PM but with another type, eg. if I want sequential agents, first drac5 and if it fails, I might want to use ipmilan.
Comment 4 Alexander Wels 2015-09-21 13:59:19 EDT
Obviously the frontend has no ability to determine if a FQDN is the same as an ip address.

So I wasn't aware that one should be allowed to use the same ip address but with a different type. Can you point me to the specification of these requirements so I can double check anything else hasn't been missed?
Comment 5 Petr Matyáš 2015-09-22 02:58:23 EDT
I cannot, it's just a logical thing to have. And I hope the only one missing in scope of this bug.
Comment 6 Alexander Wels 2015-09-22 08:08:30 EDT
Well it obviously wasn't logic to me, but I have posted a patch that checks for the ip/type combination instead of just the ip, so you can have duplicate ips with different types.

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