From 85a195893d2e47de9595e0dfa227e9e32b871514 Mon Sep 17 00:00:00 2001 From: Adam Harwell Date: Tue, 9 May 2017 11:37:40 -0400 Subject: [PATCH] Two quick fixes (one log message, one cert create script thing) * Fill the create LB log message correctly with ID * Create the full path when creating certs (prevents annoying errors) Change-Id: Iadace0f7f84ada920139b4476b8e854eec6ab1f7 --- bin/create_certificates.sh | 2 +- octavia/controller/queue/endpoint.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/create_certificates.sh b/bin/create_certificates.sh index c0a96a7b39..0e5b5af9b9 100755 --- a/bin/create_certificates.sh +++ b/bin/create_certificates.sh @@ -39,7 +39,7 @@ VALIDITY_DAYS=${3:-18250} # defaults to 50 years echo $CERT_DIR -mkdir $CERT_DIR +mkdir -p $CERT_DIR cd $CERT_DIR mkdir newcerts private chmod 700 private diff --git a/octavia/controller/queue/endpoint.py b/octavia/controller/queue/endpoint.py index 641805faa3..b1eceec8f8 100644 --- a/octavia/controller/queue/endpoint.py +++ b/octavia/controller/queue/endpoint.py @@ -40,7 +40,7 @@ class Endpoint(object): ).driver def create_load_balancer(self, context, load_balancer_id): - LOG.info('Creating load balancer \'%s\'...'), load_balancer_id + LOG.info('Creating load balancer \'%s\'...', load_balancer_id) self.worker.create_load_balancer(load_balancer_id) def update_load_balancer(self, context, load_balancer_id,