After a fresh install, cluster can't connect to region
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Gavin Panella |
Bug Description
After a fresh install, the Cluster cannot connect to the region.
What I did to have it connected is to restart apache2, maas-cluster-
Sep 30 01:41:42 unleashed maas.cluster: [INFO] Starting cluster controller 63aa9a86-
Sep 30 01:41:42 unleashed maas.cluster: [INFO] Could not register with region controller: INTERNAL SERVER ERROR.
Sep 30 01:41:42 unleashed maas.lease_
Sep 30 01:41:43 unleashed maas.bootsources: [INFO] Updated boot sources cache.
Sep 30 01:41:47 unleashed maas.import-images: [INFO] Started importing boot images.
Sep 30 01:41:47 unleashed maas.power_
A few seconds later:
Sep 30 01:41:47 unleashed maas.import-images: [WARNING] No resources found in Simplestreams repository u'http://
Sep 30 01:41:47 unleashed maas.import-images: [WARNING] Finished importing boot images, no boot images available.
Sep 30 01:42:44 unleashed maas: [WARNING] Failed to create Network when adding/editing cluster interface maas-tun0 with error [{u'netmask': [u'This netmask leaves no room for IP addresses.']}]. This is OK if it already exists.
Sep 30 01:42:45 unleashed maas: [WARNING] Failed to create Network when adding/editing cluster interface maas-tun1 with error [{u'netmask': [u'This netmask leaves no room for IP addresses.']}]. This is OK if it already exists.
Sep 30 01:42:46 unleashed maas: [WARNING] Failed to create Network when adding/editing cluster interface maas-tun2 with error [{u'netmask': [u'This netmask leaves no room for IP addresses.']}]. This is OK if it already exists.
Sep 30 01:42:48 unleashed maas.api: [INFO] New cluster controller registered: maas
Sep 30 01:43:25 unleashed maas.tftp: [WARNING] No boot images have been imported yet.
And the Cluster is connected
Related branches
- Raphaël Badin (community): Approve
-
Diff: 139 lines (+63/-13)4 files modifiedsrc/maasserver/views/rpc.py (+10/-4)
src/maasserver/views/tests/test_rpc.py (+17/-7)
src/provisioningserver/rpc/clusterservice.py (+12/-2)
src/provisioningserver/rpc/tests/test_clusterservice.py (+24/-0)
- Graham Binns (community): Approve
-
Diff: 104 lines (+47/-18)2 files modifiedsrc/maasserver/rpc/regionservice.py (+32/-3)
src/maasserver/rpc/tests/test_regionservice.py (+15/-15)
Changed in maas: | |
importance: | Undecided → Critical |
assignee: | nobody → Gavin Panella (allenap) |
Changed in maas: | |
assignee: | Gavin Panella (allenap) → nobody |
milestone: | none → 1.7.0 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Could not register with region controller: INTERNAL SERVER ERROR.
This indicates there is a problem registering the cluster; we need the django log to see what the problem is.