Azure Subscription - Error


#1

Greetings ,

We have installed a shiny EVM appliance on a Docker Container .The subscription addtion was successfully - Azure cloud provider . But we are unable to view any of the instances running on Azure .There is an Error under subscription summary table "Error - 1 Minute Ago wrong constant name $default ". Can you please help ?

I have shared the log output as well ,any help will be greatly appreciated .

Use Ctrl-C to stop
=> Booting Puma
=> Rails 5.0.3 application starting in production on http://127.0.0.1:4000
=> Run rails server -h for more startup options
Puma starting in single mode…

  • Version 3.3.0 (ruby 2.3.1-p112), codename: Jovial Platypus
  • Min threads: 5, max threads: 5
  • Environment: production
  • Listening on tcp://127.0.0.1:4000
    Use Ctrl-C to stop
    Cookie#domain returns dot-less domain name now. Use Cookie#dot_domain if you need “.” at the beginning.
    which: no prince in (/opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/bin:/opt/rh/rh-postgresql95/root/usr/bin:/sbin:/bin:/usr
    /sbin:/usr/bin:/usr/local:/usr/local/sbin:/usr/local/bin:/opt/rubies/ruby-2.3.1/bin)
    [----] E, [2017-07-12T10:59:47.566350 #387:3fac7f829130] ERROR – : MIQ(ManageIQ::Providers::Azure::CloudManager::Refres
    her#refresh) EMS: [COEAzure Subscription], id: [10] Refresh failed
    [----] E, [2017-07-12T10:59:47.569803 #387:3fac7f829130] ERROR – : [NameError]: wrong constant name $default Method:[r
    escue in block in refresh]
    [----] E, [2017-07-12T10:59:47.570006 #387:3fac7f829130] ERROR – : /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/azure-armrest-0.7.0/lib/azure/armrest/model/base_model.rb:166:in const_defined?’
    /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/azure-armrest-0.7.0/lib/azure/armrest/model/base_model.rb:166:innested
    _object’
    /opt/rubies/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/azure-armrest-0.7.0/lib/azure/armrest/model/base_model.rb:157:in `block

#2

We got this worked out on gitter through a combination of updating the azure-armrest gem and applying a minor patch to the refresh_parser.rb.