<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Courier New";
panose-1:2 7 3 9 2 2 5 2 4 4;}
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Menlo;
panose-1:2 11 6 9 3 8 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
p.p1, li.p1, div.p1
{mso-style-name:p1;
margin:0cm;
margin-bottom:.0001pt;
background:#FEF49C;
font-size:9.0pt;
font-family:Menlo;
color:black;}
p.p2, li.p2, div.p2
{mso-style-name:p2;
margin:0cm;
margin-bottom:.0001pt;
background:#FEF49C;
font-size:9.0pt;
font-family:Menlo;
color:black;}
span.EmailStyle20
{mso-style-type:personal;
font-family:Calibri;
color:windowtext;}
span.EmailStyle21
{mso-style-type:personal;
font-family:Calibri;
color:windowtext;}
span.s1
{mso-style-name:s1;
color:#26B41B;}
span.s3
{mso-style-name:s3;
color:#4D2CDC;}
span.s2
{mso-style-name:s2;}
span.apple-converted-space
{mso-style-name:apple-converted-space;}
span.EmailStyle26
{mso-style-type:personal;
font-family:Calibri;
color:windowtext;}
span.EmailStyle27
{mso-style-type:personal-reply;
font-family:Calibri;
color:windowtext;}
span.msoIns
{mso-style-type:export-only;
mso-style-name:"";
text-decoration:underline;
color:teal;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1528639168;
mso-list-type:hybrid;
mso-list-template-ids:1334730834 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">I started up a VM and then deleted the VM ... and got some errors that make me think i don’t have the masakari client setup correctly.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Any ideas ?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Greg.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">i.e.<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><b><span style="font-size:9.0pt;font-family:Menlo;color:#26B41B">stack@devstack-masakari</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">:</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#4D2CDC">~/devstack</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">$
nova list</span><span style="font-size:9.0pt;font-family:Menlo;color:#26B41B"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">+--------------------------------------+-------------+--------+------------+-------------+---------------------------------------------------------+<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">| ID | Name | Status | Task State | Power State | Networks |<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">+--------------------------------------+-------------+--------+------------+-------------+---------------------------------------------------------+<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">| de8922c6-450d-4e2e-954d-ee4bd05ab909 | vm-1-cirros | ACTIVE | - | Running | private=10.0.0.10, fd1a:8f71:1a96:0:f816:3eff:fe5e:f315 |<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">+--------------------------------------+-------------+--------+------------+-------------+---------------------------------------------------------+<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><b><span style="font-size:9.0pt;font-family:Menlo;color:#26B41B">stack@devstack-masakari</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">:</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#4D2CDC">~/devstack</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">$ </span><span style="font-size:9.0pt;font-family:Menlo;color:#26B41B"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><b><span style="font-size:9.0pt;font-family:Menlo;color:#26B41B">stack@devstack-masakari</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">:</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#4D2CDC">~/devstack</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">$
nova delete vm-1-cirros<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">Request to delete server vm-1-cirros has been accepted.<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><b><span style="font-size:9.0pt;font-family:Menlo;color:#26B41B">stack@devstack-masakari</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">:</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#4D2CDC">~/devstack</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">$
2017-12-11 12:58:28.319 25974 INFO masakarimonitors.instancemonitor.libvirt_handler.callback [-] Libvirt Event: type=VM, hostname=devstack-masakari, uuid=de8922c6-450d-4e2e-954d-ee4bd05ab909, time=2017-12-11 12:58:28.318781, event_id=LIFECYCLE, detail=STOPPED_DESTROYED)<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 12:58:28.319 25974 INFO masakarimonitors.ha.masakari [-] Send a notification. {'notification': {'hostname': 'devstack-masakari', 'type': 'VM',
'payload': {'instance_uuid': 'de8922c6-450d-4e2e-954d-ee4bd05ab909', 'vir_domain_event': 'STOPPED_DESTROYED', 'event': 'LIFECYCLE'}, 'generated_time': datetime.datetime(2017, 12, 11, 12, 58, 28, 318781)}}<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 12:58:28.351 25974 WARNING masakarimonitors.ha.masakari [-] Retry sending a notification. (HttpException: Expecting to find domain in project.
The server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400) (Request-ID: req-feaa30f9-fbb2-4259-8851-488ff7ab82f9), Expecting to find domain in project. The server could
not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error.): HttpException: HttpException: Expecting to find domain in project. The server could not comply with the request since it is either malformed
or otherwise incorrect. The client is assumed to be in error. (HTTP 400) (Request-ID: req-feaa30f9-fbb2-4259-8851-488ff7ab82f9), Expecting to find domain in project. The server could not comply with the request since it is either malformed or otherwise incorrect.
The client is assumed to be in error.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">... several times ... and then eventually<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari Traceback (most recent call last):<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari File "/usr/local/lib/python2.7/dist-packages/masakarimonitors/ha/masakari.py", line
91, in send_notification<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari payload=event['notification']['payload'])<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari File "/usr/local/lib/python2.7/dist-packages/masakariclient/sdk/ha/v1/_proxy.py",
line 65, in create_notification<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari return self._create(_notification.Notification, **attrs)<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari File "/usr/local/lib/python2.7/dist-packages/openstack/proxy2.py", line 194, in _create<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari return res.create(self._session)<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari File "/usr/local/lib/python2.7/dist-packages/openstack/resource2.py", line 588, in
create<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari json=request.body, headers=request.headers)<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py", line 848,
in post<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari return self.request(url, 'POST', **kwargs)<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari File "/usr/local/lib/python2.7/dist-packages/openstack/session.py", line 64, in map_exceptions_wrapper<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari return func(*args, **kwargs)<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari File "/usr/local/lib/python2.7/dist-packages/openstack/session.py", line 352, in request<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari return super(Session, self).request(*args, **kwargs)<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py", line 573,
in request<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari auth_headers = self.get_auth_headers(auth)<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py", line 900,
in get_auth_headers<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari return auth.get_headers(self, **kwargs)<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/plugin.py", line 95, in
get_headers<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari token = self.get_token(session)<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line
88, in get_token<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari return self.get_access(session).auth_token<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line
134, in get_access<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari self.auth_ref = self.get_auth_ref(session)<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/generic/base.py",
line 198, in get_auth_ref<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari return self._plugin.get_auth_ref(session, **kwargs)<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/identity/v3/base.py", line
165, in get_auth_ref<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari authenticated=False, log=False, **rkwargs)<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py", line 848,
in post<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari return self.request(url, 'POST', **kwargs)<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari File "/usr/local/lib/python2.7/dist-packages/openstack/session.py", line 66, in map_exceptions_wrapper<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari raise exceptions.from_exception(e)<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari HttpException: HttpException: Expecting to find domain in project. The server could
not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400) (Request-ID: req-3640dd4f-b9d9-4a10-ae37-43a0e202393f), Expecting to find domain in project. The server could not comply with
the request since it is either malformed or otherwise incorrect. The client is assumed to be in error.<o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">2017-12-11 13:00:28.536 25974 ERROR masakarimonitors.ha.masakari <o:p></o:p></span></p>
<p class="MsoNormal" style="background:#FEF49C"><b><span style="font-size:9.0pt;font-family:Menlo;color:#26B41B">stack@devstack-masakari</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">:</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#4D2CDC">~/devstack</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">$ </span><span style="font-size:9.0pt;font-family:Menlo;color:#26B41B"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Greg.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-family:Calibri;color:black">From: </span>
</b><span style="font-family:Calibri;color:black">Greg Waines <Greg.Waines@windriver.com><br>
<b>Reply-To: </b>"openstack-dev@lists.openstack.org" <openstack-dev@lists.openstack.org><br>
<b>Date: </b>Monday, December 11, 2017 at 7:52 AM<br>
<b>To: </b>"openstack-dev@lists.openstack.org" <openstack-dev@lists.openstack.org><br>
<b>Subject: </b>Re: [openstack-dev] [masakari] problems starting up masakari instance monitoring in devstack @ master<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Went back and started up corosync and pacemaker and now masakari-instancemonitor starts successfully.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
<p class="MsoNormal" style="background:#FEF49C"><b><span style="font-size:9.0pt;font-family:Menlo;color:#26B41B">stack@devstack-masakari</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">:</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#4D2CDC">~/masakari-monitors</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">$
sudo masakari-instancemonitor &</span><o:p></o:p></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">[1] 25973</span><o:p></o:p></p>
<p class="MsoNormal" style="background:#FEF49C"><b><span style="font-size:9.0pt;font-family:Menlo;color:#26B41B">stack@devstack-masakari</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">:</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#4D2CDC">~/masakari-monitors</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">$
2017-12-11 12:47:49.483 25974 INFO masakarimonitors.service [-] Starting masakarimonitors-instancemonitor</span><o:p></o:p></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black"> </span><o:p></o:p></p>
<p class="MsoNormal" style="background:#FEF49C"><b><span style="font-size:9.0pt;font-family:Menlo;color:#26B41B">stack@devstack-masakari</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">:</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#4D2CDC">~/masakari-monitors</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">$ </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">I don’t see any log file in /var/log for masakari-instancemonitor or masakari-engine ?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">All processes seem to be up and running fine:</span><o:p></o:p></p>
<p class="MsoNormal" style="background:#FEF49C"><b><span style="font-size:9.0pt;font-family:Menlo;color:#26B41B">stack@devstack-masakari</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">:</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#4D2CDC">~/masakari-monitors</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">$
ps -ef | fgrep masakari</span><o:p></o:p></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">stack 11625 1 0 12:29 ? 00:00:10 /usr/bin/python /usr/local/bin/</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#BD311B">masakari</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">-api
--config-file=/etc/</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#BD311B">masakari</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">/</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#BD311B">masakari</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">.conf
--debug</span><o:p></o:p></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">stack 11778 1 0 12:29 ? 00:00:02 /usr/bin/python /usr/local/bin/</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#BD311B">masakari</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">-engine
--config-file=/etc/</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#BD311B">masakari</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">/</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#BD311B">masakari</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">.conf
--debug</span><o:p></o:p></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">stack 12005 11625 0 12:29 ? 00:00:00 /usr/bin/python /usr/local/bin/</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#BD311B">masakari</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">-api
--config-file=/etc/</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#BD311B">masakari</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">/</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#BD311B">masakari</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">.conf
--debug</span><o:p></o:p></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">stack 12006 11625 0 12:29 ? 00:00:00 /usr/bin/python /usr/local/bin/</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#BD311B">masakari</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">-api
--config-file=/etc/</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#BD311B">masakari</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">/</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#BD311B">masakari</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">.conf
--debug</span><o:p></o:p></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">root 19336 1 0 12:19 ? 00:00:05 /opt/stack/bin/etcd --name devstack-</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#BD311B">masakari</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">
--data-dir /opt/stack/data/etcd --initial-cluster-state new --initial-cluster-token etcd-cluster-01 --initial-cluster devstack-</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#BD311B">masakari</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">=http://10.10.10.7:2380
--initial-advertise-peer-urls http://10.10.10.7:2380 --advertise-client-urls http://10.10.10.7:2379 --listen-peer-urls http://0.0.0.0:2380 --listen-client-urls http://10.10.10.7:2379</span><o:p></o:p></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">root 25973 25760 0 12:47 pts/0 00:00:00 sudo
</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#BD311B">masakari</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">-instancemonitor</span><o:p></o:p></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">root 25974 25973 0 12:47 pts/0 00:00:00 /usr/bin/python /usr/local/bin/</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#BD311B">masakari</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">-instancemonitor</span><o:p></o:p></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">stack 26123 25760 0 12:50 pts/0 00:00:00 grep -F --color=auto
</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#BD311B">masakari</span></b><o:p></o:p></p>
<p class="MsoNormal" style="background:#FEF49C"><span style="font-size:9.0pt;font-family:Menlo;color:black">rabbitmq 26477 26348 0 12:06 ? 00:00:15 /usr/lib/erlang/erts-7.3/bin/beam.smp -W w -A 64 -P 1048576 -K true -B i -- -root /usr/lib/erlang -progname
erl -- -home /var/lib/rabbitmq -- -pa /usr/lib/rabbitmq/lib/rabbitmq_server-3.5.7/sbin/../ebin -noshell -noinput -s rabbit boot -sname rabbit@devstack-</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#BD311B">masakari</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">
-boot start_sasl -kernel inet_default_connect_options [{nodelay,true}] -sasl errlog_type error -sasl sasl_error_logger false -rabbit error_logger {file,"/var/log/rabbitmq/rabbit@devstack-</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#BD311B">masakari</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">.log"}
-rabbit sasl_error_logger {file,"/var/log/rabbitmq/rabbit@devstack-</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#BD311B">masakari</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">-sasl.log"} -rabbit enabled_plugins_file
"/etc/rabbitmq/enabled_plugins" -rabbit plugins_dir "/usr/lib/rabbitmq/lib/rabbitmq_server-3.5.7/sbin/../plugins" -rabbit plugins_expand_dir "/var/lib/rabbitmq/mnesia/rabbit@devstack-</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#BD311B">masakari</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">-plugins-expand"
-os_mon start_cpu_sup false -os_mon start_disksup false -os_mon start_memsup false -mnesia dir "/var/lib/rabbitmq/mnesia/rabbit@devstack-</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#BD311B">masakari</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">"
-kernel inet_dist_listen_min 25672 -kernel inet_dist_listen_max 25672</span><o:p></o:p></p>
<p class="MsoNormal" style="background:#FEF49C"><b><span style="font-size:9.0pt;font-family:Menlo;color:#26B41B">stack@devstack-masakari</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">:</span><b><span style="font-size:9.0pt;font-family:Menlo;color:#4D2CDC">~/masakari-monitors</span></b><span style="font-size:9.0pt;font-family:Menlo;color:black">$ </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Greg.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-family:Calibri;color:black">From: </span>
</b><span style="font-family:Calibri;color:black">Greg Waines <Greg.Waines@windriver.com><br>
<b>Reply-To: </b>"openstack-dev@lists.openstack.org" <openstack-dev@lists.openstack.org><br>
<b>Date: </b>Monday, December 11, 2017 at 7:38 AM<br>
<b>To: </b>"openstack-dev@lists.openstack.org" <openstack-dev@lists.openstack.org><br>
<b>Subject: </b>Re: [openstack-dev] [masakari] problems starting up masakari instance monitoring in devstack @ master</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Actually, i’m guessing this is wrong because masakari-instancemonitor fails to start when i use these instructions.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
<p class="p1"><span class="s1"><b>stack@devstack-masakari</b></span><span class="s2">:</span><span class="s3"><b>~/masakari-monitors</b></span><span class="s2">$ sudo masakari-instancemonitor &</span><o:p></o:p></p>
<p class="p1"><span class="s2">[1] 22959</span><o:p></o:p></p>
<p class="p1"><span class="s1"><b>stack@devstack-masakari</b></span><span class="s2">:</span><span class="s3"><b>~/masakari-monitors</b></span><span class="s2">$ Traceback (most recent call last):</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s2">File "/usr/local/bin/masakari-instancemonitor", line 10, in <module></span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s2">sys.exit(main())</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s2">File "/usr/local/lib/python2.7/dist-packages/masakarimonitors/cmd/instancemonitor.py", line 31, in main</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s2">config.parse_args(sys.argv)</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s2">File "/usr/local/lib/python2.7/dist-packages/masakarimonitors/config.py", line 32, in parse_args</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s2">default_config_files=default_config_files)</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s2">File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2495, in __call__</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s2">self._check_required_opts()</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s2">File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line 3134, in _check_required_opts</span><o:p></o:p></p>
<p class="p1"><span class="apple-converted-space"> </span><span class="s2">raise RequiredOptError(opt.name, group)</span><o:p></o:p></p>
<p class="p1"><span class="s2">oslo_config.cfg.RequiredOptError: value required for option auth-url in group [api]</span><o:p></o:p></p>
<p class="p2"> <o:p></o:p></p>
<p class="p1"><span class="s2">[1]+</span><span class="apple-converted-space"> </span>
<span class="s2">Exit 1</span><span class="apple-converted-space">
</span><span class="s2">sudo masakari-instancemonitor</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Greg.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-family:Calibri;color:black">From: </span>
</b><span style="font-family:Calibri;color:black">Greg Waines <Greg.Waines@windriver.com><br>
<b>Reply-To: </b>"openstack-dev@lists.openstack.org" <openstack-dev@lists.openstack.org><br>
<b>Date: </b>Monday, December 11, 2017 at 7:17 AM<br>
<b>To: </b>"openstack-dev@lists.openstack.org" <openstack-dev@lists.openstack.org><br>
<b>Subject: </b>Re: [openstack-dev] [masakari] problems starting up masakari instance monitoring in devstack @ master</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">thanks Honjo,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">I’ll try this out now.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">I’m assuming that it is ok to start ONLY the instance-monitor if that’s all i want to test.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Is that correct ?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">In that case, following the instructions you pointed me at,
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">I would do the following:</span><o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:Calibri">setup devstack</span><o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt;mso-list:l0 level2 lfo2">
<![if !supportLists]><span style="font-family:"Courier New""><span style="mso-list:Ignore">o<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:Calibri">i.e. with ‘enable_plugin masakari git://git.openstack.org/openstack/masakari’</span><o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:Calibri">( don’t need corosync and pacemaker )</span><o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:Calibri">install & startup client</span><o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt;mso-list:l0 level2 lfo2">
<![if !supportLists]><span style="font-family:"Courier New""><span style="mso-list:Ignore">o<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:Calibri">cd</span><o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt;mso-list:l0 level2 lfo2">
<![if !supportLists]><span style="font-family:"Courier New""><span style="mso-list:Ignore">o<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:Calibri">git clone https://github.com/openstack/python-masakariclient.git</span><o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt;mso-list:l0 level2 lfo2">
<![if !supportLists]><span style="font-family:"Courier New""><span style="mso-list:Ignore">o<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:Calibri">cd python-masakariclient</span><o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt;mso-list:l0 level2 lfo2">
<![if !supportLists]><span style="font-family:"Courier New""><span style="mso-list:Ignore">o<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:Calibri">sudo python setup.py build</span><o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt;mso-list:l0 level2 lfo2">
<![if !supportLists]><span style="font-family:"Courier New""><span style="mso-list:Ignore">o<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:Calibri">sudo python setup.py install</span><o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="font-family:Symbol"><span style="mso-list:Ignore">·<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:Calibri">install & startup instance monitor</span><o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt;mso-list:l0 level2 lfo2">
<![if !supportLists]><span style="font-family:"Courier New""><span style="mso-list:Ignore">o<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:Calibri">cd</span><o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt;mso-list:l0 level2 lfo2">
<![if !supportLists]><span style="font-family:"Courier New""><span style="mso-list:Ignore">o<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:Calibri">git clone https://github.com/openstack/masakari-monitors.git</span><o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt;mso-list:l0 level2 lfo2">
<![if !supportLists]><span style="font-family:"Courier New""><span style="mso-list:Ignore">o<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:Calibri">sudo mkdir /etc/masakarimonitors</span><o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt;mso-list:l0 level2 lfo2">
<![if !supportLists]><span style="font-family:"Courier New""><span style="mso-list:Ignore">o<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:Calibri">cd masakari-monitors</span><o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt;mso-list:l0 level2 lfo2">
<![if !supportLists]><span style="font-family:"Courier New""><span style="mso-list:Ignore">o<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:Calibri">sudo python setup.py build</span><o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt;mso-list:l0 level2 lfo2">
<![if !supportLists]><span style="font-family:"Courier New""><span style="mso-list:Ignore">o<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:Calibri">sudo python setup.py install</span><o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt;mso-list:l0 level2 lfo2">
<![if !supportLists]><span style="font-family:"Courier New""><span style="mso-list:Ignore">o<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:72.0pt;text-indent:-18.0pt;mso-list:l0 level2 lfo2">
<![if !supportLists]><span style="font-family:"Courier New""><span style="mso-list:Ignore">o<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span style="font-size:11.0pt;font-family:Calibri">sudo masakari-instancemonitor &</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Is this correct ?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Greg.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-family:Calibri;color:black">From: </span>
</b><span style="font-family:Calibri;color:black">Rikimaru Honjo <honjo.rikimaru@po.ntt-tx.co.jp><br>
<b>Reply-To: </b>"openstack-dev@lists.openstack.org" <openstack-dev@lists.openstack.org><br>
<b>Date: </b>Thursday, December 7, 2017 at 12:24 AM<br>
<b>To: </b>"openstack-dev@lists.openstack.org" <openstack-dev@lists.openstack.org><br>
<b>Subject: </b>Re: [openstack-dev] [masakari] problems starting up masakari instance monitoring in devstack @ master</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Hello Greg,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">I forgot to tell you.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Please use process_list.yaml instead of proc.list.sample.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">On 2017/12/07 14:03, Rikimaru Honjo wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #B5C4DF 4.5pt;padding:0cm 0cm 0cm 4.0pt;margin-left:3.75pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt" id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE">
<div>
<p class="MsoNormal">Hello Greg,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Please use masakarimonitors.conf instead of hostmonitor.conf and processmonitor.conf.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">You can generate it by "tox -egenconfig".<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">hostmonitor.conf and processmonitor.conf are used for monitors implemented by shell script.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">masakarimonitors.conf is a configuration file for monitors implemented by python that you installed.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">And, we are preparing setting guides.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Please see it if you are good.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">masakari:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="https://review.openstack.org/#/c/489570/">https://review.openstack.org/#/c/489570/</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">masakari-monitors:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="https://review.openstack.org/#/c/489095/">https://review.openstack.org/#/c/489095/</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Best regards,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">On 2017/12/06 22:48, Waines, Greg wrote:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #B5C4DF 4.5pt;padding:0cm 0cm 0cm 4.0pt;margin-left:3.75pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt" id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE">
<div>
<p class="MsoNormal">I am just getting started working with masakari.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">I am working on master.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">I have setup Masakari in Devstack (see details at end of email) ... which starts up masakari-engine and masakari-api processes.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">I have git cloned the masakari-monitors and started them up (roughly) following the instructions at
<a href="https://github.com/openstack/masakari-monitors">https://github.com/openstack/masakari-monitors</a> .<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Specifically:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"># install & startup monitors<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">cd<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">git clone <a href="https://github.com/openstack/masakari-monitors.git">
https://github.com/openstack/masakari-monitors.git</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">cd masakari-monitors<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">sudo python setup.py install<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">cd<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">sudo mkdir /etc/masakarimonitors<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">sudo cp ~/masakari-monitors/etc/masakarimonitors/hostmonitor.conf.sample /etc/masakarimonitors/hostmonitor.conf<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">sudo cp ~/masakari-monitors/etc/masakarimonitors/processmonitor.conf.sample /etc/masakarimonitors/processmonitor.conf<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">sudo cp ~/masakari-monitors/etc/masakarimonitors/proc.list.sample /etc/masakarimonitors/proc.list<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">cd ~/masakari-monitors/masakarimonitors/cmd<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">sudo masakari-processmonitor.sh /etc/masakarimonitors/processmonitor.conf /etc/masakarimonitors/proc.list &<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">sudo masakari-hostmonitor.sh /etc/masakarimonitors/hostmonitor.conf &<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">sudo /usr/bin/python ./instancemonitor.py &<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">However the instancemonitor.py starts and exits ... and does not appear to start any process(es) ... with no error messages and no log file.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Is this the correct way to startup masakari instance monitoring ?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Greg.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">My Masakari setup in Devstack<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">sudo useradd -s /bin/bash -d /opt/stack -m stack<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">sudo su - stack<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">git clone <a href="https://github.com/openstack-dev/devstack">
https://github.com/openstack-dev/devstack</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">cd devstack<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> local.conf file:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">[[local|localrc]]<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">ADMIN_PASSWORD=admin<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">DATABASE_PASSWORD=admin<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">RABBIT_PASSWORD=admin<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">SERVICE_PASSWORD=admin<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"># setup Neutron services<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">disable_service n-net<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">enable_service q-svc<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">enable_service q-agt<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">enable_service q-dhcp<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">enable_service q-l3<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">enable_service q-meta<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"># ceilometer<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">enable_plugin ceilometer <a href="https://git.openstack.org/openstack/ceilometer">
https://git.openstack.org/openstack/ceilometer</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">enable_plugin aodh <a href="https://git.openstack.org/openstack/aodh">
https://git.openstack.org/openstack/aodh</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"># heat<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">enable_plugin heat <a href="https://git.openstack.org/openstack/heat">
https://git.openstack.org/openstack/heat</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"># vitrage<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">enable_plugin vitrage <a href="https://git.openstack.org/openstack/vitrage">
https://git.openstack.org/openstack/vitrage</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">enable_plugin vitrage-dashboard <a href="https://git.openstack.org/openstack/vitrage-dashboard">
https://git.openstack.org/openstack/vitrage-dashboard</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"># masakari<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">enable_plugin masakari git://git.openstack.org/openstack/masakari<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">./stack.sh<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">__________________________________________________________________________<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">OpenStack Development Mailing List (not for usage questions)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org">
OpenStack-dev-request@lists.openstack.org</a>?subject:unsubscribe<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</blockquote>
</blockquote>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">-- <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Rikimaru Honjo<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">E-mail:<a href="mailto:honjo.rikimaru@po.ntt-tx.co.jp">honjo.rikimaru@po.ntt-tx.co.jp</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">__________________________________________________________________________<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">OpenStack Development Mailing List (not for usage questions)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org">
OpenStack-dev-request@lists.openstack.org</a>?subject:unsubscribe<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
</body>
</html>