Project

General

Profile

Actions

Bug #27033

closed

"hammer ansible roles import" complains about ISE instead of providing hint for missing proxy_id

Added by Ondřej Pražák almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Description of problem:
"hammer ansible roles import" complains about ISE instead of providing hint for missing proxy_id
This can be very confusing for users. Other

tfm-rubygem-hammer_cli_foreman_ansible-0.3.0-2.el7sat.noarch
ansible-2.8.0-1.el7ae.noarch

How reproducible:
deterministic

Steps to Reproduce:
1. Run "hammer ansible roles import" without --proxy-id option

  1. hammer ansible roles import
    Could not import roles:
    Internal Server Error: the server was unable to finish the request. This may be caused by unavailability of some required service, incorrect API call or a server-side bug. There may be more information in the server's logs.
  1. hammer ansible roles fetch
    Could not fetch roles:
    Missing arguments for 'proxy_id'

fetch subcommand shows us expected result

Actual results:
misleading message to the user

Expected results:
correct message to the user
Missing arguments for 'proxy_id'

Actions #1

Updated by The Foreman Bot almost 5 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ondřej Pražák
  • Pull request https://github.com/theforeman/foreman_ansible/pull/276 added
Actions #2

Updated by Marek Hulán almost 5 years ago

  • Subject changed from "hammer ansible roles import" complains about ISE instead of providing hint for missing proxy_id to "hammer ansible roles import" complains about ISE instead of providing hint for missing proxy_id
  • Fixed in Releases foreman-ansible 3.0.3 added
Actions #3

Updated by Anonymous almost 5 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF