Ask Your Question

Apoorv's profile - activity

2018-11-06 13:58:03 -0600 received badge  Popular Question (source)
2018-11-06 13:57:08 -0600 received badge  Popular Question (source)
2016-06-17 13:39:52 -0600 asked a question Getting "rescue in all_get_vms" while trying to create an Azure VM(ARM) using puppet

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)

2016-06-02 10:38:55 -0600 asked a question I am relatively new to puppet and I am trying to create a VM on Azure using an AWS server which has puppet installed. Applying the file which has the configuration of my virual machine gives me the following error:

Using puppetlabs-azure module