Ask Your Question
0

HTTPNotFound (HTTP 404) error when run ceilometer meter-list

asked 2016-11-07 03:23:42 -0500

chansonzhang gravatar image

Hi, When I run the command ceilometer meter-list,there is an HTTPNotFound (HTTP 404) error. I checked the log entry in /var/log/httpd/ceilometer_error.log, which give an error message below:

Target WSGI script not found or unable to stat: /var/www/cgi-bin/ceilometer

so I checked this directory, it's empty. But all the services include

openstack-ceilometer-notification.service   openstack-ceilometer-central.service   openstack-ceilometer-collector.service httpd.service

are all in runing state.

can anyone tell me what's the matter?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
2

answered 2016-11-07 03:58:23 -0500

chansonzhang gravatar image

I found an solution in the internet.

mkdir -p /var/www/cgi-bin/ceilometer
cp /usr/lib/python2.7/site-packages/ceilometer/api/app.wsgi /var/www/cgi-bin/ceilometer/app

that solved my problem!

edit flag offensive delete link more

Comments

Hi, I encountered the same problem when I run ceilometer meter-list. I tried to follow your solution but I could not find /usr/lib/python2.7/site-packages/ceilometer/api/app.wsgi file. I am using ubuntu xenial with OpenStack newton.

Any kind of help will be appreciated. Thanks in advance.

Mutty Putty gravatar imageMutty Putty ( 2016-11-14 07:24:29 -0500 )edit

Thanks, I solved the problem. app.wsgi is in different directory.

Mutty Putty gravatar imageMutty Putty ( 2016-11-14 07:48:56 -0500 )edit

Thanks for your solution! Is this a problem in official documents ?

linyihan gravatar imagelinyihan ( 2016-11-17 02:22:50 -0500 )edit

hi linyihan, i am not very clear about wheather it is a problem in official ducuments, it you find out, feel free to tell me.

chansonzhang gravatar imagechansonzhang ( 2016-11-18 01:50:16 -0500 )edit
1

answered 2017-05-09 06:06:49 -0500

p.bagherpour gravatar image

In my scenario true command was: cp /usr/lib/python2.7/dist-packages/ceilometer/api/app.wsgi /var/www/cgi-bin/ceilometer/app

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-11-07 03:23:42 -0500

Seen: 1,011 times

Last updated: May 09 '17