Suspended and resumed image import seemingly stuck
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
High
|
Unassigned |
Bug Description
I suspended and resumed my laptop which was running an image import into MAAS. When I resumed it at 9am, I expected the image import to resume, but it seems stuck and although the page still shows spinners, they are stuck at 14% and 1% respectively.
Here's what I see in maas-django.log:
ERROR 2014-11-06 09:03:04,363 twisted Unhandled Error
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.run()
File "/usr/lib/
self.
--- <exception caught here> ---
File "/usr/lib/
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
image_
File "/usr/lib/
source['url'], keyring=
File "/usr/lib/
dumper.
File "/usr/lib/
content, payload = reader.
File "/usr/lib/
raw = self.source(
File "/usr/lib/
self.open()
File "/usr/lib/
self.fd = self._open()
File "/usr/lib/
return opener(*oargs, offset=self.offset)
File "/usr/lib/
self.req = requests.get(url, stream=True, auth=auth, headers=headers)
File "/usr/lib/
return request('get', url, **kwargs)
File "/usr/lib/
return session.
File "/usr/lib/
resp = self.send(prep, **send_kwargs)
File "/usr/lib/
r = adapter.
File "/usr/lib/
raise ConnectionError(e)
requests.
treams/
followed by sstreams logging every hour with what appears to be the same set of images. I've attached the log.
Changed in maas: | |
milestone: | none → 1.7.1 |
Changed in maas: | |
milestone: | 1.7.1 → 1.7.2 |
Changed in maas: | |
milestone: | 1.7.2 → 1.7.3 |
Changed in maas: | |
status: | Triaged → Invalid |
From the admin shell:
>>> print locks.import_ images. is_locked( )
True