Project

General

Profile

Bug #28318

Running hammer auth login basic command remotely gives Error: No such device or address @ rb_sysopen - /dev/tty

Added by Martin Bacovsky about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Other commands
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Found in Releases:
In Kanboard:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1772884

Description of problem:

Running hammer auth login basic command remotely gives Error: No such device or address @ rb_sysopen - /dev/tty

Version-Release number of selected component (if applicable):
Satellite 6.7 snap 1

How reproducible:
always

Steps to Reproduce:
1. set use_session as true in hammer config
2. ssh "hammer auth login basic --username=CqVvXhXCSf --password=ExZccFurXO"

Actual results:
Error: No such device or address @ rb_sysopen - /dev/tty

Expected results:
Should run successfully.

Additional info: This is regression as the previous hammer auth login command was working fine if run remotely. Also this is automation blocker.

Associated revisions

Revision 8c3df82d (diff)
Added by Martin Bacovsky about 1 year ago

Fixes #28318 - Allow login in tty-less execution (#452)

History

#1 Updated by The Foreman Bot about 1 year ago

  • Assignee set to Martin Bacovsky
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli-foreman/pull/452 added

#2 Updated by The Foreman Bot about 1 year ago

  • Fixed in Releases hammer-cli-foreman-0.20.0 added

#3 Updated by Martin Bacovsky about 1 year ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Shira Maximov about 1 year ago

  • Fixed in Releases hammer-cli-foreman-0.19.2 added

Also available in: Atom PDF