Paste #545127

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
Hi. I am Using MAAS 1.9.3 on Ubuntu 14.04[trusty].  I am using DELL servers. Power type is IPMI. Power driver as LAN_2_0[IPMI 2.0]. 

I followed http://www.ubuntu.com/download/cloud/install-openstack-with-autopilot. I want to deploy OpenStack using Autopilot on top of Ubuntu 14.04.

Ubuntu MAAS not recognizing Nodes storage devices. Without recognizing nodes it was moving to "Ready" state and the power state is "on". 

And When I tried to deploy Nodes it was showing    "The deploy action for 1 node failed with error: {"network": ["Node must be configured to use a network"]}"


Logs
=====

maas.log
=========

Aug  1 17:01:57 maas-admin maas.service_monitor: [INFO] Service 'maas-dhcpd' has been restarted. Its current state is 'on' and 'running'.
Aug  1 17:02:28 maas-admin maas.lease_upload_service: [INFO] Uploading 0 DHCP leases to region controller.
Aug  1 17:02:28 maas-admin maas.import-images: [INFO] Started importing boot images.
Aug  1 17:02:29 maas-admin maas.import-images: [WARNING] Finished importing boot images, the region does not have any boot images available.
Aug  1 17:02:29 maas-admin maas.tftp: [WARNING] No boot images have been imported from the region.
Aug  1 17:07:28 maas-admin maas.import-images: [INFO] Started importing boot images.
Aug  1 17:07:29 maas-admin maas.import-images: [WARNING] Finished importing boot images, the region does not have any boot images available.
Aug  1 17:07:29 maas-admin maas.tftp: [WARNING] No boot images have been imported from the region.
Aug  1 17:12:28 maas-admin maas.import-images: [INFO] Started importing boot images.
Aug  1 17:14:29 maas-admin maas.import-images: [INFO] Writing boot image metadata and iSCSI targets.
Aug  1 17:14:29 maas-admin maas.import-images: [INFO] Installing boot images snapshot /var/lib/maas/boot-resources/snapshot-20160801-114229
Aug  1 17:15:18 maas-admin maas.import-images: [INFO] Updating boot image iSCSI targets.
Aug  1 17:15:18 maas-admin maas.import-images: [INFO] Cleaning up old snapshots and cache.
Aug  1 17:15:18 maas-admin maas.import-images: [INFO] Finished importing boot images.
Aug  1 17:20:57 maas-admin maas.bootresources: [INFO] Finished importing of boot images from 1 source(s).
Aug  1 17:20:57 maas-admin maas.import-images: [INFO] Started importing boot images.
Aug  1 17:21:10 maas-admin maas.import-images: [INFO] Writing boot image metadata and iSCSI targets.
Aug  1 17:21:10 maas-admin maas.import-images: [INFO] Installing boot images snapshot /var/lib/maas/boot-resources/snapshot-20160801-115058
Aug  1 17:21:59 maas-admin maas.import-images: [INFO] Updating boot image iSCSI targets.
Aug  1 17:21:59 maas-admin maas.import-images: [INFO] Cleaning up old snapshots and cache.
Aug  1 17:22:00 maas-admin maas.import-images: [INFO] Finished importing boot images.
Aug  1 17:28:32 maas-admin maas.service_monitor: [INFO] Service 'maas-dhcpd' has been restarted. Its current state is 'on' and 'running'.
Aug  1 17:37:28 maas-admin maas.import-images: [INFO] Started importing boot images.
Aug  1 17:37:29 maas-admin maas.lease_upload_service: [INFO] Uploading 1 DHCP leases to region controller.
Aug  1 17:37:29 maas-admin maas.import-images: [INFO] Finished importing boot images, the region does not have any new images.
Aug  1 17:37:43 maas-admin maas.api: [INFO] rich-oil: Enlisted new node
Aug  1 17:37:43 maas-admin maas.dns: [INFO] Generating new DNS zone file for maas
Aug  1 17:37:43 maas-admin maas.dns: [INFO] Generating new DNS zone file for 10.168.192.in-addr.arpa
Aug  1 17:37:44 maas-admin maas.power: [INFO] rich-oil: Power state has changed from unknown to on.
Aug  1 17:38:28 maas-admin maas.lease_upload_service: [INFO] Uploading 2 DHCP leases to region controller.
Aug  1 17:42:58 maas-admin maas.power: [INFO] rich-oil: Power state has changed from on to off.
Aug  1 17:49:05 maas-admin maas.node: [INFO] rich-oil: Status transition from NEW to COMMISSIONING
Aug  1 17:49:05 maas-admin maas.power: [INFO] Changing power state (on) of node: rich-oil (node-8d1bc364-57e0-11e6-bcc1-080027893615)
Aug  1 17:49:05 maas-admin maas.node: [INFO] rich-oil: Commissioning started
Aug  1 17:49:07 maas-admin maas.power: [INFO] Changed power state (on) of node: rich-oil (node-8d1bc364-57e0-11e6-bcc1-080027893615)
Aug  1 17:53:29 maas-admin maas.lease_upload_service: [INFO] Uploading 3 DHCP leases to region controller.
Aug  1 17:54:46 maas-admin maas.node: [INFO] rich-oil: Status transition from COMMISSIONING to READY
Aug  1 17:55:06 maas-admin maas.node_query: [INFO] rich-oil: Power is on.
Aug  1 17:55:28 maas-admin maas.lease_upload_service: [INFO] Uploading 4 DHCP leases to region controller.
Aug  1 17:57:28 maas-admin maas.import-images: [INFO] Started importing boot images.
Aug  1 17:57:29 maas-admin maas.import-images: [INFO] Finished importing boot images, the region does not have any new images.
Aug  1 17:58:00 maas-admin maas.bootsources: [INFO] Updated boot sources cache.
Aug  1 17:58:00 maas-admin maas.bootresources: [INFO] Started importing of boot images from 1 source(s).
Aug  1 17:58:34 maas-admin maas.bootresources: [INFO] Importing images from source: http://maas.ubuntu.com/images/ephemeral-v2/releases/
Aug  1 17:59:11 maas-admin maas.bootresources: [INFO] Finished importing of boot images from 1 source(s).
Aug  1 17:59:11 maas-admin maas.import-images: [INFO] Started importing boot images.
Aug  1 17:59:11 maas-admin maas.import-images: [INFO] Finished importing boot images, the region does not have any new images.
Aug  1 18:17:28 maas-admin maas.import-images: [INFO] Started importing boot images.
Aug  1 18:17:29 maas-admin maas.import-images: [INFO] Finished importing boot images, the region does not have any new images.



regiond.log
===========
2016-08-01 18:21:30 [-] Error on request (132) node.action: {"network": ["Node must be configured to use a network"]}
        Traceback (most recent call last):
          File "/usr/lib/python2.7/threading.py", line 783, in __bootstrap
            self.__bootstrap_inner()
          File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
            self.run()
          File "/usr/lib/python2.7/threading.py", line 763, in run
            self.__target(*self.__args, **self.__kwargs)
          File "/usr/lib/python2.7/dist-packages/provisioningserver/utils/twisted.py", line 793, in worker
            return target()
        --- <exception caught here> ---
          File "/usr/lib/python2.7/dist-packages/twisted/python/threadpool.py", line 191, in _worker
            result = context.call(ctx, function, *args, **kwargs)
          File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext
            return self.currentContext().callWithContext(ctx, func, *args, **kw)
          File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext
            return func(*args,**kw)
          File "/usr/lib/python2.7/dist-packages/provisioningserver/utils/twisted.py", line 826, in callInContext
            return func(*args, **kwargs)
          File "/usr/lib/python2.7/dist-packages/maasserver/utils/orm.py", line 501, in call_within_transaction
            return func_outside_txn(*args, **kwargs)
          File "/usr/lib/python2.7/dist-packages/maasserver/utils/orm.py", line 328, in retrier
            return func(*args, **kwargs)
          File "/usr/lib/python2.7/dist-packages/django/db/transaction.py", line 339, in inner
            return func(*args, **kwargs)
          File "/usr/lib/python2.7/dist-packages/maasserver/websockets/handlers/node.py", line 1070, in action
            return action.execute(**extra_params)
          File "/usr/lib/python2.7/dist-packages/maasserver/node_action.py", line 327, in execute
            self.node.start(self.user)
          File "/usr/lib/python2.7/dist-packages/maasserver/utils/orm.py", line 485, in call_within_transaction
            return func_within_txn(*args, **kwargs)
          File "/usr/lib/python2.7/dist-packages/django/db/transaction.py", line 339, in inner
            return func(*args, **kwargs)
          File "/usr/lib/python2.7/dist-packages/maasserver/models/node.py", line 2538, in start
            return self._start(user, user_data)
          File "/usr/lib/python2.7/dist-packages/maasserver/utils/orm.py", line 485, in call_within_transaction
            return func_within_txn(*args, **kwargs)
          File "/usr/lib/python2.7/dist-packages/django/db/transaction.py", line 339, in inner
            return func(*args, **kwargs)
          File "/usr/lib/python2.7/dist-packages/maasserver/models/node.py", line 2585, in _start
            self._start_deployment()
          File "/usr/lib/python2.7/dist-packages/maasserver/models/node.py", line 848, in _start_deployment
            ["Node must be configured to use a network"]})
        django.core.exceptions.ValidationError: {u'network': [u'Node must be configured to use a network']}


2016-08-01 18:57:43+0530 [-] TFTP starting on 69
2016-08-01 18:57:43+0530 [-] Starting protocol <tftp.protocol.TFTP instance at 0x7fb9e20d0098>
2016-08-01 18:57:43+0530 [-] TFTP Listener started at 192.168.10.15:69
2016-08-01 18:57:43+0530 [-] TFTP starting on 69
2016-08-01 18:57:43+0530 [-] Starting protocol <tftp.protocol.TFTP instance at 0x7fb9e20d0488>
2016-08-01 18:57:43+0530 [-] TFTP Listener started at 127.0.0.1:69
2016-08-01 18:57:43+0530 [-] TFTP starting on 69
2016-08-01 18:57:43+0530 [-] Starting protocol <tftp.protocol.TFTP instance at 0x7fb9e20d06c8>
2016-08-01 18:57:43+0530 [-] TFTP Listener started at ::1:69
2016-08-01 18:57:43+0530 [Uninitialized] Region not available: Connection was refused by other side: 111: Connection refused. (While requesting RPC info at http://192.168.10.15/MAAS/rpc/).
2016-08-01 18:57:45+0530 [HTTPPageGetter,client] Region is not advertising RPC endpoints.
2016-08-01 18:57:47+0530 [HTTPPageGetter,client] Region is not advertising RPC endpoints.
2016-08-01 18:57:49+0530 [HTTPPageGetter,client] Region is not advertising RPC endpoints.
2016-08-01 18:57:51+0530 [Uninitialized] ClusterClient connection established (HOST:IPv4Address(TCP, '127.0.0.1', 46083) PEER:IPv4Address(TCP, u'127.0.0.1', 5253))
2016-08-01 18:57:51+0530 [Uninitialized] ClusterClient connection established (HOST:IPv4Address(TCP, '192.168.10.15', 55986) PEER:IPv4Address(TCP, u'192.168.10.15', 5250))
2016-08-01 18:57:51+0530 [Uninitialized] ClusterClient connection established (HOST:IPv4Address(TCP, '127.0.0.1', 56778) PEER:IPv4Address(TCP, u'127.0.0.1', 5251))
2016-08-01 18:57:53+0530 [ClusterClient,client] Event-loop 'maas-admin:pid=550' authenticated.
2016-08-01 18:57:53+0530 [ClusterClient,client] Event-loop 'maas-admin:pid=555' authenticated.
2016-08-01 18:57:53+0530 [Uninitialized] ClusterClient connection established (HOST:IPv4Address(TCP, '127.0.0.1', 48334) PEER:IPv4Address(TCP, u'127.0.0.1', 5252))
2016-08-01 18:57:53+0530 [ClusterClient,client] Event-loop 'maas-admin:pid=558' authenticated.
2016-08-01 18:57:53+0530 [ClusterClient,client] Event-loop 'maas-admin:pid=575' authenticated.
2016-08-01 18:57:53+0530 [ClusterClient,client] Cluster '26974af8-0ee9-4b0a-ae37-fd93009078ab' registered (via maas-admin:pid=555).
2016-08-01 18:57:53+0530 [ClusterClient,client] Cluster '26974af8-0ee9-4b0a-ae37-fd93009078ab' registered (via maas-admin:pid=575).
2016-08-01 18:57:53+0530 [ClusterClient,client] Cluster '26974af8-0ee9-4b0a-ae37-fd93009078ab' registered (via maas-admin:pid=550).
2016-08-01 18:57:54+0530 [ClusterClient,client] Cluster '26974af8-0ee9-4b0a-ae37-fd93009078ab' registered (via maas-admin:pid=558).
2016-08-01 18:58:01+0530 [HTTPPageGetter,client] Region is not advertising RPC endpoints.
2016-08-01 18:58:03+0530 [HTTPPageGetter,client] Region is not advertising RPC endpoints.
2016-08-01 18:58:05+0530 [HTTPPageGetter,client] Region is not advertising RPC endpoints.
2016-08-01 18:58:11+0530 [HTTPPageGetter,client] Region is not advertising RPC endpoints.
2016-08-01 18:58:13+0530 [HTTPPageGetter,client] Region is not advertising RPC endpoints.
2016-08-01 18:58:15+0530 [HTTPPageGetter,client] Region is not advertising RPC endpoints.
2016-08-01 18:58:17+0530 [HTTPPageGetter,client] Region is not advertising RPC endpoints.




vedams@maas-admin:~$ 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
+++-===================================-================================-============-===============================================================================
ii  maas                                1.9.3+bzr4577-0ubuntu1~trusty1   all          MAAS server all-in-one metapackage
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-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