Bug 1361258 - Editing RHEVM has default API Port 5000 in UI even though no port was set when creaing
Summary: Editing RHEVM has default API Port 5000 in UI even though no port was set whe...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.7.0
Assignee: lgalis
QA Contact: Matouš Mojžíš
URL:
Whiteboard: ui:provider:rhevm
: 1365959 (view as bug list)
Depends On:
Blocks: 1368168
TreeView+ depends on / blocked
 
Reported: 2016-07-28 15:40 UTC by Matouš Mojžíš
Modified: 2019-12-16 06:13 UTC (History)
14 users (show)

Fixed In Version: 5.7.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1368168 (view as bug list)
Environment:
Last Closed: 2017-01-11 19:50:33 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Matouš Mojžíš 2016-07-28 15:40:38 UTC
Description of problem:


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

How reproducible:
Always

Steps to Reproduce:
1. Add a rhevm provider without API Port set
2. Edit that provider name/IP
3. Try to validate it

Actual results:
It doesn't get validated, because API Port is filled in with "5000".
So everytime I edit it I have to delete predefined port 5000.

Expected results:
No API Port filled in when editing provider without port set in creation. 

Additional info:

Comment 3 Matouš Mojžíš 2016-08-04 11:33:06 UTC
1) I added rhevm provider with port blank. (In summary is API Port blank)
2) I tried to edit rhevm provider then.
3) Now I see API Port field pre-filled with port 5000
4) I can't validate it, so I must clear that port field.

Comment 6 lgalis 2016-08-19 16:33:34 UTC
*** Bug 1365959 has been marked as a duplicate of this bug. ***

Comment 7 Satoe Imaishi 2016-08-29 12:45:19 UTC
PR: https://github.com/ManageIQ/manageiq/pull/10376

Comment 8 Ilanit Stein 2016-09-15 08:32:03 UTC
Verified on:
CFME-5.7.0.1.20160913164703_66caf07
RHV-4.0.3-0.1.el7ev

1) Added rhevm provider with port blank. (In summary is API Port blank)
2) Edited rhevm provider to another IP address & password.
3) API Port field was empty, and I left it that way.
4) validate for the new values was successful.
5) Save of the data successful as well.
6) Refresh for the new setup data was displayed OK.

** Not sure this bug addresses the attached Red Hat Customer Portal case ID 01671420.
This case seem more related to bug 1370208, where it is also attached.


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