Project

General

Profile

Bug #19640

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

Added by Zach Huntington-Meath over 2 years ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Hammer
Target version:
Difficulty:
medium
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
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.

History

#1 Updated by Zach Huntington-Meath over 2 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

#2 Updated by Justin Sherrill about 2 years ago

  • Legacy Backlogs Release (now unused) set to 114
  • Difficulty set to medium

Also available in: Atom PDF