Upstream tag: subscription-manager-1.29.37-1
Upstream commit: 7e941258
If you need to do any change in this pull request, you need to locally fetch the source branch of it and push it (with a fix) to your fork (as it is not possible to push to the branch created in the Packit’s fork):
```
git fetch https://src.fedoraproject.org/forks/packit/rpms/subscription-manager.git refs/heads/*:refs/remotes/packit/*
git checkout packit/1.29.37-rawhide-update-pull_from_upstream
```
Upstream tag: subscription-manager-1.29.36-1
Upstream commit: ddac2cc4
If you need to do any change in this pull request, you need to locally fetch the source branch of it and push it (with a fix) to your fork (as it is not possible to push to the branch created in the Packit’s fork):
```
git fetch https://src.fedoraproject.org/forks/packit/rpms/subscription-manager.git refs/heads/*:refs/remotes/packit/*
git checkout packit/1.29.36-rawhide-update-pull_from_upstream
```
Resolves: #2020248 - handle server-side consumer deletion in syspurpose commands
Resolves: #2021578 - Remove proxy server test as it is unnecessary (wpoteat@redhat.com)
Resolves: #1719690 - Update to message formatting (wpoteat@redhat.com)
Resolves: #1985845 - Fix sub-man service-level --show (jhnidek@redhat.com)
Resolves: #2015173 - chmod /etc/pki/entitlement/*.pem only when existing
Resolves: #2003777 - Fix organizations hint in syspurpose commands (mhorky@redhat.com)
Resolves: #1989955 - use /proc/device-tree/ibm,partition-uuid on POWER LPARs
Resolves: #2003777 - Only hint organizations if it's needed (mhorky@redhat.com)
Resolves: #2003777 - Show available organizations before asking for input
Resolves: #1979323 - Cockpit - do not show red red icon in SCA mode (jhnidek@redhat.com)
Resolves: #1859157 - Display better error message on incorrect --org (mhorky@redhat.com)
Resolves: #1924338 - list prints not status and dates in SCA mode (jhnidek@redhat.com)
Resolves: #1983144 - More useful feedback on unknown argument (mhorky@redhat.com)
Resolves: #1995465 - Do not use deprecated collections.MutableMapping
Resolves: #1983074 - Remove invalid log level (mhorky@redhat.com)
Resolves: #1859569 - Abort on invalid username/token option in syspurpose commands
Resolves: #1922151 - Add /var/cache/cloud-what to python3-cloud-what RPM.
Resolves: #1922151 - Use in-memory cache on AWS too (jhnidek@redhat.com)
Resolves: #1980418 - Add 'active' field to module stream profile (ianballou67@gmail.com)
Resolves: #1984133 - repos: respect order of --enable & --disable (ptoscano@redhat.com)
Resolves: #1974641 - Fix tab completion with multiple optional commands
Resolves: #1876828 - Try to suppress errors in stderr when not run as root
Resolves: #1977452 - typo in string format change Add quotes to a {filename} and remove
Resolves: #1976240 - Improve HTTP code/message reporting in error strings
Resolves: #1793501 - switch dates returned by D-Bus GetPool to ISO 8601
Resolves: #1863039 - Fix issue with dnf/yum variables (jhnidek@redhat.com)
Resolves: #1879856 - suppress the warning message when setting syspurpose values
Resolves: #1930037 - cockpit: ensure /etc/pki/product exist (ptoscano@redhat.com)
Resolves: #1886772 - Clear content access mode cache on refresh (csnyder@redhat.com)
Resolves: #1672805 - 'Addons' is failing spell check and should be changed to 'Add-ons'
Resolves: #1731109 - improve man page & help for registering with --force option
Resolves: #1749395 - Proper handling when a user does not have an org
Resolves: #1916540 - Negative proxy tests occasionally encounter the wrong exception
Resolves: #1897767 - what does 'No Valid values provided for usage' mean to the user
Resolves: #1897767 - what does 'No valid values provided for usage' mean to the user
Resolves: #1856832 - add --org=ORG to the ROLE OPTIONS, USAGE OPTIONS and ADDONS OPTIONS
Resolves: #1880920 - check for invalid addons (ptoscano@redhat.com)
Resolves: #1924166 - improve man text of syspurpose --show (ptoscano@redhat.com)
Resolves: #1682943 - add space to message to separate 2 sentences
Resolves: #1928667 - Added UTC to the last_boot fact (ENT-3566) (#2456)
Resolves: #1608820 - Check the Log Level to make sure it is valid, if not set it to INFO
Resolves: #1928072 - Print warning message and don't do auto-attach (jhnidek@redhat.com)
Resolves: #1924921 - Fix getting releases, when SCA is used (jhnidek@redhat.com)
Resolves: #1886772 - Cache the content_access_mode for at most 4 hours independently of
Resolves: #1886772 - Add in memory read through cache, delete SCA cert when not needed
Resolves: #1847910 - DNF plugins are part of sub-man RPM, libdnf RPM
Resolves: #1826300 - Ignore auto-attach, when SCA mode is used
Resolves: #1862431 - option validation error from unexpected config entry
Resolves: #1844508 - sub-man sends version in the User-Agent header
Resolves: #1855437 - syspurpose CLI should require sub-man rpm
Resolves: #1870567 - Fix issue with locale and D-Bus method GetStatus
Resolves: #1868734 - Fix issue with syspurpose attrs. set in act. key
Resolves: #1753236 - D-Bus Register properly, when org not specified
Resolves: #1816926 - Fix "attach --auto" command; ENT-2242 (jhnidek@redhat.com)
Resolves: #1820001 - initConfig method needs to be reinstated (wpoteat@redhat.com)
Resolves: #1774187 - Reinitialize logger, when necessary; ENT-1960 (jhnidek@redhat.com)
Resolves: #1796833 - New keys.pot with new strings; ENT-2058 (jhnidek@redhat.com)
Resolves: #1775714 - Do not install rhsmd and rhsm-icon on rhel8; ENT-1959
Resolves: #1569491 - rhn-migrate-classic-to-rhsm should try to resolve product ID
Resolves: #1763271 - Golden ticket: do not print list of products; ENT-2017
Resolves: #1803783 - Added copytruncate option to logrotate conf file; ENT-2114
Resolves: #1804114 - New D-Bus method SetAll; ENT-2124 (jhnidek@redhat.com)
Resolves: #1796986 - Collect AWS instance id when available (wpoteat@redhat.com)
Resolves: #1794826 - Added option --force for command refresh; ENT-2033
Resolves: #1794653 - corrected missing quotes for config check; ENT-2010
Resolves: #1797386 - Allow service plugin for zypper (SLES) to set autorefresh
Resolves: #1782910 - Log errors in logging set up after set up completes; ENT-1890
Resolves: #1667792 - added --disable-auto-attach option to register command; ENT-1684
Resolves: #1741183 - Yum loaded subscription-manager plugin multiple times
Resolves: #1761566 - include kpatch in facts; ENT-1700 (jhnidek@redhat.com)
Resolves: #1751200 - Cockpit plugin: select registration method; ENT-1651
Resolves: #1728054 - Obsolete sm-plugin-container on RHEL 8 (csnyder@redhat.com)
Resolves: #1764265 - Set gpgcheck to 0, when zypper is used; ENT-1758
Resolves: #1760837 - Disable zypper plugin via ZYPP_RHSM_PLUGIN_DISABLE
Resolves: #1764340 - Handle RestlibException in zypper plugin (khowell@redhat.com)
Resolves: #1738764 - Fix issue with syspurpose three-way merge; ENT-1564
Resolves: #1703054 - Blacklist some locales for Python2.x; ENT-1288 (jhnidek@redhat.com)
Resolves: #1752400 - Ensure that configuration is recorded before data sync processes
Resolves: #1764265 - Set gpgcheck to 0, when zypper is used; ENT-1758
Resolves: #1760837 - Disable zypper plugin via ZYPP_RHSM_PLUGIN_DISABLE
Resolves: #1764340 - Handle RestlibException in zypper plugin (khowell@redhat.com)
Resolves: #1738764 - Fix issue with syspurpose three-way merge; ENT-1564
Resolves: #1703054 - Blacklist some locales for Python2.x; ENT-1288 (jhnidek@redhat.com)
Resolves: #1752400 - Ensure that configuration is recorded before data sync processes
Resolves: #1750546 - Fix minor product-id issues (csnyder@redhat.com)
Resolves: #1520383 - Update to logging levels (wpoteat@redhat.com)
Resolves: #1752059 - corrected cron receving stdout mail for rhsmd run (crag@redhat.com)
Resolves: #1698606 - Better advice message for syspurpose conflict; ENT-1341
Resolves: #1663432 - Updated keys.pot for syspurpose CLI; ENT-1246 (jhnidek@redhat.com)
Resolves: #1687523 - Try to create /var/log/rhsm directory; ENT-1406 (jhnidek@redhat.com)
Resolves: #1621275 - YUM plugin - less API calls; ENT-923 (jhnidek@redhat.com)
Resolves: #1643189 - Updated defaults to include rhsmd.processtimeout (crag@redhat.com)
Resolves: #1643189 - Added timeout for rhsmd cron job (crag@redhat.com)
Resolves: #1728054 - Do not install container plugin on RHEL8; ENT-1488
Resolves: #1689974 - Mark several strings for translation; ENT-1246 (jhnidek@redhat.com)
Resolves: #1743729 - Update dnf-plugin dependencies for RHEL 7 (csnyder@redhat.com)
Resolves: #1657384 - locale sent on request does not allow '.UTF-8' suffix
Resolves: #1742208 - Send package profile on yum transactions (csnyder@redhat.com)
Resolves: #1700039 - Cockpit - Disable cancel button on register dialog action
Resolves: #1708494 - Proper messaging of syspurpose add-addons; ENT-1332
Resolves: #1703148 - Fix cockpit plugin, when golden ticket is used; ENT-1287
Resolves: #1710923 - GUI: Do not auto-attach, when golden ticket is used; ENT-1309
Resolves: #1719725 - rhsm - Write config file atomically (mvollmer@redhat.com)
Resolves: #1722055 - cockpit package has additional dependency (wpoteat@redhat.com)
Resolves: #1705017 - Show in man page that --installed is the default for the list
Resolves: #1689974 - Update translations for 8.1 (csnyder@redhat.com)
Resolves: #1722238 - Fix reporting insights id in facts on RHEL7 (jhnidek@redhat.com)
Resolves: #1665167 - syspurpose attributes in list --consumed; ENT-1315
Resolves: #1719709 - cockpit - Improve behavior when connection to D-Bus fails
Resolves: #1719702 - cockpit - Fix overlapping update requests (mvollmer@redhat.com)
Resolves: #1665167 - Print roles and usage in list of subscriptions; ENT-1315
Resolves: #1708438 - Don't print traceback during list --available; ENT-1331
Resolves: #1719697 - cockpit - Fix detection of proxy while attaching
Resolves: #1717147 - Updating from System Type to Entitlement Type (waldirio@gmail.com)
Resolves: #1708105 - Fixed unsetting syspurpose attributes; ENT-1330 (jhnidek@redhat.com)
Resolves: #1713626 - Only disable system repos if the disable_system_repos is "1"
Resolves: #1673662 - Print reasons, why syspurpose status is mismatch; ENT-1247
Resolves: #1652549 - Addition of tests for heartbeat method (wpoteat@redhat.com)
Resolves: #1652549 - Connection method for hypervisor heartbeat (wpoteat@redhat.com)
Resolves: #1478892 - Add in a last_boot fact for parity with spacewalk facts
Resolves: #1703607 - Remove productid cert, when it is not needed; ENT-1300
Resolves: #1713626 - Option disable_system_repos didn't work with DNF; ENT-1350
Resolves: #1702239 - Fix traceback for syspurpose on rhel7; ENT-1286 (jhnidek@redhat.com)
Resolves: #1710564 - Make entitlement certs and keys world-readable (csnyder@redhat.com)
Resolves: #1697563 - Suppress output when collecting profile (khowell@redhat.com)
Resolves: #1698443 - Proper callbacks in cert sorter (wpoteat@redhat.com)
Resolves: #1704662 - Do not create corrupted redhat.repo (wrong scheme); ENT-1306
Resolves: #1709728 - Dialog with proxy conf didn't pop-up; ENT-1333 (jhnidek@redhat.com)
Resolves: #1699345 - Do not perform proxy check under some circumstances.
Resolves: #1703768 - Display 'Status Details' correctly in GUI; ENT-1305
Resolves: #1703054 - Do not crash sub-man during unregistering; ENT-1288
Resolves: #1700445 - Do not disabled repos in redhat.repo; ENT-1261 (jhnidek@redhat.com)
Resolves: #1701406 - Do not build subman-rhsm with python2 on later versions of rhel
Resolves: #1660883 - Better feedback for repo commands when not registered
Resolves: #1657173 - Install cron service properly on SLES; ENT-1250 (jhnidek@redhat.com)
Resolves: #1698468 - require python-librepo for rhel 7 (csnyder@redhat.com)
Resolves: #1694107 - Begin packaging syspurpose for python 2 systems (csnyder@redhat.com)
Resolves: #1698645 - Ensure we use local syspurpose when there are network issues
Resolves: #1696428 - use enabled_metadata = 0 for disabled repositories
Resolves: #1665022 - Syspurpose client to have the same behavior as SubMan when in
Resolves: #1637090 - Do not send Host header twice, when m2crypto is used; ENT-1100
Resolves: #1681171 - Install only one prod cert, when RPM is available in more repos.
Resolves: #1591315 - Fewer warning messages when golden ticket is used; ENT-671
Resolves: #1520383 - Use more appropriate log levels instead of info (wpoteat@redhat.com)
Resolves: #1669994 - Use on_date on syspurpose status if specified (nmoumoul@redhat.com)
Resolves: #1621275 - Less communication with candlepin server from sub-man plugin;
Resolves: #1657171 - Bug fix of .spec file specific for SuSE; ENT-1056
Resolves: #1591704 - Handle disabled status when golden ticket is in play
Resolves: #1685037 - Ignore null repos when running using packagekit (csnyder@redhat.com)
Resolves: #1666845 - Always submit empty string for reset (csnyder@redhat.com)
Resolves: #1666845 - Do not set role or usage to the empty string (csnyder@redhat.com)
Resolves: #1673973 - Do not override sla on auto-attach (csnyder@redhat.com)
Resolves: #1673973 - Read syspurpose on register using cockpit (csnyder@redhat.com)
Resolves: #1655778 - Increase RHEL major version detection reliability
Resolves: #1668152 - Remove the Select SLA screen from initial-setup
Resolves: #1676982 - Do not make duplicate sync calls on syspurpose show
Resolves: #1654531 - Add default for proxy_scheme in rhsm.conf (csnyder@redhat.com)
Resolves: #1701406 - Do not build subman-rhsm with python2 on later versions of rhel
Resolves: #1660883 - Better feedback for repo commands when not registered
Resolves: #1657173 - Install cron service properly on SLES; ENT-1250 (jhnidek@redhat.com)
Resolves: #1698468 - require python-librepo for rhel 7 (csnyder@redhat.com)
Resolves: #1694107 - Begin packaging syspurpose for python 2 systems (csnyder@redhat.com)
Resolves: #1698645 - Ensure we use local syspurpose when there are network issues
Resolves: #1696428 - use enabled_metadata = 0 for disabled repositories
Resolves: #1665022 - Syspurpose client to have the same behavior as SubMan when in
Resolves: #1637090 - Do not send Host header twice, when m2crypto is used; ENT-1100
Resolves: #1681171 - Install only one prod cert, when RPM is available in more repos.
Resolves: #1591315 - Fewer warning messages when golden ticket is used; ENT-671
Resolves: #1520383 - Use more appropriate log levels instead of info (wpoteat@redhat.com)
Resolves: #1669994 - Use on_date on syspurpose status if specified (nmoumoul@redhat.com)
Resolves: #1621275 - Less communication with candlepin server from sub-man plugin;
Resolves: #1657171 - Bug fix of .spec file specific for SuSE; ENT-1056
Resolves: #1591704 - Handle disabled status when golden ticket is in play
Resolves: #1685037 - Ignore null repos when running using packagekit (csnyder@redhat.com)
Resolves: #1666845 - Always submit empty string for reset (csnyder@redhat.com)
Resolves: #1666845 - Do not set role or usage to the empty string (csnyder@redhat.com)
Resolves: #1673973 - Do not override sla on auto-attach (csnyder@redhat.com)
Resolves: #1673973 - Read syspurpose on register using cockpit (csnyder@redhat.com)
Resolves: #1655778 - Increase RHEL major version detection reliability
Resolves: #1668152 - Remove the Select SLA screen from initial-setup
Resolves: #1676982 - Do not make duplicate sync calls on syspurpose show
Resolves: #1654531 - Add default for proxy_scheme in rhsm.conf (csnyder@redhat.com)
Resolves: #1654531 - Add proxy_scheme to rhsm.conf (csnyder@redhat.com)
Resolves: #1665409 - Update syspurpose status in cockpit addon (nmoumoul@redhat.com)
Resolves: #1673838 - Set trailing character '\0' at the end of cert content
Resolves: #1666516 - Allow reporting of profile info on dnf transactions
Resolves: #1633216 - Use new libdnf API to reuse connection to repo; ENT-1111
Resolves: #1668947 - set enable_metadata to 0 for disabled repos; ENT-1146
Resolves: #1666512 - Add some details on dnf uploadprofile to rhsm.conf man page
Resolves: #1666516 - Don't send package list, when report_package_profile=0; ENT-1097
Resolves: #1671734 - Dont traceback on status syspurpose sync - Do not show an error or
Resolves: #1668152 - take into account syspurpose during initial-setup - Registering
Resolves: #1661414 - No message display when set service level by subscription
Resolves: #1661400 - Incorrect handling of response message (wpoteat@redhat.com)
Resolves: #1652870 - Stay consistent with Katello list (wpoteat@redhat.com)
Resolves: #1660520 - Modify spec file to require right version of libdnf.
Resolves: #1582317 - Do not collect hardware facts twice; ENT-653 (jhnidek@redhat.com)
Resolves: #1666373 - Do not delete product certs for disabled repos; ENT-1034
Resolves: #1634033 - do not install conf file for non-existant dnf plugin
Resolves: #1652870 - handle new syspurpose status states - Now, the new syspurpose
Resolves: #1632394 - Supplement initial-setup-gui with our addon (csnyder@redhat.com)
Resolves: #1654531 - Make default repolist proxy to http protocol when not specified
Resolves: #1655083 - Sync syspurpose on status command (csnyder@redhat.com)
Resolves: #1658383 - Ensure syspurpose has translations (csnyder@redhat.com)
Resolves: #1624859 - Simplify syspurpose bash completion (csnyder@redhat.com)
Resolves: #1656598 - Treat false as disabled when listing repos (csnyder@redhat.com)
Resolves: #1663254 - Remove "Red Hat Enterprise Linux Client/Desktop" role option
Resolves: #1591399 - Stop throwing exception on timeout to avoid stacktrace
Resolves: #1658409 - Stop redhat.repo from growing exponentially (awood@redhat.com)
Resolves: #1661219 - Do not delete product certs for disabled repos; ENT-1034
Resolves: #1660224 - Allow setting and unsetting of addons and service level
Resolves: #1618901 - Module name unknown (wpoteat@redhat.com)
Resolves: #1643128 - Do not execute subscription-manager dnf plugin twice; ENT-987
Resolves: #1660224 - Use the result from SyncResult objects for showing syspurpose
Resolves: #1633277 - syspurpose tool will now log in rhsm.log - The syspurpose tool will
Resolves: #1654491 - Use new API of DNF (jhnidek@redhat.com)
Resolves: #1633264 - Ensure we sync syspurpose on register (csnyder@redhat.com)
Resolves: #1625214 - send ConfigChanged event when file replaced - Now, the ConfigChanged
Resolves: #1654873 - Add man entry for rhsmcertd.disable (csnyder@redhat.com)
Resolves: #1654868 - Add man page docs of the package_profile_on_trans option
Resolves: #1638153 - Restore service-level command for older servers (csnyder@redhat.com)
Resolves: #1624859 - Add bash completion for syspurpose aspects (csnyder@redhat.com)
Resolves: #1633380 - show syspurpose status Unknown when cache missing - When the server
Resolves: #1642888 - Add semanage advice on setting non-default proxy_port
Resolves: #1651621 - use cockpit-desktop to launch cockpit based gui (csnyder@redhat.com)
Resolves: #1618372 - Print accessible content paths from X509 extension using rct
Resolves: #1650323 - dnf subcommand for profile uploads; ENT-984 (jhnidek@redhat.com)
Resolves: #1599801 - fix Python2 and Python3 incompatibility; ENT-776
Resolves: #1649125 - setuptools naming change (wpoteat@redhat.com)
Resolves: #1618498 - cockpit will notify activation keys require org - When trying to
Resolves: #1651669 - Remove dbus-python from egg requirements (khowell@redhat.com)
Resolves: #1650941 - Fix value of Self-Support SLA in valid_fields.json
Resolves: #1642271 - Do not set a None lang (csnyder@redhat.com)
Resolves: #1632384 - Sync SLA regardless of capability: (nmoumoul@redhat.com)
Resolves: #1621783 - Updated syspurpose fields to match expected values (crog@redhat.com)
Resolves: #1633575 - Update error message when syspurpose is not supported by server
Resolves: #1614925 - Fix grammar (csnyder@redhat.com)
Resolves: #1620136 - dnf plugin deletes prod cert as expected; ENT-773
Resolves: #1615944 - Show help when no args are provided (csnyder@redhat.com)
Resolves: #1614943 - Fix bytes/unicode handling of dmi data (khowell@redhat.com)
Resolves: #1618825 - Rename de_DE.po and es_ES.po (awood@redhat.com)
Resolves: #1607955 - WIP: polishing PR with bug fix of release --list
Resolves: #1581410 - Eliminate potential for circular dependency (awood@redhat.com)
Resolves: #1631076 - subscription-manager rpm now requires python3-syspurpose
Resolves: #1629073 - No python3-dmidecode on aarch64, ppc64le (khowell@redhat.com)
Resolves: #1614653 - Update intermediate CA (khowell@redhat.com)
Resolves: #1607955 - Try to use all entitlement certs for connection with CDN
Resolves: #1623262 - Make automatic enablement of yum plugins working again; ENT-820
Resolves: #1600694 - Log dbus exception tracebacks at the debug level
Resolves: #1623368 - Register a system without a syspurpose.json file
Resolves: #1596699 - Handle non-existant rhsm-debug destination (ENT-780)
Resolves: #1613968 - DNF product-id plugin can install product cert; ENT-789
Resolves: #1596001 - Change syspurpose import error log level to debug level
Resolves: #1602702 - rhsmcertd did not close lock file; ENT-736 (jhnidek@redhat.com)
Resolves: #1581445 - ENT-564: rhsm configuration manage_repos is not working on RHEL8