Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle_excon_exception: undefined method #153

Closed
olivernaaris opened this issue Jan 22, 2015 · 3 comments
Closed

handle_excon_exception: undefined method #153

olivernaaris opened this issue Jan 22, 2015 · 3 comments

Comments

@olivernaaris
Copy link

Hi!

I was using knife-openstack and got the following error:

olivern@ubuntu:~/pt-dev-cookbook$ knife openstack server list -VV
DEBUG: openstack_username oliver.naaris
DEBUG: openstack_auth_url http://10.147.51.26:5000/v2.0
DEBUG: openstack_tenant Live2
DEBUG: openstack_endpoint_type publicURL
DEBUG: openstack_insecure
DEBUG: Using fog version: 1.27.0
/home/olivern/.chefdk/gem/ruby/2.1.0/gems/knife-cloud-1.0.1/lib/chef/knife/cloud/fog/service.rb:131:in handle_excon_exception': undefined method[]' for nil:NilClass (NoMethodError)
from /home/olivern/.chefdk/gem/ruby/2.1.0/gems/knife-cloud-1.0.1/lib/chef/knife/cloud/fog/service.rb:123:in rescue in block (2 levels) in <class:FogService>' from /home/olivern/.chefdk/gem/ruby/2.1.0/gems/knife-cloud-1.0.1/lib/chef/knife/cloud/fog/service.rb:115:inblock (2 levels) in class:FogService'
from /home/olivern/.chefdk/gem/ruby/2.1.0/gems/knife-cloud-1.0.1/lib/chef/knife/cloud/server/list_command.rb:65:in query_resource' from /home/olivern/.chefdk/gem/ruby/2.1.0/gems/knife-cloud-1.0.1/lib/chef/knife/cloud/list_resource_command.rb:35:inexecute_command'
from /home/olivern/.chefdk/gem/ruby/2.1.0/gems/knife-cloud-1.0.1/lib/chef/knife/cloud/command.rb:51:in run' from /opt/chefdk/embedded/apps/chef/lib/chef/knife.rb:493:inrun_with_pretty_exceptions'
from /opt/chefdk/embedded/apps/chef/lib/chef/knife.rb:174:in run' from /opt/chefdk/embedded/apps/chef/lib/chef/application/knife.rb:139:inrun'
from /opt/chefdk/embedded/apps/chef/bin/knife:25:in <top (required)>' from /usr/bin/knife:38:inload'
from /usr/bin/knife:38:in `

'

@grizo
Copy link

grizo commented Feb 24, 2015

I'm having the same issue against OpenStack stable (IceHouse). Using knife-openstack (1.0.0) and chef (11.18.0). fog gems:

fog (1.28.0)
fog-atmos (0.1.0)
fog-aws (0.1.0)
fog-brightbox (0.7.1)
fog-core (1.29.0)
fog-ecloud (0.0.2)
fog-json (1.0.0)
fog-profitbricks (0.0.1)
fog-radosgw (0.0.3)
fog-riakcs (0.1.0)
fog-sakuracloud (1.0.0)
fog-serverlove (0.1.1)
fog-softlayer (0.4.1)
fog-storm_on_demand (0.1.0)
fog-terremark (0.0.4)
fog-vmfusion (0.0.1)
fog-voxel (0.0.2)
fog-xml (0.1.1)

@jjasghar
Copy link
Contributor

jjasghar commented Mar 6, 2015

Ideally this PR: #159 should resolve this; we've had some underlying gem updates that have caused some issues.

@jjasghar
Copy link
Contributor

jjasghar commented Mar 7, 2015

If this is still an issue please reopen this after the updating the gem.

@jjasghar jjasghar closed this as completed Mar 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants