Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dnf update in ceph v18 container image is failing #2141

Closed
Madhu-1 opened this issue Aug 9, 2023 · 2 comments
Closed

dnf update in ceph v18 container image is failing #2141

Madhu-1 opened this issue Aug 9, 2023 · 2 comments
Labels

Comments

@Madhu-1
Copy link

Madhu-1 commented Aug 9, 2023

Is this a bug report or feature request?

  • Bug Report

Bug Report
dnf update in ceph v18 container image is failing, i tried with v18, v18.2 etc all have the same problem

What happened:

dnf update failed

What you expected to happen:

dnf update should be successful

How to reproduce it (minimal and precise):

Run dnf update on the ceph v18 image.

docker run quay.io/ceph/ceph:v18 sudo dnf update -y

CentOS Stream 8 - AppStream                     5.6 MB/s |  31 MB     00:05    
CentOS Stream 8 - BaseOS                        5.9 MB/s |  41 MB     00:06    
CentOS Stream 8 - Extras                         55 kB/s |  18 kB     00:00    
CentOS Stream 8 - Extras common packages         19 kB/s | 6.8 kB     00:00    
Copr repo for python-scikit-learn owned by tcha  37 kB/s |  20 kB     00:00    
Copr repo for python3-asyncssh owned by tchaiko  17 kB/s | 3.5 kB     00:00    
Ceph packages for x86_64                        120 kB/s |  81 kB     00:00    
Ceph noarch packages                             19 kB/s | 9.6 kB     00:00    
Ceph source packages                            3.9 kB/s | 1.8 kB     00:00    
ceph-iscsi noarch packages                      4.3 kB/s | 3.3 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64  5.1 MB/s |  16 MB     00:03    
ganesha                                         110 kB/s |  78 kB     00:00    
tcmu-runner packages for x86_64                 2.6 kB/s | 2.9 kB     00:01    
tcmu-runner noarch packages                     207  B/s | 257  B     00:01    
tcmu-runner source packages                     215  B/s | 257  B     00:01    
Dependencies resolved.
================================================================================
 Package                      Arch        Version            Repository    Size
================================================================================
Upgrading:
 nfs-ganesha                  x86_64      5.5-2.el8s         ganesha      735 k
 nfs-ganesha-ceph             x86_64      5.5-2.el8s         ganesha       42 k
 nfs-ganesha-rados-grace      x86_64      5.5-2.el8s         ganesha       43 k
 nfs-ganesha-rados-urls       x86_64      5.5-2.el8s         ganesha       17 k
 nfs-ganesha-rgw              x86_64      5.5-2.el8s         ganesha       30 k
 nfs-ganesha-selinux          noarch      5.5-2.el8s         ganesha       23 k

Transaction Summary
================================================================================
Upgrade  6 Packages

Total download size: 890 k
Downloading Packages:
(1/6): nfs-ganesha-ceph-5.5-2.el8s.x86_64.rpm   177 kB/s |  42 kB     00:00    
(2/6): nfs-ganesha-rados-grace-5.5-2.el8s.x86_6 181 kB/s |  43 kB     00:00    
(3/6): nfs-ganesha-rados-urls-5.5-2.el8s.x86_64 238 kB/s |  17 kB     00:00    
(4/6): nfs-ganesha-rgw-5.5-2.el8s.x86_64.rpm    402 kB/s |  30 kB     00:00    
(5/6): nfs-ganesha-5.5-2.el8s.x86_64.rpm        1.8 MB/s | 735 kB     00:00    
(6/6): nfs-ganesha-selinux-5.5-2.el8s.noarch.rp 205 kB/s |  23 kB     00:00    
--------------------------------------------------------------------------------
Total                                           2.1 MB/s | 890 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1 
  Running scriptlet: nfs-ganesha-selinux-5.5-2.el8s.noarch                  1/1 
  Running scriptlet: nfs-ganesha-selinux-5.5-2.el8s.noarch                 1/12 
/var/tmp/rpm-tmp.kPV8LA: line 2: /etc/selinux/config: No such file or directory
error: %prein(nfs-ganesha-selinux-5.5-2.el8s.noarch) scriptlet failed, exit status 1

Error in PREIN scriptlet in rpm package nfs-ganesha-selinux
  Running scriptlet: nfs-ganesha-5.5-2.el8s.x86_64                         2/12 
error: nfs-ganesha-selinux-5.5-2.el8s.noarch: install failed

  Upgrading        : nfs-ganesha-5.5-2.el8s.x86_64                         2/12 
  Running scriptlet: nfs-ganesha-5.5-2.el8s.x86_64                         2/12 
  Upgrading        : nfs-ganesha-ceph-5.5-2.el8s.x86_64                    3/12 
  Upgrading        : nfs-ganesha-rados-grace-5.5-2.el8s.x86_64             4/12 
  Upgrading        : nfs-ganesha-rados-urls-5.5-2.el8s.x86_64              5/12 
  Upgrading        : nfs-ganesha-rgw-5.5-2.el8s.x86_64                     6/12 
  Cleanup          : nfs-ganesha-rgw-5.4-1.el8s.x86_64                     7/12 
  Cleanup          : nfs-ganesha-rados-urls-5.4-1.el8s.x86_64              8/12 
  Cleanup          : nfs-ganesha-rados-grace-5.4-1.el8s.x86_64             9/12 
  Cleanup          : nfs-ganesha-ceph-5.4-1.el8s.x86_64                   10/12 
  Running scriptlet: nfs-ganesha-5.4-1.el8s.x86_64                        11/12 
  Cleanup          : nfs-ganesha-5.4-1.el8s.x86_64                        11/12 
  Running scriptlet: nfs-ganesha-5.4-1.el8s.x86_64                        11/12 
  Running scriptlet: nfs-ganesha-5.5-2.el8s.x86_64                        11/12 
error: nfs-ganesha-selinux-5.4-1.el8s.noarch: erase skipped
/var/tmp/rpm-tmp.uls7Fc: line 2: /etc/selinux/config: No such file or directory
warning: %posttrans(nfs-ganesha-5.5-2.el8s.x86_64) scriptlet failed, exit status 1

Error in POSTTRANS scriptlet in rpm package nfs-ganesha
  Running scriptlet: nfs-ganesha-5.4-1.el8s.x86_64                        11/12 
  Verifying        : nfs-ganesha-5.5-2.el8s.x86_64                         1/12 
  Verifying        : nfs-ganesha-5.4-1.el8s.x86_64                         2/12 
  Verifying        : nfs-ganesha-ceph-5.5-2.el8s.x86_64                    3/12 
  Verifying        : nfs-ganesha-ceph-5.4-1.el8s.x86_64                    4/12 
  Verifying        : nfs-ganesha-rados-grace-5.5-2.el8s.x86_64             5/12 
  Verifying        : nfs-ganesha-rados-grace-5.4-1.el8s.x86_64             6/12 
  Verifying        : nfs-ganesha-rados-urls-5.5-2.el8s.x86_64              7/12 
  Verifying        : nfs-ganesha-rados-urls-5.4-1.el8s.x86_64              8/12 
  Verifying        : nfs-ganesha-rgw-5.5-2.el8s.x86_64                     9/12 
  Verifying        : nfs-ganesha-rgw-5.4-1.el8s.x86_64                    10/12 
  Verifying        : nfs-ganesha-selinux-5.5-2.el8s.noarch                11/12 
  Verifying        : nfs-ganesha-selinux-5.4-1.el8s.noarch                12/12Error: Transaction failed
 

Upgraded:
  nfs-ganesha-5.5-2.el8s.x86_64                                                 
  nfs-ganesha-ceph-5.5-2.el8s.x86_64                                            
  nfs-ganesha-rados-grace-5.5-2.el8s.x86_64                                     
  nfs-ganesha-rados-urls-5.5-2.el8s.x86_64                                      
  nfs-ganesha-rgw-5.5-2.el8s.x86_64                                             
Failed:
  nfs-ganesha-selinux-5.4-1.el8s.noarch  nfs-ganesha-selinux-5.5-2.el8s.noarch 

we are trying to update cephcsi to use v18 image ceph/ceph-csi#4030

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions.

Copy link

This issue has been automatically closed due to inactivity. Please re-open if this still requires investigation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant