[Bug 282531] New: kiwi: sources not all local
https://bugzilla.novell.com/show_bug.cgi?id=282531 Summary: kiwi: sources not all local Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: System Imaging AssignedTo: ms@novell.com ReportedBy: jt@newmarket.k12.nh.us QAContact: adrian@novell.com kiwi needs to be able to complete all imaging task related to a distribution from that distributions GM ISO's or a local YaST2 installation server created using the GM ISO's and at most the kiwi build service installation folder. no other sources. It would be best if when kiwi is installed it generated a local imaging system installation source as part of the installation Q&A and passed that location on as a variable to all other modules i.e. /srv/exports/instsrc/10.2/DVD1 could end up being written to a file that the other modules would append to their variables section of their config.xml's kiwi could then also be called the opensuse deployment server with customizable atftp boot kernels that could AutoYaST (ask about partition changes, connect to different installation source: SLED10\SLED10sp1\10.2\10.3\accting\legal\production,etc) an image from kiwi. i.e. take this chroot and copy it to the local HD and fix grub\fstab. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=282531 ms@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |jt@newmarket.k12.nh.us ------- Comment #1 from ms@novell.com 2007-06-11 04:04 MST ------- sorry I don't understand your concern, could you explain it more detailed ? Thanks -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=282531 jt@newmarket.k12.nh.us changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|jt@newmarket.k12.nh.us | ------- Comment #2 from jt@newmarket.k12.nh.us 2007-06-11 09:12 MST ------- changing /usr/share/kiwi/image/netboot/suse-10.2/config.xml line 40 - <source path="opensuse://10.2"/> to <source path ="/srv/exports/instsrc/10_2"/> or <source path ="/srv/exports/instsrc/10_2/dvd"/> when there is a configured instsrc(copy of DVD) at the location fails to find all the packages needed. The same is true of other images. It also takes longer to download the packages then it would to use a local source. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=282531 ------- Comment #3 from jt@newmarket.k12.nh.us 2007-06-11 17:58 MST ------- also when compiling kwltsp and netboot-10.2 as an LTSP system creates two different kernels. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=282531 ms@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |jt@newmarket.k12.nh.us ------- Comment #4 from ms@novell.com 2007-06-12 08:14 MST ------- If "/srv/exports/instsrc/10_2" is not a valid installation source it will fail yes, but what do you want me to do to solve that problem ? I'm sorry I'm still confused -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=282531 ------- Comment #5 from jt@newmarket.k12.nh.us 2007-06-12 08:25 MST ------- Please unplug your ethernet cable , your modem , shutdown your wireless card. Now, Please try and build something...try and build a fresh kwltsp install for instance. or a live DVD. do you need the internet or is it just me? and of course, I made "/srv/exports/instsrc/10_2" valid before mentioning. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=282531 ------- Comment #6 from francisg@gmail.com 2007-06-12 09:58 MST ------- This bug is similar to bug 281487. The problem is that a general KIWI build requires packages that are not available on the standard install media. That means that you need to specify an additional online source, which is pretty icky as each time you build your computer needs to download ~40MB of metadata alone, as well as however many MBs of packages (aufs and squashfs are examples of packages, I think). So basically the request would be to get all of the packages required for building KIWI images onto the DVD, so for a standard build you only need the local DVD source. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=282531 ------- Comment #7 from jt@newmarket.k12.nh.us 2007-06-12 12:39 MST ------- ding, ding, ding ,ding :) Right Answer. Moving forward kiwi should ask "Do you have a YaST installation server?" and if not, "would you like to build one?" Then the local YaST installation server becomes the default source for all the config.xml files and scripts. Since 10.2 is already published and you can't build an isolated server with kiwi tools on it and build anything , make an RPM with the missing packages for 10.2 in it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=282531 jt@newmarket.k12.nh.us changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|jt@newmarket.k12.nh.us | ------- Comment #8 from jt@newmarket.k12.nh.us 2007-06-12 12:51 MST ------- ooops forgot to change status -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=282531 ms@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |jt@newmarket.k12.nh.us ------- Comment #9 from ms@novell.com 2007-06-13 07:43 MST ------- ok, now I got it. Some thoughts on this one: 1) you said the "standard" image building procedure would require packages which does not exist on the suse version/CD/DVD you are using. The problem is that I took care on exactly that issue. For example the netboot image descriptions for suse-10.2 does not include aufs whereas for suse-10.3 it is included. So the question is how do you ran into that problem ? what image are you building ? If you for example building the liveDVD from the description named "kwliveDVD-suse-10.3" you need a 10.3 source tree using a 10.2 source will not work because it doesn't match the description 2) you don't need a network location in order to build an image. The source can be local. The easiest way is to use an original DVD and mount it. 3) If there are packages missing which you need or which you have built yourself put them into a directory and add the following source into the config.xml <repository type="rpm-dir"> <source path="/something/is/missing"/> </repository> 4) The suggestion you made that kiwi should be able to create installation sources is currently addressed. It's a good idea but it needs some time to become implemented. You can see the partial implementation behind the kiwi option "--create-instsource" for point 1) in the list I appreciate your feedback Thanks -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=282531 jt@newmarket.k12.nh.us changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|jt@newmarket.k12.nh.us | ------- Comment #10 from jt@newmarket.k12.nh.us 2007-06-13 12:38 MST ------- this is what happens when I set the config.xml files to <source path ="/srv/exports/instsrc/10_2"/> da49:/usr/share/kiwi/image/kwltsp-suse-10.2 # sh /usr/share/kiwi/image/kwltsp-suse-10.2/setup-ltsp.sh mkdir: cannot create directory `/srv': File exists Creating KIWI-LTSP image Jun-13 10:44 <1> : Reading image description... done Jun-13 10:44 <1> : Setting up root log on: /srv/kiwi-ltsp/screenrc.lodone Jun-13 10:44 <1> : Setting up package manager: smart done Jun-13 10:44 <1> : Setting RPM signature check to: False done Jun-13 10:44 <1> : Adding local smart channel: kiwi2-22639 done Jun-13 10:44 <1> : Adding local smart channel: kiwi1-22639 done Jun-13 10:44 <1> : Initializing image system on: /srv/kiwi-ltsp... done Jun-13 10:49 <1> : Removing smart channel(s): kiwi2-22639 kiwi1-22639done Jun-13 10:49 <1> : Resetting RPM signature check to: False done Jun-13 10:49 <1> : Mounting required file systems done Jun-13 10:49 <1> : Mounting local channel: kiwi2-22639 skipped Jun-13 10:49 <2> : Couldn't mount read-only, using bind mount done Jun-13 10:49 <1> : Setting RPM signature check to: False done Jun-13 10:49 <1> : Adding image smart channel: kiwi2-22639 done Jun-13 10:49 <1> : Adding image smart channel: kiwi1-22639 done Jun-13 10:49 <1> : Installing image packages... done Jun-13 10:54 <1> : Copying user defined files to image tree done Jun-13 10:54 <1> : Create .profile for package scripts done Jun-13 10:54 <1> : Calling image script: config.sh done Jun-13 10:54 <1> : Adding user: linux [users] done Jun-13 10:54 <1> : Creating in-place SVN repository... done Jun-13 10:55 <1> : Logfile available at: /srv/kiwi-ltsp.log done Jun-13 10:55 <1> : KIWI exited successfully done setting up nfs exports INFO: entry exists for /srv/kiwi-ltsp in /etc/exports, You may add the following line manually to /etc/exports: /srv/kiwi-ltsp *(ro,no_root_squash,async,not_subtree_check) /var/opt/ltsp/swapfiles 10.0.0.0/255.255.255.0(rw,no_root_squash,async,no_subtree_check) and then run the command: insserv nfsserver rcnfsserver reload updating sshkeys of the KIWI LTSP image Setting up ssh_known_hosts in: /srv/kiwi-ltsp /srv/01 /srv/exports WARNING: /srv/exports/etc/ssh not found. skipping... /srv/tftpboot WARNING: /srv/tftpboot/etc/ssh not found. skipping... /srv/www WARNING: /srv/www/etc/ssh not found. skipping... /srv/ftp WARNING: /srv/ftp/etc/ssh not found. skipping... /srv/kiwi-ltsp_good WARNING: /srv/kiwi-ltsp_good/etc/ssh not found. skipping... video WARNING: video/etc/ssh not found. skipping... Now creating KIWI-Netboot image Jun-13 10:55 <1> : Reading image description... done Jun-13 10:55 <1> : Setting up root log on: /tmp/kiwi-netboot/screenrcdone... Jun-13 10:55 <1> : Setting up package manager: smart done Jun-13 10:55 <1> : Setting RPM signature check to: False done Jun-13 10:55 <1> : Adding local smart channel: kiwi1-24188 done Jun-13 10:55 <1> : Initializing image system on: /tmp/kiwi-netboot...done Jun-13 11:00 <1> : Removing smart channel(s): kiwi1-24188 done Jun-13 11:00 <1> : Resetting RPM signature check to: False done Jun-13 11:00 <1> : Mounting required file systems done Jun-13 11:00 <1> : Mounting local channel: kiwi1-24188 skipped Jun-13 11:00 <2> : Couldn't mount read-only, using bind mount done Jun-13 11:00 <1> : Setting RPM signature check to: False done Jun-13 11:00 <1> : Adding image smart channel: kiwi1-24188 done Jun-13 11:00 <1> : Installing image packages... failed Jun-13 11:00 <3> : Jun-13 10:55 <1> : Setting up package manager: smart done Jun-13 10:55 <1> : Setting RPM signature check to: False done Jun-13 10:55 <1> : Adding local smart channel: kiwi1-24188 done Jun-13 10:55 <1> : Initializing image system on: /tmp/kiwi-netboot... done Jun-13 11:00 <1> : Removing smart channel(s): kiwi1-24188 done Jun-13 11:00 <1> : Resetting RPM signature check to: False done Jun-13 11:00 <1> : Mounting required file systems done Jun-13 11:00 <1> : Mounting local channel: kiwi1-24188 skipped Jun-13 11:00 <2> : Couldn't mount read-only, using bind mount done Jun-13 11:00 <1> : Setting RPM signature check to: False done Jun-13 11:00 <1> : Adding image smart channel: kiwi1-24188 done Jun-13 11:00 <1> : Installing image packages...cache... Updating cache... ######################################## [100%] Fetching information for 'kiwi1-24188'... Updating cache... ######################################## [100%] Channels have no new packages. Saving cache... Loading cache... Updating cache... ######################################## [100%] Computing transaction... Committing transaction... Preparing... ######################################## [ 0%] 1:Installing pciutils-ids ######################################## [ 1%] 2:Installing filesystem ######################################## [ 2%] 3:Installing openSUSE-rele.. ######################################## [ 4%] 4:Installing aaa_skel ######################################## [ 5%] 5:Installing glibc ######################################## [ 6%] 6:Installing glibc-locale ######################################## [ 8%] 7:Installing libgcc41 ######################################## [ 9%] 8:Installing mktemp ######################################## [ 10%] 9:Installing zlib ######################################## [ 12%] 10:Installing ncurses ######################################## [ 13%] 11:Installing fillup ######################################## [ 14%] 12:Installing audit-libs ######################################## [ 16%] 13:Installing gdbm ######################################## [ 17%] 14:Installing mingetty ######################################## [ 18%] 15:Installing libvolume_id ######################################## [ 20%] 16:Installing libxcrypt ######################################## [ 21%] 17:Installing popt ######################################## [ 22%] 18:Installing net-tools ######################################## [ 24%] 19:Installing libattr ######################################## [ 25%] 20:Installing libstdc++41 ######################################## [ 26%] 21:Installing file ######################################## [ 28%] 22:Installing readline ######################################## [ 29%] 23:Installing libacl ######################################## [ 30%] 24:Installing db ######################################## [ 32%] 25:Installing pcre ######################################## [ 33%] 26:Installing bash ######################################## [ 34%] 27:Installing sqlite ######################################## [ 36%] 28:Installing blocxx ######################################## [ 37%] 29:Installing module-init-t.. ######################################## [ 38%] 30:Installing libzio ######################################## [ 40%] 31:Installing pciutils ######################################## [ 41%] 32:Installing bzip2 ######################################## [ 42%] 33:Installing insserv ######################################## [ 44%] 34:Installing libcom_err ######################################## [ 45%] 35:Installing cracklib ######################################## [ 46%] 36:Installing limal ######################################## [ 48%] 37:Installing info ######################################## [ 49%] 38:Installing pam ######################################## [ 50%] 39:Installing cpio ######################################## [ 52%] 40:Installing findutils ######################################## [ 53%] 41:Installing diffutils ######################################## [ 54%] 42:Installing gzip ######################################## [ 56%] 43:Installing grep ######################################## [ 57%] 44:Installing gawk ######################################## [ 58%] 45:Installing sed ######################################## [ 60%] 46:Installing e2fsprogs ######################################## [ 61%] 47:Installing coreutils ######################################## [ 62%] 48:Installing irqbalance ######################################## [ 64%] 49:Installing reiserfs ######################################## [ 65%] 50:Installing sysvinit ######################################## [ 66%] 51:Installing procps ######################################## [ 68%] 52:Installing perl ######################################## [ 69%] 53:Installing devs ######################################## [ 70%] 54:Installing mdadm ######################################## [ 72%] 55:Installing cyrus-sasl ######################################## [ 73%] 56:Installing logrotate ######################################## [ 74%] 57:Installing udev ######################################## [ 76%] 58:Installing perl-gettext ######################################## [ 77%] 59:Installing openssl ######################################## [ 78%] 60:Installing limal-perl ######################################## [ 80%] 61:Installing aaa_base ######################################## [ 81%] 62:Installing python ######################################## [ 82%] 63:Installing openldap2-cli.. ######################################## [ 84%] 64:Installing limal-bootloa.. ######################################## [ 85%] 65:Installing permissions ######################################## [ 86%] 66:Installing python-xml ######################################## [ 88%] 67:Installing gpg ######################################## [ 89%] 68:Installing perl-Bootloader ######################################## [ 90%] 69:Installing util-linux ######################################## [ 92%] 70:Installing suse-build-key ######################################## [ 93%] 71:Installing mkinitrd ######################################## [ 94%] 72:Installing rpm ######################################## [ 96%] 73:Installing kernel-default ######################################## [ 97%] 74:Installing rpm-python ######################################## [ 98%] 75:Installing smart ######################################## [100%] Loading cache... Updating cache... ######################################## [100%] Fetching information for 'kiwi1-24188'... Updating cache... ######################################## [100%] Channels have no new packages. Loading cache... Updating cache... ######################################## [100%] error: 'atftp' matches no packages. Suggestions: error: tftp-0.43-10@i586 Jun-13 11:00 <1> : Removing smart channel(s): kiwi1-24188 done Jun-13 11:00 <3> : Image installation failed failed Jun-13 11:00 <1> : Logfile available at: /tmp/kiwi-netboot.log done Jun-13 11:00 <3> : KIWI exited with error(s) done -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=282531 ms@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jigish.gohil@gmail.com Status|NEW |NEEDINFO Info Provider| |jt@newmarket.k12.nh.us ------- Comment #11 from ms@novell.com 2007-06-14 00:47 MST -------
mkdir: cannot create directory `/srv': File exists
looks strange, bug in the ltsp script you are building for 10.2 right ?, but 10.2 provides atftp in the following version: atftp-0.7.0-29.1. This ltsp script which I'm not the author of calls kiwi twice. The first time it succeeded but the second time while booting the netboot image it failed because atftp is missing. So what I don't know is the following: - which source is used for building the netboot image ? - If this source is a 10.2 source it's incomplete because SuSE 10.2 includes atftp Could you check that ? Thanks -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=282531 ------- Comment #12 from jigish.gohil@gmail.com 2007-06-14 06:24 MST ------- @James, please address ltsp related bugs directly to me, as those scripts has nothing to do with kiwi directly. @All Also I have got a bright young developer working on KIWI YaST module, all of you guys could get in touch with him and get the latest code he has developed. He probably comes on IRC as SUNX or email him sunxran@gmail.com to help him out as much as you can. Problem he is facing is manipulating config.xml through yast, if anyone knows how please help. I am out of town and no internet access where I am so will continue working on that yast module next week and fix ltsp script error then. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=282531 jt@newmarket.k12.nh.us changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|jt@newmarket.k12.nh.us | ------- Comment #13 from jt@newmarket.k12.nh.us 2007-06-15 11:21 MST ------- Jigish, The problem I have been discussing here is with the netboot/suse-10.2 portion of LTSP which isn't part of your scripts except that you call it. Sorry for the misstep, I will gladly refer to you. However two downloads of the DVD fail to include the atftp module in a searchable fashion. so I assumed the package was in some other package or repo. I will try again. please forgive my ignorance, James -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=282531 ------- Comment #14 from jt@newmarket.k12.nh.us 2007-06-16 05:47 MST ------- http://www.novell.com/products/linuxpackages/opensuse/atftp.html sorry, guys but this package does not exist on openSUSE-10.2-GM-DVD-i386.iso as downloaded from opensuse.org three times now using three different machines and three different ISP's two cable one 3mbps telco. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=282531#c15
--- Comment #15 from Francis Giannaros
https://bugzilla.novell.com/show_bug.cgi?id=282531#c16
Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=282531#c17
--- Comment #17 from Francis Giannaros
https://bugzilla.novell.com/show_bug.cgi?id=282531#c18
--- Comment #18 from Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=282531#c19
--- Comment #19 from Francis Giannaros
https://bugzilla.novell.com/show_bug.cgi?id=282531#c20
James Tremblay
https://bugzilla.novell.com/show_bug.cgi?id=282531#c21
--- Comment #21 from James Tremblay
https://bugzilla.novell.com/show_bug.cgi?id=282531#c22
--- Comment #22 from Marcus Schaefer
https://bugzilla.novell.com/show_bug.cgi?id=282531#c23
Marcus Schaefer
participants (1)
-
bugzilla_noreply@novell.com