01-30-2016 01:18 PM
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
01-31-2016 11:42 AM
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
01-31-2016 11:57 AM
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.
01-31-2016 01:00 PM
I see. Try using:
openstack service create --type identity --description "OpenStack Identity" identity
and see if that works.
01-31-2016 11:52 PM
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.
02-02-2016 03:23 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide