Recommended update for rpm, spacecmd, spacecmd-aggregate

SUSE Recommended Update: Recommended update for rpm, spacecmd, spacecmd-aggregate
Announcement ID: SUSE-RU-2019:14243-1
Rating: moderate
References: #1003449 #1013876 #1013938 #1015882 #1024406 #1027426 #1044719 #1063419 #1070372 #1076578 #1080290 #1081151 #1083294 #1085667 #1088070 #1094190 #1103090 #1103696 #1104034 #1109023 #1111542 #1125610 #1125744 #1127389 #1129243 #1130077 #1135881 #1138454 #1148311 #1153090 #1153277 #1154940 #769106 #769108 #776615 #879904 #887879 #889605 #892707 #902494 #908849 #926318 #932288 #945380 #948245 #977264 #987798
Affected Products:
  • SUSE Manager Ubuntu 16.04-CLIENT-TOOLS-BETA

An update that has 47 recommended fixes can now be installed.

Description:

This update for rpm, spacecmd, spacecmd-aggregate fixes the following issues:

  • version 4.1.1-1
  • Bump version to 4.1.0 (bsc#1154940)
  • Prevent error when piping stdout in Python 2 (bsc#1153090)
  • Java api expects content as encoded string instead of encoded bytes like before (bsc#1153277)
  • Enable building and installing for Ubuntu 16.04 and Ubuntu 18.04
  • Fix building and installing on CentOS8/RES8/RHEL8
  • Check that a channel doesn't have clones before deleting it (bsc#1138454)
  • Add unit test for schedule, errata, user, utils, misc, configchannel and kickstart modules
  • Multiple minor bugfixes alongside the unit tests
  • Fix missing runtime dependencies that made spacecmd return old versions of packages in some cases, even if newer ones were available (bsc#1148311)

  • version 4.0.12-1
  • Bugfix: referenced variable before assignment.
  • Add unit test for report, package, org, repo and group
  • Bugfix: 'dict' object has no attribute 'iteritems' (bsc#1135881)
  • Add unit tests for custominfo, snippet, scap, ssm, cryptokey and distribution

  • version 4.0.11-1
  • SPEC cleanup

  • version 4.0.10-1
  • add unit tests for spacecmd.api, spacecmd.activationkey and spacecmd.filepreservation
  • add unit tests for spacecmd.shell
  • Save SSM list on system delete and update cache (bsc#1130077, bsc#1125744)
  • add makefile and pylint configuration

  • version 4.0.9-1
  • Add Pylint setup
  • Replace iteritems with items for python2/3 compat (bsc#1129243)

  • version 4.0.8-1
  • fix python 3 bytes issue when handling config channels

  • version 4.0.7-1
  • Add '--force', '-f' option to regenerateYumCache (bsc#1127389)

  • version 4.0.6-1
  • Prevent spacecmd crashing when piping the output in Python 3 (bsc#1125610)

  • version 4.0.5-1
  • Fix compatibility with Python 3

  • version 4.0.4-1
  • Fix importing state channels using configchannel_import
  • Fix getting file info for latest revision (via configchannel_filedetails)

  • version 4.0.3-1
  • Add function to merge errata and packages through spacecmd (bsc#987798)
  • show group id on group_details (bsc#1111542)
  • State channels handling: Existing commands configchannel_create and configchannel_import were updated while system_scheduleapplyconfigchannels and configchannel_updateinitsls were added.

  • version 4.0.2-1
  • add summary to softwarechannel.clone when calling older API versions (bsc#1109023)
  • New function/Update old functions to handle state channels as well

  • version 4.0.1-1
  • Bump version to 4.0.0 (bsc#1104034)
  • Fix copyright for the package specfile (bsc#1103696)
  • Suggest not to use password option for spacecmd (bsc#1103090)

  • version 2.8.25.4-1
  • add option to set cleanup type for system_delete (bsc#1094190)

  • version 2.8.25.3-1
  • Sync with upstream (bsc#1083294)

  • version 2.8.25.2-1
  • Sync with upstream (bsc#1083294)
  • 1539878 - add save_cache to do_ssm_intersect
  • Fix softwarechannel_listsyncschedule

  • version 2.8.21.2-1
  • Disable pylint for python2 and RES

  • version 2.8.21.1-1
  • Sync with upstream (bsc#1083294)
  • Connect to API using FQDN instead of hostname to avoid SSL validation problems (bsc#1085667)

  • version 2.8.20.1-1
  • 1536484 - Command spacecmd supports utf8 name of systems
  • 1484056 - updatefile and addfile are basically same calls
  • 1484056 - make configchannel_addfile fully non-interactive
  • 1445725 - display all checksum types, not just MD5
  • remove clean section from spec (bsc#1083294)
  • Added function to update software channel. Moreover, some refactoring has been done(bsc#1076578)

  • version 2.8.17.2-1
  • add more python3 compatibility changes

  • version 2.8.17.1-1
  • Compatibility with Python 3
  • Fix typo (bsc#1081151)
  • Configure gpg_flag via spacecmd creating a channel (bsc#1080290)

  • version 2.8.15.3-1
  • Allow scheduling the change of software channels as an action. The previous channels remain accessible to the registered system until the action is executed. to the registered system until the action is executed.

  • version 2.8.15.2-1
  • support multiple FQDNs per system (bsc#1063419)

  • version 2.8.13.2-1
  • Fix bsc number for change 'configchannel export binary flag to json'

  • version 2.8.13.1-1
  • add --config option to spacecmd
  • Added custom JSON encoder in order to parse date fields correctly (bsc#1070372)

  • version 2.8.10.1-1
  • pylint - fix intendation

  • version 2.8.9.1-1
  • fix build with python 3
  • show list of arches for channel
  • allow softwarechannel_setsyncschedule to disable schedule
  • add softwarechannel_setsyncschedule --latest
  • in case of system named by id, let id take precedence
  • Make spacecmd prompt for password when overriding config file user
  • show less output of common packages in selected channels
  • adding softwarechannel_listmanageablechannels

  • version 2.7.8.7-1
  • Switched logging from warning to debug

  • version 2.7.8.6-1
  • configchannel export binary flag to json (bsc#1044719)

  • version 2.7.8.5-1
  • spacecmd report_outofdatesystems: avoid one XMLRPC call per system (bsc#1015882)

  • version 2.7.8.4-1
  • Remove debug logging from softwarechannel_sync function

  • version 2.7.8.3-1
  • Remove get_certificateexpiration support in spacecmd (bsc#1013876)

  • version 2.7.8.2-1
  • Adding softwarechannel_listmanageablechannels

  • version 2.7.8.1-1
  • fix syntax error

  • version 2.7.7.1-1
  • make sure to know if we get into default function and exit accordingly

  • version 2.7.6.1-1
  • exit with 1 with incorrect command, wrong server, etc.
  • Updated links to github in spec files
  • print also systemdid with system name
  • improve output on error for listrepo (bsc#1027426)
  • print profile_name instead of string we're searching for
  • Fix: reword spacecmd removal msg (bsc#1024406)
  • Fix interactive mode
  • Add a type parameter to repo_create

  • version 2.7.3.2-1
  • Removed obsolete code (bsc#1013938)

  • version 2.7.3.1-1
  • Version 2.7.3-1

  • version 2.5.5.3-1
  • Make exception class more generic and code fixup (bsc#1003449)
  • Handle exceptions raised by listChannels (bsc#1003449)
  • Alert if a non-unique package ID is detected

  • version 2.5.5.2-1
  • make spacecmd createRepo compatible with SUSE Manager 2.1 API (bsc#977264)

  • version 2.5.5.1-1
  • mimetype detection to set the binary flag requires 'file' tool
  • Text description missing for remote command by Spacecmd

  • version 2.5.2.1-1
  • spacecmd: repo_details show 'None' if repository doesn't have SSL Certtificate
  • spacecmd: Added functions to add/edit SSL certificates for repositories

  • version 2.5.1.2-1
  • build spacecmd noarch only on new systems

  • version 2.5.1.1-1
  • mimetype detection to set the binary flag requires 'file' tool
  • fix export/cloning: always base64
  • Always base64 encode to avoid trim() bugs in the XML-RPC library.

  • set binary mode on uploaded files based on content (bsc#948245)

  • version 2.5.0.1-1
  • drop monitoring
  • replace upstream subscription counting with new subscription matching (FATE#311619)

  • version 2.1.25.10-1
  • Revert "1207606 - do not return one package multiple times" (bsc#945380)
  • check for existence of device description in spacecmd system_listhardware (bsc#932288)

  • version 2.1.25.9-1
  • do not escape spacecmd command arguments
  • do not return one package multiple times
  • add system_setcontactmethod (FATE#314858)
  • add activationkey_setcontactmethod (FATE#314858)
  • show contact method with activationkey_details and system_details
  • clone config files without loosing trailing new lines (bsc#926318)

  • version 2.1.25.8-1
  • sanitize data from export

  • version 2.1.25.7-1
  • fix configchannel export - do not create 'contents' key for directories (bsc#908849)
  • fix patch summary printing
  • code cleanup
  • add new function kickstart_getsoftwaredetails
  • Added feature to get installed packageversion of a system or systems managed by ssm to spacecmd

  • version 2.1.25.6-1
  • call listAutoinstallableChannels() for listing distributions (bsc#887879)
  • Fix spacecmd schedule listing (bsc#902494)
  • Teach spacecmd report_errata to process all-errata in the absence of further args

  • fix call of setCustomOptions() during kickstart_importjson (bsc#879904)

  • version 2.1.25.5-1
  • spacecmd: fix listupgrades [bsc#892707]

  • version 2.1.25.4-1
  • make print_result a static method of SpacewalkShell (bsc#889605)

  • version 2.1.25.3-1
  • Added option to force deployment of a config channel to all subscribed systems
  • Added last boot message in system_details command
  • Updated kickstart_import documentation
  • Added kickstart_import_raw command

  • version 2.1.25.2-1
  • set output encoding when stdout is not a tty

  • version 2.1.25.1-1
  • make file_needs_b64_enc work for both str and unicode inputs

  • version 2.1.24.1-1
  • Updating the copyright years info

  • version 2.1.22.1-1
  • fix spacecmd, so it does not expect package id within the system.listPackages API call
  • fix binary file detection
  • added function package_listdependencies

  • version 2.1.20.1-1
  • don't attempt to write out 'None'
  • fix system listing when identified by system id

  • version 2.1.18.1-1
  • switch to 2.1

  • version 1.7.7.11-1
  • fixing spacecmd ssm 'list' has no attribute 'keys' error

  • version 1.7.7.10-1
  • spacecmd errors out when trying to add script to kickstart
  • Make spacecmd able to specify config channel label

  • version 1.7.7.9-1
  • fix directory export in configchannel_export
  • use 755 as default permissions for directories in configfile_getinfo
  • fix directory creation in configchannel_addfile
  • print the list of systems in system_runscript
  • print the list of systems in system_reboot
  • return a unique set from expand_systems
  • print a clearer error message when duplicate system names are found
  • standardize the behavior for when a system ID is not returned
  • add a delay before regenerating the system cache after a delete
  • handle binary files correctly in configfile_getinfo
  • print the name in the confirmation message of snippet_create
  • don't reuse variable names in parse_arguments
  • print the function's help message when -h in the argument list
  • print file path in package_details
  • fixing broken export of configchannels with symlinks

  • version 1.7.7.8-1
  • prevent outputting escape sequences to non-terminals
  • Fixed small typo in spacecmd/src/lib/kickstart.py
  • do not quote argument of the help command (bsc#776615)

  • version 1.7.7.7-1
  • Fix kickstart_export with old API versions

  • command line parameter for "distribution path" was documented wrong in help text (bsc#769106)

  • "suse" was missing in the helptext of the CLI for distributions (bsc#769108)

  • version 1.7.7.6-1
  • enhancement add configchannel_sync
  • enhancement add softwarechannel_sync

  • version 1.7.7.5-1
  • fixing chroot option for addscript

  • version 1.7.7.4-1
  • kickstart_getcontents fix character encoding error
  • activationkey_import don't add empty package/group lists
  • fix activationkey_import when no base-channel specified
  • Fix reference to non-existent variable
  • improve configchannel_export operation on old API versions
  • *diff functions allow python 2.4 compatibility
  • changed get_string_diff_dicts to better fitting replacement method
  • remove reference to stage function
  • add do_SPACEWALKCOMPONENT_diff functions
  • system_comparewithchannel filter system packagelist
  • argument validation needed for configchannel_addfile
  • configchannel_addfile don't display b64 file contents

  • version 1.7.7.3-1
  • enhancement add system_addconfigfile
  • Fix usage for configchannel_addfile
  • enhancement Add system_listconfigfiles
  • add option to allow templating for spacecmd kickstarting

  • version 1.7.7.2-1
  • softwarechannel_clone avoid ISE on duplicate name
  • softwarechannel_adderrata mergeErrata should be cloneErrataAsOriginal
  • Add globbing support to distribution_details
  • Add globbing support to distribution_delete
  • Cleanup some typos in comments
  • custominfo_details add support for globbing key names
  • custominfo_deletekey add support for globbing key names
  • Add cryptokey_details globbing support
  • cryptokey_delete add support for globbing
  • Workaround missing date key in recent spacewalk listErrata
  • Add validation to softwarechannel_adderrata channel args
  • softwarechannel_adderrata add --skip mode
  • Add --quick mode to softwarechannel_adderrata
  • Allow config-channel export of b64 encoded files
  • Update the spacecmd copyright years

  • version 1.7.7.1-1
  • Bumping package version

  • debranding

  • backport upstrem fixes

  • Initial release of spacecmd

Patch Instructions:

To install this SUSE Recommended Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  • SUSE Manager Ubuntu 16.04-CLIENT-TOOLS-BETA:
    zypper in -t patch suse-ubu164ct-client-tools-beta-201912-14243=1

Package List:

  • SUSE Manager Ubuntu 16.04-CLIENT-TOOLS-BETA (amd64):
    • librpmbuild3-4.12.0.1+dfsg1-3build3
    • librpmio3-4.12.0.1+dfsg1-3build3
    • librpmsign3-4.12.0.1+dfsg1-3build3
    • python3-rpm-4.12.0.1+dfsg1-3build3
    • rpm-common-4.12.0.1+dfsg1-3build3

References: