Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in the Hatchery.create_vm #23

Closed
rkhozinov opened this issue May 24, 2013 · 0 comments
Closed

Bug in the Hatchery.create_vm #23

rkhozinov opened this issue May 24, 2013 · 0 comments
Assignees
Labels
Milestone

Comments

@rkhozinov
Copy link
Owner

BUG: when script try to assign unavailable network to vm that it dying and don't create vm.
It's wrong.
This check has warning status, not critical.
Need to turn on logging and log warning message of unavailable network, but create vm.

    _networks = []
    for n in config_target.Network:
        if n.Network.Accessible and networks.count(n.Network.Name):
            _networks.append(n.Network.Name)
    if not _networks and len(networks) != 0:
        _networks = [] # possible
        pass               # resolve ex.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants