← Back to team overview

orchestra team mailing list archive

[Bug 828288] Re: Cobbler errors while importing mini.isos

 

This bug was fixed in the package orchestra - 2.8-0ubuntu1

---------------
orchestra (2.8-0ubuntu1) oneiric; urgency=low

  [ Dustin Kirkland ]
  * debian/control: LP: #825406
    - recommend ntp on both clients and server; arguably, we could point
      orchestra clients at the orchestra server, but if we go that route,
      we'd need to ensure we satisfy #104525
  * === added directory client/etc, === added directory
    client/etc/sudoers.d, client/etc/sudoers.d/orchestra, debian/ubuntu-
    orchestra-client.postinst:
    - add the orchestra user to the client, give sudo access to power
      management administrative utilities

  [ Andres Rodriguez ]
  * debian/ubuntu-orchestra-logging-server.postinst: Fix $home path;
    Fix path to certtool cfg file. change ownership of ssl files to
    syslog. (LP: #832335)
  * debian/ubuntu-orchestra-provisioning-server.postinst:
    - Do not comment at end of changed modules settings in
      cobbler. (LP: #828288)
    - Only create ensemble-dav.conf symlink when necessary.
    - Use apache2ctl to restart otherwise it never returns from
      configure. (LP: #832331)
  * debian/ubuntu-orchestra-provisioning-server.postrm:
    - Use apache2ctl to restart otherwise it never returns from purge
      step. (LP: #832337)
  * Change logging server to use TLS instead (LP: #832341):
    - logging-server/etc/rsyslog.d/99-orchestra.conf: Update config file
      to use TLS instead.
    - logging-server/usr/share/orchestra/rsyslog/orchestra-server.conf:
      Update with sample config for TLS.
    - debian/control: Depends/Recommends on rsyslog-gnutls.
  * debian/ubuntu-orchestra-client.postinst: Correctly set server for
    rsyslog and add missing 'fi'.
  * client/etc/rsyslog.d/99-orchestra.conf: Add based on file installed in
    usr/share. This way it will not "cat" a file on postinst. (LP: #832344)
  * orchestra/utils/keys.py: Add util to handle zip and encode key to be
    used by rsyslog's cobbler snippet to install keys on client
    machine. (LP: #832347)
    - debian/{control,rules}: Use dh_python2.
    - debian/ubuntu-orchestra-common.install: Add and Install files.
    - provisioning-server/var/lib/cobbler/snippets:
      + orchestra_rsyslog_client_config: Import orchestra python module.
  * Fix some lintian warnings
 -- Andres Rodriguez <andreserl@xxxxxxxxxx>   Tue, 23 Aug 2011 17:00:43 -0400

** Changed in: orchestra (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of
orchestra, which is subscribed to orchestra in Ubuntu.
https://bugs.launchpad.net/bugs/828288

Title:
  Cobbler errors while importing mini.isos

Status in “cobbler” package in Ubuntu:
  Invalid
Status in “orchestra” package in Ubuntu:
  Fix Released

Bug description:
  I get this over and over for each iso it tries to import when doing a
  clean install on an up to date oneiric as of Aug 17, the install never
  finishes:

  mount: warning: /tmp/cobbler-ubuntu-import.NfFK3f/mnt seems to be mounted read-only.
  task started: 2011-08-17_150624_import
  task started (id=Media import, time=Wed Aug 17 15:06:24 2011)
  Found a debian/ubuntu compatible signature: .disk/mini-info
  running: rsync -a  '/tmp/cobbler-ubuntu-import.NfFK3f/mnt/' /var/www/cobbler/ks_mirror/oneiric-x86_64/  --exclude-from=/etc/cobbler/rsync.exclude --quiet
  received on stdout: 
  received on stderr: 
  adding distros
  creating new distro: oneiric-x86_64
  Exception occured: <class 'cobbler.cexceptions.CX'>
  Exception value: 'Failed to load module for dhcp/module'
  Exception Info:
    File "/usr/lib/python2.7/dist-packages/cobbler/remote.py", line 93, in run
      rc = self._run(self)
     File "/usr/lib/python2.7/dist-packages/cobbler/remote.py", line 227, in runner
      self.logger
     File "/usr/lib/python2.7/dist-packages/cobbler/api.py", line 756, in import_tree
      return manager.run(pkgdir,mirror_url,mirror_name,network_root,kickstart_file,rsync_flags,arch,breed,os_version)
     File "/usr/lib/python2.7/dist-packages/cobbler/modules/manage_import_debian_ubuntu.py", line 275, in run
      os.path.walk(self.path, self.distro_adder, distros_added)
     File "/usr/lib/python2.7/posixpath.py", line 229, in walk
      func(arg, top, names)
     File "/usr/lib/python2.7/dist-packages/cobbler/modules/manage_import_debian_ubuntu.py", line 420, in distro_adder
      adtls.append(self.add_entry(dirname,kernel,initrd))
     File "/usr/lib/python2.7/dist-packages/cobbler/modules/manage_import_debian_ubuntu.py", line 484, in add_entry
      self.distros.add(distro,save=True)
     File "/usr/lib/python2.7/dist-packages/cobbler/collection.py", line 276, in add
      self.lite_sync = action_litesync.BootLiteSync(self.config, logger=logger)
     File "/usr/lib/python2.7/dist-packages/cobbler/action_litesync.py", line 57, in __init__
      self.sync        = config.api.get_sync(verbose,logger=self.logger)
     File "/usr/lib/python2.7/dist-packages/cobbler/api.py", line 706, in get_sync
      "manage_isc"
     File "/usr/lib/python2.7/dist-packages/cobbler/api.py", line 825, in get_module_from_file
      return module_loader.get_module_from_file(section,name,fallback)
     File "/usr/lib/python2.7/dist-packages/cobbler/module_loader.py", line 96, in get_module_from_file
      raise CX(_("Failed to load module for %s/%s") % (category,field))

  !!! TASK FAILED !!!
  failed to import oneiric-x86_64
  profile oneiric-x86_64 not found, inheritance not possible

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cobbler/+bug/828288/+subscriptions