Description of problem: hammer: Activation key name update works without error but did not really update the name Version-Release number of selected component (if applicable): Satellite 6.1 GA Snap 4 Compose 2 How reproducible: Always Steps to Reproduce: hammer> activation-key create --name='testIncorrectSatellite' --organization-id=1 Activation key created hammer> activation-key update --name='testIncorrectSatellite' --new-name='testCorrectSatellite' --organization-id=1 Activation key updated hammer> activation-key info --name='testCorrectSatellite' --organization-id=1 Error: activation_key not found hammer> activation-key info --name='testIncorrectSatellite' --organization-id=1 Name: testCorrectSatellite ID: 4 Description: Content Host Limit: Unlimited Auto Attach: true Lifecycle Environment: Content View: Host Collections: Actual results: Activation key name is not updated (see above) Expected results: Activation key name should be updated Additional info:
Created redmine issue http://projects.theforeman.org/issues/10669 from this bug
Moving to POST since upstream bug http://projects.theforeman.org/issues/10669 has been closed ------------- Christine Fouant Applied in changeset commit:katello|c78f11a0ebadda49780e43b5f8543eb74b6d3c64.
Verified in Sat 6.1 GA Snap 7. hammer> activation-key list --organization-id=4 ---|----------------|----------------|-----------------------|--------------- ID | NAME | CONSUMED | LIFECYCLE ENVIRONMENT | CONTENT VIEW ---|----------------|----------------|-----------------------|--------------- 5 | rhel7ak | 1 of Unlimited | QE | rhel7cv 6 | rhel7partialak | 1 of Unlimited | QE | rhel7partialcv ---|----------------|----------------|-----------------------|--------------- hammer> activation-key info --id=6 Name: rhel7partialak ID: 6 Description: Content Host Limit: Unlimited Auto Attach: true Lifecycle Environment: QE Content View: rhel7partialcv Host Collections: hammer> activation-key update --name=rhel7partialak --new-name=newactivationkeyname --organization-id=4 Activation key updated hammer> activation-key info --id=6 Name: newactivationkeyname ID: 6 Description: Content Host Limit: Unlimited Auto Attach: true Lifecycle Environment: QE Content View: rhel7partialcv Host Collections: hammer> activation-key info --name=newactivationkeyname --organization-id=4 Name: newactivationkeyname ID: 6 Description: Content Host Limit: Unlimited Auto Attach: true Lifecycle Environment: QE Content View: rhel7partialcv Host Collections: hammer> activation-key info --name=rhel7partialak --organization-id=4 Error: activation_key not found
This bug is slated to be released with Satellite 6.1.
This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015.