<html xmlns:v="urn:schemas-microsoft-com:vml" 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=gb2312">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@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:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:SimSun;}
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
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:SimSun;}
tt
{mso-style-priority:99;
font-family:SimSun;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi Dong,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">What was the problem?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Alexey<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> dong.wenjuan@zte.com.cn [mailto:dong.wenjuan@zte.com.cn]
<br>
<b>Sent:</b> Monday, September 05, 2016 8:07 AM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Cc:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> [openstack-dev] </span><span lang="ZH-CN" style="font-size:10.0pt">答复</span><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">: [vitrage] can't get nagios datasource<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">I already found the problem, thanks~<br>
</span><br>
<br>
<br>
<o:p></o:p></p>
<table class="MsoNormalTable" border="0" cellpadding="0" width="100%" style="width:100.0%">
<tbody>
<tr>
<td width="36%" valign="top" style="width:36.0%;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><b><span style="font-size:7.5pt;font-family:"Arial","sans-serif""><a href="mailto:dong.wenjuan@zte.com.cn">dong.wenjuan@zte.com.cn</a></span></b><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">
</span><o:p></o:p></p>
<p><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">2016-09-05 12:41</span>
<o:p></o:p></p>
<table class="MsoNormalTable" border="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="background:white;padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" align="center" style="text-align:center"><span lang="ZH-CN" style="font-size:7.5pt">请答复</span><span lang="ZH-CN" style="font-size:7.5pt;font-family:"Arial","sans-serif"">
</span><span lang="ZH-CN" style="font-size:7.5pt">给</span><span style="font-size:7.5pt;font-family:"Arial","sans-serif""><br>
"OpenStack Development Mailing List \(not for usage questions\)" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>></span><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
</td>
<td width="63%" valign="top" style="width:63.0%;padding:.75pt .75pt .75pt .75pt">
<table class="MsoNormalTable" border="0" cellpadding="0" width="100%" style="width:100.0%">
<tbody>
<tr>
<td valign="top" style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" align="right" style="text-align:right"><span lang="ZH-CN" style="font-size:7.5pt">收件人</span><o:p></o:p></p>
</td>
<td valign="top" style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>></span>
<o:p></o:p></p>
</td>
</tr>
<tr>
<td valign="top" style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" align="right" style="text-align:right"><span lang="ZH-CN" style="font-size:7.5pt">抄送</span><o:p></o:p></p>
</td>
<td valign="top" style="padding:.75pt .75pt .75pt .75pt"></td>
</tr>
<tr>
<td valign="top" style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal" align="right" style="text-align:right"><span lang="ZH-CN" style="font-size:7.5pt">主题</span><o:p></o:p></p>
</td>
<td valign="top" style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">[openstack-dev] [vitrage] can't get nagios datasource</span><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><o:p> </o:p></p>
<table class="MsoNormalTable" border="0" cellpadding="0">
<tbody>
<tr>
<td valign="top" style="padding:.75pt .75pt .75pt .75pt"></td>
<td valign="top" style="padding:.75pt .75pt .75pt .75pt"></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
Hi Vitrages,</span> <br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
I deploy the Vitrage OS env with the latest code using devstack.</span> <br>
And I config the Nagios and start my_site. <br>
I used the config two months ago, it works. <br>
But this time, it can not get the nagio datasource. <br>
<br>
In the function `<b><span style="font-size:10.0pt;font-family:"Courier New"">prepare_service</span></b>`, i add some log to print `conf.datasources.types` as follows:
<br>
It seems that the <span style="font-size:10.0pt;font-family:"Courier New"">oslo_config</span> can't get the Nagios opts.
<br>
I checked all the Nagios config and didn't find the error. <br>
Is there any change about the config? <br>
<br>
2016-09-05 14:48:55.680 1288 INFO vitrage.service [-] -------------dwj---------prepare_service: nova.host
<br>
2016-09-05 14:48:55.680 1288 INFO vitrage.service [-] -------------dwj---------prepare_service: nova.instance
<br>
2016-09-05 14:48:55.681 1288 INFO vitrage.service [-] -------------dwj---------prepare_service: nova.zone
<br>
2016-09-05 14:48:55.681 1288 INFO vitrage.service [-] -------------dwj---------prepare_service: static_physical
<br>
2016-09-05 14:48:55.682 1288 INFO vitrage.service [-] -------------dwj---------prepare_service: aodh
<br>
2016-09-05 14:48:55.682 1288 INFO vitrage.service [-] -------------dwj---------prepare_service: cinder.volume
<br>
2016-09-05 14:48:55.683 1288 INFO vitrage.service [-] -------------dwj---------prepare_service: neutron.network
<br>
2016-09-05 14:48:55.683 1288 INFO vitrage.service [-] -------------dwj---------prepare_service: neutron.port<br>
<tt>__________________________________________________________________________</tt><br>
<tt>OpenStack Development Mailing List (not for usage questions)</tt><br>
<tt>Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org?subject:unsubscribe">
OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a></tt><br>
<tt><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></tt><o:p></o:p></p>
</div>
</div>
</body>
</html>