Tuesday, 2017-03-14

*** john-davidge has quit IRC00:02
*** salv-orlando has quit IRC00:09
openstackgerritMerged openstack/cliff master: Updated from global requirements  https://review.openstack.org/44003300:14
*** reedip has quit IRC00:23
openstackgerritColleen Murphy proposed openstack/python-openstackclient master: Narrow expected responses for CheckUserInGroup  https://review.openstack.org/44525700:41
*** hoangcx has joined #openstack-sdks00:43
*** sdague has quit IRC00:57
*** jamielennox is now known as jamielennox|away00:58
stevemardtroyer: glance tests are borked01:08
*** jamielennox|away is now known as jamielennox01:12
stevemardtroyer: looks like we're setting IMAGE_API to 1: https://github.com/openstack/python-openstackclient/blob/master/openstackclient/tests/functional/image/v1/test_image.py#L2901:15
stevemar21:10 stevemar: sample failure: http://logs.openstack.org/20/437320/2/gate/gate-osc-dsvm-functional-ubuntu-xenial/8c6e99b/testr_results.html.gz01:15
stevemar21:11 stevemar: Command 'openstack image create 2c10175aea9041aaabd5b2de90285e76 -f value -c name' returned non-zero exit status 1.01:15
stevemar21:11 stevemar: HTTPMultipleChoices (HTTP 300) Requested version of OpenStack Images API is not available.01:15
stevemardtroyer: ah its all mriedem's fault01:16
stevemarhttps://github.com/openstack-dev/devstack/commit/80e82eac4cd127a68fceea37270d09f9cbd71c7501:16
ankur-gupta-f4stevemar: Why keep v1 around if deprecated since Newton?01:29
*** annp has joined #openstack-sdks01:35
*** yanyanhu has joined #openstack-sdks01:36
*** namnh has joined #openstack-sdks01:37
*** huanxuan has joined #openstack-sdks01:37
stevemarankur-gupta-f4: you shouldn't be removing APIs, like ever01:39
stevemarankur-gupta-f4: the change in devstack made it so image v1 isn't in the pipeline by default (because it is, as you said, deprecated)01:40
stevemarankur-gupta-f4: our tests assume its there, we'll have to change that01:40
openstackgerritLv Jiawei proposed openstack/python-openstackclient master: Add extra filtering options to qos policy list  https://review.openstack.org/40113101:41
ankur-gupta-f4stevemar: i meant the tests :|01:43
ankur-gupta-f4Would you change the tests or would you enable glance v1 in the test env?01:46
*** john-davidge has joined #openstack-sdks01:58
*** john-davidge has quit IRC02:03
*** bobh has quit IRC02:12
*** reedip has joined #openstack-sdks02:14
reedipstevemar : hi , any comments on https://review.openstack.org/#/c/383025/ ?02:16
reedipankur-gupta-f4 : https://review.openstack.org/#/c/376311/ ????02:16
*** bobh has joined #openstack-sdks02:20
openstackgerritjiahui.qiang proposed openstack/python-openstackclient master: Functional test for subnet_pool  https://review.openstack.org/44015002:20
*** gouthamr has quit IRC02:33
*** bobh has quit IRC02:36
*** fzdarsky_ has joined #openstack-sdks02:39
*** bobh has joined #openstack-sdks02:41
*** fzdarsky has quit IRC02:43
stevemarankur-gupta-f4: probably just skip the tests IMO02:44
stevemarankur-gupta-f4: it would be nice to check for that exception and skip the test02:45
reedipstevemar : hello :)02:47
stevemarreedip: mr reedip02:47
reedip??02:47
openstackgerritluqitao proposed openstack/osc-lib master: Replace six.iteritems() with .items()  https://review.openstack.org/44527302:50
reedipankur-gupta-f4, stevemar : How does OpenstackClient search for new Commands02:51
reedipankur-gupta-f4, stevemar : even if they are registered in tox.ini02:51
stevemarreedip: you mean setup.cfg :)02:57
reedipsorry , yeah stevemar02:57
reedipexcept setup.cfg02:57
stevemarreedip: you have to add it to setup.cfg and 'install' it02:57
stevemari normally create a new virtualenv by doing $ virtualenv testcmd02:58
stevemarsource it, $ source testcmd/bin/activate02:58
stevemargo to my OSC directory02:58
stevemaredit setup.cfg for the new command02:58
stevemarand 'install' osc locally in my virtualenv02:58
stevemar$ pip install -e .02:59
stevemar^ from OSC root directory02:59
stevemarwhen you run $ openstack --version you'll see a .dev version installed02:59
stevemarthat should have the new command02:59
*** namnh_ has joined #openstack-sdks02:59
stevemaryou can run $ which openstack and see where it points also02:59
stevemarwhen you're done with the virtualenv just run, $ deactivate03:00
stevemaryou can then rm -rf the virtualenv directory03:00
reedipstevemar : the command is not in OSC , its in a separate repo , which extends OSC plugins03:01
*** john-davidge has joined #openstack-sdks03:01
stevemarreedip: same principals i believe, install OSC in the virtualenv then the other repo03:02
*** namnh has quit IRC03:03
reediplemme try03:03
reedipstevemar : what if requirements are not met :)03:06
*** john-davidge has quit IRC03:06
*** namnh_ has quit IRC03:07
reedipstevemar : getting an error03:09
reedipin requirements03:09
*** salv-orlando has joined #openstack-sdks03:10
*** salv-orlando has quit IRC03:15
*** bobh has quit IRC03:16
*** huanxuan has quit IRC03:27
*** namnh has joined #openstack-sdks03:40
*** rabel_b1 has joined #openstack-sdks03:49
*** huanxuan has joined #openstack-sdks03:52
*** gildub has quit IRC04:04
ankur-gupta-f4reedip: it should work in the same way04:13
ankur-gupta-f4R u talking about the TaaS commands?04:13
*** rabel__b1 has joined #openstack-sdks04:16
*** rabel_b1 has quit IRC04:19
*** gildub has joined #openstack-sdks04:22
rabel__b1can someone help me with https://review.openstack.org/#/c/444924/ ? two functional tests in the gate job are failing, but it seems to have nothing to do with the change. one of the test i also saw failing for other changes that seem to be unrelated.04:23
ankur-gupta-f4rabel__b1: the image tests are temporarily broken.04:24
ankur-gupta-f4Till its resolved avoid rechecking04:25
rabel__b1ankur-gupta-f4: ok, thank you.04:36
reedipankur-gupta-f4 : all working :) dont worry .. I worked around stevemar's solution  :D04:52
ankur-gupta-f4K04:52
*** john-davidge has joined #openstack-sdks05:02
openstackgerritLv Jiawei proposed openstack/python-openstackclient master: Add extra filtering options to qos policy list  https://review.openstack.org/40113105:04
*** john-davidge has quit IRC05:06
*** salv-orlando has joined #openstack-sdks05:11
*** salv-orlando has quit IRC05:15
*** rabel__b1 has quit IRC05:27
*** reedip has quit IRC06:00
*** adriant has quit IRC06:11
*** salv-orlando has joined #openstack-sdks06:12
*** salv-orlando has quit IRC06:17
*** salv-orlando has joined #openstack-sdks06:26
*** e0ne has joined #openstack-sdks06:51
*** gildub has quit IRC07:01
*** john-davidge has joined #openstack-sdks07:03
*** gildub has joined #openstack-sdks07:05
*** john-davidge has quit IRC07:08
*** exploreshaifali has joined #openstack-sdks07:18
*** salv-orl_ has joined #openstack-sdks07:23
*** salv-orlando has quit IRC07:26
*** e0ne has quit IRC07:28
*** Serlex has joined #openstack-sdks08:10
*** salv-orl_ has quit IRC08:10
openstackgerritColleen Murphy proposed openstack/python-openstackclient master: Narrow expected responses for CheckUserInGroup  https://review.openstack.org/44525708:23
openstackgerritLv Jiawei proposed openstack/python-openstackclient master: Add status filtering options to port list  https://review.openstack.org/44481008:29
*** exploreshaifali has quit IRC08:32
*** aarefiev_afk is now known as aarefiev08:32
*** rabel__b1 has joined #openstack-sdks08:42
*** ssbarnea has joined #openstack-sdks08:45
*** ralonsoh has joined #openstack-sdks08:46
*** gildub has quit IRC08:47
*** e0ne has joined #openstack-sdks08:50
*** gildub has joined #openstack-sdks08:51
*** salv-orlando has joined #openstack-sdks08:54
*** shu-mutou-AWAY is now known as shu-mutou08:56
*** jpich has joined #openstack-sdks08:58
*** john-davidge has joined #openstack-sdks09:04
*** exploreshaifali has joined #openstack-sdks09:05
*** john-davidge has quit IRC09:08
*** exploreshaifali has quit IRC09:08
*** exploreshaifali has joined #openstack-sdks09:08
*** john-davidge has joined #openstack-sdks09:46
*** gildub has quit IRC10:01
*** namnh has quit IRC10:09
*** yanyanhu has quit IRC10:14
*** salv-orlando has quit IRC10:18
*** hoangcx has quit IRC10:24
*** exploreshaifali has quit IRC10:28
*** rabel__b1 has quit IRC10:31
*** rabel__b1 has joined #openstack-sdks10:32
*** rabel_b1 has joined #openstack-sdks10:36
*** rabel__b1 has quit IRC10:38
*** jkilpatr has quit IRC10:39
*** salv-orlando has joined #openstack-sdks10:45
*** salv-orl_ has joined #openstack-sdks10:46
*** sdague has joined #openstack-sdks10:47
*** shu-mutou is now known as shu-mutou-AWAY10:49
*** salv-orlando has quit IRC10:49
*** fzdarsky_ has quit IRC10:50
*** salv-orl_ has quit IRC10:51
*** fzdarsky has joined #openstack-sdks10:51
*** fzdarsky has quit IRC10:52
*** fzdarsky has joined #openstack-sdks10:52
*** fzdarsky has quit IRC10:53
*** fzdarsky has joined #openstack-sdks10:53
*** rabel_b1 has quit IRC11:03
*** rabel has joined #openstack-sdks11:05
*** cdent has joined #openstack-sdks11:09
openstackgerritLv Jiawei proposed openstack/python-openstackclient master: Add status filtering options to port list  https://review.openstack.org/44481011:11
*** exploreshaifali has joined #openstack-sdks11:11
*** jkilpatr has joined #openstack-sdks11:19
*** jkilpatr has quit IRC11:27
*** namnh has joined #openstack-sdks11:38
*** fzdarsky is now known as fzdarsky|lunch11:38
*** jkilpatr has joined #openstack-sdks11:40
*** namnh has quit IRC11:43
*** namnh has joined #openstack-sdks11:43
*** Matias_ has quit IRC11:44
*** Matias_ has joined #openstack-sdks11:45
*** namnh has quit IRC11:52
rabeldoes anyone know about the status of the broken image functional tests for osc?11:53
*** dave-mccowan has joined #openstack-sdks12:00
*** annp has quit IRC12:06
*** gouthamr has joined #openstack-sdks12:52
*** amotoki has joined #openstack-sdks12:54
*** fzdarsky|lunch is now known as fzdarsky12:57
*** hoangcx has joined #openstack-sdks13:03
*** chlong has joined #openstack-sdks13:04
elmikocdent: saw your ping way too late yesterday, isn't that email basically sending us back down the openapi rabbit hole?13:07
cdentelmiko: I think so, but wasn't sure, so wanted to check in.13:08
cdentThanks for pinging me about it though, as I completely forgot to follow up like I promised I would13:08
elmikohehe =)13:09
*** markvoelker has quit IRC13:11
*** markvoelker has joined #openstack-sdks13:16
*** rabel has quit IRC13:29
-openstackstatus- NOTICE: Gerrit is going to be restarted due to performance problems13:41
*** ChanServ changes topic to "Gerrit is going to be restarted due to performance problems"13:41
*** exploreshaifali has quit IRC13:43
-openstackstatus- NOTICE: Gerrit has been successfully restarted13:47
*** ChanServ changes topic to "Gerrit has been successfully restarted"13:47
openstackgerritBence Romsics proposed openstack/python-openstacksdk master: Add port property: trunk_details  https://review.openstack.org/44550113:49
*** ChanServ changes topic to "Gerrit is going to be restarted due to performance problems"13:53
-openstackstatus- NOTICE: Gerrit has been successfully restarted13:53
*** huanxuan has quit IRC14:02
*** hongbin has joined #openstack-sdks14:26
*** reedip has joined #openstack-sdks14:26
*** bobh has joined #openstack-sdks14:34
*** dave-mccowan has quit IRC14:36
*** edmondsw has joined #openstack-sdks14:40
openstackgerritPepijn Oomen proposed openstack/python-openstacksdk master: Expose ha_state property from HA enabled L3 Agents.  https://review.openstack.org/44552014:50
*** dave-mccowan has joined #openstack-sdks14:51
reedipo/14:53
*** edmondsw has quit IRC14:53
*** ynirk has joined #openstack-sdks15:00
*** john-dav_ has joined #openstack-sdks15:12
*** john-davidge has quit IRC15:12
*** john-dav_ is now known as john-davidge15:13
ynirkHi, I hope I am in the right place15:14
ynirkI am working on an openstack infrastructure where some usernames are only numeric (12345 for example) in a specific domain15:14
ynirkI faced a problem with the command `openstack user show 12345 --domain Default` returning the error "get() got an unexpected keyword argument 'domain_id'"15:14
ynirkI first thought of a keystoneclient problem (with the bug https://bugs.launchpad.net/python-keystoneclient/+bug/1671179) but after deeper analysis I think the problem is in find_resource from osc-lib/utils.py15:14
ynirkAll get requests (in all openstack components) made with a numeric name and kwargs might return a TypeError if the method's prototype doesn't handle kwargs.15:14
openstackLaunchpad bug 1671179 in python-keystoneclient "Unable to retrieve a numeric only username within a domain" [Undecided,In progress] - Assigned to Julien Lavesque (ynirk)15:14
ynirkWouldn't it be more coherent with the other try/except to have a 'pass' at https://github.com/openstack/osc-lib/blob/master/osc_lib/utils.py#L124 instead of a 'raise' and let the function raise a NotFound at the end if no resource was found ?15:14
ynirkI am more of an ops so I prefer asking for your advice before submitting a bug and a patch.15:14
ynirkWhat do you think ?15:14
bretonynirk: > All get requests (in all openstack components) made with a numeric name and kwargs might return a TypeError if the method's prototype doesn't handle kwargs.15:16
bretonynirk: why is that?15:16
*** hoangcx has quit IRC15:21
dtroyerynirk: I think you may be right there15:21
dtroyerI am trying to recall what exceptions I thought should be raised at that point15:22
dtroyerthis function is a combination of 3 or 4 of these from individual libs, so working back to that may be fun.  Changing it now may also change things in unexpected ways15:23
dtroyerthe choices are to add a type(ex) check for TypeError or to remove them altogether15:24
ynirkdtroyer yes exactly but I was not sure of the impact15:25
dtroyerI'm going to have to think on that a bit.  if you have time, you may want to try proposing temoving the if in lines 120-124 and just doing a pass there and see what tests/jobs fail.15:25
dtroyerit would be safer to add the TypeError check though15:26
ynirkOk I also think it is safer and shouldn't break anything15:28
ynirkI was wondering of the reason for the raise (compared to the other try/except)15:28
ynirkI will try to add the TypeError check and see if some tests fail15:31
ynirkThanks for the feedback15:32
*** josecastroleon has joined #openstack-sdks15:51
josecastroleonhi15:51
josecastroleonthe gate in openstackclient is failing since devstack removed glance v115:51
ankur-gupta-f4yes15:51
josecastroleonshall we remove the glance v1 test?15:53
ankur-gupta-f4https://www.irccloud.com/pastebin/p3o3Cgo2/15:53
dtroyerno, we need to continue to support v1 for some time, for now I'd prefer to re-enable Glance v1 in DevStack15:54
dtroyerat least for a time15:54
ankur-gupta-f4stevemar suggested doing a check first. If exception raised then skip tests15:54
josecastroleonfine, but then we may need to enable glance v1 in the gate15:54
josecastroleonright?15:54
dtroyeryes, that's on my list, I'm fixing cliff's gate ATM15:55
josecastroleonok thx15:55
*** markvoelker has quit IRC15:56
*** markvoelker has joined #openstack-sdks15:58
*** salv-orlando has joined #openstack-sdks16:03
openstackgerritDean Troyer proposed openstack/cliff master: Update cmd2 fix to still work with 0.6.7  https://review.openstack.org/44555216:04
*** salv-orlando has quit IRC16:05
*** salv-orlando has joined #openstack-sdks16:05
dtroyerjosecastroleon, ankur-gupta-f1: https://review.openstack.org/#/c/445553/ re-enables Image v1 for OSC functional jobs16:06
*** Kuwagata has joined #openstack-sdks16:06
*** jkilpatr has quit IRC16:10
*** salv-orlando has quit IRC16:13
*** aarefiev is now known as aarefiev_afk16:14
openstackgerritMerged openstack/golang-client master: Update for CTI ps4  https://review.openstack.org/44449916:18
*** jkilpatr has joined #openstack-sdks16:23
*** annegentle has joined #openstack-sdks16:27
openstackgerritBence Romsics proposed openstack/python-openstacksdk master: Add port property: trunk_details  https://review.openstack.org/44550116:27
ynirkdtroyer tests pass with the two modifications. To be sure I will add the TypeError check16:30
*** e0ne has quit IRC16:31
*** annegentle has quit IRC16:32
*** Kuwagata has quit IRC16:41
reedipsindhu : hi16:43
sindhureedip: hey wass up16:44
reedipnothin much sindhu : just wanted to know about the floating ip patch16:45
sindhureedip: it's all ready right?16:45
reedipno comments from anyone else, I guess16:45
reedip:|16:45
*** Serlex has quit IRC16:46
sindhureedip: yeah! waiting for reviews/getting merged :)16:46
reedipstevemar , can you come to our rescue ???? :D16:47
*** fzdarsky is now known as fzdarsky|afk16:48
*** bobh has quit IRC16:53
*** d0ugal has quit IRC16:55
*** fzdarsky|afk is now known as fzdarsky17:01
*** reedip has quit IRC17:06
*** fzdarsky has quit IRC17:14
*** fzdarsky has joined #openstack-sdks17:22
*** jpich has quit IRC17:45
*** bobh has joined #openstack-sdks17:54
*** bobh has quit IRC17:58
*** d0ugal has joined #openstack-sdks17:58
*** ralonsoh has quit IRC18:02
*** d0ugal has quit IRC18:04
*** bobh has joined #openstack-sdks18:05
*** jkilpatr has quit IRC18:12
*** jkilpatr has joined #openstack-sdks18:13
*** annegentle has joined #openstack-sdks18:17
*** annegentle has quit IRC18:20
*** annegentle has joined #openstack-sdks18:20
*** annegentle has quit IRC18:25
*** john-davidge has quit IRC18:40
*** john-davidge has joined #openstack-sdks18:40
*** john-davidge has quit IRC18:44
openstackgerritMerged openstack/python-openstacksdk master: Add port property: trunk_details  https://review.openstack.org/44550118:52
openstackgerritMerged openstack/cliff master: Update cmd2 fix to still work with 0.6.7  https://review.openstack.org/44555218:54
*** amotoki has quit IRC18:56
*** prg3 has quit IRC19:06
*** dave-mccowan has quit IRC19:26
*** john-davidge has joined #openstack-sdks19:41
*** john-davidge has quit IRC19:46
*** prg3 has joined #openstack-sdks19:46
*** e0ne has joined #openstack-sdks20:21
*** gildub has joined #openstack-sdks20:25
*** Matias_ has quit IRC20:32
*** jkilpatr has quit IRC20:37
*** jkilpatr has joined #openstack-sdks20:58
*** e0ne has quit IRC21:15
*** e0ne has joined #openstack-sdks21:17
*** gouthamr has quit IRC21:25
*** e0ne has quit IRC21:28
*** exploreshaifali has joined #openstack-sdks21:29
*** e0ne has joined #openstack-sdks21:32
*** e0ne has quit IRC21:42
*** john-davidge has joined #openstack-sdks21:42
*** john-davidge has quit IRC21:47
*** ZZelle has joined #openstack-sdks21:53
ZZelledtroyer, hi21:53
*** cdent has quit IRC21:57
*** ssbarnea has quit IRC22:04
*** ssbarnea has joined #openstack-sdks22:05
*** ssbarnea has quit IRC22:05
*** bobh has quit IRC22:12
*** gouthamr has joined #openstack-sdks22:18
*** ssbarnea has joined #openstack-sdks22:27
*** ChanServ changes topic to "#openstack-sdks"22:42
*** exploreshaifali has quit IRC22:55
*** bobh has joined #openstack-sdks23:13
openstackgerritJulien Lavesque proposed openstack/osc-lib master: Fix find_resource exception handling on numeric names with kwargs  https://review.openstack.org/44567923:26
*** sdague has quit IRC23:29
*** hongbin has quit IRC23:45
*** adriant has joined #openstack-sdks23:58

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