Getting "rescue in all_get_vms" while trying to create an Azure VM(ARM) using puppet

asked 2016-06-17 13:39:52 -0500

Apoorv gravatar image

Here is the log:

[root@puppetmaster ~]# puppet apply azure1.pp Notice: Compiled catalog for ec2-174-129-202-34.compute-1.amazonaw... in environment production in 0.85 seconds Error: Could not run: Puppet detected a problem with the information returned from Azure when accessing azure_vm. The specific error was: Puppet::Error

/etc/puppetlabs/code/environments/production/modules/azure/lib/puppetx/puppetlabs/azure/providerarm.rb:157:in rescue in get_all_vms' /etc/puppetlabs/code/environments/production/modules/azure/lib/puppet_x/puppetlabs/azure/provider_arm.rb:145:ingetallvms' /etc/puppetlabs/code/environments/production/modules/azure/lib/puppet/provider/azurevm/azurearm.rb:17:in instances' /etc/puppetlabs/code/environments/production/modules/azure/lib/puppet_x/puppetlabs/azure/provider_base.rb:36:inprefetch' /opt/puppetlabs/puppet/lib/ruby/vendorruby/puppet/transaction.rb:305:in prefetch' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:205:inprefetchifnecessary' /opt/puppetlabs/puppet/lib/ruby/vendorruby/puppet/transaction.rb:97:in block in evaluate' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:116:incall' /opt/puppetlabs/puppet/lib/ruby/vendorruby/puppet/graph/relationshipgraph.rb:116:in traverse' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/transaction.rb:142:inevaluate' /opt/puppetlabs/puppet/lib/ruby/vendorruby/puppet/resource/catalog.rb:221:in block in apply' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util/log.rb:155:inwithdestination' /opt/puppetlabs/puppet/lib/ruby/vendorruby/puppet/transaction/report.rb:118:in as_logging_destination' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:220:inapply' /opt/puppetlabs/puppet/lib/ruby/vendorruby/puppet/configurer.rb:171:in block in apply_catalog' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:223:inblock in benchmark' /opt/puppetlabs/puppet/lib/ruby/2.1.0/benchmark.rb:294:in realtime' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:222:inbenchmark' /opt/puppetlabs/puppet/lib/ruby/vendorruby/puppet/configurer.rb:170:in apply_catalog' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:315:inruninternal' /opt/puppetlabs/puppet/lib/ruby/vendorruby/puppet/configurer.rb:186:in block in run' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/context.rb:65:inoverride' /opt/puppetlabs/puppet/lib/ruby/vendorruby/puppet.rb:240:in override' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/configurer.rb:185:inrun' /opt/puppetlabs/puppet/lib/ruby/vendorruby/puppet/application/apply.rb:350:in apply_catalog' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:274:inblock in main' /opt/puppetlabs/puppet/lib/ruby/vendorruby/puppet/context.rb:65:in override' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet.rb:240:inoverride' /opt/puppetlabs/puppet/lib/ruby/vendorruby/puppet/application/apply.rb:225:in main' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/application/apply.rb:170:inruncommand' /opt/puppetlabs/puppet/lib/ruby/vendorruby/puppet/application.rb:344:in block in run' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:540:inexitonfail' /opt ... (more)

edit retag flag offensive close merge delete