<div dir="ltr"><p dir="ltr">Hi Umar,</p><p dir="ltr">As far as I know, you should follow these steps to make this work:</p><p dir="ltr">1- Run stack.sh<br>2- Add rules to policy.json in /etc/ceilometer<br>3- Restart ceilometer service. Follow this link [1] to see how can you restart a particular service.</p><div class="gmail_quote"><br></div><div class="gmail_quote">[1] <a href="http://stackoverflow.com/questions/23593508/restarting-a-service-in-openstack-installed-using-devstack">http://stackoverflow.com/questions/23593508/restarting-a-service-in-openstack-installed-using-devstack</a></div><div class="gmail_quote"><br></div><div class="gmail_quote">Hope this helps.</div><div class="gmail_quote"><br></div><div class="gmail_quote">Rubab</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 15, 2016 at 4:57 PM, Umar Yousaf <span dir="ltr"><<a href="mailto:umarusaf902@gmail.com" target="_blank">umarusaf902@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I am pretty new to openstack and I have a very basic question to ask. I have a single node liberty edition of devstack up and running.</div><div><br></div><div>I order to get <b>ceilometer events</b> for instances running on demo tenant with admin token set I have heard about role based access control (rbac) following <a href="http://specs.openstack.org/openstack/ceilometer-specs/specs/liberty/events-rbac.html" target="_blank">http://specs.openstack.org/openstack/ceilometer-specs/specs/liberty/events-rbac.html</a>, so I added those two rules in <b>policy.json </b> inside<b> /etc/ceilometer</b> and in order to test its affect I ./stack.sh but after that I could not find those two rules added by me. The file is updated again with its default values. </div><div><br></div><div>Is there anyway that these changes remain intact after stack.sh too. Isn't it a very general thing that you have to update the configuration in order to override the default behavior and in testing environment such as mine you will be doing stack.sh very often so these changes must not be updated by the default ones again.</div><div><br></div><div>Regards,</div><div>Umar</div></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>