Project

General

Profile

Bug #17624

session api breaks hammer csv

Added by Thomas McKay almost 5 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
core
Target version:
Difficulty:
Triaged:
Bugzilla link:

Description

https://github.com/theforeman/hammer-cli-foreman/pull/269

hammer csv no longer works

[ERROR 2016-12-10T15:07:29 Exception] Error: uninitialized constant HammerCLIForeman::BasicCredentials
Did you mean?  BasicSocket
Error: uninitialized constant HammerCLIForeman::BasicCredentials
Did you mean?  BasicSocket
[ERROR 2016-12-10T15:07:29 Exception] 

NameError (uninitialized constant HammerCLIForeman::BasicCredentials
Did you mean?  BasicSocket):
    /home/thomasmckay/code/hammer-cli-csv/lib/hammer_cli_csv/utils/config.rb:5:in `credentials'
    /home/thomasmckay/code/hammer-cli-csv/lib/hammer_cli_csv/utils/config.rb:15:in `resource_config'
    /home/thomasmckay/code/hammer-cli-csv/lib/hammer_cli_csv/utils/config.rb:35:in `api_connection'
    /home/thomasmckay/code/hammer-cli-csv/lib/hammer_cli_csv/base.rb:52:in `execute'

Related issues

Related to Hammer CLI - Feature #8016: Ability to use tokenized authentication to hammer in lieu of username/password in configuration file.Closed2014-10-21

Associated revisions

Revision a6c1d857 (diff)
Added by Tomas Strachota almost 5 years ago

Fixes #17624 - Compatibility with authenticators

Fixes #17624 - Compatibility with authenticators

- use existing foreman api connection for csv too
- adds compatibility with authenticators

History

#1 Updated by Thomas McKay almost 5 years ago

  • Related to Feature #8016: Ability to use tokenized authentication to hammer in lieu of username/password in configuration file. added

#2 Updated by The Foreman Bot almost 5 years ago

  • Pull request https://github.com/Katello/hammer-cli-csv/pull/143 added

#3 Updated by The Foreman Bot almost 5 years ago

  • Pull request https://github.com/Katello/hammer-cli-csv/pull/144 added

#4 Updated by Anonymous almost 5 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

#5 Updated by Thomas McKay almost 5 years ago

  • Legacy Backlogs Release (now unused) set to 199

Also available in: Atom PDF