Activity log for bug #1280486

Date Who What changed Old value New value Message
2014-02-14 23:20:00 Jeff Lane  bug added bug
2014-02-22 07:43:52 Jeff Lane  summary maas-test failed to power system on to run commission test maas fails to set a power type after enlistment
2014-02-22 07:45:55 Jeff Lane  description bladernr@maas-test:~$ sudo maas-test --bmc-ip 10.0.0.5 --bmc-username ADMIN --bmc-password insecure --maas-series trusty --series trusty eth0 2014-02-14 16:14:26,688 INFO Checking for KVM extensions. 2014-02-14 16:14:26,699 INFO Checking for virtualised hardware... 2014-02-14 16:14:26,751 INFO Scanning for unexpected DHCP servers on testing network... 2014-02-14 16:14:29,785 INFO Checking for running proxy instance... 2014-02-14 16:14:29,785 INFO Starting proxy... 2014-02-14 16:14:29,788 INFO Done starting proxy. 2014-02-14 16:14:29,807 INFO Downloading KVM image for series=trusty, arch=amd64... 2014-02-14 16:14:34,002 INFO Done downloading KVM image for series=trusty, arch=amd64. 2014-02-14 16:14:34,003 INFO Creating virtual machine fdf10b3c-95bc-11e3-bbd7-001f16355790, arch=amd64... 2014-02-14 16:14:36,508 INFO Done creating virtual machine fdf10b3c-95bc-11e3-bbd7-001f16355790, arch=amd64. 2014-02-14 16:14:36,509 INFO Waiting for the virtual machine to come up... 2014-02-14 16:14:57,033 INFO Virtual machine is running. 2014-02-14 16:14:57,034 INFO Waiting for cloud-init to finish its work... 2014-02-14 16:15:27,652 INFO Cloud-init run finished. 2014-02-14 16:15:27,652 INFO Configuring network interface on virtual machine fdf10b3c-95bc-11e3-bbd7-001f16355790... 2014-02-14 16:15:35,047 INFO Done configuring network interface on virtual machine fdf10b3c-95bc-11e3-bbd7-001f16355790 2014-02-14 16:15:37,749 INFO Virtual machine fdf10b3c-95bc-11e3-bbd7-001f16355790 is ready. 2014-02-14 16:15:53,851 INFO Installing MAAS (version 1.5+bzr1909-0ubuntu1)... 2014-02-14 16:17:44,616 INFO Done installing MAAS. 2014-02-14 16:17:54,738 INFO Importing MAAS PXE files series=trusty, architectures=amd64/generic i386/generic... 2014-02-14 16:21:36,461 INFO Done importing MAAS PXE Files. 2014-02-14 16:21:37,659 INFO MAAS server URL: http://192.168.122.148/MAAS/ username:admin, password:edlOZSRM 2014-02-14 16:21:37,659 INFO SSH login: sudo ssh -i /var/cache/maas-test/vm_ssh_id_rsa ubuntu@192.168.122.148 test_power_up_node (maastest.main.ConfiguredTestMAAS) ... ok test_enlist_node (maastest.main.ConfiguredTestMAAS) ... ok test_wait_node_down (maastest.main.ConfiguredTestMAAS) ... ok test_commission_node (maastest.main.ConfiguredTestMAAS) ... I ran maas-test as noted in the CLI above. It sent a power-on to the BMC of my server and the server PXE booted and succeeded in enlistment. maas-test then went to the comissioning test and failed to power on the server. Thanks to an update that provides the IP and login data for the MAAS vm that maas test creates, I was able to log ito the maas dashboard and take a look. It showed my server as a node ready to be comissioned. The maas dashboard ALSO, however was giving the warning about not having a power type set. I looked into the node data itself and sure enough, no power type was set. I logged into the BMC manually and powered the server on and it boted and completed commissioning and passe the test. So it seems that maas test sent IPMI commands to initiate the enlistment, but then failed to do likewise for the commissioning. As a final check, just to make sure things weren't wonky on the server, I powered it on remotely via ipmitool from my maas-test machine: ladernr@maas-test:~$ sudo ipmitool -H 10.0.0.5 -U ADMIN -P insecure power on Chassis Power Control: Up/On and off: bladernr@maas-test:~$ sudo ipmitool -H 10.0.0.5 -U ADMIN -P insecure power off Chassis Power Control: Down/Off EDIT: I initially filed this against the latest version of maas-test on trusty. But after bringing up my full maas server and trying the latest trusty version of maas, I have confirmed that this is actually a maas bug. After enlistment, the node powers off, and is listed in the node list. However, no power type is set by the maas server, meaning every server I enlist has to be manually edited in order to be commissioned. I have now seen this with both maas and maas-test on two different systems, one a NUC using AMT and one a SuperMicro using IPMI. bladernr@maas-test:~$ sudo maas-test --bmc-ip 10.0.0.5 --bmc-username ADMIN --bmc-password insecure --maas-series trusty --series trusty eth0 2014-02-14 16:14:26,688 INFO Checking for KVM extensions. 2014-02-14 16:14:26,699 INFO Checking for virtualised hardware... 2014-02-14 16:14:26,751 INFO Scanning for unexpected DHCP servers on testing network... 2014-02-14 16:14:29,785 INFO Checking for running proxy instance... 2014-02-14 16:14:29,785 INFO Starting proxy... 2014-02-14 16:14:29,788 INFO Done starting proxy. 2014-02-14 16:14:29,807 INFO Downloading KVM image for series=trusty, arch=amd64... 2014-02-14 16:14:34,002 INFO Done downloading KVM image for series=trusty, arch=amd64. 2014-02-14 16:14:34,003 INFO Creating virtual machine fdf10b3c-95bc-11e3-bbd7-001f16355790, arch=amd64... 2014-02-14 16:14:36,508 INFO Done creating virtual machine fdf10b3c-95bc-11e3-bbd7-001f16355790, arch=amd64. 2014-02-14 16:14:36,509 INFO Waiting for the virtual machine to come up... 2014-02-14 16:14:57,033 INFO Virtual machine is running. 2014-02-14 16:14:57,034 INFO Waiting for cloud-init to finish its work... 2014-02-14 16:15:27,652 INFO Cloud-init run finished. 2014-02-14 16:15:27,652 INFO Configuring network interface on virtual machine fdf10b3c-95bc-11e3-bbd7-001f16355790... 2014-02-14 16:15:35,047 INFO Done configuring network interface on virtual machine fdf10b3c-95bc-11e3-bbd7-001f16355790 2014-02-14 16:15:37,749 INFO Virtual machine fdf10b3c-95bc-11e3-bbd7-001f16355790 is ready. 2014-02-14 16:15:53,851 INFO Installing MAAS (version 1.5+bzr1909-0ubuntu1)... 2014-02-14 16:17:44,616 INFO Done installing MAAS. 2014-02-14 16:17:54,738 INFO Importing MAAS PXE files series=trusty, architectures=amd64/generic i386/generic... 2014-02-14 16:21:36,461 INFO Done importing MAAS PXE Files. 2014-02-14 16:21:37,659 INFO MAAS server URL: http://192.168.122.148/MAAS/ username:admin, password:edlOZSRM 2014-02-14 16:21:37,659 INFO SSH login: sudo ssh -i /var/cache/maas-test/vm_ssh_id_rsa ubuntu@192.168.122.148 test_power_up_node (maastest.main.ConfiguredTestMAAS) ... ok test_enlist_node (maastest.main.ConfiguredTestMAAS) ... ok test_wait_node_down (maastest.main.ConfiguredTestMAAS) ... ok test_commission_node (maastest.main.ConfiguredTestMAAS) ... I ran maas-test as noted in the CLI above. It sent a power-on to the BMC of my server and the server PXE booted and succeeded in enlistment. maas-test then went to the comissioning test and failed to power on the server. Thanks to an update that provides the IP and login data for the MAAS vm that maas test creates, I was able to log ito the maas dashboard and take a look. It showed my server as a node ready to be comissioned. The maas dashboard ALSO, however was giving the warning about not having a power type set. I looked into the node data itself and sure enough, no power type was set. I logged into the BMC manually and powered the server on and it boted and completed commissioning and passe the test. So it seems that maas test sent IPMI commands to initiate the enlistment, but then failed to do likewise for the commissioning. As a final check, just to make sure things weren't wonky on the server, I powered it on remotely via ipmitool from my maas-test machine: ladernr@maas-test:~$ sudo ipmitool -H 10.0.0.5 -U ADMIN -P insecure power on Chassis Power Control: Up/On and off: bladernr@maas-test:~$ sudo ipmitool -H 10.0.0.5 -U ADMIN -P insecure power off Chassis Power Control: Down/Off
2014-02-22 07:46:02 Jeff Lane  affects maas-test maas
2014-02-24 00:14:42 Julian Edwards maas: status New Incomplete
2014-04-22 18:13:28 Jeff Lane  maas: status Incomplete Confirmed
2014-04-22 19:29:43 Jeff Lane  summary maas fails to set a power type after enlistment maas fails to set a power type after enlistment on AMT based systems
2014-04-23 06:39:13 Julian Edwards maas: status Confirmed Triaged
2014-04-23 06:39:15 Julian Edwards maas: importance Undecided High
2014-04-23 06:39:19 Julian Edwards tags server-hwe
2014-04-23 06:39:23 Julian Edwards tags server-hwe power server-hwe
2014-05-15 09:07:25 Raphaël Badin tags power server-hwe amt power server-hwe
2015-01-08 14:02:37 Christian Reis marked as duplicate 1389799