This is also ticket 313 in trac:

Ok so I've pulled the latest HEAD (commit
9e9392db3a96b037ac2a632c9e3b41c5c220a7d5),
built an rpm for cobbler 1.3.2, and installed it on a RHEL 5.2 server.
[EMAIL PROTECTED] ~]$ cobbler system report --name cobblertest01.mtt
system                : cobblertest01.mtt
profile               : Fedora9-x86_64
comment               :
created               : Thu Jan  1 00:00:00 1970
gateway               :
hostname              : cobblertest01.mtt
image                 :
kernel options        : {'console': 'ttyS0,115200'}
kernel options post   : {}
kickstart             : <<inherit>>
ks metadata           : {}
mgmt classes          : []
modified              : Thu Jan  1 00:00:00 1970
name servers          : <<inherit>>
netboot enabled?      : True
owners                : ['admin']
server                : <<inherit>>
template files        : {}
virt cpus             : <<inherit>>
virt file size        : <<inherit>>
virt path             : <<inherit>>
virt ram              : <<inherit>>
virt type             : <<inherit>>
power type            : ipmitool
power address         :
power user            :
power password        :
power id              :
interface        : eth0
  mac address    : 00:21:5A:D3:DC:EE
  bonding        :
  bonding_master :
  bonding_opts   :
  is static?     : False
  ip address     : 192.168.125.114
  subnet         : 255.255.255.0
  static routes  : []
  dns name       : cobblertest01.int.mtt
  dhcp tag       :
  virt bridge    :
interface        : eth1
  mac address    : 00:21:5a:d3:dc:ef
  bonding        :
  bonding_master :
  bonding_opts   :
  is static?     : False
  ip address     : 10.125.200.114
  subnet         : 255.255.255.0
  static routes  : []
  dns name       : cobblertest01.mtt
  dhcp tag       :
  virt bridge    :
interface        : intf0
  mac address    :
  bonding        :
  bonding_master :
  bonding_opts   :
  is static?     : False
  ip address     :
  subnet         :
  static routes  : []
  dns name       : cobblertest01.mtt
  dhcp tag       :
  virt bridge    :
[EMAIL PROTECTED] ~]$ egrep -v '^$|^#' /etc/cobbler/settings
---
allow_duplicate_hostnames: 0
allow_duplicate_ips: 0
allow_duplicate_macs: 0
bind_bin: /usr/sbin/named
cheetah_import_whitelist:
   - "random"
   - "re"
   - "time"
default_kickstart: /etc/cobbler/default.ks
default_name_servers: []
default_virt_bridge: xenbr0
default_virt_type: xenpv
default_virt_file_size: 5
default_virt_ram: 512
default_ownership:
    - "admin"
enable_menu: 1
dhcpd_bin: /usr/sbin/dhcpd
dhcpd_conf: /etc/dhcpd.conf
dnsmasq_bin: /usr/sbin/dnsmasq
dnsmasq_conf: /etc/dnsmasq.conf
func_auto_setup: 0
func_master: overlord.example.org
httpd_bin: /usr/sbin/httpd
http_port: 80
kernel_options:
    ksdevice: eth0
    lang: ' '
    text: ~
    noipv6: ~
    selinux: 0
ldap_server: "ldap.example.com"
ldap_base_dn: "DC=example,DC=com"
ldap_port: 389
ldap_tls: 1
ldap_anonymous_bind: 1
ldap_search_bind_dn: ''
ldap_search_passwd: ''
ldap_search_prefix: 'uid='
manage_dhcp: 1
manage_dns: 0
manage_forward_zones: []
manage_reverse_zones: []
mgmt_classes: []
mgmt_parameters:
   from_cobbler: 1
named_conf: /etc/named.conf
next_server: 10.125.200.30
omapi_enabled: 0
omapi_port: 647
omshell_bin: /usr/bin/omshell
power_management_default_type: 'ipmitool'
power_template_dir: "/etc/cobbler/power"
pxe_just_once: 0
pxe_template_dir: "/etc/cobbler/pxe"
restart_dns: 1
restart_dhcp: 1
register_new_installs: 0
run_install_triggers: 1
server: 10.125.200.30
snippetsdir: /var/lib/cobbler/snippets
spacewalk_url: http://localhost/rpc/api
syslog_port: 25150
tftpd_bin: /usr/sbin/in.tftpd
tftpd_conf: /etc/xinetd.d/tftp
webdir: /var/www/cobbler
xmlrpc_port: 25151
xmlrpc_rw_enabled: 1
xmlrpc_rw_port: 25152
yum_post_install_mirror: 0
yumreposync_flags: "-l"
yumdownloader_flags: "--resolve"

========== From /var/log/cobbler.log
2008-12-01 17:02:36,787 - api - sync
2008-12-01 17:04:39,583 - api - cobblerd started
2008-12-01 17:04:39,597 - api - XMLRPC running on 25151
2008-12-01 17:04:39,599 - api - syslog running on 25150
2008-12-01 17:06:06,645 - api - serialize
2008-12-01 17:06:09,533 - api - sync
2008-12-01 17:09:01,649 - api - serialize
2008-12-01 17:09:11,281 - api - cobblerd started
2008-12-01 17:09:11,292 - api - syslog running on 25150
2008-12-01 17:09:11,298 - api - XMLRPC running on 25151
2008-12-01 17:10:36,336 - api - generate_kickstart; user(?)
2008-12-01 17:10:36,336 - api - generate_kickstart
2008-12-01 17:10:36,362 - api - Exception occured: exceptions.IOError
2008-12-01 17:10:36,362 - api - Exception value: [Errno 9] Bad file descriptor
2008-12-01 17:10:36,363 - api - Exception Info:
  File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 635,
in _dispatch
    return method_handle(*params)
   File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line
207, in generate_kickstart
    return self.api.generate_kickstart(profile,system)
   File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 423,
in generate_kickstart
    return self.kickgen.generate_kickstart_for_system(system)
   File "/usr/lib/python2.4/site-packages/cobbler/kickgen.py", line
253, in generate_kickstart_for_system
    traceback.print_exc()
   File "/usr/lib64/python2.4/traceback.py", line 212, in print_exc
    print_exception(etype, value, tb, limit, file)
   File "/usr/lib64/python2.4/traceback.py", line 124, in print_exception
    _print(file, 'Traceback (most recent call last):')
   File "/usr/lib64/python2.4/traceback.py", line 13, in _print
    file.write(str+terminator)

2008-12-01 17:11:58,629 - api - sync
2008-12-01 17:12:11,003 - api - sync
2008-12-01 17:14:04,476 - api - sync
2008-12-01 17:14:13,723 - api - sync
======================

-- 
Jeff Schroeder

Don't drink and derive, alcohol and analysis don't mix.
http://www.digitalprognosis.com
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to