Project

General

Profile

Actions

Bug #12930

closed

hammer incremental update is broken

Added by Stephen Benjamin almost 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Errata Management
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1259057
Description of problem:
hammer incremental update is broken

Version-Release number of selected component (if applicable):
Sat 6.1.2 z-stream build

How reproducible:
Always

Steps to Reproduce:
hammer> content-view version incremental-update --content-view-version-id=43 --errata-ids='61531abe-90e3-40d2-9b7e-4f5df1bd66b7' --environment-ids='46'
An error occurred incrementally updating the content view:
Couldn't find Katello::ContentViewVersion without an ID

hammer> content-view version incremental-update --help
Usage:
content-view version incremental-update [OPTIONS]

Options:
--async Do not wait for the task
--content-host-ids CONTENT_HOST_IDS IDs of content hosts to update
Comma separated list of values.
--content-view-version CONTENT_VIEW_VERSION_VERSION Content view version number
--content-view-version-id CONTENT_VIEW_VERSION_ID Content view version identifier
--description DESCRIPTION The description for the new generated Content View Versions
--environment-ids ENVIRONMENTS list of environment IDs to update the content view version in
Comma separated list of values.
--environments ENVIRONMENT_NAMES Comma separated list of values.
--errata-ids ERRATA_IDS Errata uuids to copy into the new versions.
Comma separated list of values.
--package-ids PACKAGE_IDS a package identifier
Comma separated list of values.
--packages PACKAGE_NAMES Comma separated list of values.
--propagate-all-composites PROPAGATE_ALL_COMPOSITES If true, will publish a new composite version using any specified
content_view_version_id that has been promoted to a lifecycle environment.
One of true/false, yes/no, 1/0.
--puppet-module-ids PUPPET_MODULE_IDS a puppet module identifier
Comma separated list of values.
--puppet-modules PUPPET_MODULE_NAMES Comma separated list of values.
--resolve-dependencies RESOLVE_DEPENDENCIES If true, when adding the specified errata or packages, any needed
dependencies will be copied as well.
One of true/false, yes/no, 1/0.
--search SEARCH Search string for systems to perform an action on
--update-all-systems UPDATE_ALL_SYSTEMS Update all editable and applicable systems, not just ones using the
selected Content View Versions and Environments
One of true/false, yes/no, 1/0.
-h, --help print help

Actual results:
Incremental update errored

Expected results:
No error and incremental update should work

Additional info:

Actions #1

Updated by The Foreman Bot almost 9 years ago

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

Updated by Eric Helms almost 9 years ago

  • Translation missing: en.field_release set to 86
Actions #3

Updated by Anonymous almost 9 years ago

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

Also available in: Atom PDF