Project

General

Profile

Actions

Bug #9679

closed

CLI: host-collection erratum install failed

Added by Stephen Benjamin about 9 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1187673
Description of problem:
CLI: host-collection erratum install failed

Version-Release number of selected component (if applicable):
  • apr-util-ldap-1.3.9-3.el6_0.1.x86_64
  • candlepin-0.9.38-1.el6.noarch
  • candlepin-common-1.0.18-1.el6.noarch
  • candlepin-selinux-0.9.38-1.el6.noarch
  • candlepin-tomcat6-0.9.38-1.el6.noarch
  • elasticsearch-0.90.10-7.el6.noarch
  • foreman-1.8.0-0.develop.201501290916git1f0e9bd.el6.noarch
  • foreman-compute-1.8.0-0.develop.201501290916git1f0e9bd.el6.noarch
  • foreman-gce-1.8.0-0.develop.201501290916git1f0e9bd.el6.noarch
  • foreman-libvirt-1.8.0-0.develop.201501290916git1f0e9bd.el6.noarch
  • foreman-ovirt-1.8.0-0.develop.201501290916git1f0e9bd.el6.noarch
  • foreman-postgresql-1.8.0-0.develop.201501290916git1f0e9bd.el6.noarch
  • foreman-proxy-1.8.0-0.develop.201501280951gite1bc928.el6.noarch
  • foreman-release-1.8.0-0.develop.201501290916git1f0e9bd.el6.noarch
  • foreman-selinux-1.8.0-0.develop.201412151103gite2863e4.el6.noarch
  • foreman-vmware-1.8.0-0.develop.201501290916git1f0e9bd.el6.noarch
  • katello-2.1.0-1.201411061509gitb0b8f43.el6.noarch
  • katello-certs-tools-2.0.1-1.el6.noarch
  • katello-default-ca-1.0-1.noarch
  • katello-installer-2.2.0-1.201501272021gitf707d62.el6.noarch
  • katello-installer-base-2.2.0-1.201501272021gitf707d62.el6.noarch
  • katello-repos-2.1.1-1.el6.noarch
  • katello-server-ca-1.0-1.noarch
  • openldap-2.4.39-8.el6.x86_64
  • openldap-devel-2.4.39-8.el6.x86_64
  • pulp-docker-plugins-0.2.1-0.2.beta.el6.noarch
  • pulp-katello-0.3-3.el6.noarch
  • pulp-nodes-common-2.5.1-1.el6.noarch
  • pulp-nodes-parent-2.5.1-1.el6.noarch
  • pulp-puppet-plugins-2.5.1-1.el6.noarch
  • pulp-puppet-tools-2.5.1-1.el6.noarch
  • pulp-rpm-plugins-2.5.1-1.el6.noarch
  • pulp-selinux-2.5.1-1.el6.noarch
  • pulp-server-2.5.1-1.el6.noarch
  • python-ldap-2.3.10-1.el6.x86_64
  • ruby193-rubygem-ldap_fluff-0.3.3-1.el6.noarch
  • ruby193-rubygem-net-ldap-0.10.0-1.el6.noarch
  • ruby193-rubygem-runcible-1.3.0-1.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1. hammer> host-collection erratum install --id=1 --errata RHBA-2015:0097 --organization-id=1
Could not schedule installation of errata:
Error: undefined local variable or method `content' for #<HammerCLIKatello::HostCollectionErratumCommand::InstallCommand:0x7f95505a6fa8>

2. hammer> host-collection erratum install --id=1 --errata RHBA-2015:0097 --organization='Default Organization'
Could not schedule installation of errata:
Error: undefined local variable or method `content' for #<HammerCLIKatello::HostCollectionErratumCommand::InstallCommand:0x7f954ef066b8>

3. host-collection erratum install --id=1 --errata RHBA-2015:0097 --organization-label='Default_Organization'
Could not schedule installation of errata:
Error: undefined local variable or method `content' for #<HammerCLIKatello::HostCollectionErratumCommand::InstallCommand:0x7f954f34c0b0>

4. host-collection erratum install --name=hc1 --errata RHBA-2015:0097 --organization-label='Default_Organization'
Could not schedule installation of errata:
Error: undefined local variable or method `content' for #<HammerCLIKatello::HostCollectionErratumCommand::InstallCommand:0x7f9550449d18>

Actual results:
'host-collection erratum install' errored out

Expected results:
'host-collection erratum install' should work fine

Additional info:

Actions #1

Updated by Eric Helms about 9 years ago

  • Target version set to 67
  • translation missing: en.field_release set to 23
  • Triaged changed from No to Yes
Actions #2

Updated by Eric Helms about 9 years ago

  • Target version changed from 67 to 68
Actions #3

Updated by Anonymous about 9 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF