Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Fault at /
- <Fault 1: "<class 'cobbler.cexceptions.CX'>:'login failed'">
- Request Method: GET
- Request URL: https://localhost:8443/cobbler_web/
- Django Version: 1.3.7
- Exception Type: Fault
- Exception Value:
- <Fault 1: "<class 'cobbler.cexceptions.CX'>:'login failed'">
- Exception Location: /usr/lib64/python2.6/xmlrpclib.py in close, line 838
- Python Executable: /usr/bin/python
- Python Version: 2.6.6
- Python Path:
- ['/usr/lib64/python26.zip',
- '/usr/lib64/python2.6',
- '/usr/lib64/python2.6/plat-linux2',
- '/usr/lib64/python2.6/lib-tk',
- '/usr/lib64/python2.6/lib-old',
- '/usr/lib64/python2.6/lib-dynload',
- '/usr/lib64/python2.6/site-packages',
- '/usr/lib64/python2.6/site-packages/gtk-2.0',
- '/usr/lib/python2.6/site-packages',
- '/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info',
- '/usr/share/cobbler/web',
- '/usr/share/cobbler/web/cobbler_web']
- Server time: Fri, 6 Dec 2013 19:09:19 +0000
- Traceback Switch to copy-and-paste view
- /usr/lib/python2.6/site-packages/django/core/handlers/base.py in get_response
- response = callback(request, *callback_args, **callback_kwargs)
- ...
- ▶ Local vars
- /usr/share/cobbler/web/cobbler_web/views.py in index
- if not test_user_authenticated(request): return login(request,next="/cobbler_web", expired=True)
- ...
- ▶ Local vars
- /usr/share/cobbler/web/cobbler_web/views.py in test_user_authenticated
- token = remote.login("", utils.get_shared_secret())
- ...
- ▶ Local vars
- /usr/lib64/python2.6/xmlrpclib.py in __call__
- return self.__send(self.__name, args)
- ...
- ▶ Local vars
- /usr/lib64/python2.6/xmlrpclib.py in __request
- verbose=self.__verbose
- ...
- ▶ Local vars
- /usr/lib64/python2.6/xmlrpclib.py in request
- return self._parse_response(h.getfile(), sock)
- ...
- ▶ Local vars
- /usr/lib64/python2.6/xmlrpclib.py in _parse_response
- return u.close()
- ...
- ▶ Local vars
- /usr/lib64/python2.6/xmlrpclib.py in close
- raise Fault(**self._stack[0])
- ...
- ▶ Local vars
- Request information
- GET
- No GET data
- POST
- No POST data
- FILES
- No FILES data
- COOKIES
- Variable Value
- csrftoken
- '44c241a55dcfb95f9289c9805014d81d'
- sessionid
- 'f63111ff2629a9a263fa543b67211d58'
- META
- Variable Value
- mod_wsgi.listener_port
- '8443'
- HTTP_COOKIE
- 'csrftoken=44c241a55dcfb95f9289c9805014d81d; sessionid=f63111ff2629a9a263fa543b67211d58'
- mod_wsgi.listener_host
- ''
- SERVER_SOFTWARE
- 'Apache'
- SCRIPT_NAME
- u'/cobbler_web'
- mod_ssl.var_lookup
- ''
- mod_wsgi.handler_script
- ''
- SERVER_SIGNATURE
- ''
- REQUEST_METHOD
- 'GET'
- PATH_INFO
- u'/'
- SERVER_PROTOCOL
- 'HTTP/1.1'
- QUERY_STRING
- ''
- SSL_TLS_SNI
- 'localhost'
- HTTP_USER_AGENT
- 'Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130513 Firefox/17.0'
- HTTP_CONNECTION
- 'keep-alive'
- SERVER_NAME
- 'localhost'
- REMOTE_ADDR
- '127.0.0.1'
- mod_wsgi.request_handler
- 'wsgi-script'
- wsgi.url_scheme
- 'https'
- mod_wsgi.callable_object
- 'application'
- SERVER_PORT
- '8443'
- wsgi.multiprocess
- True
- mod_wsgi.input_chunked
- '0'
- SERVER_ADDR
- '127.0.0.1'
- DOCUMENT_ROOT
- '/var/www/html'
- mod_wsgi.process_group
- ''
- SCRIPT_FILENAME
- '/usr/share/cobbler/web/cobbler.wsgi'
- SERVER_ADMIN
- 'root@localhost'
- wsgi.input
- <mod_wsgi.Input object at 0x7f2dbeffe270>
- HTTP_HOST
- 'localhost:8443'
- mod_ssl.is_https
- 1
- HTTPS
- '1'
- wsgi.multithread
- False
- REQUEST_URI
- '/cobbler_web'
- HTTP_ACCEPT
- 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
- wsgi.version
- (1, 1)
- GATEWAY_INTERFACE
- 'CGI/1.1'
- wsgi.run_once
- False
- wsgi.errors
- <mod_wsgi.Log object at 0x7f2dbeffe230>
- REMOTE_PORT
- '37459'
- HTTP_ACCEPT_LANGUAGE
- 'en-US,en;q=0.5'
- mod_wsgi.version
- (3, 2)
- mod_wsgi.application_group
- 'gs-444-e10285.nascom.nasa.gov:8443|/cobbler_web'
- mod_wsgi.script_reloading
- '1'
- wsgi.file_wrapper
- ''
- CSRF_COOKIE
- '44c241a55dcfb95f9289c9805014d81d'
- HTTP_ACCEPT_ENCODING
- 'gzip, deflate'
- UNIQUE_ID
- 'UqIg34GlCCkAAAmgG44AAAAC'
- Settings
- Using settings module settings
- Setting Value
- USE_L10N
- False
- USE_THOUSAND_SEPARATOR
- False
- LANGUAGE_CODE
- 'en-us'
- ROOT_URLCONF
- 'urls'
- MANAGERS
- ()
- DEFAULT_CHARSET
- 'utf-8'
- STATIC_ROOT
- ''
- TEST_DATABASE_CHARSET
- None
- ALLOWED_HOSTS
- ['*']
- MESSAGE_STORAGE
- 'django.contrib.messages.storage.user_messages.LegacyFallbackStorage'
- DATABASE_HOST
- ''
- EMAIL_SUBJECT_PREFIX
- '[Django] '
- SEND_BROKEN_LINK_EMAILS
- False
- URL_VALIDATOR_USER_AGENT
- 'Django/1.3.7 (http://www.djangoproject.com)'
- STATICFILES_FINDERS
- ('django.contrib.staticfiles.finders.FileSystemFinder',
- 'django.contrib.staticfiles.finders.AppDirectoriesFinder')
- SESSION_COOKIE_DOMAIN
- None
- SESSION_COOKIE_NAME
- 'sessionid'
- ADMIN_FOR
- ()
- TIME_INPUT_FORMATS
- ('%H:%M:%S', '%H:%M')
- DATABASES
- {'default': {'ENGINE': 'django.db.backends.dummy',
- 'HOST': '',
- 'NAME': '',
- 'OPTIONS': {},
- 'PASSWORD': '********************',
- 'PORT': '',
- 'TEST_CHARSET': None,
- 'TEST_COLLATION': None,
- 'TEST_MIRROR': None,
- 'TEST_NAME': None,
- 'TIME_ZONE': None,
- 'USER': ''}}
- TEST_DATABASE_NAME
- None
- FILE_UPLOAD_PERMISSIONS
- None
- FILE_UPLOAD_HANDLERS
- ('django.core.files.uploadhandler.MemoryFileUploadHandler',
- 'django.core.files.uploadhandler.TemporaryFileUploadHandler')
- DEFAULT_CONTENT_TYPE
- 'text/html'
- APPEND_SLASH
- True
- FIRST_DAY_OF_WEEK
- 0
- DATABASE_ROUTERS
- []
- YEAR_MONTH_FORMAT
- 'F Y'
- STATICFILES_STORAGE
- 'django.contrib.staticfiles.storage.StaticFilesStorage'
- CACHES
- {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
- 'LOCATION': ''}}
- SERVER_EMAIL
- 'root@localhost'
- SESSION_COOKIE_PATH
- '/'
- USE_X_FORWARDED_HOST
- False
- IGNORABLE_404_ENDS
- ('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')
- MIDDLEWARE_CLASSES
- ('django.middleware.common.CommonMiddleware',
- 'django.middleware.csrf.CsrfViewMiddleware',
- 'django.contrib.sessions.middleware.SessionMiddleware',
- 'django.contrib.auth.middleware.AuthenticationMiddleware')
- USE_I18N
- False
- THOUSAND_SEPARATOR
- ','
- SECRET_KEY
- '********************'
- LANGUAGE_COOKIE_NAME
- 'django_language'
- FILE_UPLOAD_TEMP_DIR
- None
- TRANSACTIONS_MANAGED
- False
- LOGGING_CONFIG
- 'django.utils.log.dictConfig'
- TEMPLATE_LOADERS
- ('django.template.loaders.filesystem.load_template_source',
- 'django.template.loaders.app_directories.load_template_source')
- TEMPLATE_DEBUG
- True
- AUTHENTICATION_BACKENDS
- ('django.contrib.auth.backends.ModelBackend',)
- TEST_DATABASE_COLLATION
- None
- FORCE_SCRIPT_NAME
- None
- CACHE_BACKEND
- 'locmem://'
- SESSION_COOKIE_SECURE
- False
- CSRF_COOKIE_DOMAIN
- None
- FILE_CHARSET
- 'utf-8'
- DEBUG
- True
- SESSION_FILE_PATH
- '/var/lib/cobbler/webui_sessions'
- DEFAULT_FILE_STORAGE
- 'django.core.files.storage.FileSystemStorage'
- INSTALLED_APPS
- ['django.contrib.auth',
- 'django.contrib.contenttypes',
- 'django.contrib.sessions',
- 'django.contrib.sites',
- 'cobbler_web']
- LANGUAGES
- (('ar', 'Arabic'),
- ('az', 'Azerbaijani'),
- ('bg', 'Bulgarian'),
- ('bn', 'Bengali'),
- ('bs', 'Bosnian'),
- ('ca', 'Catalan'),
- ('cs', 'Czech'),
- ('cy', 'Welsh'),
- ('da', 'Danish'),
- ('de', 'German'),
- ('el', 'Greek'),
- ('en', 'English'),
- ('en-gb', 'British English'),
- ('es', 'Spanish'),
- ('es-ar', 'Argentinian Spanish'),
- ('es-mx', 'Mexican Spanish'),
- ('es-ni', 'Nicaraguan Spanish'),
- ('et', 'Estonian'),
- ('eu', 'Basque'),
- ('fa', 'Persian'),
- ('fi', 'Finnish'),
- ('fr', 'French'),
- ('fy-nl', 'Frisian'),
- ('ga', 'Irish'),
- ('gl', 'Galician'),
- ('he', 'Hebrew'),
- ('hi', 'Hindi'),
- ('hr', 'Croatian'),
- ('hu', 'Hungarian'),
- ('id', 'Indonesian'),
- ('is', 'Icelandic'),
- ('it', 'Italian'),
- ('ja', 'Japanese'),
- ('ka', 'Georgian'),
- ('km', 'Khmer'),
- ('kn', 'Kannada'),
- ('ko', 'Korean'),
- ('lt', 'Lithuanian'),
- ('lv', 'Latvian'),
- ('mk', 'Macedonian'),
- ('ml', 'Malayalam'),
- ('mn', 'Mongolian'),
- ('nl', 'Dutch'),
- ('no', 'Norwegian'),
- ('nb', 'Norwegian Bokmal'),
- ('nn', 'Norwegian Nynorsk'),
- ('pa', 'Punjabi'),
- ('pl', 'Polish'),
- ('pt', 'Portuguese'),
- ('pt-br', 'Brazilian Portuguese'),
- ('ro', 'Romanian'),
- ('ru', 'Russian'),
- ('sk', 'Slovak'),
- ('sl', 'Slovenian'),
- ('sq', 'Albanian'),
- ('sr', 'Serbian'),
- ('sr-latn', 'Serbian Latin'),
- ('sv', 'Swedish'),
- ('ta', 'Tamil'),
- ('te', 'Telugu'),
- ('th', 'Thai'),
- ('tr', 'Turkish'),
- ('uk', 'Ukrainian'),
- ('ur', 'Urdu'),
- ('vi', 'Vietnamese'),
- ('zh-cn', 'Simplified Chinese'),
- ('zh-tw', 'Traditional Chinese'))
- DATABASE_ENGINE
- ''
- DATABASE_NAME
- ''
- COMMENTS_FIRST_FEW
- 0
- PREPEND_WWW
- False
- SESSION_COOKIE_HTTPONLY
- False
- DATABASE_PORT
- ''
- DEBUG_PROPAGATE_EXCEPTIONS
- False
- MONTH_DAY_FORMAT
- 'F j'
- LOGIN_URL
- '/accounts/login/'
- SESSION_EXPIRE_AT_BROWSER_CLOSE
- False
- TIME_FORMAT
- 'P'
- DATE_INPUT_FORMATS
- ('%Y-%m-%d',
- '%m/%d/%Y',
- '%m/%d/%y',
- '%b %d %Y',
- '%b %d, %Y',
- '%d %b %Y',
- '%d %b, %Y',
- '%B %d %Y',
- '%B %d, %Y',
- '%d %B %Y',
- '%d %B, %Y')
- CSRF_COOKIE_NAME
- Settings
- ---
- # cobbler settings file
- # restart cobblerd and run "cobbler sync" after making changes
- # This config file is in YAML 1.0 format
- # see http://yaml.org
- # ==========================================================
- # if 1, cobbler will allow insertions of system records that duplicate
- # the --dns-name information of other system records. In general,
- # this is undesirable and should be left 0.
- allow_duplicate_hostnames: 0
- # if 1, cobbler will allow insertions of system records that duplicate
- # the ip address information of other system records. In general,
- # this is undesirable and should be left 0.
- allow_duplicate_ips: 0
- # if 1, cobbler will allow insertions of system records that duplicate
- # the mac address information of other system records. In general,
- # this is undesirable.
- allow_duplicate_macs: 0
- # if 1, cobbler will allow settings to be changed dynamically without
- # a restart of the cobblerd daemon. You can only change this variable
- # by manually editing the settings file, and you MUST restart cobblerd
- # after changing it.
- allow_dynamic_settings: 1
- # by default, installs are *not* set to send installation logs to the cobbler
- # # # server. With 'anamon_enabled', kickstart templates may use the pre_anamon
- # # # snippet to allow remote live monitoring of their installations from the
- # # # cobbler server. Installation logs will be stored under
- # # # /var/log/cobbler/anamon/. NOTE: This does allow an xmlrpc call to send logs
- # # # to this directory, without authentication, so enable only if you are
- # # # ok with this limitation.
- anamon_enabled: 0
- # If using authn_pam in the modules.conf, this can be configured
- # to change the PAM service authentication will be tested against.
- # The default value is "login".
- authn_pam_service: "login"
- # Email out a report when cobbler finishes installing a system.
- # enabled: set to 1 to turn this feature on
- # sender: optional
- # email: which addresses to email
- # smtp_server: used to specify another server for an MTA
- # subject: use the default subject unless overridden
- build_reporting_enabled: 0
- build_reporting_sender: ""
- build_reporting_email: [ 'root@gs-444-e10285' ]
- build_reporting_smtp_server: "gs-444-e10285"
- build_reporting_subject: ""
- # Cheetah-language kickstart templates can import Python modules.
- # while this is a useful feature, it is not safe to allow them to
- # import anything they want. This whitelists which modules can be
- # imported through Cheetah. Users can expand this as needed but
- # should never allow modules such as subprocess or those that
- # allow access to the filesystem as Cheetah templates are evaluated
- # by cobblerd as code.
- cheetah_import_whitelist:
- - "random"
- - "re"
- - "time"
- # Default createrepo_flags to use for new repositories. If you have
- # createrepo >= 0.4.10, consider "-c cache --update -C", which can
- # dramatically improve your "cobbler reposync" time. "-s sha"
- # enables working with Fedora repos from F11/F12 from EL-4 or
- # EL-5 without python-hashlib installed (which is not available
- # on EL-4)
- createrepo_flags: "-c cache -s sha"
- # if no kickstart is specified to profile add, use this template
- default_kickstart: /var/lib/cobbler/kickstarts/default.ks
- # configure all installed systems to use these nameservers by default
- # unless defined differently in the profile. For DHCP configurations
- # you probably do /not/ want to supply this.
- default_name_servers: []
- # if using the authz_ownership module (see the Wiki), objects
- # created without specifying an owner are assigned to this
- # owner and/or group. Can be a comma seperated list.
- default_ownership:
- - "admin"
- # cobbler has various sample kickstart templates stored
- # in /var/lib/cobbler/kickstarts/. This controls
- # what install (root) password is set up for those
- # systems that reference this variable. The factory
- # default is "cobbler" and cobbler check will warn if
- # this is not changed.
- # The simplest way to change the password is to run
- # openssl passwd -1
- # and put the output between the "" below.
- default_password_crypted: "$1$xmMcAmti$HA2BQyxtznhEYCXaya5eI."
- # the default template type to use in the absence of any
- # other detected template. If you do not specify the template
- # with '#template=<template_type>' on the first line of your
- # templates/snippets, cobbler will assume try to use the
- # following template engine to parse the templates.
- #
- # Current valid values are: cheetah, jinja2
- default_template_type: "cheetah"
- # for libvirt based installs in koan, if no virt bridge
- # is specified, which bridge do we try? For EL 4/5 hosts
- # this should be xenbr0, for all versions of Fedora, try
- # "virbr0". This can be overriden on a per-profile
- # basis or at the koan command line though this saves
- # typing to just set it here to the most common option.
- default_virt_bridge: xenbr0
- # use this as the default disk size for virt guests (GB)
- default_virt_file_size: 5
- # use this as the default memory size for virt guests (MB)
- default_virt_ram: 512
- # if koan is invoked without --virt-type and no virt-type
- # is set on the profile/system, what virtualization type
- # should be assumed? Values: xenpv, xenfv, qemu, vmware
- # (NOTE: this does not change what virt_type is chosen by import)
- default_virt_type: xenpv
- # enable gPXE booting? Enabling this option will cause cobbler
- # to copy the undionly.kpxe file to the tftp root directory,
- # and if a profile/system is configured to boot via gpxe it will
- # chain load off pxelinux.0.
- # Default: 0
- enable_gpxe: 0
- # controls whether cobbler will add each new profile entry to the default
- # PXE boot menu. This can be over-ridden on a per-profile
- # basis when adding/editing profiles with --enable-menu=0/1. Users
- # should ordinarily leave this setting enabled unless they are concerned
- # with accidental reinstalls from users who select an entry at the PXE
- # boot menu. Adding a password to the boot menus templates
- # may also be a good solution to prevent unwanted reinstallations
- enable_menu: 1
- # enable Func-integration? This makes sure each installed machine is set up
- # to use func out of the box, which is a powerful way to script and control
- # remote machines.
- # Func lives at http://fedorahosted.org/func
- # read more at https://github.com/cobbler/cobbler/wiki/Func-integration
- # you will need to mirror Fedora/EPEL packages for this feature, so see
- # https://github.com/cobbler/cobbler/wiki/Manage-yum-repos if you want cobbler
- # to help you with this
- func_auto_setup: 0
- func_master: overlord.example.org
- # change this port if Apache is not running plaintext on port
- # 80. Most people can leave this alone.
- http_port: 80
- # kernel options that should be present in every cobbler installation.
- # kernel options can also be applied at the distro/profile/system
- # level.
- kernel_options:
- ksdevice: bootif
- lang: ' '
- text: ~
- # s390 systems require additional kernel options in addition to the
- # above defaults
- kernel_options_s390x:
- RUNKS: 1
- ramdisk_size: 40000
- root: /dev/ram0
- ro: ~
- ip: off
- vnc: ~
- # configuration options if using the authn_ldap module. See the
- # the Wiki for details. This can be ignored if you are not using
- # LDAP for WebUI/XMLRPC authentication.
- ldap_server: "mercedes.nascom.nasa.gov svx.nascom.nasa.gov"
- ldap_base_dn: "dc=nascom,dc=nasa,dc=gov"
- ldap_port: 389
- ldap_tls: 1
- ldap_anonymous_bind: 1
- ldap_search_bind_dn: ''
- ldap_search_passwd: ''
- ldap_search_prefix: 'uid='
- ldap_tls_cacertfile: ''
- ldap_tls_keyfile: ''
- ldap_tls_certfile: ''
- # cobbler has a feature that allows for integration with config management
- # systems such as Puppet. The following parameters work in conjunction with
- # --mgmt-classes and are described in furhter detail at:
- # https://github.com/cobbler/cobbler/wiki/Using-cobbler-with-a-configuration-management-system
- mgmt_classes: []
- mgmt_parameters:
- from_cobbler: 1
- # if enabled, this setting ensures that puppet is installed during
- # machine provision, a client certificate is generated and a
- # certificate signing request is made with the puppet master server
- puppet_auto_setup: 0
- # when puppet starts on a system after installation it needs to have
- # its certificate signed by the puppet master server. Enabling the
- # following feature will ensure that the puppet server signs the
- # certificate after installation if the puppet master server is
- # running on the same machine as cobbler. This requires
- # puppet_auto_setup above to be enabled
- sign_puppet_certs_automatically: 0
- # location of the puppet executable, used for revoking certificates
- puppetca_path: "/usr/bin/puppet"
- # when a puppet managed machine is reinstalled it is necessary to
- # remove the puppet certificate from the puppet master server before a
- # new certificate is signed (see above). Enabling the following
- # feature will ensure that the certificate for the machine to be
- # installed is removed from the puppet master server if the puppet
- # master server is running on the same machine as cobbler. This
- # requires puppet_auto_setup above to be enabled
- remove_old_puppet_certs_automatically: 0
- # choose a --server argument when running puppetd/puppet agent during kickstart
- #puppet_server: 'puppet'
- # let cobbler know that you're using a newer version of puppet
- # choose version 3 to use: 'puppet agent'; version 2 uses status quo: 'puppetd'
- #puppet_version: 2
- # choose whether to enable puppet parameterized classes or not.
- # puppet versions prior to 2.6.5 do not support parameters
- #puppet_parameterized_classes: 1
- # set to 1 to enable Cobbler's DHCP management features.
- # the choice of DHCP management engine is in /etc/cobbler/modules.conf
- manage_dhcp: 1
- # set to 1 to enable Cobbler's DNS management features.
- # the choice of DNS mangement engine is in /etc/cobbler/modules.conf
- manage_dns: 0
- # set to path of bind chroot to create bind-chroot compatible bind
- # configuration files. This should be automatically detected.
- bind_chroot_path: ""
- # set to the ip address of the master bind DNS server for creating secondary
- # bind configuration files
- bind_master: 127.0.0.1
- # set to 1 to enable Cobbler's TFTP management features.
- # the choice of TFTP mangement engine is in /etc/cobbler/modules.conf
- manage_tftpd: 1
- # set to 1 to enable Cobbler's RSYNC management features.
- manage_rsync: 0
- # if using BIND (named) for DNS management in /etc/cobbler/modules.conf
- # and manage_dns is enabled (above), this lists which zones are managed
- # See the Wiki (https://github.com/cobbler/cobbler/wiki/Dns-management) for more info
- manage_forward_zones: []
- manage_reverse_zones: []
- # if using cobbler with manage_dhcp, put the IP address
- # of the cobbler server here so that PXE booting guests can find it
- # if you do not set this correctly, this will be manifested in TFTP open timeouts.
- next_server: 192.168.10.1
- # settings for power management features. optional.
- # see https://github.com/cobbler/cobbler/wiki/Power-management to learn more
- # choices (refer to codes.py):
- # apc_snmp bladecenter bullpap drac ether_wake ilo integrity
- # ipmilan ipmitool lpar rsa virsh wti
- power_management_default_type: 'ipmitool'
- # the commands used by the power management module are sourced
- # from what directory?
- power_template_dir: "/etc/cobbler/power"
- # if this setting is set to 1, cobbler systems that pxe boot
- # will request at the end of their installation to toggle the
- # --netboot-enabled record in the cobbler system record. This eliminates
- # the potential for a PXE boot loop if the system is set to PXE
- # first in it's BIOS order. Enable this if PXE is first in your BIOS
- # boot order, otherwise leave this disabled. See the manpage
- # for --netboot-enabled.
- pxe_just_once: 1
- # the templates used for PXE config generation are sourced
- # from what directory?
- pxe_template_dir: "/etc/cobbler/pxe"
- # Path to where system consoles are
- consoles: "/var/consoles"
- # Are you using a Red Hat management platform in addition to Cobbler?
- # Cobbler can help you register to it. Choose one of the following:
- # "off" : I'm not using Red Hat Network, Satellite, or Spacewalk
- # "hosted" : I'm using Red Hat Network
- # "site" : I'm using Red Hat Satellite Server or Spacewalk
- # You will also want to read: https://github.com/cobbler/cobbler/wiki/Tips-for-RHN
- redhat_management_type: "off"
- # if redhat_management_type is enabled, choose your server
- # "management.example.org" : For Satellite or Spacewalk
- # "xmlrpc.rhn.redhat.com" : For Red Hat Network
- # This setting is also used by the code that supports using Spacewalk/Satellite users/passwords
- # within Cobbler Web and Cobbler XMLRPC. Using RHN Hosted for this is not supported.
- # This feature can be used even if redhat_management_type is off, you just have
- # to have authn_spacewalk selected in modules.conf
- redhat_management_server: "xmlrpc.rhn.redhat.com"
- # specify the default Red Hat authorization key to use to register
- # system. If left blank, no registration will be attempted. Similarly
- # you can set the --redhat-management-key to blank on any system to
- # keep it from trying to register.
- redhat_management_key: ""
- # if using authn_spacewalk in modules.conf to let cobbler authenticate
- # against Satellite/Spacewalk's auth system, by default it will not allow per user
- # access into Cobbler Web and Cobbler XMLRPC.
- # in order to permit this, the following setting must be enabled HOWEVER
- # doing so will permit all Spacewalk/Satellite users of certain types to edit all
- # of cobbler's configuration.
- # these roles are: config_admin and org_admin
- # users should turn this on only if they want this behavior and
- # do not have a cross-multi-org seperation concern. If you have
- # a single org in your satellite, it's probably safe to turn this
- # on and then you can use CobblerWeb alongside a Satellite install.
- redhat_management_permissive: 0
- # if set to 1, allows /usr/bin/cobbler-register (part of the koan package)
- # to be used to remotely add new cobbler system records to cobbler.
- # this effectively allows for registration of new hardware from system
- # records.
- register_new_installs: 0
- # Flags to use for yum's reposync. If your version of yum reposync
- # does not support -l, you may need to remove that option.
- reposync_flags: "-l -n -d"
- # These options will be used for an rsync initiated by cobbler replicate
- replicate_rsync_options: "-avzH"
- # when DHCP and DNS management are enabled, cobbler sync can automatically
- # restart those services to apply changes. The exception for this is
- # if using ISC for DHCP, then omapi eliminates the need for a restart.
- # omapi, however, is experimental and not recommended for most configurations.
- # If DHCP and DNS are going to be managed, but hosted on a box that
- # is not on this server, disable restarts here and write some other
- # script to ensure that the config files get copied/rsynced to the destination
- # box. This can be done by modifying the restart services trigger.
- # Note that if manage_dhcp and manage_dns are disabled, the respective
- # parameter will have no effect. Most users should not need to change
- # this.
- restart_dns: 1
- restart_dhcp: 1
- # install triggers are scripts in /var/lib/cobbler/triggers/install
- # that are triggered in kickstart pre and post sections. Any
- # executable script in those directories is run. They can be used
- # to send email or perform other actions. They are currently
- # run as root so if you do not need this functionality you can
- # disable it, though this will also disable "cobbler status" which
- # uses a logging trigger to audit install progress.
- run_install_triggers: 1
- # enables a trigger which version controls all changes to /var/lib/cobbler
- # when add, edit, or sync events are performed. This can be used
- # to revert to previous database versions, generate RSS feeds, or for
- # other auditing or backup purposes. "git" and "hg" are currently suported,
- # but git is the recommend SCM for use with this feature.
- scm_track_enabled: 0
- scm_track_mode: "git"
- # this is the address of the cobbler server -- as it is used
- # by systems during the install process, it must be the address
- # or hostname of the system as those systems can see the server.
- # if you have a server that appears differently to different subnets
- # (dual homed, etc), you need to read the --server-override section
- # of the manpage for how that works.
- server: 192.168.10.1
- # If set to 1, all commands will be forced to use the localhost address
- # instead of using the above value which can force commands like
- # cobbler sync to open a connection to a remote address if one is in the
- # configuration and would traceback.
- client_use_localhost: 0
- # If set to 1, all commands to the API (not directly to the XMLRPC
- # server) will go over HTTPS instead of plaintext. Be sure to change
- # the http_port setting to the correct value for the web server
- client_use_https: 0
- # this is a directory of files that cobbler uses to make
- # templating easier. See the Wiki for more information. Changing
- # this directory should not be required.
- snippetsdir: /var/lib/cobbler/snippets
- # Normally if a kickstart is specified at a remote location, this
- # URL will be passed directly to the kickstarting system, thus bypassing
- # the usual snippet templating Cobbler does for local kickstart files. If
- # this option is enabled, Cobbler will fetch the file contents internally
- # and serve a templated version of the file to the client.
- template_remote_kickstarts: 0
- # should new profiles for virtual machines default to auto booting with the physical host when the physical host reboots?
- # this can be overridden on each profile or system object.
- virt_auto_boot: 1
- # cobbler's web directory. Don't change this setting -- see the
- # Wiki on "relocating your cobbler install" if your /var partition
- # is not large enough.
- webdir: /var/www/cobbler
- # cobbler's public XMLRPC listens on this port. Change this only
- # if absolutely needed, as you'll have to start supplying a new
- # port option to koan if it is not the default.
- xmlrpc_port: 25151
- # "cobbler repo add" commands set cobbler up with repository
- # information that can be used during kickstart and is automatically
- # set up in the cobbler kickstart templates. By default, these
- # are only available at install time. To make these repositories
- # usable on installed systems (since cobbler makes a very convient)
- # mirror, set this to 1. Most users can safely set this to 1. Users
- # who have a dual homed cobbler server, or are installing laptops that
- # will not always have access to the cobbler server may wish to leave
- # this as 0. In that case, the cobbler mirrored yum repos are still
- # accessable at http://cobbler.example.org/cblr/repo_mirror and yum
- # configuration can still be done manually. This is just a shortcut.
- yum_post_install_mirror: 1
- # the default yum priority for all the distros. This is only used
- # if yum-priorities plugin is used. 1=maximum. Tweak with caution.
- yum_distro_priority: 1
- # Flags to use for yumdownloader. Not all versions may support
- # --resolve.
- yumdownloader_flags: "--resolve"
- # sort and indent JSON output to make it more human-readable
- serializer_pretty_json: 1
- # replication rsync options for distros, kickstarts, snippets set to override default value of "-avzH"
- replicate_rsync_options: "-avzH"
- # replication rsync options for repos set to override default value of "-avzH"
- replicate_repo_rsync_options: "-avzH"
- 'csrftoken'
- EMAIL_HOST_PASSWORD
- '********************'
- PASSWORD_RESET_TIMEOUT_DAYS
- '********************'
- CACHE_MIDDLEWARE_ALIAS
- 'default'
- SESSION_SAVE_EVERY_REQUEST
- False
- ADMIN_MEDIA_PREFIX
- '/media/'
- NUMBER_GROUPING
- 0
- SESSION_ENGINE
- 'django.contrib.sessions.backends.file'
- CSRF_FAILURE_VIEW
- 'django.views.csrf.csrf_failure'
- COMMENTS_SKETCHY_USERS_GROUP
- None
- LOGIN_REDIRECT_URL
- '/accounts/profile/'
- LOGGING
- {'disable_existing_loggers': False,
- 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler',
- 'level': 'ERROR'}},
- 'loggers': {'django.request': {'handlers': ['mail_admins'],
- 'level': 'ERROR',
- 'propagate': True}},
- 'version': 1}
- CACHE_MIDDLEWARE_KEY_PREFIX
- ''
- LOCALE_PATHS
- ()
- TEMPLATE_STRING_IF_INVALID
- ''
- COMMENTS_ALLOW_PROFANITIES
- False
- LOGOUT_URL
- '/accounts/logout/'
- EMAIL_USE_TLS
- False
- TEMPLATE_DIRS
- ('/usr/share/cobbler/web/templates',)
- FIXTURE_DIRS
- ()
- EMAIL_HOST
- 'localhost'
- DATE_FORMAT
- 'N j, Y'
- MEDIA_ROOT
- ''
- ADMINS
- ()
- FORMAT_MODULE_PATH
- None
- DEFAULT_FROM_EMAIL
- 'webmaster@localhost'
- STATICFILES_DIRS
- ()
- MEDIA_URL
- ''
- DATETIME_FORMAT
- 'N j, Y, P'
- IGNORABLE_404_STARTS
- ('/cgi-bin/', '/_vti_bin', '/_vti_inf')
- SITE_ID
- 1
- DISALLOWED_USER_AGENTS
- ()
- ALLOWED_INCLUDE_ROOTS
- ()
- DECIMAL_SEPARATOR
- '.'
- SHORT_DATE_FORMAT
- 'm/d/Y'
- DATABASE_USER
- ''
- TEST_RUNNER
- 'django.test.simple.DjangoTestSuiteRunner'
- TIME_ZONE
- None
- FILE_UPLOAD_MAX_MEMORY_SIZE
- 2621440
- EMAIL_BACKEND
- 'django.core.mail.backends.smtp.EmailBackend'
- DEFAULT_TABLESPACE
- ''
- TEMPLATE_CONTEXT_PROCESSORS
- ('django.contrib.auth.context_processors.auth',
- 'django.core.context_processors.debug',
- 'django.core.context_processors.i18n',
- 'django.core.context_processors.media',
- 'django.core.context_processors.static',
- 'django.contrib.messages.context_processors.messages',
- 'django.core.context_processors.request')
- SESSION_COOKIE_AGE
- 1209600
- SETTINGS_MODULE
- 'settings'
- USE_ETAGS
- False
- LANGUAGES_BIDI
- ('he', 'ar', 'fa')
- DEFAULT_INDEX_TABLESPACE
- ''
- INTERNAL_IPS
- ()
- STATIC_URL
- None
- EMAIL_PORT
- 25
- SHORT_DATETIME_FORMAT
- 'm/d/Y P'
- ABSOLUTE_URL_OVERRIDES
- {}
- DATABASE_OPTIONS
- {}
- CACHE_MIDDLEWARE_SECONDS
- 600
- BANNED_IPS
- ()
- DATETIME_INPUT_FORMATS
- ('%Y-%m-%d %H:%M:%S',
- '%Y-%m-%d %H:%M',
- '%Y-%m-%d',
- '%m/%d/%Y %H:%M:%S',
- '%m/%d/%Y %H:%M',
- '%m/%d/%Y',
- '%m/%d/%y %H:%M:%S',
- '%m/%d/%y %H:%M',
- '%m/%d/%y')
- DATABASE_PASSWORD
- '********************'
- COMMENTS_MODERATORS_GROUP
- None
- COMMENTS_BANNED_USERS_GROUP
- None
- EMAIL_HOST_USER
- ''
- PROFANITIES_LIST
- '********************'
- You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 500 page.
Advertisement
Add Comment
Please, Sign In to add comment