"Internal server error." on cluster page in webUI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Unassigned | ||
1.7 |
Fix Released
|
Critical
|
Unassigned |
Bug Description
This is an upgrade from MAAS 1.5 to 1.7
I had added an additional cluster controller via the MAAS CLI.
I then added the daily images repository via the MAAS CLI.
At times I will get the message that one of the clusters is down. We have determined we no longer need the second cluster controller so I have attempted to remove it from the webUI. The above error message is intermittent, showing about 9/10 times. The one time I was able to get in, I attempted to remove the 2nd cluster controller but got the internal server error and now not sure if it went through. I have also powered off the second cluster controller.
logs from hitting refresh on the clusters page:
1.7.0+bzr3299-
Internal server error.
==> /var/log/
2014-11-19 14:08:56-0500 [Uninitialized] ClusterClient connection established (HOST:IPv4Addre
2014-11-19 14:08:56-0500 [Uninitialized] ClusterClient connection established (HOST:IPv4Addre
2014-11-19 14:08:56-0500 [ClusterClient,
2014-11-19 14:08:56-0500 [ClusterClient,
2014-11-19 14:08:56-0500 [ClusterClient,
2014-11-19 14:08:56-0500 [ClusterClient,
2014-11-19 14:08:57-0500 [ClusterClient,
2014-11-19 14:08:57-0500 [ClusterClient,
2014-11-19 14:08:57-0500 [ClusterClient,
2014-11-19 14:08:57-0500 [ClusterClient,
2014-11-19 14:10:20-0500 [ClusterClient,
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
deferred.
File "/usr/lib/
callbackKe
File "/usr/lib/
self.
--- <exception caught here> ---
File "/usr/lib/
current.result = callback(
File "/usr/lib/
aBox.
File "/usr/lib/
proto.
File "/usr/lib/
self.
File "/usr/lib/
raise TooLong(False, True, v, k)
twisted.
2014-11-19 14:10:20-0500 [ClusterClient,
2014-11-19 14:10:20-0500 [ClusterClient,
2014-11-19 14:10:20-0500 [ClusterClient,
==> /var/log/
INFO 2014-11-19 14:10:20,517 twisted RegionServer connection lost (HOST:IPv4Addre
ERROR 2014-11-19 14:10:20,539 django.request Internal Server Error: /MAAS/clusters/
Traceback (most recent call last):
File "/usr/lib/
response = response.render()
File "/usr/lib/
self.content = self.rendered_
File "/usr/lib/
content = template.
File "/usr/lib/
return self._render(
File "/usr/lib/
return self.nodelist.
File "/usr/lib/
bit = self.render_
File "/usr/lib/
return node.render(
File "/usr/lib/
return compiled_
File "/usr/lib/
return self.nodelist.
File "/usr/lib/
bit = self.render_
File "/usr/lib/
return node.render(
File "/usr/lib/
result = block.nodelist.
File "/usr/lib/
bit = self.render_
File "/usr/lib/
return node.render(
File "/usr/lib/
nodelist.
File "/usr/lib/
return self.render_
File "/usr/lib/
output = template.
File "/usr/lib/
return self._render(
File "/usr/lib/
return self.nodelist.
File "/usr/lib/
bit = self.render_
File "/usr/lib/
return node.render(
File "/usr/lib/
six.
File "/usr/lib/
obj = self.var.
File "/usr/lib/
value = self._resolve_
File "/usr/lib/
current = current()
File "/usr/lib/
images = get_boot_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return call.wait(
File "/usr/lib/
result.
File "<string>", line 2, in raiseException
ConnectionDone: Connection was closed cleanly.
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → Critical |
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: | |
milestone: | 1.7.3 → next |
status: | Triaged → Fix Committed |
Changed in maas: | |
milestone: | next → none |
status: | Fix Committed → Fix Released |
removing the source for the daily images:
ubuntu@lucuma:~$ maas ubuntu boot-sources read maas.ubuntu. com/images/ ephemeral- v2/releases/",
"keyring_ data": "",
"resource_ uri": "/MAAS/ api/1.0/ boot-sources/ 1/",
"keyring_ filename" : "/usr/share/ keyrings/ ubuntu- cloudimage- keyring. gpg", maas.ubuntu. com/images/ ephemeral- v2/daily/",
"keyring_ data": "",
"resource_ uri": "/MAAS/ api/1.0/ boot-sources/ 2/",
"keyring_ filename" : "/usr/share/ keyrings/ ubuntu- cloudimage- keyring. gpg",
[
{
"url": "http://
"id": 1
},
{
"url": "http://
"id": 2
}
ubuntu@lucuma:~$ maas ubuntu boot-source delete 2
This has now allowed access to the clusters page.