← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1404073] Re: type should be required for v2.0 service create

 

** Summary changed:

- name should be optional for service-create
+ type should be required for v2.0 service create

** Also affects: python-keystoneclient
   Importance: Undecided
       Status: New

** Also affects: keystone
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1404073

Title:
  type should be required for v2.0 service create

Status in OpenStack Identity (Keystone):
  New
Status in Python client library for Keystone:
  New
Status in OpenStack Command Line Client:
  New

Bug description:
  According to the api http://specs.openstack.org/openstack/keystone-
  specs/api/v3/identity-api-v3.html only the service type is mandatory.

  name, description and enabled field are optional.

  openstack-client should not require the name as it is optional in the
  service, this is to make the validation consistent.

  $ openstack service create --type service_type_1
  usage: openstack service create [-h] [-f {html,json,shell,table,value,yaml}]
                                  [-c COLUMN] [--max-width <integer>]
                                  [--prefix PREFIX] --type <service-type>
                                  [--description <service-description>]
                                  <service-name>
  openstack service create: error: too few arguments

  Type should be the only field required and name should be optional.

  This is for keystone v3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1404073/+subscriptions