E, [2021-05-03T16:29:49.146510 #679] ERROR -- : Exception caught via rescue_from (code 500): (See app/controllers/application_controller.rb) undefined method `location' for nil:NilClass /home/tempest-web/tempest/web/lib/karl/azure.rb:113:in `block in check_availability_zones' /home/tempest-web/tempest/web/lib/karl/azure.rb:113:in `select' /home/tempest-web/tempest/web/lib/karl/azure.rb:113:in `check_availability_zones' /home/tempest-web/tempest/web/lib/karl/azure.rb:16:in `check_configuration!' /home/tempest-web/tempest/web/app/models/tempest/verifiers/internal/iaas_configuration_verifier.rb:23:in `block in verify_iaas_configuration' <LINES-REDACTED> I, [2021-05-03T16:29:49.146899 #679] INFO -- : Completed 500 Internal Server Error in 11376ms (Views: 0.2ms | ActiveRecord: 1.5ms)
From the error message, the piece of code (iaas_configuration_verifier) that invokes calls for Azure API is getting unexpected or missing data when looking up resource SKUs. Ops Manager looks up a resource SKUs information to make sure availability zones are being used. It also uses that information to filter location information. When a resource SKU has an empty locationInfo field in the response, the iaas_configuration_verifier code, as a safety measure, fails and reports the 500 Internal Server Error.