Comment #2 : Bug #1472707 : Bugs : MAAS

Comment 2 for bug 1472707

Revision history for this message
Sean Feole (sfeole) wrote : Re: Master Cluster fails to connect after importing wiley images

here is a 2nd attempt,

again, reverting back and removing the 15.10 images temporarily resolves the problem.

INFO 2015-07-08 13:36:35,766 sstreams com.ubuntu.maas:daily:v2:download/com.ubuntu.maas.daily:v2:boot:14.10:i386:hwe-u: to_add=[] to_remove=[]
INFO 2015-07-08 13:36:35,766 sstreams com.ubuntu.maas:daily:v2:download/com.ubuntu.maas.daily:v2:boot:15.10:i386:hwe-w: to_add=[] to_remove=[]
INFO 2015-07-08 13:36:35,767 sstreams com.ubuntu.maas:daily:v2:download/com.ubuntu.maas.daily:v2:boot:15.10:amd64:hwe-w: to_add=[u'20150706'] to_remove=[]
INFO 2015-07-08 13:36:35,867 sstreams com.ubuntu.maas:daily:v2:download/com.ubuntu.maas.daily:v2:boot:14.04:i386:hwe-u: to_add=[] to_remove=[]
INFO 2015-07-08 13:36:35,867 sstreams com.ubuntu.maas:daily:v2:download/com.ubuntu.maas.daily:v2:boot:14.04:i386:hwe-t: to_add=[] to_remove=[]
INFO 2015-07-08 13:36:35,868 sstreams com.ubuntu.maas:daily:v2:download/com.ubuntu.maas.daily:v2:boot:14.04:i386:hwe-v: to_add=[] to_remove=[]
INFO 2015-07-08 13:36:35,868 sstreams com.ubuntu.maas:daily:v2:download/com.ubuntu.maas.daily:v2:boot:14.10:arm64:hwe-u: to_add=[u'20150608'] to_remove=[]
INFO 2015-07-08 13:36:35,963 sstreams com.ubuntu.maas:daily:v2:download/com.ubuntu.maas.daily:v2:boot:14.10:armhf:generic-lpae: to_add=[u'20150608'] to_remove=[]
INFO 2015-07-08 13:36:36,058 sstreams com.ubuntu.maas:daily:v2:download/com.ubuntu.maas.daily:v2:boot:12.04:amd64:hwe-t: to_add=[] to_remove=[]
INFO 2015-07-08 13:36:36,058 sstreams com.ubuntu.maas:daily:v2:download/com.ubuntu.maas.daily:v2:boot:14.04:amd64:hwe-v: to_add=[u'20150706'] to_remove=[]
INFO 2015-07-08 13:36:36,153 sstreams com.ubuntu.maas:daily:v2:download/com.ubuntu.maas.daily:v2:boot:14.04:ppc64el:hwe-u: to_add=[] to_remove=[]
INFO 2015-07-08 13:36:36,154 sstreams com.ubuntu.maas:daily:v2:download/com.ubuntu.maas.daily:v2:boot:12.04:amd64:hwe-p: to_add=[] to_remove=[]
INFO 2015-07-08 13:36:36,154 sstreams com.ubuntu.maas:daily:v2:download/com.ubuntu.maas.daily:v2:boot:12.04:amd64:hwe-q: to_add=[] to_remove=[]
INFO 2015-07-08 13:36:36,154 sstreams com.ubuntu.maas:daily:v2:download/com.ubuntu.maas.daily:v2:boot:12.04:amd64:hwe-r: to_add=[] to_remove=[]
INFO 2015-07-08 13:36:36,155 sstreams com.ubuntu.maas:daily:v2:download/com.ubuntu.maas.daily:v2:boot:12.04:amd64:hwe-s: to_add=[] to_remove=[]
INFO 2015-07-08 13:36:36,155 sstreams com.ubuntu.maas:daily:v2:download/com.ubuntu.maas.daily:v2:boot:13.10:i386:hwe-s: to_add=[] to_remove=[]
INFO 2015-07-08 13:36:36,155 sstreams com.ubuntu.maas:daily:v2:download/com.ubuntu.maas.daily:v2:boot:12.04:i386:hwe-q: to_add=[] to_remove=[]
INFO 2015-07-08 13:36:36,156 sstreams com.ubuntu.maas:daily:v2:download/com.ubuntu.maas.daily:v2:boot:15.04:armhf:hwe-v: to_add=[u'20150707'] to_remove=[]
INFO 2015-07-08 13:36:36,250 sstreams com.ubuntu.maas:daily:v2:download/com.ubuntu.maas.daily:v2:boot:14.04:amd64:hwe-u: to_add=[u'20150706'] to_remove=[]
INFO 2015-07-08 13:36:36,344 sstreams com.ubuntu.maas:daily:v2:download/com.ubuntu.maas.daily:v2:boot:15.04:amd64:hwe-v: to_add=[u'20150707'] to_remove=[]

==> /var/log/maas/maas.log <==
Jul 8 13:50:35 localhost maas.bootresources: [INFO] Finished importing of boot images from 1 source(s).

==> /var/log/maas/maas-django.log <==
ERROR 2015-07-08 13:50:35,318 twisted {}

==> /var/log/maas/maas.log <==
Jul 8 13:50:35 localhost maas.import-images: [INFO] Started importing boot images.
Jul 8 13:57:43 localhost maas.import-images: [INFO] Writing boot image metadata and iSCSI targets.
Jul 8 13:57:45 localhost maas.import-images: [INFO] Installing boot images snapshot /var/lib/maas/boot-resources/snapshot-20150708-175038
Jul 8 13:57:55 localhost maas.import-images: [INFO] Updating boot image iSCSI targets.
Jul 8 13:57:56 localhost maas.import-images: [INFO] Cleaning up old snapshots and cache.
Jul 8 13:57:56 localhost maas.import-images: [INFO] Finished importing boot images.

==> /var/log/maas/pserv.log <==
2015-07-08 13:58:01-0400 [ClusterClient,client] Amp server or network failure unhandled by client application. Dropping connection! To avoid, add errbacks to ALL remote commands!
 Traceback (most recent call last):
   File "/usr/lib/python2.7/dist-packages/twisted/protocols/amp.py", line 913, in ampBoxReceived
     self._commandReceived(box)
   File "/usr/lib/python2.7/dist-packages/twisted/protocols/amp.py", line 892, in _commandReceived
     deferred.addCallback(self._safeEmit)
   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 306, in addCallback
     callbackKeywords=kw)
   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 295, in addCallbacks
     self._runCallbacks()
 --- <exception caught here> ---
   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 577, in _runCallbacks
     current.result = callback(current.result, *args, **kw)
   File "/usr/lib/python2.7/dist-packages/twisted/protocols/amp.py", line 924, in _safeEmit
     aBox._sendTo(self.boxSender)
   File "/usr/lib/python2.7/dist-packages/twisted/protocols/amp.py", line 577, in _sendTo
     proto.sendBox(self)
   File "/usr/lib/python2.7/dist-packages/twisted/protocols/amp.py", line 2153, in sendBox
     self.transport.write(box.serialize())
   File "/usr/lib/python2.7/dist-packages/twisted/protocols/amp.py", line 555, in serialize
     raise TooLong(False, True, v, k)
 twisted.protocols.amp.TooLong:

2015-07-08 13:58:01-0400 [ClusterClient,client] ClusterClient connection lost (HOST:IPv4Address(TCP, '127.0.0.1', 36955) PEER:IPv4Address(TCP, u'127.0.0.1', 41334))

==> /var/log/maas/maas-django.log <==
INFO 2015-07-08 13:58:01,621 twisted RegionServer connection lost (HOST:IPv4Address(TCP, '127.0.0.1', 41334) PEER:IPv4Address(TCP, '127.0.0.1', 36955))
ERROR 2015-07-08 13:58:10,738 maasserver Unable to get RPC connection for cluster 'Cluster master' (87685582-8844-48f2-a7a9-cae73fdb578f)
ERROR 2015-07-08 13:58:10,739 maasserver Unable to get RPC connection for cluster 'Cluster master' (87685582-8844-48f2-a7a9-cae73fdb578f)
ERROR 2015-07-08 13:58:10,741 maasserver Unable to get RPC connection for cluster 'Cluster master' (87685582-8844-48f2-a7a9-cae73fdb578f)
ERROR 2015-07-08 13:58:10,745 maasserver Unable to get RPC connection for cluster 'Cluster master' (87685582-8844-48f2-a7a9-cae73fdb578f)