Thursday, 2026-07-02

opendevreviewchandan kumar proposed openstack/cyborg-specs master: Add generic NVMe driver spec with secure cleanup  https://review.opendev.org/c/openstack/cyborg-specs/+/98534904:23
chandankumarsean-k-mooney: hello, Feel free to take a look at https://review.opendev.org/c/openstack/cyborg-tempest-plugin/+/992330 and https://review.opendev.org/c/openstack/cyborg-tempest-plugin/+/992339 when free.08:23
chandankumarRest of the patches in this series looks good to merge!08:24
opendevreviewRonelle Landy proposed openstack/python-cyborgclient master: Remove deprecated v1 API and fix Python 3.12+ SSL compatibility  https://review.opendev.org/c/openstack/python-cyborgclient/+/99578909:19
sean-k-mooneychandankumar: thanks for the reminder ill try and adress those today10:50
opendevreviewMerged openstack/cyborg-specs master: Add generic NVMe driver spec with secure cleanup  https://review.opendev.org/c/openstack/cyborg-specs/+/98534911:24
opendevreviewMerged openstack/cyborg-specs master: Add generic mdev driver spec for 2026.2  https://review.opendev.org/c/openstack/cyborg-specs/+/98227611:24
opendevreviewRonelle Landy proposed openstack/python-cyborgclient master: Remove deprecated v1 API and fix Python 3.12+ SSL compatibility  https://review.opendev.org/c/openstack/python-cyborgclient/+/99578911:45
sean-k-mooneychandankumar: oh your right https://review.opendev.org/c/openstack/cyborg/+/994577?tab=change-view-tab-header-zuul-results-summary is not enabling the new tests as exected beasue i have not added the depens on14:32
sean-k-mooneyi have doen that in my srbac serise so i need to fix that14:32
sean-k-mooneyhttps://review.opendev.org/c/openstack/cyborg/+/992332/614:33
chandankumarsean-k-mooney: this week I am also thinking to port pci-sim on cs10 it will help to integrate it with install yamls and tests stuff using pci-driver14:37
sean-k-mooneywell im not sure we shoudl need to modify install yamls14:38
sean-k-mooneybut sure14:38
sean-k-mooneyi was exectign to just have a playbook for this in the nova-operator repo in the ci folder14:38
sean-k-mooneyi dont think addign c10s supprot will be hard persay just need to gernalise how we isntall the depenciences14:39
sean-k-mooneychandankumar: when working on that it might make sense to add a c10s ro rocky/alma job to the expermiental and weekly lines14:40
sean-k-mooneyupsteam14:40
chandankumarplaybook idea is also fine14:40
chandankumarsure, let me get the patch up.14:41
sean-k-mooneyso i was thinking a playbooks and or make target to do it but whatever works. i generally dont like useing insall_yamls for much14:41
sean-k-mooneyi mean its fine its just a prefernce14:42
sean-k-mooneythe reason i was thinkign a playbook14:42
sean-k-mooneyis my over all plan was to define a custom datapalen service that woudl run it on the edpm nodes as part of the dataplane deploy14:43
sean-k-mooneyso we  woudl then just havea kustomization that added that custom datapalen service to the node set the way repo setup works14:44
sean-k-mooneyso rather then a freestanding playbook defiening it inline within the dataplaen sevice might be the best approch14:45
sean-k-mooneyor do it wih kustomize14:45
chandankumaryes, custo kustomization repo setup seems to be much better14:46
sean-k-mooneyin either case wi twoudl be trivial to have a make target that just does an oc apply -k/-f to defien the serice and it easy to then add that to the dataplane node set14:46
sean-k-mooneyi assume you were thinking it woudl jsut clone the cybrog repo if not present on the edpm ndoe and then do the compile caling the devstack plugin directly or simialr.14:47
sean-k-mooneyactully it does nto really need to do that14:47
sean-k-mooneyit can just use the make targets14:47
chandankumaryes, clone and run make target14:48
sean-k-mooneyya ok14:48
sean-k-mooneyi think that works14:48
sean-k-mooneyif you can get that workign on c10s after you get the devstack version done that would be cool14:48
sean-k-mooneyamoralej: ^14:48
sean-k-mooneydoes that sound good to you14:49
amoralejreading back14:49
sean-k-mooneychandankumar: that woudl be a pr to the nova operator on top of amoralej pr14:49
chandankumarok14:50
sean-k-mooneyi woudl do it like this https://github.com/openstack-k8s-operators/nova-operator/blob/main/ci/nova-operator-tempest-multinode/pre_deploy_hook.yml14:50
melwittsean-k-mooney: re: the enforce_scope patch, if we can I think it would be better to move it as early in the SRBAC series as we can bc the supposedly deadline for landing it is tomorrow14:50
sean-k-mooneymelwitt: that just because it will break us when they do the new oslo release14:51
sean-k-mooneymelwitt: but ya let me just do ti against master now14:51
sean-k-mooneymelwitt: unless you want to?14:51
melwittah gotcha. ok cool14:51
amoralejbut you mean out of ci-fw?14:51
amoralejsorry, i'm not following the conversation14:52
melwittsean-k-mooney: no feel free to go ahead14:52
sean-k-mooneyamoralej: yes we shoudl not need to do this isn ci-fw14:52
sean-k-mooneywe coudl but why add the extra complexity14:52
sean-k-mooneyamoralej: that is the other option do it like the hci-prepare roles14:52
amoralejthis is what i did to run cyborg with tempest in edpm job https://github.com/openstack-k8s-operators/nova-operator/pull/1143/changes/689f12f927268a4e94a7e7f8445c149bc3c776ff14:53
sean-k-mooneyamoralej: if we do it in the operator its easy to then have a make target in nova-opertor to use it14:53
amoraleji added a ci/nova-operator-cyborg-tempest-multinode/pre_deploy_hook.yml14:53
sean-k-mooneyif we do it in ci-fw that make usign the pci-sim lcoally harder14:53
amoralejsimilar to what you pointed but adding cyborg service14:53
sean-k-mooneyamoralej: so yes my soggestion was to buidl on that14:54
sean-k-mooneyand add a new pci-sim  OpenStackDataPlaneService14:54
sean-k-mooneythat will clone the cybrog repo onto the edpm node and compile the pci-sim for cybrog to then use14:55
amoralejah, got it14:55
sean-k-mooneyamoralej: so we can start iwth only the fake driver 14:55
sean-k-mooneythen once chandankumar  has c10s supprot working we can add in the pci-sim14:56
sean-k-mooneychandankumar: amoralej: if we manage to get all that workign  how feisbel woudl it be to add a operator job on opendev chagnes?14:57
amoralejiirc, we are still using CS9 in the centos10 jobs used in operators because of some issue14:57
sean-k-mooneyoh good to know14:57
sean-k-mooneyi guess we will have to resolve that before the year is out one way or another14:58
sean-k-mooneythe priorty is devstack c10s supprot then operators after14:58
amoralejyeah, it's CS9,  i think chandankumar worked on that, he may remember14:58
amoralejyes, it needs to be fixed somehow14:58
sean-k-mooneyi think the issue is realate to the repo setup14:59
sean-k-mooneyand or rdo/c10s package aviablity14:59
sean-k-mooneyi did try useing c10s recently but didnt debug why it was failing beyound repo-setup15:00
chandankumaron cs10 some packages were not available that time15:02
chandankumarand some config issue i think 15:02
chandankumaron dataplane node (I donot exactly remember the details)15:03
sean-k-mooneyya i think it would not neesiarly be hard to fix it just wasnt impornat to fix for what i was doing at the time15:04
sean-k-mooneychandankumar: so we may however defer the edpm supprot for pci-sim15:05
sean-k-mooneyuntil that is resolved15:05
sean-k-mooneywe shoudl follow up with that downstream and see if we can get that resolved by the relevent teams15:05
chandankumarok15:06
melwittI'm trying out some openstacksdk test stuff https://review.opendev.org/c/openstack/openstacksdk/+/995851 if it goes well I will add more tests and depends-on rlandy's patch16:43
sean-k-mooneyoh cool that woudl be cool17:08
opendevreviewsean mooney proposed openstack/cyborg master: Adapt Cyborg to always-enforced policy scope  https://review.opendev.org/c/openstack/cyborg/+/99586717:13
melwittactually I think I could use Needed-By17:13
sean-k-mooneyyou can17:14
sean-k-mooneywe dont have tooling that really sues that17:15
sean-k-mooneyNeeded-By is jsut for humans today17:15
melwittoh really? ok I saw it on some gmaan's patches17:15
sean-k-mooneyso wither you want to do needed-by or depend on in this case is kind of up to you on merge order17:15
sean-k-mooneyya so we use it for thinks like tackign the steps in new project creation17:16
sean-k-mooneybut zuul wont use it for anything17:16
melwittyeah. I was thinking openstacksdk review pretty quick usually so that's what made me think about it17:16
melwittok good to know17:16
sean-k-mooneyso it normally is but currently only artem i belive has merge access17:17
gmaandepends-on block the merge but yes needed-by is more of giving a context in commit msg about its need17:17
sean-k-mooneystphenfin is on peternitiy leave for the next 2 weeks then part time after that17:17
melwittoh ok I thought stephenfin was on there. ok17:17
melwittahh ok17:17
sean-k-mooneyhe is17:17
melwittI'll use Depends-On then17:17
sean-k-mooneyi have +2 rights i belive but no +w so when your happy with it im happy to review17:18
sean-k-mooneymelwitt: gmaan https://review.opendev.org/c/openstack/cyborg/+/995867 is the fix for enforce_scope17:21
sean-k-mooneyill rebase my srbac serise on top of that17:22
gmaanlgtm17:29
opendevreviewmelanie witt proposed openstack/python-cyborgclient master: Add openstacksdk functional test job for accelerator  https://review.opendev.org/c/openstack/python-cyborgclient/+/99587718:19
melwittopenstacksdk tests attempt already uncovered a bug https://bugs.launchpad.net/openstack-cyborg/+bug/215899619:23
sean-k-mooneyah fun20:20
sean-k-mooneywe can add that to the list of the other db warts20:20
sean-k-mooneymelwitt: so i think the atibtues api were actully inteded to add attibutes to devices not deployables20:22
sean-k-mooneyi knwo it say deployable_id20:22
sean-k-mooneybut if you sue the device id form teh deployse endpoitn20:23
sean-k-mooney i think it might work20:23
* melwitt looks20:23
melwittthat's whack but I can try it :)20:23
sean-k-mooneyhum no20:24
sean-k-mooneyhttps://github.com/openstack/cyborg/blob/master/cyborg/db/sqlalchemy/models.py#L134-L14620:24
sean-k-mooneyit is the deployable id20:24
sean-k-mooneyso in the medium term i want to combine the device, deployable and atributes api into a single device api20:25
melwittah ok. yeah ... I don't get it20:25
sean-k-mooneythere was the idea a long time back that /devices coudl slit any device that cybrog could possibely manage and deployable woudl be the set that could be consumed/programed20:26
melwittthis is pretty cool though, sdk tests are going well overall20:26
sean-k-mooneywhere each deployablle maps to a placment RP20:26
melwittoh .. so /devices included theoretical devices potentially20:27
sean-k-mooneyto me spliting device, deployable and atribtues like this has never really made sense20:27
sean-k-mooneydevices is more the indiviual devices awere as deployables are pools of devices reported to placment20:28
sean-k-mooneykind of like the diffent betwen the pci_deivces table in nova and the pci_stats pools reported to the schduelr20:28
melwittoh ok20:28
sean-k-mooneybut yes in thory you coudl have device in the device tabel that were not reported as usabel but i dont think that is done today20:29
sean-k-mooneybasiclly if you say wanted to report all yoru pci devices and then slect which ones can be used via the rest api isntead fo config20:29
melwittI wonder what is the purpose to list ones that cannot be used?20:30
sean-k-mooneyso that you could do an api call to add them to the set that can be used20:30
sean-k-mooneymelwitt: basiclly if you reported all of them in the devices api instead of tweakign the ocnfig to enable them to be used you coudl do an api call20:31
sean-k-mooneybut i am not a fan of that in general20:31
sean-k-mooneymelwitt: the atributes api is pretty new20:31
sean-k-mooneyas in 2023? maybe20:31
sean-k-mooneyperhsp 202120:32
sean-k-mooneyi dont think ti was fully implemented properly20:32
sean-k-mooneyso im not surpsied that there are bugs like that20:32
sean-k-mooneyi.e. that it need the db id instead of uuid20:32
melwittyeah. it's interesting because how did they get the db id assuming someone used this20:33
sean-k-mooneyso i think there is a way20:33
sean-k-mooneythe placement resouce class i think is alwasy reported as an atribute20:34
sean-k-mooneyso fi you do a `GET /v2/attributes`20:34
sean-k-mooneythat return the deployable_id as an int20:34
sean-k-mooneyhum no20:35
sean-k-mooneythat dill does nto allow you to corrlate back to the deployable20:35
sean-k-mooneymelwitt: so genera question how do we fix that.20:37
sean-k-mooneybecause we are fixing a 500 we are technially allwoed to do it without a microverion20:37
melwittyeah ... there isn't an obvious answer how bc it's so strange20:37
sean-k-mooneyi woudl be included to make it only work iwth the uuid if im being honest20:37
sean-k-mooneysince the db primary key is inteded to be internal20:38
melwittyeah20:38
sean-k-mooneyi guess we dont need to answer that now20:38
melwittyeah I put a skip on that test and reference the bug20:38
sean-k-mooneywe coudl accpet either and hten stop accapting the id in a future microverion20:38
melwittI think one could argue to just switch it over bc there seems no realistic way an API caller could get the DB primary key but I might be missing something20:40
sean-k-mooneyhttps://review.opendev.org/c/openstack/cyborg/+/869150 no tests :)20:40
sean-k-mooneymelwitt: ya we just need to make sure we also swap it in the responce20:40
sean-k-mooneyso the responce shoudl also reuttin the uuid for the deployable20:40
melwittyeah20:41
sean-k-mooneyhttps://specs.openstack.org/openstack/cyborg-specs/specs/2023.2/implemented/attribute-api-support.html20:43
sean-k-mooneyso the spec was only partly implemited20:43
sean-k-mooneyyou are ment to be abel to acces the atributs vai  /v2/deployable/{uuid}/attribute20:43
sean-k-mooneyand that is how you are ment to add/remove them20:44
sean-k-mooneythat actully alot clsoer wo how i wanted to evolve the api20:44
sean-k-mooneymelwitt: im almost tempeted to revert out the current atribtues api and implemnt it properly since it does not work and it does not match the spec20:45
melwittI guess if that's how it was meant to be implemented ... could flesh that out and then maybe deprecate /attributes potentially?20:48
sean-k-mooneyyep20:48
sean-k-mooneyatribtue wer enot inteded to be a top level resouce20:49
melwittor I guess maybe only allow listing or getting. I dunno20:49
melwittok 20:49
sean-k-mooneythey were emnt to be a sub resocue to allow you to add and remove placment trait form dpeloyables20:49
sean-k-mooneyok dinner is ready so im going to go20:50
melwittok, ttyl20:50
sean-k-mooneyi think in advacce for the next ptg im going to spend some time prepareing a spec for all of the api techinial debt so we can have a singel microversion ot correct all of this20:51
sean-k-mooneyunless you end up doing it first :)20:51
sean-k-mooneymelwitt: i think we actully came across this issue a few weeks ago by the way20:52
sean-k-mooneyright around 2026.1 FF20:52
melwitta-ha :)20:52
sean-k-mooneyi just didnt get around to writing this down20:52
sean-k-mooneyo/20:53
melwitto/20:53
melwittsean-k-mooney: I think https://review.opendev.org/c/openstack/openstacksdk/+/995851 is ready for review now and I have https://review.opendev.org/c/openstack/python-cyborgclient/+/995877 depends-on it to run the job on the client22:16
sean-k-mooney[m]Cool I'll probably get to it on monday22:17
sean-k-mooney[m]Can you add me to them in gerrit22:18
melwittsure22:18
melwitt(sorry that was meant to be a async message)22:19
sean-k-mooney[m]I'm just walking home22:21
sean-k-mooney[m]So your not interrupting22:21
melwittok good22:21
opendevreviewsean mooney proposed openstack/cyborg master: Adapt Cyborg to always-enforced policy scope  https://review.opendev.org/c/openstack/cyborg/+/99586722:38

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