Private bug reported:

Unable to provision Ubuntu 14.04 on Cisco UCS C220 M4 using the MaaS
server.

Steps to reproduce:
1. Connect the node to the MaaS server and enable the network boot.
2. The node boots up while the MaaS provisioning completes and powers off as 
expected.
3. Once, we have a look at the node page in MaaS webpage, the power type of the 
node remains unselected, thus rendering the node unusable to provision Ubuntu 
14.04.

Ubuntu 14.04
MaaS package version used: 1.5.2+bzr2282-0ubuntu0.2

Actual result:

MaaS fails to create the user called "maas" using ipmitool. This would
lead to a situation where the node cannot be controlled by MaaS using
IPMI.

Expected result:

MaaS should be able to create the IPMI user and successfully provision
Ubuntu 14.04 on the node.

Additional Info:
Created a backdoor and logged in to check what was happening and a traceback 
was observed while running the maas-ipmi-autodetect script.

<snip>
Cloud-init v. 0.7.5 running 'modules:final' at Mon, 25 Aug 2014 09:24:34 +0000. 
Up 155.95 seconds.
Traceback (most recent call last):
  File "/tmp/sh.oOCahB/bin/maas-ipmi-autodetect", line 312, in <module>
    main()
  File "/tmp/sh.oOCahB/bin/maas-ipmi-autodetect", line 278, in main
    configure_ipmi_user(IPMI_MAAS_USER, IPMI_MAAS_PASSWORD)
  File "/tmp/sh.oOCahB/bin/maas-ipmi-autodetect", line 218, in 
configure_ipmi_user
    apply_ipmi_user_settings(user_settings)
  File "/tmp/sh.oOCahB/bin/maas-ipmi-autodetect", line 193, in 
apply_ipmi_user_settings
    bmc_user_set(ipmi_user_number, key, value)
  File "/tmp/sh.oOCahB/bin/maas-ipmi-autodetect", line 84, in bmc_user_set
    bmc_set(key, value)
  File "/tmp/sh.oOCahB/bin/maas-ipmi-autodetect", line 62, in bmc_set
    run_command(command)
  File "/tmp/sh.oOCahB/bin/maas-ipmi-autodetect", line 48, in run_command
    output = subprocess.check_output(command_args, stderr=subprocess.STDOUT)
  File "/usr/lib/python2.7/subprocess.py", line 573, in check_output
    raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '('bmc-config', '--commit', 
'--key-pair=User2:Username=maas')' returned non-zero exit status 1
grep: write error
</snip>

Note: MaaS was able to successfully provision a C 220 M3 node without
any issues. The IPMI user called "maas" was created.

** Affects: maas-provision (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "cloud-init-output.log"
   
https://bugs.launchpad.net/bugs/1361472/+attachment/4187078/+files/cloud-init-output.log

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas-provision in Ubuntu.
https://bugs.launchpad.net/bugs/1361472

Title:
  MaaS IPMI user cannot be created on C220 M4

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas-provision/+bug/1361472/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to