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.
You are looking at the v2.0 code. /github. com/openstack/ python- openstackclient /blob/master/ openstackclient /identity/ v2_0/service. py#L36- L54
https:/
Compared to the v3 code, which seems to agree with the API /github. com/openstack/ python- openstackclient /blob/master/ openstackclient /identity/ v3/service. py#L34- L57
https:/
Try setting: API_VERSION= 3 localhost: 5000/v3
$ export OS_IDENTITY_
$ export OS_AUTH_URL=http://
And adding: DOMAIN_ ID=default DOMAIN_ ID=default
$ export OS_PROJECT_
$ export OS_USER_
To get the actual v3 command for service create.