Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Facing issue in running monasca python client

Hello,

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

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