Earlier  
Posted Nick Remark
#openstack-nova - 2019-08-07
15:42:58 sean-k-mooney huaqiang: it would be good to add a warning here https://github.com/openstack/nova/blob/master/nova/virt/hardware.py#L1328 as i dont think that is what people expect
15:43:12 huaqiang so you mean the flavor first behavior
15:43:17 sean-k-mooney yes
15:43:41 sean-k-mooney we started moving to raising exception if they conflict for most of these value a whiel ago
15:43:55 sean-k-mooney at least when adding new values
15:44:27 sean-k-mooney i guess we did not change older values proably due to upgrade concerns
15:45:23 huaqiang so for the new 'mixed' policy, we need consider conflict as invalid
15:45:53 huaqiang but for 'dedicated' and 'shared' conflicts we follow the rule that flavor first
15:45:54 sean-k-mooney well we have a choice
15:46:31 sean-k-mooney my perference would be to consider all conflcit of hw:cpu_policy and hw_cpu_policy to be invalid and raise an exception
15:46:37 sean-k-mooney but since we cant do that htis cycle
15:46:44 sean-k-mooney its better to be consistent i think
15:47:06 sean-k-mooney it would be nice to issue a warning if we detect a conflict however
15:47:10 huaqiang I am good for both
15:47:37 huaqiang ok
15:48:04 huaqiang another thing i don't know if you noticed that
15:48:19 huaqiang hw:cpu_realtime exists
15:48:37 huaqiang but there is no 'hw_cpu_realtime' in image properties
15:48:59 huaqiang this is different with the mask for dedicated cpus
15:49:41 huaqiang Alex mentioned this difference, and cpu realtime mask has a more loose rules
15:50:23 sean-k-mooney yes we did not want to allow users to request realtime guest via the image
15:50:33 sean-k-mooney but we did allow the mask i belive
15:50:48 huaqiang mask is allowed from both image and flavor
15:51:01 sean-k-mooney so you can only enabel realtime cpus via the flavor but both the flavor and image can set the mask
15:51:15 huaqiang that is the truth
15:52:01 sean-k-mooney we have allowed image to enable cpu pinning provided the the flavor has not forbiding it by setting hw:cpu_policy=shared
15:52:35 sean-k-mooney so i think its fine wto allow hw_cpu_policy=mixed give hw_cpu_policy=dedicated is alredy allowed
15:52:55 sean-k-mooney similarly i think having the mask in the image and flavor is ok
15:53:11 mkrai Hi Nova team, I am working on implementing the resize API for baremetals and need some help in the design. I tried to put an initial design here https://etherpad.openstack.org/p/nova-resize-ironic-api
15:53:20 sean-k-mooney but im sure someone else has an opipion on that ^ its what the spec currently say however
15:54:15 gibi sean-k-mooney: left comment in https://review.opendev.org/#/c/674072 about the notification tests
15:54:16 huaqiang yes, dansmith is questioned on the masks
15:54:58 sean-k-mooney gibi: thanks i can never rememebr where that is
15:55:18 mkrai efried, sean-k-mooney mriedem alex_xu could you please take a look?
15:55:21 sean-k-mooney im fixing other typos but was about to spend the next hour finding it
15:55:24 efried mkrai: Hi there. I recall mriedem had some ideas about that design. dansmith could probably provide some good input as well. To be clear, this is going to be a U release thing, you're just looking for initial design help?
15:55:35 sean-k-mooney mkrai: yes i have it open
15:55:37 gibi sean-k-mooney: we might improve the test to dump the file path when the assert fails
15:55:56 mkrai efried, Yes!
15:56:02 mkrai sean-k-mooney, Thanks!
15:56:22 huaqiang dansmith: hello
15:58:06 sean-k-mooney efried: mkrai could start on any ironic internal prep work that was need this cycle but the ironic driver changes would be next cycle i guess
15:59:16 mriedem i love being continually distracted about asking to review specs and plans and code for things that do not even have a chance for train
15:59:34 mkrai sean-k-mooney, I have already posted spec for the ironic reconfigure API that will be needed by the resize API
15:59:36 sean-k-mooney gibi: are you ok with https://review.opendev.org/#/c/674072 adressing bug: #179520 as a bugfix to the original spec
15:59:36 openstack bug 179468 in python-cups (Ubuntu) "duplicate for #179520 applet.py crashed with TypeError in on_job_hold_activate()" [High,Fix released] https://launchpad.net/bugs/179468 - Assigned to Pascal De Vuyst (pascal-devuyst)
15:59:36 mriedem meanwhile my mega cross-cell resize series is not getting review but has been up for 2 cycles
16:00:17 mkrai sean-k-mooney, https://review.opendev.org/#/c/672252/
16:00:29 mkrai I will add this link to the etherpad
16:00:54 efried mriedem: I'm going out on a limb and saying distraction is not the most significant factor in lack of reviews on cross-cell resize.
16:00:58 efried At least for me that's true
16:01:03 gibi sean-k-mooney: yeah I'm OK with that being a bugfix. Maybe a link to the original spec / bp in the commit message would help
16:01:07 sean-k-mooney mriedem: ^ that question is also to use as well are you ok with https://review.opendev.org/#/c/674072 adressing the feature gap in the orginal spec.
16:01:10 efried "I'm askeird" is the major reason
16:01:28 mriedem efried: i'm not saying it's a walk in the park
16:01:38 sean-k-mooney gibi: sure ill add one
16:01:46 efried fwiw, I have been intending to wade in
16:01:52 mriedem that's why i had integration testing of cross-cell resize working before putting out a review guide
16:01:55 efried but procrastinating successfully so far
16:02:13 mriedem which is more than i can say for a lot of the features we merge...
16:02:19 efried yeah yeah
16:02:33 mriedem i'm also a bit disappointed that cern hasn't been more involved
16:02:40 mriedem but they seem...distracted lately as well
16:03:09 mriedem sean-k-mooney: idk even know what https://review.opendev.org/#/c/674072 is about
16:03:18 mriedem but it looks like it's not fun
16:04:04 sean-k-mooney we only allow you to specify the numa affinity policy for pci device in teh pci alias. the spec origially had flavor and image properites for it
16:04:22 sean-k-mooney neutron sriov dose not use pci alias
16:04:24 mriedem which original spec
16:04:25 mriedem ?
16:04:42 sean-k-mooney so we entirely broke the original neuton port usecase.
16:04:47 sean-k-mooney one sec ill get it
16:05:14 mriedem "lack of a feature is not a bug"
16:05:19 sean-k-mooney https://github.com/openstack/nova-specs/blob/master/specs/queens/implemented/share-pci-between-numa-nodes.rst
16:05:27 sean-k-mooney https://github.com/openstack/nova-specs/commit/74b47ac2f968b13b7d15987063d0f52ecba02a7e#diff-b5d95cd01ee920f26b55b45f2777b7aa is wher whe chaned it
16:06:06 mriedem ok i'm pretty sure i didn't review any of this https://review.opendev.org/#/q/topic:bp/share-pci-between-numa-nodes+(status:open+OR+status:merged)
16:06:13 mriedem looks like it was jay, sylvain and gibi
16:06:56 mriedem i do, however, always enjoy the late "oh btw this thing we landed 3 releases ago didn't do what it was supposed to but our QE team just got around to testing it"
16:06:57 sean-k-mooney mriedem: that is true which is why i want non redhat core to basicaly decide if this is valid to adress as a bugfix as redhat folk have a conflict of interest
16:07:25 sean-k-mooney well we knew it was broken for a while but planned to fix it in U
16:07:50 sean-k-mooney we have a custom request to support this that came in last week e.g. after spec freeze
16:08:10 mriedem so you want to slide it in as a bug fix?
16:08:11 sean-k-mooney so this is why im asking is this something we can address upstream in Train
16:08:43 mriedem you know i'm not going to let you backport this right?
16:09:09 sean-k-mooney well we do actully have a bug for it but i also added the wrong one
16:09:14 sean-k-mooney mriedem: and yes i know
16:09:40 mriedem this smells like a blueprint to me, not a bug
16:10:15 sean-k-mooney given we are pass m2 is this something that people would be willing to consider of train as a blueprint
16:10:41 sean-k-mooney i am happy to file one and ask for a blueprint exception
16:11:01 mriedem christ
16:11:28 mriedem tell you what, if you can lean on dansmith and he can lean on me then we can talk
16:11:33 mriedem but i just -1ed this as needing a blueprint
16:11:35 openstackgerrit Merged openstack/nova stable/stein: Replace non-nova server fault message https://review.opendev.org/674828
16:11:38 sean-k-mooney mriedem: i am also ok with punting it but that just forces me to consider downstrema only way to adres this.
16:11:42 dansmith wut
16:11:42 openstackgerrit Merged openstack/nova stable/stein: Revert "[libvirt] Filter hypervisor_type by virt_type" https://review.opendev.org/672723
16:12:04 mriedem dansmith: "we forgot to do a thing in queens" https://review.opendev.org/#/c/674072/
16:13:11 dansmith mriedem: if a config flag to disable certain processor flags for the biggest SEV in decades is a feature, then ffs, this surely is
16:13:30 sean-k-mooney this is the orignal bug report by the way https://bugs.launchpad.net/nova/+bug/1795920
16:13:31 openstack Launchpad bug 1795920 in OpenStack Compute (nova) "SR-IOV shared PCI numa not working " [Undecided,Confirmed]
16:13:56 melwitt since everybody's in a good mood this morning, think it's a good time to ask for reviews on multi-cell archive_deleted_rows https://review.opendev.org/507486

Earlier   Later