Wednesday, 2022-05-18

opendevreviewMerged openstack/nova stable/yoga: Adds regression test for bug LP#1944619  https://review.opendev.org/c/openstack/nova/+/83878800:01
opendevreviewMerged openstack/nova stable/yoga: Fix pre_live_migration rollback  https://review.opendev.org/c/openstack/nova/+/83601400:01
opendevreviewMerged openstack/nova stable/ussuri: [stable-only] Drop lower-constraints job  https://review.opendev.org/c/openstack/nova/+/83803301:10
opendevreviewBrin Zhang proposed openstack/nova master: Replaces tenant_id with project_id from List/Update Servers APIs  https://review.opendev.org/c/openstack/nova/+/76429203:18
opendevreviewBrin Zhang proposed openstack/nova master: Replace all_tenants with all_projects in List Server APIs  https://review.opendev.org/c/openstack/nova/+/76531103:18
opendevreviewBrin Zhang proposed openstack/nova master: Replaces tenant_id with project_id from Rebuild Server API  https://review.opendev.org/c/openstack/nova/+/76638003:18
opendevreviewBrin Zhang proposed openstack/nova master: Replaces tenant_id with project_id from List SG API  https://review.opendev.org/c/openstack/nova/+/76672603:18
opendevreviewBrin Zhang proposed openstack/nova master: Replaces tenant_id with project_id from Flavor Access APIs  https://review.opendev.org/c/openstack/nova/+/76770403:18
*** EugenMayer1 is now known as EugenMayer06:20
bauzasgood morning Nova06:53
Ugglabauzas, o/07:32
Ugglabauzas, did you sleep well after the spicy food ?07:32
tobias-urdingood morning o/07:34
gibigood morning07:35
* gibi will be off before noon to do a dryrun on his summit talk with the other presenter07:36
gibihehh my old E/// wifi account still works in the local E/// building 07:37
tobias-urdinsean-k-mooney: maybe u could check this libvirt blocker when u are online https://review.opendev.org/c/openstack/nova/+/83897607:41
bauzasUggla: yes indeed ;)07:53
kashyapgibi: Good luck with the preso!08:04
bauzasgibi: break a leg ;)08:05
* bauzas changes his hardware for the optic fiber and packages his old ONT08:06
bauzasFree (French operator) <3 you missed me08:06
bauzas(I missed you* actually)08:07
opendevreviewBrin Zhang proposed openstack/nova master: Replaces tenant_id with project_id from List/Show usage APIs  https://review.opendev.org/c/openstack/nova/+/76850908:08
opendevreviewBrin Zhang proposed openstack/nova master: Replace tenants* with projects* of policies  https://review.opendev.org/c/openstack/nova/+/76531508:08
opendevreviewBrin Zhang proposed openstack/nova master: Replace tenant_id with project_id in os-quota-sets path  https://review.opendev.org/c/openstack/nova/+/76885108:30
opendevreviewBrin Zhang proposed openstack/nova master: Replace tenant_id with project_id in Limits API  https://review.opendev.org/c/openstack/nova/+/76886208:30
opendevreviewBrin Zhang proposed openstack/nova master: Replace tenant* with project* in codes  https://review.opendev.org/c/openstack/nova/+/76932908:30
opendevreviewBrin Zhang proposed openstack/nova master: Replace os-simple-tenant-usage with os-simple-project-usage  https://review.opendev.org/c/openstack/nova/+/84228808:30
brinzhang0bauzas: hi, I would you like to review the remove_tenant series patches https://review.opendev.org/q/topic:bp%252Fremove-tenant-id08:35
bauzasbrinzhang0: sure, I'll do08:35
brinzhang0thx08:35
sean-k-mooneygibi: does https://review.opendev.org/c/openstack/tempest/+/842140/3/tempest/api/compute/base.py#482= make sense09:25
sean-k-mooneythe jobs failed on the test we were trying to fix so its obviouly not working in its current form09:25
Ugglasean-k-mooney, can you have a quick look at my comment on https://review.opendev.org/c/openstack/nova-specs/+/831506 and tell me what you think about it ?09:42
sean-k-mooneyim just reading a differnt one but suer ill look at it soon09:45
Ugglasean-k-mooney, thx09:46
sean-k-mooneycool one -1 down for the day now for the next :P09:49
sean-k-mooneyUggla: i dont see a new comment form you since the last ones i posted09:50
sean-k-mooneywhich one specifically did you want me to look at09:50
* bauzas reviews Uggla's spec by now09:54
sean-k-mooneybauzas: before you do09:55
sean-k-mooneybauzas: can you respond to gmann on yoru spec09:55
bauzassean-k-mooney: sure, will look09:55
sean-k-mooneybauzas: can you pull in the change to allow @ in the keypair name09:55
sean-k-mooneyhttps://review.opendev.org/c/openstack/nova-specs/+/78567409:56
sean-k-mooneythis comment https://review.opendev.org/c/openstack/nova-specs/+/840217/3#message-81ccda58cd8f18ba84569bec794083b5572eb1e0=09:56
bauzasgosh, I got lost with all the back-and-forths09:57
bauzasand I forgot to upload my comments 09:57
bauzasoh, merging with another spec, I see09:57
sean-k-mooneyits a really trivial spec so if you can merge that into your it woudl be nice to do both in one micro verion09:58
sean-k-mooneyya it just add ing @ and .09:58
sean-k-mooneyto the regex09:58
sean-k-mooneyso you can name the keypair me@my.domain09:58
sean-k-mooneybauzas: if your ok with that we could also make that update as a FUP09:59
sean-k-mooneyassuming that works for gmann 10:00
bauzassean-k-mooney: will add a new revision10:00
bauzasbetter than a FUP10:00
sean-k-mooneycool ill be AFK for 20 mins or so but ill review it as soon as im back if its up10:00
Ugglasean-k-mooney, bauzas, oops sorry I forget to hit the reply button.10:04
Ugglasean-k-mooney, bauzas, my comment should be available now.10:05
opendevreviewRajat Dhasmana proposed openstack/nova-specs master: Repropose volume backed server rebuild spec  https://review.opendev.org/c/openstack/nova-specs/+/84015510:13
opendevreviewSylvain Bauza proposed openstack/nova-specs master: Proposes to remove keypair generation  https://review.opendev.org/c/openstack/nova-specs/+/84021710:15
bauzasgmann: sean-k-mooney: honestly the xena spec was not explaining how to modify the parameters10:22
bauzasgmann: sean-k-mooney: because we validate the keypair name not by the API but rather by a specific method https://github.com/openstack/nova/blob/4939318649650b60dd07d161b80909e70d0e093e/nova/compute/api.py#L661510:22
bauzasso we'll need to either pass a parameter down to the compute api to tell about the microversion, or create a different parameter type for the older microversions (and remove this method)10:24
bauzasnot that simple honestly10:24
songwenpingHi team, my env meet the error when boot vm: Failed to create PTY:no such file or dirctory, the qemu version is 2.10.0 and libvirt is 3.9.0, any guys have any solutions?10:24
bauzasthe simpliest is passing down some flag to the compute API of course10:24
*** whoami-rajat__ is now known as whoami-rajat10:36
sean-k-mooneybauzas: honestly my prefence would be to not require a microversion and jsut start accpeting . and @10:43
sean-k-mooneygmann: is a  microverions stictly required here10:44
sean-k-mooneyto me the spec was required becauses it is an api change10:44
sean-k-mooneyi was not sold on needing to opt into this behavior with a microverion10:44
sean-k-mooneyi know we have an exemtimption for 500->200 in this case its 400->200 but this partaclar change seams harmless to me10:47
bauzassean-k-mooney: I'm going afk for lunch but let's discuss this around 1230UTC if you want with gmann10:48
sean-k-mooneybauzas:  by the way this is not actully happenign in the comptue agent is it10:48
sean-k-mooneybauzas: the keyparis are in teh api db10:48
sean-k-mooneyand we can crete them without any instnace or host10:48
bauzasyeah, it's just a API DB10:49
sean-k-mooneyso this cant actully be runnign in the compute-agent10:49
sean-k-mooneyso there is not rpc impact here10:49
sean-k-mooneythis is executing in the api service10:49
* bauzas needs to be off10:50
sean-k-mooneybauzas: its called directly from the api here https://github.com/openstack/nova/blob/4939318649650b60dd07d161b80909e70d0e093e/nova/api/openstack/compute/keypairs.py#L11310:50
bauzasyes10:50
sean-k-mooneyok lets discuss when your back10:50
sean-k-mooneybut this looks like a trivial change to me honestly10:51
sean-k-mooneysince its all in the same process10:51
sean-k-mooneywe dont need to worry about rpc impact if we jsut add a paramater10:51
sean-k-mooneyits not remotable10:51
bauzasthe question is not about the remotable usage, but rather about the microversion needed or not10:52
sean-k-mooneywell it certenly does not need a second microversion10:53
sean-k-mooneyim not sure it need one at all since it backwards compatible10:53
bauzasas we validate the name in the compute.api module, we need to pass some flag to it if we want a microversion for that10:53
sean-k-mooneyor we move the funciton10:53
sean-k-mooneythe only caller is in nova/api/openstack/compute/keypairs.py10:54
bauzaswe could 10:54
bauzasactually, it could be better10:54
sean-k-mooneywe could leave that to the patch review honestly im not sure it needs to be in the spec10:55
sean-k-mooneythis is an internal detail within the api process10:55
opendevreviewSylvain Bauza proposed openstack/nova-specs master: Proposes to remove keypair generation  https://review.opendev.org/c/openstack/nova-specs/+/84021710:55
sean-k-mooneygo have lunch10:55
sean-k-mooneywe can chat when you are back10:55
gibisean-k-mooney: I've pushed a new PS for the tempest SSHABLE fix based on you suggestion, so we will see11:13
sean-k-mooneyi breifly looked at the tempest config and it looked liek verification was configured11:21
sean-k-mooneyso i would have expected it to trigger your chage11:22
sean-k-mooneyso notre really sure why your orgininal patch would not work other then maybe we have to wait for both11:23
opendevreviewBalazs Gibizer proposed openstack/nova master: Revert "zuul: Skip block migration with attached volumes tests due to bug #1931702"  https://review.opendev.org/c/openstack/nova/+/81247311:23
kashyapgibi: So we're indeed skipping that11:24
kashyapErr, it's a revert11:24
kashyapYep, makes sense, from reading the commit message.11:24
gibikashyap: I have no information why it should work now, but at least we can gather that information11:25
kashyapYeah11:25
gibiit is related to another SSHABLE tempest fix in https://review.opendev.org/c/openstack/tempest/+/81777211:25
tobias-urdinsean-k-mooney: please have a quick look at https://review.opendev.org/c/openstack/nova/+/838976 when you have time, i need to go afk for a while but will be back later today11:33
sean-k-mooneysure11:35
sean-k-mooneyoh this is for the nodedev name change11:36
sean-k-mooneyya im aware of that11:36
tobias-urdinack :)11:36
gibiI've just finished reviewing that11:37
gibiI have some comments and a request for tests11:37
sean-k-mooneyjust seeing them as i click11:38
sean-k-mooneygibi: replied inline11:47
gibithanks11:51
*** sfinucan is now known as stephenfin12:04
opendevreviewMerged openstack/nova stable/train: [stable-only] Drop lower-constraints job  https://review.opendev.org/c/openstack/nova/+/83803712:44
opendevreviewMohammed Naser proposed openstack/nova master: Fix race condition in _get_pci_passthrough_devices  https://review.opendev.org/c/openstack/nova/+/84099312:49
sean-k-mooneygibi: are you working on https://bugs.launchpad.net/nova/+bug/1971760 i was going to try and find time today to push a patch to make spawn_n actully be spwan and see if that helps13:07
gibisean-k-mooney: I have an env where I try to reproduce the leak itself but I had no time to kick that env enough. I'm not sure I can reproduce the leak in a reproducible way13:08
gibiso it is hard to test any changesd13:08
sean-k-mooneyi think it will hapen if a thread that is invoked with spawn_n raises an excpeiton13:09
sean-k-mooneythat is not caugt before the entry porint of the spawn_n call13:09
gibiI tried that13:09
gibiit does not create the leak13:09
gibiI tried vif plug timeout13:10
sean-k-mooneywell my other tought was maybe itst related to https://bugs.launchpad.net/oslo.messaging/+bug/194996413:10
gibiI havent looked at ^^ yet13:10
gibiso feel free to propose a patch but it will be hard to prove it solved the issue except if mnaser are willing to take that patch to his env and let it running for a while13:11
sean-k-mooneyi was hoping to be able to tweak https://github.com/eventlet/eventlet/issues/731#issue-1032856809 to repoduce it but ya i just want to see if we do https://github.com/eventlet/eventlet/issues/731#issuecomment-968135262 will it help13:16
sean-k-mooneywell will it work with nova13:16
sean-k-mooneyi was considering putting it behind a workaround config option so we could get feedback13:17
gibiyeah either we need a way to reproduce or we need to make this optional and ask for feedback13:18
gibioverall I don't see problems replacing our spawn_n calls with spawn13:18
gibiIt should not cause any additional issue13:19
gibibut it might not fix the current one13:19
gibi:)13:19
sean-k-mooney:) ya that is kind of what i was thinking too13:19
sean-k-mooneyit should not make things worse it just might not have any effect at all13:20
gibiyepp13:21
gibithere is a small memory / cpu overhead in case of spawn as it does wrap the greenlet into a GreenThread object but we don't have that much greenlets that it causes issues13:22
gibiexcept when we start leaking them :D13:23
opendevreviewsean mooney proposed openstack/nova master: [DNM] allow mokey patching spawn_n to spawn  https://review.opendev.org/c/openstack/nova/+/84235913:35
opendevreviewsean mooney proposed openstack/nova master: [DNM] allow monkey patching spawn_n to spawn  https://review.opendev.org/c/openstack/nova/+/84235913:36
sean-k-mooneyi have not test ^ and it currently defaults to enabled13:36
sean-k-mooneybut we will see what the ci thinks13:37
sean-k-mooneygibi shoudl i also add you greenlet state reporting13:37
gibiyou can pull the patch top of it just for data13:38
gibibut it does not prove anything as CI is basically doing a lot of operations then stops, so there is now time for the numbers to settle to a baseline13:38
sean-k-mooneyya but the data could be interesting to compare13:39
sean-k-mooneyshall i cherry pick your patch so?13:39
sean-k-mooneyor rebase on it 13:39
gibijust cherry pick top of yours13:41
opendevreviewsean mooney proposed openstack/nova master: DNM: log number of green(thread|let)s periodically  https://review.opendev.org/c/openstack/nova/+/84104013:42
sean-k-mooneycool13:42
sean-k-mooneyso looking at the output of the previous run13:42
sean-k-mooneywe see both greenthreadds and greenlets13:42
sean-k-mooneyand we are not expecting to only see greenthreads with my patch13:42
gibiyepp we expect only greenthreads and no naked greenlets13:43
gibigreenlets are implemented in a C extension greenthreads are proper python objects implemented by eventlet13:44
sean-k-mooneyso looking at the output from the test run13:44
sean-k-mooneyteh greenthrad sayed pretty constant13:45
sean-k-mooneybut the greenlets were more or less slowly increaing over time13:45
gibiI see same behavior locally too, but most of the time after couple of minutes of idle time the greenlets also decreased back to baseline. 13:45
sean-k-mooneyhttps://termbin.com/dzg313:46
gibiin CI there is no couple of minutes of idle time 13:46
fricklergibi: kashyap: fyi I had another fix for this in tempest recentish https://review.opendev.org/c/openstack/tempest/+/83538213:46
gibibut it would be interesting to see what happens there13:46
fricklerthis = volume attachments13:46
sean-k-mooneyah for tagged attachments13:47
gibifrickler: yepp, that helps too. thanks. we need to track down all the detach scenarios13:47
sean-k-mooneyya 13:47
gibiall volume detach operation is potenitally affected13:47
sean-k-mooneyand attach since we do detach as a cleanup action13:48
gibisean-k-mooney: good point, yes13:48
sean-k-mooneyyou know technially this could affect nics too13:49
sean-k-mooneyi dont think we have ever seen it affect them13:49
sean-k-mooneybut both are just virtual pci devices form qemus point of view13:50
sean-k-mooneyjust one is virtio-blk and the other is virtio-net13:50
gibiyeah, I never see this in case of interfaces13:51
ricolinsean-k-mooney: stephenfin 13:51
gibiprobably something is different down in the stack13:51
gibieither qemu dev handling or the guest OS dev handling13:51
gibinova today uses the same codepath13:51
sean-k-mooneygibi: ya. i guess network attach/detach is more common and porably better tested13:52
ricolinif you got some time, please help to review https://review.opendev.org/c/openstack/nova-specs/+/840310 as mnaser  already laeve some comments would like to have your feedback:)13:52
gibialso probably force pulling out a disk is more problematic from data consistency perspective than pulling a netdev13:52
*** dasm|off is now known as dasm13:52
sean-k-mooneyright the netdev is mostly stateless13:53
sean-k-mooneyricolin: i think its stephenfin's feedback we need really13:54
sean-k-mooneyi dont like exposing the aw_bits but i understand that ye have a need for it13:54
ricolinsean-k-mooney: cool, thanks:)13:55
sean-k-mooneyi think hw_viommu_model is the write absraction for opting in as we use the same pattern for contoling the graphic deviecs or nic models13:55
sean-k-mooneygibi: hum https://review.opendev.org/c/openstack/tempest/+/842140 still failed the same way14:03
sean-k-mooneyfrickler: ^ any idea why14:03
gibisean-k-mooney: yeah, this is where my tempest knowledge ends. probably something is different in the network setup of this test14:05
fricklersean-k-mooney: I'll take a look later, in a meeting now14:05
sean-k-mooneygibi: possible i can see in the tempest output it waited for it to go form resize verify to active14:05
sean-k-mooneyand tehn it tries to ssh in14:05
sean-k-mooneybut it didn not work14:06
sean-k-mooney"fixed_ip_address": "10.1.0.10"14:07
sean-k-mooneyip-route:10.1.0.0/28 dev eth0 scope link  src 10.1.0.10 14:07
sean-k-mooneyah14:07
sean-k-mooney## ping -c 5 10.1.0.114:08
sean-k-mooneyPING 10.1.0.1 (10.1.0.1): 56 data bytes14:08
sean-k-mooney--- 10.1.0.1 ping statistics ---14:08
sean-k-mooney5 packets transmitted, 0 packets received, 100% packet loss14:08
sean-k-mooneythe vm cannot ping its gateway14:08
sean-k-mooneygibi: my guess is security groups 14:10
bauzasgmann: to clarify the new release naming thingy, it would be something like "2022.2 Arbitrary" for the AA release ?14:12
bauzaswhere "Arbitrary" be chosen by the Foundation folks14:12
bauzasright?14:12
sean-k-mooneywhere "Arbitrary" is aardvark so say it dansmith :)14:13
sean-k-mooneyhavnt actully read the most recent status of this14:13
sean-k-mooneyso also interested14:13
dansmithI would love them to choose such a name to make my point, but yes, it's going to be aardvark :)14:13
dansmiththe name will be the name, the version will be 2022.214:13
sean-k-mooneygibi: it might be becasue the server is not being created with teh validation resouces initally14:17
bauzasdansmith: if it was named a-ha, it could take on me14:17
sean-k-mooneygibi: so it might not hwave an sshkey14:17
gibisean-k-mooney: OK, that I can fix14:18
dansmithbauzas: you win today14:18
sean-k-mooneygibi: we are not calling https://review.opendev.org/c/openstack/tempest/+/842140/4/tempest/api/compute/volumes/test_attach_volume.py#45=14:18
gibithanks for looking at it14:18
sean-k-mooneyhere https://review.opendev.org/c/openstack/tempest/+/842140/4/tempest/api/compute/volumes/test_attach_volume.py#38414:18
bauzasdansmith: heh, thanks for the explanation anyway14:19
sean-k-mooneyso we are not waiting for the server to be sshable before we attach the multi attach volume14:19
* bauzas didn't wanted to tell he googled "aardvark"14:19
sean-k-mooneya is for aardvark is an amican thing we normally say ant or similar14:20
dansmithit's perfect because it starts with AA14:20
sean-k-mooneyyep14:20
dansmithI challenge the rest of you to pick names for the other letters that begin thusly :)14:20
sean-k-mooneydansmith: the real question is the next AB or BB becaue one is much more of a challange14:25
dansmithsean-k-mooney: well, I had assumed BB, but maybe AB would be appropriate for the naming14:25
dansmithhowever, I think all the things would have to start with A and somewhat defeat the point14:25
dansmithhowever, these are the foundations' problems now :)14:26
sean-k-mooneythis is not what i was looking for but its cute so https://www.pinterest.ie/morganlimehouse/bb-animals/14:27
bauzasAB are two capital letters known a lot by French 14:28
bauzaslots of french cheapy soap series14:28
opendevreviewsean mooney proposed openstack/nova master: [DNM] allow monkey patching spawn_n to spawn  https://review.opendev.org/c/openstack/nova/+/84235914:32
opendevreviewsean mooney proposed openstack/nova master: DNM: log number of green(thread|let)s periodically  https://review.opendev.org/c/openstack/nova/+/84104014:32
opendevreviewsean mooney proposed openstack/nova master: [DNM] allow monkey patching spawn_n to spawn  https://review.opendev.org/c/openstack/nova/+/84235914:37
opendevreviewsean mooney proposed openstack/nova master: DNM: log number of green(thread|let)s periodically  https://review.opendev.org/c/openstack/nova/+/84104014:37
gmannbauzas: dansmith sean-k-mooney on release name, we still discussing how to use it in development cycle (number only or number and name both ), should be ready by this week (plan to discuss in TC meeting tomorrow ) - https://review.opendev.org/c/openstack/governance/+/84180014:53
gmannbut yes, name will be all foundation things now14:53
bauzasUggla: sean-k-mooney: dansmith: gibi: gave -1 for https://review.opendev.org/c/openstack/nova-specs/+/831506 just to make sure we have a consensus14:54
gmannbauzas: sean-k-mooney on keypair allowing @|.  as it will be error -> success, it is ok for backward compatibility but we need to have microversion for interoperability 14:56
Ugglabauzas, no pb. I agree. Have you seen my proposal to add another API parameter to mange the pin/unpin az of instances ?14:57
bauzasgmann: ok, so we would be only accepting those only by the new microversion, reight?14:57
gmannbauzas: yes14:58
bauzasgmann: ok, then that's what I wroter14:58
gmannbauzas: this is code change ref author did for that spec - https://review.opendev.org/c/openstack/nova/+/781076/14:58
gmannbauzas: yeah, I am +2 on spec, just waiting for melwitt if she has anything before +w. 14:58
gibiI left a question with a -1 on that ^^15:12
bauzasgibi: replied https://review.opendev.org/c/openstack/nova-specs/+/840217/5/specs/zed/approved/keypair-generation-removal.rst#6615:23
bauzastl;dr: 'ssh' keytype is the default if the param is not passed15:24
bauzaswhich makes sense, as the fingerprint only needs to be generated differently if this comes from a x509 cert15:24
gibireplied15:25
gibidoes it make sense to return type ssh for x509 keypairs ?15:26
sean-k-mooneynot realy15:27
sean-k-mooneyx509 is for winrm15:27
sean-k-mooneynot ssh15:27
sean-k-mooneyit can be used for other things15:27
sean-k-mooneywe just assume the user will tell us if its not ssh15:27
gibiI think today if no type is specified and an x509 key is imported nova will save type=ssh for it15:27
sean-k-mooneybut we dont really use that for anything15:27
bauzasgibi: no it won't work15:28
gibiwe dont use type but we do return it on the API 15:28
bauzasgibi: because the fingerprint will be generated using a SSH way15:28
sean-k-mooneybauzas: what fingreprint15:28
sean-k-mooneywe are uploading the fingerprint right15:28
bauzasgibi: atm, if you import a pubkey, nova generates a fingerprint using the key type you provided, or ssh as default15:29
bauzassean-k-mooney: no, we're generating it15:29
bauzashttps://github.com/openstack/nova/blob/4939318649650b60dd07d161b80909e70d0e093e/nova/compute/api.py#L665815:29
sean-k-mooneywhen you use x509 you would import the fingerprint the same way we impor the public key15:29
gmannI think gibi point is valid, one way is to mention in api-ref that we should expect 'type' if importing x509 otherwise it will be default to ssh15:29
gmannor return None as default if not passed15:29
gibican we make ``type`` required in this new api microversion15:30
gibi?15:30
bauzassean-k-mooney: https://github.com/openstack/nova/blob/4939318649650b60dd07d161b80909e70d0e093e/nova/compute/api.py#L6729-L673315:30
sean-k-mooney hum ok 15:30
bauzasgibi: looks to me a bikeshed15:30
bauzasgibi: 99% of users will import an openssh generated key15:30
gmannyeah, I think returning None as default s ok as that is what pattern we use in API where we return the things which are passed15:31
gibiOK, then check the imported key and if it is not ssh then set the type accordingly automatically15:31
bauzasbut the 1% of opiniated users that wanna use x509 certs will make sure they correctly set the type, like we did previously15:31
bauzasgmann: gibi: I don't see the need for a breaking change here15:31
bauzaswe just want to stop generating a key15:32
bauzasfor pubkey imports, I don't think we should change anything15:32
gmannbut if we see from user point of view that  generating fingureprint  as ssh for x509 if type is not passed is also wrong https://github.com/openstack/nova/blob/4939318649650b60dd07d161b80909e70d0e093e/nova/compute/api.py#L6729-L673315:33
gmannbauzas: yeah, it will be same as it is currently so this is not new things we are adding in this spec15:33
gmannI mean no 'type' in request create same mismatch currently also and after this spec also. 15:34
bauzasgmann: gibi: honestly, I'm more intended to document this in the API reference but not make it mandatory15:34
bauzasit will be a PITA for 99% of our users15:34
bauzaslike, "type is optional but defaulted to ssh, you're warned"15:35
gmannthat work for me, having it in api-ref is enough i think. 15:35
bauzasI'll just change the apiref parameter documentation for all the microversions, since this is already the same15:36
gmannI am ok with either 1. in api-ref 2. return as None but not in favor of making it mandatory 15:36
bauzasgmann: none is meaningless since we especially generated a fingerprint using the openssh toolbox15:36
gmannyeah that too15:36
bauzasactually, not by openssh itself, but folliwing the openssh reference (base64)15:37
gmannbauzas: +1 on api -ref and yes that can be done for all microversion not specific to this one15:37
bauzasgmann: want me to write it down on the spec ?15:38
gmannbauzas: I do not think that is needed as it is same behavior currently also and we are just documenting it.15:39
bauzasgmann: cool, then I'll add a comment in the spec change 15:40
bauzasat least if gibi is happy with this15:40
gmannyeah15:40
gibibauzas: yes this "bug" exists today regardless of your spec, but as your spec bumping the microversion for keypairs I thought we could fix this in the same microversion16:04
gibibut I digress. Lets at least document this behavior in the API ref16:06
gibiI'm removing my -116:06
gibidone16:07
opendevreviewStephen Finucane proposed openstack/osc-placement master: Remove six  https://review.opendev.org/c/openstack/osc-placement/+/84238616:09
opendevreviewribaudr proposed openstack/nova-specs master: libvirt: Allow Manila shares to be directly attached to instances  https://review.opendev.org/c/openstack/nova-specs/+/83366916:11
bauzasgibi: <3 16:13
melwittstephenfin: did you see this and the patch above it? https://review.opendev.org/c/openstack/osc-placement/+/812262 I had thought I had seen some remove six patches before and found these16:43
opendevreviewErlon R. Cruz proposed openstack/nova stable/xena: Adds regression test for bug LP#1944619  https://review.opendev.org/c/openstack/nova/+/83855016:59
opendevreviewErlon R. Cruz proposed openstack/nova stable/xena: Fix pre_live_migration rollback  https://review.opendev.org/c/openstack/nova/+/83601516:59
opendevreviewMerged openstack/osc-placement master: Remove usage of six  https://review.opendev.org/c/openstack/osc-placement/+/81226218:33
opendevreviewMerged openstack/osc-placement master: Remove usage of six  https://review.opendev.org/c/openstack/osc-placement/+/81522318:38
opendevreviewMerged openstack/nova stable/stein: [stable-only] Drop lower-constraints job  https://review.opendev.org/c/openstack/nova/+/83803819:11
opendevreviewsean mooney proposed openstack/nova master: [DNM] allow monkey patching spawn_n to spawn  https://review.opendev.org/c/openstack/nova/+/84235921:15
opendevreviewsean mooney proposed openstack/nova master: DNM: log number of green(thread|let)s periodically  https://review.opendev.org/c/openstack/nova/+/84104021:15
mnaserhas anyone been able to successfully run pep8 .. locally?21:44
mnasergot a bunch of failures on stable/wallaby .. `nova/virt/libvirt/driver.py:621:12: error: Cannot determine type of '_disk_cachemode'`21:45
sean-k-mooneyam yes21:45
sean-k-mooneyim just about to finish for the day again but i can try it quickly21:45
mnaseri'm on macos so im wondering if there's something in the py version i'm running21:45
mnaseri have py 3.8.921:45
sean-k-mooneyperhaps we dont relaly supprot anything other then linux21:45
sean-k-mooneywe used to be able to run them on cygwin but that was broken a long time ago21:46
mnaseryeah but it seems weird/odd that mypy stuff would fail21:46
mnasersince that seems more of a linter21:46
sean-k-mooneymy mac is downstiar i could try that there too 21:46
mnasermaybe i should use multipass or whatnot21:47
sean-k-mooneyor you could dual boot linux on your mac21:48
sean-k-mooneyit should work however21:48
mnaseri think with an m1 mac that's a bit of a reach yet :P21:48
sean-k-mooneynope 21:48
sean-k-mooneyi have dual booted debian21:48
sean-k-mooneyand even got devstack to run21:48
mnaseroh that's interesting lol21:48
sean-k-mooneywith a lot of work21:48
sean-k-mooneybut the unit test worked on both arch and debian21:49
mnaseri feel like a lot of things won't work though, so multipass / vm is a decent middle ground :p21:49
sean-k-mooneybooting a vm on linux id cause a kernel crash however21:49
sean-k-mooneyya i used udm too21:49
sean-k-mooneythat actully works pretty well21:50
sean-k-mooneyudm to deploy a ubuntu 20.04 arm vm21:50
sean-k-mooneyand then install what you want in that21:50
mnaserudm?21:50
sean-k-mooneyudm is a front end for qemu on mac21:51
sean-k-mooneyhum is it udm21:51
mnaserudm is "université de montréal" for what i know :p21:51
sean-k-mooneyoh utm21:52
sean-k-mooneyhttps://mac.getutm.app/21:52
sean-k-mooneyi just used this template https://mac.getutm.app/gallery/ubuntu-20-0421:52
mnaserouu nice21:52
mnaseryeah i've just been relying on multipass since ubuntu is a decent base for what i need, but this is really useful21:53
sean-k-mooneyit uses macos's version of kvm but no nested virt on m121:53
sean-k-mooneyi have pep8 running ill quickly grab my mac and try it there too brb21:54
sean-k-mooneyoh it passed on linux21:54
mnaseri guess it could be an env thing21:55
sean-k-mooneymaybe use -r to recreate the tox env21:56
sean-k-mooneyif you change branch that can cause weird issues if you have not recareted it recently21:56
mnaseri think i might just save myself the mess and do my dev in a vm21:57
mnasernot ideal but meh21:57
sean-k-mooneyhow do you get python normally 21:58
sean-k-mooneyare you using it form homebrew or another way21:58
mnaserhomebrew21:58
mnaserbut my python on this box is a bit of an embarassing mess :)21:58
sean-k-mooneyyou could try using a venv to run tox21:59
sean-k-mooneyto get a clean python env21:59
mnaserim thinking running it in a vm is probably easier22:01
sean-k-mooneyby the way we ahve seen things like different version of sqlite3 break functinal test on different distors before22:01
sean-k-mooneybut not sure what would be similar for pep822:01
mnaserwhich will reflect the state of our ci the closst oo22:01
mnasersean-k-mooney: im thinking it probably has to do with libvirt-python if i had to guess based on the fact its mostly having to do with libvirt22:01
mnaserand since libvirt on macos is weird prolly22:02
sean-k-mooneyya maybe22:02
sean-k-mooneyalthough we dont actully install that for our tox envs22:02
mnaserall the errors were in "nova/virt/libvirt/driver.py" so /shrug22:03
mnaserwell it passed just fine inside multipass vm on my box soooo22:05
sean-k-mooneyya i also cant get it to run natively on macos for other reasons22:06
sean-k-mooneyi do not have python form homebrew i have it from the nix package manager22:07
sean-k-mooneyits unhappy with 2to3 and suds-jurko22:07
sean-k-mooneyalthoug i could jsut not install the vmware lib22:07
mnaseryeah i had to manually install that with a lot of really complicated ways22:11
sean-k-mooneyim getting clan compliation errors trying to build type-ast 22:14
sean-k-mooneyso looks like there are some cpython module compat issue with macos on arm22:15
sean-k-mooneyworks find with linux vm or otherwise however22:15
sean-k-mooneyproably would be fine with macos and x86 for that mater but macos and arm is pushing it just a little too far22:16
sean-k-mooneyvms are still pretty quick on m122:16
sean-k-mooneymy base spec m1 air is technically faster at running the test in a vm them my amin work laptop is nativly22:17
*** dasm is now known as dasm|off22:32

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!