← Back to team overview

orchestra team mailing list archive

[Bug 893189] Re: avahi advertisement support disabled

 

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

---------------
orchestra (2.25-0ubuntu1) precise; urgency=low

  [ Scott Moser ]
  * provisioning-server/
    /etc/avahi/services/orchestra_provisioning_server.service
    Advertise the orchestra provisioning service via avahi (LP: #893189)

  [ Adam Gandelman ]
  * orchestra-import-isos: import ISOs by default if no option specified
    Check for updates for existing ISOs, download + update distro if necessary.
    (LP: #850892)

  [ Andres Rodriguez ]
  * debian/ubuntu-orchestra-provisioning-server.postinst. Do not use args for
    orchestra-import-isos to maintain backwards compatibility.
 -- Andres Rodriguez <andreserl@xxxxxxxxxx>   Mon, 28 Nov 2011 18:19:59 -0500

** Changed in: orchestra (Ubuntu)
       Status: Confirmed => 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/893189

Title:
  avahi advertisement support disabled

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

Bug description:
  Cobbler used to advertise itself via avahi, if possible.. However, the
  code which did this is now commented out.

  It was disabled by upstream as part of:
  commit f24ffa0d4d997d6c536ca7d89d6bfbc1b9dce07f
  Author: Michael DeHaan <mdehaan@xxxxxxxxxx>
  Date:   Fri Jan 23 16:40:10 2009 -0500

      Consolidating services to use just one port, removed syslog
  logging since we have anamon

  (https://github.com/rubenk/cobbler/commit/f24ffa0d4d997d6c536ca7d89d6bfbc1b9dce07f)

  Specifically:

  cobbler/cobblerd.py:
  ...

  #def do_other_tasks(bootapi, settings, syslog_port, logger):
  #
  #    # FUTURE: this should also start the Web UI, if the dependencies
  #    # are available.
  #
  #    if os.path.exists("/usr/bin/avahi-publish-service"):
  #        pid2 = os.fork()
  #        if pid2 == 0:
  #           do_syslog(bootapi, settings, syslog_port, logger)
  #        else:
  #           do_avahi(bootapi, settings, logger)
  #           os.waitpid(pid2, 0)
  #    else:
  #        do_syslog(bootapi, settings, syslog_port, logger)
  ...

  #def do_avahi(bootapi, settings, logger):
  #    # publish via zeroconf.  This command will not terminate
  #    log(logger, "publishing avahi service")
  #    cmd = [ "/usr/bin/avahi-publish-service",
  #            "cobblerd",
  #            "_http._tcp",
  #            "%s" % settings.xmlrpc_port ]
  #    proc = sub_process.Popen(cmd, shell=False, stderr=sub_process.PIPE, stdout=sub_process.PIPE, close_fds=True)
  #    proc.communicate()[0]
  #    log(logger, "avahi service terminated")

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