Bug 1876729

Summary: Scriptlet errors during update to clevis-14-1.fc32 - DB version too old
Product: [Fedora] Fedora Reporter: Zdenek Dohnal <zdohnal>
Component: clevisAssignee: Sergio Correia <scorreia>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 32CC: fmartine, npmccallum, rsroka, scorreia
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: clevis-14-5.fc34 clevis-14-5.eln103 clevis-14-4.fc32 clevis-14-4.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-08 14:10:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Zdenek Dohnal 2020-09-08 05:06:39 UTC
Hi,

today the following messages:

(2020-09-08  6:58:57:321614): [sss_cache] [sysdb_domain_cache_connect] (0x0010): DB version too old [0.21], expected [0.22] for domain implicit_files!
Higher version of database is expected!
In order to upgrade the database, you must run SSSD.
Removing cache files in /var/lib/sss/db should fix the issue, but note that removing cache files will also remove all of your cached credentials.
Could not open available domains
usermod: sss_cache exited with status 70
usermod: Failed to flush the sssd cache.
(2020-09-08  6:58:57:329757): [sss_cache] [sysdb_domain_cache_connect] (0x0010): DB version too old [0.21], expected [0.22] for domain implicit_files!
Higher version of database is expected!
In order to upgrade the database, you must run SSSD.
Removing cache files in /var/lib/sss/db should fix the issue, but note that removing cache files will also remove all of your cached credentials.
Could not open available domains
usermod: sss_cache exited with status 70
usermod: Failed to flush the sssd cache.

appeared during clevis update to 14-1.fc32.

Would you mind helping me out?

Thank you in advance!

Comment 1 Zdenek Dohnal 2020-09-08 05:09:42 UTC
The message in dnf transaction context:

  Running scriptlet: golang-bin-1.14.7-1.fc32.x86_64                                                                   43/127 
  Upgrading        : golang-1.14.7-1.fc32.x86_64                                                                       44/127 
  Upgrading        : cryptsetup-libs-2.3.4-1.fc32.x86_64                                                               45/127 
  Upgrading        : cryptsetup-2.3.4-1.fc32.x86_64                                                                    46/127 
  Running scriptlet: clevis-14-1.fc32.x86_64                                                                           47/127 
(2020-09-08  6:58:57:321614): [sss_cache] [sysdb_domain_cache_connect] (0x0010): DB version too old [0.21], expected [0.22] for domain implicit_files!
Higher version of database is expected!
In order to upgrade the database, you must run SSSD.
Removing cache files in /var/lib/sss/db should fix the issue, but note that removing cache files will also remove all of your cached credentials.
Could not open available domains
usermod: sss_cache exited with status 70
usermod: Failed to flush the sssd cache.
(2020-09-08  6:58:57:329757): [sss_cache] [sysdb_domain_cache_connect] (0x0010): DB version too old [0.21], expected [0.22] for domain implicit_files!
Higher version of database is expected!
In order to upgrade the database, you must run SSSD.
Removing cache files in /var/lib/sss/db should fix the issue, but note that removing cache files will also remove all of your cached credentials.
Could not open available domains
usermod: sss_cache exited with status 70
usermod: Failed to flush the sssd cache.

  Upgrading        : clevis-14-1.fc32.x86_64                                                                           47/127 
  Upgrading        : clevis-luks-14-1.fc32.x86_64                                                                      48/127 
  Upgrading        : mariadb-connector-c-devel-3.1.9-5.fc32.x86_64                                                     49/127 
  Upgrading        : gnutls-debuginfo-3.6.15-1.fc32.x86_64                                                             50/127 
  Upgrading        : perl-4:5.30.3-456.fc32.x86_64                                                                     51/127

Comment 2 Sergio Correia 2020-09-08 13:47:54 UTC
Hi Zdenek,

(In reply to Zdenek Dohnal from comment #0)

[...]
> usermod: Failed to flush the sssd cache.
> 
> appeared during clevis update to 14-1.fc32.
> 
> Would you mind helping me out?
> 
> Thank you in advance!

This is harmless, however I will do like other packages do and suppress this output.

Comment 3 Fedora Update System 2020-09-08 14:10:32 UTC
FEDORA-2020-724452a609 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Fedora Update System 2020-09-08 14:19:32 UTC
FEDORA-2020-384de5291e has been pushed to the Fedora ELN stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2020-09-08 14:28:27 UTC
FEDORA-2020-f29f649997 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-f29f649997

Comment 6 Fedora Update System 2020-09-08 14:49:18 UTC
FEDORA-2020-af9f9ccb12 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-af9f9ccb12

Comment 7 Fedora Update System 2020-09-08 20:57:27 UTC
FEDORA-2020-f29f649997 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-f29f649997`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-f29f649997

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2020-09-09 14:13:44 UTC
FEDORA-2020-af9f9ccb12 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-af9f9ccb12`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-af9f9ccb12

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2020-09-17 16:00:27 UTC
FEDORA-2020-af9f9ccb12 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2020-09-25 16:51:59 UTC
FEDORA-2020-f29f649997 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.