Menu

#4626 Unable to upgrade rpm package xCAT-genesis-base

2.10
unrecreatable
Lei Ai
genesis (6)
packaging
5
2015-05-19
2015-03-27
Lei Ai
No

This issue happens for PCM used genesis but seems caused by xCAT xCAT-genesis-base.spec code issue. It may not impact xCAT 2.8.x -> 2.9.x upgrade due to in 2.8.x xCAT was using an older version of package xCAT-genesis-base.

Env: PCM
package type: x86_64 rpm
scenario: upgrade packages 2.8.5 -> 2.9.1

Symptom:

  1. install old version genesis packages:
    [root@rhel64 old]# rpm -ivh *
    warning: xCAT-genesis-scripts-x86_64-2.8.5pcm-snap201410090153.noarch.rpm: Header V4 DSA/SHA1 Signature, key ID da736c68: NOKEY
    Preparing... ########################################### [100%]
    1:xCAT-genesis-base-x86_6########################################### [ 50%]
    2:xCAT-genesis-scripts-x8########################################### [100%]
    If you are installing/updating xCAT-genesis-base separately, not as part of installing/updating all of xCAT, run 'mknb <arch> manually'

  2. Upgrade them to newer version, runs into problem:
    [root@rhel64 new]# rpm -Uvh xCAT-genesis-base-x86_64-2.9-snap201503060727.noarch.rpm
    Preparing... ########################################### [100%]
    file /opt/xcat/share/xcat/netboot/genesis/x86_64/fs/bin from install of xCAT-genesis-base-x86_64-1:2.9-snap201503060727.noarch conflicts with file from package xCAT-genesis-scripts-x86_64-1:2.8.5pcm-snap201410090153.noarch
    file /opt/xcat/share/xcat/netboot/genesis/x86_64/fs/sbin from install of xCAT-genesis-base-x86_64-1:2.9-snap201503060727.noarch conflicts with file from package xCAT-genesis-scripts-x86_64-1:2.8.5pcm-snap201410090153.noarch
    [root@rhel64 new]#

  3. Odd directory created:
    [root@rhel64 new]# ll /opt/xcat/share/xcat/netboot/genesis/x86_64/fs/
    total 84
    drwxr-xr-x 2 root root 4096 Mar 26 15:36 bin
    lrwxrwxrwx 1 root root 7 Mar 26 15:36 bin;5513b701 -> usr/bin <--------------------- ???
    drwxr-xr-x 2 root root 4096 Mar 26 15:32 cmdline
    drwxr-xr-x 2 root root 4096 Mar 26 15:36 debian
    drwxr-xr-x 3 root root 4096 Mar 26 15:32 dev
    drwxr-xr-x 5 root root 4096 Mar 26 15:32 etc
    -rwxr-xr-x 1 root root 8879 Mar 5 2014 init
    drwxr-xr-x 2 root root 4096 Apr 4 2014 initqueue
    drwxr-xr-x 2 root root 4096 Apr 4 2014 initqueue-finished
    drwxr-xr-x 2 root root 4096 Apr 4 2014 initqueue-settled
    drwxr-xr-x 2 root root 4096 Apr 4 2014 initqueue-timeout
    drwxr-xr-x 6 root root 4096 Mar 26 15:32 lib
    drwxr-xr-x 3 root root 4096 Mar 26 15:32 lib64
    drwxr-xr-x 2 root root 4096 Apr 4 2014 proc
    drwxr-xr-x 2 root root 4096 Mar 26 15:36 sbin
    drwxr-xr-x 2 root root 4096 Apr 4 2014 sys
    drwxr-xr-x 2 root root 4096 Apr 4 2014 sysroot
    drwxrwxrwt 2 root root 4096 Apr 4 2014 tmp
    drwxr-xr-x 7 root root 4096 Mar 26 15:32 usr
    drwxr-xr-x 5 root root 4096 Mar 26 15:32 var

Analysis:
Probably caused by this line?


leiai@leiai-desktop:~/leiai/codes/xcat-git/xcat-core/xCAT-genesis-builder$ git diff 6d8b0c81862b8634874c39fe3bb530705adef05f f252d167a1a90cf729ac361826f030d8e79359b4 xCAT-genesis-base.spec
diff --git a/xCAT-genesis-builder/xCAT-genesis-base.spec b/xCAT-genesis-builder/xCAT-genesis-base.spec
old mode 100644
new mode 100755
index 6187e76..dff9dc3
--- a/xCAT-genesis-builder/xCAT-genesis-base.spec
+++ b/xCAT-genesis-builder/xCAT-genesis-base.spec
@@ -59,4 +59,4 @@ fi

%Files
%defattr(-,root,root)
-/
+/opt/xcat/share/xcat/netboot/genesis/%{tarch}

Discussion

  • Lei Ai

    Lei Ai - 2015-03-27

    This line may impact xCAT 2.9.x upgrade to future releases.

     
  • Guang Cheng Li

    Guang Cheng Li - 2015-04-15
    • assigned_to: Guang Cheng Li
    • component: general --> packaging
     
  • Guang Cheng Li

    Guang Cheng Li - 2015-04-15

    I am not able to recreate this problem.

    [root@c910f04x19k07 ~]# lsxcatd -v
    Version 2.8.5 (git commit 51b69940b6fc7b54fc2a1f89330e69c8f830a3fc, built Mon Sep  1 02:28:50 EDT 2014)
    [root@c910f04x19k07 ~]# rpm -qa | grep -i xcat
    xCAT-genesis-scripts-x86_64-2.8.5-snap201409010230.noarch
    elilo-xcat-3.14-4.noarch
    xCAT-client-2.8.5-snap201409010228.noarch
    xCAT-genesis-base-x86_64-2.8-snap201404300240.noarch
    syslinux-xcat-3.86-2.noarch
    grub2-xcat-1.0-1.noarch
    conserver-xcat-8.1.16-10.x86_64
    perl-xCAT-2.8.5-snap201409010228.noarch
    xCAT-server-2.8.5-snap201409010229.noarch
    xCAT-buildkit-2.8.5-snap201409010230.noarch
    ipmitool-xcat-1.8.11-3.x86_64
    xCAT-2.8.5-snap201409010230.x86_64
    [root@c910f04x19k07 ~]# yum clean metadata
    Loaded plugins: product-id, security, subscription-manager
    This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
    Cleaning repos: local-rhels6.6-x86_64-HighAvailability local-rhels6.6-x86_64-LoadBalancer
                  : local-rhels6.6-x86_64-ResilientStorage local-rhels6.6-x86_64-ScalableFileSystem
                  : local-rhels6.6-x86_64-Server local-rhels6.6-x86_64-x86_64 xcat-2-core xcat-dep
    16 metadata files removed
    8 sqlite files removed
    0 metadata files removed
    [root@c910f04x19k07 ~]# yum update "*xCAT*"
    Loaded plugins: product-id, security, subscription-manager
    This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
    Setting up Update Process
    local-rhels6.6-x86_64-HighAvailability                                                     | 4.1 kB     00:00     
    local-rhels6.6-x86_64-HighAvailability/primary_db                                          |  44 kB     00:00     
    local-rhels6.6-x86_64-LoadBalancer                                                         | 4.1 kB     00:00     
    local-rhels6.6-x86_64-LoadBalancer/primary_db                                              | 7.4 kB     00:00     
    local-rhels6.6-x86_64-ResilientStorage                                                     | 4.1 kB     00:00     
    local-rhels6.6-x86_64-ResilientStorage/primary_db                                          |  50 kB     00:00     
    local-rhels6.6-x86_64-ScalableFileSystem                                                   | 4.1 kB     00:00     
    local-rhels6.6-x86_64-ScalableFileSystem/primary_db                                        | 7.0 kB     00:00     
    local-rhels6.6-x86_64-Server                                                               | 4.1 kB     00:00     
    local-rhels6.6-x86_64-Server/primary_db                                                    | 3.1 MB     00:00     
    local-rhels6.6-x86_64-x86_64                                                               | 4.1 kB     00:00     
    local-rhels6.6-x86_64-x86_64/primary_db                                                    | 3.1 MB     00:00     
    xcat-2-core                                                                                | 2.5 kB     00:00 ... 
    xcat-2-core/primary_db                                                                     |  25 kB     00:00 ... 
    xcat-dep                                                                                   | 2.5 kB     00:00 ... 
    xcat-dep/primary_db                                                                        |  27 kB     00:00 ... 
    Resolving Dependencies
    --> Running transaction check
    ---> Package perl-xCAT.noarch 4:2.8.5-snap201409010228 will be updated
    ---> Package perl-xCAT.noarch 4:2.9.1-snap201503190325 will be an update
    ---> Package xCAT.x86_64 0:2.8.5-snap201409010230 will be updated
    ---> Package xCAT.x86_64 0:2.9.1-snap201503190326 will be an update
    ---> Package xCAT-buildkit.noarch 4:2.8.5-snap201409010230 will be updated
    ---> Package xCAT-buildkit.noarch 4:2.9.1-snap201503190326 will be an update
    ---> Package xCAT-client.noarch 4:2.8.5-snap201409010228 will be updated
    ---> Package xCAT-client.noarch 4:2.9.1-snap201503190325 will be an update
    ---> Package xCAT-genesis-base-x86_64.noarch 1:2.8-snap201404300240 will be updated
    ---> Package xCAT-genesis-base-x86_64.noarch 1:2.9-snap201410100236 will be an update
    ---> Package xCAT-genesis-scripts-x86_64.noarch 1:2.8.5-snap201409010230 will be updated
    ---> Package xCAT-genesis-scripts-x86_64.noarch 1:2.9.1-snap201503190326 will be an update
    ---> Package xCAT-server.noarch 4:2.8.5-snap201409010229 will be updated
    ---> Package xCAT-server.noarch 4:2.9.1-snap201503190325 will be an update
    --> Processing Dependency: perl(Sys::Virt) for package: 4:xCAT-server-2.9.1-snap201503190325.noarch
    --> Running transaction check
    ---> Package perl-Sys-Virt.x86_64 0:0.10.2-5.el6 will be installed
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.0.3)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.0.5)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.1.0)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.1.1)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.1.4)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.1.5)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.1.9)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.10.0)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.10.2)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.2.0)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.2.1)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.2.3)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.3.0)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.3.2)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.3.3)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.4.0)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.4.1)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.4.2)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.4.5)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.5.0)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.6.0)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.6.1)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.6.3)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.6.4)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.7.0)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.7.1)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.7.2)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.7.3)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.7.5)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.7.7)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.8.0)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.8.1)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.8.2)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.8.5)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.8.6)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.8.8)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.9.0)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.9.10)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.9.11)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.9.13)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.9.2)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.9.3)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.9.4)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.9.5)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.9.7)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.9.8)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0(LIBVIRT_0.9.9)(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Processing Dependency: libvirt.so.0()(64bit) for package: perl-Sys-Virt-0.10.2-5.el6.x86_64
    --> Running transaction check
    ---> Package libvirt-client.x86_64 0:0.10.2-46.el6 will be installed
    --> Processing Dependency: cyrus-sasl-md5 for package: libvirt-client-0.10.2-46.el6.x86_64
    --> Processing Dependency: gettext for package: libvirt-client-0.10.2-46.el6.x86_64
    --> Processing Dependency: gnutls-utils for package: libvirt-client-0.10.2-46.el6.x86_64
    --> Processing Dependency: libgnutls.so.26(GNUTLS_1_4)(64bit) for package: libvirt-client-0.10.2-46.el6.x86_64
    --> Processing Dependency: nc for package: libvirt-client-0.10.2-46.el6.x86_64
    --> Processing Dependency: libavahi-client.so.3()(64bit) for package: libvirt-client-0.10.2-46.el6.x86_64
    --> Processing Dependency: libavahi-common.so.3()(64bit) for package: libvirt-client-0.10.2-46.el6.x86_64
    --> Processing Dependency: libgnutls.so.26()(64bit) for package: libvirt-client-0.10.2-46.el6.x86_64
    --> Processing Dependency: libyajl.so.1()(64bit) for package: libvirt-client-0.10.2-46.el6.x86_64
    --> Running transaction check
    ---> Package avahi-libs.x86_64 0:0.6.25-15.el6 will be installed
    ---> Package cyrus-sasl-md5.x86_64 0:2.1.23-15.el6 will be installed
    ---> Package gettext.x86_64 0:0.17-18.el6 will be installed
    --> Processing Dependency: cvs for package: gettext-0.17-18.el6.x86_64
    --> Processing Dependency: libgomp.so.1(GOMP_1.0)(64bit) for package: gettext-0.17-18.el6.x86_64
    --> Processing Dependency: libgomp.so.1()(64bit) for package: gettext-0.17-18.el6.x86_64
    ---> Package gnutls.x86_64 0:2.8.5-14.el6_5 will be installed
    ---> Package gnutls-utils.x86_64 0:2.8.5-14.el6_5 will be installed
    ---> Package nc.x86_64 0:1.84-22.el6 will be installed
    ---> Package yajl.x86_64 0:1.0.7-3.el6 will be installed
    --> Running transaction check
    ---> Package cvs.x86_64 0:1.11.23-16.el6 will be installed
    ---> Package libgomp.x86_64 0:4.4.7-11.el6 will be installed
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ==================================================================================================================
     Package                         Arch       Version                        Repository                        Size
    ==================================================================================================================
    Updating:
     perl-xCAT                       noarch     4:2.9.1-snap201503190325       xcat-2-core                      706 k
     xCAT                            x86_64     2.9.1-snap201503190326         xcat-2-core                      215 k
     xCAT-buildkit                   noarch     4:2.9.1-snap201503190326       xcat-2-core                       92 k
     xCAT-client                     noarch     4:2.9.1-snap201503190325       xcat-2-core                      552 k
     xCAT-genesis-base-x86_64        noarch     1:2.9-snap201410100236         xcat-dep                          29 M
     xCAT-genesis-scripts-x86_64     noarch     1:2.9.1-snap201503190326       xcat-2-core                       44 k
     xCAT-server                     noarch     4:2.9.1-snap201503190325       xcat-2-core                      1.8 M
    Installing for dependencies:
     avahi-libs                      x86_64     0.6.25-15.el6                  local-rhels6.6-x86_64-Server      55 k
     cvs                             x86_64     1.11.23-16.el6                 local-rhels6.6-x86_64-Server     712 k
     cyrus-sasl-md5                  x86_64     2.1.23-15.el6                  local-rhels6.6-x86_64-Server      47 k
     gettext                         x86_64     0.17-18.el6                    local-rhels6.6-x86_64-Server     1.8 M
     gnutls                          x86_64     2.8.5-14.el6_5                 local-rhels6.6-x86_64-Server     346 k
     gnutls-utils                    x86_64     2.8.5-14.el6_5                 local-rhels6.6-x86_64-Server     100 k
     libgomp                         x86_64     4.4.7-11.el6                   local-rhels6.6-x86_64-Server     133 k
     libvirt-client                  x86_64     0.10.2-46.el6                  local-rhels6.6-x86_64-Server     4.0 M
     nc                              x86_64     1.84-22.el6                    local-rhels6.6-x86_64-Server      57 k
     perl-Sys-Virt                   x86_64     0.10.2-5.el6                   local-rhels6.6-x86_64-Server     255 k
     yajl                            x86_64     1.0.7-3.el6                    local-rhels6.6-x86_64-Server      27 k
    
    Transaction Summary
    ==================================================================================================================
    Install      11 Package(s)
    Upgrade       7 Package(s)
    
    Total download size: 40 M
    Is this ok [y/N]: y
    Downloading Packages:
    (1/18): avahi-libs-0.6.25-15.el6.x86_64.rpm                                                |  55 kB     00:00     
    (2/18): cvs-1.11.23-16.el6.x86_64.rpm                                                      | 712 kB     00:00     
    (3/18): cyrus-sasl-md5-2.1.23-15.el6.x86_64.rpm                                            |  47 kB     00:00     
    (4/18): gettext-0.17-18.el6.x86_64.rpm                                                     | 1.8 MB     00:00     
    (5/18): gnutls-2.8.5-14.el6_5.x86_64.rpm                                                   | 346 kB     00:00     
    (6/18): gnutls-utils-2.8.5-14.el6_5.x86_64.rpm                                             | 100 kB     00:00     
    (7/18): libgomp-4.4.7-11.el6.x86_64.rpm                                                    | 133 kB     00:00     
    (8/18): libvirt-client-0.10.2-46.el6.x86_64.rpm                                            | 4.0 MB     00:00     
    (9/18): nc-1.84-22.el6.x86_64.rpm                                                          |  57 kB     00:00     
    (10/18): perl-Sys-Virt-0.10.2-5.el6.x86_64.rpm                                             | 255 kB     00:00     
    (18/18): yajl-1.0.7-3.el6.x86_64.rpm                                                       |  27 kB     00:00     
    ------------------------------------------------------------------------------------------------------------------
    Total                                                                              91 MB/s |  40 MB     00:00     
    warning: rpmts_HdrFromFdno: Header V4 DSA/SHA1 Signature, key ID c6565bc9: NOKEY
    Retrieving key from file:///root/xcat/xcat-core/repodata/repomd.xml.key
    Importing GPG key 0xC6565BC9:
     Userid: "xCAT Security Key <xcat@cn.ibm.com>"
     From  : /root/xcat/xcat-core/repodata/repomd.xml.key
    Is this ok [y/N]: y
    Running rpm_check_debug
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
      Updating   : 4:perl-xCAT-2.9.1-snap201503190325.noarch                                                     1/25 
      Updating   : 4:xCAT-client-2.9.1-snap201503190325.noarch                                                   2/25 
      Installing : gnutls-2.8.5-14.el6_5.x86_64                                                                  3/25 
      Installing : gnutls-utils-2.8.5-14.el6_5.x86_64                                                            4/25 
      Installing : cvs-1.11.23-16.el6.x86_64                                                                     5/25 
      Installing : yajl-1.0.7-3.el6.x86_64                                                                       6/25 
      Updating   : 4:xCAT-buildkit-2.9.1-snap201503190326.noarch                                                 7/25 
      Installing : cyrus-sasl-md5-2.1.23-15.el6.x86_64                                                           8/25 
      Installing : nc-1.84-22.el6.x86_64                                                                         9/25 
      Updating   : 1:xCAT-genesis-base-x86_64-2.9-snap201410100236.noarch                                       10/25 
    If you are installing/updating xCAT-genesis-base separately, not as part of installing/updating all of xCAT, run 'mknb <arch> manually'
      Updating   : 1:xCAT-genesis-scripts-x86_64-2.9.1-snap201503190326.noarch                                  11/25 
    If you are installing/updating xCAT-genesis-base separately, not as part of installing/updating all of xCAT, run 'mknb <arch>' manually
      Installing : avahi-libs-0.6.25-15.el6.x86_64                                                              12/25 
      Installing : libgomp-4.4.7-11.el6.x86_64                                                                  13/25 
      Installing : gettext-0.17-18.el6.x86_64                                                                   14/25 
      Installing : libvirt-client-0.10.2-46.el6.x86_64                                                          15/25 
      Installing : perl-Sys-Virt-0.10.2-5.el6.x86_64                                                            16/25 
      Updating   : 4:xCAT-server-2.9.1-snap201503190325.noarch                                                  17/25 
      Updating   : xCAT-2.9.1-snap201503190326.x86_64                                                           18/25 
    Running '/opt/xcat/sbin/mknb x86_64', triggered by the installation/update of xCAT-genesis-scripts-x86_64 ...
    Creating genesis.fs.x86_64.lzma in /tftpboot/xcat
    The 'mknb x86_64' command completed successfully.
      Cleanup    : xCAT-2.8.5-snap201409010230.x86_64                                                           19/25 
      Cleanup    : 4:xCAT-server-2.8.5-snap201409010229.noarch                                                  20/25 
      Cleanup    : 4:xCAT-client-2.8.5-snap201409010228.noarch                                                  21/25 
      Cleanup    : 1:xCAT-genesis-scripts-x86_64-2.8.5-snap201409010230.noarch                                  22/25 
      Cleanup    : 1:xCAT-genesis-base-x86_64-2.8-snap201404300240.noarch                                       23/25 
      Cleanup    : 4:perl-xCAT-2.8.5-snap201409010228.noarch                                                    24/25 
      Cleanup    : 4:xCAT-buildkit-2.8.5-snap201409010230.noarch                                                25/25 
      Verifying  : 4:xCAT-client-2.9.1-snap201503190325.noarch                                                   1/25 
      Verifying  : libvirt-client-0.10.2-46.el6.x86_64                                                           2/25 
      Verifying  : xCAT-2.9.1-snap201503190326.x86_64                                                            3/25 
      Verifying  : 4:perl-xCAT-2.9.1-snap201503190325.noarch                                                     4/25 
      Verifying  : libgomp-4.4.7-11.el6.x86_64                                                                   5/25 
      Verifying  : avahi-libs-0.6.25-15.el6.x86_64                                                               6/25 
      Verifying  : gnutls-utils-2.8.5-14.el6_5.x86_64                                                            7/25 
      Verifying  : 1:xCAT-genesis-base-x86_64-2.9-snap201410100236.noarch                                        8/25 
      Verifying  : gnutls-2.8.5-14.el6_5.x86_64                                                                  9/25 
      Verifying  : nc-1.84-22.el6.x86_64                                                                        10/25 
      Verifying  : gettext-0.17-18.el6.x86_64                                                                   11/25 
      Verifying  : 1:xCAT-genesis-scripts-x86_64-2.9.1-snap201503190326.noarch                                  12/25 
      Verifying  : cyrus-sasl-md5-2.1.23-15.el6.x86_64                                                          13/25 
      Verifying  : perl-Sys-Virt-0.10.2-5.el6.x86_64                                                            14/25 
      Verifying  : 4:xCAT-buildkit-2.9.1-snap201503190326.noarch                                                15/25 
      Verifying  : yajl-1.0.7-3.el6.x86_64                                                                      16/25 
      Verifying  : 4:xCAT-server-2.9.1-snap201503190325.noarch                                                  17/25 
      Verifying  : cvs-1.11.23-16.el6.x86_64                                                                    18/25 
      Verifying  : 1:xCAT-genesis-base-x86_64-2.8-snap201404300240.noarch                                       19/25 
      Verifying  : xCAT-2.8.5-snap201409010230.x86_64                                                           20/25 
      Verifying  : 1:xCAT-genesis-scripts-x86_64-2.8.5-snap201409010230.noarch                                  21/25 
      Verifying  : 4:xCAT-client-2.8.5-snap201409010228.noarch                                                  22/25 
      Verifying  : 4:xCAT-buildkit-2.8.5-snap201409010230.noarch                                                23/25 
      Verifying  : 4:perl-xCAT-2.8.5-snap201409010228.noarch                                                    24/25 
      Verifying  : 4:xCAT-server-2.8.5-snap201409010229.noarch                                                  25/25 
    
    Dependency Installed:
      avahi-libs.x86_64 0:0.6.25-15.el6   cvs.x86_64 0:1.11.23-16.el6           cyrus-sasl-md5.x86_64 0:2.1.23-15.el6
      gettext.x86_64 0:0.17-18.el6        gnutls.x86_64 0:2.8.5-14.el6_5        gnutls-utils.x86_64 0:2.8.5-14.el6_5 
      libgomp.x86_64 0:4.4.7-11.el6       libvirt-client.x86_64 0:0.10.2-46.el6 nc.x86_64 0:1.84-22.el6              
      perl-Sys-Virt.x86_64 0:0.10.2-5.el6 yajl.x86_64 0:1.0.7-3.el6            
    
    Updated:
      perl-xCAT.noarch 4:2.9.1-snap201503190325                                                                       
      xCAT.x86_64 0:2.9.1-snap201503190326                                                                            
      xCAT-buildkit.noarch 4:2.9.1-snap201503190326                                                                   
      xCAT-client.noarch 4:2.9.1-snap201503190325                                                                     
      xCAT-genesis-base-x86_64.noarch 1:2.9-snap201410100236                                                          
      xCAT-genesis-scripts-x86_64.noarch 1:2.9.1-snap201503190326                                                     
      xCAT-server.noarch 4:2.9.1-snap201503190325                                                                     
    
    Complete!
    [root@c910f04x19k07 ~]# lsxcatd -v
    Version 2.9.1 (git commit 7f6043fffd62d482931b17b60f9488eb5754fdc1, built Thu Mar 19 03:25:35 EDT 2015)
    [root@c910f04x19k07 ~]# rpm -qa | grep -i xcat
    elilo-xcat-3.14-4.noarch
    perl-xCAT-2.9.1-snap201503190325.noarch
    xCAT-server-2.9.1-snap201503190325.noarch
    syslinux-xcat-3.86-2.noarch
    grub2-xcat-1.0-1.noarch
    conserver-xcat-8.1.16-10.x86_64
    xCAT-client-2.9.1-snap201503190325.noarch
    xCAT-genesis-base-x86_64-2.9-snap201410100236.noarch
    xCAT-2.9.1-snap201503190326.x86_64
    ipmitool-xcat-1.8.11-3.x86_64
    xCAT-buildkit-2.9.1-snap201503190326.noarch
    xCAT-genesis-scripts-x86_64-2.9.1-snap201503190326.noarch
    [root@c910f04x19k07 ~]# 
    
     
  • Guang Cheng Li

    Guang Cheng Li - 2015-04-15

    And I could update from 2.9.1 to 2.10 without any problem.

    ~~~
    [root@c910f04x19k07 xcat]# yum clean metadata
    Loaded plugins: product-id, security, subscription-manager
    This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
    Cleaning repos: local-rhels6.6-x86_64-HighAvailability local-rhels6.6-x86_64-LoadBalancer
    : local-rhels6.6-x86_64-ResilientStorage local-rhels6.6-x86_64-ScalableFileSystem
    : local-rhels6.6-x86_64-Server local-rhels6.6-x86_64-x86_64 xcat-2-core xcat-dep
    16 metadata files removed
    8 sqlite files removed
    0 metadata files removed
    [root@c910f04x19k07 xcat]# yum update "xCAT"
    Loaded plugins: product-id, security, subscription-manager
    This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
    Setting up Update Process
    local-rhels6.6-x86_64-HighAvailability | 4.1 kB 00:00
    local-rhels6.6-x86_64-HighAvailability/primary_db | 44 kB 00:00
    local-rhels6.6-x86_64-LoadBalancer | 4.1 kB 00:00
    local-rhels6.6-x86_64-LoadBalancer/primary_db | 7.4 kB 00:00
    local-rhels6.6-x86_64-ResilientStorage | 4.1 kB 00:00
    local-rhels6.6-x86_64-ResilientStorage/primary_db | 50 kB 00:00
    local-rhels6.6-x86_64-ScalableFileSystem | 4.1 kB 00:00
    local-rhels6.6-x86_64-ScalableFileSystem/primary_db | 7.0 kB 00:00
    local-rhels6.6-x86_64-Server | 4.1 kB 00:00
    local-rhels6.6-x86_64-Server/primary_db | 3.1 MB 00:00
    local-rhels6.6-x86_64-x86_64 | 4.1 kB 00:00
    local-rhels6.6-x86_64-x86_64/primary_db | 3.1 MB 00:00
    xcat-2-core | 2.5 kB 00:00 ...
    xcat-2-core/primary_db | 25 kB 00:00 ...
    xcat-dep | 2.5 kB 00:00 ...
    xcat-dep/primary_db | 27 kB 00:00 ...
    Resolving Dependencies
    --> Running transaction check
    ---> Package perl-xCAT.noarch 4:2.9.1-snap201503190325 will be updated
    ---> Package perl-xCAT.noarch 4:2.10-snap201504012124 will be an update
    ---> Package xCAT.x86_64 0:2.9.1-snap201503190326 will be updated
    ---> Package xCAT.x86_64 0:2.10-snap201504012124 will be an update
    ---> Package xCAT-buildkit.noarch 4:2.9.1-snap201503190326 will be updated
    ---> Package xCAT-buildkit.noarch 4:2.10-snap201503312336 will be an update
    ---> Package xCAT-client.noarch 4:2.9.1-snap201503190325 will be updated
    ---> Package xCAT-client.noarch 4:2.10-snap201503312336 will be an update
    ---> Package xCAT-genesis-scripts-x86_64.noarch 1:2.9.1-snap201503190326 will be updated
    ---> Package xCAT-genesis-scripts-x86_64.noarch 1:2.10-snap201503312336 will be an update
    ---> Package xCAT-server.noarch 4:2.9.1-snap201503190325 will be updated
    ---> Package xCAT-server.noarch 4:2.10-snap201503312336 will be an update
    --> Finished Dependency Resolution

    Dependencies Resolved

    ==================================================================================================================
    Package Arch Version Repository Size
    ==================================================================================================================
    Updating:
    perl-xCAT noarch 4:2.10-snap201504012124 xcat-2-core 706 k
    xCAT x86_64 2.10-snap201504012124 xcat-2-core 215 k
    xCAT-buildkit noarch 4:2.10-snap201503312336 xcat-2-core 92 k
    xCAT-client noarch 4:2.10-snap201503312336 xcat-2-core 552 k
    xCAT-genesis-scripts-x86_64 noarch 1:2.10-snap201503312336 xcat-2-core 44 k
    xCAT-server noarch 4:2.10-snap201503312336 xcat-2-core 1.8 M

    Transaction Summary

    Upgrade 6 Package(s)

    Total download size: 3.3 M
    Is this ok [y/N]: y
    Downloading Packages:


    Total 131 MB/s | 3.3 MB 00:00
    Running rpm_check_debug
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
    Updating : 4:perl-xCAT-2.10-snap201504012124.noarch 1/12
    Updating : 4:xCAT-client-2.10-snap201503312336.noarch 2/12
    Updating : 4:xCAT-server-2.10-snap201503312336.noarch 3/12
    Updating : 1:xCAT-genesis-scripts-x86_64-2.10-snap201503312336.noarch 4/12
    If you are installing/updating xCAT-genesis-base separately, not as part of installing/updating all of xCAT, run 'mknb <arch>' manually
    Updating : 4:xCAT-buildkit-2.10-snap201503312336.noarch 5/12
    Updating : xCAT-2.10-snap201504012124.x86_64 6/12
    Restarting xCATd [ OK ]
    Running '/opt/xcat/sbin/mknb x86_64', triggered by the installation/update of xCAT-genesis-scripts-x86_64 ...
    Creating genesis.fs.x86_64.lzma in /tftpboot/xcat
    The 'mknb x86_64' command completed successfully.
    Cleanup : xCAT-2.9.1-snap201503190326.x86_64 7/12
    Cleanup : 4:xCAT-server-2.9.1-snap201503190325.noarch 8/12
    Cleanup : 4:xCAT-client-2.9.1-snap201503190325.noarch 9/12
    Cleanup : 4:perl-xCAT-2.9.1-snap201503190325.noarch 10/12
    Cleanup : 4:xCAT-buildkit-2.9.1-snap201503190326.noarch 11/12
    Cleanup : 1:xCAT-genesis-scripts-x86_64-2.9.1-snap201503190326.noarch 12/12
    Verifying : 4:perl-xCAT-2.10-snap201504012124.noarch 1/12
    Verifying : 4:xCAT-buildkit-2.10-snap201503312336.noarch 2/12
    Verifying : 4:xCAT-client-2.10-snap201503312336.noarch 3/12
    Verifying : xCAT-2.10-snap201504012124.x86_64 4/12
    Verifying : 1:xCAT-genesis-scripts-x86_64-2.10-snap201503312336.noarch 5/12
    Verifying : 4:xCAT-server-2.10-snap201503312336.noarch 6/12
    Verifying : 1:xCAT-genesis-scripts-x86_64-2.9.1-snap201503190326.noarch 7/12
    Verifying : 4:perl-xCAT-2.9.1-snap201503190325.noarch 8/12
    Verifying : 4:xCAT-client-2.9.1-snap201503190325.noarch 9/12
    Verifying : 4:xCAT-buildkit-2.9.1-snap201503190326.noarch 10/12
    Verifying : xCAT-2.9.1-snap201503190326.x86_64 11/12
    Verifying : 4:xCAT-server-2.9.1-snap201503190325.noarch 12/12

    Updated:
    perl-xCAT.noarch 4:2.10-snap201504012124 xCAT.x86_64 0:2.10-snap201504012124
    xCAT-buildkit.noarch 4:2.10-snap201503312336 xCAT-client.noarch 4:2.10-snap201503312336
    xCAT-genesis-scripts-x86_64.noarch 1:2.10-snap201503312336 xCAT-server.noarch 4:2.10-snap201503312336

    Complete!
    [root@c910f04x19k07 xcat]# /opt/xcat/bin/lsxcatd -v
    Version 2.10 (git commit cc73b77243db41fe256aa660740804d2c8144891, built Wed Apr 1 21:24:16 EDT 2015)
    [root@c910f04x19k07 xcat]# rpm -qa | grep -i xcat
    elilo-xcat-3.14-4.noarch
    xCAT-server-2.10-snap201503312336.noarch
    syslinux-xcat-3.86-2.noarch
    grub2-xcat-1.0-1.noarch
    conserver-xcat-8.1.16-10.x86_64
    xCAT-genesis-base-x86_64-2.9-snap201410100236.noarch
    xCAT-client-2.10-snap201503312336.noarch
    xCAT-genesis-scripts-x86_64-2.10-snap201503312336.noarch
    xCAT-2.10-snap201504012124.x86_64
    ipmitool-xcat-1.8.11-3.x86_64
    perl-xCAT-2.10-snap201504012124.noarch
    xCAT-buildkit-2.10-snap201503312336.noarch
    [root@c910f04x19k07 xcat]#
    ~~~~

     
  • Guang Cheng Li

    Guang Cheng Li - 2015-04-15
    • assigned_to: Guang Cheng Li --> Lei Ai
     
  • Guang Cheng Li

    Guang Cheng Li - 2015-04-15

    The only possibility I could think of is that the xCAT-genesis-base shipped with PCM still includes the "/", "/usr/bin" and "/usr/sbin" in the spec file, I fixed this problem in the middle of 2014, if PCM is still using this old version, then PCM needs to ship a newer version of xCAT-genesis-base.

    Assigning back to PCM team for further investigation...

    [root@c910f04x19k07 ~]# rpm -ql xCAT-genesis-base-x86_64 | head -n 10  ==> should not include any directory other than /opt/xcat/share/xcat/netboot/genesis/x86_64
    /opt/xcat/share/xcat/netboot/genesis/x86_64
    /opt/xcat/share/xcat/netboot/genesis/x86_64/fs
    /opt/xcat/share/xcat/netboot/genesis/x86_64/fs/bin
    /opt/xcat/share/xcat/netboot/genesis/x86_64/fs/bin/basename
    /opt/xcat/share/xcat/netboot/genesis/x86_64/fs/bin/bash
    /opt/xcat/share/xcat/netboot/genesis/x86_64/fs/bin/cat
    /opt/xcat/share/xcat/netboot/genesis/x86_64/fs/bin/chmod
    /opt/xcat/share/xcat/netboot/genesis/x86_64/fs/bin/chown
    /opt/xcat/share/xcat/netboot/genesis/x86_64/fs/bin/cp
    /opt/xcat/share/xcat/netboot/genesis/x86_64/fs/bin/cpio
    [root@c910f04x19k07 ~]# 
    
     
  • Guang Cheng Li

    Guang Cheng Li - 2015-05-19
    • status: open --> unrecreatable
     
  • Guang Cheng Li

    Guang Cheng Li - 2015-05-19

    Ai Lei does not work on xCAT any more, since this problem could be recreated, closing this bug.