| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2017-10-17 | |||
| 13:35:32 | efried | alex_xu So let's extend the model to include VCPU and MEMORY_MB. Those would be in the root RP. But the VF resources are still in the child RPs. | |
| 13:35:35 | alex_xu | efried: or to say try the best, if the RP doesn't have all resources, then looking for the child or shared | |
| 13:36:09 | sahid | bauzas: pinned instances... there were a patch serie pushed by nikola long time ago but never get merged unfortunatly | |
| 13:36:55 | bauzas | sahid: if you speak of live-migration claims, it's unrelated | |
| 13:36:57 | sahid | i think it never get merged because the work on-going with resource providers and placement :) | |
| 13:37:16 | efried | alex_xu Mm... that *could* work. | |
| 13:37:18 | bauzas | sahid: because we already claim on rebuilds | |
| 13:37:34 | openstackgerrit | Merged openstack/nova-specs master: Deprecate file injection https://review.openstack.org/509013 | |
| 13:38:12 | alex_xu | efried: and how the request with CPU and MEMORY_MB and SRIOV_NET_VF works? it try to the best? get CPU and MEMORY_MB from the root RP, and then try the child? | |
| 13:38:35 | sahid | bauzas: yes but that need to be checked whether we buil a new domain xml based on that new claim or not | |
| 13:38:44 | sahid | if it not so we o not support that | |
| 13:39:01 | alex_xu | that I feel no-one is talking about how the non-numbered request works for the nested RP... | |
| 13:39:09 | efried | alex_xu But if e.g. RP1 is exhausted of VFs and RP2 is exhausted of bandwidth, I think you would wind up giving me a candidate with { COMPUTE_RP: { VCPU, MEMORY_MB }, RP1 { NET_EGRESS_BW }, RP2 { SRIOV_NET_VF } } | |
| 13:39:41 | alex_xu | efried: for that case, we shouldn't return any condidates | |
| 13:40:06 | efried | alex_xu Shouldn't, I agree. But that's going to be tricky to code. | |
| 13:40:18 | alex_xu | so the logic is try the best on the same node or child node or shared node | |
| 13:40:22 | alex_xu | s/node/RP/ | |
| 13:40:34 | bauzas | sahid: so technically, we can't move or rebuild a pinned instance, I see | |
| 13:41:15 | efried | alex_xu If you think that through, though, I don't think you can get it to work in the general case. | |
| 13:41:41 | sahid | yes, but only if the pinning of domain xml is updated which was addressed in one of the patch from nikola | |
| 13:41:42 | openstackgerrit | Ildiko Vancsa proposed openstack/nova-specs master: Add multiattach support to Nova https://review.openstack.org/499777 | |
| 13:42:05 | alex_xu | efried: sorry, try the best on the same node, then child, then shared, I should use 'then' | |
| 13:42:06 | ildikov | johnthetubaguy: mriedem: new version of the multi-attach spec ^^ | |
| 13:42:06 | sahid | for cold you might have right, if we do build a new domain from scratch so we are OK | |
| 13:42:47 | efried | alex_xu Let's look at another scenario: the compute RP is empty (or let's say it has just the local DISK_GB resource). Then we have two NUMA nodes which each contain VCPU & MEMORY_MB resources. Then we also have two PF RPs which each contain VF and EGRESS_BW resources. | |
| 13:42:52 | ildikov | johnthetubaguy: mriedem: a question there is about delete_on_termination as there is one case where an exception gets raised when the volume couldn't be deleted | |
| 13:43:35 | ildikov | johnthetubaguy: mriedem: discussion about it is here: https://review.openstack.org/#/c/499777/4/specs/queens/approved/cinder-volume-multi-attach.rst | |
| 13:43:41 | bauzas | sahid: in other words, any move operation that is not regenerating the domain XML is not working if you have pinned instances, I see | |
| 13:43:59 | ildikov | johnthetubaguy: mriedem: please let me know what would be the preference on keeping this as an allowed action or disable it | |
| 13:44:04 | efried | alex_xu We've agreed you can't just look for everything in the same RP. So *either* [you're looking for all the resources in the same "branch"] *or* [you're allowing them to be spread out across all RPs in the tree]. | |
| 13:44:21 | ildikov | johnthetubaguy: mriedem: I would say keep what we agreed on earlier, but open to new suggestions | |
| 13:44:37 | sahid | yes, or you need to have on the destination node the same CPU topology and more of that have the pCPUs free | |
| 13:44:51 | efried | alex_xu In this scenario, I want to make sure my VCPU & MEMORY_MB come from the same RP; and my VF & BW come from the same RP. | |
| 13:45:02 | efried | (I'm assuming the PF doesn't belong to a NUMA node) | |
| 13:45:18 | mriedem | melwitt: jbernard: assuming this works https://review.openstack.org/512622 we'll need that to unblock nova changes in stable < pike | |
| 13:45:53 | dansmith | mriedem: melwitt: Is this known? http://logs.openstack.org/56/512456/1/check/legacy-tempest-dsvm-multinode-live-migration/5c3869e/job-output.txt.gz#_2017-10-17_01_30_14_509196 | |
| 13:46:01 | dansmith | py3 rados packages missing on pike | |
| 13:46:05 | openstackgerrit | Yushiro FURUKAWA proposed openstack/nova master: virt/ironic: Implement rescue and unrescue https://review.openstack.org/416487 | |
| 13:46:10 | openstackgerrit | Balazs Gibizer proposed openstack/nova master: Enhance service restart in functional env https://review.openstack.org/512552 | |
| 13:46:11 | openstackgerrit | Balazs Gibizer proposed openstack/nova master: Reproduce bug 1724172 in the functional test env https://review.openstack.org/512553 | |
| 13:46:12 | openstack | bug 1724172 in OpenStack Compute (nova) "Allocation of an evacuated instance is not cleaned on the source host if instance is not defined on the hypervisor" [Undecided,New] https://launchpad.net/bugs/1724172 - Assigned to Balazs Gibizer (balazs-gibizer) | |
| 13:46:12 | openstackgerrit | Balazs Gibizer proposed openstack/nova master: cleanup evacuated instances not on hypervisor https://review.openstack.org/512623 | |
| 13:46:18 | mriedem | dansmith: see ^ | |
| 13:46:19 | mriedem | :) | |
| 13:46:30 | dansmith | mriedem: you said < pike | |
| 13:46:44 | mriedem | i was told python3 packages were in the pike UCA | |
| 13:46:46 | mriedem | maybe they arent | |
| 13:46:56 | mriedem | dansmith: same problem though | |
| 13:47:02 | dansmith | okay | |
| 13:47:11 | mriedem | https://review.openstack.org/#/c/512622/ should fix it | |
| 13:48:17 | alex_xu | efried: yes, for that case, we defintely need the numbered request. I think the case we only request VCPU & MEMORY_MB and VF, this case whether can work for non-numbered request | |
| 13:51:14 | openstackgerrit | sean mooney proposed openstack/nova-specs master: Use neutron's new port binding API https://review.openstack.org/375580 | |
| 13:51:17 | efried | alex_xu But you're right - it sounds like we need to write up some scenarios for the non-numbered group. Not sure where it would be appropriate to do that. Perhaps a delta to your traits-in-allocations spec? | |
| 13:53:12 | openstackgerrit | Ildiko Vancsa proposed openstack/nova master: Add attachment_get to refresh_connection_info https://review.openstack.org/512626 | |
| 13:54:39 | openstackgerrit | Ildiko Vancsa proposed openstack/nova master: update live migration to use v3 cinder api https://review.openstack.org/463987 | |
| 13:54:51 | alex_xu | efried: yea, i'm not sure it should be in the trait spec, but I feel it should be at somewhere | |
| 13:56:07 | efried | alex_xu I covered some of it in passing in the granular request syntax spec, but dansmith will eviscerate me if I put more words in that one. | |
| 13:56:25 | dansmith | efried: not only that, | |
| 13:56:35 | dansmith | efried: but I'm reserving my +2 until you remove some :) | |
| 13:56:49 | efried | vay, really? Sigh, okay. | |
| 13:57:14 | efried | I read "just a tip" as "do better next time" | |
| 13:57:46 | dansmith | efried: the two use cases you call out and then say are out of scope really need to go, IMHO | |
| 13:58:00 | dansmith | the just a tip bit was a suggestion, and I think you should | |
| 13:58:04 | alex_xu | learned a new word 'eviscerate', that is terrible | |
| 13:58:17 | dansmith | lol | |
| 13:58:24 | dansmith | alex_xu: his word not mine :) | |
| 13:58:38 | alex_xu | okay.. | |
| 13:59:04 | mriedem | dansmith: if you're looking at stuff for pike, we need to get this fix in and backported to pike https://review.openstack.org/#/c/510938/ | |
| 13:59:12 | mriedem | otherwise restart after evacuate blows up | |
| 13:59:12 | openstackgerrit | Eric Fried proposed openstack/nova master: Send Allocations to spawn https://review.openstack.org/511879 | |
| 13:59:29 | dansmith | mriedem: I was just looking at your backport of my context fix when I saw that | |
| 13:59:30 | efried | dansmith This ^ oughtta be passing now, I believe. | |
| 13:59:47 | dansmith | efried: I was just getting ready to respond to cdent on that | |
| 14:00:38 | mriedem | bauzas: you want to look at this then? https://review.openstack.org/#/c/510938/ | |
| 14:00:53 | mriedem | need to wrangle our pike fixes for a release | |
| 14:01:03 | mriedem | since we have several high severity ones that are unreleased | |
| 14:01:15 | efried | dansmith I'll wait to respond until I see what you have to say, then. | |
| 14:02:38 | bauzas | mriedem: sure, will look | |
| 14:03:01 | gibi | mriedem: there is another bug 1724172 with fix top of https://review.openstack.org/#/c/510938/ | |
| 14:03:02 | openstack | bug 1724172 in OpenStack Compute (nova) "Allocation of an evacuated instance is not cleaned on the source host if instance is not defined on the hypervisor" [Undecided,In progress] https://launchpad.net/bugs/1724172 - Assigned to Balazs Gibizer (balazs-gibizer) | |
| 14:03:38 | bauzas | edmondsw: sdague: does that https://bugs.launchpad.net/nova/+bug/1716344 ring a bell to you ? (tl;dr: the fact that we only lookup the public endpoint when querying the SC) | |
| 14:03:39 | openstack | Launchpad bug 1716344 in OpenStack Compute (nova) "Nova-API uses Keystone's public endpoint for project id verification" [Undecided,New] | |
| 14:04:39 | johnthetubaguy | edmondsw: very late but I found that patch you were asking me about that the PTG, at least I think you asked me: https://review.openstack.org/#/c/434870 | |
| 14:07:26 | mriedem | ildikov: reading | |
| 14:07:44 | sdague | bauzas: so, we might be missing an option there | |
| 14:07:56 | sdague | that being said, this is definitely never called in vm crate | |
| 14:07:58 | sdague | create | |
| 14:08:20 | sdague | the only places this path is called is quota updates and flavor access calls | |
| 14:09:14 | dansmith | efried: left you a suggestion about the actual method, and one about cdent's retry | |
| 14:09:35 | dansmith | efried: the retry could be a follow-on since it really isn't related to this if you use the common method | |
| 14:09:39 | ildikov | mriedem: tnx | |
| 14:09:57 | efried | dansmith Roger wilco, and thanks. | |
| 14:10:13 | ildikov | mriedem: as the spec deadline is coming up I'm trying to clean this one up so we can merge it and update later on specifics if needed | |
| 14:10:53 | efried | dansmith Did you mean report.SchedulerReportClient.get_allocations_for_instance? | |
| 14:11:04 | dansmith | efried: rebase | |
| 14:11:15 | efried | dansmith ah, beaut. | |
| 14:11:21 | dansmith | efried: https://review.openstack.org/#/c/511306/ | |
| 14:11:25 | mriedem | bauzas: replied in that bug | |
| 14:11:36 | bauzas | sdague: you mean, calling verify_project_id is just made by quota updates and flavor calls? | |
| 14:11:41 | mriedem | efried: your new ksa adapter stuff defaults to the internal interface right? | |