From 789af5ccfa49e40eabe1454e9e2d31bd6c6f0ef8 Mon Sep 17 00:00:00 2001 From: Steve Martinelli Date: Mon, 19 Jan 2015 16:11:44 -0500 Subject: [PATCH] Update osc server create to have type as positional arg In Keystone, for v2 and v3 service creation, there was a bug that allowed a service to be created with no type, which made it useless. See reference bug for details. Change-Id: I5d095007fe2ebc8219dc012c5b16cb4c122179cd Related-Bug: #1404073 --- functions-common | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions-common b/functions-common index 5bca836d37..ce809f1563 100644 --- a/functions-common +++ b/functions-common @@ -945,8 +945,8 @@ function get_or_create_service { openstack service show $1 -f value -c id 2>/dev/null || # Creates new service if not exists openstack service create \ - $1 \ - --type=$2 \ + $2 \ + --name $1 \ --description="$3" \ -f value -c id )