Skip to content

Issue with container creation in edge cases #723

Open
@chetryan

Description

@chetryan

Issue Summary

I believe there is an issue in plugins/module_utils/tools_tree.py where

I believe the issue is around

    if len(containers) == 2:
        ctr = 1
    else:
        ctr = 0
    while (len(tree.all_nodes()) < len(containers) + ctr):

Should change to

    while (len(tree.all_nodes()) < len(containers) + 1):

Which component(s) of AVD impacted

cv_container_v3

How do you run AVD ?

Ansible CLI (with virtual-env or native python)

Input variables

Steps to reproduce

Relevant log output

Cannot extract logs from the environment where this was seen

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions