Hide Forgot
Description of problem: [root@xxxx ~]# katello --username admin --password admin activation_key update --name 1871_activate --org ACME_Corporation --env Dev --add_subscription 8ac149d334357b3e0134357ea9fa0004 unauthenticated to call a backend engine Version-Release number of selected component (if applicable): rpm -qav | grep -i katello katello-trusted-ssl-cert-1.0-1.noarch katello-cli-common-0.1.23-3.el6.noarch katello-certs-tools-1.0.1-2.el6.noarch katello-glue-foreman-0.1.135-2.el6.x86_64 katello-qpid-broker-key-pair-1.0-1.noarch katello-cli-0.1.23-3.el6.noarch katello-all-0.1.135-2.el6.x86_64 katello-configure-0.1.31-2.el6.noarch katello-common-0.1.135-2.el6.noarch katello-glue-candlepin-0.1.135-2.el6.x86_64 katello-0.1.135-2.el6.x86_64 katello-httpd-ssl-key-pair-1.0-1.noarch katello-glue-pulp-0.1.135-2.el6.x86_64 How reproducible: Via cli, Steps to Reproduce: 1. create activation keys 2. update activation keys with subscription info 3. Actual results: katello --username admin --password admin activation_key update --name 1871_activate --org ACME_Corporation --env Dev --add_subscription 8ac149d334357b3e0134357ea9fa0004 unauthenticated to call a backend engine Expected results: Should allow addition of subscription info , that is the pool_id here. Additional info:
bug for me looks like fixed. Devel confirmation needed however. I was able to activation_key update --add_subscription and successfully registered a system using that ak.
Yes, permissions are beeing reviewed. This is now working: [root@ofed ~]# subscription-manager register --username user --password useruser --org ACME_Corporation --env env --force The system with UUID 3b384ad5-1ff2-4aac-8fbd-663d006f353d has been unregistered The system has been registered with id: 7b14ac3e-ba12-4280-9194-f02c44819cfb [root@ofed ~]# rpm -q katello katello-0.1.187-1.git.1.2d46557.el6.noarch
# VERIFIED applied `activation_key update --add_subscription` works fine and the system gets registered/subscribed to the pool specified. checked against packages: --- katello-0.1.208-1.git.0.93b84c2.el6.noarch pulp-0.0.263-1.el6.noarch katello-cli-0.1.49-1.git.0.6962a71.el6.noarch candlepin-0.5.8-1.el6.noarch subscription-manager-0.99.4-1.el6.x86_64