[Bug 1048172] [NEW] dpkg: error processing maas-dhcp (--configure):

Fabio Marconi fabiomarconi at ubuntu.com
Sun Sep 9 09:26:40 UTC 2012


Public bug reported:

Release of Ubuntu:12.10
Package Version:
Expected Results:
Actual Results: installer error

Hallo
testing yesterday and today build of Ubuntu amd64 server installing maas server, the installation fail in maas-dhcp configure.
If during the installation I don't select to manage dhcp in maas, it works.
Attached syslog of the installation.
Thanks
Fabio

Sep  9 08:47:14 in-target: Setting up maas-dhcp (0.1+bzr971+dfsg-0ubuntu2) ...
Sep  9 08:47:16 in-target: Traceback (most recent call last):
Sep  9 08:47:16 in-target:   File "/usr/bin/django-admin", line 5, in <module>
Sep  9 08:47:16 in-target:
Sep  9 08:47:16 in-target: management.execute_from_command_line()
Sep  9 08:47:16 in-target:   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
Sep  9 08:47:16 in-target:
Sep  9 08:47:16 in-target: utility.execute()
Sep  9 08:47:16 in-target:   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 382, in execute
Sep  9 08:47:16 in-target:
Sep  9 08:47:16 in-target: self.fetch_command(subcommand).run_from_argv(self.argv)
Sep  9 08:47:16 in-target:   File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 196, in run_from_argv
Sep  9 08:47:16 in-target:
Sep  9 08:47:16 in-target: self.execute(*args, **options.__dict__)
Sep  9 08:47:16 in-target:   File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 232, in execute
Sep  9 08:47:16 in-target:
Sep  9 08:47:16 in-target: output = self.handle(*args, **options)
Sep  9 08:47:16 in-target:   File "/usr/lib/python2.7/dist-packages/maasserver/management/commands/config_master_dhcp.py", line 107, in handle
Sep  9 08:47:16 in-target:
Sep  9 08:47:16 in-target: master_nodegroup.save()
Sep  9 08:47:16 in-target:   File "/usr/lib/python2.7/dist-packages/maasserver/models/timestampedmodel.py", line 53, in save
Sep  9 08:47:16 in-target:
Sep  9 08:47:16 in-target: return super(TimestampedModel, self).save(*args, **kwargs)
Sep  9 08:47:16 in-target:   File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 463, in save
Sep  9 08:47:16 in-target:
Sep  9 08:47:16 in-target: self.save_base(using=using, force_insert=force_insert, force_update=force_update)
Sep  9 08:47:16 in-target:   File "/usr/lib/python2.7/dist-packages/django/db/models/base.py", line 565, in save_base
Sep  9 08:47:16 in-target:
Sep  9 08:47:16 in-target: created=(not record_exists), raw=raw, using=using)
Sep  9 08:47:16 in-target:   File "/usr/lib/python2.7/dist-packages/django/dispatch/dispatcher.py", line 172, in send
Sep  9 08:47:16 in-target:
Sep  9 08:47:16 in-target: response = receiver(signal=self, sender=sender, **named)
Sep  9 08:47:16 in-target:   File "/usr/lib/python2.7/dist-packages/maasserver/dns_connect.py", line 46, in dns_post_save_NodeGroup
Sep  9 08:47:16 in-target:
Sep  9 08:47:16 in-target: write_full_dns_config()
Sep  9 08:47:16 in-target:   File "/usr/lib/python2.7/dist-packages/maasserver/dns.py", line 199, in write_full_dns_config
Sep  9 08:47:16 in-target:
Sep  9 08:47:16 in-target: args=[['reload'], reload_retry]))
Sep  9 08:47:16 in-target:   File "/usr/lib/python2.7/dist-packages/celery/app/task/__init__.py", line 353, in delay
Sep  9 08:47:16 in-target:
Sep  9 08:47:16 in-target: return self.apply_async(args, kwargs)
Sep  9 08:47:16 in-target:   File "/usr/lib/python2.7/dist-packages/celery/app/task/__init__.py", line 449, in apply_async
Sep  9 08:47:16 in-target:
Sep  9 08:47:16 in-target: publish = publisher or self.app.amqp.publisher_pool.acquire(block=True)
Sep  9 08:47:16 in-target:   File "/usr/lib/python2.7/dist-packages/kombu/connection.py", line 657, in acquire
Sep  9 08:47:16 in-target:
Sep  9 08:47:16 in-target: R = self.prepare(R)
Sep  9 08:47:16 in-target:   File "/usr/lib/python2.7/dist-packages/kombu/pools.py", line 54, in prepare
Sep  9 08:47:16 in-target:
Sep  9 08:47:16 in-target: p = p()
Sep  9 08:47:16 in-target:   File "/usr/lib/python2.7/dist-packages/kombu/pools.py", line 45, in <lambda>
Sep  9 08:47:16 in-target:
Sep  9 08:47:16 in-target: return lambda: self.create_producer()
Sep  9 08:47:16 in-target:   File "/usr/lib/python2.7/dist-packages/celery/app/amqp.py", line 265, in create_producer
Sep  9 08:47:16 in-target:
Sep  9 08:47:16 in-target: pub = self.app.amqp.TaskPublisher(conn, auto_declare=False)
Sep  9 08:47:16 in-target:   File "/usr/lib/python2.7/dist-packages/celery/app/amqp.py", line 328, in TaskPublisher
Sep  9 08:47:16 in-target:
Sep  9 08:47:16 in-target: return TaskPublisher(*args, **self.app.merge(defaults, kwargs))
Sep  9 08:47:16 in-target:   File "/usr/lib/python2.7/dist-packages/celery/app/amqp.py", line 158, in __init__
Sep  9 08:47:16 in-target:     super(TaskPublisher, self).__init__(*args, **kwargs)
Sep  9 08:47:16 in-target:   File "/usr/lib/python2.7/dist-packages/kombu/compat.py", line 61, in __init__
Sep  9 08:47:16 in-target:     super(Publisher, self).__init__(connection, self.exchange, **kwargs)
Sep  9 08:47:16 in-target:   File "/usr/lib/python2.7/dist-packages/kombu/messaging.py", line 79, in __init__
Sep  9 08:47:16 in-target:     self.revive(self.channel)
Sep  9 08:47:16 in-target:   File "/usr/lib/python2.7/dist-packages/kombu/messaging.py", line 168, in revive
Sep  9 08:47:16 in-target:     channel = channel.default_channel
Sep  9 08:47:16 in-target:   File "/usr/lib/python2.7/dist-packages/kombu/connection.py", line 581, in default_channel
Sep  9 08:47:16 in-target:     self.connection
Sep  9 08:47:16 in-target:   File "/usr/lib/python2.7/dist-packages/kombu/connection.py", line 574, in connection
Sep  9 08:47:16 in-target:     self._connection = self._establish_connection()
Sep  9 08:47:16 in-target:   File "/usr/lib/python2.7/dist-packages/kombu/connection.py", line 533, in _establish_connection
Sep  9 08:47:16 in-target:     conn = self.transport.establish_connection()
Sep  9 08:47:16 in-target:   File "/usr/lib/python2.7/dist-packages/kombu/transport/amqplib.py", line 279, in establish_connection
Sep  9 08:47:16 in-target:     connect_timeout=conninfo.connect_timeout)
Sep  9 08:47:16 in-target:   File "/usr/lib/python2.7/dist-packages/kombu/transport/amqplib.py", line 89, in __init__
Sep  9 08:47:16 in-target:     super(Connection, self).__init__(*args, **kwargs)
Sep  9 08:47:16 in-target:   File "/usr/lib/python2.7/dist-packages/amqplib/client_0_8/connection.py", line 129, in __init__
Sep  9 08:47:16 in-target:     self.transport = create_transport(host, connect_timeout, ssl)
Sep  9 08:47:16 in-target:   File "/usr/lib/python2.7/dist-packages/amqplib/client_0_8/transport.py", line 281, in create_transport
Sep  9 08:47:16 in-target:     return TCPTransport(host, connect_timeout)
Sep  9 08:47:16 in-target:   File "/usr/lib/python2.7/dist-packages/amqplib/client_0_8/transport.py", line 85, in __init__
Sep  9 08:47:16 in-target:     raise socket.error, msg
Sep  9 08:47:16 in-target: socket.error: [Errno 111] Connection refused
Sep  9 08:47:16 in-target: dpkg: error processing maas-dhcp (--configure):
Sep  9 08:47:16 in-target:  subprocess installed post-installation script returned error exit status 1
Sep  9 08:47:16 in-target: Setting up maas-dns (0.1+bzr971+dfsg-0ubuntu2) ...
Sep  9 08:47:18 in-target: runlevel:/var/run/utmp: No such file or directory
Sep  9 08:47:18 in-target: invoke-rc.d: policy-rc.d denied execution of restart.
Sep  9 08:47:18 in-target: Processing triggers for libc-bin ...
Sep  9 08:47:18 in-target: ldconfig deferred processing now taking place
Sep  9 08:47:18 in-target: Errors were encountered while processing:
Sep  9 08:47:18 in-target:  maas-dhcp

** Affects: maas (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: quantal

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

Title:
  dpkg: error processing maas-dhcp (--configure):

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



More information about the Ubuntu-server-bugs mailing list