Wednesday, 2016-01-20

*** thorst has joined #openstack-watcher00:05
*** wootehfoot has quit IRC00:38
*** harlowja has quit IRC01:30
*** harlowja has joined #openstack-watcher01:30
*** thorst has quit IRC03:09
*** jwcroppe_ has joined #openstack-watcher06:00
*** jwcroppe has quit IRC06:02
openstackgerritTaylor Peoples proposed openstack/watcher: WIP: Create OpenStackClients convenience class  https://review.openstack.org/27003907:33
*** tkaczynski has joined #openstack-watcher07:48
*** dtardivel has joined #openstack-watcher08:08
*** vincentfrancoise has joined #openstack-watcher08:26
*** gabor_antal has joined #openstack-watcher10:57
*** vincentfrancoise has quit IRC11:40
*** openstackgerrit has quit IRC11:43
*** openstackgerrit has joined #openstack-watcher11:44
*** thorst has joined #openstack-watcher12:46
*** vincentfrancoise has joined #openstack-watcher13:01
*** bruno_ has joined #openstack-watcher13:22
*** bruno_ is now known as brunograz13:22
*** seanmurphy has joined #openstack-watcher13:37
seanmurphyhey guys - we’re working on our specification13:37
seanmurphywhich we will submit some variant today13:37
*** vtech has joined #openstack-watcher13:39
acabotseanmurphy : just in time ;-)13:53
*** vtech has quit IRC13:56
*** seanmurphy has quit IRC13:56
acabotwe will start our weekly meeting in 4 minutes on #openstacl-meeting-413:57
dtardivelo/13:59
sballemorning14:00
sballeacabot: I will only be able to participate in the meeting for the first 30 minutes because I have a personal commitment at 9:3014:00
*** jwcroppe_ is now known as jwcroppe14:01
*** seanmurphy has joined #openstack-watcher14:01
acabotsballe: if you can talk about Intel staff changes in ancouncements so14:01
*** vtech has joined #openstack-watcher14:02
sballeok14:02
*** vtech has quit IRC14:03
*** vtech has joined #openstack-watcher14:03
*** thorst has quit IRC14:09
*** thorst has joined #openstack-watcher14:09
openstackgerritMerged openstack/watcher: Missing super() in API collection controllers  https://review.openstack.org/26959014:14
openstackgerritVincent Mahe proposed openstack/watcher: Add diagrams to the architecture doc page  https://review.openstack.org/26646114:14
openstackgerritDavid TARDIVEL proposed openstack/watcher: Fix Warnings generated while building of HTML docu  https://review.openstack.org/26800614:23
openstackgerritDavid TARDIVEL proposed openstack/watcher: Refactor Commands section  https://review.openstack.org/26808614:23
*** thorst has quit IRC14:32
*** cjvolzka has joined #openstack-watcher14:34
*** vtech has quit IRC14:50
*** vtech_ has joined #openstack-watcher14:50
tpeoplesdtardivel: the request comes in and wsme_pecan converts the json body to an Audit object (https://github.com/openstack/watcher/blob/master/watcher/api/controllers/v1/audit.py#L349).  part of that conversion is grabbing the audit template (https://github.com/openstack/watcher/blob/master/watcher/api/controllers/v1/audit.py#L87).  in that method you can see we14:57
tpeoplesjust pass over the AuditTemplateNotFound exception.  if we don't (i.e., let the exception through) and if we ever have any audit's with an audit template of None, then the audit list API would fail.14:57
tpeoplesdtardivel: so as is with the pass on exception, we end up with an Audit object with an audit template of None.  we could do an if check on the audit template field in the post() method, but we lose the context and can't tell the user what the UUID/name of the audit template that wasn't found was14:58
*** seanmurphy has left #openstack-watcher15:04
*** seanmurphy has joined #openstack-watcher15:06
dtardiveltpeoples: let me have a look on the code :)15:08
*** thorst has joined #openstack-watcher15:08
*** thorst has quit IRC15:08
*** thorst has joined #openstack-watcher15:08
*** darrenshaw has joined #openstack-watcher15:24
*** dshaw has joined #openstack-watcher15:36
*** darrenshaw has quit IRC15:55
dtardiveltpeoples: Why not do this simply to fix the bug (validate on devstack) :16:16
dtardivelhttps://www.irccloud.com/pastebin/scHNZp9H/16:16
tpeoplessure, but that error message doesn't include the uuid / name that wasn't found16:17
dtardivelhttps://www.irccloud.com/pastebin/wSfTEns5/16:17
dtardivelThis information is on CLI side16:20
dtardivelWhen I wrote this bug, the main idea is Server Internal Error was not the good error code, because the error is on client side (so an 4XX error)16:21
tpeoplesright, but i'm saying that IMO the error should be returning the UUID / name in the message and the way we have the Audit object fetching the audit template this is not possible16:22
dtardivelin this particular use case (creation of audit, we have only one parameter today) CLI has this information and maybe sould add this information in error message ?16:24
tpeoplesseems odd that the client should have to do that when the server should just be including it IMO.  for now we can just do the simple fix.  it's going to probably change when we fix the audit template / audit history issue anyways16:26
dtardivelright16:27
dtardivelWe have to work about Audit Template updates. How to manage existed audit ? What about periodic audit. A lot a questions ... and your idea to copy some AT parameters into Audit object is a good idea...16:30
dtardivelIf you create the BP, I would be able to work with you and vincentfrancoise on it16:31
tpeoples+1 dtardivel, sounds good. won't get to it until later this week though16:31
tpeoplesi'll get a review up for that simple fix to the bug for now16:31
dtardivelok16:31
dtardivelDo you want I create the BP now ?16:34
tpeoplessure, if you'd like16:34
dtardivelok16:34
*** gabor_antal has quit IRC16:53
openstackgerritDavid TARDIVEL proposed openstack/watcher: Add reference de Ceilometer developer guide  https://review.openstack.org/26966217:07
*** seanmurphy has quit IRC17:15
*** vincentfrancoise has quit IRC17:18
openstackgerritVincent Mahe proposed openstack/watcher: Add diagrams to the architecture doc page  https://review.openstack.org/26646117:21
*** vtech_ has quit IRC17:52
*** vmahe1 has joined #openstack-watcher18:13
*** dtardivel_ has joined #openstack-watcher18:14
*** dshaw has quit IRC18:22
*** thorst has quit IRC18:22
*** dtardivel has quit IRC18:22
*** vmahe has quit IRC18:22
*** dtardivel_ is now known as dtardivel18:22
*** thorst has joined #openstack-watcher18:29
*** vtech has joined #openstack-watcher18:46
*** cjvolzka has quit IRC18:57
*** cjvolzka has joined #openstack-watcher18:57
*** dtardivel has quit IRC18:58
*** dtardivel has joined #openstack-watcher18:58
*** darrenshaw has joined #openstack-watcher19:07
*** darrenshaw has quit IRC19:08
*** dtardivel has quit IRC19:17
*** vtech has quit IRC20:17
*** vtech has joined #openstack-watcher20:19
*** vtech has quit IRC20:29
*** vtech has joined #openstack-watcher20:30
*** vtech has quit IRC20:49
*** vtech has joined #openstack-watcher20:50
*** vtech has quit IRC22:05
*** vtech has joined #openstack-watcher22:06
*** vtech has quit IRC22:11
*** vtech has joined #openstack-watcher22:11
*** thorst has quit IRC22:14
*** thorst has joined #openstack-watcher22:15
*** vtech has quit IRC22:16
*** vtech_ has joined #openstack-watcher22:16
*** thorst has quit IRC22:19
*** thorst has joined #openstack-watcher22:40
*** thorst has quit IRC22:44
*** vtech_ has quit IRC22:44
*** cjvolzka has quit IRC22:57
*** mordred has quit IRC23:04
*** mordred has joined #openstack-watcher23:05
*** cjvolzka has joined #openstack-watcher23:32
*** cjvolzka has quit IRC23:37

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!