[katello-devel] moving of systems between environments

Og Maciel omaciel at redhat.com
Wed Aug 15 00:56:09 UTC 2012


> I would imagine a 'subscription-manager refresh' would do it... that
> said, I tried out the above with an install of the latest from git.
> Some notes:
> 
> * The webUI worked fine, the system shows up in the next environment
> I
> moved it to

Same here
 
> * Tried a 'subscription-manager refresh' and took a look at the
> redhat.repos file and it still pointed at /dev/ but I had moved the
> system to test
> 
> * tried 'yum repolist', same thing

Ditto.

FWIW, here's what my client's (moved from Development to QA) rhsm.log shows:

2012-08-14 20:24:56,402 [INFO]  @connection.py:350 - Using certificate authentication: key = /etc/pki/consumer/key.pem, cert = /etc/pki/consumer/cert.pem, ca = /etc/rhsm/ca/, insecure = False
2012-08-14 20:24:56,403 [DEBUG]  @connection.py:188 - Loading CA PEM certificates from: /etc/rhsm/ca/
2012-08-14 20:24:56,403 [DEBUG]  @connection.py:171 - Loading CA certificate: '/etc/rhsm/ca/redhat-uep.pem'
2012-08-14 20:24:56,404 [DEBUG]  @connection.py:171 - Loading CA certificate: '/etc/rhsm/ca/candlepin-stage.pem'
2012-08-14 20:24:56,404 [DEBUG]  @connection.py:171 - Loading CA certificate: '/etc/rhsm/ca/candlepin-local.pem'
2012-08-14 20:24:56,405 [DEBUG]  @connection.py:209 - Making request: GET /katello/api/
2012-08-14 20:24:56,461 [DEBUG]  @connection.py:218 - Response status: 200
2012-08-14 20:24:56,462 [DEBUG]  @connection.py:379 - Server supports the following resources:
2012-08-14 20:24:56,462 [DEBUG]  @connection.py:380 - {'templates': '/api/templates/', 'organizations': '/api/organizations/', 'tasks': '/api/tasks/', 'users': '/api/users/', 'roles': '/api/roles/', 'changesets': '/api/changesets/', 'providers': '/api/providers/', 'repositories': '/api/repositories/', 'environments': '/api/environments/', 'entitlements': '/api/entitlements/', 'systems': '/api/systems/', 'gpg_keys': '/api/gpg_keys/', 'activation_keys': '/api/activation_keys/', 'packages': '/api/packages/', 'consumers': '/api/consumers/'}
2012-08-14 20:24:56,463 [INFO]  @connection.py:362 - Connection Established: host: qetello02.usersys.redhat.com, port: 443, handler: /katello/api
2012-08-14 20:24:56,653 [DEBUG]  @cert_sorter.py:89 - Sorting product and entitlement cert status for: 2012-08-15 00:24:56.653666+00:00
2012-08-14 20:24:56,655 [DEBUG]  @cert_sorter.py:176 - Installed product IDs: ['69']
2012-08-14 20:24:56,671 [DEBUG]  @cert_sorter.py:93 - valid entitled products: ['69']
2012-08-14 20:24:56,671 [DEBUG]  @cert_sorter.py:94 - expired entitled products: []
2012-08-14 20:24:56,671 [DEBUG]  @cert_sorter.py:95 - partially entitled products: []
2012-08-14 20:24:56,671 [DEBUG]  @cert_sorter.py:96 - unentitled products: []
2012-08-14 20:24:56,672 [DEBUG]  @cert_sorter.py:97 - future products: []
2012-08-14 20:24:56,674 [DEBUG]  @connection.py:188 - Loading CA PEM certificates from: /etc/rhsm/ca/
2012-08-14 20:24:56,674 [DEBUG]  @connection.py:171 - Loading CA certificate: '/etc/rhsm/ca/redhat-uep.pem'
2012-08-14 20:24:56,675 [DEBUG]  @connection.py:171 - Loading CA certificate: '/etc/rhsm/ca/candlepin-stage.pem'
2012-08-14 20:24:56,675 [DEBUG]  @connection.py:171 - Loading CA certificate: '/etc/rhsm/ca/candlepin-local.pem'
2012-08-14 20:24:56,676 [DEBUG]  @connection.py:209 - Making request: GET /katello/api/consumers/8ac5fb6a-6258-41e6-9e4e-656a57da3934
2012-08-14 20:24:57,085 [DEBUG]  @connection.py:218 - Response status: 200
2012-08-14 20:24:57,094 [INFO]  @certlib.py:111 - Checking if system requires healing.
2012-08-14 20:24:57,095 [DEBUG]  @cert_sorter.py:89 - Sorting product and entitlement cert status for: 2012-08-15 00:24:57.095333+00:00
2012-08-14 20:24:57,097 [DEBUG]  @cert_sorter.py:176 - Installed product IDs: ['69']
2012-08-14 20:24:57,108 [DEBUG]  @cert_sorter.py:93 - valid entitled products: ['69']
2012-08-14 20:24:57,108 [DEBUG]  @cert_sorter.py:94 - expired entitled products: []
2012-08-14 20:24:57,108 [DEBUG]  @cert_sorter.py:95 - partially entitled products: []
2012-08-14 20:24:57,108 [DEBUG]  @cert_sorter.py:96 - unentitled products: []
2012-08-14 20:24:57,108 [DEBUG]  @cert_sorter.py:97 - future products: []
2012-08-14 20:24:57,109 [INFO]  @certlib.py:130 - Entitlements are valid for today: 2012-08-15 00:24:57.095333+00:00
2012-08-14 20:24:57,109 [DEBUG]  @cert_sorter.py:89 - Sorting product and entitlement cert status for: 2012-08-16 00:24:57.095333+00:00
2012-08-14 20:24:57,111 [DEBUG]  @cert_sorter.py:176 - Installed product IDs: ['69']
2012-08-14 20:24:57,120 [DEBUG]  @cert_sorter.py:93 - valid entitled products: ['69']
2012-08-14 20:24:57,120 [DEBUG]  @cert_sorter.py:94 - expired entitled products: []
2012-08-14 20:24:57,121 [DEBUG]  @cert_sorter.py:95 - partially entitled products: []
2012-08-14 20:24:57,121 [DEBUG]  @cert_sorter.py:96 - unentitled products: []
2012-08-14 20:24:57,121 [DEBUG]  @cert_sorter.py:97 - future products: []
2012-08-14 20:24:57,122 [INFO]  @certlib.py:140 - Entitlements are valid for tomorrow: 2012-08-16 00:24:57.095333+00:00
2012-08-14 20:24:57,122 [INFO]  @certlib.py:147 - Auto-heal check complete.
2012-08-14 20:24:57,122 [DEBUG]  @cert_sorter.py:89 - Sorting product and entitlement cert status for: 2012-08-15 00:24:57.122648+00:00
2012-08-14 20:24:57,124 [DEBUG]  @cert_sorter.py:176 - Installed product IDs: ['69']
2012-08-14 20:24:57,134 [DEBUG]  @cert_sorter.py:93 - valid entitled products: ['69']
2012-08-14 20:24:57,134 [DEBUG]  @cert_sorter.py:94 - expired entitled products: []
2012-08-14 20:24:57,134 [DEBUG]  @cert_sorter.py:95 - partially entitled products: []
2012-08-14 20:24:57,135 [DEBUG]  @cert_sorter.py:96 - unentitled products: []
2012-08-14 20:24:57,135 [DEBUG]  @cert_sorter.py:97 - future products: []
2012-08-14 20:24:57,151 [INFO]  @certlib.py:151 - Current installed product status:
2012-08-14 20:24:57,151 [INFO]  @certlib.py:154 - 
ProductName:         	Red Hat Enterprise Linux Server
Status:               	6.2                      

2012-08-14 20:24:57,155 [DEBUG]  @connection.py:188 - Loading CA PEM certificates from: /etc/rhsm/ca/
2012-08-14 20:24:57,156 [DEBUG]  @connection.py:171 - Loading CA certificate: '/etc/rhsm/ca/redhat-uep.pem'
2012-08-14 20:24:57,156 [DEBUG]  @connection.py:171 - Loading CA certificate: '/etc/rhsm/ca/candlepin-stage.pem'
2012-08-14 20:24:57,157 [DEBUG]  @connection.py:171 - Loading CA certificate: '/etc/rhsm/ca/candlepin-local.pem'
2012-08-14 20:24:57,157 [DEBUG]  @connection.py:209 - Making request: GET /katello/api/consumers/8ac5fb6a-6258-41e6-9e4e-656a57da3934/certificates/serials
2012-08-14 20:24:57,288 [DEBUG]  @connection.py:218 - Response status: 200
2012-08-14 20:24:57,292 [INFO]  @certlib.py:201 - certs updated:
Total updates: 0
Found (local) serial# [1305231365247380612L]
Expected (UEP) serial# [1305231365247380612]
Added (new)
  <NONE>
Deleted (rogue):
  <NONE>
Expired (not deleted):
  <NONE>
Expired (deleted):
  <NONE>

-- 
Og Maciel

Senior QA Engineer
Red Hat, Inc.
+1.919.754.4782
irc: omaciel




More information about the katello-devel mailing list