Hello everyone, I've configured masakari-api (controller node01) and masakari-processmonitor (node02, node03 compute nodes) but I have an issue when I try to test the instance migration between nodes. The node alive can't reach to public endpoint for instance-ha.
Jun 25 18:23:50 node02 python2: 2018-06-25 18:23:50.380 10269 INFO masakarimonitors.hostmonitor.host_handler.handle_host [-] 'node01.xxxxxx.net' is 'online'. Jun 25 18:23:50 node02 python2: 2018-06-25 18:23:50.380 10269 INFO masakarimonitors.hostmonitor.host_handler.handle_host [-] 'node03.xxxxxx.net' is 'online'. Jun 25 18:23:50 node02 python2: 2018-06-25 18:23:50.381 10269 INFO masakarimonitors.ha.masakari [-] Send a notification. {'notification': {'hostname': 'node03.xxxxxx.net', 'type': 'COMPUTE_HOST', 'payload': {'host_status': 'NORMAL', 'event': 'STARTED', 'cluster_status': 'ONLINE'}, 'generated_time': datetime.datetime(2018, 6, 25, 17, 23, 50, 381284)}} Jun 25 18:23:50 node02 python2: 2018-06-25 18:23:50.818 10269 WARNING masakarimonitors.ha.masakari [-] Retry sending a notification. (public endpoint for instance-ha service not found): EndpointNotFound: public endpoint for instance-ha service not found Jun 25 18:23:53 node02 python2: 2018-06-25 18:23:53.826 10269 WARNING masakarimonitors.ha.masakari [-] Retry sending a notification. (public endpoint for instance-ha service not found): EndpointNotFound: public endpoint for instance-ha service not found Jun 25 18:23:56 node02 python2: 2018-06-25 18:23:56.834 10269 WARNING masakarimonitors.ha.masakari [-] Retry sending a notification. (public endpoint for instance-ha service not found): EndpointNotFound: public endpoint for instance-ha service not found Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari [-] Exception caught: public endpoint for instance-ha service not found: EndpointNotFound: public endpoint for instance-ha service not found Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari Traceback (most recent call last): Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari File "/usr/lib/python2.7/site-packages/masakarimonitors/ha/masakari.py", line 68, in send_notification Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari payload=event['notification']['payload']) Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari File "/usr/lib/python2.7/site-packages/openstack/instance_ha/v1/_proxy.py", line 65, in create_notification Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari return self._create(_notification.Notification, **attrs) Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari File "/usr/lib/python2.7/site-packages/openstack/proxy.py", line 197, in _create Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari return res.create(self) Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari File "/usr/lib/python2.7/site-packages/openstack/resource.py", line 729, in create Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari json=request.body, headers=request.headers) Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 310, in post Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari return self.request(url, 'POST', **kwargs) Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari File "/usr/lib/python2.7/site-packages/openstack/_adapter.py", line 145, in request Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari **kwargs) Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari File "/usr/lib/python2.7/site-packages/openstack/task_manager.py", line 138, in submit_function Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari return self.submit_task(task) Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari File "/usr/lib/python2.7/site-packages/openstack/task_manager.py", line 127, in submit_task Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari return self.run_task(task=task) Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari File "/usr/lib/python2.7/site-packages/openstack/task_manager.py", line 159, in run_task Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari return self._run_task(task) Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari File "/usr/lib/python2.7/site-packages/openstack/task_manager.py", line 179, in _run_task Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari return task.wait() Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari File "/usr/lib/python2.7/site-packages/openstack/task_manager.py", line 81, in wait Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari self._traceback) Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari File "/usr/lib/python2.7/site-packages/openstack/task_manager.py", line 89, in run Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari self.done(self.main()) Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari File "/usr/lib/python2.7/site-packages/openstack/task_manager.py", line 61, in main Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari return self._main(*self.args, **self.kwargs) Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 189, in request Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari return self.session.request(url, method, **kwargs) Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 695, in request Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari **endpoint_filter) Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 1077, in get_endpoint Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari return auth.get_endpoint(self, **kwargs) Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/base.py", line 380, in get_endpoint Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari allow_version_hack=allow_version_hack, **kwargs) Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/base.py", line 279, in get_endpoint_data Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari service_name=service_name) Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari File "/usr/lib/python2.7/site-packages/keystoneauth1/access/service_catalog.py", line 462, in endpoint_data_for Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari raise exceptions.EndpointNotFound(msg) *Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari EndpointNotFound: public endpoint for instance-ha service not found* *Jun 25 18:23:59 node02 python2: 2018-06-25 18:23:59.841 10269 ERROR masakarimonitors.ha.masakari* *The configuration /etc/masakarimonitors/masakarimonitors.conf is:* [DEFAULT] debug = false [api] region = RegionOne api_version = v1 # I've tried with public and I have the same error # api_interface = public api_interface = internal auth_url = http://192.168.0.254:35357 project_name = service project_domain_id = default project_domain_name = Default username = masakari user_domain_id = default user_domain_name = Default password = masakari [callback] [cors] [healthcheck] [host] monitoring_interval = 5 api_retry_max = 3 api_retry_interval = 3 disable_ipmi_check = True stonith_wait = 15 corosync_multicast_interfaces = eno1 corosync_multicast_ports = 5405 [libvirt] connection_uri = qemu:///system [oslo_middleware] [process] *Endpoint list:* # openstack endpoint list | grep masakari | 0b18390c4b6f445486f663725a763dde | RegionOne | masakari | masakari | True | public | http://192.168.0.11:15868/v1/%(tenant_id)s | | 1d33d9aff3de420da285986da31626a8 | RegionOne | masakari | masakari | True | admin | http://192.168.0.11:15868/v1/%(tenant_id)s | | 503ebe5834074621a45db7c2da3703cc | RegionOne | masakari | masakari | True | internal | http://192.168.0.11:15868/v1/%(tenant_id)s | If someone can guide me, I will be grateful. Cheers! -- Braian F. Leiva
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev