Menu

#4736 [fvt]2.10:update xcat failed for unpacking of archive failed on file /opt/xcat/share/xcat/netboot/SL/dracut_033

2.10
rejected
None
unknown
5
2015-07-10
2015-07-09
junxiaw
No

1.download the latest build
lsdef -v
c910f03c05k06:~ # lsdef -v
lsdef - Version 2.10 (git commit 46a35032ff93a8567e943f51b961d9abc297ba56, built Wed Jun 24 02:59:29 EDT 2015c910f03c05k06:/xcat-core # ls -al
total 4544


-rw-rw-r-- 1 root root 203560 Jul 9 2015 xCAT-2.10-snap201507090255.x86_64.rpm
-rw-rw-r-- 2 root root 203348 Jul 9 2015 xCAT-2.10-snap201507090256.ppc64le.rpm
-rw-rw-r-- 1 root root 203504 Jul 9 2015 xCAT-2.10-snap201507090256.ppc64.rpm
-rw-rw-r-- 1 root root 203364 Jul 9 2015 xCAT-2.10-snap201507090256.s390x.rpm
-rw-rw-r-- 1 root root 68776 Jul 9 2015 xCAT-buildkit-


2.want to update xcat build
zypper update 'xCAT'
Running Transaction
Updating : 4:perl-xCAT-2.10-snap201507090255.noarch 1/14
Updating : 4:xCAT-client-2.10-snap201507090255.noarch 2/14
Updating : 4:xCAT-server-2.10-snap201507090255.noarch 3/14
Error unpacking rpm package 4:xCAT-server-2.10-snap201507090255.noarch
error: unpacking of archive failed on file /opt/xcat/share/xcat/netboot/SL/dracut_033: cpio: rename
---------------Failed here
3.
c910f03c05k06:/opt/xcat/share/xcat/netboot/SL # ls -al
total 384
drwxr-xr-x 1 root root 182 Jan 1 05:58 .
drwxr-xr-x 1 root root 168 Jul 9 2015 ..
-rw-r--r-- 1 root root 257 Mar 30 2015 compute.exlist
-rw-r--r-- 1 root root 131 Mar 30 2015 compute.pkglist
lrwxrwxrwx 1 root root 35 Jan 1 05:58 compute.SL6.pkglist -> ../rh/compute.rhels6.x86_64.pkglist
drwxr-xr-x 1 root root 240 Jan 1 05:58 dracut
drwxr-xr-x 1 root root 240 Jul 7 2015 dracut_033
lrwxrwxrwx 1 root root 16 Jan 1 05:58 dracut_033;3a5062e3 -> ../rh/dracut_033
-rwxr-xr-x 1 root root 72951 Jul 7 2015 genimage
c910f03c05k06:/opt/xcat/share/xcat/netboot/SL #

after install the latest build:
all the directory are not linked
[root@c910f04x27v04 ~]# ls -al /opt/xcat/share/xcat/netboot/SL/
total 100
drwxr-xr-x 4 root root 4096 Jul 9 22:26 .
drwxr-xr-x 20 root root 4096 Jul 9 22:26 ..
-rw-r--r-- 1 root root 257 Jul 9 13:01 compute.exlist
-rw-r--r-- 1 root root 131 Jul 9 13:01 compute.pkglist
-rw-r--r-- 1 root root 187 Jul 9 13:01 compute.SL6.pkglist
drwxr-xr-x 2 root root 4096 Jul 9 22:26 dracut
drwxr-xr-x 2 root root 4096 Jul 9 22:26 dracut_033
-rwxr-xr-x 1 root root 72951 Jul 9 13:01 genimage
[root@c910f04x27v04 ~]#

Discussion

  • junxiaw

    junxiaw - 2015-07-10
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -34,3 +34,16 @@
     -rwxr-xr-x 1 root root 72951 Jul  7  2015 genimage
     c910f03c05k06:/opt/xcat/share/xcat/netboot/SL # 
    
    +after install the latest build:
    +all the directory are not linked
    +[root@c910f04x27v04 ~]# ls -al /opt/xcat/share/xcat/netboot/SL/
    +total 100
    +drwxr-xr-x 4 root root 4096 Jul 9 22:26 .
    +drwxr-xr-x 20 root root 4096 Jul 9 22:26 ..
    +-rw-r--r-- 1 root root 257 Jul 9 13:01 compute.exlist
    +-rw-r--r-- 1 root root 131 Jul 9 13:01 compute.pkglist
    +-rw-r--r-- 1 root root 187 Jul 9 13:01 compute.SL6.pkglist
    +drwxr-xr-x 2 root root 4096 Jul 9 22:26 dracut
    +drwxr-xr-x 2 root root 4096 Jul 9 22:26 dracut_033
    +-rwxr-xr-x 1 root root 72951 Jul 9 13:01 genimage
    +[root@c910f04x27v04 ~]# 
    
     
  • XiaoPeng Wang

    XiaoPeng Wang - 2015-07-10

    It was not a real defect that Jun Xia was using the xcat build which built in the automation env. The automation env did a copy of code before the build so that all the link s were replaced by real file/dir. So this is just a defect in our automaiton env. The official build has NOT this issue.

     
  • XiaoPeng Wang

    XiaoPeng Wang - 2015-07-10
    • status: open --> rejected