Actions
Bug #27665
openhammer srpm list => Error: lifecycle_environment not found.
Status:
New
Priority:
Normal
Assignee:
-
Category:
Hammer
Target version:
-
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]#
Updated by Vijay Singh over 5 years ago
- Related to Tracker #27539: [Tracker] SRPM Issues added
Updated by Samir Jha over 5 years ago
- Target version set to Katello 3.14.0
- Triaged changed from No to Yes
Updated by Chris Roberts about 5 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
Updated by Chris Roberts about 5 years ago
- Target version changed from Katello 3.14.0 to Katello Backlog
Actions