Comment 1 for bug 1404073

Revision history for this message
Steve Martinelli (stevemar) wrote : Re: name should be optional for service-create

You are looking at the v2.0 code.
https://github.com/openstack/python-openstackclient/blob/master/openstackclient/identity/v2_0/service.py#L36-L54

Compared to the v3 code, which seems to agree with the API
https://github.com/openstack/python-openstackclient/blob/master/openstackclient/identity/v3/service.py#L34-L57

Try setting:
$ export OS_IDENTITY_API_VERSION=3
$ export OS_AUTH_URL=http://localhost:5000/v3

And adding:
$ export OS_PROJECT_DOMAIN_ID=default
$ export OS_USER_DOMAIN_ID=default

To get the actual v3 command for service create.