Ask Your Question
1

problem in cloudkitty installation in juno release

asked 2016-01-06 09:53:58 -0500

daryana gravatar image

updated 2016-01-10 10:28:30 -0500

I try to install cloudkitty manually step by step from : http://docs.openstack.org/developer/c...

The OS is centos and juno release of openstack. I got this error after run commands:

     # cloudkitty-api --config-file /etc/cloudkitty/cloudkitty.conf

       2016-01-10 10:25:29.002 29565 CRITICAL cloudkitty [-] ConfigFilesNotFoundError: Failed to find   some config files: api_paste.ini
       2016-01-10 10:25:29.002 29565 ERROR cloudkitty Traceback (most recent call last):
       2016-01-10 10:25:29.002 29565 ERROR cloudkitty   File "/usr/bin/cloudkitty-api", line 10, in <module>
       2016-01-10 10:25:29.002 29565 ERROR cloudkitty     sys.exit(main())
       2016-01-10 10:25:29.002 29565 ERROR cloudkitty   File "/usr/lib/python2.7/site-packages/cloudkitty/cli/api.py", line 26, in main
       2016-01-10 10:25:29.002 29565 ERROR cloudkitty     server = app.build_server()
       2016-01-10 10:25:29.002 29565 ERROR cloudkitty   File "/usr/lib/python2.7/site-packages/cloudkitty/api/app.py", line 131, in build_server
      2016-01-10 10:25:29.002 29565 ERROR cloudkitty     app = load_app()
      2016-01-10 10:25:29.002 29565 ERROR cloudkitty   File "/usr/lib/python2.7/site-packages/cloudkitty/api/app.py", line 108, in load_app
      2016-01-10 10:25:29.002 29565 ERROR cloudkitty     raise cfg.ConfigFilesNotFoundError([cfg.CONF.api_paste_config])
      2016-01-10 10:25:29.002 29565 ERROR cloudkitty ConfigFilesNotFoundError: Failed to find some config files: api_paste.ini
      2016-01-10 10:25:29.002 29565 ERROR cloudkitty

What is the problem and it's solution? Please guide me.

Thanks.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2016-01-10 21:28:50 -0500

Mohit gravatar image

You missed api_paste.ini file that is located on git cloned directory cloudkitty/etc/cloudkitty/ It has to be placed on /etc/cloudkitty

edit flag offensive delete link more
0

answered 2016-01-12 09:32:14 -0500

daryana gravatar image

I add api_paste.ini . I run this command to setup keystone:

keystone user-create --name cloudkitty --pass CK_PASS

After cloudkitty user is created I got this error with every command (for example):

# keystone service-list

/usr/lib/python2.7/site-packages/keystoneclient/shell.py:64: DeprecationWarning: The keystone CLI is deprecated in favor of python-openstackclient. For a Python library, continue using python-keystoneclient. 'python-keystoneclient.', DeprecationWarning) 
/usr/lib/python2.7/site-packages/keystoneclient/v2_0/client.py:145: DeprecationWarning: Constructing an instance of the keystoneclient.v2_0.client.Client class without a session is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release. 'the 2.0.0 release.', DeprecationWarning)
/usr/lib/python2.7/site-packages/keystoneclient/v2_0/client.py:147: DeprecationWarning: Using the 'tenant_name' argument is deprecated in version '1.7.0' and will be removed in version '2.0.0', please use the 'project_name' argument instead super(Client, self).__init__(**kwargs) 
/usr/lib/python2.7/site-packages/debtcollector/renames.py:43: DeprecationWarning: Using the 'tenant_id' argument is  deprecated in version '1.7.0' and will be removed in version '2.0.0', please use the 'project_id' argument instead return f(*args, **kwargs) 
/usr/lib/python2.7/site-packages/keystoneclient/httpclient.py:376: DeprecationWarning: Constructing an HTTPClient instance without using a session is deprecated as of the 1.7.0 release and may be removed in the 2.0.0 release. 'the 2.0.0 release.', DeprecationWarning)
 +----------------------------------+------------+--------------+--------------------------------+ 
| id | name | type | description | 
+----------------------------------+------------+--------------+--------------------------------+ 
| d319ca08e15846c2b2d49be437ad80c7 |  ceilometer | metering | Openstack Metering Service |  
| 6a5aa144e2e8483498ae5430c306856f | glance | image | Openstack Image Service | 
| 59cf57f59d40404a8da0da4708f8b6b6 | keystone | identity | OpenStack Identity Service | 
| f3692c516ec4400e8a34a1315d3cc5ca | neutron | network | Neutron Networking Service | 
| 3a7a368de1d948ccb7cac8354b5bd92d | nova | compute | Openstack Compute Service | 
| 6a86de25e3c0440a9b9d5b7a9bfee40f | nova_ec2 | ec2 | EC2 Service | 
| 6cc2dff7f60446f8a13487bc1ccb64b6 | novav3 | computev3 | Openstack Compute Service v3 | 
| c3014091f30340c49277bd19f9de259a | swift | object-store | Openstack Object-Store Service | 
| daeae8d629fe47ecaf23696d3d2ddc04 | swift_s3 | s3 | Openstack S3 Service | 
+----------------------------------+------------+--------------+--------------------------------+

I changed the version of pbr, but the problem still exist!!!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-01-06 09:53:58 -0500

Seen: 207 times

Last updated: Jan 12 '16