[2.3] Unhandled error in deferred when tgt fails to start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Lee Trager | ||
2.3 |
Fix Released
|
High
|
Lee Trager |
Bug Description
The snap sometimes fails to start tgt, but this seems to be crashing twisted and the error is not handled properly.
2017-11-29 00:37:13 twisted.
2017-11-29 00:37:13 twisted.
Traceback (most recent call last):
File "/snap/
self.
File "/snap/
self.
File "/snap/
current.result = callback(
File "/snap/
_inlineCall
--- <exception caught here> ---
File "/snap/
result = result.
File "/snap/
return g.throw(self.type, self.value, self.tb)
File "/snap/
imported = yield deferToThread(
File "/snap/
result = inContext.theWork()
File "/snap/
inContext.
File "/snap/
return self.currentCon
File "/snap/
return func(*args,**kw)
File "/snap/
result = func(*args, **kwargs)
File "/snap/
imported = boot_resources.
File "/snap/
update_
File "/snap/
update_
File "/snap/
service_
File "/snap/
result.
File "/snap/
raise self.value.
File "/snap/
result = result.
File "/snap/
return g.throw(self.type, self.value, self.tb)
File "/snap/
yield self._performSe
File "/snap/
result = g.send(result)
File "/snap/
raise ServiceActionEr
provisioningser
Related branches
- Lee Trager (community): Approve
-
Diff: 58 lines (+21/-1)2 files modifiedsrc/provisioningserver/import_images/boot_resources.py (+8/-1)
src/provisioningserver/import_images/tests/test_boot_resources.py (+13/-0)
- Newell Jensen (community): Approve
- MAAS Lander: Approve
-
Diff: 58 lines (+21/-1)2 files modifiedsrc/provisioningserver/import_images/boot_resources.py (+8/-1)
src/provisioningserver/import_images/tests/test_boot_resources.py (+13/-0)
Changed in maas: | |
milestone: | none → 2.4.x |
importance: | Undecided → High |
status: | New → Triaged |
Changed in maas: | |
assignee: | nobody → Lee Trager (ltrager) |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 2.4.x → 2.4.0alpha1 |
status: | Fix Committed → Fix Released |