SUSE Support

Here When You Need Us

spacecmd activationkey_details not showing any output

This document (000021011) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Manager 4.3.x
SUSE Manager 4.2.x
 

Situation

spacecmd {SSM:0}> activationkey_details <activationkey>
doesn't show the details of an activationkey

For example:

spacecmd {SSM:0}> activationkey_list
1-sles15sp4
spacecmd {SSM:0}>

spacecmd {SSM:0}> activationkey_details 1-sles15sp4
spacecmd {SSM:0}>


or:
# spacecmd activationkey_details 1-sles15sp4
INFO: Connected to https://FQDN/rpc/api as admin
#

Resolution

As workaround the spacecmd debug can be used instead:
"spacecmd -d activationkey_details <activationkey>" displays the details, although not well formatted and it's also adding debug details.

The spacecmd update released in June/2023 contains the fix for this problem.

Cause

The def do_activationkey_details in ./spacecmd/src/spacecmd/activationkey.py needs a "logging.info" entry.

Additional Information

An example of an expected output would be:
spacecmd {SSM:0}> activationkey_details 1-sles15sp4
Key:                    1-sles15sp4
Description:            sles15sp4
Universal Default:      False
Usage Limit:            0
Deploy Config Channels: False
Contact Method:         default

Software Channels
-----------------
sle-product-sles15-sp4-pool-x86_64
 |-- sle-manager-tools15-pool-x86_64-sp4
 |-- sle-manager-tools15-updates-x86_64-sp4
 |-- sle-module-basesystem15-sp4-pool-x86_64
 |-- sle-module-basesystem15-sp4-updates-x86_64
 |-- sle-module-packagehub-subpackages15-sp4-pool-x86_64
 |-- sle-module-packagehub-subpackages15-sp4-updates-x86_64
 |-- sle-module-server-applications15-sp4-pool-x86_64
 |-- sle-module-server-applications15-sp4-updates-x86_64
 |-- sle-product-sles15-sp4-updates-x86_64
 |-- sle15-sp4-installer-updates-x86_64
 |-- suse-packagehub-15-sp4-backports-pool-x86_64
 |-- suse-packagehub-15-sp4-pool-x86_64

Configuration Channels
----------------------

Entitlements
------------

System Groups
-------------

Packages
--------
spacecmd {SSM:0}>

 

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000021011
  • Creation Date: 10-Mar-2023
  • Modified Date:30-Nov-2023
    • SUSE Manager Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.