Ya thanks for telling this. But what if I want to give my Xen virtual machine 128MB RAM only. Isn't it possible? Because if I give 128MB koan always fails during balloning. While if I don't use koan + cobbler I can install xen virtual machine with 128 MB RAM support only.
<br><br>Hope you got my point.<br><br>Regards<br>SysAdmin<br><br><div><span class="gmail_quote">On 4/2/07, <b class="gmail_sendername">Michael DeHaan</b> <<a href="mailto:mdehaan@redhat.com">mdehaan@redhat.com</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">niyaz chistee wrote:<br>> Hello,<br>><br>> Finally I got rid of the dhcp problem.
<br><br>I'm glad you got your problems figured out.   As you can guess, the<br>balloon message was about you not having enough RAM.    Xen isn't<br>completely obvious about what goes wrong when, this is true :)<br>
<br>> But I had to stop my dummy0 virtual network interface in dom0 host and<br>> have to bridge my xenbr1 to eth1 (physical wireless device on dom0<br>> host). The installation started without asking me anything (that was
<br>> real great un-attended installation).<br>> The only thing it asked was when it was about to create the<br>> partitions. It asked me whether it should format the whole disk or<br>> not. When I pressed Yes it continued. If I want it to not ask this
<br>> thing what should I do. And one more thing after installation it stop<br>> and asked me to press reboot button.<br>There are some sample kickstarts in /etc/cobbler that you could use,<br>particularly one that is tailored to creating really small Xen guests.
<br><br>> If I want it to automatically reboot then what should I do. I guess<br>> something %post directive.<br><br>reboot goes in the main section of the kickstart, not post.   For an<br>example, see  /etc/cobbler/kickstart_fc6_domU.ks
<br><br><br><br>> Please help. And one more thing, I had to made huge modifications in<br>> my kickstart file. So I am posting it once more. Hope it help you guys<br>> in getting me:<br>><br>> install<br>> nfs --server=
<a href="http://192.168.1.5">192.168.1.5</a> <<a href="http://192.168.1.5">http://192.168.1.5</a>> --dir=/rhel5/Dump<br>> key <HIDDEN><br>> lang en_US.UTF-8<br>> network --bootproto=bootp --device=eth0 --onboot=on
<br>> rootpw --iscrypted $1$VwD9nalr$06K0bUawzanX72gNk0es91<br>> firewall --disabled<br>> authconfig --enableshadow --enablemd5<br>> selinux --disabled<br>> timezone --utc Asia/Calcutta<br>> bootloader --location=mbr --driveorder=xvda --append="console=xvc0"
<br>> # The following is the partition information you requested<br>> # Note that any partitions you deleted are not expressed<br>> # here so unless you clear all partitions first, this is<br>> # not guaranteed to work
<br>> clearpart --all --drives=xvda<br>> part /boot --fstype ext3 --size=100 --ondisk=xvda<br>> part pv.2 --size=0 --grow --ondisk=xvda<br>> volgroup VolGroup00 --pesize=32768 pv.2<br>> logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=1024
<br>> --grow<br>> logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00<br>> --size=144 --grow --maxsize=288<br>><br>> %packages<br>> @admin-tools<br>> @base<br>> @core<br>><br>><br>> On 3/31/07, *niyaz chistee* <
<a href="mailto:prime.provogue@gmail.com">prime.provogue@gmail.com</a><br>> <mailto:<a href="mailto:prime.provogue@gmail.com">prime.provogue@gmail.com</a>> > wrote:<br>><br>>     Hello guys,<br>><br>>     I somehow overcome the balloon problem. What I did was I delete
<br>>     the system and profile by<br>>     cobbler system remove --name=<system_mac><br>>     cobbler profile remove --name=<profile_name><br>><br>>     And I added again the profile but this time I gave
<br>>     --virt-ram-size=256 (as this was where koan reported warning<br>>     earlier) and then I created system  as I did previously.<br>>     Then I ran koan once again (as I did earlier) but now a new<br>>     problem. It starts the virtual machine and ask me to connect to it
<br>>     via xm console. I did so but it hangs during acquiring ip address<br>>     from dhcp. After sometime it ask me to give ip address manually I<br>>     do so ( <a href="http://10.1.1.45/255.255.255.0">10.1.1.45/255.255.255.0
</a> <<a href="http://10.1.1.45/255.255.255.0">http://10.1.1.45/255.255.255.0</a>><br>>     gateway <a href="http://10.1.1.1">10.1.1.1</a> <<a href="http://10.1.1.1">http://10.1.1.1</a>>) but then it reports error in
<br>>     getting nfs:/10.1.1.1/rhel5/Dump/ks.cfg. I have figured out the<br>>     problem. But don't know how to resolve it.<br>>     It is the same as I mentioned earlier. I have two network<br>>     interfaces. One is eth1 (wireless device) and other is dummy0
<br>>     (virtual network interface). All the communication of xen vm's<br>>     with the xen dom0 is done via a bridge xenbr1 which is mapped to<br>>     dummy0. And in the dhcpd.conf there is nothing for the subnet
<br>>     <a href="http://10.1.1.0">10.1.1.0</a> <<a href="http://10.1.1.0">http://10.1.1.0</a>> and if I do manually (as of now cobbler<br>>     is managing my dhcpd.con) it reports error and doesn't start dhcpd
<br>>     service. The error is logged into /var/log/messages and it is<br>>     shown below:<br>><br>>     Mar 31 10:05:01 server dhcpd: Internet Systems Consortium DHCP<br>>     Server V3.0.5-RedHat<br>>     Mar 31 10:05:01 server dhcpd: Copyright 2004-2006 Internet Systems
<br>>     Consortium.<br>>     Mar 31 10:05:01 server dhcpd: All rights reserved.<br>>     Mar 31 10:05:01 server dhcpd: For info, please visit<br>>     <a href="http://www.isc.org/sw/dhcp/">http://www.isc.org/sw/dhcp/
</a><br>>     Mar 31 10:05:01 server dhcpd: Wrote 0 deleted host decls to leases<br>>     file.<br>>     Mar 31 10:05:01 server dhcpd: Wrote 0 new dynamic host decls to<br>>     leases file.<br>>     Mar 31 10:05:01 server dhcpd: Wrote 0 leases to leases file.
<br>>     Mar 31 10:05:01 server dhcpd:<br>>     Mar 31 10:05:01 server dhcpd: No subnet declaration for eth1 (<br>>     <a href="http://192.168.1.5">192.168.1.5</a> <<a href="http://192.168.1.5">http://192.168.1.5
</a>>).<br>>     Mar 31 10:05:01 server dhcpd: ** Ignoring requests on eth1.  If<br>>     this is not what<br>>     Mar 31 10:05:01 server dhcpd:    you want, please write a subnet<br>>     declaration<br>>     Mar 31 10:05:01 server dhcpd:    in your 
dhcpd.conf file for the<br>>     network segment<br>>     Mar 31 10:05:01 server dhcpd:    to which interface eth1 is<br>>     attached. **<br>>     Mar 31 10:05:01 server dhcpd:<br>>     Mar 31 10:05:01 server dhcpd:
<br>>     Mar 31 10:05:01 server dhcpd: Not configured to listen on any<br>>     interfaces!<br>>     Mar 31 10:05:01 server dhcpd:<br>>     Mar 31 10:05:01 server dhcpd: If you did not get this software<br>>     from 
<a href="http://ftp.isc.org">ftp.isc.org</a> <<a href="http://ftp.isc.org">http://ftp.isc.org</a>>, please<br>>     Mar 31 10:05:01 server dhcpd: get the latest from <a href="http://ftp.isc.org">ftp.isc.org</a><br>
>     <<a href="http://ftp.isc.org">http://ftp.isc.org</a>> and install that before<br>>     Mar 31 10:05:01 server dhcpd: requesting help.<br>>     Mar 31 10:05:01 server dhcpd:<br>>     Mar 31 10:05:01 server dhcpd: If you did get this software from
<br>>     <a href="http://ftp.isc.org">ftp.isc.org</a> <<a href="http://ftp.isc.org">http://ftp.isc.org</a>> and have not<br>>     Mar 31 10:05:01 server dhcpd: yet read the README, please read it<br>>     before requesting help.
<br>>     Mar 31 10:05:01 server dhcpd: If you intend to request help from<br>>     the <a href="mailto:dhcp-server@isc.org">dhcp-server@isc.org</a> <mailto:<a href="mailto:dhcp-server@isc.org">dhcp-server@isc.org
</a>><br>>     Mar 31 10:05:01 server dhcpd: mailing list, please read the<br>>     section on the README about<br>>     Mar 31 10:05:01 server dhcpd: submitting bug reports and requests<br>>     for help.<br>
>     Mar 31 10:05:01 server dhcpd:<br>>     Mar 31 10:05:01 server dhcpd: Please do not under any<br>>     circumstances send requests for<br>>     Mar 31 10:05:01 server dhcpd: help directly to the authors of this
<br>>     software - please<br>>     Mar 31 10:05:01 server dhcpd: send them to the appropriate mailing<br>>     list as described in<br>>     Mar 31 10:05:01 server dhcpd: the README file.<br>>     Mar 31 10:05:01 server dhcpd:
<br>>     Mar 31 10:05:01 server dhcpd: exiting.<br>>     Mar 31 10:05:01 server dhcpd: dhcpd startup failed<br>><br>>     If you want me to give some more information please feel free to ask.<br>>     Thanks in advance
<br>><br>>     Regards<br>>     SysAdmin<br>><br>><br>>     On 3/31/07, *niyaz chistee* <<a href="mailto:prime.provogue@gmail.com">prime.provogue@gmail.com</a><br>>     <mailto:<a href="mailto:prime.provogue@gmail.com">
prime.provogue@gmail.com</a>>> wrote:<br>><br>>         Well I thought that I should go the other way. So I did this:<br>>         Note: I have my RHEL5 Dump in /rhel5/Dump<br>><br>>         cobbler distro add --name=rhel5
<br>>         --kernel=/rhel5/Dump/images/xen/vmlinuz<br>>         --initrd=/rhel5/Dump/images/initrd.img<br>><br>>         This ran good. Then I did the following:<br>><br>>         cobbler profile add --name=redhat5x --distro=rhel5
<br>>         --kickstart=/rhel5/Dump/ks.cfg --virt-file-size=2 --virt-ram=128<br>>         cobbler system add --name=00:16:3E:5F:93:6A --profile=redhat5x<br>><br>>         Okay Now I exported my /rhel5/Dump via NFS. Here's cat
<br>>         /etc/exports<br>>         /rhel5/Dump     <a href="http://10.1.1.0/255.255.255.0(rw,sync,no_root_squash)">10.1.1.0/255.255.255.0(rw,sync,no_root_squash)</a><br>>         <<a href="http://10.1.1.0/255.255.255.0%28rw,sync,no_root_squash%29">
http://10.1.1.0/255.255.255.0%28rw,sync,no_root_squash%29</a>><br>><br>>         For the sake of convience I am also posting my<br>>         /rhel5/Dump/ks.cfg and /etc/dhcpd.conf<br>>         cat /etc/dhcpd.conf
<br>>         #<br>>         ******************************************************************<br>>         # Cobbler managed dhcpd.conf file<br>>         # generated from cobbler dhcp.conf template (Sat Mar 31
<br>>         02:31:13 2007)<br>>         #<br>>         ******************************************************************<br>>         ddns-update-style interim;<br>>         allow booting;<br>>         allow bootp;
<br>>         ignore client-updates;<br>>         set vendorclass = option vendor-class-identifier;<br>>         subnet <a href="http://192.168.1.0">192.168.1.0</a> <<a href="http://192.168.1.0">http://192.168.1.0
</a>> netmask <a href="http://255.255.255.0">255.255.255.0</a><br>>         <<a href="http://255.255.255.0">http://255.255.255.0</a>> {<br>>              option routers          <a href="http://192.168.1.5">
192.168.1.5</a> <<a href="http://192.168.1.5">http://192.168.1.5</a>>;<br>>              option subnet-mask      <a href="http://255.255.255.0">255.255.255.0</a> <<a href="http://255.255.255.0">http://255.255.255.0
</a>>;<br>>              range dynamic-bootp     <a href="http://192.168.1.100">192.168.1.100</a><br>>         <<a href="http://192.168.1.100">http://192.168.1.100</a>> <a href="http://192.168.1.254">192.168.1.254
</a> <<a href="http://192.168.1.254">http://192.168.1.254</a>>;<br>>              filename                "/pxelinux.0";<br>>              default-lease-time      21600;<br>>              max-lease-time          43200;
<br>>              next-server             <a href="http://10.1.1.1">10.1.1.1</a> <<a href="http://10.1.1.1">http://10.1.1.1</a>>;<br>>         }<br>>         host label1 {<br>>             hardware ethernet 00:16:3E:5F:93:6A;
<br>>             next-server <a href="http://10.1.1.1">10.1.1.1</a> <<a href="http://10.1.1.1">http://10.1.1.1</a>>;<br>>         }<br>><br>>         cat /rhel5/Dump/ks.cfg<br>>         install<br>>         url --url nfs:
10.1.1.1:/rhel5/Dump<br>>         key <I_AM_NOT_WRITING_IT><br>>         lang en_US.UTF-8<br>>         network --device eth0 --bootproto dhcp<br>>         rootpw --iscrypted $1$VwD9nalr$06K0bUawzanX72gNk0es91
<br>>         firewall --disabled<br>>         authconfig --enableshadow --enablemd5<br>>         selinux --disabled<br>>         timezone --utc Asia/Calcutta<br>>         bootloader --location=mbr --driveorder=xvda
<br>>         --append="console=xvc0"<br>>         # The following is the partition information you requested<br>>         # Note that any partitions you deleted are not expressed<br>>         # here so unless you clear all partitions first, this is
<br>>         # not guaranteed to work<br>>         clearpart --all --drives=xvda<br>>         part /boot --fstype ext3 --size=100 --ondisk=xvda<br>>         part pv.2 --size=0 --grow --ondisk=xvda<br>>         volgroup VolGroup00 --pesize=32768 
pv.2<br>>         logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00<br>>         --size=1024 --grow<br>>         logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00<br>>         --size=144 --grow --maxsize=288
<br>>         %packages<br>>         @admin-tools<br>>         @base<br>>         @core<br>>         @dialup<br>>         @java<br>>         @system-tools<br>>         @text-internet<br>><br>>         Now I started my portmap,tftp,nfs,httpd services and finally I
<br>>         started koan.<br>><br>>         koan --virt --server=<a href="http://192.168.1.5">192.168.1.5</a> <<a href="http://192.168.1.5">http://192.168.1.5</a>><br>>         --profile=redhat5x<br>>         It gave me this:
<br>>         - processing profile: redhat5x<br>>         - fetching configuration for profile: redhat5x<br>>         - url= <a href="http://192.168.1.5/cobbler/profiles/redhat5x">http://192.168.1.5/cobbler/profiles/redhat5x
</a><br>>         - {'kickstart': 'nfs://10.1.1.1/rhel5/Dump/ks.cfg', 'name':<br>>         'redhat5x', 'virt_ram': 128, 'repos': '', 'kernel_options':<br>
>         'ksdevice=eth0 lang=  syslog= <a href="http://10.1.1.1:25150">10.1.1.1:25150</a><br>>         <<a href="http://10.1.1.1:25150">http://10.1.1.1:25150</a>> text ', 'virt_file_size': 2, 'distro':
<br>>         'rhel5-xen', 'virt_paravirt': 'True', 'ks_meta': ''}<br>>         - fetching configuration for distro: rhel5-xen<br>>         - url=<a href="http://192.168.1.5/cobbler/distros/rhel5-xen">
http://192.168.1.5/cobbler/distros/rhel5-xen</a><br>>         - {'kernel': '/rhel5/Dump/images/xen/vmlinuz', 'ks_meta': '',<br>>         'breed': 'redhat', 'kernel_options': 'ksdevice=eth0 lang=
<br>>         syslog= <a href="http://10.1.1.1:25150">10.1.1.1:25150</a> <<a href="http://10.1.1.1:25150">http://10.1.1.1:25150</a>> text ',<br>>         'initrd': '/rhel5/Dump/images/xen/initrd.img', 'arch': 'x86',
<br>>         'name': 'rhel5-xen'}<br>>         - downloading initrd initrd.img to /tmp/initrd.img<br>>         - url=<a href="http://192.168.1.5/cobbler/images/rhel5-xen/initrd.img">http://192.168.1.5/cobbler/images/rhel5-xen/initrd.img
</a><br>>         - downloading kernel vmlinuz to /tmp/vmlinuz<br>>         - url= <a href="http://192.168.1.5/cobbler/images/rhel5-xen/vmlinuz">http://192.168.1.5/cobbler/images/rhel5-xen/vmlinuz</a><br>>         - kernel saved = /tmp/vmlinuz
<br>>         - initrd saved = /tmp/initrd.img<br>>         - invalid RAM size specified, defaulting to 256 MB<br>>         libvir: Xen Daemon error : POST operation failed: ( xend.err<br>>         'Error creating domain: The privileged domain did not balloon!')
<br>>         Failed to create domain 00_16_3E_5C_D5_0C<br>>         Traceback (most recent call last):<br>>           File "/usr/lib/python2.4/site-packages/koan/app.py", line<br>>         97, in main
<br>>             k.run()<br>>           File "/usr/lib/python2.4/site-packages/koan/app.py", line<br>>         152, in run<br>>             self.do_virt()<br>>           File "/usr/lib/python2.4/site-packages/koan/app.py", line
<br>>         297, in do_virt<br>>             return self.do_net_install("/tmp",after_download)<br>>           File "/usr/lib/python2.4/site-packages/koan/app.py", line<br>>         253, in do_net_install
<br>>             after_download(self, distro_data, profile_data)<br>>           File "/usr/lib/python2.4/site-packages/koan/app.py", line<br>>         296, in after_download<br>>             self.do_virt_net_install
(profile_data, distro_data)<br>>           File "/usr/lib/python2.4/site-packages/koan/app.py", line<br>>         600, in do_virt_net_install<br>>             extra=kextra<br>>           File "/usr/lib/python2.4/site-packages/koan/virtcreate.py",
<br>>         line 102, in start_paravirt_install<br>>             guest.start_install()<br>>           File<br>>         "/usr/lib/python2.4/site-packages/virtinst/ParaVirtGuest.py",<br>>         line 220, in start_install
<br>>             return XenGuest.XenGuest.start_install(self, consolecb)<br>>           File<br>>         "/usr/lib/python2.4/site-packages/virtinst/XenGuest.py", line<br>>         367, in start_install
<br>>             self.domain = self.conn.createLinux(cxml, 0)<br>>           File "/usr/lib/python2.4/site-packages/libvirt.py", line<br>>         249, in createLinux<br>>             if ret is None:raise libvirtError('virDomainCreateLinux()
<br>>         failed')<br>>         libvirtError: virDomainCreateLinux() failed<br>><br>>         I don't know what happened during the ballon but it didn't<br>>         created the virtual machine I was expecting.
<br>>         One more thing I would like to through light on is that I have<br>>         configured a virtual dummy0 network interface which is bridged<br>>         to xenbr1. Here's my ifconfig(not shown are the xen virtual
<br>>         interfaces):<br>>         dummy0    Link encap:Ethernet  HWaddr F6:42:E2:23:B6:57<br>>                   inet addr:<a href="http://10.1.1.1">10.1.1.1</a> <<a href="http://10.1.1.1">http://10.1.1.1
</a>>  Bcast:<br>>         <a href="http://10.1.1.255">10.1.1.255</a> <<a href="http://10.1.1.255">http://10.1.1.255</a>>  Mask:<a href="http://255.255.255.0">255.255.255.0</a><br>>         <<a href="http://255.255.255.0">
http://255.255.255.0</a>><br>>                   inet6 addr: fe80::f442:e2ff:fe23:b657/64 Scope:Link<br>>                   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br>>                   RX packets:41 errors:0 dropped:0 overruns:0 frame:0
<br>>                   TX packets:154 errors:0 dropped:0 overruns:0 carrier:0<br>>                   collisions:0 txqueuelen:0<br>>                   RX bytes:7438 (7.2 KiB)  TX bytes:11815 (11.5 KiB)<br>>         eth1      Link encap:Ethernet  HWaddr 00:13:02:4B:70:05
<br>>                   inet addr: <a href="http://192.168.1.5">192.168.1.5</a> <<a href="http://192.168.1.5">http://192.168.1.5</a>><br>>         Bcast:<a href="http://192.168.1.255">192.168.1.255</a> <<a href="http://192.168.1.255">
http://192.168.1.255</a>>  Mask:<br>>         <a href="http://255.255.255.0">255.255.255.0</a> <<a href="http://255.255.255.0">http://255.255.255.0</a>><br>>                   inet6 addr: fe80::213:2ff:fe4b:7005/64 Scope:Link
<br>>                   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br>>                   RX packets:318 errors:0 dropped:45 overruns:0 frame:0<br>>                   TX packets:336 errors:0 dropped:0 overruns:0 carrier:0
<br>>                   collisions:0 txqueuelen:1000<br>>                   RX bytes:173630 (169.5 KiB)  TX bytes:30388 ( 29.6 KiB)<br>>                   Interrupt:16 Base address:0xe000<br>>         Memory:b0200000-b0200fff
<br>><br>>         All my xen related network stuff is handled by dummy0 and it<br>>         is then masqureaded to eth1. I think there is problem with<br>>         /etc/dhcpd.conf regarding eth1 and dummy0. I am not getting it.
<br>>         Please through some light.<br>><br>>         Regards<br>><br>><br>>         On 3/31/07, *niyaz chistee* < <a href="mailto:prime.provogue@gmail.com">prime.provogue@gmail.com</a><br>>         <mailto:
<a href="mailto:prime.provogue@gmail.com">prime.provogue@gmail.com</a>>> wrote:<br>><br>>             Hi,<br>><br>>             I am trying to configure cobbler to configure my xen<br>>             virtual machines. I tried to import the installation tree
<br>>             of rhel5 from cobbler using the command:<br>><br>>              cobbler import --mirror=/rhel5/Dump/ --mirror-name=rhel5<br>><br>>             It ran for sometime mirroring my rpm's and in last it
<br>>             ended up with this:<br>>             sent 2597509927 bytes  received 50280 bytes  8644127.14<br>>             bytes/sec<br>>             total size is 2596994302  speedup is 1.00<br>>             - creating new distro: rhel5
<br>>             - creating new profile: rhel5<br>>             - running repo update on /var/www/cobbler/ks_mirror/rhel5<br>>             - no comps file found:<br>>             /var/www/cobbler/ks_mirror/rhel5/repodata/comps.xml
<br>>             - modifying existing distro: rhel5<br>>             - modifying existing profile: rhel5<br>>             - running repo update on /var/www/cobbler/ks_mirror/rhel5<br>>             - no comps file found:
<br>>             /var/www/cobbler/ks_mirror/rhel5/repodata/comps.xml<br>>             - creating new distro: rhel5-xen<br>>             - creating new profile: rhel5-xen<br>>             - running repo update on /var/www/cobbler/ks_mirror/rhel5
<br>>             - no comps file found:<br>>             /var/www/cobbler/ks_mirror/rhel5/repodata/comps.xml<br>>             Traceback (most recent call last):<br>>               File<br>>             "/usr/lib/python2.4/site-packages/cobbler/cobbler.py",
<br>>             line 502, in main<br>>                 BootCLI( sys.argv).run()<br>>               File<br>>             "/usr/lib/python2.4/site-packages/cobbler/cobbler.py",<br>>             line 102, in run
<br>>                 self.curry_args(self.args[1:], self.commands['toplevel'])<br>>               File<br>>             "/usr/lib/python2.4/site-packages/cobbler/cobbler.py",<br>>             line 418, in curry_args
<br>>                 commands[args[0]](args[1:])<br>>               File<br>>             "/usr/lib/python2.4/site-packages/cobbler/cobbler.py",<br>>             line 312, in import_tree<br>>                 return 
self.apply_args(args,commands,on_ok)<br>>               File<br>>             "/usr/lib/python2.4/site-packages/cobbler/cobbler.py",<br>>             line 406, in apply_args<br>>                 on_ok()
<br>>               File<br>>             "/usr/lib/python2.4/site-packages/cobbler/cobbler.py",<br>>             line 311, in <lambda><br>>                 on_ok = lambda: go_import()<br>>               File
<br>>             "/usr/lib/python2.4/site-packages/cobbler/cobbler.py",<br>>             line 304, in go_import<br>>                 self.temp_mirror_name)<br>>               File "/usr/lib/python2.4/site-packages/cobbler/api.py",
<br>>             line 152, in import_tree<br>>                 return importer.run()<br>>               File<br>>             "/usr/lib/python2.4/site-packages/cobbler/action_import.py",<br>>             line 82, in run
<br>>                 self.guess_kickstarts()<br>>               File<br>>             "/usr/lib/python2.4/site-packages/cobbler/action_import.py",<br>>             line 139, in guess_kickstarts<br>>                 results = 
self.scan_rpm_filename(rpm)<br>>               File<br>>             "/usr/lib/python2.4/site-packages/cobbler/action_import.py",<br>>             line 186, in scan_rpm_filename<br>>                 major = int(major)
<br>>             ValueError: invalid literal for int(): 5Server<br>><br>>             I don't know what this is all about. But when I ran<br>>             cobbler report it showed me this:<br>><br>>             [
root@server cobbler]# cobbler report<br>>             distro          : rhel5<br>>             kernel          :<br>>             /var/www/cobbler/ks_mirror/rhel5/images/pxeboot/vmlinuz<br>>             initrd          :
<br>>             /var/www/cobbler/ks_mirror/rhel5/images/pxeboot/initrd.img<br>>             kernel options  : {}<br>>             architecture    : x86<br>>             ks metadata     : {}<br>>             breed           : redhat
<br>><br>>             distro          : rhel5-xen<br>>             kernel          :<br>>             /var/www/cobbler/ks_mirror/rhel5/images/xen/vmlinuz<br>>             initrd          :<br>>             /var/www/cobbler/ks_mirror/rhel5/images/xen/initrd.img
<br>>             kernel options  : {}<br>>             architecture    : x86<br>>             ks metadata     : {}<br>>             breed           : redhat<br>><br>>             profile         : rhel5
<br>>             distro          : rhel5<br>>             kickstart       : /etc/cobbler/default.ks<br>>             kernel options  : {}<br>>             ks metadata     : {}<br>>             virt file size  : 5
<br>>             virt ram        : 512<br>>             virt paravirt   : True<br>>             repos           :<br>><br>>             profile         : rhel5-xen<br>>             distro          : rhel5-xen
<br>>             kickstart       : /etc/cobbler/default.ks<br>>             kernel options  : {}<br>>             ks metadata     : {}<br>>             virt file size  : 5<br>>             virt ram        : 512
<br>>             virt paravirt   : True<br>>             repos           :<br>><br>>             That means it has created the distro and profile part. Is<br>>             that perfect or something is missing.
<br>><br>>             Please help.<br>><br>>             Regards<br>>             SysAdmin<br>><br>><br>><br>><br>> ------------------------------------------------------------------------<br>
><br>> _______________________________________________<br>> et-mgmt-tools mailing list<br>> <a href="mailto:et-mgmt-tools@redhat.com">et-mgmt-tools@redhat.com</a><br>> <a href="https://www.redhat.com/mailman/listinfo/et-mgmt-tools">
https://www.redhat.com/mailman/listinfo/et-mgmt-tools</a><br><br>_______________________________________________<br>et-mgmt-tools mailing list<br><a href="mailto:et-mgmt-tools@redhat.com">et-mgmt-tools@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/et-mgmt-tools">
https://www.redhat.com/mailman/listinfo/et-mgmt-tools</a><br></blockquote></div><br>