Adding lifecycle environment to the Red Hat Capsule server fails with error "Could not add the lifecycle environment to the capsule: ActiveRecord::RecordNotFound"
Issue
- Adding lifecycle environment to the Red Hat Capsule server fails with below error
hammer> capsule list
---|-----------------------------------|-----------------------------------------------
ID | NAME | URL
---|-----------------------------------|-----------------------------------------------
1 | satellite.example.com | https://satellite.example.com:9090
2 | capsule.example.com | https://capsule.example.com:9090
---|-----------------------------------|-----------------------------------------------
hammer> capsule content available-lifecycle-environments --id 2
---|------------|-------------
ID | NAME | ORGANIZATION
---|------------|-------------
5 | Production | RedHat
2 | Library | RedHat
3 | Devolpment | RedHat
4 | QA | RedHat
---|------------|-------------
hammer> capsule content add-lifecycle-environment --id 2 --lifecycle-environment-id 3
Could not add the lifecycle environment to the capsule:
ActiveRecord::RecordNotFound
Environment
- Red Hat Satellite 6
- Red Hat Capsule Server
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
