Description of problem: On CFME-5.7.0.9 appliance, based on cfme-rhevm-5.7.0.9-1.x86_64.rhevm.ova, VM Reconfigure for any RHV-4.0.4/RHV-3.6.8 VM (up/down) fail in production.log: "FATAL -- : Error caught: [NoMethodError] undefined method `auth_key_configured?' for nil:NilClass" (see rhevm_ova_production.log attached) On CFME UI, after pressing 'submit' nothing occurs, and there is an option to press 'Cancel'. Normally it should move to the Requests window, in order to track the request. On CFME-5.7.0.9 appliance, leased from Sprout, connected to exact same RHV-4.0, VM Reconfigure works fine (see sprout_production.log attached). Version-Release number of selected component (if applicable): CFME-5.7.0.9 Steps to reproduce: 1. Get cfme-rhevm-5.7.0.9-1.x86_64.rhevm.ova template 2. Create a VM from this template 3. Configure network, and configure Database 4. For RHV-4.0/3.6 provider try to VM reconfigure CPU/Memory/Add disk, for up/down VM. See in production.log error. Additional info: This problem is CFME appliance specific. It is not specific to RHV-4.0, as it occur for RHV-3.6 as well.
Created attachment 1218045 [details] rhevm_ova_production.log
Created attachment 1218046 [details] sprout_production.log
Tested it on CFME-5.7.0.9, and Vsphere 5.5 and VM reconfigure fails the same. therefore this bug is not specific to RHV provider. Again, on a Pre configured CFME-5.7.0.9 appliance, leased from Sprout, VM Reconfigure works fine. Could be that some configuration differences make it work.
Here are the configuration steps I do on my CFME appliance: 1. Run appliance_console 2. Choose 8) configure database 3. Choose encription key: 1 - Create key 4. Create Internal database (choose 4) ) 5. I get a message: No partition found for database disk. You probably want to add an unpartitioned disk and try again. Are you sure you don't want to partion the database disk? (Y/N): Y <-- a typo Configure this server as a dedicated database instance? (Y/N): N <-- This text was changed for CFME-5.7.0.9. On previous versions I used to enter Y for this line. 6. Each database region number must be unique. enter the database region number: 1 Enter the database password on 127.0.0.1: ******* Enter the database password again: ******* Attached the final configuration screen shot.
Created attachment 1218891 [details] Screenshot_of_final_configuration
On CFME-nightly, master.20161109064604_31921db, configured by the steps in comment #5 above: I tried, on the first time, to run RHV migrate VM (new feature for RHV), and I get same error, as I sew for VM Reconfigure, in production .log, but it appear on the CFME UI: "undefined method `auth_key_configured?' for nil:NilClass" So this problem is not failing only VM reconfigure, but also other operations.
Closing as a duplicate. *** This bug has been marked as a duplicate of bug 1389303 ***
The difference between the configuration of the Sprout pre configured CFME, and my CFME was that for Sprout database region=0, and my region=1. I configured the database on my CFME to region=0, and now VM reconfigure works fine.