Connection broken: IncompleteRead on rackd

Bug #1722962 reported by Peter Kozhevnikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Invalid
Undecided
Unassigned

Bug Description

2017-10-12 03:01:53 provisioningserver.rpc.clusterservice: [info] Event-loop '157685:pid=16797' authenticated.
2017-10-12 03:01:53 provisioningserver.rpc.clusterservice: [info] Rack controller 'yrynte' registered (via 157685:pid=16797).
2017-10-12 03:03:09 sstreams: [info] maas:v2:download/maas:boot:ubuntu:amd64:ga-16.04-lowlatency:xenial: to_add=['20171006'] to_remove=[]
2017-10-12 03:03:09 sstreams: [info] maas:v2:download/maas:boot:grub-efi:arm64:generic:uefi: to_add=['20170729.0'] to_remove=[]
2017-10-12 03:03:09 sstreams: [info] maas:v2:download/maas:boot:ubuntu:amd64:hwe-16.04-edge:xenial: to_add=['20171006'] to_remove=[]
2017-10-12 03:03:09 sstreams: [info] maas:v2:download/maas:boot:ubuntu:amd64:hwe-16.04-lowlatency:xenial: to_add=['20171006'] to_remove=[]
2017-10-12 03:03:09 sstreams: [info] maas:v2:download/maas:boot:ubuntu:amd64:hwe-16.04-lowlatency-edge:xenial: to_add=['20171006'] to_remove=[]
2017-10-12 03:03:09 sstreams: [info] maas:v2:download/maas:boot:grub-efi-signed:amd64:generic:uefi: to_add=['20170729.0'] to_remove=[]
2017-10-12 03:03:09 sstreams: [info] maas:v2:download/maas:boot:ubuntu:amd64:ga-16.04:xenial: to_add=['20171006'] to_remove=[]
2017-10-12 03:03:09 sstreams: [info] maas:v2:download/maas:boot:pxelinux:i386:generic:pxe: to_add=['20160930.0'] to_remove=[]
2017-10-12 03:03:09 sstreams: [info] maas:v2:download/maas:boot:ubuntu:amd64:hwe-16.04:xenial: to_add=['20171006'] to_remove=[]
2017-10-12 03:03:09 sstreams: [info] maas:v2:download/maas:boot:grub-ieee1275:ppc64el:generic:open-firmware: to_add=['20170729.0'] to_remove=[]
2017-10-12 03:03:09 sstreams: [info] maas:v2:download/maas:boot:ubuntu:amd64:ga-16.04-lowlatency:xenial: to_add=['20171006'] to_remove=[]
2017-10-12 03:03:45 twisted.internet.defer: [critical] Unhandled error in Deferred:
2017-10-12 03:03:45 twisted.internet.defer: [critical]

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 434, in errback
    self._startRunCallbacks(fail)
  File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 501, in _startRunCallbacks
    self._runCallbacks()
  File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 588, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1184, in gotResult
    _inlineCallbacks(r, g, deferred)
--- <exception caught here> ---
  File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 1126, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/usr/lib/python3/dist-packages/provisioningserver/rpc/boot_images.py", line 145, in _import_boot_images
    imported = yield deferToThread(_run_import, sources, **proxies)
  File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 246, in inContext
    result = inContext.theWork()
  File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 262, in <lambda>
    inContext.theWork = lambda: context.call(ctx, func, *args, **kw)
  File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 118, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 81, in callWithContext
    return func(*args,**kw)
  File "/usr/lib/python3/dist-packages/provisioningserver/utils/twisted.py", line 232, in wrapper
    result = func(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/provisioningserver/rpc/boot_images.py", line 119, in _run_import
    imported = boot_resources.import_images(sources)
  File "/usr/lib/python3/dist-packages/provisioningserver/import_images/boot_resources.py", line 322, in import_images
    sources, storage, product_mapping)
  File "/usr/lib/python3/dist-packages/provisioningserver/import_images/download_resources.py", line 397, in download_all_boot_resources
    keyring_file=source.get('keyring')),
  File "/usr/lib/python3/dist-packages/provisioningserver/import_images/download_resources.py", line 343, in download_boot_resources
    writer.sync(reader, rpath)
  File "/usr/lib/python3/dist-packages/simplestreams/mirrors/__init__.py", line 91, in sync
    return self.sync_index(reader, path, data, content)
  File "/usr/lib/python3/dist-packages/simplestreams/mirrors/__init__.py", line 254, in sync_index
    self.sync(reader, path=epath)
  File "/usr/lib/python3/dist-packages/simplestreams/mirrors/__init__.py", line 89, in sync
    return self.sync_products(reader, path, data, content)
  File "/usr/lib/python3/dist-packages/simplestreams/mirrors/__init__.py", line 341, in sync_products
    self.insert_item(item, src, target, pgree, ipath_cs)
  File "/usr/lib/python3/dist-packages/provisioningserver/import_images/download_resources.py", line 287, in insert_item
    self.store, filename, tag, checksums, size, contentsource)
  File "/usr/lib/python3/dist-packages/provisioningserver/import_images/download_resources.py", line 63, in insert_file
    store.insert(tag, content_source, checksums, mutable=False, size=size)
  File "/usr/lib/python3/dist-packages/simplestreams/objectstores/__init__.py", line 142, in insert
    buf = reader.read(self.read_size)
  File "/usr/lib/python3/dist-packages/simplestreams/contentsource.py", line 275, in read
    buf = self.cs.read(size)
  File "/usr/lib/python3/dist-packages/simplestreams/contentsource.py", line 136, in read
    return self.fd.read(size)
  File "/usr/lib/python3/dist-packages/simplestreams/contentsource.py", line 401, in read
    return self._read(size)
  File "/usr/lib/python3/dist-packages/simplestreams/contentsource.py", line 431, in read_compressed
    ret += next(self.r_iter)
  File "/usr/lib/python3/dist-packages/requests/models.py", line 663, in generate
    raise ChunkedEncodingError(e)
requests.exceptions.ChunkedEncodingError: ('Connection broken: IncompleteRead(9560 bytes read, 680 more expected)', IncompleteRead(9560 bytes read, 680 more expected))

Changed in maas:
milestone: none → 2.3.0beta3
Changed in maas:
milestone: 2.3.0beta3 → 2.3.0beta4
Revision history for this message
Andres Rodriguez (andreserl) wrote :

Hi There,

Could you please provide:

1. logs /var/log/maas/*.log
2. version of MAAS being used.
3. Is this MAAS running on a physical machine, vm, container, etc ?
4. In what situation have you seen this error?

Changed in maas:
status: New → Incomplete
milestone: 2.3.0beta4 → 2.3.x
Revision history for this message
Andres Rodriguez (andreserl) wrote :

Hi!

**This is an automated message**

We believe this is may no longer be an issue in the latest MAAS release. Due to the original date of the bug report, we are currently marking it as Invalid. If you believe this bug report still valid against the latest release of MAAS, or if you are still interested in this, please re-open this bug report.

Thanks

Changed in maas:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.