I managed to get this working by changing it from file:/// [4] or
/install/custom... to http://. Seems silly but that's what made it start
talking to my otherpkg repository properly. 

On 18.02.2016 14:33, Russell Jones wrote: 

> Hi all, 
> 
> What is the proper magic to get genimage on an Ubuntu host working with 
> otherpkgdir properly? I am receiving an error when running genimage. I've 
> tried specifying the otherpkgdir as both 
> /install/custom/ubuntu-analytics/otherpkgdir and file:///.... [1]. It doesn't 
> see the packages regardless of which way I specify it. The error: 
> 
> DEBIAN_FRONTEND=noninteractive chroot 
> /install/netboot/ubuntu14.04.2/x86_64/ubuntu-analytics/rootimg apt-get 
> update&& DEBIAN_FRONTEND=noninteractive chroot 
> /install/netboot/ubuntu14.04.2/x86_64/ubuntu-analytics/rootimg apt-get -y 
> install --allow-unauthenticated gpfs.base_4.1.1-1_amd64 
> gpfs.crypto_4.1.1-1_amd64 gpfs.docs_4.1.1-1_all gpfs.ext_4.1.1-1_amd64 
> gpfs.gpl_4.1.1-1_all gpfs.gplbin_4.1.1-0_amd64 gpfs.gskit_8.0.50-41_amd64 
> gpfs.hadoop-2-connector_4.1.1-1_amd64 gpfs.msg.en-us_4.1.1-1_all
> 
> Ign http://172.21.0.14 trusty InRelease
> Hit http://172.21.0.14 trusty Release.gpg
> Hit http://172.21.0.14 trusty Release
> Ign http://172.21.0.200 trusty InRelease
> Hit http://172.21.0.200 trusty Release.gpg
> Hit http://172.21.0.14 trusty/main amd64 Packages
> Hit http://172.21.0.200 trusty Release
> Ign http://172.21.0.14 trusty/main Translation-en
> Hit http://172.21.0.200 trusty/main amd64 Packages
> Hit http://172.21.0.200 trusty/multiverse amd64 Packages
> Hit http://172.21.0.200 trusty/restricted amd64 Packages
> Hit http://172.21.0.200 trusty/universe amd64 Packages
> Ign http://172.21.0.200 trusty/main Translation-en
> Ign http://172.21.0.200 trusty/multiverse Translation-en
> Ign http://172.21.0.200 trusty/restricted Translation-en
> Ign http://172.21.0.200 trusty/universe Translation-en
> Reading package lists...
> Reading package lists...
> Building dependency tree...
> Reading state information...
> E: Unable to locate package gpfs.base_4.1.1-1_amd64
> E: Couldn't find any package by regex 'gpfs.base_4.1.1-1_amd64'
> E: Unable to locate package gpfs.crypto_4.1.1-1_amd64
> E: Couldn't find any package by regex 'gpfs.crypto_4.1.1-1_amd64'
> E: Unable to locate package gpfs.docs_4.1.1-1_all
> E: Couldn't find any package by regex 'gpfs.docs_4.1.1-1_all'
> E: Unable to locate package gpfs.ext_4.1.1-1_amd64
> E: Couldn't find any package by regex 'gpfs.ext_4.1.1-1_amd64'
> E: Unable to locate package gpfs.gpl_4.1.1-1_all
> E: Couldn't find any package by regex 'gpfs.gpl_4.1.1-1_all'
> E: Unable to locate package gpfs.gplbin_4.1.1-0_amd64
> E: Couldn't find any package by regex 'gpfs.gplbin_4.1.1-0_amd64'
> E: Unable to locate package gpfs.gskit_8.0.50-41_amd64
> E: Couldn't find any package by regex 'gpfs.gskit_8.0.50-41_amd64'
> E: Unable to locate package gpfs.hadoop-2-connector_4.1.1-1_amd64
> E: Couldn't find any package by regex 'gpfs.hadoop-2-connector_4.1.1-1_amd64'
> E: Unable to locate package gpfs.msg.en-us_4.1.1-1_all
> E: Couldn't find any package by regex 'gpfs.msg.en-us_4.1.1-1_all'
> apt-get invocation failed. 
> 
> Here's what my osimage definition looks like: 
> 
> Object name: ubuntu-analytics
> groups=all
> imagetype=linux
> netdrivers=vmxnet3,tg3,e1000,ixgbe,igb
> nodebootif=eth0
> osarch=x86_64
> osdistroname=ubuntu14.04.2-x86_64
> osname=Linux
> osvers=ubuntu14.04.2
> otherpkgdir=file:///install/custom/ubuntu-analytics/otherpkgs ./
> otherpkglist=/install/custom/ubuntu-analytics/ubuntu-analytics.otherpkgs.pkglist
> permission=755
> pkgdir=/install/ubuntu14.04.2/x86_64,http://172.21.0.200/ubuntu trusty main 
> multiverse restricted universe
> pkglist=/install/custom/ubuntu-analytics/ubuntu-analytics.pkglist
> postbootscripts=otherpkgs
> postinstall=/install/custom/ubuntu-analytics/ubuntu-analytics.postinstall
> postscripts=icinga_reset_status.sh,setupntp,syslog,confignics,bounce_eth0.sh,syncfiles,mount_home.sh,icinga_check_postscript_errors.sh
> profile=ubuntu-analytics
> provmethod=netboot
> rootimgdir=/install/netboot/ubuntu14.04.2/x86_64/ubuntu-analytics
> synclists=/install/custom/ubuntu-analytics/ubuntu-analytics.synclist 
> 
> My otherpkgdir and list: 
> 
> drwxr-xr-x 2 root root 4096 Feb 18 14:12 ./
> drwxr-xr-x 5 root root 4096 Feb 18 14:19 ../
> -rw-r--r-- 1 root root 10409168 Feb 18 13:56 gpfs.base_4.1.1-1_amd64.deb
> -rw-r--r-- 1 root root 158070 Feb 18 13:56 gpfs.crypto_4.1.1-1_amd64.deb
> -rw-r--r-- 1 root root 475070 Feb 18 13:56 gpfs.docs_4.1.1-1_all.deb
> -rw-r--r-- 1 root root 1278580 Feb 18 13:56 gpfs.ext_4.1.1-1_amd64.deb
> -rw-r--r-- 1 root root 416530 Feb 18 13:56 gpfs.gpl_4.1.1-1_all.deb
> -rw-r--r-- 1 root root 875764 Feb 18 13:56 gpfs.gplbin_4.1.1-0_amd64.deb
> -rw-r--r-- 1 root root 5883030 Feb 18 13:56 gpfs.gskit_8.0.50-41_amd64.deb
> -rw-r--r-- 1 root root 297468 Feb 18 13:56 
> gpfs.hadoop-2-connector_4.1.1-1_amd64.deb
> -rw-r--r-- 1 root root 117126 Feb 18 13:56 gpfs.msg.en-us_4.1.1-1_all.deb
> -rw-r--r-- 1 root root 1617 Feb 18 14:12 Packages.gz 
> 
> gpfs.base_4.1.1-1_amd64
> gpfs.crypto_4.1.1-1_amd64
> gpfs.docs_4.1.1-1_all
> gpfs.ext_4.1.1-1_amd64
> gpfs.gpl_4.1.1-1_all
> gpfs.gplbin_4.1.1-0_amd64
> gpfs.gskit_8.0.50-41_amd64
> gpfs.hadoop-2-connector_4.1.1-1_amd64
> gpfs.msg.en-us_4.1.1-1_all 
> 
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 [2] 
> 
> _______________________________________________
> xCAT-user mailing list
> xCAT-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xcat-user [3]

 

Links:
------
[1] file:///....
[2] http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
[3] https://lists.sourceforge.net/lists/listinfo/xcat-user
[4] file:///
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to