after default installation of maas the rack and region controller are not connected
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maas (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
Description: Ubuntu Xenial Xerus (development branch)
Release: 16.04
2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
maas:
Installiert: 2.0.0~alpha3+
Installations
Versionstabelle:
*** 2.0.0~alpha3+
500 http://
500 http://
100 /var/lib/
3) What you expected to happen
i expected that the rack and region will be connected after both get installed automatically
4) What happened instead
after default installation of maas the rack and region controller are not connected
i had to reconfig rack controller with
sudo dpkg-reconfigure maas-rack-
(from https:/
and edit the default url 'localhost:5240' to my interface ip address
Same issue on Ubuntu Mate 16.04 ARMHF (Raspberry Pi 3B):
VERSIONS
root@juju-rack2:~# cat /etc/issue
Ubuntu 16.04.1 LTS \n \l
root@juju-rack2:~# uname -a home.spyderdyne .net 4.4.43-v7+ #948 SMP Sun Jan 15 22:20:07 GMT 2017 armv7l armv7l armv7l GNU/Linux
Linux juju-rack2.
MAAS Version 2.1.3+bzr5573- 0ubuntu1 (16.04.1) - From PPA stable...
Unfortunately, dpkg-reconfigure doesn't fix the issue. I manually added the API key back to try to correct following the instructions here:
https:/ /maas.ubuntu. com/docs/ rack-configurat ion.html# registration
running "dpkg-reconfigure maas-rack- controller" per the instructions provided.
Still not connected. Checking the log at /var/log/ maas/rackd. log I see it was unable to connect to itself at 127.0.0.1 and finally shut itself down:
Traceback (most recent call last): python3/ dist-packages/ twisted/ internet/ defer.py" , line 588, in _runCallbacks current. result, *args, **kw) python3/ dist-packages/ twisted/ internet/ defer.py" , line 1184, in gotResult backs(r, g, deferred) python3/ dist-packages/ twisted/ internet/ defer.py" , line 1126, in _inlineCallbacks throwExceptionI ntoGenerator( g) python3/ dist-packages/ twisted/ python/ failure. py", line 389, in throwExceptionI ntoGenerator python3/ dist-packages/ provisioningser ver/rpc/ clusterservice. py", line 978, in update rpc_info( info_url) web.error. Error: 500 INTERNAL SERVER ERROR internet. epollreactor. EPollReactor.
File "/usr/lib/
current.result = callback(
File "/usr/lib/
_inlineCall
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
--- <exception caught here> ---
File "/usr/lib/
info = yield self._fetch_
twisted.
2017-01-19 12:15:59 -: [info] Received SIGTERM, shutting down.
2017-01-19 12:17:20 -: [info] twistd 16.0.0 (/usr/bin/python3 3.5.2) starting up.
2017-01-19 12:17:20 -: [info] reactor class: twisted.
Rebooting show the config updated successfully, but the region controller is refusing the rack controller now:
Traceback (most recent call last): python3/ dist-packages/ twisted/ internet/ defer.py" , line 588, in _runCallbacks current. result, *args, **kw) python3/ dist-packages/ twisted/ internet/ defer.py" , line 1184, in gotResult backs(r, g, deferred) python3/ dist-packages/ twisted/ internet/ defer.py" , line 1126, in _inlineCallbacks throwExceptionI ntoGenerator( g) python3/ dist-packages/ twisted/ python/ failure. py", line 389, in throwExceptionI ntoGenerator python3/ dist-packages/ provisioningser ver/rpc/ clusterservice. py", line 978, in update rpc_info( info_url) web.error. Error: 500 INTERNAL SERVER ERROR internet. epollreactor. EPollReactor.
File "/usr/lib/
current.result = callback(
File "/usr/lib/
_inlineCall
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
--- <exception caught here> ---
File "/usr/lib/
info = yield self._fetch_
twisted.
2017-01-19 12:15:59 -: [info] Received SIGTERM, shutting down.
2017-01-19 12:17:20 -: [info] twistd 16.0.0 (/usr/bin/python3 3.5.2) starting up.
2017-01-19 12:17:20 -: [info] reactor class: twisted.
Still digging...