Unable to get RPC connection for cluster 'maas'
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | MAAS |
Critical
|
Unassigned | ||
Bug Description
I get the following error when I try to make any changes to a node. This error message appears in the web GUI under the power section on a node edit page when I try to save any changes to a node. The following is the error message:
The cluster controller for this node is not responding; power type validation is not available. Unable to get RPC connection for cluster 'maas'
Restarting Maas "occasionally" clears this up, but most of the time removing and then re-installing maas is what is needed
uname -a
Linux ms05-01-avaton 3.13.0-30-generic #55-Ubuntu SMP Fri Jul 4 21:40:53 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
ubuntu@
ii maas 1.6.0+bzr2539-
ii maas-cli 1.6.0+bzr2539-
ii maas-cluster-
ii maas-common 1.6.0+bzr2539-
ii maas-dhcp 1.6.0+bzr2539-
ii maas-dns 1.6.0+bzr2539-
ii maas-enlist 0.4+bzr38-0ubuntu1 amd64 MAAS enlistment tool
ii maas-region-
ii maas-region-
ii maas-samba 1.6+bzr2247-
ii maas-test 0.1+bzr147-0ubuntu1 all Utility to test hardware compatibility with MAAS
ii python-django-maas 1.6.0+bzr2539-
ii python-maas-client 1.6.0+bzr2539-
ii python-
| Michael Reed (mreed8855) wrote : | #1 |
| mahmoh (mahmoh) wrote : | #3 |
MaaS 1.6.0 maas-maintainer
***
Power type
The cluster controller for this node is not responding; power type validation is not available. Unable to get RPC connection for cluster 'maas'
- Moonshot HP iLO
Power parameters
Unknown parameter(s): power_address, power_pass, node_id, power_user.
***
| Changed in maas: | |
| status: | Incomplete → Confirmed |
| mahmoh (mahmoh) wrote : | #4 |
^ maas-pserv appeared to be running still, a restart of the process appeared to "fix" the problem.
| Julian Edwards (julian-edwards) wrote : | #5 |
Something odd is happening on the region side of things. Gavin, any ideas with this?
ERROR 2014-08-02 08:19:42,265 twisted Unhandled Error
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.run()
File "/usr/lib/
self.
--- <exception caught here> ---
File "/usr/lib/
, in _worker
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib/
n callWithContext
return self.currentCon
File "/usr/lib/
callWithContext
return func(*args,**kw)
File "/usr/lib/
line 294, in wrapper
return func(*args, **kwargs)
File "/usr/lib/
, in call_with_lock
return func(*args, **kwargs)
File "/usr/lib/
n call_within_
return func(*args, **kwargs)
File "/usr/lib/
364, in update
self.
File "/usr/lib/
cursor.
File "/usr/lib/
return self.cursor.
File "/usr/lib/
six.
File "/usr/lib/
return self.cursor.
django.
DETAIL: Process 1934 waits for ShareLock on transaction 3135; blocked by process 1935.
Process 1935 waits for ShareLock on transaction 3134; blocked by process 1934.
HINT: See server log for query details.
| Changed in maas: | |
| status: | Confirmed → Triaged |
| importance: | Undecided → Critical |
| Gavin Panella (allenap) wrote : | #6 |
I think that's related to bug 1351482, i.e. fallout from switching to SERIALIZABLE isolation.
ii maas 1.5+bzr2252-
ii maas-cli 1.5+bzr2252-
ii maas-cluster-
ii maas-common 1.5+bzr2252-
ii maas-dhcp 1.5+bzr2252-
ii maas-dns 1.5+bzr2252-
ii maas-region-
ii maas-region-
ii python-django-maas 1.5+bzr2252-
ii python-maas-client 1.5+bzr2252-
ii python-
--
sudo service maas-pserv status:
maas-pserv start/running, process 26810
--
pserv.log:
2014-08-12 17:03:51+0000 [-] Starting factory <HTTPClientFactory: http://
2014-08-12 17:03:51+0000 [HTTPPageGetter
2014-08-12 17:05:16+0000 [-] Starting factory <HTTPClientFactory: http://
2014-08-12 17:05:16+0000 [HTTPPageGetter
maas.log:
ERROR 2014-08-12 16:58:35,430 maasserver Unable to get RPC connection for cluster 'master'
ERROR 2014-08-12 16:58:35,434 maasserver Unable to get RPC connection for cluster 'master'
| Julian Edwards (julian-edwards) wrote : | #8 |
Michael, can you try with the release candidate build and see if you can reproduce?
| Changed in maas: | |
| status: | Triaged → Incomplete |
| Launchpad Janitor (janitor) wrote : | #9 |
[Expired for MAAS because there has been no activity for 60 days.]
| Changed in maas: | |
| status: | Incomplete → Expired |
| mahmoh (mahmoh) wrote : | #10 |
@mreed: could you please confirm this is no longer the case? I've seen this recently in the stable branch release as of two weeks ago. Thank you.
| Changed in maas: | |
| status: | Expired → Incomplete |
| tags: | added: hs-arm64 |
| rikoder (erick-openchill) wrote : | #11 |
just add this bug on 14.04 fully upgraded (amd64).
I confirm restarting maas-pserv fixed the problem for me.
| Ivan Zoratti (izoratti) wrote : | #13 |
I am having this same problem at the moment, with MAAS 1.7 on 14.04.1 LTS.
I fixed it by adding the hostname (MAAS) in the /etc/hosts file.
| Changed in maas: | |
| status: | Incomplete → Fix Released |


This is a legitimate error and happens when the cluster controller is down. Next time it happens, "sudo service maas-pserv status" on your cluster controller host to check (and restart it if it's down).
If it's down, can you please reply back with its log file here.