From 85812470a882048a741001d109a68e994f4aad39 Mon Sep 17 00:00:00 2001 From: Lusheng Ji Date: Wed, 25 Oct 2017 20:51:30 -0400 Subject: Fix file not found error In addition the following: Disable designate import function Install ping and nc to docker container (Dockerfile) Issue-Id: DCAEGEN2-127 Change-Id: I13a8684260e9352bf2ae5efb7f6837f23a58cf97 Signed-off-by: Lusheng Ji --- scripts/designate_import.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'scripts/designate_import.py') diff --git a/scripts/designate_import.py b/scripts/designate_import.py index df09f50..9b0fc7d 100755 --- a/scripts/designate_import.py +++ b/scripts/designate_import.py @@ -43,12 +43,15 @@ def main(): print("Usgae: {} input_file [auth_url username password tenant]".format(sys.argv[0])) exit(1) if len(sys.argv) == 6: - print("Creating DNS records using record defs from {}, authurl {}, usernaem {}, tenant {}".format( + print("Creating DNS records using record defs from {}, authurl {}, username {}, tenant {}".format( sys.argv[1], sys.argv[2], sys.argv[3], sys.argv[5])) else: - print("Creating DNS records using record defs from {}, authurl {}, usernaem {}, tenant {}".format( + print("Creating DNS records using record defs from {}, authurl {}, username {}, tenant {}".format( shell.env('OS_AUTH_URL'), shell.env('OS_USERNAME'), shell.env('OS_PASSWORD'), shell.env('OS_PROJECT_NAME'))) + print("Usage: {} disabled until changed".format(sys.argv[0])) + exit(1) + inputfilepath = sys.argv[1] auth = "" -- cgit 1.2.3-korg