Skip to content

[BUG] Incorrect flags set in move_and_rebuild may cause duplicate network automation overhead #636

@sadsfae

Description

@sadsfae

The first phase of QUADS, move_and_rebuild.py should only graduate assignments into the second phase validate_env.py when switch changes are completed.

In some cases with a lot of hosts we have seen both the switch changing functionality of validate_env.py querying network ports belonging to hosts which have still not graduated from the move_and_rebuild.py phase.

This too could be related to #634

MOVE_AND_REBUILD

Running switch config for e31-h02-000-r640.example.com
Successfully updated switch settings.
Successfully updated switch settings.
Successfully updated switch settings.
Setting last interface to public vlan 606.
Successfully updated switch settings.
Running switch config for e31-h05-000-r640.example.com
Successfully updated switch settings.
Successfully updated switch settings.
There was something wrong updating switch for e31-h05-000-r640.example.com:em3
There was something wrong configuring the switch.
NoneType: None
Running switch config for e31-h06-000-r640.example.com

VALIDATE_ENV

Successfully updated switch settings.
Successfully updated switch settings.
Successfully updated switch settings.
Successfully updated switch settings.
Successfully updated switch settings.
Setting last interface to public vlan 606.
Successfully updated switch settings.
Successfully updated switch settings.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions