Katello/katello — pull request #592 by xsuchy (2012-09-06 08:37:14+00:00)
Title: skip RHSM test when registred against hosted

addressing:
```
rhsm registration with org [ FAILED ]
subscription-manager register --username=admin --password=admin --org=org_Y9VdNJY0p8AI --environment env Y9VdNJY0p8AI --name=FILTERED_HOSTNAME_Y9VdNJY0p8AI --force
ERROR: Server does not support environments.
WARNING

This system has already been registered with RHN using RHN Classic technology.

The tool you are using is attempting to re-register using RHN Certificate-Based technology. Red Hat recommends (except in a few cases) that customers only register with RHN once.

To learn more about RHN registration and technologies please consult this Knowledge Base Article: https://access.redhat.com/kb/docs/DOC-45563
removing package cheetah from the system
...
...
rhsm registration with org [ FAILED ]
subscription-manager register --username=admin --password=admin --org=org_manifest_Y9VdNJY0p8AI --name=FILTERED_HOSTNAME_Y9VdNJY0p8AI --force
Invalid username or password. To create a login, please visit https://www.redhat.com/wapps/ugc/register.html
WARNING

This system has already been registered with RHN using RHN Classic technology.

The tool you are using is attempting to re-register using RHN Certificate-Based technology. Red Hat recommends (except in a few cases) that customers only register with RHN once.

To learn more about RHN registration and technologies please consult this Knowledge Base Article: https://access.redhat.com/kb/docs/DOC-45563
rhsm subscribe to pool [ FAILED ]
subscription-manager subscribe --pool 8aa2b6a63996ee0a013996f412c70023
This system is not yet registered. Try 'subscription-manager register --help' for more information.
rhsm set releasever [ FAILED ]
subscription-manager release --set 6.2
This system is not yet registered. Try 'subscription-manager register --help' for more information.
rhsm unsubscribe all [ OK ]
rhsm unregister [ FAILED ]
subscription-manager unregister
This system is currently not registered.
rhsm list available SLAs [ FAILED ]
subscription-manager service-level --list --org=org_manifest_Y9VdNJY0p8AI --username=admin --password=admin
Invalid username or password. To create a login, please visit https://www.redhat.com/wapps/ugc/register.html
rhsm registration with SLA [ FAILED ]
subscription-manager register --username=admin --password=admin --org=org_manifest_Y9VdNJY0p8AI --name=FILTERED_HOSTNAME_Y9VdNJY0p8AI --servicelevel=SELF-SUPPORT --autosubscribe --force
Invalid username or password. To create a login, please visit https://www.redhat.com/wapps/ugc/register.html
WARNING

This system has already been registered with RHN using RHN Classic technology.

The tool you are using is attempting to re-register using RHN Certificate-Based technology. Red Hat recommends (except in a few cases) that customers only register with RHN once.

To learn more about RHN registration and technologies please consult this Knowledge Base Article: https://access.redhat.com/kb/docs/DOC-45563
rhsm unregister [ FAILED ]
subscription-manager unregister
This system is currently not registered.
```