Bug 1205826
Summary: | Docker CLI initialization error | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Mike McCune <mmccune> |
Component: | Container Management | Assignee: | Partha Aji <paji> |
Status: | CLOSED ERRATA | QA Contact: | Elyézer Rezende <erezende> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.1.0 | CC: | bkearney, erezende, jmontleo, omaciel |
Target Milestone: | Unspecified | Keywords: | Regression, Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://projects.theforeman.org/issues/10211 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-08-12 05:30:37 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mike McCune
2015-03-25 17:06:05 UTC
https://github.com/mbacovsky/hammer-cli-katello/commit/6de2776b55f00e19238b1b61f2556ffc2162bf15 needs to be cherry picked over. Failed on Satellite-6.1.0-RHEL-7-20150331.1. No docker CLI is being installed in the latest compose, because this, is not possible to verify if the bug still around or not. Steps: # hammer -v 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. ... # hammer docker --help Error: No such sub-command 'docker' See: 'hammer --help' WORKAROUND: you have to install it yourself, we don't install it by default: # yum -y install rubygem-hammer_cli_foreman_docker.noarch ... # hammer docker Usage: hammer docker [OPTIONS] SUBCOMMAND [ARG] ... .. The workaround works: # hammer --version hammer (0.1.4.8) * hammer_cli_foreman (0.1.4.7) * hammer_cli_foreman_bootdisk (0.1.2.5) * hammer_cli_foreman_discovery (0.0.1.4) * hammer_cli_gutterball (unknown version) * hammer_cli_import (0.10.6.3) * hammer_cli_katello (0.0.7.6) # hammer -v 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-report View Content Reports content-view Manipulate content views. discovery Discovery related actions. domain Manipulate domains. ... # yum -y install rubygem-hammer_cli_foreman_docker.noarch ... # hammer --version hammer (0.1.4.8) * hammer_cli_foreman (0.1.4.7) * hammer_cli_foreman_bootdisk (0.1.2.5) * hammer_cli_foreman_discovery (0.0.1.4) * hammer_cli_foreman_docker (unknown version) * hammer_cli_gutterball (unknown version) * hammer_cli_import (0.10.6.3) * hammer_cli_katello (0.0.7.6) # hammer -v 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-report View Content Reports content-view Manipulate content views. discovery Discovery related actions. docker Manipulate docker content domain Manipulate domains. ... Connecting redmine issue http://projects.theforeman.org/issues/10211 from this bug should be fixed when https://github.com/Katello/katello/pull/5187 gets merged commit 1d636013c815389699fa6b23ca72796d01a37520 Author: Bryan Kearney <bkearney> Date: Mon May 11 16:20:46 2015 -0400 1205826: Add in a require for hammer_cli_foreman_docker Verified on Satellite-6.1.0-RHEL-7-20150513.0 Steps to verify: # hammer docker --help Usage: hammer docker [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND subcommand [ARG] ... subcommand arguments Subcommands: container Manage docker containers image Manage docker images tag Manage docker tags Options: -h, --help print help The docker hammer plugin is now being installed and is working properly. This bug is slated to be released with Satellite 6.1. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2015:1592 |