I am using maas-1.9.0+bzr4533-0ubuntu1~trusty1
When trying to commission a node, I see the following at the
end of the commissioning stage:
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
Success
request to http://192.168.10.202/MAAS/metadata//2012-03-01/ failed. sleeping 1.:
HTTP Error 400: BAD REQUEST
request to http://192.168.10.202/MAAS/metadata//2012-03-01/ failed. sleeping 1.:
HTTP Error 400: BAD REQUEST
request to http://192.168.10.202/MAAS/metadata//2012-03-01/ failed. sleeping 2.:
HTTP Error 400: BAD REQUEST
[ message repeats a few times ]
http error [400]
Success
Success
Success
Success
Success
Success
Success
I've dumped the HTTP requests and it appears that the failure
is to upload the 00-maas-07-block-devices.out file. All other files
are uploaded fine, I can see them in the commissioning output in UI.
Only this one fails, and as the result:
Storage
0.0GB over 0 disks
which is, of course, not what was expected.
The only mentioning in the logs I could find, was this in regiond.log:
2016-01-28 16:57:21 [-] 127.0.0.1 - - [28/Jan/2016:13:57:21 +0000] "POST /MAAS/metadata/2012-03-01/ HTTP/1.1" 200 2 "-" "Python-urllib/2.7"
2016-01-28 16:57:26 [-] 127.0.0.1 - - [28/Jan/2016:13:57:25 +0000] "POST /MAAS/metadata/2012-03-01/ HTTP/1.1" 200 2 "-" "Python-urllib/2.7"
2016-01-28 16:57:27 [-] 127.0.0.1 - - [28/Jan/2016:13:57:26 +0000] "POST /MAAS/metadata/2012-03-01/ HTTP/1.1" 200 2 "-" "Python-urllib/2.7"
2016-01-28 16:57:27 [-] 127.0.0.1 - - [28/Jan/2016:13:57:27 +0000] "POST /MAAS/metadata/2012-03-01/ HTTP/1.1" 200 2 "-" "Python-urllib/2.7"
2016-01-28 16:57:28 [-] 127.0.0.1 - - [28/Jan/2016:13:57:27 +0000] "POST /MAAS/metadata/2012-03-01/ HTTP/1.1" 200 2 "-" "Python-urllib/2.7"
2016-01-28 16:57:33 [-] 127.0.0.1 - - [28/Jan/2016:13:57:33 +0000] "POST /MAAS/metadata/2012-03-01/ HTTP/1.1" 200 2 "-" "Python-urllib/2.7"
2016-01-28 16:57:34 [-] 127.0.0.1 - - [28/Jan/2016:13:57:33 +0000] "POST /MAAS/metadata/2012-03-01/ HTTP/1.1" 200 2 "-" "Python-urllib/2.7"
2016-01-28 16:57:34 [-] 127.0.0.1 - - [28/Jan/2016:13:57:34 +0000] "POST /MAAS/metadata/2012-03-01/ HTTP/1.1" 200 2 "-" "Python-urllib/2.7"
2016-01-28 16:57:35 [-] 127.0.0.1 - - [28/Jan/2016:13:57:35 +0000] "POST /MAAS/metadata/2012-03-01/ HTTP/1.1" 200 2 "-" "Python-urllib/2.7"
2016-01-28 16:57:36 [-] 127.0.0.1 - - [28/Jan/2016:13:57:36 +0000] "POST /MAAS/metadata/2012-03-01/ HTTP/1.1" 200 2 "-" "Python-urllib/2.7"
2016-01-28 16:57:37 [-] 127.0.0.1 - - [28/Jan/2016:13:57:36 +0000] "POST /MAAS/metadata/2012-03-01/ HTTP/1.1" 200 2 "-" "Python-urllib/2.7"
2016-01-28 16:57:38 [-] 127.0.0.1 - - [28/Jan/2016:13:57:37 +0000] "POST /MAAS/metadata/2012-03-01/ HTTP/1.1" 400 68 "-" "Python-urllib/2.7"
2016-01-28 16:57:39 [-] 127.0.0.1 - - [28/Jan/2016:13:57:38 +0000] "POST /MAAS/metadata/2012-03-01/ HTTP/1.1" 400 68 "-" "Python-urllib/2.7"
2016-01-28 16:57:40 [-] 127.0.0.1 - - [28/Jan/2016:13:57:40 +0000] "POST /MAAS/metadata/2012-03-01/ HTTP/1.1" 400 68 "-" "Python-urllib/2.7"
2016-01-28 16:57:42 [-] 127.0.0.1 - - [28/Jan/2016:13:57:42 +0000] "POST /MAAS/metadata/2012-03-01/ HTTP/1.1" 400 68 "-" "Python-urllib/2.7"
2016-01-28 16:57:47 [-] 127.0.0.1 - - [28/Jan/2016:13:57:46 +0000] "POST /MAAS/metadata/2012-03-01/ HTTP/1.1" 400 68 "-" "Python-urllib/2.7"
2016-01-28 16:57:48 [-] 127.0.0.1 - - [28/Jan/2016:13:57:48 +0000] "GET /MAAS/rpc/ HTTP/1.1" 200 412 "-" "provisioningserver.rpc.clusterserv
ice.ClusterClientService"
2016-01-28 16:57:55 [-] 127.0.0.1 - - [28/Jan/2016:13:57:54 +0000] "POST /MAAS/metadata/2012-03-01/ HTTP/1.1" 400 68 "-" "Python-urllib/2.7"
2016-01-28 16:58:11 [-] 127.0.0.1 - - [28/Jan/2016:13:58:11 +0000] "POST /MAAS/metadata/2012-03-01/ HTTP/1.1" 400 68 "-" "Python-urllib/2.7"
2016-01-28 16:58:18 [-] 127.0.0.1 - - [28/Jan/2016:13:58:18 +0000] "GET /MAAS/rpc/ HTTP/1.1" 200 412 "-" "provisioningserver.rpc.clusterserv
ice.ClusterClientService"
2016-01-28 16:58:44 [-] 127.0.0.1 - - [28/Jan/2016:13:58:43 +0000] "POST /MAAS/metadata/2012-03-01/ HTTP/1.1" 200 2 "-" "Python-urllib/2.7"
2016-01-28 16:58:44 [-] 127.0.0.1 - - [28/Jan/2016:13:58:44 +0000] "POST /MAAS/metadata/2012-03-01/ HTTP/1.1" 200 2 "-" "Python-urllib/2.7"
2016-01-28 16:58:45 [-] 127.0.0.1 - - [28/Jan/2016:13:58:44 +0000] "POST /MAAS/metadata/2012-03-01/ HTTP/1.1" 200 2 "-" "Python-urllib/2.7"
2016-01-28 16:58:46 [-] 127.0.0.1 - - [28/Jan/2016:13:58:45 +0000] "POST /MAAS/metadata/2012-03-01/ HTTP/1.1" 200 2 "-" "Python-urllib/2.7"
2016-01-28 16:58:46 [-] 127.0.0.1 - - [28/Jan/2016:13:58:46 +0000] "POST /MAAS/metadata/2012-03-01/ HTTP/1.1" 200 2 "-" "Python-urllib/2.7"
2016-01-28 16:58:47 [-] 127.0.0.1 - - [28/Jan/2016:13:58:47 +0000] "POST /MAAS/metadata/2012-03-01/ HTTP/1.1" 200 2 "-" "Python-urllib/2.7"
apache log is not much helpful too:
192.168.10.143 - - [02/Feb/2016:19:12:27 +0300] "POST /MAAS/metadata//2012-03-01/ HTTP/1.1" 200 300 "-" "Python-urllib/2.7"
192.168.10.143 - - [02/Feb/2016:19:12:31 +0300] "POST /MAAS/metadata//2012-03-01/ HTTP/1.1" 200 300 "-" "Python-urllib/2.7"
192.168.10.143 - - [02/Feb/2016:19:12:32 +0300] "POST /MAAS/metadata//2012-03-01/ HTTP/1.1" 200 300 "-" "Python-urllib/2.7"
192.168.10.143 - - [02/Feb/2016:19:12:33 +0300] "POST /MAAS/metadata//2012-03-01/ HTTP/1.1" 200 300 "-" "Python-urllib/2.7"
192.168.10.143 - - [02/Feb/2016:19:12:33 +0300] "POST /MAAS/metadata//2012-03-01/ HTTP/1.1" 200 300 "-" "Python-urllib/2.7"
192.168.10.143 - - [02/Feb/2016:19:12:35 +0300] "POST /MAAS/metadata//2012-03-01/ HTTP/1.1" 200 300 "-" "Python-urllib/2.7"
192.168.10.143 - - [02/Feb/2016:19:12:35 +0300] "POST /MAAS/metadata//2012-03-01/ HTTP/1.1" 200 300 "-" "Python-urllib/2.7"
192.168.10.143 - - [02/Feb/2016:19:12:36 +0300] "POST /MAAS/metadata//2012-03-01/ HTTP/1.1" 400 293 "-" "Python-urllib/2.7"
192.168.10.143 - - [02/Feb/2016:19:12:37 +0300] "POST /MAAS/metadata//2012-03-01/ HTTP/1.1" 400 293 "-" "Python-urllib/2.7"
192.168.10.143 - - [02/Feb/2016:19:12:38 +0300] "POST /MAAS/metadata//2012-03-01/ HTTP/1.1" 400 293 "-" "Python-urllib/2.7"
192.168.10.143 - - [02/Feb/2016:19:12:41 +0300] "POST /MAAS/metadata//2012-03-01/ HTTP/1.1" 400 293 "-" "Python-urllib/2.7"
192.168.10.143 - - [02/Feb/2016:19:12:45 +0300] "POST /MAAS/metadata//2012-03-01/ HTTP/1.1" 400 293 "-" "Python-urllib/2.7"
192.168.10.143 - - [02/Feb/2016:19:12:53 +0300] "POST /MAAS/metadata//2012-03-01/ HTTP/1.1" 400 293 "-" "Python-urllib/2.7"
192.168.10.202 - - [02/Feb/2016:19:12:57 +0300] "GET /MAAS/rpc/ HTTP/1.0" 200 598 "-" "provisioningserver.rpc.clusterservice.ClusterClientSe
rvice"
192.168.10.143 - - [02/Feb/2016:19:13:09 +0300] "POST /MAAS/metadata//2012-03-01/ HTTP/1.1" 400 293 "-" "Python-urllib/2.7"
192.168.10.202 - - [02/Feb/2016:19:13:27 +0300] "GET /MAAS/rpc/ HTTP/1.0" 200 598 "-" "provisioningserver.rpc.clusterservice.ClusterClientSe
rvice"
192.168.10.143 - - [02/Feb/2016:19:13:42 +0300] "POST /MAAS/metadata//2012-03-01/ HTTP/1.1" 200 300 "-" "Python-urllib/2.7"
192.168.10.143 - - [02/Feb/2016:19:13:43 +0300] "POST /MAAS/metadata//2012-03-01/ HTTP/1.1" 200 300 "-" "Python-urllib/2.7"
192.168.10.143 - - [02/Feb/2016:19:13:43 +0300] "POST /MAAS/metadata//2012-03-01/ HTTP/1.1" 200 300 "-" "Python-urllib/2.7"
192.168.10.143 - - [02/Feb/2016:19:13:44 +0300] "POST /MAAS/metadata//2012-03-01/ HTTP/1.1" 200 300 "-" "Python-urllib/2.7"
192.168.10.143 - - [02/Feb/2016:19:13:45 +0300] "POST /MAAS/metadata//2012-03-01/ HTTP/1.1" 200 300 "-" "Python-urllib/2.7"
192.168.10.143 - - [02/Feb/2016:19:13:45 +0300] "POST /MAAS/metadata//2012-03-01/ HTTP/1.1" 200 300 "-" "Python-urllib/2.7"
192.168.10.143 - - [02/Feb/2016:19:13:46 +0300] "POST /MAAS/metadata//2012-03-01/ HTTP/1.1" 200 300 "-" "Python-urllib/2.7"
As you can see, some POSTs got 200, and some (actually just one
but it repeats) is getting 400.
Where should I dig to investigate the problem?
# 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.0+bzr4533-0ubuntu1~trusty1 all MAAS server all-in-one metapackage
ii maas-cli 1.9.0+bzr4533-0ubuntu1~trusty1 all MAAS command line API tool
ii maas-cluster-controller 1.9.0+bzr4533-0ubuntu1~trusty1 all MAAS server cluster controller
ii maas-common 1.9.0+bzr4533-0ubuntu1~trusty1 all MAAS server common files
ii maas-dhcp 1.9.0+bzr4533-0ubuntu1~trusty1 all MAAS DHCP server
ii maas-dns 1.9.0+bzr4533-0ubuntu1~trusty1 all MAAS DNS server
ii maas-enlist 0.4+bzr38-0ubuntu1 armhf MAAS enlistment tool
ii maas-proxy 1.9.0+bzr4533-0ubuntu1~trusty1 all MAAS Caching Proxy
ii maas-region-controller 1.9.0+bzr4533-0ubuntu1~trusty1 all MAAS server complete region controller
ii maas-region-controller-min 1.9.0+bzr4533-0ubuntu1~trusty1 all MAAS Server minimum region controller
ii maas-test 0.1+bzr147-0ubuntu1 all Utility to test hardware compatibility with MAAS
ii python-django-maas 1.9.0+bzr4533-0ubuntu1~trusty1 all MAAS server Django web framework
ii python-maas-client 1.9.0+bzr4533-0ubuntu1~trusty1 all MAAS python API client
ii python-maas-provisioningserver 1.9.0+bzr4533-0ubuntu1~trusty1 all MAAS server provisioning libraries
Any chance you can login into the commissioning environment an obtain the file 00-maas- 07-block- devices. out ? Also, what type of storage do you have connected?