System information
Local_repository [1113->13] already imported.
No such content_view: 102
Creating new content_view: Clone of Red Hat Enterprise Linux Server
(v. 6 for 64-bit x86_64)
Product [1Local-repositories->98] already imported.
Local_repository [1115->14] already imported.
No such content_view: 103
Creating new content_view: Clone of RHEL Server Optional (v. 6 64-bit
x86_64)
You can use the webUI to monitor the status of the import. Log in as an administrator, select the
appropriate organization from the context menu at the upper left, and then click Co n t en t → Syn c
St atu s.
You may need to run the command with synchronize more than once after previous steps have
completed, before seeing the content view being generated.
Report a bug
3.7.6. Import ing Act ivat ion Keys
Activation keys in both Satellite 5 and 6 serve almost identical purposes. The command-line tools
use activation keys to register and subscribe systems to Red Hat Satellite. Activation keys in
Satellite 5 have different properties, such as system groups, channel entitlements, and system
entitlements (provisioning, monitoring), compared to Satellite 6, which uses content views and host
collections.
The earlier stages of the transition process focused on recreating the Satellite 5 data types within
Satellite 6. This section describes how to import the activation keys from Satellite 5 and to associate
them with the imported data types.
The following example illustrates a typical use case for importing activation keys.
Examp le 3.11. Imp o rt in g Act ivat ion Keys int o Sat ellit e 6
# hammer import activation-key --csv-file /tmp/exports/activation-
keys.csv
Activation key usage_limit: unlimited
Creating new activation_key: 1-rhel5-puppet
Associating activation key [1] with host collections [2]
Activation key usage_limit: unlimited
Creating new activation_key: 1-rhel6-puppet
Associating activation key [2] with host collections [1]
Creating new ak_content_view: ak_1
Publishing content view: 15
Associating activation key [1] with content view [15]
Updating activation_key with id: 1
Creating new ak_content_view: ak_2
Publishing content view: 16
Associating activation key [2] with content view [16]
Updating activation_key with id: 2
Chapt er 3. T ransit ioning fro m Sat ellit e 5 t o 6
35