← Back to team overview

maas-devel team mailing list archive

Re: 1.6.0 beta 5 out

 

On Tue, Jul 15, 2014 at 9:57 PM, Julian Edwards <
julian.edwards@xxxxxxxxxxxxx> wrote:

> See ppa:maas-maintainers/testing which contains maas
> maas_1.6+bzr2535-0ubuntu1~beta5~ppa1
>
>
I got this backtrace in maas.log when upgrading from
1.5.2+bzr2282-0ubuntu0.2 to beta5:

ERROR 2014-07-18 10:03:34,155 twisted Unhandled Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 783, in __bootstrap
    self.__bootstrap_inner()
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/python/threadpool.py",
line 191, in _worker
    result = context.call(ctx, function, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line
118, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line
81, in callWithContext
    return func(*args,**kw)
  File
"/usr/lib/python2.7/dist-packages/provisioningserver/utils/__init__.py",
line 294, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/maasserver/utils/__init__.py",
line 206, in call_with_lock
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/maasserver/utils/async.py", line
145, in call_within_transaction
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/maasserver/rpc/regionservice.py",
line 362, in update
    self._do_insert(cursor)
  File "/usr/lib/python2.7/dist-packages/maasserver/rpc/regionservice.py",
line 454, in _do_insert
    cursor.execute(statement, values)
  File "/usr/lib/python2.7/dist-packages/django/db/backends/util.py", line
53, in execute
    return self.cursor.execute(sql, params)
  File "/usr/lib/python2.7/dist-packages/django/db/utils.py", line 99, in
__exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/usr/lib/python2.7/dist-packages/django/db/backends/util.py", line
53, in execute
    return self.cursor.execute(sql, params)
django.db.utils.IntegrityError: duplicate key value violates unique
constraint "eventloops_name_address_port_key"
DETAIL:  Key (name, address, port)=(courage:pid=13556,
fe80::223:55ff:fe2c:5378, 59990) already exists.

Related or not, I don't know, but maas.log is also complaining about the
cluster registration:
ERROR 2014-07-18 10:02:45,799 maasserver Unable to get RPC connection for
cluster 'beretstack'
(tons of these)

And, well, maas isn't working now. I'm trying to debug. Already ran a
dpkg-reconfigure maas-cluster-controller and put in the right URL (it was
shown as blank). Also restarted all services.  The above backtrace happens
again if I run dpkg-reconfigure maas-region-controller.

There were no errors seen in the terminal during the upgrade.

Follow ups

References