Actions
Bug #6258
closedhammer activation-key update fails for all scenarios
Description
Steps to Reproduce:
1. Create Activation key
All hammer activation-key update scenarios are blocked with this same issue. Example:
1. Create Activation key
- hammer activation-key create --organization-id=1 --name='ak' --content-view='cv1'
Activation key created
- hammer activation-key info --name='ak' --organization-id=1
Name: ak
ID: 6
Description:
Lifecycle Environment:
Content View: cv1
Host Collections:
3. Try updating Activation key:
Scenario 1:- hammer activation-key update --name='ak' --organization-id=1 --new-name='ak123'
Could not update the activation key:
Error: Missing options to search environment
- hammer activation-key update --name='ak' --organization-id=1 --new-name='ak123' --environment=''
Could not update the activation key:
Error: environment found more than once
Actual results:
Activation key update errored
Expected results:
Activation key update works successfully
All hammer activation-key update scenarios are blocked with this same issue. Example:
- hammer activation-key update --name='ak' --organization-id=1 --environment='DEV' --content-view='cv1'
Could not update the activation key:
Error: environment found more than once
Actions