[2.0a3] maas-regiond not available right after install.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Gavin Panella |
Bug Description
I installed a fresh MAAS, created a new user, and tried to log-in via the WebUI, unfortunately, I was unable to do so. It wouldn't access the UI at all.
What I did after that was to actually restart maas-regiond and I continue to see the issue. It wasn't until after a couple minutes that MAAS regiond WebUI became available.
1. First, installed maas and created the user. Tried to connect via the WebUI but I was unable, so I taled the logs:
#######
========
==> /var/log/
Mar 21 18:14:35 maas00 maas.rpc.
Mar 21 18:14:36 maas00 maas.rpc.
Mar 21 18:14:36 maas00 maas.rpc.
Mar 21 18:14:36 maas00 maas.rpc.
Mar 21 18:14:36 maas00 maas.rpc.
Mar 21 18:14:36 maas00 maas.boot_
GetProxies:ask=4]')
Mar 21 18:14:37 maas00 maas.rpc.
Mar 21 18:14:38 maas00 maas.bootsources: [INFO] Updated boot sources cache.
Mar 21 18:17:21 maas00 maas.tftp: [WARNING] No boot images have been imported from the region.
Mar 21 18:19:31 maas00 maas.import-images: [INFO] Started importing boot images.
2. Second, since I couldn't connect, I restarted the maas-regiond process and saw the following output (I run maas-regiond restart at some point around 18:19)
#######
==> /var/log/
yield self._start_
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
File "/usr/lib/
proxies = yield client(GetProxies)
2016-03-21 18:14:36-0400 [ClusterClient,
==> /var/log/
2016-03-21 18:14:37 [sstreams] INFO: com.ubuntu.
2016-03-21 18:14:37 [-] /usr/lib/
t.REQUEST` is deprecated, use `request.GET` or `request.POST` instead.
2016-03-21 18:14:37 [-] /usr/lib/
geDict` is deprecated, use `dict.update()` instead.
2016-03-21 18:14:37 [-] 127.0.0.1 - - [21/Mar/
3.5"
2016-03-21 18:14:37 [-] /usr/lib/
t.REQUEST` is deprecated, use `request.GET` or `request.POST` instead.
2016-03-21 18:14:37 [-] /usr/lib/
geDict` is deprecated, use `dict.update()` instead.
2016-03-21 18:14:37 [-] 127.0.0.1 - - [21/Mar/
3.5"
2016-03-21 18:14:37 [-] /usr/lib/
t.REQUEST` is deprecated, use `request.GET` or `request.POST` instead.
2016-03-21 18:14:37 [-] /usr/lib/
geDict` is deprecated, use `dict.update()` instead.
2016-03-21 18:14:37 [-] 127.0.0.1 - - [21/Mar/
3.5"
==> /var/log/
2016-03-21 18:20:25-0400 [ClusterClient,
'10.10.10.1', 5251))
2016-03-21 18:20:25-0400 [ClusterClient,
Traceback (most recent call last):
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
--- <exception caught here> ---
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb) [227/293]
File "/usr/lib/
2016-03-21 18:20:25-0400 [ClusterClient,
, '192.168.1.20', 5253))
2016-03-21 18:20:25-0400 [ClusterClient,
'10.10.10.1', 5251))
2016-03-21 18:20:25-0400 [ClusterClient,
'10.10.10.1', 5252))
2016-03-21 18:20:25-0400 [ClusterClient,
, '192.168.1.20', 5253))
2016-03-21 18:20:25-0400 [ClusterClient,
Traceback (most recent call last):
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
--- <exception caught here> ---
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
File "/usr/lib/
==> /var/log/
Mar 21 18:20:25 maas00 maas.power_
Mar 21 18:20:46 maas00 maas.networks.
Mar 21 18:21:02 maas00 maas.service_
Mar 21 18:21:16 maas00 maas.networks.
Mar 21 18:21:46 maas00 maas.networks.
==> /var/log/
2016-03-21 18:21:56-0400 [-] request to http://
on without response
==> /var/log/
Mar 21 18:21:56 maas00 maas.import-images: [WARNING] I/O error while syncing boot images. If this problem persists, verify network connectivity
and disk usage.
Mar 21 18:21:56 maas00 maas.import-images: [WARNING] Finished importing boot images, the region does not have any boot images available.
Mar 21 18:21:56 maas00 maas.tftp: [WARNING] No boot images have been imported from the region.
==> /var/log/
2016-03-21 18:21:56-0400 [ClusterClient,
, '192.168.1.20', 5253))
2016-03-21 18:21:56-0400 [HTTPPageGetter
Traceback (most recent call last):
File "/usr/lib/
File "/usr/lib/
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_
2016-03-21 18:21:57-0400 [-] request to http://
Connection refused>
2016-03-21 18:21:57-0400 [Uninitialized] Region not available: Connection was refused by other side: 111: Connection refused. (While requesting
RPC info at b'http://
2016-03-21 18:21:58-0400 [-] request to http://
Connection refused>
3. Third, regiond finally restarted. Note that I run the command at 18:19, but it actually didn't restart until around 18:21 , two minutes later
=======
==> /var/log/
2016-03-21 18:21:58 [-] Log opened.
2016-03-21 18:21:58 [-] twistd 16.0.0pre1 (/usr/bin/python3 3.5.1) starting up.
2016-03-21 18:21:58 [-] reactor class: twisted.
2016-03-21 18:21:58 [-] Log opened.
2016-03-21 18:21:58 [-] twistd 16.0.0pre1 (/usr/bin/python3 3.5.1) starting up.
2016-03-21 18:21:58 [-] reactor class: twisted.
2016-03-21 18:21:58 [-] Site starting on 5240
2016-03-21 18:21:58 [-] Site starting on 5240
2016-03-21 18:21:58 [-] Factory starting on 5250
2016-03-21 18:21:58 [-] Factory starting on 5251
2016-03-21 18:21:58 [-] Log opened.
2016-03-21 18:21:58 [-] twistd 16.0.0pre1 (/usr/bin/python3 3.5.1) starting up.
2016-03-21 18:21:58 [-] reactor class: twisted.
2016-03-21 18:21:58 [-] Site starting on 5240
2016-03-21 18:21:58 [-] Factory starting on 5252
2016-03-21 18:21:58 [maas.websocket
2016-03-21 18:21:58 [-] Log opened.
2016-03-21 18:21:58 [-] twistd 16.0.0pre1 (/usr/bin/python3 3.5.1) starting up.
2016-03-21 18:21:58 [-] reactor class: twisted.
2016-03-21 18:21:58 [-] Site starting on 5240
2016-03-21 18:21:58 [-] Factory starting on 5253
2016-03-21 18:21:58 [requests.
2016-03-21 18:21:58 [maas.websocket
2016-03-21 18:21:59 [maas.websocket
2016-03-21 18:22:00 [-] /usr/lib/
t.REQUEST` is deprecated, use `request.GET` or `request.POST` instead.
2016-03-21 18:22:00 [-] /usr/lib/
geDict` is deprecated, use `dict.update()` instead.
2016-03-21 18:22:00 [requests.
2016-03-21 18:22:00 [-] 127.0.0.1 - - [21/Mar/
3.5"
4. After this point, I waas actually able to connect to the WebUI
=======
2016-03-21 18:22:00 [-] 192.168.1.72 - - [21/Mar/
:45.0) Gecko/20100101 Firefox/45.0"
2016-03-21 18:22:00 [-] /usr/lib/
ing the `url` tag from the `future` library is deprecated and will be removed in Django 1.9. Use the default `url` tag instead.
2016-03-21 18:22:00 [requests.
2016-03-21 18:22:01 [-] 192.168.1.72 - - [21/Mar/
/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
2016-03-21 18:22:01 [-] 192.168.1.72 - - [21/Mar/
"http://
2016-03-21 18:22:01 [requests.
2016-03-21 18:22:01 [-] 192.168.1.72 - - [21/Mar/
99 "http://
"
2016-03-21 18:22:01 [-] 192.168.1.72 - - [21/Mar/
ttp://192.
2016-03-21 18:22:01 [-] 192.168.1.72 - - [21/Mar/
90 "http://
"
2016-03-21 18:22:01 [-] 192.168.1.72 - - [21/Mar/
//192.168.
2016-03-21 18:22:01 [-] 192.168.1.72 - - [21/Mar/
http://
2016-03-21 18:22:01 [requests.
2016-03-21 18:22:01 [-] 192.168.1.72 - - [21/Mar/
Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
==> /var/log/
Mar 21 18:22:01 maas00 maas.service_
Related branches
- Blake Rouse (community): Approve
-
Diff: 293 lines (+83/-69)6 files modifiedsrc/maas/__init__.py (+9/-0)
src/maas/development.py (+2/-1)
src/maasserver/management/commands/dbupgrade.py (+20/-21)
src/maasserver/management/commands/tests/test_dbupgrade.py (+44/-16)
src/maasserver/tests/test_commands_dbupgrade.py (+4/-28)
utilities/check-imports (+4/-3)
summary: |
- [2.0a3] maas-regiond not available right after install + [2.0a3] maas-regiond not available right after install. |
Changed in maas: | |
milestone: | none → 2.0.0 |
importance: | Undecided → Critical |
status: | New → Confirmed |
Changed in maas: | |
status: | Confirmed → In Progress |
assignee: | nobody → Gavin Panella (allenap) |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |