Cluster is not getting connected

Bug #1590406 reported by Binoy M V
6
This bug affects 1 person
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-0ubuntu1 (trusty1)
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-controller
And gave 10.20.0.11 ( region IP) and secret value.

4) Configured the rc using following command.

sudo dpkg-reconfigure maas-region-controller
Gave 10.20.0.12 (cluster ip)

ubuntu@maasrc:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 52:54:00:3e:54:d1
          inet addr:192.168.122.194 Bcast:192.168.122.255 Mask:255.255.255.0
          inet6 addr: fe80::5054:ff:fe3e:54d1/64 Scope:Link
          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
          collisions:0 txqueuelen:1000
          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:ff:fe33:aa88/64 Scope:Link
          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
          collisions:0 txqueuelen:1000
          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
          collisions:0 txqueuelen:0
          RX bytes:96797016 (96.7 MB) TX bytes:96797016 (96.7 MB)

ubuntu@maascc:/var/log/maas$ ifconfig
eth0 Link encap:Ethernet HWaddr 52:54:00:35:9b:9f
          inet addr:192.168.122.93 Bcast:192.168.122.255 Mask:255.255.255.0
          inet6 addr: fe80::5054:ff:fe35:9b9f/64 Scope:Link
          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
          collisions:0 txqueuelen:1000
          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:ff:fe0e:a6bd/64 Scope:Link
          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
          collisions:0 txqueuelen:1000
          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
          collisions:0 txqueuelen:0
          RX bytes:332522 (332.5 KB) TX bytes:332522 (332.5 KB)

ubuntu@maascc:/var/log/maas$ tail -f clusterd.log

http://pastebin.com/swuRgiZa

ubuntu@maasrc:/var/log/maas$ dpkg -l '*maas*'|cat
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-================================-================================-============-===============================================================================
un maas <none> <none> (no description available)
ii maas-cli 1.9.3+bzr4577-0ubuntu1~trusty1 all MAAS command line API tool
un maas-cluster-controller <none> <none> (no description available)
ii maas-common 1.9.3+bzr4577-0ubuntu1~trusty1 all MAAS server common files
un maas-dhcp <none> <none> (no description available)
ii maas-dns 1.9.3+bzr4577-0ubuntu1~trusty1 all MAAS DNS server
ii maas-proxy 1.9.3+bzr4577-0ubuntu1~trusty1 all MAAS Caching Proxy
ii maas-region-controller 1.9.3+bzr4577-0ubuntu1~trusty1 all MAAS server complete region controller
ii maas-region-controller-min 1.9.3+bzr4577-0ubuntu1~trusty1 all MAAS Server minimum region controller
ii python-django-maas 1.9.3+bzr4577-0ubuntu1~trusty1 all MAAS server Django web framework
ii python-maas-client 1.9.3+bzr4577-0ubuntu1~trusty1 all MAAS python API client
ii python-maas-provisioningserver 1.9.3+bzr4577-0ubuntu1~trusty1 all MAAS server provisioning libraries
u

ubuntu@maascc:/var/log/maas$ dpkg -l '*maas*'|cat
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-================================-================================-============-===============================================================================
un maas <none> <none> (no description available)
ii maas-cli 1.9.3+bzr4577-0ubuntu1~trusty1 all MAAS command line API tool
ii maas-cluster-controller 1.9.3+bzr4577-0ubuntu1~trusty1 all MAAS server cluster controller
ii maas-common 1.9.3+bzr4577-0ubuntu1~trusty1 all MAAS server common files
ii maas-dhcp 1.9.3+bzr4577-0ubuntu1~trusty1 all MAAS DHCP server
ii maas-proxy 1.9.3+bzr4577-0ubuntu1~trusty1 all MAAS Caching Proxy
un maas-region-controller <none> <none> (no description available)
un maas-region-controller-min <none> <none> (no description available)
ii python-django-maas 1.9.3+bzr4577-0ubuntu1~trusty1 all MAAS server Django web framework
ii python-maas-client 1.9.3+bzr4577-0ubuntu1~trusty1 all MAAS python API client
ii python-maas-provisioningserver 1.9.3+bzr4577-0ubuntu1~trusty1 all MAAS server provisioning libraries

Revision history for this message
Gavin Panella (allenap) wrote :

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.

Changed in maas:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for MAAS because there has been no activity for 60 days.]

Changed in maas:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.