OpenSolaris

Printable Version Enter a New Search
Bug ID 6462335
Synopsis cannot offline to IPMP interfaces that have no probe targets
State 10-Fix Delivered (Fix available in build)
Category:Subcategory network:ipmp
Keywords clearview
Responsible Engineer Peter Memishian
Reported Against s10u7_fcs
Duplicate Of
Introduced In solaris_9
Commit to Fix snv_107
Fixed In snv_107
Release Fixed solaris_nevada(snv_107)
Related Bugs 4347223 , 6553510 , 6783149 , 6887330
Submit Date 22-August-2006
Last Update Date 28-January-2009
Description
If probe-based failure detection is enabled, but no probe targets are
found, then in.mpathd will place the interface into the PI_NOTARGETS state.
However, this prevents any MI_OFFLINE operations (which are a necessary
precursor to DR) from considering the interface, because of the marked line
of code: 
                pg = pi->pi_group;
                nif = 0;
                if (pg != phyint_anongroup) {
                        for (nif = 0, pi2 = pg->pg_phyint; pi2 != NULL;
                            pi2 = pi2->pi_pgnext) {
 -->                             if ((pi2->pi_state == PI_RUNNING) ||
                                    (pg->pg_groupfailed &&
                                    !(pi2->pi_flags & IFF_OFFLINE)))
                                        nif++;
                        }
                }
                if (nif < mio->mio_min_redundancy)
                        return (send_result(newfd, IPMP_EMINRED, 0));

However, rather than simply change this to include PI_NOTARGETS, we should
probably revisit the entire notion of the PI_NOTARGETS state.  Specifically,
if PI_NOTARGETS is considered equivalent to PI_RUNNING (e.g., in.mpathd will
not mark an interface failed if it is in the PI_NOTARGETS state), then we
may want to remove the state and just use pii_ntargets to differentiate when
necessary (e.g., when providing status reports via ifstate()).
Work Around
N/A
Comments
N/A