DoesNotExist: NodeGroupInterface has no nodegroup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Jeroen T. Vermeulen |
Bug Description
CI tests are broken since rev 2535 landed as seen here: http://
ERROR 2014-07-10 06:15:18,395 maasserver #######
ERROR 2014-07-10 06:15:18,398 maasserver Traceback (most recent call last):
File "/usr/lib/
response = wrapped_
File "/usr/lib/
response = func(*args, **kwargs)
File "/usr/lib/
result = self.error_
File "/usr/lib/
result = meth(request, *args, **kwargs)
File "/usr/lib/
return function(self, request, *args, **kwargs)
File "/usr/lib/
nodegroup = register_
File "/usr/lib/
if not form.is_valid():
File "/usr/lib/
return self.is_bound and not bool(self.errors)
File "/usr/lib/
self.
File "/usr/lib/
super(
File "/usr/lib/
self.
File "/usr/lib/
value = getattr(self, 'clean_%s' % name)()
File "/usr/lib/
validate_
File "/usr/lib/
if not form.is_valid():
File "/usr/lib/
return self.is_bound and not bool(self.errors)
File "/usr/lib/
self.
File "/usr/lib/
super(
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
cleaned_
File "/usr/lib/
cluster = self.instance.
File "/usr/lib/
"%s has no %s." % (self.field.
DoesNotExist: NodeGroupInterface has no nodegroup.
The test broken is maas-integratio
# maas maas node-groups list
The test expects that the nodegroup object return its uuid rather than the string master which never happens and is likely related to the traceback above.
Related branches
- Julian Edwards (community): Approve
-
Diff: 54 lines (+25/-1)2 files modifiedsrc/maasserver/forms.py (+8/-1)
src/maasserver/tests/test_forms.py (+17/-0)
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → Critical |
Changed in maas: | |
assignee: | nobody → Jeroen T. Vermeulen (jtv) |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | none → 1.7.0 |
Changed in maas: | |
status: | Fix Committed → Fix Released |