Menu

#4723 [dev]mixed directory and http otherpkgdir make genimage failed

2.10
closed
BaiYuan
None
ubuntu
5
2015-07-06
2015-07-02
BaiYuan
No

In this case, there are mixed directory and http in otherpkgdir, genimage failed.
For example, reproduce steps:
]# lsdef -t osimage ubuntu14.04.2-ppc64el-netboot-compute
Object name: ubuntu14.04.2-ppc64el-netboot-compute
exlist=/opt/xcat/share/xcat/netboot/ubuntu/compute.exlist,/install/osimages/ubuntu14.04.2-ppc64el-netboot-compute/kits/KIT_COMPONENTS.exlist
imagetype=linux
kitcomponents=xlf.license-compute-15.1.2-0-ubuntu-14.04-ppc64el,xlf.rte-compute-15.1.2-0-ubuntu-14.04-ppc64el
osarch=ppc64el
osname=Linux
osvers=ubuntu14.04.2
otherpkgdir=http://10.3.5.25/install/cuda-repo/var/cuda-repo-7-0-local /,/install/post/otherpkgs/ubuntu14.04.2/ppc64el
otherpkglist=/install/osimages/ubuntu14.04.2-ppc64el-netboot-compute/kits/KIT_DEPLOY_PARAMS.otherpkgs.pkglist,/opt/xcat/share/xcat/netboot/ubuntu/cudafull.otherpkgs.pkglist,/install/osimages/ubuntu14.04.2-ppc64el-netboot-compute/kits/KIT_COMPONENTS.otherpkgs.pkglist
permission=755
pkgdir=/install/ubuntu14.04.2/ppc64el,http://ports.ubuntu.com/ubuntu-ports trusty main,http://ports.ubuntu.com/ubuntu-ports trusty-updates main
pkglist=/opt/xcat/share/xcat/netboot/ubuntu/compute.ubuntu14.04.2.ppc64el.pkglist,/opt/xcat/share/xcat/netboot/ubuntu/cudafull.ubuntu14.04.2.ppc64el.pkglist
postinstall=/opt/xcat/share/xcat/netboot/ubuntu/compute.postinstall
profile=compute
provmethod=netboot
rootimgdir=/install/netboot/ubuntu14.04.2/ppc64el/compute

]#genimage ubuntu14.04.2-ppc64el-netboot-compute

]# lsxcatd -v
Version 2.10 (git commit 22b5c8fd793ca32bb75f76899e1d27bd203a53c6, built Wed May 27 11:38:46 EDT 2015)

Discussion

  • BaiYuan

    BaiYuan - 2015-07-06
    • status: open --> pending
     
  • BaiYuan

    BaiYuan - 2015-07-06

    xcat 2.10 master:
    commit c8497e2ff2735de0bb42c1d2bbe15bc144b0a156

    Date: Mon Jul 6 02:20:19 2015 -0400

     
  • BaiYuan

    BaiYuan - 2015-07-06
    • status: pending --> closed
     
  • BaiYuan

    BaiYuan - 2015-07-06

    tested when osimage is as following:
    5:~# lsdef -t osimage ubuntu14.04.2-ppc64el-netboot-compute
    Object name: ubuntu14.04.2-ppc64el-netboot-compute
    exlist=/opt/xcat/share/xcat/netboot/ubuntu/compute.exlist
    imagetype=linux
    kitcomponents=xlf.license-compute-15.1.2-0-ubuntu-14.04-ppc64el,xlc.license-compute-13.1.2-0-ubuntu-14.04-ppc64el
    osarch=ppc64el
    osname=Linux
    osvers=ubuntu14.04.2
    otherpkgdir=/install/post/otherpkgs/ubuntu14.04.2/ppc64el,http://10.3.5.5/install/post/otherpkgs/ubuntu14.04.2/ppc64el/xlf-15.1.2-0-ubuntu-14.04-ppc64el /
    otherpkglist=/install/osimages/ubuntu14.04.2-ppc64el-netboot-compute/kits/KIT_DEPLOY_PARAMS.otherpkgs.pkglist,/install/osimages/ubuntu14.04.2-ppc64el-netboot-compute/kits/KIT_COMPONENTS.otherpkgs.pkglist
    permission=755
    pkgdir=/install/ubuntu14.04.2/ppc64el
    pkglist=/opt/xcat/share/xcat/netboot/ubuntu/compute.ubuntu14.04.2.ppc64el.pkglist
    postinstall=/opt/xcat/share/xcat/netboot/ubuntu/compute.postinstall
    profile=compute
    provmethod=netboot
    rootimgdir=/install/netboot/ubuntu14.04.2/ppc64el/compute

     
MongoDB Logo MongoDB