[2.5] Rack DNS config Failed to update DNS configuration and showed an UNHANDLED error instead of a nice error message why
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
High
|
Unassigned |
Bug Description
I have a 4 node MAAS configuration with:
2 Region/racks (maas00, node01)
2 rack controllers (node03, node04)
I upgraded all of the machines, however, maas00, node03, node04 upgraded first, and successfully connected to the main region/rack (maas00), which is what /etc/maas/
After the upgrade, I noticed the following traceback in the rack controllers (node03, node04):
2018-07-16 19:06:53 provisioningser
Traceback (most recent call last):
Failure: twisted.
Once the node01 finished installing , i continued to see this issue, even in the logs of the region/rack rack.log. To fix the issue I had to:
1. In maas00,node01 I stopped maas-regiond/
2. In maas00,node01 I started services again
3. restarted maas-rackd on node02,node03
4. No longer see the error messages.
The expectation is that errors like this should have correct error handling and MAAS shouldn't have had an unhandled error. Instead MAAS should have checked for what it expected, and since it didn't find it, show an error that implies the version mistmatch
description: | updated |
Changed in maas: | |
milestone: | none → 2.5.0 |
importance: | Undecided → Critical |
Changed in maas: | |
assignee: | nobody → Blake Rouse (blake-rouse) |
Changed in maas: | |
status: | New → In Progress |
milestone: | 2.5.0 → 2.5.0alpha2 |
status: | In Progress → Triaged |
assignee: | Blake Rouse (blake-rouse) → nobody |
summary: |
- [2.5] Rack DNS config Failed to update DNS configuration. + [2.5] Rack DNS config Failed to update DNS configuration and showed an + UNHANDLED error instead of a nice message why |
summary: |
[2.5] Rack DNS config Failed to update DNS configuration and showed an - UNHANDLED error instead of a nice message why + UNHANDLED error instead of a nice error message why |
Changed in maas: | |
importance: | Critical → High |
description: | updated |
Changed in maas: | |
milestone: | 2.5.0alpha2 → 2.5.0beta1 |
Changed in maas: | |
milestone: | 2.5.0beta1 → 2.5.0beta2 |
Changed in maas: | |
milestone: | 2.5.0beta2 → 2.5.0rc1 |
Changed in maas: | |
milestone: | 2.5.0rc1 → 2.5.0 |
Changed in maas: | |
milestone: | 2.5.0 → 2.5.x |
This would be an upgrade error. The issue is that the rack controller is
using a newer version of code than the region controller.
That is not a bad error the error is actually correct. The region
controllers should always be upgraded before the rack controllers.
On Thu, Aug 9, 2018, 6:02 PM Andres Rodriguez <email address hidden>
wrote:
> ** Changed in: maas /bugs.launchpad .net/bugs/ 1782009 rackd.conf points to in ver.rackdservic es.dns: [critical] protocols. amp.UnhandledCo mmand: (b'UNHANDLED', ration' ") maas-rackd. Once stoped, I /bugs.launchpad .net/maas/ +bug/1782009/ +subscriptions
> Assignee: (unassigned) => Blake Rouse (blake-rouse)
>
> --
> You received this bug notification because you are a bug assignee.
> https:/
>
> Title:
> [2.5] Rack DNS config Failed to update DNS configuration.
>
> Status in MAAS:
> New
>
> Bug description:
> I have a 4 node MAAS configuration with:
>
> 2 Region/racks (maas00, node01)
> 2 rack controllers (node03, node04)
>
> I upgraded all of the machines, however, maas00, node03, node04
> upgraded first, and successfully connected to the main region/rack
> (maas00), which is what /etc/maas/
> node03/node04.
>
> After the upgrade, I noticed the following traceback in the rack
> controllers (node03, node04):
>
> 2018-07-16 19:06:53 provisioningser
> Failed to update DNS configuration.
> Traceback (most recent call last):
> Failure: twisted.
> "Unhandled Command: b'GetDNSConfigu
>
> Once the node01 finished installing , i continued to see this issue,
> even in the logs of the region/rack rack.log. To fix the issue I had
> to:
>
> 1. In maas00,node01 I stopped maas-regiond/
> started the services again.
> 2. In maas00,node01 I started services again
> 3. restarted maas-rackd on node02,node03
> 4. No longer see the error messages.
>
> To manage notifications about this bug go to:
> https:/
>