how to configure masakari on rocky

asked 2019-07-03 01:59:49 -0600

vutan gravatar image

Hi, I am trying to install masakari on openstack rocky for HA but this part of command I dont know where to get it.

Create endpoint for masakari service: openstack endpoint create --region RegionOne masakari --publicurl http://<ip-address>:<port>/v1/%(tenant_id)s --adminurl http://<ip-address>:<port>/v1/%(tenant_id)s --internalurl http://<ip-address>:<port>/v1/%(tenant_id)s

furthermore, does anyone know other method for HA VM on openstack except masakari ? thanks for your reply

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted

answered 2019-07-03 02:29:47 -0600

updated 2019-07-03 02:30:09 -0600

According to, the default public and admin ports are 15868, and the internal port is 25868. ip-address refers to the computer where masakari-api runs.

edit flag offensive delete link more

answered 2019-07-03 04:45:35 -0600

vutan gravatar image

Thanks Bemd for your quick reply, I manage to install masakari according to your answer, however it seems hang when starting 4 workers, wonder if I have to configure anything else in the config of nova or masakari config like any other service installed on openstack

2019-07-03 14:38:43.000 31637 INFO oslo_service.service [-] Starting 4 worker

What I have done so far: - add an user masakri - create masakari in mariadb - reconfig masakari, here is my masakari config file:

[DEFAULT] enabled_apis = masakari_api

Enable to specify listening IP other than default masakari_api_listen = controller Enable to specify port other than default masakari_api_listen_port = 15868 debug = False auth_strategy=keystone

[wsgi] The paste configuration file path api_paste_config = /etc/masakari/api-paste.ini

[keystone_authtoken] www_authenticate_uri = http: // controller:5000 auth_url = http: // controller:5000 auth_type = password project_domain_id = default user_domain_id = default project_name = service username = masakari password = P@ssword

[database] connection = mysql+pymysql://masakari:P@ssword@controller/masakari

edit flag offensive delete link more


I don’t really know Masakari and can’t help you with this hang. However I would set the debug parameter to True to get more information.

Bernd Bausch gravatar imageBernd Bausch ( 2019-07-03 09:34:49 -0600 )edit

ok, so do you know any good source for masakari ? I search on the net but it seems it lack of document

vutan gravatar imagevutan ( 2019-07-03 21:06:47 -0600 )edit

I suggest you write to the openstack mailing list, with subject “[masakari] .....”.

Bernd Bausch gravatar imageBernd Bausch ( 2019-07-04 00:28:21 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2019-07-03 01:59:49 -0600

Seen: 204 times

Last updated: Jul 03 '19