Project

General

Profile

Actions

Bug #27665

open

hammer srpm list => Error: lifecycle_environment not found.

Added by Vijay Singh over 4 years ago. Updated over 4 years 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 #1

Updated by Vijay Singh over 4 years ago

Actions #2

Updated by Samir Jha over 4 years ago

  • Target version set to Katello 3.14.0
  • Triaged changed from No to Yes
Actions #3

Updated by Chris Roberts over 4 years ago

  • Category set to Hammer
  • Assignee deleted (Chris Roberts)

This is a current issue with not just srpms but hammer/katello in general:

[vagrant@centos7-katello-devel ~]$ hammer srpm list --lifecycle-environment "Library"
Error: Could not find organization, please set one of options --organization, --organization-label, --organization-id.
[vagrant@centos7-katello-devel ~]$ hammer package list --lifecycle-environment "Library"
Error: Could not find organization, please set one of options --organization, --organization-label, --organization-id.

Outside of the scope of the srpm feature

Actions #4

Updated by Chris Roberts over 4 years ago

  • Target version changed from Katello 3.14.0 to Katello Backlog
Actions

Also available in: Atom PDF