Earlier  
Posted Nick Remark
#openstack-nova - 2017-04-07
14:36:26 mriedem i'll probably still trim it down from a full InstanceList to a simple InstanceInfo object or something that's versioned and has 2 fields
14:36:29 dansmith fragile is an understatement
14:36:46 mriedem rather than just a dict
14:36:46 openstackgerrit John Garbutt proposed openstack/nova master: Add description to policies in remote_consoles.py https://review.openstack.org/454372
14:37:04 bauwser lgtm
14:37:11 bauwser and honestly
14:37:15 mriedem i was thinking, if we did deprecate TypeAffinityFilter, we'd have to wait on sending a list of uuids until queens
14:37:17 bauwser when I wrote that BP
14:37:28 bauwser about fanouting the scheduler API with stuff
14:37:33 mriedem and even then, some later filter might need something new and we'd have to add another field to the thing we send
14:37:41 bauwser I was rather thinking of how to update the scheduler differently
14:37:46 bauwser so, now we have placement
14:38:03 bauwser I do wonder if we shouldn't rather use placement for pushing those kind of "resources"
14:38:15 bauwser not saying placement should verify those
14:38:29 bauwser but then the scheduler would query placement rather
14:38:44 bauwser I dunno, it's just a thought
14:39:02 mriedem well, placement does have the list of consumers (instance uuids) per resource provider (compute node)
14:39:10 bauwser I don't like computes doing RPC fanouts to the scheduler, and I'm even not comfortable because I wrote that in the past
14:39:10 mriedem placement doesn't have the flavor id
14:39:14 figleaf bauwser: placement doesn't "know" instance ids and flavor ids
14:39:18 bauwser figleaf: I know
14:39:35 bauwser I'm just saying it's a problem for cellsv2 at least
14:39:40 bauwser because it's an upcall
14:39:44 mriedem the resource provider will have a COMPUTE trait though right?
14:39:47 bauwser like rescheduling
14:39:55 mriedem the compute trait replaces the can_host field
14:40:10 bauwser mriedem: sure, but I don't get your idea
14:40:35 mriedem i don't either so let's not talk about it
14:40:44 bauwser just to make it clear, from a cells perspective, there are 3 upcalls from compute to the API world
14:40:55 bauwser one is when you reschedule, you call out conductor
14:41:05 bauwser the second is the instance list
14:41:10 bauwser (to the scheduler)
14:41:16 bauwser the third one is the aggregate list
14:41:22 bauwser (to the scheduler too)
14:41:23 mriedem did you forget server group members?
14:41:40 mriedem https://review.openstack.org/#/c/442736/
14:41:41 bauwser we don't do that
14:41:46 mriedem we do
14:41:46 nicodemus_ hello
14:41:48 bauwser it's passed in the Spec AFAIK
14:41:54 mriedem see ^
14:42:48 bauwser oh fuck, I thought you were talking of the Affinity filters verifying the group
14:42:50 nicodemus_ how can I modify the OS-EXT-SRV-ATTR properties on an instance? I've migrated five instances but had to do a rollback on the DB, and although the instances are in the new host the attributes show the old host...
14:43:09 bauwser mriedem: ServerGroup is an API DB thing ?
14:43:16 bauwser I didn't recall that
14:43:19 mriedem bauwser: yes
14:43:36 bauwser a-ha then sorry, s/3/4 indeed
14:43:52 bauwser but
14:43:56 mriedem nicodemus_: what does rollback on the db mean?
14:44:07 bauwser the 4th upcall is because we know it's racy
14:44:15 mriedem nicodemus_: and which specific field?
14:44:39 bauwser I do wonder if claims in the scheduler could help that race
14:44:51 mriedem bauwser: yes that's the idea for the workaround
14:44:59 mriedem is it's temporary until we have claims in the scheduler
14:45:02 mriedem per my understanding
14:45:04 nicodemus_ mriedem, two DB nodes went down and the remaining node didn't update the migration. The attributes I'd like to change are OS-EXT-SRV-ATTR:host and OS-EXT-SRV-ATTR:hypervisor_hostname
14:45:05 mriedem and the commit message
14:45:17 bauwser mriedem: well, the race still exists even if claims
14:45:41 mriedem nicodemus_: you can see here https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/extended_server_attributes.py#L34 that hypervisor_hostname comes from the instances.node column
14:45:51 mriedem and host comes from instances.host
14:46:41 nicodemus_ mriedem, great! Thanks :)
14:46:42 melwitt jbernard: hey, I was wondering if you had made any progress on throttling down the concurrency of the ceph job (described on L142 in https://etherpad.openstack.org/p/nova-ptg-pike)
14:47:54 openstackgerrit Stephen Finucane proposed openstack/nova master: Add description to policies in server_password.py https://review.openstack.org/452259
14:50:03 bauwser mriedem: dansmith: I'm confused by the help message of https://review.openstack.org/#/c/442736/21/nova/conf/workarounds.py
14:50:18 bauwser mriedem: dansmith: do we plan to allow upcalls by default ?
14:50:35 bauwser the same would go for reschedules
14:50:38 dansmith bauwser: we can't have upcalls if you have isolated your mq, so you have to disable that in that case
14:50:54 bauwser ie. we could switch the MQ by default unless the operator wanted isolation
14:51:01 bauwser dansmith: of course
14:51:20 bauwser dansmith: I mean, do we plan to do the MQ switch by default and leave a conf opt for that ?
14:51:37 dansmith bauwser: I dunno what you mean by "do the MQ switch"
14:51:40 bauwser if so, would it make sense to have a single opt like "mq_isolated" ?
14:52:20 bauwser dansmith: I mean, in the compute node, if a reschedule is required, do call super conductor by switching the MQ connection string
14:52:38 dansmith bauwser: we can't switch the mq string as we have no idea what it is or should be
14:52:39 dansmith IMHO,
14:52:46 dansmith we should be moving completely to no upcalls,
14:53:04 dansmith but until we have claims and some other stuff like affinity in placement, we'll lose features if we just cut them off right now
14:53:09 dansmith which is why it is a workaround
14:53:13 bauwser dansmith: that's my point
14:53:21 dansmith and no, I don't have to have a catch-all "is isolated" config,
14:53:24 bauwser dansmith: I'm unclear on the reschedule case
14:53:28 dansmith because fixing each thing will be separate
14:54:24 openstackgerrit Anusha Unnam proposed openstack/nova master: Add description to policies in security_groups.py https://review.openstack.org/452309
14:54:29 bauwser dansmith: ie. what happens in a v2 world where currently computes do conductor_api.do_this() for a reschedule ?
14:55:23 mriedem in a single cell you have a single conductor and reschedules are fine, i believe
14:55:30 dansmith right,
14:55:41 dansmith and we don't have multi-cell capability until my series merges
14:55:44 dansmith so if we get all that in,
14:55:54 dansmith we still have that caveat on reschedules
14:56:05 dansmith and we said we'd discuss in boston and decide what to do with feedback
14:56:08 bauwser that's my point, I'm past cells-aware
14:56:14 bauwser okay
14:56:32 bauwser sorry if I'm unclear, I'm not talking of the choice we would make
14:57:05 mriedem dansmith: we don't yet have a patch in your series that breaks reschedules do we?
14:57:12 bauwser I'm rather talking on whether it's technically possible for a message to be send to a queue (ie. if the API MQ is in the context or not)
14:57:18 mriedem i mean, that's a deployment option isn't it?
14:57:22 dansmith mriedem: right
14:57:25 mriedem ok
15:00:44 liuyulong hi there, https://review.openstack.org/#/c/375221/ and https://review.openstack.org/#/c/379128/ need some great reviewers, thanks. : )
15:05:47 mriedem dansmith: https://awwapp.com/b/urxhemxkr/

Earlier   Later