<div dir="ltr"><div>I'd like to open a discussion about bringing periodic auditing<br></div><div>to Glance. This would be very similar to Nova's instance usage audit,</div><div>which emits compute.instance.exists events for each instance that was</div>
<div>active for the given period. Likewise, Glance would emit an image.exists</div><div>for any image which was or is active for the given period.</div><div><br></div><div>As Ceilometer is the largest consumer of notifications in Openstack,</div>
<div>we'd really like to have their input on this.</div><div><br></div><div>Ceilometer is currently moving from a pulling/polling approach to a </div><div>push/notification based approach. The image.exists notification would be</div>
<div>useful for the 'image' metric seen in their docs here:</div><div><br></div><div><a href="http://docs.openstack.org/developer/ceilometer/measurements.html#image-glance">http://docs.openstack.org/developer/ceilometer/measurements.html#image-glance</a></div>
<div><br></div><div>Currently that meter tracks if the image (still) exists, and it does this</div><div>by setting the Gauge to 1 every time it gets a notification for the image.</div><div>The benefit of using a periodic image.exists notification for this meter</div>
<div>is that it would regularly get updated to ensure that the image is actually</div><div>still around.</div><div><br></div><div>As for Rackspace, the value we see in periodic image.exists is that it</div><div>provides a secondary way to identify usage. Currently, if you want to</div>
<div>track image usage using notifications, you must rely on instantaneous</div><div>notifications like image.create and image.delete. Going with those</div><div>notifications you'd bill for a given image until you receive an</div>
<div>image.delete. One issue that could arise would be a dropped image.delete.</div><div>Given that case, that image would be billed for indefinitely. With a</div><div>combination of instantaneous and periodic notification, you can detect</div>
<div>dropped notifications and in this case, a billing system using both</div><div>notifications would not end up over billing by charging for that image.</div><div><br></div><div>So, my question to the Ceilometer community is this, does this sound like</div>
<div>something Ceilometer would find value in and use? If so, would this be something</div><div>we would want most deployers turning on?</div><div><br></div><div>Thanks,</div><div>Andrew Melton</div></div>