Actions
Bug #19548
closedSubscriptions are not getting added via activation keys
Status:
Closed
Priority:
Normal
Assignee:
Category:
Subscriptions
Target version:
Description
Via our BATS tests:
[root@pipeline-katello-nightly-centos7 ~]# hammer -u admin -p changeme subscription list --organization="Test Organization" ---|----------------------------------|--------------|----------|----------|---------|---------|---------------------|-----------|--------- ID | UUID | NAME | TYPE | CONTRACT | ACCOUNT | SUPPORT | END DATE | QUANTITY | CONSUMED ---|----------------------------------|--------------|----------|----------|---------|---------|---------------------|-----------|--------- 2 | ff8080815c0ca0ec015c0cd8ec9e0032 | Test Product | Physical | | | | 2047/05/08 16:02:41 | Unlimited | 0 ---|----------------------------------|--------------|----------|----------|---------|---------|---------------------|-----------|--------- [root@pipeline-katello-nightly-centos7 ~]# hammer -u admin -p changeme activation-key list --organization="Test Organization" ---|---------|----------------|-----------------------|------------- ID | NAME | HOST LIMIT | LIFECYCLE ENVIRONMENT | CONTENT VIEW ---|---------|----------------|-----------------------|------------- 2 | Test AK | 1 of Unlimited | Test | Test CV ---|---------|----------------|-----------------------|------------- [root@pipeline-katello-nightly-centos7 ~]# hammer -u admin -p changeme activation-key subscriptions --organization="Test Organization" --id 2 ---|--------------|----------|----------|---------------------|---------------------|---------|----------|-------- ID | NAME | ATTACHED | QUANTITY | START DATE | END DATE | SUPPORT | CONTRACT | ACCOUNT ---|--------------|----------|----------|---------------------|---------------------|---------|----------|-------- 2 | Test Product | | | 2017/05/15 16:02:41 | 2047/05/08 16:02:41 | | | ---|--------------|----------|----------|---------------------|---------------------|---------|----------|-------- [root@pipeline-katello-nightly-centos7 ~]# subscription-manager register --force --org="Test_Organization" --activationkey="Test AK" The system with UUID 355c14af-e44c-40ff-93a5-bca33e93be28 has been unregistered The system has been registered with ID: 17639955-8a20-40f5-b8f0-da3eb7b9a742 No products installed. [root@pipeline-katello-nightly-centos7 ~]# subscription-manager list --all --available No available subscription pools to list [root@pipeline-katello-nightly-centos7 ~]# subscription-manager repos --enable="Test_Organization_Test_Product_Zoo" Error: 'Test_Organization_Test_Product_Zoo' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.
Actions