<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} @font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
a:link, span.MsoHyperlink
{color:#0563C1;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:#954F72;
text-decoration:underline}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
p.msochpdefault, li.msochpdefault, div.msochpdefault
{margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Calibri",sans-serif}
span.emailstyle17
{font-family:"Calibri",sans-serif;
color:windowtext}
span.EmailStyle21
{font-family:"Calibri",sans-serif;
color:#1F497D}
.MsoChpDefault
{font-size:10.0pt;
font-family:"Calibri",sans-serif}
@page WordSection1
{margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
{}--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Nate,</p>
<p><br>
</p>
<p>That's right. Initially there wasn't any work done to the Ansible playbooks to turn off Aodh alarming when deploying Ceilometer.</p>
<p>Ideally the playbooks would check to see if any alarm hosts are defined. If so, then turn on the Aodh configurations within Ceilometer. If not, then leave those configurations out.<br>
</p>
<p><br>
</p>
<p>It's worth noting that Ceilometer Alarms are deprecated in Liberty in favor of Aodh. If you turn off Aodh, then that feature will not be available to you.</p>
<p>Feel free to file a bug explaining the situation, and if you are feeling up for it -- add the logic in to check for Aodh hosts :).
</p>
<p><br>
</p>
<p>-Alex<br>
</p>
<div style="color: rgb(33, 33, 33);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Potter, Nathaniel <nathaniel.potter@intel.com><br>
<b>Sent:</b> Tuesday, February 23, 2016 5:56 PM<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> Re: [openstack-dev] [ceilometer] [openstack-ansible] OpenStack-Ansible Ceilometer Configuration</font>
<div> </div>
</div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hi Alex,</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">So it’s looking to me like my problem was being caused by openstack-ansible trying to set up aodh although I didn’t configure it and didn’t want to use it. In ceilometer.conf I found that in the [database] section
the metering and event connections were correctly looking for mongodb at the IP I set as my bind IP, but it was also adding an alarm connection looking for an aodh user in the database at localhost. This was causing the ceilometer API to time out repeatedly
looking for the connection that didn’t exist. I don’t have any aodh configuration set up in /etc/openstack_deploy, so should that line not have been put into my ceilometer.conf?</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks,</span></p>
<p class="MsoNormal"><span style="color:#1F497D">Nate</span></p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><a name="_____replyseparator"></a><b>From:</b> Alex Cantu [mailto:miguel.cantu@RACKSPACE.COM]
<br>
<b>Sent:</b> Wednesday, February 17, 2016 4:48 PM<br>
<b>To:</b> openstack-dev@lists.openstack.org<br>
<b>Subject:</b> Re: [openstack-dev] [ceilometer] [openstack-ansible] OpenStack-Ansible Ceilometer Configuration</p>
</div>
</div>
<p class="MsoNormal"> </p>
<p><span style="font-family:"Calibri",sans-serif; color:black">Nate,</span></p>
<p><span style="font-family:"Calibri",sans-serif; color:black"> </span></p>
<p><span style="font-family:"Calibri",sans-serif; color:black">The mongodb host can be anywhere, so long as it can reached by the ceilometer containers (on the same network).
</span></p>
<p><span style="font-family:"Calibri",sans-serif; color:black">What branch are you working from? Master and Liberty should have no problems as far as I'm aware. There is a bug open in regards to authentication with swift, but everything else should work fine.</span></p>
<p><span style="font-family:"Calibri",sans-serif; color:black"> </span></p>
<p><span style="font-family:"Calibri",sans-serif; color:black">Feel free to send over your ceilometer-api, ceilometer-notification-agent, and ceilometer-pollster logs on a pastebin that way I can take a look.
</span></p>
<p><span style="font-family:"Calibri",sans-serif; color:black"> </span></p>
<p><span style="font-family:"Calibri",sans-serif; color:black">-Alex</span></p>
<div>
<div class="MsoNormal" style="text-align:center" align="center"><span style="font-size:12.0pt; color:#212121">
<hr align="center" size="3" width="98%">
</span></div>
<div id="divRplyFwdMsg">
<p class="MsoNormal"><b><span style="color:black">From:</span></b><span style="color:black"> Potter, Nathaniel <<a href="mailto:nathaniel.potter@intel.com">nathaniel.potter@intel.com</a>><br>
<b>Sent:</b> Wednesday, February 17, 2016 4:17 PM<br>
<b>To:</b> <a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a><br>
<b>Subject:</b> [openstack-dev] [ceilometer] [openstack-ansible] OpenStack-Ansible Ceilometer Configuration</span><span style="font-size:12.0pt; color:#212121">
</span></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt; color:#212121"> </span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="color:#212121">Hi everyone,</span></p>
<p class="MsoNormal"><span style="color:#212121"> </span></p>
<p class="MsoNormal"><span style="color:#212121">I’ve been working on setting up a 10 node OpenStack installation with ceilometer using openstack-ansible, but the way I’ve configured it isn’t working for me. I’ve tried following these instructions
<a href="http://docs.openstack.org/developer/openstack-ansible/install-guide/configure-ceilometer.html">
http://docs.openstack.org/developer/openstack-ansible/install-guide/configure-ceilometer.html</a>, doing these steps –</span></p>
<p class="MsoNormal"><span style="color:#212121"> </span></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><span style="color:#212121">-</span><span style="font-size:7.0pt; font-family:"Times New Roman",serif; color:#212121">
</span><span style="color:#212121">I set up MongoDB on the metering-infra_host, making the bind_ip the br-mgmt IP of that host and creating the ceilometer user.
</span></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><span style="color:#212121">-</span><span style="font-size:7.0pt; font-family:"Times New Roman",serif; color:#212121">
</span><span style="color:#212121">In /etc/openstack_deploy/conf.d/ceilometer.yml I have a compute host under metering-compute_hosts and the infra host that I configured MongoDB on in my metering-infra_hosts.
</span></p>
<p class="MsoListParagraph" style="text-indent:-.25in"><span style="color:#212121">-</span><span style="font-size:7.0pt; font-family:"Times New Roman",serif; color:#212121">
</span><span style="color:#212121">I also set the ceilometer_db_ip in user_variables to be equal to the bind_ip set on the infra host.
</span></p>
<p class="MsoNormal"><span style="color:#212121"> </span></p>
<p class="MsoNormal"><span style="color:#212121">Running the ceilometer installation playbook is successful, but when I log into the utility container and try to run ceilometer meter-list it times out and says ‘Service Unavailable (HTTP 503)’.</span></p>
<p class="MsoNormal"><span style="color:#212121"> </span></p>
<p class="MsoNormal"><span style="color:#212121">Does anyone see anywhere that I went wrong in these steps, should bind-ip be set to something else, or should I be configuring this database on the compute host rather than the infra? The documentation wasn’t
entirely clear on that point.</span></p>
<p class="MsoNormal"><span style="color:#212121"> </span></p>
<p class="MsoNormal"><span style="color:#212121">Thanks,</span></p>
<p class="MsoNormal"><span style="color:#212121">Nate</span></p>
<p class="MsoNormal"><span style="color:#212121"> </span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>