[Maas-devel] 1.6.0 beta 5 out

Andreas Hasenack andreas at canonical.com
Fri Jul 18 15:22:21 UTC 2014


On Fri, Jul 18, 2014 at 12:20 PM, Gavin Panella <gavin.panella at canonical.com
> wrote:

> On 18 July 2014 16:07, Andreas Hasenack <andreas at canonical.com> wrote:
> > On Tue, Jul 15, 2014 at 9:57 PM, Julian Edwards
> > <julian.edwards at canonical.com> 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.
>
> Can you paste your ifconfig output please? I think I know what's happening.
>

These are the "real" interfaces:
br0       Link encap:Ethernet  HWaddr 00:23:55:2c:53:78
          inet addr:10.1.0.1  Bcast:10.1.255.255  Mask:255.255.0.0
          inet6 addr: fe80::223:55ff:fe2c:5378/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:88357707 errors:0 dropped:0 overruns:0 frame:0
          TX packets:172662349 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6541281459 (6.5 GB)  TX bytes:306129483057 (306.1 GB)

eth0      Link encap:Ethernet  HWaddr 78:2b:cb:8e:56:6b
          inet addr:10.0.7.8  Bcast:10.0.7.255  Mask:255.255.255.0
          inet6 addr: fe80::7a2b:cbff:fe8e:566b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:83209393 errors:0 dropped:1869 overruns:0 frame:0
          TX packets:44154022 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:120405683094 (120.4 GB)  TX bytes:4738076825 (4.7 GB)
          Interrupt:19

eth1      Link encap:Ethernet  HWaddr 00:23:55:2c:53:78
          inet6 addr: fe80::223:55ff:fe2c:5378/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:82937896 errors:3139 dropped:0 overruns:0 frame:3139
          TX packets:188420263 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:6529695865 (6.5 GB)  TX bytes:276815240088 (276.8 GB)

Other than that I have lxcbr0, virbr0 and some veth. Unrelated I suspect,
but I can include them if you want.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/maas-devel/attachments/20140718/45a71711/attachment.html>


More information about the Maas-devel mailing list