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
This commit is contained in:
Adam Harwell 2017-05-09 11:37:40 -04:00
parent 8fdcb88dee
commit 85a195893d
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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,