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

knife softlayer server list #23

Open
matburstorm opened this issue May 9, 2015 · 1 comment
Open

knife softlayer server list #23

matburstorm opened this issue May 9, 2015 · 1 comment

Comments

@matburstorm
Copy link
Contributor

All of the other knife cloud plugins I'm aware of have a server list function to show what's currently running. It would be really nice is softlayer joined the cool kidz.

@benjsmi
Copy link

benjsmi commented Jul 5, 2016

This command appears to be implemented to me, but not well:

# knife softlayer -VV server list
INFO: Using configuration from /root/.chef/knife.rb
Name                 Location Public IP       Private IP      Status    
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/fog-softlayer-1.1.2/lib/fog/softlayer/models/compute/server.rb:219:in `ram=': undefined method `[]' for nil:NilClass (NoMethodError)
    from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/fog-core-1.40.0/lib/fog/core/attributes.rb:120:in `block in merge_attributes'
    from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/fog-core-1.40.0/lib/fog/core/attributes.rb:117:in `each_pair'
    from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/fog-core-1.40.0/lib/fog/core/attributes.rb:117:in `merge_attributes'
        from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/fog-core-1.40.0/lib/fog/core/model.rb:20:in `initialize'
    from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/fog-softlayer-1.1.2/lib/fog/softlayer/models/compute/server.rb:55:in `initialize'
    from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/fog-core-1.40.0/lib/fog/core/collection.rb:89:in `new'
    from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/fog-core-1.40.0/lib/fog/core/collection.rb:89:in `new'
    from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/fog-core-1.40.0/lib/fog/core/collection.rb:77:in `block in load'
    from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/fog-core-1.40.0/lib/fog/core/collection.rb:77:in `each'
    from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/fog-core-1.40.0/lib/fog/core/collection.rb:77:in `load'
        from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/fog-softlayer-1.1.2/lib/fog/softlayer/models/compute/servers.rb:20:in `all'
    from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/fog-core-1.40.0/lib/fog/core/collection.rb:113:in `lazy_load'
    from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/fog-core-1.40.0/lib/fog/core/collection.rb:17:in `each'
from /root/.chefdk/gem/ruby/2.1.0/gems/knife-softlayer-0.4.3/lib/chef/knife/softlayer_server_list.rb:21:in `run'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/knife.rb:421:in `block in run_with_pretty_exceptions'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/local_mode.rb:44:in `with_server_connectivity'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/knife.rb:420:in `run_with_pretty_exceptions'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/knife.rb:219:in `run'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/lib/chef/application/knife.rb:148:in `run'
from /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18/bin/knife:25:in `<top (required)>'
from /usr/bin/knife:52:in `load'
from /usr/bin/knife:52:in `<main>'

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

2 participants