Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
CLI Hammer version command is failing
Version-Release number of selected component (if applicable):
# rpm -q foreman
foreman-1.8.0-0.develop.201412181705git9e844ba.el7.noarch
How reproducible:
everytime
Steps to Reproduce:
1.# hammer --help
Usage:
hammer [OPTIONS] SUBCOMMAND [ARG] ...
Parameters:
SUBCOMMAND subcommand
[ARG] ... subcommand arguments
Subcommands:
activation-key Manipulate activation keys.
architecture Manipulate architectures.
auth Foreman connection login/logout.
auth-source Manipulate auth sources.
bootdisk Download boot disks
capsule Manipulate capsule
compute-resource Manipulate compute resources.
content-host Manipulate content hosts on the server
content-view Manipulate content views.
docker Manipulate docker content
domain Manipulate domains.
environment Manipulate environments.
erratum Manipulate errata
fact Search facts.
filter Manage permission filters.
global-parameter Manipulate global parameters.
gpg Manipulate GPG Key actions on the server
host Manipulate hosts.
host-collection Manipulate host collections
hostgroup Manipulate hostgroups.
import Import data exported from a Red Hat Satellite 5 instance
lifecycle-environment Manipulate lifecycle_environments on the server
location Manipulate locations.
medium Manipulate installation media.
model Manipulate hardware models.
organization Manipulate organizations
os Manipulate operating system.
package Manipulate packages.
package-group Manipulate package groups
partition-table Manipulate partition tables.
ping Get the status of the server
product Manipulate products.
proxy Manipulate smart proxies.
puppet-class Search puppet modules.
puppet-module View Puppet Module details.
report Browse and read reports.
repository Manipulate repositories
repository-set Manipulate repository sets on the server
role Manage user roles.
sc-param Manipulate smart class parameters.
shell Interactive shell
subnet Manipulate subnets.
subscription Manipulate subscriptions.
sync-plan Manipulate sync plans
task Tasks related actions.
template Manipulate config templates.
user Manipulate users.
user-group Manage user groups.
Options:
--autocomplete LINE Get list of possible endings
--csv Output as CSV (same as --output=csv)
--csv-separator SEPARATOR Character to separate the values
--interactive INTERACTIVE Explicitly turn interactive mode on/off
One of true/false, yes/no, 1/0.
--output ADAPTER Set output format. One of [base, table, silent, csv, yaml, json]
--show-ids Show ids of associated resources
--version show version
-c, --config CFG_FILE path to custom config file
-d, --debug show debugging output
-h, --help print help
-p, --password PASSWORD password to access the remote system
-r, --reload-cache force reload of Apipie cache
-s, --server SERVER remote system address
-u, --username USERNAME username to access the remote system
-v, --verbose be verbose
2.# hammer --version
hammer (0.1.4)
* hammer_cli_foreman (0.1.4)
Error: undefined method `version' for HammerCLIForemanBootdisk:Module
3.
Actual results:
Hammer version command is failing
Expected results:
hammer version should work as expected
Additional info:
please let know if foreman-debug is needed and also the system details
Comment 1RHEL Program Management
2014-12-22 06:54:22 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.
Description of problem: CLI Hammer version command is failing Version-Release number of selected component (if applicable): # rpm -q foreman foreman-1.8.0-0.develop.201412181705git9e844ba.el7.noarch How reproducible: everytime Steps to Reproduce: 1.# hammer --help Usage: hammer [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND subcommand [ARG] ... subcommand arguments Subcommands: activation-key Manipulate activation keys. architecture Manipulate architectures. auth Foreman connection login/logout. auth-source Manipulate auth sources. bootdisk Download boot disks capsule Manipulate capsule compute-resource Manipulate compute resources. content-host Manipulate content hosts on the server content-view Manipulate content views. docker Manipulate docker content domain Manipulate domains. environment Manipulate environments. erratum Manipulate errata fact Search facts. filter Manage permission filters. global-parameter Manipulate global parameters. gpg Manipulate GPG Key actions on the server host Manipulate hosts. host-collection Manipulate host collections hostgroup Manipulate hostgroups. import Import data exported from a Red Hat Satellite 5 instance lifecycle-environment Manipulate lifecycle_environments on the server location Manipulate locations. medium Manipulate installation media. model Manipulate hardware models. organization Manipulate organizations os Manipulate operating system. package Manipulate packages. package-group Manipulate package groups partition-table Manipulate partition tables. ping Get the status of the server product Manipulate products. proxy Manipulate smart proxies. puppet-class Search puppet modules. puppet-module View Puppet Module details. report Browse and read reports. repository Manipulate repositories repository-set Manipulate repository sets on the server role Manage user roles. sc-param Manipulate smart class parameters. shell Interactive shell subnet Manipulate subnets. subscription Manipulate subscriptions. sync-plan Manipulate sync plans task Tasks related actions. template Manipulate config templates. user Manipulate users. user-group Manage user groups. Options: --autocomplete LINE Get list of possible endings --csv Output as CSV (same as --output=csv) --csv-separator SEPARATOR Character to separate the values --interactive INTERACTIVE Explicitly turn interactive mode on/off One of true/false, yes/no, 1/0. --output ADAPTER Set output format. One of [base, table, silent, csv, yaml, json] --show-ids Show ids of associated resources --version show version -c, --config CFG_FILE path to custom config file -d, --debug show debugging output -h, --help print help -p, --password PASSWORD password to access the remote system -r, --reload-cache force reload of Apipie cache -s, --server SERVER remote system address -u, --username USERNAME username to access the remote system -v, --verbose be verbose 2.# hammer --version hammer (0.1.4) * hammer_cli_foreman (0.1.4) Error: undefined method `version' for HammerCLIForemanBootdisk:Module 3. Actual results: Hammer version command is failing Expected results: hammer version should work as expected Additional info: please let know if foreman-debug is needed and also the system details