Project

General

Profile

Actions

Bug #27665

open

hammer srpm list => Error: lifecycle_environment not found.

Added by Vijay Singh over 5 years ago. Updated 3 months ago.

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

Description

hammer srpm list => Error: lifecycle_environment not found.

Steps:

1. Upload SRPM package to repo.
2. Try to list it as below through hammer:

[root@qe-foreman-rhel7 pkgs]# hammer srpm list --lifecycle-environment 1
Error: Could not find organization, please set one of options --organization, --organization-label, --organization-id.
[root@qe-foreman-rhel7 pkgs]# hammer srpm list --lifecycle-environment 1 --organization-id 1
Error: lifecycle_environment not found.
[root@qe-foreman-rhel7 pkgs]# 

[root@qe-foreman-rhel7-tier1 pkgs]# hammer lifecycle-environment list --organization-id 1
---|---------|------
ID | NAME    | PRIOR
---|---------|------
1  | Library |      
---|---------|------
[root@qe-foreman-rhel7-tier1 pkgs]#

Related issues 1 (1 open0 closed)

Related to Katello - Tracker #27539: [Tracker] SRPM IssuesNew

Actions
Actions

Also available in: Atom PDF