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

status and summary broken for pooler service after v3 #185

Closed
yachub opened this issue Aug 7, 2023 · 0 comments · Fixed by #186
Closed

status and summary broken for pooler service after v3 #185

yachub opened this issue Aug 7, 2023 · 0 comments · Fixed by #186
Labels

Comments

@yachub
Copy link

yachub commented Aug 7, 2023

After vmpooler v3 release https://github.com/puppetlabs/vmpooler/releases/tag/3.0.0 the status and summary subcommands for the pooler service broke since the generic top level paths were removed in favor of the api specific paths, resulting in the error:

> floaty status --service vmpooler-prod --trace
/Users/jakespain/.rvm/gems/ruby-3.1.4/gems/vmfloaty-1.8.0/lib/vmfloaty/utils.rb:211:in `pretty_print_status': undefined method `[]' for nil:NilClass (NoMethodError)

      message = status_response['status']['message']
                                         ^^^^^^^^^^^
	from /Users/jakespain/.rvm/gems/ruby-3.1.4/gems/vmfloaty-1.8.0/lib/vmfloaty.rb:394:in `block (2 levels) in run'
	from /Users/jakespain/.rvm/gems/ruby-3.1.4/gems/commander-4.6.0/lib/commander/command.rb:187:in `call'
	from /Users/jakespain/.rvm/gems/ruby-3.1.4/gems/commander-4.6.0/lib/commander/command.rb:157:in `run'
	from /Users/jakespain/.rvm/gems/ruby-3.1.4/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command'
	from /Users/jakespain/.rvm/gems/ruby-3.1.4/gems/commander-4.6.0/lib/commander/runner.rb:58:in `run!'
	from /Users/jakespain/.rvm/gems/ruby-3.1.4/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'
	from /Users/jakespain/.rvm/gems/ruby-3.1.4/gems/vmfloaty-1.8.0/lib/vmfloaty.rb:582:in `run'
	from /Users/jakespain/.rvm/gems/ruby-3.1.4/gems/vmfloaty-1.8.0/bin/floaty:8:in `<top (required)>'
	from /Users/jakespain/.rvm/gems/ruby-3.1.4/bin/floaty:25:in `load'
	from /Users/jakespain/.rvm/gems/ruby-3.1.4/bin/floaty:25:in `<main>'
	from /Users/jakespain/.rvm/gems/ruby-3.1.4/bin/ruby_executable_hooks:22:in `eval'
	from /Users/jakespain/.rvm/gems/ruby-3.1.4/bin/ruby_executable_hooks:22:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant