Description of problem:If you select sat6 for 'Register to' but fill in normal rhsm details validation is successful and it pulls the org name from the server, after clicking save rhsm registration fails. Version-Release number of selected component (if applicable):5.8.0.17 How reproducible:100% Steps to Reproduce: 1.provision appliance 2.nav to configuration-settings-region-Red Hat Updates 3.edit registration 4.set 'register to' Red Hat Satellite 6 5.fill in usual rhsm details 6.click validate and save 7.try to register Actual results:registration hangs, last message shows registering evm log shows [----] E, [2017-06-21T03:53:29.472491 #2847:fc9130] ERROR -- : AwesomeSpawn: subscription-manager register exit code: 69 [----] E, [2017-06-21T03:53:29.472614 #2847:fc9130] ERROR -- : AwesomeSpawn: Error: Server does not support environments. [----] E, [2017-06-21T03:53:29.473033 #2847:fc9130] ERROR -- : MIQ(MiqQueue#deliver) Message id: [12392], Error: [subscription-manager register exit code: 69] [----] E, [2017-06-21T03:53:29.473174 #2847:fc9130] ERROR -- : [AwesomeSpawn::CommandResultError]: subscription-manager register exit code: 69 Method:[rescue in deliver] [----] E, [2017-06-21T03:53:29.473241 #2847:fc9130] ERROR -- : /opt/rh/cfme-gemset/gems/awesome_spawn-1.4.1/lib/awesome_spawn.rb:105:in `run!' Expected results:Validation fails Additional info: I don't think we do any validation on whether the host is actually sat6 or not, but when we change the 'register to' drop down to sat6 perhaps the address should change to something like <sat6 hostname>. Currently the address field name changes from Red Hat Subscription Management Address to Red Hat Satellite 6 Address but the actual hostname itself stays on subscription.rhn.redhat.com If this changed I would expect validation to fail as it would not be able to authenticate with the server, but checking this that is not the case, if you are using valid rhsm login details everything set to 'bogus' above is ignored during validation.
If the fix we want here is to change the hostname value in the form when the dropdown for type is changed, I think that would be a UI change. Reassigning.
https://github.com/ManageIQ/manageiq-ui-classic/pull/3942
New commit detected on ManageIQ/manageiq-ui-classic/master: https://github.com/ManageIQ/manageiq-ui-classic/commit/8c1eb1af86b43a1fc530b471b6b3980fbec8cf9a commit 8c1eb1af86b43a1fc530b471b6b3980fbec8cf9a Author: Milan Zazrivec <mzazrivec> AuthorDate: Tue May 15 08:43:10 2018 -0400 Commit: Milan Zazrivec <mzazrivec> CommitDate: Tue May 15 08:43:10 2018 -0400 Void serverl url input field when switching form to Sat6 https://bugzilla.redhat.com/show_bug.cgi?id=1463555 app/controllers/ops_controller/settings/common.rb | 9 + 1 file changed, 9 insertions(+)
Verified in 5.10
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:0212