Menu

#4585 nodeset command is failed in ubuntu after associating osdistro updateu

2.9.1
closed
ubuntu
6
2015-03-16
2015-03-03
Jia Zhao
No

Command 'nodeset' is failed after associating osdistro update. This command will check whether netboot image 'initrd.gz' exists in '$pkgdir/install/netboot/'. Attribute '$pkgdir' is get from linuximage table, it is wrong after associating osdistro update. As an example:

root@ppcmastera:~# lsdef -t osimage -o ubuntu14.04.1-ppc64el-stateful-compute -i pkgdir
Object name: ubuntu14.04.1-ppc64el-stateful-compute
pkgdir=/install/ubuntu14.04.1/ppc64el,/install/osdistroupdates/ubuntu14.04.1-ppc64el-2015-02-13_06-06-32

root@ppcmastera:~# nodeset nodea1 osimage=ubuntu14.04.1-ppc64el-stateful-compute
Error: The network boot initrd.gz is not found in /install/ubuntu14.04.1/ppc64el,/install/osdistroupdates/ubuntu14.04.1-ppc64el-2015-02-13_06-06-32/install/netboot. This is provided by Ubuntu, please download and retry.
Error: Some nodes failed to set up install resources on server ppcmastera, aborting

Discussion

  • Victor Hu

    Victor Hu - 2015-03-04
    • status: open --> accepted
     
  • Victor Hu

    Victor Hu - 2015-03-04

    you are right... The first directory in the path should be used as the pkgdir

     
  • Victor Hu

    Victor Hu - 2015-03-04

    checked in fix:
    6645b2a..16dfcb2 2.9 -> 2.9
    147185c..21caa0d master -> master

     
  • Victor Hu

    Victor Hu - 2015-03-04
    • status: accepted --> pending
     
  • Victor Hu

    Victor Hu - 2015-03-04

    Unit test:
    nodeset c910f03c04k14 osimage=ubuntu14.04.2-ppc64el-stateful-compute
    Error: The network boot initrd.gz is not found in /install/myotherpkg/install/netboot. This is provided by Ubuntu, please download and retry.
    Error: Some nodes failed to set up install resources on server c910f03c04k15, aborting

    lsdef -t osimage -o ubuntu14.04.2-ppc64el-stateful-compute -i pkgdir
    Object name: ubuntu14.04.2-ppc64el-stateful-compute
    pkgdir=/install/ubuntu14.04.2/ppc64el,/install/myotherpkg

    After fix:
    nodeset c910f03c04k14 osimage=ubuntu14.04.2-ppc64el-stateful-compute
    c910f03c04k14: install ubuntu14.04.2-ppc64el-compute

     

    Last edit: Victor Hu 2015-03-04
  • Victor Hu

    Victor Hu - 2015-03-04
    • assigned_to: Victor Hu
     
  • Jia Zhao

    Jia Zhao - 2015-03-16
    • status: pending --> closed
     
  • Jia Zhao

    Jia Zhao - 2015-03-16

    pass the test

     
MongoDB Logo MongoDB