Facing issue in running monasca python client

asked 2015-12-24 07:06:03 -0600

Pradip gravatar image

Hello,

I setup the devstack-monasca using the following wiki: https://github.com/openstack/monasca-...

So I can see all the OS services and the monansca-api, agent etc. is up and running.

I would like to play with some Monascal python-client. So I install python client as: sudo pip install python-monascaclient

Now when I am trying to see the CLI, it is giving an error as follows:

stack@stack-ThinkPad-W530:~/devstack$ monasca --os-username mini-mon --os-password password --os-project-name mini-mon --os-auth-url http://10.74.150.158:35357/v3 --monasca-api-url http://10.74.150.158:8070/v2.0 metric-list
('Connection aborted.', error(104, 'Connection reset by peer'))

Here is my keystone endpoint:

| f259de7e41db4871854a9e56a406daa1 | RegionOne | http://10.74.150.158:5000/v2.0 | http://10.74.150.158:5000/v2.0 | http://10.74.150.158:35357/v2.0 | 0208a38741d443bdb74592a3d9017762 |

(I think Monasca require Keystone 3.0 - hence I have given 'v3').

Here is my monasca endpoint in keystone:

| 21be1893c8934950956b0f57c24c50fe | RegionOne | http://10.74.150.158:8070/v2.0 | http://10.74.150.158:8070/v2.0 | http://10.74.150.158:8070/v2.0 | 34134ffdb56241e2a5beb9995b0e3628 |

Any help in resolving this will be highly appreciated.

--pradip

edit retag flag offensive close merge delete

Comments

Hey Pradip, did you figure out the problem?

Rubab gravatar imageRubab ( 2016-01-17 18:17:11 -0600 )edit

Nop, I did not.

Pradip gravatar imagePradip ( 2016-01-17 23:09:18 -0600 )edit