Monday, 2016-11-14

*** prg3 has joined #openstack-sdks00:00
*** ankur-gupta-f1 has quit IRC00:09
*** john-davidge has joined #openstack-sdks00:13
*** john-davidge has quit IRC00:18
*** hoangcx has joined #openstack-sdks00:59
*** markvoelker has joined #openstack-sdks01:19
*** markvoelker has quit IRC01:23
*** gildub has joined #openstack-sdks01:29
*** zhurong has joined #openstack-sdks01:30
openstackgerritAnindita Das proposed openstack/python-openstackclient: [WIP] OSC Network Flavor  https://review.openstack.org/38253001:52
*** gildub has quit IRC01:54
*** gildub has joined #openstack-sdks02:05
*** namnh has joined #openstack-sdks02:08
*** yanyanhu has joined #openstack-sdks02:16
*** gmann has joined #openstack-sdks02:35
*** john-davidge has joined #openstack-sdks02:40
*** huanxuan has joined #openstack-sdks02:42
*** dims has quit IRC02:43
*** john-davidge has quit IRC02:45
*** gmann has quit IRC02:47
*** gmann has joined #openstack-sdks02:49
*** markvoelker has joined #openstack-sdks03:20
*** markvoelker has quit IRC03:24
openstackgerritAnindita Das proposed openstack/python-openstackclient: [WIP] OSC Network Flavor  https://review.openstack.org/38253003:35
huanxuanstevemar: around?03:57
*** gildub has quit IRC03:58
openstackgerritSindhu Devale proposed openstack/python-openstackclient: Add `--enable/disable-port-security` option to `port set`  https://review.openstack.org/39585503:58
*** gmann has quit IRC04:01
*** gmann has joined #openstack-sdks04:03
*** gmann_ has joined #openstack-sdks04:07
*** gmann has quit IRC04:08
*** aohuanxuan has joined #openstack-sdks04:12
*** aohuanxuan has quit IRC04:12
*** huanxuan_ has joined #openstack-sdks04:15
*** gmann_ has quit IRC04:15
*** huanxuan__ has joined #openstack-sdks04:16
*** huanxuan_ has quit IRC04:19
*** huanxuan__ has quit IRC04:36
*** zhurong has quit IRC04:37
openstackgerritHuanxuan Ao proposed openstack/python-openstackclient: Add "consistency group create" command  https://review.openstack.org/39619204:52
stevemarhuanxuan: yup!04:59
huanxuanstevemar: I am working on "consistency group create", I have some questions about your comment about "user ID" or "project ID"04:59
huanxuanstevemar: what dose the message "User id derived from context" mean?04:59
stevemarhuanxuan: sure, i just +2ed it, i assume those can be added later04:59
stevemarhuanxuan: that was from here: https://github.com/openstack/python-cinderclient/blob/master/cinderclient/v3/consistencygroups.py#L4905:00
stevemari assume cinderclient will get the user_id and project_id from whatever token the user gets from keystone05:00
stevemarhuanxuan: my question is, can an admin define a different user and project -- i don't know the answer05:01
huanxuanstevemar: yes, I see it, I guess so, I cannot sure about it either05:01
stevemarhuanxuan: looking at the existing CLI, i assume not: https://github.com/openstack/python-cinderclient/blob/master/cinderclient/v3/shell.py#L2757-L278605:02
stevemarhuanxuan: the user_id and project_id in the create() call seem pointless to me05:02
huanxuanstevemar: Yes, I see, so, maybe we can add them later if it is really necessary?05:03
stevemarhuanxuan: for sure05:03
stevemari'll bring it up at the next cinder meeting if i remember05:03
huanxuanstevemar: ok :)05:03
huanxuanstevemar: thank you very much05:03
stevemarnp!05:03
stevemarhuanxuan: added it to the agenda: https://wiki.openstack.org/wiki/CinderMeetings#Next_Cinder_Team_meeting05:08
huanxuanstevemar: nice! thank you :)05:09
stevemarhuanxuan: if i were to guess, they probably don't support specifying a user or project. probably just incorrect/useless arguments in the function05:09
*** purplerbot has quit IRC05:09
huanxuanstevemar: Yes, I think so, but we'd better make sure about it05:10
*** reedip has quit IRC05:12
openstackgerritHuanxuan Ao proposed openstack/python-openstackclient: Add "consistency group create" command  https://review.openstack.org/39619205:14
huanxuanstevemar: Oh...Seems like the previous release note has been released, Maybe a separated release note is needed here.05:14
stevemarhuanxuan: ah05:14
stevemarmakes sense05:15
*** dfflanders has joined #openstack-sdks05:15
dfflanders@DFFLanders fix the keystone bug in clouds.yaml for the shade training05:15
huanxuanstevemar: :)05:16
*** markvoelker has joined #openstack-sdks05:21
*** huanxuan has quit IRC05:21
*** markvoelker has quit IRC05:25
*** dfflanders has quit IRC05:30
*** amotoki has joined #openstack-sdks05:31
*** zhurong has joined #openstack-sdks05:33
*** reedip has joined #openstack-sdks05:40
*** gmann has joined #openstack-sdks06:10
*** gmann_ has joined #openstack-sdks06:22
*** gmann has quit IRC06:23
*** gmann_ has quit IRC06:27
*** gmann has joined #openstack-sdks06:31
*** e0ne has joined #openstack-sdks07:30
*** john-davidge has joined #openstack-sdks07:34
*** john-davidge has quit IRC07:39
*** fzdarsky has joined #openstack-sdks07:39
*** ralonsoh has joined #openstack-sdks08:03
*** exploreshaifali has joined #openstack-sdks08:04
*** gmann has quit IRC08:04
*** gmann has joined #openstack-sdks08:05
*** e0ne has quit IRC08:15
*** gmann_ has joined #openstack-sdks08:22
*** gmann has quit IRC08:22
*** flwang1 has quit IRC08:35
*** jpena|off is now known as jpena08:37
*** huanxuan has joined #openstack-sdks08:40
*** d0ugal has joined #openstack-sdks08:42
*** exploreshaifali has quit IRC09:00
*** e0ne has joined #openstack-sdks09:03
*** gmann has joined #openstack-sdks09:04
*** gmann_ has quit IRC09:06
*** exploreshaifali has joined #openstack-sdks09:07
*** e0ne has quit IRC09:13
*** e0ne has joined #openstack-sdks09:21
*** gmann has quit IRC09:22
*** zhurong has quit IRC09:34
openstackgerritQiming Teng proposed openstack/python-openstacksdk: Revert "Display neutron api error message more precisely"  https://review.openstack.org/39708209:35
*** john-davidge has joined #openstack-sdks09:36
*** john-davidge has quit IRC09:36
*** john-davidge has joined #openstack-sdks09:38
*** e0ne_ has joined #openstack-sdks09:40
openstackgerritYan Xing an proposed openstack/python-openstackclient: SDK Refactor: Prepare router commands  https://review.openstack.org/39708509:42
*** e0ne has quit IRC09:43
*** cdent has joined #openstack-sdks09:45
*** purplerbot has joined #openstack-sdks09:46
*** openstackgerrit has quit IRC09:47
*** e0ne_ has quit IRC09:47
*** gouthamr has joined #openstack-sdks09:48
*** openstackgerrit has joined #openstack-sdks09:48
*** e0ne has joined #openstack-sdks09:50
*** gouthamr has quit IRC09:58
*** yanyanhu has quit IRC10:02
*** sambetts|afk is now known as sambetts10:03
*** aarefiev has joined #openstack-sdks10:06
*** e0ne has quit IRC10:11
*** gouthamr has joined #openstack-sdks10:18
*** cdent has quit IRC10:20
*** aarefiev has quit IRC10:22
*** exploreshaifali has quit IRC10:26
*** gouthamr has quit IRC10:32
*** aarefiev has joined #openstack-sdks10:37
*** hoangcx has quit IRC10:40
*** gouthamr has joined #openstack-sdks10:49
*** d0ugal has quit IRC10:56
*** exploreshaifali has joined #openstack-sdks10:57
*** d0ugal has joined #openstack-sdks11:04
*** namnh has quit IRC11:05
*** e0ne has joined #openstack-sdks11:09
*** gildub has joined #openstack-sdks11:21
*** gildub has quit IRC11:21
*** cdent has joined #openstack-sdks11:22
*** zhurong has joined #openstack-sdks11:35
*** zhurong has quit IRC11:42
*** milan has joined #openstack-sdks11:44
*** dtantsur has joined #openstack-sdks11:44
milanHey API WG! I'd like to ask about the =in: operator negation implementation http://specs.openstack.org/openstack/api-wg/guidelines/pagination_filter_sort.html#filtering11:45
milanshould it be a negative field name such as ?state=in:a,b,c&not_state=in:x,y,z?11:46
milanor rather a negated operator: state=in:a,b,c&state=not_in:x,y,z?11:46
milanthere already seems to be the =neq: operator specified there11:48
milanso I guess =not_in: might be more appropriate?11:49
milanmaybe s/not_in/nin?11:49
*** dmellado has joined #openstack-sdks11:55
*** zhurong has joined #openstack-sdks12:17
*** rtheis has joined #openstack-sdks12:17
*** gmann has joined #openstack-sdks12:19
*** zhurong has quit IRC12:19
*** gouthamr has quit IRC12:19
*** zhurong has joined #openstack-sdks12:22
*** gmann has quit IRC12:23
*** lucasagomes is now known as lucas-hungry12:30
*** milan has quit IRC12:46
*** dtantsur has left #openstack-sdks12:48
*** vdrok has joined #openstack-sdks12:50
*** edmondsw has joined #openstack-sdks13:03
*** scottda has joined #openstack-sdks13:10
*** gouthamr has joined #openstack-sdks13:10
*** cdent has quit IRC13:19
*** figleaf is now known as edleafe13:29
*** gouthamr has quit IRC13:30
*** fguillot has joined #openstack-sdks13:33
*** dims has joined #openstack-sdks13:35
*** gmann has joined #openstack-sdks13:36
*** cdent has joined #openstack-sdks13:41
*** lucas-hungry is now known as lucasagomes13:43
*** markvoelker has joined #openstack-sdks13:46
*** jpena is now known as jpena|lunch13:48
*** exploreshaifali has quit IRC13:51
*** gouthamr has joined #openstack-sdks13:55
*** gouthamr has quit IRC13:57
*** huanxuan has quit IRC13:57
*** gouthamr has joined #openstack-sdks14:07
*** zhurong has quit IRC14:08
stevemardhellmann: o/14:23
stevemardhellmann: can you weigh in on https://launchpad.net/bugs/1636209 -- i brought this up to you at the summit, but i think cliff needs a bit of work to make it happen14:24
openstackLaunchpad bug 1636209 in python-openstackclient "openstack <subcommand> help summaries do not support translation" [Wishlist,Confirmed]14:24
*** jpena|lunch is now known as jpena14:53
*** gmann has quit IRC14:59
*** annegentle has joined #openstack-sdks15:02
*** cleong has joined #openstack-sdks15:23
*** ankur-gupta-f1 has joined #openstack-sdks15:26
*** ankur-gupta-f has left #openstack-sdks15:26
*** cdent has quit IRC15:50
*** dgonzalez is now known as dgonzalez__15:55
*** dgonzalez__ is now known as dgonzalez15:55
*** john-davidge has quit IRC15:56
*** john-davidge has joined #openstack-sdks15:56
*** john-davidge has quit IRC15:58
*** john-davidge has joined #openstack-sdks15:58
*** annegentle has quit IRC15:59
*** annegentle has joined #openstack-sdks16:00
*** john-davidge has quit IRC16:03
*** corey_ has joined #openstack-sdks16:11
*** reedip_outofmemo has joined #openstack-sdks16:12
*** cleong has quit IRC16:13
openstackgerritRodolfo Alonso Hernandez proposed openstack/python-openstackclient: As suggested in https://review.openstack.org/#/c/352477/21, this rule will be implemented in this patch.  https://review.openstack.org/39727516:15
*** annegentle has quit IRC16:20
*** annegentle has joined #openstack-sdks16:21
*** amotoki has quit IRC16:39
*** beekneemech is now known as bnemec16:40
*** cdent has joined #openstack-sdks16:46
openstackgerritAnkur proposed openstack/python-openstacksdk: Refactor Network Metering  https://review.openstack.org/39678016:47
*** xehbit has quit IRC16:48
*** exploreshaifali has joined #openstack-sdks16:50
*** exploreshaifali has quit IRC16:53
*** ankur-gupta-f1 has quit IRC16:55
*** gouthamr has quit IRC16:55
*** gouthamr has joined #openstack-sdks16:56
*** gouthamr has quit IRC17:02
*** gouthamr has joined #openstack-sdks17:05
*** e0ne has quit IRC17:05
*** john-davidge has joined #openstack-sdks17:25
*** lucasagomes is now known as lucas-afk17:42
*** gouthamr has quit IRC17:42
openstackgerritDoug Hellmann proposed openstack/cliff: flake8 fix  https://review.openstack.org/39732017:51
openstackgerritDoug Hellmann proposed openstack/cliff: let the Command get its one-liner description from a class attribute  https://review.openstack.org/39732117:51
dhellmannstevemar : ^^17:51
stevemardhellmann: <317:51
*** ctayal has joined #openstack-sdks17:52
ctayalHello, I am newbie to CLIFF, I have a question regarding opening RPC channel to the server17:53
ctayalI am trying to create a RPC client in initialize_app and trying to access this client in my Lister class using self.app.client17:53
ctayalI am trying to create a RPC client in initialize_app and trying to access this client in my Lister class using self.app.client17:54
ctayalwhen I am trying to self.app.client.make and call functions it is not actually doing any stuff17:54
stevemardhellmann: remove the trailing " or '' "17:54
openstackgerritDoug Hellmann proposed openstack/cliff: let the Command get its one-liner description from a class attribute  https://review.openstack.org/39732117:54
stevemaror did you *just* do that o_O17:55
dhellmannstevemar : ?17:55
stevemardhellmann: see comment in ps117:55
dhellmannstevemar : self._description is checked first. If it's empty, we get the docstring. If that's empty, we get None. We need the final bit to ensure we always return a string.17:56
stevemardhellmann: i saw you upload a new patch as i wrote my comment in iRC, i thought it was going to be a neat coincidence17:56
dhellmannno, I realized I had implemented mock in that test, so I fixed that17:56
stevemarokay, i'll take another look17:57
stevemardhellmann: but that was another way i was tossing around last night. so lgtm at a first glance17:57
stevemarnow to figure out some weird grep/awk command to replace all the: """one liner""" with: _description = _('one liner')   :)17:58
*** sambetts is now known as sambetts|afk18:01
*** john-dav_ has joined #openstack-sdks18:01
*** john-davidge has quit IRC18:01
*** reedip_outofmemo has quit IRC18:02
*** ralonsoh has quit IRC18:02
openstackgerritSindhu Devale proposed openstack/python-openstackclient: Add `--enable/disable-port-security` option to `port set` and `port create`  https://review.openstack.org/39585518:02
openstackgerritDoug Hellmann proposed openstack/cliff: ignore Command docstring when looking for descriptions  https://review.openstack.org/39732418:03
dhellmannctayal : is your source available somewhere for me to look at?18:03
ctayalnot yet, let me paste it here18:04
*** reedip_outofmemo has joined #openstack-sdks18:04
ctayal    def initialize_app(self, argv):18:04
ctayal        super(DFAShell, self).initialize_app(argv)18:04
ctayal        self.ctl_host = platform.node()18:04
ctayal        self._cfg = config.CiscoDFAConfig().cfg18:04
ctayal        url = self._cfg.dfa_rpc.transport_url % (18:04
ctayal            {'ip': self.ctl_host})18:04
ctayal        self.clnt = rpc.DfaRpcClient(url, constants.DFA_SERVER_QUEUE)18:04
ctayal        return self.clnt18:04
ctayalso I am returning self.clnt from initialize_app18:05
dhellmannctayal : oh, don't put code in channel. Use paste.openstack.org please18:05
ctayalsorry18:05
dhellmannis your initialize_app() being called?18:06
ctayalPaste #58916618:06
ctayalyes18:06
ctayalPaste #58916818:07
ctayal@dhellmann: are you able to see my paste?18:08
dhellmannyes18:08
ctayalok18:08
dhellmannso what happens when you use the client object? nothing at all? an exception?18:08
ctayalyes RPC timeout18:08
ctayal/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py:188: RuntimeWarning: You have iterated over the result of pkg_resources.parse_version. This is a legacy behavior which is inconsistent with the new version class introduced in setuptools 8.0. In most cases, conversion to a tuple is unnecessary. For comparison of versions, sort the Version instances directly. If you have another use case requiring the tuple, please18:09
ctayalfile a bug with the setuptools project describing that need.18:09
ctayal  stacklevel=1,18:09
dhellmannok, so you have an object created but it's not working. I'm not sure why that's a cliff issue?18:09
ctayalI am also getting this error18:09
dhellmannI don't recognize that warning, but I don't think it's related to your issue. If you have an rpc object that doesn't work, maybe you're not initializing it properly? Does that code work outside of cliff, if you have a simpler script?18:10
ctayalyes18:11
ctayalit works from horizon where I am creating object in same way18:11
dhellmanndid you print out the url you're building in initialize_app() to see what it looks like?18:11
ctayalyes I did18:12
ctayalit is correct18:12
dhellmannand self._ cfg looks right?18:12
ctayalyes that is right18:13
ctayalrabbit://guest:guest@172.28.10.125:5672//18:13
ctayalthats my url18:13
ctayaland <dfa.common.rpc.DfaRpcClient object at 0x7fda04145690> this is my object18:13
dhellmanncan you paste a copy of the working code somewhere?18:13
ctayalok let me point you to the code18:13
ctayalhttps://github.com/openstack/horizon-cisco-ui/blob/master/horizon_cisco_ui/cisco/dfa/dfa_client.py18:14
dhellmannI'm not seeing anything related to cliff here, except that you're storing things in attributes of the app. That should work fine, though18:14
dhellmannare you running the test program from the same place as horizon?18:14
dhellmannis it on a node that can see that rabbit service?18:15
ctayalyes18:15
ctayalI think I am able to see the issue18:15
ctayalas you said initialization could be the issue18:16
ctayallet me check again18:16
dhellmannyou're not creating the client in exactly the same way, the command line version is missing exchange=constants.DFA_EXCHANGE18:16
ctayalI think I did not provide excchange server18:16
ctayalyes18:16
ctayal:)18:16
ctayalThanks Dhellmann :)18:16
dhellmannglad I could help18:17
*** exploreshaifali has joined #openstack-sdks18:21
*** jpena is now known as jpena|off18:23
*** john-dav_ has quit IRC18:30
*** john-davidge has joined #openstack-sdks18:31
*** john-davidge has quit IRC18:35
openstackgerritDoug Hellmann proposed openstack/cliff: ignore Command docstring when looking for descriptions  https://review.openstack.org/39732419:15
dhellmannstevemar : do you have any idea what's up with the neutronclient test failures against cliff?19:16
stevemardhellmann: i am not aware of any such thing19:17
dhellmannhttp://logs.openstack.org/20/397320/1/check/gate-cliff-tox-neutronclient-tip-ubuntu-xenial/6d9db49/19:17
stevemaroh this one: gate-cliff-tox-neutronclient-tip-ubuntu-xenial19:17
stevemartrouble with non-voting19:17
dhellmannyou mean that should be non-voting but it's not?19:18
stevemaroh it's voting, great19:18
stevemarlooks os-client-config related19:19
* stevemar ropes in mordred19:19
stevemari wonder if that is related to the recent release19:19
dhellmanni bet19:19
mordredgah. what did we break this time?19:20
stevemardhellmann: it's definitely using the latest19:21
stevemarmordred: http://logs.openstack.org/20/397320/1/check/gate-cliff-tox-neutronclient-tip-ubuntu-xenial/6d9db49/19:21
stevemardhellmann: mordred and the cliff gate was fine on friday19:21
dhellmannmordred : something to do with the token keyword arg being passed to get_one_cloud somehow19:21
mordredyah. I'm pretty sure I know the commit that did it19:21
mordredonce we dig out of this I'd like to add a gate job for occ on neutronclient19:22
mordredand/or cliff19:22
stevemarmordred: could be neutronclient needs to be updated neutronclient/tests/unit/test_shell.py line 260, in _test_authenticate_user19:22
dhellmann++19:22
mordredstevemar: yah - but if we broke these tests, we probably broke something else19:22
stevemarits not exposed yet, since cliff it testing tip19:22
openstackgerritMonty Taylor proposed openstack/os-client-config: Revert "Remove validate_auth_ksc"  https://review.openstack.org/39734319:23
mordredstevemar: ^^ 99% hunch that's it - we changed how that codepath worked - and tested it manually for OSC19:24
stevemarshame we can't use depends-on to test it :)19:25
mordredyah.19:25
mordredalso - I have a failing shade unittest - but looking at it I cannot figure out what the unit test was supposed to be testing19:26
dhellmannstevemar : maybe we can enable constraints too19:27
dhellmannmordred : my local tests say that reverting that patch does fix the problem19:33
mordreddhellmann: woot! my educated guess was right!19:35
mordreddhellmann: so - that also gives us a good testcase for testing the unrevert19:35
mordred(step one - fix other people's gate. step two - analyze actual issue)19:35
dhellmannmordred : yeah, just set up a job similar to cliff-tox-neutronclient-tip19:35
dhellmannalthough that feels heavy, maybe just test locally19:36
mordredI dunno - neutronclient is the other occ user that is in heavy usage - and occ shouldn't change super often - I'd rather be safe than sorry19:37
mordred(when we break neutronclient badly we break _everybody_)19:37
dhellmannthat's fair19:37
*** ankur-gupta-f has joined #openstack-sdks19:42
*** e0ne has joined #openstack-sdks20:09
*** andystack has joined #openstack-sdks20:28
*** ctayal has quit IRC20:34
*** e0ne has quit IRC20:40
openstackgerritMerged openstack/os-client-config: Revert "Remove validate_auth_ksc"  https://review.openstack.org/39734320:48
mordreddhellmann: https://review.openstack.org/397369 ^^ is a release for that20:51
*** rtheis has quit IRC20:56
dhellmannmordred : approved21:01
mordreddhellmann: yay!21:01
*** andystack has quit IRC21:10
*** fguillot has quit IRC21:15
*** flwang1 has joined #openstack-sdks21:33
*** flwang1 has quit IRC21:42
*** annegentle has quit IRC21:47
*** corey_ has quit IRC21:56
*** edmondsw has quit IRC22:02
*** e0ne has joined #openstack-sdks22:04
*** e0ne has quit IRC22:10
*** exploreshaifali has quit IRC22:14
*** annegentle has joined #openstack-sdks22:18
*** annegentle has quit IRC22:22
*** annegentle has joined #openstack-sdks22:22
*** annegentle has quit IRC22:31
*** adriant has joined #openstack-sdks22:32
*** tonyb has joined #openstack-sdks22:44
*** flwang1 has joined #openstack-sdks22:51
*** annegentle has joined #openstack-sdks23:07
*** annegentle has quit IRC23:07
*** john-davidge has joined #openstack-sdks23:48
*** john-davidge has quit IRC23:52

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