Skip to content

Crash when querying servers with manually configured networking #1

@ravisorg

Description

@ravisorg

$ ./ansiblecs.py --refreshdb

Refreshing host database...
Adding [redacted] to inventory...
Traceback (most recent call last):
  File "./ansiblecs.py", line 80, in <module>
    refresh_db()
  File "./ansiblecs.py", line 47, in refresh_db
    ipv4 = server['runtime']['nics'][0]['ip_v4']['uuid']
TypeError: 'NoneType' object has no attribute '__getitem__'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions