Bug 1467664 - RHEV compute resource submission fails on name has already been taken error correction
RHEV compute resource submission fails on name has already been taken error c...
Status: VERIFIED
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Compute Resources - RHEV (Show other bugs)
6.3.0
Unspecified Unspecified
unspecified Severity low (vote)
: GA
: 6.X
Assigned To: orabin
Nikhil Kathole
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-07-04 09:36 EDT by Nikhil Kathole
Modified: 2017-09-17 05 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
screenshot of error (24.50 KB, image/png)
2017-07-04 09:36 EDT, Nikhil Kathole
no flags Details
log in production.log file (17.53 KB, text/plain)
2017-07-04 09:57 EDT, Nikhil Kathole
no flags Details
log in production.log file after name already taken (12.55 KB, text/plain)
2017-09-17 05:07 EDT, Nikhil Kathole
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 20452 None None None 2017-07-31 05:29 EDT

  None (edit)
Description Nikhil Kathole 2017-07-04 09:36:31 EDT
Created attachment 1294214 [details]
screenshot of error

Description of problem: We are trying to create compute resource with provider RHEV.But at first, we entered name of compute resource which is already exists, so later tried by changing the name of compute resource and found the error as "something went wrong 401 unauthorized".


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


How reproducible: always

Steps to Reproduce:
1. Navigate to infrastructure >> compute resource
2. Create compute resource with some name with any provider.ex:"compute1"
3. Try to create again compute resource but with existing compute resource name with provider "RHEV".
4. It will say "Name has already benn taken"
5. Now change the name of compute resource to any name and click submit


Actual results:
It will show error as "Something went wrong 401 unauthorized" 

Expected results:
Compute resource should be created.


Additional info:
Comment 1 Nikhil Kathole 2017-07-04 09:57 EDT
Created attachment 1294228 [details]
log in production.log file
Comment 2 Nikhil Kathole 2017-07-04 10:03:34 EDT
while performing above steps, open production.log file using command:
tail -f /var/log/foreman/production.log

We can see 500 internal error as in attachment.
Comment 4 orabin 2017-07-31 05:29:17 EDT
Created redmine issue http://projects.theforeman.org/issues/20452 from this bug
Comment 5 pm-sat@redhat.com 2017-07-31 06:06:26 EDT
Upstream bug assigned to orabin@redhat.com
Comment 6 pm-sat@redhat.com 2017-07-31 06:06:29 EDT
Upstream bug assigned to orabin@redhat.com
Comment 7 pm-sat@redhat.com 2017-08-07 10:06:28 EDT
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20452 has been resolved.
Comment 8 Nikhil Kathole 2017-09-17 05:06:55 EDT
VERIFIED

Version Tested:
Satellite-6.3 Snap 16

steps:
1. Created compute resource with name 'rhev'
2. Tried to create RHEV compute resource with name 'rhev'
3. Error as name has already taken
4. Change name as 'rhev1' and click save.

Successfully saved compute resource after name change.(see attachment for logs)
Comment 9 Nikhil Kathole 2017-09-17 05:07 EDT
Created attachment 1326919 [details]
log in production.log file after name already taken

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