Menu

#4450 xcat for ubuntu genimage won't work without an internet connection

2.9.1
pending
None
ubuntu
5
2015-03-09
2014-12-02
No

xcat for ubuntu 14.10 won't pickup an updated kernel image

I'm attempting to pick up a an updated kernel image and i'm following the directions here:

http://sourceforge.net/p/xcat/wiki/Using_Provmethod%3Dosimagename/#installing-a-new-kernel-in-the-stateless-image

as well as the information provided by:
lsdef -t osimage -lh
regarding the use of the kerneldir and kernelver parameters.

kerneldir:      The directory name where the 3rd-party kernel is stored. It is used for diskless image only.

kernelver:      The version of linux kernel used in the linux image. If the kernel version is not set, the default kernel in rootimgdir will be used

When we use these parameters we get the following error:

bash
nfs-common
openssl
isc-dhcp-client
linux-image-generic
openssh-server
openssh-client
wget
vim
ntp
rsyslog
rsync
busybox-static
gawk
 debootstrap --include=bash,nfs-common,openssl,isc-dhcp-client,openssh-server,openssh-client,wget,vim,ntp,rsyslog,rsync,busybox-static,gawk --verbose --arch ppc64el utopic /install/netboot/ubuntu14.10/ppc64el/compute/rootimg http://ports.ubuntu.com/ubuntu-ports/
I: Retrieving Release
E: Failed getting release file http://ports.ubuntu.com/ubuntu-ports/dists/utopic/Release
apt invocation failed

We appear to have lost internet connectivity, however, we have local
mirrors of the install CD and the ubunto repos, I don't think there is any
reason that we should be going out to http://ports.ubuntu.com. And we
should be able to do genimage without an internet connection.

I suspect I would get the same result on this node if I performed an
ifdown eth2 on the node, where eth2 is the nic port that connects to the
internet on the compute node I'm building this on.

In otherwords, this problem may be due to loosing the internet connection, rather than the kerneldir/kernelver parameters.

Our osimage looks like this:

[root@bgxcat mirrors]# lsdef -t osimage tulgpu-0000-netboot-compute
Object name: tulgpu-0000-netboot-compute
    exlist=/opt/xcat/share/xcat/netboot/ubuntu/compute.exlist
    imagetype=linux
    kerneldir=/install/mirrors/ubuntu14.10/mirror/ports.ubuntu.com/ubuntu-ports
    kernelver=3.15.0.24.25
    osarch=ppc64el
    osname=Linux
    osvers=ubuntu14.10
    otherpkglist=/install/custom/tulgpu-0000-netboot-compute/ubuntu/ppc64el/compute.otherpkg.pkglist
    pkgdir=/install/ubuntu14.10/ppc64el
    pkglist=/opt/xcat/share/xcat/netboot/ubuntu/compute.pkglist
    postinstall=/install/postscripts/custom/tulgpu-0000-netboot-compute/compute.postinstall
    postscripts=custom/tulgpu-0000-netboot-compute/compute.postscript
    profile=compute
    provmethod=netboot
    rootimgdir=/install/netboot/ubuntu14.10/ppc64el/compute
    synclists=/install/custom/tulgpu-0000-netboot-compute/ubuntu/ppc64el/compute.synclist

The genimage command we ran on the statefully booted compute node looks as follows:

/opt/xcat/share/xcat/netboot/ubuntu# cd /opt/xcat/share/xcat/netboot/ubuntu; ./genimage -a ppc64el -o ubuntu14.10 -p compute -k 3.15.0.24.25 --kerneldir /install/mirrors/ubuntu14.10/mirror/ports.ubuntu.com/ubuntu-ports --srcdir /install/ubuntu14.10/ppc64el --pkglist /opt/xcat/share/xcat/netboot/ubuntu/compute.pkglist --otherpkglist /install/custom/tulgpu-0000-netboot-compute/ubuntu/ppc64el/compute.otherpkg.pkglist --postinstall /install/postscripts/custom/tulgpu-0000-netboot-compute/compute.postinstall --rootimgdir /install/netboot/ubuntu14.10/ppc64el/compute tulgpu-0000-netboot-compute 2>&1 | tee /tmp/genimage.log

Related

Bugs: #4450

Discussion

  • ralph bellofatto

    When the internet connection was restored the genimage was able to run.

    So this problem should read that genimage will NOT run without a connection to the internet.

     
  • Anonymous

    Anonymous - 2014-12-02
    • summary: xcat for ubuntu 14.10 won't pickup an updated kernel image --> xcat for ubuntu genimage won't work without an internet connection
     
  • zhao er tao

    zhao er tao - 2014-12-03
    • 2.10: 2.9 --> 2.9.1
     
    • ralph bellofatto

      We have our own local mirror copy that i would prefer to have this pointed
      to, preferably by something in the osimage configuration.

      Otherwise, this requires us to get a ubuntu configured with internet access
      before we can configure a network boot.

      Ralph Bellofatto
      IBM TJ Watson Research
      1-914-945-3321
      ralphbel@us.ibm.com

      From: "zhao er tao" zhaoertao@users.sf.net
      To: "[xcat:bugs] " 4450@bugs.xcat.p.re.sf.net
      Date: 12/03/2014 12:46 AM
      Subject: [xcat:bugs] #4450 xcat for ubuntu genimage won't work without
      an internet connection

        2.10: 2.9 --> 2.9.1
        Comment:
      

      This is a restriction that diskless image is depended on internet mirror.
      The reason is some packages such as libc-bin only included in internet
      mirror and debootstrap only support ONE mirror parameter.
      The 2.9 stream had been closed so this defect is moved to 2.9.1.

      [bugs:#4450] xcat for ubuntu genimage won't work without an internet
      connection

      Status: open
      2.10: 2.9.1
      Created: Tue Dec 02, 2014 07:19 PM UTC by ralph bellofatto
      Last Updated: Wed Dec 03, 2014 02:00 AM UTC
      Owner: nobody

      xcat for ubuntu 14.10 won't pickup an updated kernel image

      I'm attempting to pick up a an updated kernel image and i'm following the
      directions here:

      http://sourceforge.net/p/xcat/wiki/Using_Provmethod%3Dosimagename/#installing-a-new-kernel-in-the-stateless-image

      as well as the information provided by:
      lsdef -t osimage -lh
      regarding the use of the kerneldir and kernelver parameters.

      kerneldir: The directory name where the 3rd-party kernel is stored. It
      is used for diskless image only.

      kernelver: The version of linux kernel used in the linux image. If the
      kernel version is not set, the default kernel in rootimgdir will be used

      When we use these parameters we get the following error:

      bash
      nfs-common
      openssl
      isc-dhcp-client
      linux-image-generic
      openssh-server
      openssh-client
      wget
      vim
      ntp
      rsyslog
      rsync
      busybox-static
      gawk
      debootstrap
      --include=bash,nfs-common,openssl,isc-dhcp-client,openssh-server,openssh-client,wget,vim,ntp,rsyslog,rsync,busybox-static,gawk
      --verbose --arch ppc64el
      utopic /install/netboot/ubuntu14.10/ppc64el/compute/rootimg
      http://ports.ubuntu.com/ubuntu-ports/
      I: Retrieving Release
      E: Failed getting release file
      http://ports.ubuntu.com/ubuntu-ports/dists/utopic/Release
      apt invocation failed

      We appear to have lost internet connectivity, however, we have local
      mirrors of the install CD and the ubunto repos, I don't think there is any
      reason that we should be going out to http://ports.ubuntu.com. And we
      should be able to do genimage without an internet connection.

      I suspect I would get the same result on this node if I performed an
      ifdown eth2 on the node, where eth2 is the nic port that connects to the
      internet on the compute node I'm building this on.

      In otherwords, this problem may be due to loosing the internet connection,
      rather than the kerneldir/kernelver parameters.

      Our osimage looks like this:

      [root@bgxcat mirrors]# lsdef -t osimage tulgpu-0000-netboot-compute
      Object name: tulgpu-0000-netboot-compute
      exlist=/opt/xcat/share/xcat/netboot/ubuntu/compute.exlist
      imagetype=linux

      kerneldir=/install/mirrors/ubuntu14.10/mirror/ports.ubuntu.com/ubuntu-ports
      kernelver=3.15.0.24.25
      osarch=ppc64el
      osname=Linux
      osvers=ubuntu14.10

      otherpkglist=/install/custom/tulgpu-0000-netboot-compute/ubuntu/ppc64el/compute.otherpkg.pkglist

      pkgdir=/install/ubuntu14.10/ppc64el
      pkglist=/opt/xcat/share/xcat/netboot/ubuntu/compute.pkglist
      

      postinstall=/install/postscripts/custom/tulgpu-0000-netboot-compute/compute.postinstall

      postscripts=custom/tulgpu-0000-netboot-compute/compute.postscript
      profile=compute
      provmethod=netboot
      rootimgdir=/install/netboot/ubuntu14.10/ppc64el/compute
      

      synclists=/install/custom/tulgpu-0000-netboot-compute/ubuntu/ppc64el/compute.synclist

      The genimage command we ran on the statefully booted compute node looks as
      follows:

      /opt/xcat/share/xcat/netboot/ubuntu#
      cd /opt/xcat/share/xcat/netboot/ubuntu; ./genimage -a ppc64el -o
      ubuntu14.10!
      -p compute -k 3.15.0.24.25
      --kerneldir /install/mirrors/ubuntu14.10/mirror/ports.ubuntu.com/ubuntu-ports
      --srcdir /install/ubuntu14.10/ppc64el
      --pkglist /opt/xcat/share/xcat/netboot/ubuntu/compute.pkglist
      --otherpkglist /install/custom/tulgpu-0000-netboot-compute/ubuntu/ppc64el/compute.otherpk!

      g.pkglist
      --postinstall /install/postscripts/custom/tulgpu-0000-netboot-compute/compute.postinstall
      --rootimgdir /install/netboot/ubuntu14.10/ppc64el/compute !
      tulgpu-0000-netboot-compute 2>&1 | tee /tmp/genimage.log

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/xcat/bugs/4450/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #4450

  • zhao er tao

    zhao er tao - 2014-12-03

    This is a restriction that diskless image is depended on internet mirror. The reason is some packages such as libc-bin only included in internet mirror and debootstrap only support ONE mirror parameter.
    The 2.9 stream had been closed so this defect is moved to 2.9.1.

     
  • Guang Cheng Li

    Guang Cheng Li - 2015-03-09
    • assigned_to: zhao er tao
    • component: unknown --> ubuntu
     
  • Guang Cheng Li

    Guang Cheng Li - 2015-03-09
    • status: open --> pending
     
MongoDB Logo MongoDB