sjnewman

Cobbler LDAP isuue for James C

Dec 9th, 2013
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 32.17 KB | None | 0 0
  1.  
  2. Fault at /
  3.  
  4. <Fault 1: "<class 'cobbler.cexceptions.CX'>:'login failed'">
  5.  
  6. Request Method:     GET
  7. Request URL:    https://localhost:8443/cobbler_web/
  8. Django Version:     1.3.7
  9. Exception Type:     Fault
  10. Exception Value:    
  11.  
  12. <Fault 1: "<class 'cobbler.cexceptions.CX'>:'login failed'">
  13.  
  14. Exception Location:     /usr/lib64/python2.6/xmlrpclib.py in close, line 838
  15. Python Executable:  /usr/bin/python
  16. Python Version:     2.6.6
  17. Python Path:    
  18.  
  19. ['/usr/lib64/python26.zip',
  20.  '/usr/lib64/python2.6',
  21.  '/usr/lib64/python2.6/plat-linux2',
  22.  '/usr/lib64/python2.6/lib-tk',
  23.  '/usr/lib64/python2.6/lib-old',
  24.  '/usr/lib64/python2.6/lib-dynload',
  25.  '/usr/lib64/python2.6/site-packages',
  26.  '/usr/lib64/python2.6/site-packages/gtk-2.0',
  27.  '/usr/lib/python2.6/site-packages',
  28.  '/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info',
  29.  '/usr/share/cobbler/web',
  30.  '/usr/share/cobbler/web/cobbler_web']
  31.  
  32. Server time:    Fri, 6 Dec 2013 19:09:19 +0000
  33. Traceback Switch to copy-and-paste view
  34.  
  35.     /usr/lib/python2.6/site-packages/django/core/handlers/base.py in get_response
  36.  
  37.                                 response = callback(request, *callback_args, **callback_kwargs)
  38.  
  39.         ...
  40.     ▶ Local vars
  41.     /usr/share/cobbler/web/cobbler_web/views.py in index
  42.  
  43.            if not test_user_authenticated(request): return login(request,next="/cobbler_web", expired=True)
  44.  
  45.         ...
  46.     ▶ Local vars
  47.     /usr/share/cobbler/web/cobbler_web/views.py in test_user_authenticated
  48.  
  49.             token = remote.login("", utils.get_shared_secret())
  50.  
  51.         ...
  52.     ▶ Local vars
  53.     /usr/lib64/python2.6/xmlrpclib.py in __call__
  54.  
  55.                 return self.__send(self.__name, args)
  56.  
  57.         ...
  58.     ▶ Local vars
  59.     /usr/lib64/python2.6/xmlrpclib.py in __request
  60.  
  61.                     verbose=self.__verbose
  62.  
  63.         ...
  64.     ▶ Local vars
  65.     /usr/lib64/python2.6/xmlrpclib.py in request
  66.  
  67.                 return self._parse_response(h.getfile(), sock)
  68.  
  69.         ...
  70.     ▶ Local vars
  71.     /usr/lib64/python2.6/xmlrpclib.py in _parse_response
  72.  
  73.                 return u.close()
  74.  
  75.         ...
  76.     ▶ Local vars
  77.     /usr/lib64/python2.6/xmlrpclib.py in close
  78.  
  79.                     raise Fault(**self._stack[0])
  80.  
  81.         ...
  82.     ▶ Local vars
  83.  
  84. Request information
  85. GET
  86.  
  87. No GET data
  88. POST
  89.  
  90. No POST data
  91. FILES
  92.  
  93. No FILES data
  94. COOKIES
  95. Variable    Value
  96. csrftoken  
  97.  
  98. '44c241a55dcfb95f9289c9805014d81d'
  99.  
  100. sessionid  
  101.  
  102. 'f63111ff2629a9a263fa543b67211d58'
  103.  
  104. META
  105. Variable    Value
  106. mod_wsgi.listener_port  
  107.  
  108. '8443'
  109.  
  110. HTTP_COOKIE    
  111.  
  112. 'csrftoken=44c241a55dcfb95f9289c9805014d81d; sessionid=f63111ff2629a9a263fa543b67211d58'
  113.  
  114. mod_wsgi.listener_host  
  115.  
  116. ''
  117.  
  118. SERVER_SOFTWARE    
  119.  
  120. 'Apache'
  121.  
  122. SCRIPT_NAME    
  123.  
  124. u'/cobbler_web'
  125.  
  126. mod_ssl.var_lookup  
  127.  
  128. ''
  129.  
  130. mod_wsgi.handler_script    
  131.  
  132. ''
  133.  
  134. SERVER_SIGNATURE    
  135.  
  136. ''
  137.  
  138. REQUEST_METHOD  
  139.  
  140. 'GET'
  141.  
  142. PATH_INFO  
  143.  
  144. u'/'
  145.  
  146. SERVER_PROTOCOL    
  147.  
  148. 'HTTP/1.1'
  149.  
  150. QUERY_STRING    
  151.  
  152. ''
  153.  
  154. SSL_TLS_SNI    
  155.  
  156. 'localhost'
  157.  
  158. HTTP_USER_AGENT    
  159.  
  160. 'Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130513 Firefox/17.0'
  161.  
  162. HTTP_CONNECTION    
  163.  
  164. 'keep-alive'
  165.  
  166. SERVER_NAME    
  167.  
  168. 'localhost'
  169.  
  170. REMOTE_ADDR    
  171.  
  172. '127.0.0.1'
  173.  
  174. mod_wsgi.request_handler    
  175.  
  176. 'wsgi-script'
  177.  
  178. wsgi.url_scheme    
  179.  
  180. 'https'
  181.  
  182. mod_wsgi.callable_object    
  183.  
  184. 'application'
  185.  
  186. SERVER_PORT    
  187.  
  188. '8443'
  189.  
  190. wsgi.multiprocess  
  191.  
  192. True
  193.  
  194. mod_wsgi.input_chunked  
  195.  
  196. '0'
  197.  
  198. SERVER_ADDR    
  199.  
  200. '127.0.0.1'
  201.  
  202. DOCUMENT_ROOT  
  203.  
  204. '/var/www/html'
  205.  
  206. mod_wsgi.process_group  
  207.  
  208. ''
  209.  
  210. SCRIPT_FILENAME    
  211.  
  212. '/usr/share/cobbler/web/cobbler.wsgi'
  213.  
  214. SERVER_ADMIN    
  215.  
  216. 'root@localhost'
  217.  
  218. wsgi.input  
  219.  
  220. <mod_wsgi.Input object at 0x7f2dbeffe270>
  221.  
  222. HTTP_HOST  
  223.  
  224. 'localhost:8443'
  225.  
  226. mod_ssl.is_https    
  227.  
  228. 1
  229.  
  230. HTTPS  
  231.  
  232. '1'
  233.  
  234. wsgi.multithread    
  235.  
  236. False
  237.  
  238. REQUEST_URI    
  239.  
  240. '/cobbler_web'
  241.  
  242. HTTP_ACCEPT    
  243.  
  244. 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
  245.  
  246. wsgi.version    
  247.  
  248. (1, 1)
  249.  
  250. GATEWAY_INTERFACE  
  251.  
  252. 'CGI/1.1'
  253.  
  254. wsgi.run_once  
  255.  
  256. False
  257.  
  258. wsgi.errors    
  259.  
  260. <mod_wsgi.Log object at 0x7f2dbeffe230>
  261.  
  262. REMOTE_PORT    
  263.  
  264. '37459'
  265.  
  266. HTTP_ACCEPT_LANGUAGE    
  267.  
  268. 'en-US,en;q=0.5'
  269.  
  270. mod_wsgi.version    
  271.  
  272. (3, 2)
  273.  
  274. mod_wsgi.application_group  
  275.  
  276. 'gs-444-e10285.nascom.nasa.gov:8443|/cobbler_web'
  277.  
  278. mod_wsgi.script_reloading  
  279.  
  280. '1'
  281.  
  282. wsgi.file_wrapper  
  283.  
  284. ''
  285.  
  286. CSRF_COOKIE    
  287.  
  288. '44c241a55dcfb95f9289c9805014d81d'
  289.  
  290. HTTP_ACCEPT_ENCODING    
  291.  
  292. 'gzip, deflate'
  293.  
  294. UNIQUE_ID  
  295.  
  296. 'UqIg34GlCCkAAAmgG44AAAAC'
  297.  
  298. Settings
  299. Using settings module settings
  300. Setting     Value
  301. USE_L10N    
  302.  
  303. False
  304.  
  305. USE_THOUSAND_SEPARATOR  
  306.  
  307. False
  308.  
  309. LANGUAGE_CODE  
  310.  
  311. 'en-us'
  312.  
  313. ROOT_URLCONF    
  314.  
  315. 'urls'
  316.  
  317. MANAGERS    
  318.  
  319. ()
  320.  
  321. DEFAULT_CHARSET    
  322.  
  323. 'utf-8'
  324.  
  325. STATIC_ROOT    
  326.  
  327. ''
  328.  
  329. TEST_DATABASE_CHARSET  
  330.  
  331. None
  332.  
  333. ALLOWED_HOSTS  
  334.  
  335. ['*']
  336.  
  337. MESSAGE_STORAGE    
  338.  
  339. 'django.contrib.messages.storage.user_messages.LegacyFallbackStorage'
  340.  
  341. DATABASE_HOST  
  342.  
  343. ''
  344.  
  345. EMAIL_SUBJECT_PREFIX    
  346.  
  347. '[Django] '
  348.  
  349. SEND_BROKEN_LINK_EMAILS    
  350.  
  351. False
  352.  
  353. URL_VALIDATOR_USER_AGENT    
  354.  
  355. 'Django/1.3.7 (http://www.djangoproject.com)'
  356.  
  357. STATICFILES_FINDERS    
  358.  
  359. ('django.contrib.staticfiles.finders.FileSystemFinder',
  360.  'django.contrib.staticfiles.finders.AppDirectoriesFinder')
  361.  
  362. SESSION_COOKIE_DOMAIN  
  363.  
  364. None
  365.  
  366. SESSION_COOKIE_NAME    
  367.  
  368. 'sessionid'
  369.  
  370. ADMIN_FOR  
  371.  
  372. ()
  373.  
  374. TIME_INPUT_FORMATS  
  375.  
  376. ('%H:%M:%S', '%H:%M')
  377.  
  378. DATABASES  
  379.  
  380. {'default': {'ENGINE': 'django.db.backends.dummy',
  381.              'HOST': '',
  382.              'NAME': '',
  383.              'OPTIONS': {},
  384.              'PASSWORD': '********************',
  385.              'PORT': '',
  386.              'TEST_CHARSET': None,
  387.              'TEST_COLLATION': None,
  388.              'TEST_MIRROR': None,
  389.              'TEST_NAME': None,
  390.              'TIME_ZONE': None,
  391.              'USER': ''}}
  392.  
  393. TEST_DATABASE_NAME  
  394.  
  395. None
  396.  
  397. FILE_UPLOAD_PERMISSIONS    
  398.  
  399. None
  400.  
  401. FILE_UPLOAD_HANDLERS    
  402.  
  403. ('django.core.files.uploadhandler.MemoryFileUploadHandler',
  404.  'django.core.files.uploadhandler.TemporaryFileUploadHandler')
  405.  
  406. DEFAULT_CONTENT_TYPE    
  407.  
  408. 'text/html'
  409.  
  410. APPEND_SLASH    
  411.  
  412. True
  413.  
  414. FIRST_DAY_OF_WEEK  
  415.  
  416. 0
  417.  
  418. DATABASE_ROUTERS    
  419.  
  420. []
  421.  
  422. YEAR_MONTH_FORMAT  
  423.  
  424. 'F Y'
  425.  
  426. STATICFILES_STORAGE    
  427.  
  428. 'django.contrib.staticfiles.storage.StaticFilesStorage'
  429.  
  430. CACHES  
  431.  
  432. {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
  433.              'LOCATION': ''}}
  434.  
  435. SERVER_EMAIL    
  436.  
  437. 'root@localhost'
  438.  
  439. SESSION_COOKIE_PATH    
  440.  
  441. '/'
  442.  
  443. USE_X_FORWARDED_HOST    
  444.  
  445. False
  446.  
  447. IGNORABLE_404_ENDS  
  448.  
  449. ('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')
  450.  
  451. MIDDLEWARE_CLASSES  
  452.  
  453. ('django.middleware.common.CommonMiddleware',
  454.  'django.middleware.csrf.CsrfViewMiddleware',
  455.  'django.contrib.sessions.middleware.SessionMiddleware',
  456.  'django.contrib.auth.middleware.AuthenticationMiddleware')
  457.  
  458. USE_I18N    
  459.  
  460. False
  461.  
  462. THOUSAND_SEPARATOR  
  463.  
  464. ','
  465.  
  466. SECRET_KEY  
  467.  
  468. '********************'
  469.  
  470. LANGUAGE_COOKIE_NAME    
  471.  
  472. 'django_language'
  473.  
  474. FILE_UPLOAD_TEMP_DIR    
  475.  
  476. None
  477.  
  478. TRANSACTIONS_MANAGED    
  479.  
  480. False
  481.  
  482. LOGGING_CONFIG  
  483.  
  484. 'django.utils.log.dictConfig'
  485.  
  486. TEMPLATE_LOADERS    
  487.  
  488. ('django.template.loaders.filesystem.load_template_source',
  489.  'django.template.loaders.app_directories.load_template_source')
  490.  
  491. TEMPLATE_DEBUG  
  492.  
  493. True
  494.  
  495. AUTHENTICATION_BACKENDS    
  496.  
  497. ('django.contrib.auth.backends.ModelBackend',)
  498.  
  499. TEST_DATABASE_COLLATION    
  500.  
  501. None
  502.  
  503. FORCE_SCRIPT_NAME  
  504.  
  505. None
  506.  
  507. CACHE_BACKEND  
  508.  
  509. 'locmem://'
  510.  
  511. SESSION_COOKIE_SECURE  
  512.  
  513. False
  514.  
  515. CSRF_COOKIE_DOMAIN  
  516.  
  517. None
  518.  
  519. FILE_CHARSET    
  520.  
  521. 'utf-8'
  522.  
  523. DEBUG  
  524.  
  525. True
  526.  
  527. SESSION_FILE_PATH  
  528.  
  529. '/var/lib/cobbler/webui_sessions'
  530.  
  531. DEFAULT_FILE_STORAGE    
  532.  
  533. 'django.core.files.storage.FileSystemStorage'
  534.  
  535. INSTALLED_APPS  
  536.  
  537. ['django.contrib.auth',
  538.  'django.contrib.contenttypes',
  539.  'django.contrib.sessions',
  540.  'django.contrib.sites',
  541.  'cobbler_web']
  542.  
  543. LANGUAGES  
  544.  
  545. (('ar', 'Arabic'),
  546.  ('az', 'Azerbaijani'),
  547.  ('bg', 'Bulgarian'),
  548.  ('bn', 'Bengali'),
  549.  ('bs', 'Bosnian'),
  550.  ('ca', 'Catalan'),
  551.  ('cs', 'Czech'),
  552.  ('cy', 'Welsh'),
  553.  ('da', 'Danish'),
  554.  ('de', 'German'),
  555.  ('el', 'Greek'),
  556.  ('en', 'English'),
  557.  ('en-gb', 'British English'),
  558.  ('es', 'Spanish'),
  559.  ('es-ar', 'Argentinian Spanish'),
  560.  ('es-mx', 'Mexican Spanish'),
  561.  ('es-ni', 'Nicaraguan Spanish'),
  562.  ('et', 'Estonian'),
  563.  ('eu', 'Basque'),
  564.  ('fa', 'Persian'),
  565.  ('fi', 'Finnish'),
  566.  ('fr', 'French'),
  567.  ('fy-nl', 'Frisian'),
  568.  ('ga', 'Irish'),
  569.  ('gl', 'Galician'),
  570.  ('he', 'Hebrew'),
  571.  ('hi', 'Hindi'),
  572.  ('hr', 'Croatian'),
  573.  ('hu', 'Hungarian'),
  574.  ('id', 'Indonesian'),
  575.  ('is', 'Icelandic'),
  576.  ('it', 'Italian'),
  577.  ('ja', 'Japanese'),
  578.  ('ka', 'Georgian'),
  579.  ('km', 'Khmer'),
  580.  ('kn', 'Kannada'),
  581.  ('ko', 'Korean'),
  582.  ('lt', 'Lithuanian'),
  583.  ('lv', 'Latvian'),
  584.  ('mk', 'Macedonian'),
  585.  ('ml', 'Malayalam'),
  586.  ('mn', 'Mongolian'),
  587.  ('nl', 'Dutch'),
  588.  ('no', 'Norwegian'),
  589.  ('nb', 'Norwegian Bokmal'),
  590.  ('nn', 'Norwegian Nynorsk'),
  591.  ('pa', 'Punjabi'),
  592.  ('pl', 'Polish'),
  593.  ('pt', 'Portuguese'),
  594.  ('pt-br', 'Brazilian Portuguese'),
  595.  ('ro', 'Romanian'),
  596.  ('ru', 'Russian'),
  597.  ('sk', 'Slovak'),
  598.  ('sl', 'Slovenian'),
  599.  ('sq', 'Albanian'),
  600.  ('sr', 'Serbian'),
  601.  ('sr-latn', 'Serbian Latin'),
  602.  ('sv', 'Swedish'),
  603.  ('ta', 'Tamil'),
  604.  ('te', 'Telugu'),
  605.  ('th', 'Thai'),
  606.  ('tr', 'Turkish'),
  607.  ('uk', 'Ukrainian'),
  608.  ('ur', 'Urdu'),
  609.  ('vi', 'Vietnamese'),
  610.  ('zh-cn', 'Simplified Chinese'),
  611.  ('zh-tw', 'Traditional Chinese'))
  612.  
  613. DATABASE_ENGINE    
  614.  
  615. ''
  616.  
  617. DATABASE_NAME  
  618.  
  619. ''
  620.  
  621. COMMENTS_FIRST_FEW  
  622.  
  623. 0
  624.  
  625. PREPEND_WWW    
  626.  
  627. False
  628.  
  629. SESSION_COOKIE_HTTPONLY    
  630.  
  631. False
  632.  
  633. DATABASE_PORT  
  634.  
  635. ''
  636.  
  637. DEBUG_PROPAGATE_EXCEPTIONS  
  638.  
  639. False
  640.  
  641. MONTH_DAY_FORMAT    
  642.  
  643. 'F j'
  644.  
  645. LOGIN_URL  
  646.  
  647. '/accounts/login/'
  648.  
  649. SESSION_EXPIRE_AT_BROWSER_CLOSE    
  650.  
  651. False
  652.  
  653. TIME_FORMAT    
  654.  
  655. 'P'
  656.  
  657. DATE_INPUT_FORMATS  
  658.  
  659. ('%Y-%m-%d',
  660.  '%m/%d/%Y',
  661.  '%m/%d/%y',
  662.  '%b %d %Y',
  663.  '%b %d, %Y',
  664.  '%d %b %Y',
  665.  '%d %b, %Y',
  666.  '%B %d %Y',
  667.  '%B %d, %Y',
  668.  '%d %B %Y',
  669.  '%d %B, %Y')
  670.  
  671. CSRF_COOKIE_NAME
  672.  
  673. Settings   
  674.  
  675. ---
  676. # cobbler settings file
  677. # restart cobblerd and run "cobbler sync" after making changes
  678. # This config file is in YAML 1.0 format
  679. # see http://yaml.org
  680. # ==========================================================
  681. # if 1, cobbler will allow insertions of system records that duplicate
  682. # the --dns-name information of other system records.  In general,
  683. # this is undesirable and should be left 0.
  684. allow_duplicate_hostnames: 0
  685.  
  686. # if 1, cobbler will allow insertions of system records that duplicate
  687. # the ip address information of other system records.  In general,
  688. # this is undesirable and should be left 0.
  689. allow_duplicate_ips: 0
  690.  
  691. # if 1, cobbler will allow insertions of system records that duplicate
  692. # the mac address information of other system records.  In general,
  693. # this is undesirable.
  694. allow_duplicate_macs: 0
  695.  
  696. # if 1, cobbler will allow settings to be changed dynamically without
  697. # a restart of the cobblerd daemon. You can only change this variable
  698. # by manually editing the settings file, and you MUST restart cobblerd
  699. # after changing it.
  700. allow_dynamic_settings: 1
  701.  
  702. # by default, installs are *not* set to send installation logs to the cobbler
  703. # # # server.  With 'anamon_enabled', kickstart templates may use the pre_anamon
  704. # # # snippet to allow remote live monitoring of their installations from the
  705. # # # cobbler server.  Installation logs will be stored under
  706. # # # /var/log/cobbler/anamon/.  NOTE: This does allow an xmlrpc call to send logs
  707. # # # to this directory, without authentication, so enable only if you are
  708. # # # ok with this limitation.
  709. anamon_enabled: 0
  710.  
  711. # If using authn_pam in the modules.conf, this can be configured
  712. # to change the PAM service authentication will be tested against.
  713. # The default value is "login".
  714. authn_pam_service: "login"
  715.  
  716. # Email out a report when cobbler finishes installing a system.
  717. # enabled: set to 1 to turn this feature on
  718. # sender: optional
  719. # email: which addresses to email
  720. # smtp_server: used to specify another server for an MTA
  721. # subject: use the default subject unless overridden
  722. build_reporting_enabled: 0
  723. build_reporting_sender: ""
  724. build_reporting_email: [ 'root@gs-444-e10285' ]
  725. build_reporting_smtp_server: "gs-444-e10285"
  726. build_reporting_subject: ""
  727.  
  728. # Cheetah-language kickstart templates can import Python modules.
  729. # while this is a useful feature, it is not safe to allow them to
  730. # import anything they want. This whitelists which modules can be
  731. # imported through Cheetah.  Users can expand this as needed but
  732. # should never allow modules such as subprocess or those that
  733. # allow access to the filesystem as Cheetah templates are evaluated
  734. # by cobblerd as code.
  735. cheetah_import_whitelist:
  736.  - "random"
  737.  - "re"
  738.  - "time"
  739.  
  740. # Default createrepo_flags to use for new repositories. If you have
  741. # createrepo >= 0.4.10, consider "-c cache --update -C", which can
  742. # dramatically improve your "cobbler reposync" time.  "-s sha"
  743. # enables working with Fedora repos from F11/F12 from EL-4 or
  744. # EL-5 without python-hashlib installed (which is not available
  745. # on EL-4)
  746. createrepo_flags: "-c cache -s sha"
  747.  
  748. # if no kickstart is specified to profile add, use this template
  749. default_kickstart: /var/lib/cobbler/kickstarts/default.ks
  750.  
  751. # configure all installed systems to use these nameservers by default
  752. # unless defined differently in the profile.  For DHCP configurations
  753. # you probably do /not/ want to supply this.
  754. default_name_servers: []
  755.  
  756. # if using the authz_ownership module (see the Wiki), objects
  757. # created without specifying an owner are assigned to this
  758. # owner and/or group.  Can be a comma seperated list.
  759. default_ownership:
  760.  - "admin"
  761.  
  762. # cobbler has various sample kickstart templates stored
  763. # in /var/lib/cobbler/kickstarts/.  This controls
  764. # what install (root) password is set up for those
  765. # systems that reference this variable.  The factory
  766. # default is "cobbler" and cobbler check will warn if
  767. # this is not changed.
  768. # The simplest way to change the password is to run
  769. # openssl passwd -1
  770. # and put the output between the "" below.
  771. default_password_crypted: "$1$xmMcAmti$HA2BQyxtznhEYCXaya5eI."
  772. # the default template type to use in the absence of any
  773. # other detected template. If you do not specify the template
  774. # with '#template=<template_type>' on the first line of your
  775. # templates/snippets, cobbler will assume try to use the
  776. # following template engine to parse the templates.
  777. #
  778. # Current valid values are: cheetah, jinja2
  779. default_template_type: "cheetah"
  780.  
  781. # for libvirt based installs in koan, if no virt bridge
  782. # is specified, which bridge do we try?  For EL 4/5 hosts
  783. # this should be xenbr0, for all versions of Fedora, try
  784. # "virbr0".  This can be overriden on a per-profile
  785. # basis or at the koan command line though this saves
  786. # typing to just set it here to the most common option.
  787. default_virt_bridge: xenbr0
  788.  
  789. # use this as the default disk size for virt guests (GB)
  790. default_virt_file_size: 5
  791.  
  792. # use this as the default memory size for virt guests (MB)
  793. default_virt_ram: 512
  794.  
  795. # if koan is invoked without --virt-type and no virt-type
  796. # is set on the profile/system, what virtualization type
  797. # should be assumed?  Values: xenpv, xenfv, qemu, vmware
  798. # (NOTE: this does not change what virt_type is chosen by import)
  799. default_virt_type: xenpv
  800.  
  801. # enable gPXE booting? Enabling this option will cause cobbler
  802. # to copy the undionly.kpxe file to the tftp root directory,
  803. # and if a profile/system is configured to boot via gpxe it will
  804. # chain load off pxelinux.0.
  805. # Default: 0
  806. enable_gpxe: 0
  807.  
  808. # controls whether cobbler will add each new profile entry to the default
  809. # PXE boot menu.  This can be over-ridden on a per-profile
  810. # basis when adding/editing profiles with --enable-menu=0/1.  Users
  811. # should ordinarily leave this setting enabled unless they are concerned
  812. # with accidental reinstalls from users who select an entry at the PXE
  813. # boot menu.  Adding a password to the boot menus templates
  814. # may also be a good solution to prevent unwanted reinstallations
  815. enable_menu: 1
  816.  
  817. # enable Func-integration?  This makes sure each installed machine is set up
  818. # to use func out of the box, which is a powerful way to script and control
  819. # remote machines.  
  820. # Func lives at http://fedorahosted.org/func
  821. # read more at https://github.com/cobbler/cobbler/wiki/Func-integration
  822. # you will need to mirror Fedora/EPEL packages for this feature, so see
  823. # https://github.com/cobbler/cobbler/wiki/Manage-yum-repos if you want cobbler
  824. # to help you with this
  825. func_auto_setup: 0
  826. func_master: overlord.example.org
  827.  
  828. # change this port if Apache is not running plaintext on port
  829. # 80.  Most people can leave this alone.
  830. http_port: 80
  831.  
  832. # kernel options that should be present in every cobbler installation.
  833. # kernel options can also be applied at the distro/profile/system
  834. # level.
  835. kernel_options:
  836.  ksdevice: bootif
  837.  lang: ' '
  838.  text: ~
  839.  
  840. # s390 systems require additional kernel options in addition to the
  841. # above defaults
  842. kernel_options_s390x:
  843.  RUNKS: 1
  844.  ramdisk_size: 40000
  845.  root: /dev/ram0
  846.  ro: ~
  847.  ip: off
  848.  vnc: ~
  849.  
  850. # configuration options if using the authn_ldap module. See the
  851. # the Wiki for details.  This can be ignored if you are not using
  852. # LDAP for WebUI/XMLRPC authentication.
  853. ldap_server: "mercedes.nascom.nasa.gov svx.nascom.nasa.gov"
  854. ldap_base_dn: "dc=nascom,dc=nasa,dc=gov"
  855. ldap_port: 389
  856. ldap_tls: 1
  857. ldap_anonymous_bind: 1
  858. ldap_search_bind_dn: ''
  859. ldap_search_passwd: ''
  860. ldap_search_prefix: 'uid='
  861. ldap_tls_cacertfile: ''
  862. ldap_tls_keyfile: ''
  863. ldap_tls_certfile: ''
  864.  
  865. # cobbler has a feature that allows for integration with config management
  866. # systems such as Puppet.  The following parameters work in conjunction with
  867. # --mgmt-classes  and are described in furhter detail at:
  868. # https://github.com/cobbler/cobbler/wiki/Using-cobbler-with-a-configuration-management-system
  869. mgmt_classes: []
  870. mgmt_parameters:
  871.  from_cobbler: 1
  872.  
  873. # if enabled, this setting ensures that puppet is installed during
  874. # machine provision, a client certificate is generated and a
  875. # certificate signing request is made with the puppet master server
  876. puppet_auto_setup: 0
  877.  
  878. # when puppet starts on a system after installation it needs to have
  879. # its certificate signed by the puppet master server. Enabling the
  880. # following feature will ensure that the puppet server signs the
  881. # certificate after installation if the puppet master server is
  882. # running on the same machine as cobbler. This requires
  883. # puppet_auto_setup above to be enabled
  884. sign_puppet_certs_automatically: 0
  885.  
  886. # location of the puppet executable, used for revoking certificates
  887. puppetca_path: "/usr/bin/puppet"
  888.  
  889. # when a puppet managed machine is reinstalled it is necessary to
  890. # remove the puppet certificate from the puppet master server before a
  891. # new certificate is signed (see above). Enabling the following
  892. # feature will ensure that the certificate for the machine to be
  893. # installed is removed from the puppet master server if the puppet
  894. # master server is running on the same machine as cobbler. This
  895. # requires puppet_auto_setup above to be enabled
  896. remove_old_puppet_certs_automatically: 0
  897.  
  898. # choose a --server argument when running puppetd/puppet agent during kickstart
  899. #puppet_server: 'puppet'
  900.  
  901. # let cobbler know that you're using a newer version of puppet
  902. # choose version 3 to use: 'puppet agent'; version 2 uses status quo: 'puppetd'
  903. #puppet_version: 2
  904.  
  905. # choose whether to enable puppet parameterized classes or not.
  906. # puppet versions prior to 2.6.5 do not support parameters
  907. #puppet_parameterized_classes: 1
  908.  
  909. # set to 1 to enable Cobbler's DHCP management features.
  910. # the choice of DHCP management engine is in /etc/cobbler/modules.conf
  911. manage_dhcp: 1
  912.  
  913. # set to 1 to enable Cobbler's DNS management features.
  914. # the choice of DNS mangement engine is in /etc/cobbler/modules.conf
  915. manage_dns: 0
  916.  
  917. # set to path of bind chroot to create bind-chroot compatible bind
  918. # configuration files.  This should be automatically detected.
  919. bind_chroot_path: ""
  920.  
  921. # set to the ip address of the master bind DNS server for creating secondary
  922. # bind configuration files
  923. bind_master: 127.0.0.1
  924.  
  925. # set to 1 to enable Cobbler's TFTP management features.
  926. # the choice of TFTP mangement engine is in /etc/cobbler/modules.conf
  927. manage_tftpd: 1
  928.  
  929. # set to 1 to enable Cobbler's RSYNC management features.
  930. manage_rsync: 0
  931.  
  932. # if using BIND (named) for DNS management in /etc/cobbler/modules.conf
  933. # and manage_dns is enabled (above), this lists which zones are managed
  934. # See the Wiki (https://github.com/cobbler/cobbler/wiki/Dns-management) for more info
  935. manage_forward_zones: []
  936. manage_reverse_zones: []
  937.  
  938. # if using cobbler with manage_dhcp, put the IP address
  939. # of the cobbler server here so that PXE booting guests can find it
  940. # if you do not set this correctly, this will be manifested in TFTP open timeouts.
  941. next_server: 192.168.10.1
  942.  
  943. # settings for power management features.  optional.
  944. # see https://github.com/cobbler/cobbler/wiki/Power-management to learn more
  945. # choices (refer to codes.py):
  946. #    apc_snmp bladecenter bullpap drac ether_wake ilo integrity
  947. #    ipmilan ipmitool lpar rsa virsh wti
  948. power_management_default_type: 'ipmitool'
  949.  
  950. # the commands used by the power management module are sourced
  951. # from what directory?
  952. power_template_dir: "/etc/cobbler/power"
  953.  
  954. # if this setting is set to 1, cobbler systems that pxe boot
  955. # will request at the end of their installation to toggle the
  956. # --netboot-enabled record in the cobbler system record.  This eliminates
  957. # the potential for a PXE boot loop if the system is set to PXE
  958. # first in it's BIOS order.  Enable this if PXE is first in your BIOS
  959. # boot order, otherwise leave this disabled.   See the manpage
  960. # for --netboot-enabled.
  961. pxe_just_once: 1
  962.  
  963. # the templates used for PXE config generation are sourced
  964. # from what directory?
  965. pxe_template_dir: "/etc/cobbler/pxe"
  966.  
  967. # Path to where system consoles are
  968. consoles: "/var/consoles"
  969.  
  970. # Are you using a Red Hat management platform in addition to Cobbler?
  971. # Cobbler can help you register to it.  Choose one of the following:
  972. #   "off"    : I'm not using Red Hat Network, Satellite, or Spacewalk
  973. #   "hosted" : I'm using Red Hat Network
  974. #   "site"   : I'm using Red Hat Satellite Server or Spacewalk
  975. # You will also want to read: https://github.com/cobbler/cobbler/wiki/Tips-for-RHN
  976. redhat_management_type: "off"
  977.  
  978. # if redhat_management_type is enabled, choose your server
  979. #   "management.example.org" : For Satellite or Spacewalk
  980. #   "xmlrpc.rhn.redhat.com"  : For Red Hat Network
  981. # This setting is also used by the code that supports using Spacewalk/Satellite users/passwords
  982. # within Cobbler Web and Cobbler XMLRPC.  Using RHN Hosted for this is not supported.
  983. # This feature can be used even if redhat_management_type is off, you just have
  984. # to have authn_spacewalk selected in modules.conf
  985. redhat_management_server: "xmlrpc.rhn.redhat.com"
  986.  
  987. # specify the default Red Hat authorization key to use to register
  988. # system.  If left blank, no registration will be attempted.  Similarly
  989. # you can set the --redhat-management-key to blank on any system to
  990. # keep it from trying to register.
  991. redhat_management_key: ""
  992.  
  993. # if using authn_spacewalk in modules.conf to let cobbler authenticate
  994. # against Satellite/Spacewalk's auth system, by default it will not allow per user
  995. # access into Cobbler Web and Cobbler XMLRPC.
  996. # in order to permit this, the following setting must be enabled HOWEVER
  997. # doing so will permit all Spacewalk/Satellite users of certain types to edit all
  998. # of cobbler's configuration.
  999. # these roles are:  config_admin and org_admin
  1000. # users should turn this on only if they want this behavior and
  1001. # do not have a cross-multi-org seperation concern.  If you have
  1002. # a single org in your satellite, it's probably safe to turn this
  1003. # on and then you can use CobblerWeb alongside a Satellite install.
  1004. redhat_management_permissive: 0
  1005.  
  1006. # if set to 1, allows /usr/bin/cobbler-register (part of the koan package)
  1007. # to be used to remotely add new cobbler system records to cobbler.
  1008. # this effectively allows for registration of new hardware from system
  1009. # records.
  1010. register_new_installs: 0
  1011.  
  1012. # Flags to use for yum's reposync.  If your version of yum reposync
  1013. # does not support -l, you may need to remove that option.
  1014. reposync_flags: "-l -n -d"
  1015.  
  1016. # These options will be used for an rsync initiated by cobbler replicate
  1017. replicate_rsync_options: "-avzH"
  1018.  
  1019. # when DHCP and DNS management are enabled, cobbler sync can automatically
  1020. # restart those services to apply changes.  The exception for this is
  1021. # if using ISC for DHCP, then omapi eliminates the need for a restart.
  1022. # omapi, however, is experimental and not recommended for most configurations.
  1023. # If DHCP and DNS are going to be managed, but hosted on a box that
  1024. # is not on this server, disable restarts here and write some other
  1025. # script to ensure that the config files get copied/rsynced to the destination
  1026. # box.  This can be done by modifying the restart services trigger.
  1027. # Note that if manage_dhcp and manage_dns are disabled, the respective
  1028. # parameter will have no effect.  Most users should not need to change
  1029. # this.
  1030. restart_dns: 1
  1031. restart_dhcp: 1
  1032.  
  1033. # install triggers are scripts in /var/lib/cobbler/triggers/install
  1034. # that are triggered in kickstart pre and post sections.  Any
  1035. # executable script in those directories is run.  They can be used
  1036. # to send email or perform other actions.  They are currently
  1037. # run as root so if you do not need this functionality you can
  1038. # disable it, though this will also disable "cobbler status" which
  1039. # uses a logging trigger to audit install progress.
  1040. run_install_triggers: 1
  1041.  
  1042. # enables a trigger which version controls all changes to /var/lib/cobbler
  1043. # when add, edit, or sync events are performed.  This can be used
  1044. # to revert to previous database versions, generate RSS feeds, or for
  1045. # other auditing or backup purposes. "git" and "hg" are currently suported,
  1046. # but git is the recommend SCM for use with this feature.
  1047. scm_track_enabled: 0
  1048. scm_track_mode: "git"
  1049.  
  1050. # this is the address of the cobbler server -- as it is used
  1051. # by systems during the install process, it must be the address
  1052. # or hostname of the system as those systems can see the server.
  1053. # if you have a server that appears differently to different subnets
  1054. # (dual homed, etc), you need to read the --server-override section
  1055. # of the manpage for how that works.
  1056. server: 192.168.10.1
  1057.  
  1058. # If set to 1, all commands will be forced to use the localhost address
  1059. # instead of using the above value which can force commands like
  1060. # cobbler sync to open a connection to a remote address if one is in the
  1061. # configuration and would traceback.
  1062. client_use_localhost: 0
  1063.  
  1064. # If set to 1, all commands to the API (not directly to the XMLRPC
  1065. # server) will go over HTTPS instead of plaintext. Be sure to change
  1066. # the http_port setting to the correct value for the web server
  1067. client_use_https: 0
  1068.  
  1069. # this is a directory of files that cobbler uses to make
  1070. # templating easier.  See the Wiki for more information.  Changing
  1071. # this directory should not be required.
  1072. snippetsdir: /var/lib/cobbler/snippets
  1073.  
  1074. # Normally if a kickstart is specified at a remote location, this
  1075. # URL will be passed directly to the kickstarting system, thus bypassing
  1076. # the usual snippet templating Cobbler does for local kickstart files. If
  1077. # this option is enabled, Cobbler will fetch the file contents internally
  1078. # and serve a templated version of the file to the client.
  1079. template_remote_kickstarts: 0
  1080.  
  1081. # should new profiles for virtual machines default to auto booting with the physical host when the physical host reboots?
  1082. # this can be overridden on each profile or system object.
  1083. virt_auto_boot: 1
  1084.  
  1085. # cobbler's web directory.  Don't change this setting -- see the
  1086. # Wiki on "relocating your cobbler install" if your /var partition
  1087. # is not large enough.
  1088. webdir: /var/www/cobbler
  1089.  
  1090. # cobbler's public XMLRPC listens on this port.  Change this only
  1091. # if absolutely needed, as you'll have to start supplying a new
  1092. # port option to koan if it is not the default.
  1093. xmlrpc_port: 25151
  1094.  
  1095. # "cobbler repo add" commands set cobbler up with repository
  1096. # information that can be used during kickstart and is automatically
  1097. # set up in the cobbler kickstart templates.  By default, these
  1098. # are only available at install time.  To make these repositories
  1099. # usable on installed systems (since cobbler makes a very convient)
  1100. # mirror, set this to 1.  Most users can safely set this to 1.  Users
  1101. # who have a dual homed cobbler server, or are installing laptops that
  1102. # will not always have access to the cobbler server may wish to leave
  1103. # this as 0.  In that case, the cobbler mirrored yum repos are still
  1104. # accessable at http://cobbler.example.org/cblr/repo_mirror and yum
  1105. # configuration can still be done manually.  This is just a shortcut.
  1106. yum_post_install_mirror: 1
  1107.  
  1108. # the default yum priority for all the distros.  This is only used
  1109. # if yum-priorities plugin is used.  1=maximum.  Tweak with caution.
  1110. yum_distro_priority: 1
  1111.  
  1112. # Flags to use for yumdownloader.  Not all versions may support
  1113. # --resolve.
  1114. yumdownloader_flags: "--resolve"
  1115.  
  1116. # sort and indent JSON output to make it more human-readable
  1117. serializer_pretty_json: 1
  1118.  
  1119. # replication rsync options for distros, kickstarts, snippets set to override default value of "-avzH"
  1120. replicate_rsync_options: "-avzH"
  1121.  
  1122. # replication rsync options for repos set to override default value of "-avzH"
  1123. replicate_repo_rsync_options: "-avzH"
  1124.  
  1125.  
  1126. 'csrftoken'
  1127.  
  1128. EMAIL_HOST_PASSWORD    
  1129.  
  1130. '********************'
  1131.  
  1132. PASSWORD_RESET_TIMEOUT_DAYS    
  1133.  
  1134. '********************'
  1135.  
  1136. CACHE_MIDDLEWARE_ALIAS  
  1137.  
  1138. 'default'
  1139.  
  1140. SESSION_SAVE_EVERY_REQUEST  
  1141.  
  1142. False
  1143.  
  1144. ADMIN_MEDIA_PREFIX  
  1145.  
  1146. '/media/'
  1147.  
  1148. NUMBER_GROUPING    
  1149.  
  1150. 0
  1151.  
  1152. SESSION_ENGINE  
  1153.  
  1154. 'django.contrib.sessions.backends.file'
  1155.  
  1156. CSRF_FAILURE_VIEW  
  1157.  
  1158. 'django.views.csrf.csrf_failure'
  1159.  
  1160. COMMENTS_SKETCHY_USERS_GROUP    
  1161.  
  1162. None
  1163.  
  1164. LOGIN_REDIRECT_URL  
  1165.  
  1166. '/accounts/profile/'
  1167.  
  1168. LOGGING    
  1169.  
  1170. {'disable_existing_loggers': False,
  1171.  'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler',
  1172.                               'level': 'ERROR'}},
  1173.  'loggers': {'django.request': {'handlers': ['mail_admins'],
  1174.                                 'level': 'ERROR',
  1175.                                 'propagate': True}},
  1176.  'version': 1}
  1177.  
  1178. CACHE_MIDDLEWARE_KEY_PREFIX    
  1179.  
  1180. ''
  1181.  
  1182. LOCALE_PATHS    
  1183.  
  1184. ()
  1185.  
  1186. TEMPLATE_STRING_IF_INVALID  
  1187.  
  1188. ''
  1189.  
  1190. COMMENTS_ALLOW_PROFANITIES  
  1191.  
  1192. False
  1193.  
  1194. LOGOUT_URL  
  1195.  
  1196. '/accounts/logout/'
  1197.  
  1198. EMAIL_USE_TLS  
  1199.  
  1200. False
  1201.  
  1202. TEMPLATE_DIRS  
  1203.  
  1204. ('/usr/share/cobbler/web/templates',)
  1205.  
  1206. FIXTURE_DIRS    
  1207.  
  1208. ()
  1209.  
  1210. EMAIL_HOST  
  1211.  
  1212. 'localhost'
  1213.  
  1214. DATE_FORMAT    
  1215.  
  1216. 'N j, Y'
  1217.  
  1218. MEDIA_ROOT  
  1219.  
  1220. ''
  1221.  
  1222. ADMINS  
  1223.  
  1224. ()
  1225.  
  1226. FORMAT_MODULE_PATH  
  1227.  
  1228. None
  1229.  
  1230. DEFAULT_FROM_EMAIL  
  1231.  
  1232. 'webmaster@localhost'
  1233.  
  1234. STATICFILES_DIRS    
  1235.  
  1236. ()
  1237.  
  1238. MEDIA_URL  
  1239.  
  1240. ''
  1241.  
  1242. DATETIME_FORMAT    
  1243.  
  1244. 'N j, Y, P'
  1245.  
  1246. IGNORABLE_404_STARTS    
  1247.  
  1248. ('/cgi-bin/', '/_vti_bin', '/_vti_inf')
  1249.  
  1250. SITE_ID    
  1251.  
  1252. 1
  1253.  
  1254. DISALLOWED_USER_AGENTS  
  1255.  
  1256. ()
  1257.  
  1258. ALLOWED_INCLUDE_ROOTS  
  1259.  
  1260. ()
  1261.  
  1262. DECIMAL_SEPARATOR  
  1263.  
  1264. '.'
  1265.  
  1266. SHORT_DATE_FORMAT  
  1267.  
  1268. 'm/d/Y'
  1269.  
  1270. DATABASE_USER  
  1271.  
  1272. ''
  1273.  
  1274. TEST_RUNNER    
  1275.  
  1276. 'django.test.simple.DjangoTestSuiteRunner'
  1277.  
  1278. TIME_ZONE  
  1279.  
  1280. None
  1281.  
  1282. FILE_UPLOAD_MAX_MEMORY_SIZE    
  1283.  
  1284. 2621440
  1285.  
  1286. EMAIL_BACKEND  
  1287.  
  1288. 'django.core.mail.backends.smtp.EmailBackend'
  1289.  
  1290. DEFAULT_TABLESPACE  
  1291.  
  1292. ''
  1293.  
  1294. TEMPLATE_CONTEXT_PROCESSORS    
  1295.  
  1296. ('django.contrib.auth.context_processors.auth',
  1297.  'django.core.context_processors.debug',
  1298.  'django.core.context_processors.i18n',
  1299.  'django.core.context_processors.media',
  1300.  'django.core.context_processors.static',
  1301.  'django.contrib.messages.context_processors.messages',
  1302.  'django.core.context_processors.request')
  1303.  
  1304. SESSION_COOKIE_AGE  
  1305.  
  1306. 1209600
  1307.  
  1308. SETTINGS_MODULE    
  1309.  
  1310. 'settings'
  1311.  
  1312. USE_ETAGS  
  1313.  
  1314. False
  1315.  
  1316. LANGUAGES_BIDI  
  1317.  
  1318. ('he', 'ar', 'fa')
  1319.  
  1320. DEFAULT_INDEX_TABLESPACE    
  1321.  
  1322. ''
  1323.  
  1324. INTERNAL_IPS    
  1325.  
  1326. ()
  1327.  
  1328. STATIC_URL  
  1329.  
  1330. None
  1331.  
  1332. EMAIL_PORT  
  1333.  
  1334. 25
  1335.  
  1336. SHORT_DATETIME_FORMAT  
  1337.  
  1338. 'm/d/Y P'
  1339.  
  1340. ABSOLUTE_URL_OVERRIDES  
  1341.  
  1342. {}
  1343.  
  1344. DATABASE_OPTIONS    
  1345.  
  1346. {}
  1347.  
  1348. CACHE_MIDDLEWARE_SECONDS    
  1349.  
  1350. 600
  1351.  
  1352. BANNED_IPS  
  1353.  
  1354. ()
  1355.  
  1356. DATETIME_INPUT_FORMATS  
  1357.  
  1358. ('%Y-%m-%d %H:%M:%S',
  1359.  '%Y-%m-%d %H:%M',
  1360.  '%Y-%m-%d',
  1361.  '%m/%d/%Y %H:%M:%S',
  1362.  '%m/%d/%Y %H:%M',
  1363.  '%m/%d/%Y',
  1364.  '%m/%d/%y %H:%M:%S',
  1365.  '%m/%d/%y %H:%M',
  1366.  '%m/%d/%y')
  1367.  
  1368. DATABASE_PASSWORD  
  1369.  
  1370. '********************'
  1371.  
  1372. COMMENTS_MODERATORS_GROUP  
  1373.  
  1374. None
  1375.  
  1376. COMMENTS_BANNED_USERS_GROUP    
  1377.  
  1378. None
  1379.  
  1380. EMAIL_HOST_USER    
  1381.  
  1382. ''
  1383.  
  1384. PROFANITIES_LIST    
  1385.  
  1386. '********************'
  1387.  
  1388. 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