Project

General

Profile

Actions

Bug #22981

closed

Not able to attach a subscription to a host with hammer

Added by Anand Agrawal about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

~~
hammer host subscription --attach --subscription-id $id --quantity 1
~~

While attaching subscription to host via above hammer command, it fails with below error message
~~
Failed to attach subscriptions to the host:
Task a5c8d982-3c25-4d21-b8e9-0ba3feae435d: ArgumentError: comparison of String with 0 failed
~~

Same thing happens, with API when quantity is passed as "1"

Actions #1

Updated by The Foreman Bot about 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7253 added
Actions #2

Updated by Anand Agrawal about 6 years ago

  • Bugzilla link set to 1559302
Actions #3

Updated by John Mitsch about 6 years ago

  • translation missing: en.field_release set to 338
Actions #4

Updated by Anonymous almost 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF