简体   繁体   English

找到安装的OpenStack身份服务“找不到cliff.app(HTTP 404)”

[英]install openstack identity service found “cliff.app not found(HTTP 404)”

it's the first time for me to ask question in stackoverflow. 这是我第一次在stackoverflow中提出问题。

Recently, I try to install the OpenStack follow by: http://docs.openstack.org/liberty/install-guide-ubuntu/keystone-services.html but when I follow step by step, I met the trouble: 最近,我尝试按照以下步骤安装OpenStack: http : //docs.openstack.org/liberty/install-guide-ubuntu/keystone-services.html,但是当我逐步进行操作时,遇到了麻烦:

When I run the code in my virtual machine (ubuntu 14.04): 当我在虚拟机(ubuntu 14.04)中运行代码时:

$ openstack service create --name keystone --description "OpenStack Identity" identity

it shows 表明

usage: openstack service create [-h] [-f {shell,table}] [-c COLUMN] [--variable VARIABLE] [--prefix PREFIX] [--name ] [--enable | 用法:openstack服务创建[-h] [-f {shell,table}] [-c列] [-变量VARIABLE] [-前缀PREFIX] [--name] [-启用| --disable] --disable]

openstack service create: error: unrecognized arguments: --description identity" openstack服务创建:错误:无法识别的参数:--description身份“

it seems the arguments "--description" and "identity" cannot be recognized, so I run 似乎无法识别参数“ --description”和“ identity”,因此我运行

$ openstack service create -- name keystone identity

this time it show me 这次向我展示

"WARNING: kestoneclient.utils create takes at most 1 positonal argument(4 given) “警告:kestoneclient.utils创建最多接受1个正向参数(给定4个)

INFO: urllib3.connectionpool Starting new HTTP connection (1): controller INFO:urllib3.connectionpool启动新的HTTP连接(1):控制器

ERROR: cliff.app Not Found (HTTP 404)" 错误:找不到悬崖(app)(HTTP 404)”

I googling but I cannot find my answer, is it something wrong with my file conf? 我正在谷歌搜索,但找不到答案,我的文件配置有问题吗? hope someone help me, thanks a lot~ 希望有人帮助我,非常感谢〜

Found the problem. 找到了问题。 You are following the Liberty release guide but installing the wrong release packages (probably Icehouse, the default for Ubuntu 14.04). 您正在遵循Liberty发行指南,但安装了错误的发行包(可能是Icehouse,这是Ubuntu 14.04的默认设置)。

Try following the steps defined here in the Liberty installation guide to set up the Liberty repositories. 尝试按照Liberty安装指南中此处定义的步骤来设置Liberty存储库。 In summary: 综上所述:

# apt-get install software-properties-common
# add-apt-repository cloud-archive:liberty
# apt-get update && apt-get dist-upgrade

and then you can install the correct client version 然后您可以安装正确的客户端版本

# apt-get install python-openstackclient

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM