devkulkarni: I removed my −1, but keep in mind a −1 isn't a blocker (unless its from Jenkins of course). I can't −2 anything from solum ;)
adrian_otto joined the channel
devkulkarni has quit
james_li has quit
devkulkarni joined the channel
ravips joined the channel
mkam has quit
devkulkarni
randallburt: thanks :) .. about -1 .. it was important to me that you are on-board irrespective of whether it is -1 or -2 as you had done the initial patch
openstackgerrit joined the channel
randallburt
devkulkarni: gotcha. Unfortunately I don't think I'll have time to do a thorough test, so I just removed my -1
devkulkarni
randallburt: I see. I will test it again before submitting another patch (will also remove that one assert)
randallburt
k
devkulkarni1 joined the channel
devkulkarni has quit
pt_15 joined the channel
pt_15
devkulkarni1: hey!
devkulkarni1
pt_15: hi
pt_15
i looked at your review on the patch, but I'm not sure I completely understood what you were trying to say regarding the created_at field coming from the solum-api
devkulkarni1
pt_15: solum's api side should be setting the created_at field when an app is created. Ideally we should add it to the app database table.. I was under the impression that we have it in that table. But I just checked, it is not there. So the second approximate approach is to set these field in the controller layer of solum. We are currently doing this for assembly (https://github.com/openstack/solum/blob/master/...
so we could do something similar for app
openstackgerrit joined the channel
assuming that we make that change on the solum service side, then your cli patch will only have to read off that field from the app object that we receive back in line 852 of your cli patch
kebray_ joined the channel
kebray has quit
pt_15
ohh ok, alright
devkulkarni1
so you could submit a patch for solum service to add 'created_at' similar to what is currently done for assembly
pt_15
hmm, ok, i think i got it
i'll try doing that and will get back to you in case i have any more doubts
provide a good description and assign it to yourself
pt_15
ok, alright :)
devkulkarni1
randallburt: I re-verifed. If some exception is raised from within solum, pecan sets response.status_code to 500 and the wrapper translates the exception message as intended. And for actions that don't lead to any exceptions, the api log does not contain a exception line (which is what my patch is fixing).
randallburt
devkulkarni1: excellent!
pt_15
devkulkarni1: also, can I submit a patch in python-solumclient before the one in solum gets merged, since it depends on that?
devkulkarni1
pt_15: good point. we should get your solum patch merged first; if you submit next version of the python-solumclient patch, then mark it as 'Work-in-progress (WIP)' by selecting the appropriate radio button on the review. that way, we won't merge this patch before the patch on the service side is merged.