Project

General

Profile

Actions

Bug #19640

open

Hammer-CLI-Katello doesn't search for lifecycle-environments properly when trying to promote.

Added by Zach Huntington-Meath almost 7 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Hammer
Target version:
Difficulty:
medium
Triaged:
Fixed in Releases:
Found in Releases:

Description

We have hit an issue where Hammers content-view version promote command responded with a NoMethodError (undefined method `[]' for nil:NilClass). Upon further inspection it seems to be because it's only searching for the content-view from the latest 20 content-view versions. If the content-view with the life cycle environment is not within these 20 it breaks with this error.

Actions #1

Updated by Zach Huntington-Meath almost 7 years ago

The command in question was:

hammer -d --username --password * --server my-katello.com content-view version promote --organization "Sat6-CI" --content-view "Satellite 6.2 RHEL7" --to-lifecycle-environment "6.2.9-7.0" --from-lifecycle-environment QA --force

Actions #2

Updated by Justin Sherrill almost 7 years ago

  • translation missing: en.field_release set to 114
  • Difficulty set to medium
Actions

Also available in: Atom PDF