Skip Menu |

This queue is for tickets about the Cisco-UCS-Common-SwitchCard CPAN distribution.

Report information
The Basics
Id: 114646
Status: open
Priority: 0/
Queue: Cisco-UCS-Common-SwitchCard

People
Owner: LTP [...] cpan.org
Requestors: sweinberger [...] ubimet.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: get_eth_ports returns ports of wrong switch
Date: Tue, 24 May 2016 15:43:13 +0200
To: bug-Cisco-UCS-Common-SwitchCard [...] rt.cpan.org
From: Stephan Weinberger <sweinberger [...] ubimet.com>
Hello, In our redundant setup with two switches (sys/switch-A and sys/switch-B) the data for the switch-ports on A and B always were exactly the same. It took me a while to find the culprit: Cisco::UCS::Common::SwitchCard->get_eth_ports() There the UCS is queried for: class_filter => { classId => 'etherPIo', slotId => $self->{id}, switchId => $self->{id} i.e. switchId = slotId. Thus in our setup the sys/switch-B/card-1 object would query sys/switch-*1*/card-1, which does not exist; in this case the system silently returns the first switch "A". My current workaround is to parse switchId from $self->{dn} in order to query the correct switch. kind regards, Stephan Weinberger -- UBIMET GmbH - because weather matters Stephan Weinberger BSc • IT A-1220 Wien • Donau-City-Straße 11 Tel +43 1 263 11 22 466 • Fax +43 1 263 11 22 219 sweinberger@ubimet.com • www.ubimet.com ------------------------------------------------------------------------------------------------------------------- The information contained in this message (including any attachments) is confidential and may be legally privileged or otherwise protected from disclosure. This message is intended solely for the addressee(s). If you are not the intended recipient, please notify the sender by return e-mail and delete this message from your system. Any unauthorized use, reproduction, or dissemination of this message is strictly prohibited. Please note that e-mails are susceptible to change. UBIMET GmbH shall not be liable for the improper or incomplete transmission of the information contained in this communication, nor shall it be liable for any delay in its receipt. UBIMET GmbH accepts no liability for loss or damage caused by software viruses and you are advised to carry out a virus check on any attachments contained in this message.
Download signature.asc
application/pgp-signature 473b

Message body not shown because it is not plain text.

Hi Stephan, I've just pushed a new version (0.51) to CPAN containing a fix for this issue. Could you please confirm that the new version resolves your issue. Cheers, -Luke
Subject: Re: [rt.cpan.org #114646] get_eth_ports returns ports of wrong switch
Date: Wed, 25 May 2016 12:48:30 +0200
To: bug-Cisco-UCS-Common-SwitchCard [...] rt.cpan.org
From: Stephan Weinberger <sweinberger [...] ubimet.com>
Hi Luke, looks good! Thanks for the quick fix. regards, Stephan On 2016-05-25 06:45, Luke Poskitt via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=114646 > > > Hi Stephan, > > I've just pushed a new version (0.51) to CPAN containing a fix for this issue. > > Could you please confirm that the new version resolves your issue. > > Cheers, > > -Luke >
-- UBIMET GmbH - because weather matters Stephan Weinberger BSc • IT A-1220 Wien • Donau-City-Straße 11 Tel +43 1 263 11 22 466 • Fax +43 1 263 11 22 219 sweinberger@ubimet.com • www.ubimet.com ------------------------------------------------------------------------------------------------------------------- The information contained in this message (including any attachments) is confidential and may be legally privileged or otherwise protected from disclosure. This message is intended solely for the addressee(s). If you are not the intended recipient, please notify the sender by return e-mail and delete this message from your system. Any unauthorized use, reproduction, or dissemination of this message is strictly prohibited. Please note that e-mails are susceptible to change. UBIMET GmbH shall not be liable for the improper or incomplete transmission of the information contained in this communication, nor shall it be liable for any delay in its receipt. UBIMET GmbH accepts no liability for loss or damage caused by software viruses and you are advised to carry out a virus check on any attachments contained in this message.
Download signature.asc
application/pgp-signature 473b

Message body not shown because it is not plain text.