If you omit the --environment option, it will work.
Now using of --environment option in headpin mode gives proper error message # subscription-manager register --username=user1 --password=**** --org=org1 --env=QA Error: Server does not support environments. Without using --environment option, subscription-manager command works fine # subscription-manager register --username=user1 --password=**** --org=org1 The system has been registered with id: 86754ecb-4973-4b28-a4d9-58d98bcf9042 Verified in headpin nightly: * candlepin-0.8.17-1.el6.noarch * candlepin-cert-consumer-ibm-x3650-04.ovirt.rhts.eng.bos.redhat.com-1.0-1.noarch * candlepin-tomcat6-0.8.17-1.el6.noarch * elasticsearch-0.19.9-7.el6.noarch * katello-candlepin-cert-key-pair-1.0-1.noarch * katello-certs-tools-1.4.2-1.el6.noarch * katello-cli-1.4.2-1.git.123.5415a3c.el6.noarch * katello-cli-common-1.4.2-1.git.123.5415a3c.el6.noarch * katello-common-1.4.2-1.git.846.c3e1652.el6.noarch * katello-configure-1.4.3-1.git.67.f71e590.el6.noarch * katello-glue-candlepin-1.4.2-1.git.846.c3e1652.el6.noarch * katello-glue-elasticsearch-1.4.2-1.git.846.c3e1652.el6.noarch * katello-headpin-1.4.2-1.git.846.c3e1652.el6.noarch * katello-headpin-all-1.4.2-1.git.846.c3e1652.el6.noarch * Katello-Katello-Installation-RegisterRHNClassic-1.1-4.noarch * Katello-Katello-Sanity-ImportKeys-1.2-1.noarch * katello-repos-1.4.2-1.el6.noarch * katello-selinux-1.4.3-1.git.4.99dc194.el6.noarch * thumbslug-0.0.27-1.el6.noarch * thumbslug-selinux-0.0.27-1.el6.noarch
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2013-1390.html