Skip to content

junos-eznc 2.7.3: SW install function raised bug error when upgrading device with virtual-chassis #1368

@sjtiantang

Description

@sjtiantang

Hi Team,
I'm upgrading a ex4300mp from 20.2R3.9 to 21.4R3-S10.9, while running the install function, it raised error:

    ok, msg = sw_instance.install(
              ^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/jnpr/junos/utils/sw.py", line 1042, in install
    vc_members.remove(self.dev.facts["vc_master"])
ValueError: list.remove(x): x not in list

This is the output of my show virtual-chassis command:

show virtual-chassis

Preprovisioned Virtual Chassis
Virtual Chassis ID: <id>
Virtual Chassis Mode: Enabled
                                                Mstr           Mixed Route Neighbor List
Member ID  Status   Serial No    Model          prio  Role      Mode  Mode ID  Interface
0 (FPC 0)  Prsnt    <serial-number> ex4300-48mp    129   Master*      N  VC   1  vcp-255/1/2
                                                                           2  vcp-255/1/3
1 (FPC 1)  Prsnt    <serial-number> ex4300-48mp      0   Linecard     N  VC   2  vcp-255/1/2
                                                                           0  vcp-255/1/3
2 (FPC 2)  Prsnt    <serial-number> ex4300-48mp      0   Linecard     N  VC   0  vcp-255/1/2
                                                                           1  vcp-255/1/3

I have junos-eznc version 2.7.3

Thanks a lot in advance for your time and help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions