Wednesday, 2017-04-05

*** bobh has quit IRC00:00
openstackgerritStephen Finucane proposed openstack/cliff master: Add 'cliff-command' Sphinx directive  https://review.openstack.org/45032200:02
openstackgerritStephen Finucane proposed openstack/cliff master: Add 'cliff-commands' Sphinx directive  https://review.openstack.org/45338300:02
*** hoangcx has joined #openstack-sdks00:28
*** yuanying has joined #openstack-sdks00:34
*** hongbin has quit IRC00:43
*** shu-mutou has joined #openstack-sdks00:55
*** john-davidge has joined #openstack-sdks01:12
reedipo/01:13
*** john-davidge has quit IRC01:17
*** reedip has quit IRC01:20
*** yanyanhu has joined #openstack-sdks01:27
*** amotoki has joined #openstack-sdks01:31
*** huanxuan has joined #openstack-sdks01:31
*** fzdarsky_ has joined #openstack-sdks01:38
*** annp has joined #openstack-sdks01:39
*** fzdarsky|afk has quit IRC01:42
openstackgerrityangweiwei proposed openstack/python-openstackclient master: Update endpoint-delete and endpoint-show method exception.  https://review.openstack.org/45342901:49
*** jamielennox is now known as jamielennox|away02:07
*** bobh has joined #openstack-sdks02:14
*** bobh has quit IRC02:20
*** jamielennox|away is now known as jamielennox02:21
openstackgerrityangweiwei proposed openstack/python-openstackclient master: Update endpoint-delete and endpoint-show method exception.  https://review.openstack.org/45342902:32
*** prg3 has quit IRC02:38
*** prg3 has joined #openstack-sdks02:41
*** reedip has joined #openstack-sdks02:44
*** bobh has joined #openstack-sdks02:46
*** gouthamr has quit IRC02:49
openstackgerritMerged openstack/python-openstackclient master: Enable to specify which fixed-ip to add to a vm.  https://review.openstack.org/45223502:55
*** bobh has quit IRC03:10
*** Kevin_Zheng has quit IRC03:13
*** john-davidge has joined #openstack-sdks03:13
*** john-davidge has quit IRC03:18
*** prg3 has quit IRC03:56
*** prg3 has joined #openstack-sdks03:59
*** dave-mccowan has quit IRC04:05
*** amotoki has quit IRC04:12
*** prg3 has quit IRC04:13
*** prg3 has joined #openstack-sdks04:14
*** amotoki has joined #openstack-sdks04:30
*** amotoki has quit IRC04:48
*** chlong has quit IRC04:49
*** amotoki has joined #openstack-sdks04:53
*** john-davidge has joined #openstack-sdks05:14
*** john-davidge has quit IRC05:18
*** amotoki has quit IRC05:19
*** prg3 has quit IRC05:22
*** prg3 has joined #openstack-sdks05:24
*** tonyb_ is now known as tonyb05:25
*** amotoki has joined #openstack-sdks05:32
*** ritz has quit IRC05:57
*** rabel has joined #openstack-sdks07:03
rabelgood morning07:03
*** ralonsoh has joined #openstack-sdks07:12
rabelsomeone can help me with a question about argparse?07:14
*** john-davidge has joined #openstack-sdks07:15
rabelin https://review.openstack.org/#/c/444924/4/openstackclient/compute/v2/server.py@612 cedric proposes that --nic, --network and --port should all add their values to the same variable. but is this even possible? or doable in a clean way?07:15
*** john-davidge has quit IRC07:19
*** rabel has quit IRC07:20
*** rabel has joined #openstack-sdks07:20
openstackgerritReedip proposed openstack/python-openstackclient master: Introduce quota unset command  https://review.openstack.org/37631107:23
*** Serlex has joined #openstack-sdks07:35
reediprabel : hi07:37
rabelhi reedop07:37
rabel*reedip. sry ;)07:37
reediplol , no worries .. o and I are very near07:37
reediprabel : why are we using different options here? Cant we use MutliKeyValue Action ?07:38
reedipI mean network, port and nic, all can be optional07:38
reedipin the MultiKeyValue Action07:38
reedipand it allows the user to specify them as a dict07:38
reedipand remove the trouble which you guys are facing, right ?07:39
rabeli'm not sure if i understand. we can use MultiKeyValueAction for --network, --port and --nic and then have them all in one?07:39
reedipwe can have --network net=Network_ID,port=Port_Id,nic=Nic_ID07:39
reedipyes07:39
reedipso that ways, we get a dictionary , with {"net":Network_ID, "port":Port_ID, "nic":Nic_ID} and handle the internals ourselves as we see fit07:40
reedipthough merging things in the same variable is POSSIBLE07:41
rabelbut that's actually what we don't want.07:41
reedipbut I agree that there are cleaner options07:41
reediprabel : okay07:41
rabelwhat you propose is basically the current solution with --nic net-id=,port=,...07:41
rabelthe patch tries to simplify that07:41
rabelit is possible, but not in a clean way?07:42
reedipthen the second option is to keep it in different metavar and then handle it yourself07:43
reedipI mean keep nic, port and network in separate metavars07:43
reedipbut then is that what u need?07:43
reedipI see I reviewed this patch earlier and gave the same response to you about MultiKeyValueAction :D07:44
rabelyes :D07:44
rabelto keep them in different metavars would not fix the issue, that --nic bla1 --network bla2 --nic bla3 would end up in the order bla1 bla3 bla2.07:45
rabelbut i have no idea how to deal with that issue07:45
reediprabel : okay, let me know what you really want :)07:46
reedipyou want direct mapping of the network to the nic, right?07:46
reedipI mean as per the above command, you want bla1 to be associated with bla2, and bla3 is not associated with any network, right ?07:47
rabelno, it's just about the order.07:47
rabelso at the moment the nics provided with --nic are first, then come the --network nics and then the --port nics07:47
reedipokay07:47
rabelbut i want them all in the order that they are provided07:48
rabelso if you first specifiy a --network net1 and then a --nic net-id=net2, then i want the net1 nic to be first and net2 nic to be second07:48
reedipany reason for wanting them in that same order ? ( I am trying to find the root requirement, and if it can be met some other way )07:48
rabeli think the end user will expect them to be in that order. that's the only reason07:49
reedipnot necessarily ...07:49
reedipbut is there any other reason with respect to the functionality you need?07:49
rabelno07:50
reedipso except the exact order with which the user enters the options, you dont have any other requirement, right ?07:50
reedipthen appending in the same variable is the best solution07:51
reedipotherwise everything would be parsed with the argument you are sending07:51
rabeldo you know how to append them to the same variable?07:52
reedipthe method which you have done :D metavar =X and action = append for all variables07:52
reedip--network, --nic and --port07:52
rabel:D than i misunderstood you07:53
rabelwait. this confuses me. the metavar= statement is only for the help message, right?07:54
reedipnope07:55
reedipthe metavar actually tells argparse where the value would end up07:55
rabelthe variables are parsed_args.network, parsed_args.port and parsed_args.nic07:55
reedipwait a minute07:56
rabeland i thought the variable names are derived from the option name --network, --port, --nic07:56
reedipyeah u r right.. it was destination what I was talking about07:57
reedipso yeah, you can use dest as well07:57
reedipthat would add everything in the same variable , try that07:57
*** ssbarnea has joined #openstack-sdks07:58
*** zacksh has quit IRC07:58
*** jpich has joined #openstack-sdks07:58
*** zacksh has joined #openstack-sdks08:00
rabeli will have a look at that. thank you!08:00
*** valery has joined #openstack-sdks08:05
*** fzdarsky_ is now known as fzdarsky08:06
*** valery is now known as valeryt08:06
valerytis it possible to list the user project as in https://developer.openstack.org/api-ref/identity/v3/?expanded=list-projects-for-user-detail with the openstacksdk ?08:07
valerytI tried conn.identity.projects(user_id=user.id) but it doesn't work...08:08
*** john-davidge has joined #openstack-sdks08:15
*** john-davidge has quit IRC08:20
*** reedip has quit IRC08:41
*** cdent has joined #openstack-sdks09:05
*** ssbarnea has quit IRC09:11
*** john-davidge has joined #openstack-sdks09:17
*** aarefiev_afk is now known as aarefiev09:19
*** reedip has joined #openstack-sdks09:34
*** ssbarnea has joined #openstack-sdks09:47
*** annp has quit IRC10:15
*** yanyanhu has quit IRC10:24
*** amotoki has quit IRC10:26
openstackgerritStephen Finucane proposed openstack/cliff master: Add 'cliff-commands' Sphinx directive  https://review.openstack.org/45338310:27
*** jkilpatr has quit IRC10:37
openstackgerritDavid Rabel proposed openstack/python-openstackclient master: Add --network and --port to server create  https://review.openstack.org/44492410:38
rabelreedip: do you want to have a look at my newest patch proposal? i know it's a bit of a workaround, but this is probably the best solution for now.10:40
reediprabel : Maybe a bit later, but will do :)10:40
reedipthanks10:40
rabelok, thank you. :)10:41
*** hoangcx has quit IRC11:04
*** dave-mccowan has joined #openstack-sdks11:07
*** jkilpatr has joined #openstack-sdks11:12
*** shu-mutou is now known as shu-mutou-AWAY11:12
*** john-davidge has quit IRC11:13
*** john-davidge has joined #openstack-sdks11:17
fricklerhow can I create a non-ha router with OSC? seems there is only the "--ha" option, but that is the default anyway11:18
fricklerneutron cli can do "--ha False"11:19
*** rabel_b1 has joined #openstack-sdks11:24
*** rabel has quit IRC11:27
*** amotoki has joined #openstack-sdks11:38
briancurtinvaleryt: projects probably doesn’t currently take query parameters, but it could be added11:55
openstackgerritDavid Rabel proposed openstack/python-openstackclient master: Add --network and --port to server create  https://review.openstack.org/44492411:58
rabel_b1frickler: ha should not be default on router creation12:01
rabel_b1just tried it here. "openstack router create my_router" creates a router without ha12:02
*** cdent has quit IRC12:03
fricklerrabel_b1: which version are you using? I'm at 3.9.0 and for me that gets me a router with ha enabled. at least when I'm running as admin12:03
rabel_b13.9.112:04
briancurtinvaleryt: also it looks like what you’re trying wouldn’t be supported by the REST API anyway. user_id isn’t a query param it takes12:04
rabel_b1ah no, it's master from git12:04
rabel_b1wait12:04
rabel_b1frickler: the same with 3.9.012:05
rabel_b1got to go now, sorry12:07
*** rabel__b1 has joined #openstack-sdks12:10
fricklerrabel_b1: but you did test with a cloud that has l3_ha=true in neutron?12:10
*** rabel_b1 has quit IRC12:13
*** rabel_b1 has joined #openstack-sdks12:20
*** rabel__b1 has quit IRC12:21
*** rabel_b1 has quit IRC12:23
*** rabel_b1 has joined #openstack-sdks12:23
openstackgerritMerged openstack/python-openstacksdk master: Introduce Base for Octavia (load balancing)  https://review.openstack.org/42841412:23
valerytbriancurtin: ok, but the keystone v3 user api have the REST /v3/users/{user_id}/projects for it12:24
valerytbriancurtin: as described here: https://developer.openstack.org/api-ref/identity/v3/?expanded=list-projects-for-user-detail#list-projects-for-user12:24
briancurtinah12:24
*** rabel_b1 has quit IRC12:24
*** rabel_b1 has joined #openstack-sdks12:25
briancurtinvaleryt: can you enter this on https://bugs.launchpad.net/python-openstacksdk and we’ll take a look at adding it?12:25
valerytbriancurtin: is it implemented, or it was just forget?12:25
valerytbriancurtin: ok will do12:25
briancurtinvaleryt: it’s 100% not implemented how you tried to do it, but it could be supported. we don’t have a ton of keystone v3 coverage right now12:26
*** ZZelle has joined #openstack-sdks12:27
*** ZZelle is now known as Guest8549612:27
Guest85496reedip, hi12:27
*** Guest85496 is now known as ZZelle_12:27
*** gouthamr has joined #openstack-sdks12:29
valerytbriancurtin: https://bugs.launchpad.net/python-openstacksdk/+bug/168006312:31
openstackLaunchpad bug 1680063 in OpenStack SDK "List projects for user" [Undecided,New]12:31
*** rabel_b1 has quit IRC12:32
*** rabel_b1 has joined #openstack-sdks12:33
fricklerrabel_b1: https://bugs.launchpad.net/python-openstackclient/+bug/1664255 has a similar issue, seems it can be extended to cover mine12:33
openstackLaunchpad bug 1664255 in python-openstackclient "Admin can't override default "distributed" flags" [Undecided,In progress] - Assigned to venkata anil (anil-venkata)12:33
*** rabel_b1 has quit IRC12:34
*** rabel_b1 has joined #openstack-sdks12:35
*** rabel_b1 has quit IRC12:36
*** rabel_b1 has joined #openstack-sdks12:37
*** amotoki has quit IRC12:41
briancurtinvaleryt: cool, i commented on there about some options. i think what you were originally trying to do should be how it works. i’m busy right now myself but if no one else gets to it i’ll try to fix it relatively soon12:44
valerytbriancurtin: thanks12:46
-openstackstatus- NOTICE: The Gerrit service on http://review.openstack.org is being restarted to address hung remote replication tasks, and should return to an operable state momentarily12:52
*** gouthamr has quit IRC12:53
*** gouthamr has joined #openstack-sdks12:53
*** gouthamr has quit IRC12:54
*** markvoelker has joined #openstack-sdks12:55
*** amotoki has joined #openstack-sdks12:56
*** gouthamr has joined #openstack-sdks12:59
openstackgerritSean McCully proposed openstack/keystoneauth master: KeystoneAuth should default to system CAFile.  https://review.openstack.org/45258512:59
openstackgerritStephen Finucane proposed openstack/python-openstackclient master: WIP! Start using 'cliff.sphinxext'  https://review.openstack.org/45286113:13
*** chlong has joined #openstack-sdks13:17
*** huanxuan has quit IRC13:27
*** cleong has joined #openstack-sdks13:28
openstackgerritDavid Rabel proposed openstack/python-openstackclient master: Add --network and --port to server create  https://review.openstack.org/44492413:42
*** hongbin has joined #openstack-sdks14:06
openstackgerritBrian Curtin proposed openstack/python-openstacksdk master: Add get_stack_* methods to documentation  https://review.openstack.org/45364614:06
*** bobh has joined #openstack-sdks14:13
*** john-davidge has quit IRC14:23
openstackgerritBrian Curtin proposed openstack/python-openstacksdk master: Clean up some errant doc warnings/errors  https://review.openstack.org/45366114:25
openstackgerritRodolfo Alonso Hernandez proposed openstack/python-openstackclient master: Add "qos-policy" option to "port create" & "port set"  https://review.openstack.org/41923614:30
*** cdent has joined #openstack-sdks14:32
reedipZZelle_ yes hello14:44
openstackgerritDavid Rabel proposed openstack/python-openstackclient master: Add --network and --port to server create  https://review.openstack.org/44492414:48
reediprabel_b1 : hi14:49
rabel_b1reedip: hi. arg, i just made it worse... :D14:49
reediprabel_b1 : I saw ZZelle_ 's comments. I agree, lets discuss this in detail here or on the bug . dtroyer 's input would alsio be great here :)14:50
reedips/bug/patch/14:51
openstackgerritDavid Rabel proposed openstack/python-openstackclient master: Add --network and --port to server create  https://review.openstack.org/44492414:51
openstackgerritMerged openstack/python-openstacksdk master: Add get_stack_* methods to documentation  https://review.openstack.org/45364614:52
rabel_b1i would prefer not to discuss that in the change. here is fine, launchpad also. but on the change there is already enough, if it's only about the implementation. so i would like to keep the "what to implement?" question separate14:53
rabel_b1also in the launchpad bug we already started talking about that.14:55
ZZelle_rabel_b1, reedip, it's a mess to jump between launchpad and review.o.o ... let's discuss in one place14:55
reedipagreed ZZelle_14:55
reedipbut where ?? :)14:56
ZZelle_reedip, review.o.o :)14:56
ZZelle_reedip, the code won't go in launchpad :)14:57
reediprabel_b1 : is that ok with u ??14:57
reedipZZelle_ hehe.. yeah14:57
rabel_b1ZZelle_, reedip: ok, review then.14:58
openstackgerritMonty Taylor proposed openstack/os-client-config master: Add ability to pass in user_agent  https://review.openstack.org/45255014:58
rabel_b1but maybe we can also talk about it here first14:58
rabel_b1since we three are here right now and we can post the outcome as comment on the review?14:59
ankur-gupta-f4Which patchset are you discussing15:00
reedipankur-gupta-f4 : I was waiting for you to chime in :)15:00
reediphttps://review.openstack.org/44492415:01
ankur-gupta-f4Oh yea. Fun15:01
reedip:D15:01
reedipI will be Back ... ( in a jiffy )15:03
ZZelle_rabel_b1, reedip, dtroyer, the main point to agree is the format15:03
*** chlong has quit IRC15:03
ZZelle_rabel_b1, reedip, dtroyer, imo, there is no reason to have 3 options --nic, --network, --port which supports complex values15:03
*** chlong has joined #openstack-sdks15:04
ZZelle_rabel_b1, reedip, let's use --network --port for simplex cases: --network $network or --port $port15:04
ZZelle_rabel_b1, reedip, if you need a finer interface description then use --nic $key=$value,...15:05
rabel_b1ZZelle_, reedip, ankur-gupta-f4, dtroyer: sounds reasonable to me. i think i first had in mind that --nic could be deprecated in the future in favour of --network and --port. but since those are not going to implement the --nic auto and --nic none functionality either, we will probably stay with having three parameters.15:07
reedipZZelle_ ok, so you mean with --network and --port we do not need to specify nic15:08
rabel_b1so, since --nic will not be deprecated, i think you are right, ZZelle_.15:08
ZZelle_rabel_b1, what means --nic none or --nic auto?15:08
reedipif that is so ZZelle_ , rabel_b1 , we need to be pretty thorough in the Help Message15:08
rabel_b1ZZelle_: afaiu --nic none means having a nic without a port connected to it and --nic auto means looking for a network that fits it needs. but i'm not sure here.15:09
ZZelle_reedip, yes, --network $network enables to specify a nic on a specific network, --port port a nic using a specific port and --nic is for other cases15:09
ZZelle_rabel_b1, ok15:09
ankur-gupta-f4If --nic will be deprecated then --network and --port need to fulfill all the options that --nic supports15:10
ankur-gupta-f4Imho15:10
rabel_b1ankur-gupta-f4: yes, but it very probably won't15:11
reediprabel_b1 : IIUC currently --nic should have default none if nothing is specified, you might need to handle that with --network and --port as well ( i.e. if no option is specified, treat --nic as none in the body )15:11
reedipauto option should be with --nic only , not with --network/--port15:11
reedipankur-gupta-f4 ; it would be difficult to replacte the auto behavior with --network/--port15:11
ankur-gupta-f4It shouldn't be that complicated if both nic and network options are handled in similar ways15:12
rabel_b1yes, dtroyer said something similar: none and auto should only be available for --nic, not for --network/--port15:13
reedipankur-gupta-f4 : it shouldnt be, but ideally it need not be required if we have --nic :)  anyways, I think rabel_b1 has reached a satisfying conclusion , thanks to ZZelle_ :)15:14
ankur-gupta-f4Okay15:15
ankur-gupta-f4Will review it later. Still seems like it is would be confusing for end user.15:16
ankur-gupta-f4Lets see how it turnsout15:16
rabel_b1ankur-gupta-f4, reedip, ZZelle_: so, everyone seems to be fine with that solution. i will implement that in a new patch set.15:17
rabel_b1reedip: i am not quite sure yet how to do the help message the best way.15:17
openstackgerritSindhu Devale proposed openstack/python-openstackclient master: "floating ip set/unset port" for OSC  https://review.openstack.org/38302515:18
reediprabel_b1 : hmm ... for help message, you can simply mention like what we have mentioned here15:19
rabel_b1ZZelle_: i use network= instead of net-id= in that place to distinguish between --nic and --network later for the error message. see line 610+15:19
rabel_b1ZZelle_: maybe it is better to change the error message to something more generic?15:20
ZZelle_ rabel_b1, i will wait for the next PS as it's not really meaningful to review the current one more15:20
rabel_b1ok, i will first create a new patch set now, then we can discuss on that. :)15:21
sindhudtroyer: hi, https://review.openstack.org/#/c/383025/ is ready. Have added a detail commit message15:21
*** chlong has quit IRC15:21
* dtroyer catching up15:21
*** Serlex has quit IRC15:22
*** john-davidge has joined #openstack-sdks15:23
dtroyerI don't mind having multiple ways to do things when they fit particular use cases, I think —port and —network do as long as they are simple options.  in PS9 they are nearly aliases to —nic which I do not think adds much here.15:24
openstackgerritSindhu Devale proposed openstack/python-openstackclient master: "floating ip set/unset port" for OSC  https://review.openstack.org/38302515:28
reedipdtroyer : missing your opinion on this : ^^ ( I am going to bug you a bit for this , hope you dont mind :) )15:28
*** john-davidge has quit IRC15:29
dtroyerreedip: you mean 383025?15:31
reedipdtroyer : YES :)15:31
dtroyerwhat specifically?15:31
reedipwell, its ready  ..15:31
dtroyernot quite: https://review.openstack.org/#/c/383025/74/doc/source/command-objects/floating-ip.rst@15615:32
reedipohh ...15:32
reedip3rd April , will look into it.. thanks15:32
dtroyeralso, what I was looking for with regard to the SDK is when that dependent review gets released.15:33
dtroyerie, it's merged, what is the next release expected to be?15:33
*** annegentle has joined #openstack-sdks15:33
dtroyerbut that's just a bit of leg owrk to track down15:33
*** chlong has joined #openstack-sdks15:34
reedipdtroyer: thats what sindhu has mentioned in the commit message and in the file15:34
ankur-gupta-f4reedip make note in commit saying  0.9.15 SDK release needed15:35
dtroyerit only points to a (now merged) review.  it is more helpful to say "is expected to be relased in 0.9.xx", but that's just a bit of research to figure out if that has happened15:35
openstackgerritBrian Curtin proposed openstack/python-openstacksdk master: Enable warnings_as_errors in doc enforcer  https://review.openstack.org/45367615:35
dtroyeryou don't always know, that's fine15:36
reedipdtroyer : ankur-gupta-f4 : ok...15:36
reedipdtroyer: I think I and sindhu agree that that type of work could be tracked down by us... but yes mentioning a ToDO with the approporate SDK release is imp15:37
briancurtinif you guys need an SDK release, we’re probably close to one. should probably wait on a couple of these load_balancer ones since they’re close to being done and they’re all related15:37
sindhureedip: for some reason I thought u addressed https://review.openstack.org/#/c/383025/74/doc/source/command-objects/floating-ip.rst@156, are u doing it or shall I do it15:38
reedipsindhu : be my guest if you want to .. I was searching for the patch that merged on 3rd april :)15:39
dtroyerthanks briancurtin.  I think there are a couple of things in OSC that go with new/fixed SDK bits.  We're cutting a release today or tomorrow for OSC and osc-lib so we're not really blocked on the SDK15:39
sindhureedip: oh ok15:40
dtroyersindhu, reedip: actually, it isn't just released, but that version of the SDK needs to be in the minimum in global requirements (requirements.txt) before we can assume it will be present15:40
reedipdtroyer : yeah, thats what is bliocking us and is our requirement ( the SDK needs to be in ou requirements )15:40
sindhudtroyer: Oh ok ... but we don't have to be blocked by that now right?15:41
ankur-gupta-f4briancurtin: for the load balancer ones we are concerned over the functional tests not being run. And we haven't yet been able to verify whether the calls/functionally are working correctly yet. I don't know if you want to wait upon those to release. Else,  we can push those all though and deal with fixing them later15:41
briancurtinankur-gupta-f4: yeah, actually it does look like the functional tests might take a bit so we could be waiting a while. i’ll take a look in about an hour and see if we have anything else necessary to get a release out15:42
openstackgerritNakul Dahiwade proposed openstack/python-openstacksdk master: [WIP] Introduce Member for Octavia (loadbalancing)  https://review.openstack.org/45148815:44
openstackgerritNakul Dahiwade proposed openstack/python-openstacksdk master: Introduce Member for Octavia (loadbalancing)  https://review.openstack.org/45148815:44
ankur-gupta-f4that seems best. I would prefer to hold off on merging the LBs till I/we can verify its working as expected locally before merging.15:44
dtroyersindhu: if an OSC review requires an SDK review to be present to work, yes, you must either handle both cases (with and without the SDK review present) or you must wait until the SDK release that includes that dependent review is in global-requirements.15:44
reedipankur-gupta-f4 : feel free to let me know if something needs to be done for octaviaclient15:45
ankur-gupta-f4yea review the initial. Figure out how to deal with that function that just "pass"es15:45
reediplink ?15:45
sindhudtroyer: Okay, cool. got it ... thanks :)15:46
ankur-gupta-f4sindhu: reedip: once the SDK 9.15 is released you will need to follow up with a patchset like https://review.openstack.org/#/c/451482/1/global-requirements.txt to bump the global req. then we can merge it15:46
*** aarefiev is now known as aarefiev_afk15:46
ankur-gupta-f4reedip:15:46
ankur-gupta-f4https://review.openstack.org/#/c/446223/15:46
reedipankur-gupta-f4 : Openstack Proposal bot would do that itself, isnt it ?15:47
ankur-gupta-f4dtroyer: could use your quick input on how its being implemented as well before i get too down the rabbit hole15:47
reedipankur-gupta-f4 ( for Link ) : thanks :)(15:47
ankur-gupta-f4reedip: i don't think so, since I've had to do it a couple times already15:47
reedipdtroyer : ^^ shouldnt the proposal bot pick it up ?15:48
openstackgerritStephen Finucane proposed openstack/cliff master: Add 'cliff-command' Sphinx directive  https://review.openstack.org/45032215:48
openstackgerritStephen Finucane proposed openstack/cliff master: Add 'cliff-commands' Sphinx directive  https://review.openstack.org/45338315:48
ankur-gupta-f4once merged to global-req, then proposal bot bumps it for all the individual projects as well... i believe15:49
openstackgerritDavid Rabel proposed openstack/python-openstackclient master: Add --network and --port to server create  https://review.openstack.org/44492415:49
rabel_b1new proposal for you ::)15:50
reedipankur-gupta-f4 : yeah it should, and you dont need to do it yourself, in the Ideal scenario15:50
reediprabel_b1 : thanks :)15:50
rabel_b1reedip: it has some weeknesses that should be fixed when migrating to MultiKey...andSoOn. but i think for now it should be fine.15:53
reediprabel_b1 : ok , will put it in the review tab :)15:54
sindhuankur-gupta-f4: but we don't need SDK now for 383025 to work right?15:55
reedipwe dont ... I agree15:56
*** prg3 has quit IRC15:57
openstackgerritDean Troyer proposed openstack/python-openstackclient master: Add "qos-policy" option to "port create" & "port set"  https://review.openstack.org/41923615:57
openstackgerritReedip proposed openstack/python-openstackclient master: "floating ip set/unset port" for OSC  https://review.openstack.org/38302515:57
*** prg3 has joined #openstack-sdks15:58
dtroyerreedip, ankur-gupta-f1: the proposal bot creates reviews for projects based on what gets merged into the requirements repo.  We have to propose the reviews to requirements.15:59
dtroyerankur-gupta-f1: what did you want input on?15:59
openstackgerritNakul Dahiwade proposed openstack/python-openstacksdk master: Introduce L7Policy for Octavia (load balancing)  https://review.openstack.org/45198016:00
ankur-gupta-f4dtroyer: https://review.openstack.org/#/c/446223/16:01
openstackgerritNakul Dahiwade proposed openstack/python-openstacksdk master: Introduce L7Rule for Octavia (load balancing)  https://review.openstack.org/45283216:01
ankur-gupta-f4to see if its in the fashion that looks okay/works for you.16:01
ankur-gupta-f4https://review.openstack.org/#/c/447068/ is piece in OSC to initialize it.16:02
ankur-gupta-f4Bout to head out to airport so will be on/off for the next couple hours but will log back in on the plane.16:02
mordredcdent: the example iin https://specs.openstack.org/openstack/api-wg/guidelines/microversion_specification.html#version-discovery says it was taken from nova, but it does not match what nova emits16:02
cdenta) /me shakes tiny fist16:03
cdentb) predates me16:03
mordredk. I mena- I like what's in the spec better16:03
cdentc) give me a few minutes and I'll look into it more closely and fix it16:03
openstackgerritDavid Rabel proposed openstack/python-openstackclient master: Add --network and --port to server create  https://review.openstack.org/44492416:03
mordredbut I'm wondering if we should align the spec to nova or try to get nova to add an additional key to theirs?16:03
cdentit is quite likely that what's in the spec is desirable16:03
mordredcdent: (the tl;dr is nova uses "version" to mean max_version)16:04
cdentoh yeah, that's an intentional change16:04
mordredok. cool16:04
cdentthe surrounding tesxt is wrong16:04
mordredI'll make the project-navigator stuff align to the api-wg thing16:04
*** jkilpatr_ has joined #openstack-sdks16:04
cdentyes please16:05
mordredcdent: also - for major versions without microversions, min_version and max_version can be omitted or contain empty strings? or only be omitted? or do you care?16:06
*** jkilpatr has quit IRC16:06
cdentmordred: as far as I'm aware we haven't yet provided guidance for discovery in a non microversioned world, but my interpretation is that 'id' takes on the meaning of "the actual version you're getting, majorly" and min and max ought to be omitted16:08
reedipsindhu : I updated the latest PS with the changes mentioned by dtroyer16:08
cdentmordred: so, basically, keep id, put the version in there, leave min and max out16:09
sindhureedip: great! thanks :)16:09
* dtroyer hasn't read what cdent and mordred are talking about but has a thought anyway16:09
dtroyeris the presence/absense of min_version and max_version how we would detect microversion support?16:10
cdentdtroyer: that seems to be the implication16:10
cdentbut I'm not sure if that's intentional or not16:10
openstackgerritReedip proposed openstack/python-openstackclient master: "floating ip set/unset port" for OSC  https://review.openstack.org/38302516:10
dtroyerI'm generalizing the client-side negotiation code to put into ksa…16:10
* cdent nods16:10
*** john-davidge has joined #openstack-sdks16:12
openstackgerritDean Troyer proposed openstack/python-openstackclient master: "floating ip set/unset port" for OSC  https://review.openstack.org/38302516:12
mordredcdent: https://review.openstack.org/45336116:13
mordreddtroyer: that is my hunch, yes16:13
cdentmordred: cool, will look properly soon16:14
mordreddtroyer: and ooh - you adding version discovery and microversion-per-call suport? or just one or just theother?16:14
dtroyerI've started with the negotiation, will be doing per-call since OSC needs it16:14
mordredwoot16:15
dtroyermordred: https://review.openstack.org/45161816:15
mordredI've been avoiding bothering with that so far16:15
dtroyerit's all in OSC for development ATM16:15
*** john-davidge has quit IRC16:17
mordreddtroyer: ah - so cool - I _also_ want major version discovery and have a minor portion of that somewhere - but can add that in when you're happy with what you've got there for microversions16:19
mordred(and I like what you've got there)16:19
*** jpich has quit IRC16:28
*** amotoki has quit IRC16:29
openstackgerritChris Dent proposed openstack/api-wg master: Remove reference to nova on version discovery  https://review.openstack.org/45374416:29
*** valeryt has quit IRC16:33
openstackgerritNakul Dahiwade proposed openstack/python-openstacksdk master: Introduce L7Policy for Octavia (load balancing)  https://review.openstack.org/45198016:35
mordreddtroyer: also, I finally got around to writing a patch to horizon to add suport for downloading clouds.yaml files16:38
mordred(fixing tests right now)16:38
openstackgerritNakul Dahiwade proposed openstack/python-openstacksdk master: Introduce L7Policy for Octavia (load balancing)  https://review.openstack.org/45198016:38
dtroyermordred: \o/16:39
*** Kuwagata has joined #openstack-sdks16:41
mordreddtroyer: remote:   https://review.openstack.org/453669 Add support for downloading clouds.yaml files16:44
*** rabel_b1 has quit IRC16:45
dtroyermordred: Nice.  Maybe OSC should grow this too, and maybe both need to have a way to pull the update for the vendors file?16:50
mordreddtroyer: yah - I have some patches I'll push up later today about vendors files too16:52
dtroyercoolio16:52
mordreddtroyer: and I've been thinking of making a few osc commands like "add cloud" that could injest a clouds.yaml from a vendor into an existing one16:52
dtroyeryeah, thats a natural place to manage that file...16:53
mordred++16:53
reedipstevemar: there ?16:57
openstackgerritMerged openstack/python-openstackclient master: Enable to create legacy router  https://review.openstack.org/44917617:00
*** gus has quit IRC17:04
*** jamielennox has quit IRC17:04
*** gus has joined #openstack-sdks17:05
*** jamielennox has joined #openstack-sdks17:07
*** prg3 has quit IRC17:18
*** prg3 has joined #openstack-sdks17:21
*** ssbarnea has quit IRC17:39
*** bobh has quit IRC17:42
*** ssbarnea has joined #openstack-sdks17:46
*** prg3 has quit IRC17:48
*** prg3 has joined #openstack-sdks17:51
*** jkilpatr_ has quit IRC17:54
*** ralonsoh has quit IRC18:08
*** jkilpatr_ has joined #openstack-sdks18:08
openstackgerritNakul Dahiwade proposed openstack/python-openstacksdk master: Introduce L7Policy for Octavia (load balancing)  https://review.openstack.org/45198018:10
*** john-davidge has joined #openstack-sdks18:13
*** john-davidge has quit IRC18:17
*** bobh has joined #openstack-sdks18:42
openstackgerritDean Troyer proposed openstack/python-openstackclient master: Develop api.versions for microversion discovery  https://review.openstack.org/45161818:46
*** bobh has quit IRC18:47
openstackgerritNakul Dahiwade proposed openstack/python-openstacksdk master: Introduce L7Rule for Octavia (load balancing)  https://review.openstack.org/45283218:51
openstackgerritDean Troyer proposed openstack/python-openstackclient master: Clean up password prompt work-arounds  https://review.openstack.org/45383218:54
*** malloc83 has joined #openstack-sdks19:04
malloc83hi there :-) just a tad curious why this isnt covered or just not documented.. i just started using the openstack proposed sdk.. and realised after authenticating and using authorize to get a token.. it pretty much doesnt mean much,, because after the user browses around on my gui, i have zero way of using the token to authenticate again on the sdk ;-)19:06
briancurtinYou can auth again with that token19:06
malloc83is this just not possible at this time? I noticed there is a plugin ? password? but nothing stating i could use plugin token if it even exists..19:06
malloc83bradjones:  yup i can,, but not using the sdk.. i cant find any intercace or something via the connection class that allows that.19:07
briancurtinhuh?19:07
malloc83so openstack has a connection class that i am using to connect in python, i use authorise() method to get a token...19:07
malloc83after that i can use the token again against the api...19:08
malloc83but how do i use it again with the connection handler?19:08
malloc83since the connection handler has been re-initilized, i cant afford to store a username and password in memory to auth again :) it must have some way for me to provide the token to continue the session19:08
briancurtinas in, you want to create another connection instance elsewhere, perhaps in another instance of your application, using the token that was already received?19:09
malloc83bradjones: spot on.. this is for wsgi app..19:09
malloc83briancurtin: i am sorry spot on yes.. :) getting used to this new mac keyboard.19:09
briancurtinmalloc83: that has definitely worked in the past. let me write something up and send it to you in a min19:10
*** bobh has joined #openstack-sdks19:10
malloc83perhaps i missed this in the documentation, looked through all the examples too.19:10
openstackgerritChris Dent proposed openstack/api-wg master: Remove reference to nova on version discovery  https://review.openstack.org/45374419:10
malloc83briancurtin: it works great, just no idea how to re-use the token with the connection handler.. other than that, everything seems to be as expected.. the documentation however has no mention of using token for auth, just v2,v3 keystone username and password, unscoped etc19:11
*** john-davidge has joined #openstack-sdks19:13
briancurtinmalloc83: is this what you’re looking for https://gist.github.com/briancurtin/a10f4ed985d51a64f9c5de4c63b685fc19:15
malloc83having a look quick19:15
briancurtinmalloc83: yeah, we use keystoneauth for all of the auth handling, so we need to do a better job either explaining some of what can be done, or link out to keystoneauth’s docs on it19:16
malloc83i guessed it exactly like that, didnt work.. :) but that would be worth putting in the docs.19:16
malloc83ill have a look now why, perhaps i broke it :)19:16
briancurtinmalloc83: what version are you using?19:16
malloc83v2 auth api ? or what you asking for? the sdk?19:17
briancurtinSDK version19:17
malloc83checking quick...19:17
malloc83openstacksdk==0.9.1419:17
malloc83its the well defaulto version via pip install.19:18
*** john-davidge has quit IRC19:18
briancurtinok cool, yeah from the SDK side of things that should all work (it maybe wouldn’t work on something way old, though i can’t remember how old). if you have more info on what failed and how i can maybe help figure it out. if it’s something with keystone itself though, that i don’t really know about19:19
malloc83briancurtin: no problem, just checking my understanding.. if i have a unscoped token on v2, i should be able to scope a new one using that against a project/tenant right? getting a 40119:20
briancurtini know even less about keystone than what you just asked about19:20
malloc83briancurtin: haha cool :) understood.19:20
malloc83thanks for your help so far :)19:21
sindhustevemar: hi,  https://review.openstack.org/#/c/383025/  is ready for your review :)19:21
openstackgerritBrian Haley proposed openstack/python-openstackclient master: Allow override of distributed router flag  https://review.openstack.org/43344219:22
*** Kuwagata has quit IRC19:26
*** Kuwagata has joined #openstack-sdks19:26
openstackgerritMerged openstack/api-wg master: Clarify the meaning of BODY  https://review.openstack.org/45156819:34
openstackgerritNakul Dahiwade proposed openstack/python-openstacksdk master: Introduce L7Rule for Octavia (load balancing)  https://review.openstack.org/45283219:52
openstackgerritChris Dent proposed openstack/api-wg master: Create a set of api interoperability guidelines  https://review.openstack.org/42184620:06
*** annegentle has quit IRC20:10
*** jamielennox is now known as jamielennox|away20:12
*** cdent has quit IRC20:41
*** annegentle has joined #openstack-sdks20:41
*** cdent has joined #openstack-sdks20:50
openstackgerritShashank Kumar Shankar proposed openstack/python-openstacksdk master: Introduce Pool for Octavia (load balancing)  https://review.openstack.org/44926420:51
*** cleong has quit IRC21:00
*** john-davidge has joined #openstack-sdks21:14
*** eliqiao has quit IRC21:18
*** eliqiao has joined #openstack-sdks21:19
*** john-davidge has quit IRC21:19
*** gouthamr has quit IRC21:21
*** cdent has quit IRC21:39
*** jkilpatr_ has quit IRC21:42
*** chlong has quit IRC22:02
*** Kuwagata has quit IRC22:12
*** jamielennox|away is now known as jamielennox22:13
*** Kuwagata has joined #openstack-sdks22:16
*** Kuwagata has quit IRC22:19
*** Kuwagata has joined #openstack-sdks22:20
*** jkilpatr_ has joined #openstack-sdks22:20
*** annegentle has quit IRC22:36
*** ssbarnea has quit IRC22:47
*** ssbarnea has joined #openstack-sdks22:50
*** ssbarnea has quit IRC22:51
*** ssbarnea has joined #openstack-sdks23:05
*** adriant has joined #openstack-sdks23:06
*** bobh has quit IRC23:09
*** ssbarnea has quit IRC23:11
*** ssbarnea has joined #openstack-sdks23:15
*** john-davidge has joined #openstack-sdks23:15
*** Kuwagata has quit IRC23:19
*** john-davidge has quit IRC23:19
*** Kuwagata has joined #openstack-sdks23:20
*** ssbarnea has quit IRC23:21
*** Kuwagata has quit IRC23:24
*** Kuwagata has joined #openstack-sdks23:25
*** ssbarnea has joined #openstack-sdks23:27
*** ssbarnea has quit IRC23:33
*** jamielennox is now known as jamielennox|away23:42
*** jamielennox|away is now known as jamielennox23:45
*** ssbarnea has joined #openstack-sdks23:55

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