Monday, 2020-03-23

openstackgerritSagi Shnaidman proposed openstack/openstacksdk master: Add ansible stable-2.9 job and run 2.8 and 2.9  https://review.opendev.org/71147101:28
openstackgerritSagi Shnaidman proposed openstack/ansible-collections-openstack master: Don't fetch subunit in jobs  https://review.opendev.org/71434201:33
openstackgerritSagi Shnaidman proposed openstack/openstacksdk master: DNM test fetch_subunit  https://review.opendev.org/71434301:37
openstackgerritSam Morrison proposed openstack/openstacksdk master: Add availability zone and availability zone profile resources to load balancer  https://review.opendev.org/71434502:26
*** __ministry has quit IRC03:23
*** ricolin_ has joined #openstack-sdks03:46
*** ricolin_ has quit IRC04:17
openstackgerritSam Morrison proposed openstack/openstacksdk master: Add availability zone and availability zone profile resources to load balancer  https://review.opendev.org/71434504:19
*** evrardjp has quit IRC05:36
*** evrardjp has joined #openstack-sdks05:36
*** slaweq_ has joined #openstack-sdks06:31
*** dtantsur|afk is now known as dtantsur07:18
*** gtema has joined #openstack-sdks07:37
*** lxkong has quit IRC07:42
*** jawad_axd has joined #openstack-sdks07:49
*** gtema has quit IRC07:59
*** ralonsoh has joined #openstack-sdks07:59
*** gtema has joined #openstack-sdks08:02
*** tkajinam has quit IRC08:15
*** tosky has joined #openstack-sdks08:32
openstackgerritArtem Goncharov proposed openstack/openstacksdk master: Lay a foundation for the project cleanup  https://review.opendev.org/70021908:34
*** amoralej|off is now known as amoralej08:41
*** jpena|off is now known as jpena08:52
*** rpittau|afk is now known as rpittau08:52
openstackgerritMark Chappell proposed openstack/openstacksdk master: Add support for not including the ID in creation requests  https://review.opendev.org/71412008:55
*** jpich has joined #openstack-sdks08:59
openstackgerritDaniel Bengtsson proposed openstack/osc-lib master: Stop configuring install_command in tox and stop use pip.  https://review.opendev.org/69451009:01
*** slaweq_ is now known as slaweq09:13
openstackgerritMark Chappell proposed openstack/openstacksdk master: Add support for Identity Providers  https://review.opendev.org/71412209:17
*** ccamel has quit IRC09:29
rpittaugood morning everyone, just a doubt looking at the code, in the service_description module, shouldn't we set skip_discovery to True for the proxy object if we have both endpoint_override and version_string? Precisely inside this "if" https://opendev.org/openstack/openstacksdk/src/branch/master/openstack/service_description.py#L17409:29
*** camelCaser has joined #openstack-sdks09:31
*** ralonsoh has quit IRC09:44
*** ralonsoh has joined #openstack-sdks09:44
*** gtema_ has joined #openstack-sdks09:56
*** gtema has quit IRC10:00
dtantsurI'll look after the mandatory tea10:38
*** sshnaidm is now known as sshnaidm|pto10:53
dtantsurrpittau: why so? there is still information to discover, e.g. the precise location of a major version or available microversions10:59
rpittaudtantsur: this is related to the migration of ironic-inspector to use openstacksdk for the ironic module, when running the functional test it fails with the current conf, I tracked down the issue to the discovery part between openstacksdk and keystone, when creating the proxy object11:09
*** gtema has joined #openstack-sdks11:09
dtantsurrpittau: if you have problems with discovery, it usually means you've got a wrong URL11:12
dtantsurand I do agree that the error message may be quite confusing11:12
*** gtema_ has quit IRC11:13
rpittaudtantsur: yeah, the current config has endpoint_override=http://url , I tried with different ones with no luck11:14
dtantsurrpittau: unless you mock out keystoneauth, it will try accessing that11:15
rpittaudtantsur: I also tried that, maybe I'm mocking it in the wrong place :/11:15
dtantsurrpittau: just mock the hell out of get_client or how it's called now11:16
dtantsurI don't think it's useful to go deeper11:16
*** ouroboros8 has joined #openstack-sdks11:21
rpittaudtantsur: tried that too :/ again maybe I'm doing something wrong while mocking11:22
dtantsurrpittau: do you have a patch with get_client mocked? if it's mocked properly, it cannot end up in keystoneauth11:23
*** ricolin_ has joined #openstack-sdks11:23
rpittaudtantsur: no, I didn't upload it as it was failing11:24
ouroboros8I have an open review ( https://review.opendev.org/#/c/713698/ ) for a change to the openstack cli, but one of the later Zuul build steps is failing (osc-promote-image). I've had a look at it but the logs don't really make much sense to me, and I'm not sure what the step is trying to achieve. Anyone able to give me some pointers?11:24
dtantsurouroboros8: your patch has merged. I'm not sure what that job does, but you may talk to #openstack-infra about it.11:26
ouroboros8thanks!11:27
dtantsurrpittau: I suggest you upload it and we walk from there?11:30
rpittaudtantsur: alright, will do11:30
*** evrardjp has quit IRC11:44
*** rpittau is now known as rpittau|bbl11:47
*** evrardjp has joined #openstack-sdks11:50
*** gtema has quit IRC11:55
*** gtema has joined #openstack-sdks11:57
*** mgariepy has quit IRC12:15
*** evrardjp has quit IRC12:27
*** evrardjp has joined #openstack-sdks12:38
openstackgerritMark Chappell proposed openstack/openstacksdk master: Add support for Federation Protocols  https://review.opendev.org/71443112:48
*** Luzi has joined #openstack-sdks12:55
*** jpena is now known as jpena|lunch12:56
*** Luzi_ has joined #openstack-sdks13:00
*** Luzi has quit IRC13:01
*** mgariepy has joined #openstack-sdks13:01
openstackgerritjayaditya gupta proposed openstack/python-openstackclient master: FIX for openstack quota set --force  https://review.opendev.org/71388113:02
*** rpittau|bbl is now known as rpittau13:08
openstackgerritMonty Taylor proposed openstack/python-openstackclient master: Change dockerhub password  https://review.opendev.org/71443613:09
*** amoralej is now known as amoralej|lunch13:09
*** jpich has quit IRC13:41
*** jpich has joined #openstack-sdks13:42
openstackgerritMark Chappell proposed openstack/openstacksdk master: Add support for Federation Protocols  https://review.opendev.org/71443113:42
*** Luzi_ has quit IRC13:44
*** gtema_ has joined #openstack-sdks13:54
mordreddtantsur, rpittau: another option past normal mocking is to use requests-mock ... although that's probably not a _awesome_ choice in the short-term if this isn't in sdk itself. I started work on building a fixture in sdk that can be used in other places: https://review.opendev.org/#/c/675187/ - but am not yet done13:55
mordrednot that it helps today - but the idea there would be to be able to make a FakeOpenStackCloud object and tell it what you want it to do and it'll do all the underlying requests-mock magic that we do in the sdk unit tests13:56
rpittaumordred: hey, thanks :) in the end it was actually a bug in ironic-inspector13:56
mordredbut in a form that other projects consuming sdk could actually use13:56
mordredrpittau: cool!13:56
*** gtema has quit IRC13:58
*** jpena|lunch is now known as jpena13:59
openstackgerritStephen Finucane proposed openstack/python-openstackclient master: Add OpenStack Client for Manila docs  https://review.opendev.org/70625214:02
gtema_dtantsur, mordred: I'm back, and so the https://review.opendev.org/#/c/700219 (project cleanup) is now rebased and waiting for your ok14:03
dtantsurthx14:06
*** gtema_ is now known as gtema14:06
*** amoralej|lunch is now known as amoralej14:06
mordredgtema: yay!14:07
mordredgtema: welcome back!14:07
gtemathks14:07
mordredgtema: so ... don't hate me ... but I may have *completely* forgotten to tell you about a discussion we had at the shanghai summit14:08
gtemaokaaayy, and...???14:08
mordredapparently https://opendev.org/x/ospurge has project cleanup logic and people were suggesting we suck that into sdk and start from there. at this point since you've got the underlying framework maybe instead of doing that we just port in whatever knowledge is in there?14:10
gtemawell, 99% of what ospurge could do (AFAIR) is now done14:10
mordredyeah. I just feel bad I didn't mention "just copy in ospurge as a starting point" before you started work :)14:11
gtemaoh, no, it was another similar project14:11
openstackgerritStephen Finucane proposed openstack/python-openstackclient master: identity: autogenerate docs  https://review.opendev.org/69293114:11
openstackgerritStephen Finucane proposed openstack/python-openstackclient master: image: autogenerate docs  https://review.opendev.org/69302514:11
gtemabasically my change gives a framework for that and the individual services can be easily covered14:11
gtemaso with followups we can integrate more stuff from ospurge, but I would prefer to put it into the cleanup framework14:12
mordredoh - totally. we should definitely put it in the cleanup framework14:13
mordredgtema: left a quick question on that patch14:13
gtemaespecially that it does not seem to support parallel execution14:13
gtemaso you mean I should drop this "single thread fallback"?14:14
mordredI think so? cause I think it's covered with futurist - but maybe dtantsur has a different pov14:14
gtemaif he don't mind - will definitely do this14:15
mordredgtema: also - don't know if you saw - but we merged the sdk and osc teams - so welcome to being core on osc now too14:16
gtemacool.14:17
gtemaI have seen discussion and adding OSC to cores in SDK, but haven't seen SDKs in OSC14:17
openstackgerritAkihiro Motoki proposed openstack/python-openstackclient master: Fix network segment range "_get_ranges" function  https://review.opendev.org/71003114:17
gtemabut am now glad to have possibility to put more efforts in OSC as well ;)14:17
openstackgerritMonty Taylor proposed openstack/python-openstackclient master: Switch image to use SDK  https://review.opendev.org/65037414:18
openstackgerritMonty Taylor proposed openstack/python-openstackclient master: Complete switch from glanceclient to SDK for image service  https://review.opendev.org/69941614:18
openstackgerritMonty Taylor proposed openstack/python-openstackclient master: Don't look up project by id if given id  https://review.opendev.org/71281014:18
openstackgerritMonty Taylor proposed openstack/python-openstackclient master: Optimize adding project to image slightly more  https://review.opendev.org/71281314:18
gtemaany thoughts already on how the virtual PTG will look like?14:18
mordredgtema: we should merge that stack before the ussuri feature freeze :)14:18
gtemaoh sure14:18
mordredI think people are working on it14:18
mordredbut I don't know what it will look like yet14:19
gtemaoki14:19
mordredcorvus deployed a POC of jitsi-meet integrated with etherpad that I believe we're going to deploy as a new service14:19
mordredso it's like etherpad as the main screen, but also with video chat capabilities14:20
gtemawould be cool, but definitely TZ will play a nice role :D14:20
mordredso hopefully that should help some with virtual ptg14:20
mordredyeah14:20
mordredmaybe we should all just give ourselves jetlag in our local location for a week14:20
gtemaanyway glad it is not finally decided to do it this way - sitting here in prison and not knowing how the June will look like was a bit ...14:21
mordredand "Fly" to vancouver virtually14:21
gtemaI was hoping so much to go to Vancouver (cry)14:21
mordredyeah14:21
mordredit's gonna be a rough next several months14:21
gtemasure. Hopefully next Berlin will take place14:22
mordredI certainly hope so14:22
gtemawe can then make SDK hiking tour over germany14:22
mordredsounds like fun! :)14:23
mordred(anything other than an SDK "sitting in a room for months" will be wonderful)14:24
gtemawe need to compensate vancouver14:24
gtema"sitting in a virtual room" you mean14:24
openstackgerritArtem Goncharov proposed openstack/openstacksdk master: Lay a foundation for the project cleanup  https://review.opendev.org/70021914:30
gtemaI assumed dtantsur will not object on futurist and removed bypass14:31
openstackgerritMark Chappell proposed openstack/openstacksdk master: Add support for Federation Protocols  https://review.opendev.org/71443114:35
openstackgerritMark Chappell proposed openstack/openstacksdk master: Add support for Identity Providers  https://review.opendev.org/71412214:36
*** tremble has joined #openstack-sdks14:36
mordredcmurphy: if you have some spare time - mind looking at ^^ ?14:37
mordredgtema: cool14:38
tremblegtema, Anywhere you'd like me to add a link to the relevant API docs?14:39
gtemasince we have all already found it - nope, it's ok14:39
*** ouroboros8 has quit IRC14:49
*** mgariepy has quit IRC14:55
*** ricolin_ has quit IRC15:01
*** ricolin_ has joined #openstack-sdks15:01
*** evrardjp has quit IRC15:07
*** evrardjp has joined #openstack-sdks15:11
mgoddardhi, is this the place to ask for cliff reviews? https://review.opendev.org/70888215:21
*** tremble has left #openstack-sdks15:34
*** mgariepy has joined #openstack-sdks15:35
*** tremble has joined #openstack-sdks15:39
*** KeithMnemonic has joined #openstack-sdks15:42
KeithMnemonicsmcginnis: Hello Sean. I hope you are holding up ok. Could you please let me know exactly what is needed for here? https://review.opendev.org/#/c/702260/4  The "cherry picked" from does point to Train so I am not sure I understand exactly what is needed. Thank you.15:45
smcginnisKeithMnemonic: Oh, I saw only the one line and assumed it was directly from master. Typically we keep each line, so by the time you get back to stein you would have a couple cherry-pick lines.15:48
smcginnisThis should be fine though.15:48
KeithMnemonicok thanks for checking again15:49
smcginnisnp, thanks for pointing that out.15:49
openstackgerritStephen Finucane proposed openstack/python-openstackclient master: Introduce 'quota unset' command  https://review.opendev.org/37631115:53
tremblemordred, Any suggestions what I can do to work around: http://paste.openstack.org/show/791031/15:59
smcginnistremble: Is that coming out of generated code?16:04
tremblesmcginnis, It's documentation from https://review.opendev.org/#/c/714431/16:05
trembleI was trying to keep the object name consistent with how the openstack CLI refers to the object16:05
smcginnistremble: You'll have to put in some line break in there to keep them <80 characters long.16:06
tremblesmcginnis, Any idea how to do that without causing documentation oddness ?16:07
smcginnistremble: Should be able to just stick a break anywhere in there. Generated docs will combine strings together in the resulting HTML.16:09
smcginnisAs far as reading the direct source, probably good to add a break after the last "." in the class path maybe.16:09
*** sshnaidm|pto has quit IRC16:15
*** sshnaidm|pto has joined #openstack-sdks16:17
nightmare_unrealhello i am kind of stuck with writing a test case for heal_allocation. I am trying to mimic cell-uuid using uuidutils.generate_uuid() . Here's what i have written so far : https://review.opendev.org/#/c/714459/16:25
trembleThanks smcginnis16:30
smcginnistremble: no problem!16:32
openstackgerritMonty Taylor proposed openstack/python-openstackclient master: Switch image to use SDK  https://review.opendev.org/65037416:35
openstackgerritMonty Taylor proposed openstack/python-openstackclient master: Complete switch from glanceclient to SDK for image service  https://review.opendev.org/69941616:35
openstackgerritMonty Taylor proposed openstack/python-openstackclient master: Don't look up project by id if given id  https://review.opendev.org/71281016:35
openstackgerritMonty Taylor proposed openstack/python-openstackclient master: Optimize adding project to image slightly more  https://review.opendev.org/71281316:35
mordredstephenfin: ^^ thanks for the catch there.16:35
openstackgerritMark Chappell proposed openstack/openstacksdk master: Add support for Federation Protocols  https://review.opendev.org/71443116:42
cmurphymordred: added to my list16:47
mordredcmurphy: thanks16:47
cmurphyhappy to see those being added16:47
mordredme too!16:48
*** rpittau is now known as rpittau|afk17:08
openstackgerritMerged openstack/python-openstackclient master: Change dockerhub password  https://review.opendev.org/71443617:15
*** jawad_axd has quit IRC17:17
*** gtema has quit IRC17:22
*** jpich has quit IRC17:23
*** evrardjp has quit IRC17:36
*** dtantsur is now known as dtantsur|afk17:36
*** evrardjp has joined #openstack-sdks17:36
openstackgerritMonty Taylor proposed openstack/python-openstackclient master: Remove trailing newline from dockerhub secret  https://review.opendev.org/71450217:55
mordredstephenfin: ^^ if you don't mind ... I think it's going to work this time17:55
smcginnisOdd that osc-build-image passed on the original patch.18:03
openstackgerritPedro Henrique Pereira Martins proposed openstack/python-openstackclient master: Add description field to portforwarding NAT rules  https://review.opendev.org/71451218:19
*** jpena is now known as jpena|off18:27
*** amoralej is now known as amoralej|off18:44
mordredsmcginnis: the osc-upload-image job turns out to use docker login which writes the creds to a config file and then docker push uses them - so the trailing whitespace naturally just gets eaten in the process18:50
mordredsmcginnis: the promote job just does a remote API call to retag an existing image on dockerhub and passing teh value to the ansible uri module keeps the trailing whitespace intact18:50
mordred(We also have changes up to update the job to strip and also to strip in encrypt_secret)18:51
mordredsmcginnis: but yeah - took a few days to figure out what was going wrong - I'd like for other people to not have to do that18:51
smcginnismordred: Makes sense.18:55
*** diablo_rojo__ has joined #openstack-sdks19:13
*** ralonsoh has quit IRC19:16
*** ricolin_ has quit IRC19:24
mordredsmcginnis: so - I feel like I need to udpate requirements here: https://zuul.opendev.org/t/openstack/build/e4bde7dbcff74624ba844e11db5bef9719:26
mordredactually - maybe I should switch channels19:27
openstackgerritMonty Taylor proposed openstack/python-openstackclient master: Switch image to use SDK  https://review.opendev.org/65037419:38
*** jawad_axd has joined #openstack-sdks19:48
*** diablo_rojo__ has quit IRC19:49
*** diablo_rojo__ has joined #openstack-sdks19:51
openstackgerritjayaditya gupta proposed openstack/python-openstackclient master: Add '--force; parameter to 'openstack quota set'/ The compute service allows us to to force set a quota, setting a quota value that is less than the amount of the resource currently consumed. Expose this feature by way of a '--force' boolean parameter.  https://review.opendev.org/71388120:11
*** nightmare_unreal has quit IRC20:17
*** jawad_axd has quit IRC20:28
*** jawad_axd has joined #openstack-sdks20:29
*** jawad_axd has quit IRC20:33
sshnaidm|ptofolks, please review: https://review.opendev.org/#/c/714302/ required for ansible job on openstacksdk20:35
sshnaidm|ptomordred, ^^20:35
sshnaidm|ptoseems like rocky and train gates are broken: https://review.opendev.org/#/c/714086/  https://review.opendev.org/#/c/714089/20:38
*** mgariepy has quit IRC20:45
openstackgerritMerged openstack/python-openstackclient master: Remove trailing newline from dockerhub secret  https://review.opendev.org/71450220:47
mordredwoot! it worked! https://hub.docker.com/repository/docker/osclient/python-openstackclient corvus <--20:55
mordredsmcginnis: ^^20:55
corvusmordred: that's a private url, but i assume the public one works so yay!20:57
mordredoh. heh20:58
mordredhttps://hub.docker.com/r/osclient/python-openstackclient20:58
*** dtroyer has joined #openstack-sdks21:14
openstackgerritMerged openstack/python-openstackclient master: Fix network segment range "_get_ranges" function  https://review.opendev.org/71003121:41
*** mgariepy has joined #openstack-sdks21:50
*** tkajinam has joined #openstack-sdks22:57
*** lxkong has joined #openstack-sdks23:03
openstackgerritSam Morrison proposed openstack/openstacksdk master: Add availability zone and availability zone profile resources to load balancer  https://review.opendev.org/71434523:05
*** slaweq has quit IRC23:06
*** slaweq has joined #openstack-sdks23:18
*** diablo_rojo__ is now known as diablo_rojo23:21
*** slaweq has quit IRC23:23

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