cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
22398
Views
1
Helpful
5
Replies

openstack service create

detaevo@cisco.com
Cisco Employee
Cisco Employee

Hi guys,

In fact i'm starting using Openstack **Kilo** and get in trouble following the documentation (page 36) with the following command:

root@controller:/var/log/keystone# openstack service create

root@controller:/var/log/keystone# openstack service create \

> --name keystone --description "OpenStack Identity" identity

****usage: openstack service create [-h] [-f {shell,table}] [-c COLUMN]

                                [--variable VARIABLE] [--prefix PREFIX] --type

                                <service-type>

                                [--description <service-description>]

                                <service-name>**

openstack service create: error: argument --type is required

root@controller:/var/log/keystone#**

Anything relating to Openstack client API version ? Do you have any experience with this build ?

Thanks

BR

Olivier

5 Replies 5

eckelcu
Cisco Employee
Cisco Employee

I'm not sure which document you refer to when you say "page 36", but it looks like you specified "name" instead of "type" parameter. Try this instead:

openstack service create --type identity --description "OpenStack Identity" identity

Hi, i was talking about this doc http://docs.openstack.org/kilo/install-guide/install/apt/content/ch_overview.html

Thanks

BR

Olivier

Olivier Detaevernier

CONSULTING SYSTEMS ENGINEER.SP SALES

Global Service Providers - Emear

detaevo@cisco.com<mailto:detaevo@cisco.com>

Phone: +33 23 788 3733

Mobile: +33 6 73 99 21 70

Cisco.com<http://www.cisco.com>

Think before you print.

This email may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

Please click here<http://www.cisco.com/web/about/doing_business/legal/cri/index.html> for Company Registration Information.

I see. Try using:

     openstack service create --type identity --description "OpenStack Identity" identity

and see if that works.

Yep, it got another issue now

root@controller:/var/log/keystone# openstack service create --type identity --description "OpenStack Identity" identity

INFO: urllib3.connectionpool Starting new HTTP connection (1): controller

ERROR: cliff.app Internal Server Error (HTTP 500)

Thanks

BR

Olivier

Olivier Detaevernier

CONSULTING SYSTEMS ENGINEER.SP SALES

Global Service Providers - Emear

detaevo@cisco.com<mailto:detaevo@cisco.com>

Phone: +33 23 788 3733

Mobile: +33 6 73 99 21 70

Cisco.com<http://www.cisco.com>

Think before you print.

This email may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message.

Please click here<http://www.cisco.com/web/about/doing_business/legal/cri/index.html> for Company Registration Information.

roagarwa
Cisco Employee
Cisco Employee

Someone else encountered a similar issue and has offered a solution here - http://stackoverflow.com/questions/30844010/keystone-connection-fail

I have not tried it but assuming you have a Ubuntu environment, might want to try the steps below as suggested in the link -

nano /etc/apt/sources.list.d/cloudarchive-kilo.list

deb http://ubuntu-cloud.archive.canonical.com/ubuntu trusty-updates/kilo main

apt-get update && apt-get dist-upgrade