← Back to team overview

maas-devel team mailing list archive

Re: APC PDU support

 

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

Thanks.

Dennis

From: Newell Jensen [mailto:newell.jensen@xxxxxxxxxxxxx]
Sent: Thursday, June 09, 2016 9:59 AM
To: Qin, Xiaohong
Cc: maas-devel@xxxxxxxxxxxxxxxxxxx
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@xxxxxxx<mailto:Xiaohong.Qin@xxxxxxx>> wrote:
Hi Newell,

Here is what I did from MAAS UI,

[cid:image001.png@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@10.10.110.101<mailto:ubuntu@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@xxxxxxxxxxxxx<mailto:newell.jensen@xxxxxxxxxxxxx>]
Sent: Thursday, June 09, 2016 9:12 AM
To: Qin, Xiaohong
Cc: maas-devel@xxxxxxxxxxxxxxxxxxx<mailto:maas-devel@xxxxxxxxxxxxxxxxxxx>
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@xxxxxxx<mailto:Xiaohong.Qin@xxxxxxx>> 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@xxxxxxxxxxxxxxxxxxx<mailto:maas-devel@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~maas-devel
More help   : https://help.launchpad.net/ListHelp


PNG image


Follow ups

References