HomePhabricator

ganeti-netbox-sync: fix dry-run behaviour

Description

ganeti-netbox-sync: fix dry-run behaviour

  • The script was failing with an unclear message in dry-run mode.
  • Make the script fail explicitely with a clearer message as it can't fully run in dry-run mode due to the fact that it will skip the creation of cascading dependent resources.

Bug: T314794
Change-Id: I00c4f9b2f26fd6bf60871c1120abc99e5919e2d9

Details

Provenance
VolansAuthored on Sep 5 2022, 9:54 AM
jenkins-botCommitted on Sep 5 2022, 1:33 PM
Parents
rOSNE48dd5db73472: Enable pynetbox threading for generate_dns_snippets.py
Branches
Unknown
Tags
Unknown
References
refs/changes/51/829751/2
ChangeId
I00c4f9b2f26fd6bf60871c1120abc99e5919e2d9