[2.1, rev5670] Can't release machines previously deployed/failed deployment/or newly deployed after upgrade to latest trunk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Gavin Panella |
Bug Description
I had the following machines:
a. (1) Deployed
b. (2) Failed deployment
c. (3) Ready
I upgraded to latest trunk rev5670 from a version that didn't use the new 'script' work.
1. After trying to release (a) and (b), I see the issue below (both in UI and traceback).
2. I tried to deploy (3) and then try to release, see the same issue. However, I clicked on 'retry' and it released fine this time.
Steps to reproduce
==================
1. Install MAAS 2.1
2. Deploy machine
3. Upgrade to latest trunk rev5670
4. Release the machine.
==> /var/log/
2017-01-26 17:19:03 maasserver.
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
return target()
File "/usr/lib/
task()
File "/usr/lib/
task()
--- <exception caught here> ---
File "/usr/lib/
result = inContext.theWork()
File "/usr/lib/
inContext.
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
return func_outside_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwds)
File "/usr/lib/
return action.
File "/usr/lib/
secure_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
return func_within_
File "/usr/lib/
return func(*args, **kwds)
File "/usr/lib/
self.save()
File "/usr/lib/
super(Node, self).save(*args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
raise ValidationError
django.
Related branches
- Blake Rouse (community): Approve
-
Diff: 305 lines (+144/-28)8 files modifiedsrc/maasserver/forms_settings.py (+33/-0)
src/maasserver/models/config.py (+3/-0)
src/maasserver/models/node.py (+0/-5)
src/maasserver/models/tests/test_node.py (+0/-23)
src/metadataserver/api.py (+12/-0)
src/metadataserver/models/scriptset.py (+18/-0)
src/metadataserver/models/tests/test_scriptset.py (+49/-0)
src/metadataserver/tests/test_api_status.py (+29/-0)
- Mike Pontillo (community): Approve
-
Diff: 31 lines (+1/-13)2 files modifiedsrc/maasserver/models/node.py (+1/-0)
src/metadataserver/fixtures/initial_data.yaml (+0/-13)
Changed in maas: | |
importance: | Undecided → Critical |
status: | New → Confirmed |
assignee: | nobody → Lee Trager (ltrager) |
description: | updated |
summary: |
[2.1, rev5670] Can't release machines previously deployed/failed - deployment after upgrade to latest trunk + deployment/or newly deployed after upgrade to latest trunk |
tags: | added: oil oil-2.0 |
tags: | added: cdo-qa-blocker |
Changed in maas: | |
status: | Confirmed → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
milestone: | none → 2.2.0 |
assignee: | Lee Trager (ltrager) → Gavin Panella (allenap) |
Changed in maas: | |
status: | Fix Committed → Fix Released |