Hide Forgot
Description of problem: It is impossible to update the RSA key of an OpenStack Provider after it has been created. Version-Release number of selected component (if applicable): 5.6.1.2.20160810181333_8ba817b How reproducible: Always Steps to Reproduce: 1. Edit an OpenStack Director provider 2. Go to 'RSA key pair' 2. Click on 'change stored private key' to upload a new RSA Key 3. Select your file and click Validate Actual results: An error message is displayed: 'Credential validation was not successful: undefined method 'verify_credentials' for nil:NilClass' Expected results: The Key should be validated Additional info: This prevent from being able to change the RSA key and force the user to delete the provider and create a new one from sratch.
Ronnie, can you test this out and verify? I remember we tested this feature just a few weeks ago and it seemed to work.
Mainn, I can confirm the scenario described in this BZ reproduce in 5.7.0.10 latest build
I can confirm the scenario in 5.6.3.3 as well.
A pull request to fix this problem is available here: https://github.com/ManageIQ/manageiq/pull/13159
https://github.com/ManageIQ/manageiq/pull/13445
New PR solving this is the last one - https://github.com/ManageIQ/manageiq/pull/13445 Code from previous one is used in the last one.
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/40b17733fe2aec5c23dec647bbfe9d07dd5e4e6b commit 40b17733fe2aec5c23dec647bbfe9d07dd5e4e6b Author: Sam Lucidi <slucidi> AuthorDate: Tue Dec 13 16:10:23 2016 -0500 Commit: Petr Blaho <pblaho> CommitDate: Wed Jan 11 15:37:59 2017 +0100 Stop nils from appearing in list of hosts to test OSP ssh keys against Solves https://bugzilla.redhat.com/show_bug.cgi?id=1376605 app/models/manageiq/providers/openstack/infra_manager.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
verified on 5.8.0.4