500 error: UnboundLocalError: local variable 'key_required' referenced before assignment
Bug #1456892 reported by
Ashley Lai
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Unassigned | ||
1.7 |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Maas returns the 500 internal server error in juju status:
'7':
agent-
ERROR (local variable ''key_required'' referenced before assignment)'
containers:
7/lxc/0:
series: trusty
instance-id: pending
series: trusty
https:/
Could this be a duplicate of https:/
Both bugs return 500 error but with different error messages.
Related branches
lp:~rvb/maas/bug-1456892
- Gavin Panella (community): Approve
-
Diff: 39 lines (+18/-0)2 files modifiedsrc/maasserver/utils/osystems.py (+5/-0)
src/maasserver/utils/tests/test_osystems.py (+13/-0)
lp:~rvb/maas/bug-1456892-1.7
- Raphaël Badin (community): Approve
-
Diff: 39 lines (+18/-0)2 files modifiedsrc/maasserver/utils/osystems.py (+5/-0)
src/maasserver/utils/tests/test_osystems.py (+13/-0)
tags: | added: oil |
Changed in maas: | |
status: | Incomplete → New |
Changed in maas: | |
status: | New → Triaged |
summary: |
- 500 error from juju status + 500 error: UnboundLocalError: local variable 'key_required' referenced + before assignment |
Changed in maas: | |
status: | Triaged → Fix Committed |
milestone: | none → 1.8.0 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
It doesn't look like it can be a duplicate of bug 1453954… can you please provide the maas logs (/var/log/maas/*) from around the time the error happened so that we can identify the issue? (You'll find a stacktrace with the "'key_required' referenced before assignment" error).