Earlier  
Posted Nick Remark
#openstack-nova - 2018-05-18
15:10:43 dansmith ...and throw out everything but the primary host
15:10:48 mriedem and
15:10:48 mriedem return host_state.host in group_hosts
15:10:54 mriedem it will accept host1
15:10:54 dansmith yup
15:10:56 mriedem and reject host2
15:12:05 mriedem i'm not sure why you changed the logic to ignore the multicreate case though,
15:12:08 dansmith I was trying to think if this is already broken in some other case, where we would re-sort currently, but I don't think there are any legit cases
15:12:13 dansmith mriedem: see my reply?
15:12:14 mriedem if we're just scheduling a single instance, we don't need to re-filter/sort the hosts
15:12:17 mriedem yeah
15:12:30 dansmith mriedem: if you do num_instances=2,max_attempts=1 we would re-sort there for no reason
15:12:54 mriedem sure, i expected the logic to be if index > 0 and num_alts:
15:13:06 dansmith right, but that's the case I just said
15:13:07 mriedem num_alts will be 0 if max_attempts=1
15:13:19 dansmith oh
15:13:24 mriedem if num_alts > 0:
15:13:24 mriedem you changed the code to
15:13:27 dansmith I know
15:13:27 mriedem which i think is wrong
15:13:28 openstackgerrit Kashyap Chamarthy proposed openstack/nova stable/queens: libvirt: Lift the restriction of choices for `cpu_model_extra_flags` https://review.openstack.org/569442
15:13:36 dansmith mriedem: how is it wrong?
15:13:53 mriedem because it essentially reverts https://review.openstack.org/#/c/513931/
15:14:04 mriedem and we'll re-filter/sort the hosts that we already filtered/sorted for the single instance
15:14:07 mriedem which we don't need to do
15:14:22 mriedem we just need to pick alternates in _get_alternate_hosts from the pool of already filtered/sorted hosts
15:14:34 dansmith okay, I guess I was focused on the max_attempts=1 case,
15:14:57 dansmith and wasn't thinking about num_instances=1,max_attempts=2
15:15:23 dansmith so this is what I originally had (which is why that comment is the way it is), but had ruled out needing to look at index at all
15:16:49 mriedem we probably crossed wires at https://review.openstack.org/#/c/569127/3/nova/scheduler/filter_scheduler.py@338
15:17:18 dansmith no, I knew you meant and there,
15:17:23 dansmith and that's what I started with,
15:17:42 dansmith but then was trying to reason about why I still needed index and was just missing the full inverse of the thing I was focusing on
15:20:14 mriedem ok
15:21:06 openstackgerrit Eric Berglund proposed openstack/nova master: PowerVM Driver: Localdisk https://review.openstack.org/549300
15:24:55 openstackgerrit Eric Fried proposed openstack/nova master: Normalize inventory from update_provider_tree https://review.openstack.org/569132
15:24:56 openstackgerrit Eric Fried proposed openstack/nova master: libvirt: get_inventory => update_provider_tree https://review.openstack.org/560444
15:24:57 openstackgerrit Eric Fried proposed openstack/nova master: libvirt: Don't report DISK_GB if sharing https://review.openstack.org/560459
15:28:21 mriedem esberglu: just one question in https://review.openstack.org/#/c/549300/
15:30:25 esberglu mriedem: That lock is only needed when we have image caching implemented which we are saving for a follow on change
15:33:22 fried_rice mriedem: It was in response to gibi's comment, which (as usual) was spot on.
15:34:53 fried_rice melwitt / mriedem: Is there going to be a nova/cinder interlock in Vancouver?
15:35:32 openstackgerrit Allen proposed openstack/nova master: Update the deprecate os_region_name option https://review.openstack.org/567829
15:36:15 melwitt fried_rice: not as a scheduled general session. cinder does have a forum session about discussing using placement in cinder which I think would be interesting to attend. cinder is also having a multiattach session IIRC
15:36:54 fried_rice melwitt: Thanks.
15:38:03 edmondsw mriedem you said user-facing strings should reference conf options like this: [powervm]/disk_driver
15:38:11 edmondsw is that '/' correct or a typo?
15:38:45 mriedem it is most correct
15:39:02 edmondsw interesting... what's the reasoning?
15:39:17 mriedem some people do [group]option
15:39:21 mriedem it doesn't really matter
15:39:34 mriedem i just don't like CONF.group.option in docs since that's code, not how it looks in ini
15:39:34 edmondsw k, tx
15:39:36 melwitt fried_rice: here's a list of the nova-related sessions for the forum http://lists.openstack.org/pipermail/openstack-dev/2018-April/129488.html
15:39:43 edmondsw sure
15:40:03 melwitt fried_rice: did you want to meet up with cinder for something specific?
15:40:07 mriedem melwitt: the new api removal session is also going to affect nova
15:40:35 fried_rice melwitt: One of my colleagues is subbing for Gerald at the summit and is asking.
15:40:56 melwitt mriedem: yes, also true. let me send a new mail, I've been meaning to anyway
15:42:27 melwitt and, the forumtopics.o.o site is broken, I don't know what happened there
15:42:41 mriedem they dropped it once the sessions were put into the main schedule
15:42:53 melwitt okay, I missed that memo
15:42:59 mriedem i don't think there was one
15:43:13 melwitt oh
15:44:55 mriedem https://www.openstack.org/summit/vancouver-2018/summit-schedule/events/21787/pre-emptible-instances-the-way-forward should also be on the list
15:45:20 melwitt ack. let me know if you notice any others I missed
15:45:33 mriedem https://www.openstack.org/summit/vancouver-2018/summit-schedule/events/21749/missing-features-in-openstack-for-public-clouds
15:45:40 mriedem ^ always overlaps with nova requirements
15:45:55 melwitt yup, good one
15:45:58 mriedem https://www.openstack.org/summit/vancouver-2018/summit-schedule/events/21881/api-debt-cleanup is the new one
15:46:22 mriedem extended maintenance and FFU are not directly nova related, but impact us in some way
15:46:25 openstackgerrit Kashyap Chamarthy proposed openstack/nova stable/pike: libvirt: Lift the restriction of choices for `cpu_model_extra_flags` https://review.openstack.org/569449
15:46:26 mriedem for those interested
15:46:32 melwitt thx
15:46:43 mriedem S release goals
15:46:49 mriedem https://www.openstack.org/summit/vancouver-2018/summit-schedule/events/21738/s-release-goals
15:46:58 mriedem "re-introduce mox!"
15:47:12 melwitt lol
15:47:28 mriedem there are some keystone ones that we should likely have presence (unified limits and default scopes)
15:47:30 superdan kashyap: why are you backporting those restriction-lifting patches?
15:48:01 superdan kashyap: the whole point was to make the original one restrict to just pcid and then un-restrict in master only yeah?
15:48:11 melwitt mriedem: yes, agreed
15:49:17 cfriesen what about the "nova onboarding" one, or python 2 deprecation?
15:49:35 mriedem nova onboarding is implied
15:49:45 mriedem it's marked as a presentation
15:50:00 jgwentworth yeah, and nova project update. but doesn't hurt to add them to the list, I'll make sections for stuff
16:06:14 openstackgerrit Matt Riedemann proposed openstack/nova master: Skip ServerShowV254Test.test_rebuild_server in cells v1 job https://review.openstack.org/569454
16:07:03 openstackgerrit Dan Smith proposed openstack/nova master: Fix interpretation of max_attempts for scheduling alternates https://review.openstack.org/569127
16:08:57 mriedem superdan: i'm not sure, but https://review.openstack.org/#/c/569267/ might be failing the cells v1 job because of this: http://logs.openstack.org/67/569267/2/check/nova-cells-v1/ce85331/logs/screen-n-cell-child.txt.gz?level=TRACE#_May_18_14_02_29_212925
16:09:39 superdan mriedem: ah interesting
16:09:51 superdan I bet there's some cells code that looks for objectactionerror instead
16:11:02 superdan or, hmm, maybe refresh
16:11:06 mriedem yeah
16:12:38 jgwentworth huh, there's not one, but two fast-forward upgrade sessions
16:12:59 mriedem jgwentworth: i think there always is,
16:13:00 superdan jgwentworth: yeah, there's the one that is talking about the actual progress being made,
16:13:08 mriedem because the entire first session is recapping everything already said before
16:13:08 superdan and then another about ... not that
16:14:14 superdan mriedem: that's a nice way of putting it
16:14:32 jgwentworth superdan: are you referring to the fast-forward upgrades talk? because that is a THIRD thing

Earlier   Later