Cluster is not getting connected
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Expired
|
Undecided
|
Unassigned |
Bug Description
Hi,
My cluster is not getting connected to region controller. When I took cluster page in the region controller GUI I can see that cluster is not connected. Following are the details of the setup.
1) Using MAAS Version 1.9.3+bzr4577-
2) One node having region controller and another node having cluster controller.
3) After the installation I have configured the cc using the following command.
sudo dpkg-reconfigure maas-cluster-
And gave 10.20.0.11 ( region IP) and secret value.
4) Configured the rc using following command.
sudo dpkg-reconfigure maas-region-
Gave 10.20.0.12 (cluster ip)
ubuntu@maasrc:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 52:54:00:3e:54:d1
inet addr:192.
inet6 addr: fe80::5054:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:15068 errors:0 dropped:3 overruns:0 frame:0
TX packets:8454 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:4486681 (4.4 MB) TX bytes:3635119 (3.6 MB)
eth1 Link encap:Ethernet HWaddr 52:54:00:33:aa:88
inet addr:10.20.0.11 Bcast:10.20.0.255 Mask:255.255.255.0
inet6 addr: fe80::5054:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:30149 errors:0 dropped:0 overruns:0 frame:0
TX packets:17807 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:2251146 (2.2 MB) TX bytes:2779513 (2.7 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:345357 errors:0 dropped:0 overruns:0 frame:0
TX packets:345357 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:96797016 (96.7 MB) TX bytes:96797016 (96.7 MB)
ubuntu@
eth0 Link encap:Ethernet HWaddr 52:54:00:35:9b:9f
inet addr:192.168.122.93 Bcast:192.
inet6 addr: fe80::5054:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16797 errors:0 dropped:4 overruns:0 frame:0
TX packets:27722 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:1306865 (1.3 MB) TX bytes:11290015 (11.2 MB)
eth1 Link encap:Ethernet HWaddr 52:54:00:0e:a6:bd
inet addr:10.20.0.12 Bcast:10.20.0.255 Mask:255.255.255.0
inet6 addr: fe80::5054:
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:17417 errors:0 dropped:0 overruns:0 frame:0
TX packets:29688 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:2124185 (2.1 MB) TX bytes:2171616 (2.1 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:6493 errors:0 dropped:0 overruns:0 frame:0
TX packets:6493 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:332522 (332.5 KB) TX bytes:332522 (332.5 KB)
ubuntu@
ubuntu@
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
un maas <none> <none> (no description available)
ii maas-cli 1.9.3+bzr4577-
un maas-cluster-
ii maas-common 1.9.3+bzr4577-
un maas-dhcp <none> <none> (no description available)
ii maas-dns 1.9.3+bzr4577-
ii maas-proxy 1.9.3+bzr4577-
ii maas-region-
ii maas-region-
ii python-django-maas 1.9.3+bzr4577-
ii python-maas-client 1.9.3+bzr4577-
ii python-
u
ubuntu@
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
un maas <none> <none> (no description available)
ii maas-cli 1.9.3+bzr4577-
ii maas-cluster-
ii maas-common 1.9.3+bzr4577-
ii maas-dhcp 1.9.3+bzr4577-
ii maas-proxy 1.9.3+bzr4577-
un maas-region-
un maas-region-
ii python-django-maas 1.9.3+bzr4577-
ii python-maas-client 1.9.3+bzr4577-
ii python-
Check permissions on the /var/lib/maas directory; it should be owned by maas:maas. Specifically the failure is when MAAS is creating a file at /var/lib/ maas/secret. lock but filesystem permissions prevent it.