[Maas-devel] APC PDU support

Qin, Xiaohong Xiaohong.Qin at emc.com
Thu Jun 9 17:03:48 UTC 2016


Sure. Can you provide me the instructions on how to file a bug for MAAS?

Thanks.

Dennis

From: Newell Jensen [mailto:newell.jensen at canonical.com]
Sent: Thursday, June 09, 2016 9:59 AM
To: Qin, Xiaohong
Cc: maas-devel at lists.launchpad.net
Subject: Re: [Maas-devel] APC PDU support

Dennis,

At this point, so we don't keep filling up email inboxes, can you please file a bug (with the logs that the bug report requests) with MAAS for this?  That way we can get more information from you and take a closer look.  APC PDU power type is supported in MAAS so there may be something else going on here.

Thanks,

Newell

On Thu, Jun 9, 2016 at 9:37 AM, Qin, Xiaohong <Xiaohong.Qin at emc.com<mailto:Xiaohong.Qin at emc.com>> wrote:
Hi Newell,

Here is what I did from MAAS UI,

[cid:image001.png at 01D1C236.36FA2240]

It’s possible that UI might not pass the right parameters to the backend, do you know the CLI syntax to add node using ADC PDU? Here is the CLI for IPMI but I don’t know how to modify it with APC PDU,

ssh -i /home/labadmin/.ssh/id_maas -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o LogLevel=quiet ubuntu at 10.10.110.101<mailto:ubuntu at 10.10.110.101> maas maas nodes new autodetect_nodegroup='yes' name='node1-control' tags='control' power_parameters_power_driver='LAN_2_0' hostname='node1-control' power_type='ipmi' mac_addresses='00:1e:67:cf:bb:54' power_parameters_power_user='root' power_parameters_power_pass='root' architecture='amd64/generic' power_parameters_power_address='10.10.110.11'

Thanks.

Dennis

From: Newell Jensen [mailto:newell.jensen at canonical.com<mailto:newell.jensen at canonical.com>]
Sent: Thursday, June 09, 2016 9:12 AM
To: Qin, Xiaohong
Cc: maas-devel at lists.launchpad.net<mailto:maas-devel at lists.launchpad.net>
Subject: Re: [Maas-devel] APC PDU support

Dennis,

From the above error it looks like you are using the Virsh power driver and not the APC PDU power driver.  Are you sure that you have chosen the correct power driver?

Newell

On Thu, Jun 9, 2016 at 8:34 AM, Qin, Xiaohong <Xiaohong.Qin at emc.com<mailto:Xiaohong.Qin at emc.com>> wrote:
Hi,

Does anyone know if APC PDU is supported and working at 1.9? It didn’t work on my testbed and got the following error from the log file,

          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/drivers/power/virsh.py", line 66, in power_query
            return power_state_virsh(poweraddr, machine, password)
          File "/usr/lib/python2.7/dist-packages/provisioningserver/drivers/hardware/virsh.py", line 348, in power_state_virsh
            raise VirshError('Failed to login to virsh console.')
        provisioningserver.drivers.hardware.virsh.VirshError: Failed to login to virsh console.

Any clue?

Thanks.

Dennis Qin (aka Xiaohong Qin)

--
Mailing list: https://launchpad.net/~maas-devel
Post to     : maas-devel at lists.launchpad.net<mailto:maas-devel at lists.launchpad.net>
Unsubscribe : https://launchpad.net/~maas-devel
More help   : https://help.launchpad.net/ListHelp


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/maas-devel/attachments/20160609/4805a013/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 14838 bytes
Desc: image001.png
URL: <https://lists.ubuntu.com/archives/maas-devel/attachments/20160609/4805a013/attachment.png>


More information about the Maas-devel mailing list