Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: cobbler problem virt_mem virt_file_size: msg#00117

Subject: Re: cobbler problem virt_mem virt_file_size
Mario Verbelen wrote:
Hi,

As you can see below there is a bug when you don't use the default
virt_ram virt_file_size

Even when I give it to the profile add the settings are correctly saved
(/var/lib/cobbler/profiles)
but when cobbler list you don't see your setting
when using koan he also doesn't see the setting

my problem is that i don't have 512MB free memory so it fails

cobbler profile add --name=fc6test --distro=fc6test --virt-file-size=3
--virt-ram=96


cobbler list
defaults
kernel options  : append devfs=nomount ramdisk_size=16438 lang= vga=788
ksdevice=eth0

distro 1        : fc6test
kernel          : /boot/vmlinuz-2.6.18-1.2798.fc6xen
initrd          : /boot/initrd-2.6.18-1.2798.fc6xen.img
kernel options  :
architecture    : x86
ks metadata     :


distro 2        : var_www_cobbler_localmirror_fc6_images_pxeboot
kernel          : /var/www/cobbler/localmirror/fc6/images/pxeboot/vmlinuz
initrd          : /var/www/cobbler/localmirror/fc6/images/pxeboot/initrd.img
kernel options  :
architecture    : x86
ks metadata     :

profile 1       : fc6test
distro          : fc6test
kickstart       : /etc/cobbler/default.ks
kernel options  :
ks metadata     :
virt name        : fc6test
virt file size   :
virt ram         :
virt paravirt    :


profile 2       : var_www_cobbler_localmirror_fc6_images_pxeboot
distro          : var_www_cobbler_localmirror_fc6_images_pxeboot
kickstart       : /etc/cobbler/kickstart_fc5.ks
kernel options  :
ks metadata     : tree=http://127.0.0.1/localmirror/fc6
virt name        : var_www_cobbler_localmirror_fc6_images_pxeboot
virt file size   :
virt ram         :
virt paravirt    :

There are no configured System records.



koan --virt --profile=fc6test --server=localhost
- processing profile: fc6test
- fetching configuration for profile: fc6test
- url=http://localhost/cobbler/profiles/fc6test
- {'kickstart': 'http://127.0.0.1/cobbler/kickstarts/fc6test/ks.cfg',
'name': 'fc6test', 'virt_ram': '', 'virt_paravirt': '',
'kernel_options': 'lang ksdevice=eth0  vga=788 devfs=nomount
ramdisk_size=16438', 'virt_name': 'fc6test', 'virt_file_size': '',
'distro': 'fc6test', 'ks_meta': ''}
- fetching configuration for distro: fc6test
- url=http://localhost/cobbler/distros/fc6test
- {'kernel': '/boot/vmlinuz-2.6.18-1.2798.fc6xen', 'ks_meta': '',
'kernel_options': 'lang ksdevice=eth0  vga=788 devfs=nomount
ramdisk_size=16438', 'initrd': '/boot/initrd-2.6.18-1.2798.fc6xen.img',
'arch': 'x86', 'name': 'fc6test'}
- downloading initrd initrd-2.6.18-1.2798.fc6xen.img
to /tmp/initrd-2.6.18-1.2798.fc6xen.img
-
url=http://localhost/cobbler/images/fc6test/initrd-2.6.18-1.2798.fc6xen.img
- downloading kernel vmlinuz-2.6.18-1.2798.fc6xen
to /tmp/vmlinuz-2.6.18-1.2798.fc6xen
-
url=http://localhost/cobbler/images/fc6test/vmlinuz-2.6.18-1.2798.fc6xen
- kernel saved = /tmp/vmlinuz-2.6.18-1.2798.fc6xen
- initrd saved = /tmp/initrd-2.6.18-1.2798.fc6xen.img
- invalid RAM size specified, defaulting to 256 MB
- invalid file size specified, defaulting to 1 GB
libvir: Xen Daemon error : GET operation failed: No such domain 6
libvir: Xen Daemon error : POST operation failed: (xend.err 'Error
creating domain: I need 262144 KiB, but dom0_min_mem is 262144 and
shrinking to 262144 KiB would leave only -15940 KiB free.')
Failed to create domain fc6test
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/koan/app.py", line 96, in main
    k.run()
  File "/usr/lib/python2.4/site-packages/koan/app.py", line 154, in run
    self.do_virt()
  File "/usr/lib/python2.4/site-packages/koan/app.py", line 295, in
do_virt
    return self.do_net_install("/tmp",after_download)
  File "/usr/lib/python2.4/site-packages/koan/app.py", line 253, in
do_net_install
    after_download(self, distro_data, profile_data)
  File "/usr/lib/python2.4/site-packages/koan/app.py", line 294, in
after_download
    self.do_virt_net_install(profile_data, distro_data)
  File "/usr/lib/python2.4/site-packages/koan/app.py", line 574, in
do_virt_net_install
    extra=kextra
  File "/usr/lib/python2.4/site-packages/koan/virtcreate.py", line 196,
in start_paravirt_install
    dom = conn.createLinux(cfgxml, 0)
  File "/usr/lib/python2.4/site-packages/libvirt.py", line 249, in
createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed')
libvirtError: virDomainCreateLinux() failed




cat /var/lib/cobbler/profiles
---
-
    distro: &1 var_www_cobbler_localmirror_fc6_images_pxeboot
    kernel_options: ''
    kickstart: /etc/cobbler/kickstart_fc5.ks
    ks_meta: 'tree=http://127.0.0.1/localmirror/fc6'
    name: *1
    virt_file_size: ''
    virt_name: *1
    virt_paravirt: ''
    virt_ram: ''
-
    distro: fc6test
    kernel_options: ''
    kickstart: /etc/cobbler/default.ks
    ks_meta: ''
    name: fc6test
    virt_file_size: 3
    virt_name: virtguest
    virt_paravirt: True
    virt_ram: 96


--
Fedora-xen mailing list
Fedora-xen@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-xen

I apologize for the extremely late reply to this, as I don't read the fedora-xen list archives as often as I should. This one snuck past. In general, cobbler discussion happens on et-mgmt-tools@xxxxxxxxxx -- all emails to that list (or submissions to cobbler's bugzilla component) will definitely catch my attention. This will be fixed in 0.3.5 -- which I'll push this out this week.
Thanks,

Michael DeHaan



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe