Thursday, 2014-04-24

*** chandan_kumar has joined #openstack-climate05:00
*** bauzas has joined #openstack-climate07:21
bauzasDinaBelova: hi, today's Climate day for me :)08:35
DinaBelovabauzas :D08:38
DinaBelovaheh))08:38
DinaBelovanice)08:38
bauzasDinaBelova: I was looking at the devstack error08:39
DinaBelovayes?08:39
bauzashave you seen the error by itself yet ?08:39
bauzashttp://logs.openstack.org/10/89910/1/check/gate-climate-devstack-dsvm/7e9c822/logs/devstacklog.txt.gz08:39
bauzas2014-04-23 19:00:36.841 | Creating nova aggregate used as freepool for Climate Host Reservation08:39
bauzas2014-04-23 19:00:36.842 | ++ create_climate_aggregate_freepool08:39
bauzas2014-04-23 19:00:36.844 | ++ nova aggregate-create freepool08:39
bauzas2014-04-23 19:00:37.412 | ERROR (NotFound): Not found (HTTP 404)08:39
bauzashence the error08:39
bauzasso I'm approving changes that are not related to this08:41
DinaBelovaheh, yes08:50
DinaBelovastrange error08:50
DinaBelovaprobably we need to investigate where it's from08:50
DinaBelovaas that's bad :(08:51
bauzasyup08:53
openstackgerritA change was merged to stackforge/climate: Fixes the problem of tenant_id key error  https://review.openstack.org/8991008:54
openstackgerritA change was merged to stackforge/python-climateclient: Updated from global requirements  https://review.openstack.org/8925509:37
openstackgerritA change was merged to stackforge/python-climateclient: Add sort-by option for climateclient list commands  https://review.openstack.org/8794909:50
openstackgerritA change was merged to stackforge/climate: Added V2 API auth configuration to devstack  https://review.openstack.org/8941810:02
DinaBelovabauzas, Nikolay_1t, scroiset_ - I've wrote letter to dev ML10:11
DinaBelovaabout nominating Pablo Andres Fuente for the Climate core reviewers team10:11
DinaBelovaso please leave your +1/-1 there))10:11
bauzassure10:11
*** chandan_kumar has quit IRC11:45
*** cmart has joined #openstack-climate12:59
cmarthello!13:01
bauzascmart: hi13:03
cmartbauzas: thanks for all your comments.. they're really helpful!13:04
cmarthowever, there are some of those that I didn´t understand..13:04
bauzascmart: sure, let me know13:04
cmartMost of them, related to https://review.openstack.org/#/c/89833/13:05
cmartwhat do you mean with amend APIv2 tests? Is just to add tests that check that a new parameter is coming?13:06
bauzasno13:06
bauzasI mean, there is a fake_lease() method in the tests13:06
bauzaswhich is reproducing a lease13:06
bauzasyou should add your own field in there13:06
bauzasand you also missed to amend the WSME complex type for a lease13:07
cmartOh.. I see..13:07
bauzasyou have to define a new attribute for the Lease object13:07
bauzasin the leases.py module13:07
bauzasand set it to a WSME type13:07
bauzasand also modify the sample() method13:07
bauzasto add it13:07
cmartI didn´t know about that13:08
bauzasif no, it won't generate the autodoc for it13:08
bauzasyey13:08
cmartOK.. Will work on that..13:08
bauzasWSME requires to define static types13:08
bauzasfor API objects13:08
bauzasbut the good thing is that allows to do input validation at the API level13:09
bauzasso, if someone is not passing a datetime as param, it will raise an Exception13:09
bauzasbefore even the API controller13:09
cmartDo you have idea if we could use that not only to check the object type but the format date?13:10
bauzasI don't understand13:10
bauzastake the end_date WSME type13:10
bauzas    end_date = types.Datetime(service.LEASE_DATE_FORMAT)13:10
cmartthat's it!13:11
cmartnevermind13:11
bauzasthat's defined in climate.api.v2.controllers.types13:11
cmartthat line answers my question hehe13:11
bauzasdon't forget the sample() method13:11
bauzasthat allows to autogenerate API document13:12
bauzasdocumentation I mean13:12
cmartyes! That's the last working item I have..13:12
bauzashttps://github.com/stackforge/climate/blob/master/climate/api/v2/controllers/types.py#L11813:12
cmartwill work on that as soon as I finished the changes that people requested on my patch13:12
bauzashere is the code for validating the format13:13
cmart(y)13:13
bauzasyou can amend it if you wish13:13
bauzasbut you're sure to have this check13:13
bauzasthat should not be done at the manager level13:13
bauzasyou can backport your validation code from the manager to API v113:14
bauzasthat's safier13:14
cmartOK13:14
bauzasas it prevents to go thru RPC13:14
bauzasbefore being checked13:14
cmartOne last thing: could you please take a look at https://review.openstack.org/#/c/87352/? Is the tempest stuff I worked on a couple of weeks ago... It will be great to have your feedback13:14
bauzasyey, I know13:14
bauzasI have 2 more big patches to review13:15
bauzasthe one for tempest and the one for PR using trusts13:15
bauzasboth are really huge13:15
cmartOK.. No problem13:15
bauzasnow I'm reviewing Nova code, these ones are definitely bigger to review :)13:15
cmart:D13:16
bauzasDinaBelova: you there ?13:16
DinaBelovayep13:16
bauzascool13:16
DinaBelova:D13:17
bauzasDinaBelova: nevermind13:17
*** casanch1 has joined #openstack-climate13:22
casanch1hi13:26
casanch1what is the problem you have with devstack13:26
DinaBelovacasanch1, you may take a look on the logs of some changes13:28
DinaBelovadvsm job is failing :?13:28
DinaBelovawith no climate tabs started13:28
DinaBelova[12:39:31]  <bauzas> http://logs.openstack.org/10/89910/1/check/gate-climate-devstack-dsvm/7e9c822/logs/devstacklog.txt.gz13:28
DinaBelova[12:39:52]  <bauzas> 2014-04-23 19:00:36.841 | Creating nova aggregate used as freepool for Climate Host Reservation13:28
DinaBelova[12:39:52]  <bauzas> 2014-04-23 19:00:36.842 | ++ create_climate_aggregate_freepool13:28
DinaBelova[12:39:52]  <bauzas> 2014-04-23 19:00:36.844 | ++ nova aggregate-create freepool13:28
DinaBelova[12:39:52]  <bauzas> 2014-04-23 19:00:37.412 | ERROR (NotFound): Not found (HTTP 404)13:28
cmartbauzas, are you there?13:40
bauzascmart: up13:40
bauzasyup13:40
cmartquick question.. regarding the WSME stuff.. this new param is optional. What would happen if I add the stuff you asked but the request don't contains the parameter?13:41
bauzasthat's not mandatory13:42
bauzassee the update method for the lease13:42
bauzaswe define the body as a Lease13:42
bauzasbut when updating, only a few attributes are given13:42
*** pafuent has joined #openstack-climate13:45
cmartOh I see.. thanks!13:45
pafuentHi. Regarding the gate-climate-devstack-dsvm failures, something weird is happening to Keystone (http://logs.openstack.org/33/89833/3/check/gate-climate-devstack-dsvm/804400b/logs/screen-key.txt.gz)13:51
pafuentI'm checking if I could reproduce this thing locally13:51
cmartthat happened to me yesterday13:52
cmartjust one time.. and once I restarted the all stack, it was fixed13:52
cmartI didn´t update the keystone module.. but I can try if you want to..13:52
pafuentcmart: Please, try it again (four eyes is better than two)13:54
cmartI'll update the keystone module and let you know... new core reviewer... :):)13:55
pafuent:-D13:55
cmartbauzas: are you still there?14:05
bauzasyes14:05
cmarthttps://review.openstack.org/#/c/87684/3/climateclient/v1/leases.py14:06
cmartyour comments around the way we are parsing the params..14:06
cmartyou pointed out the oslo timeutils module to do this, but I'm not sure how14:07
cmartI mean, it makes sense to use some of the methods on that module, but the "switch" that we have seems good to me14:08
cmartI have two patches around that and I could refactor the all thing..14:09
cmartand since we don´t have tests for that, I could also work on the https://review.openstack.org/#/c/73574/...14:10
cmart(which are client tests)14:10
cmartfor the stuff related to the client params, I suggest that we have a method that can convert an elapsed time that matches a regex into a seconds.14:11
cmartsmth like seconds = elapsed_time_to_seconds(elapsed_time_expression, regex)14:12
cmartand inside that, use some of the timeutils methods you mentioned14:12
cmart any comments?14:18
cmartcd ..14:20
cmartls14:20
cmartsorry! wrong window14:20
pafuenthahaha14:20
bauzassorry, was aeound14:31
cmartbauzas: np14:38
*** chandan_kumar has joined #openstack-climate15:04
*** pafuent has quit IRC15:04
*** pafuent has joined #openstack-climate15:10
*** chandan_kumar has quit IRC15:16
*** pafuent has left #openstack-climate15:17
*** pafuent has joined #openstack-climate15:18
*** pafuent has quit IRC16:01
*** pafuent has joined #openstack-climate16:03
*** bauzas has quit IRC16:12
*** chandan_kumar has joined #openstack-climate16:25
*** pafuent has left #openstack-climate16:44
*** pafuent has joined #openstack-climate16:47
*** chandan_kumar has quit IRC17:19
*** chandan_kumar has joined #openstack-climate17:19
*** casanch1 has quit IRC17:31
openstackgerritPablo Andres Fuente proposed a change to stackforge/climate: API returns project/user/trust ids without dashes  https://review.openstack.org/8941217:51
*** casanch1 has joined #openstack-climate18:30
pafuentI found why our devstack is failing18:37
pafuentDevstack commit 3317437caca5eb769ab4c6d3ea7c5d3e062517e218:37
pafuent"No need to set osapi_compute_extension and volume_api_class to there default values."18:38
pafuentI'll fill a bug for it, and submit a patch18:40
pafuentWe need that default value, because our devstack is overriding the default value, so no default nova extensions are loaded18:41
*** chandan_kumar has quit IRC18:52
DinaBelovapafuent, cool, thanks!19:12
*** chandan_kumar has joined #openstack-climate19:16
pafuentDinaBelova: :)19:20
*** chandan_kumar has quit IRC19:23
openstackgerritPablo Andres Fuente proposed a change to stackforge/climate: Set osapi_compute_extensions default value  https://review.openstack.org/9020619:45
openstackgerritChristian Martinez proposed a change to stackforge/climate: API Support for before_end param configuration  https://review.openstack.org/8983320:16
*** casanch1_ has joined #openstack-climate20:32
*** casanch1 has quit IRC20:36
*** cmart has quit IRC20:36
*** casanch1_ has quit IRC21:05
*** casanch1 has joined #openstack-climate21:05
*** pafuent has left #openstack-climate21:22
*** casanch1 has quit IRC21:30

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