| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2017-08-29 | |||
| 16:02:32 | openstackgerrit | Elod Illes proposed openstack/nova master: Functional test: evacuate with no compute https://review.openstack.org/498482 | |
| 16:03:08 | mriedem | #success gibi is now on the nova-core team | |
| 16:03:09 | openstackstatus | mriedem: Added success to Success page | |
| 16:03:23 | mriedem | i've successfully added success to the success page | |
| 16:03:48 | melwitt | \o/ | |
| 16:04:07 | ssmith | mriedem: Changed that one line of code and now get this on a locked instance: "Instance a29d1e77-5191-4629-a913-ae98ed22e284 is locked (HTTP 409)" | |
| 16:07:22 | ssmith | No "Locked" indicator on info of cli show so we have to remember if we get that message it's likely locked. Too bad, this is a great feature in AWS which is called "Termination Protection" | |
| 16:10:49 | mriedem | ssmith: nova also has that flag via the ec2api :) | |
| 16:10:54 | mriedem | disable_terminate i think it's called | |
| 16:11:33 | mriedem | ssmith: which cli doesn't show if it's locked or not? | |
| 16:11:50 | gibi | Thank you all of you support helping me becoming a nova-core. \o/ | |
| 16:11:53 | ssmith | opentack server show | |
| 16:12:23 | mriedem | ssmith: use microversion 2.9 | |
| 16:12:26 | mriedem | or greater | |
| 16:12:45 | mriedem | i dont know if the osc cli will print it though | |
| 16:12:56 | mriedem | but the locked field comes back in the GET /servers/id response in 2.9+ | |
| 16:13:00 | ssmith | nova show [server] does show locked or now | |
| 16:13:18 | mriedem | yeah, because nova cli negotiates for the latest microversion understood between the client and the server | |
| 16:13:22 | mriedem | by default | |
| 16:13:28 | mriedem | osc doesn't | |
| 16:13:53 | mriedem | ssmith: when you say, "Changed that one line of code and now get this on a locked instance: "Instance a29d1e77-5191-4629-a913-ae98ed22e284 is locked (HTTP 409)"" - you mean when you tried to delete the instance, right? | |
| 16:15:01 | ssmith | Yes, tried to delete. Get "Error: Unable to delete instance" in the UI and 409 on the cli | |
| 16:15:26 | mriedem | ssmith: yeah, so we'd need a change proposed on master that uses a new policy rule for this | |
| 16:15:29 | mriedem | rather than something in nova.conf | |
| 16:15:59 | ssmith | That would be better | |
| 16:15:59 | mriedem | ssmith: if this isn't something you actually want to work on, then you could propose a backlog spec and someone else could pick itup | |
| 16:16:15 | mriedem | https://specs.openstack.org/openstack/nova-specs/specs/backlog/index.html | |
| 16:16:29 | ssmith | OK | |
| 16:17:02 | ssmith | And just to confirm no way to get the lock status to show in "openstack server show"? | |
| 16:17:28 | mriedem | ssmith: there is an option with the osc cli to specify a microversion | |
| 16:17:31 | mriedem | so i'd try that first | |
| 16:18:11 | openstackgerrit | Stephen Finucane proposed openstack/nova master: doc: Add contents pages https://review.openstack.org/498820 | |
| 16:18:11 | openstackgerrit | Stephen Finucane proposed openstack/nova master: docs: Rename cellsv2_layout -> cellsv2-layout https://review.openstack.org/498821 | |
| 16:18:12 | openstackgerrit | Stephen Finucane proposed openstack/nova master: doc: Add configuration index page https://review.openstack.org/498818 | |
| 16:18:12 | openstackgerrit | Stephen Finucane proposed openstack/nova master: doc: Cleanup of existing index pages https://review.openstack.org/498819 | |
| 16:18:13 | openstackgerrit | Stephen Finucane proposed openstack/nova master: doc: Add user index page https://review.openstack.org/498817 | |
| 16:19:11 | mriedem | of course i can't search for microversions in just the osc docs https://docs.openstack.org/python-openstackclient/latest/search.html | |
| 16:19:17 | mriedem | since the docs migration to use the new sphinx theme | |
| 16:19:18 | mriedem | RAR | |
| 16:19:37 | mriedem | ssmith: openstack help compute or something should give you the optoins | |
| 16:19:48 | mriedem | it's --compute-api-version or something | |
| 16:22:22 | mriedem | ssmith: --os-compute-api-version i think | |
| 16:22:32 | ssmith | ok | |
| 16:23:08 | mriedem | i don't know if the osc cli whitelists the fields it shows though | |
| 16:23:41 | ssmith | Compute API version, default=2.1 | |
| 16:23:41 | ssmith | os-compute-api-version <compute-api-version> | |
| 16:24:07 | mriedem | yeah, so specify 2.9 | |
| 16:25:04 | ssmith | openstack server show a29d1e77-5191-4629-a913-ae98ed22e284 --os-compute-api-version 2.9 WORKED | |
| 16:25:16 | mriedem | cool | |
| 16:25:41 | ssmith | Any way to permanently set the version? | |
| 16:25:52 | mriedem | env var | |
| 16:25:59 | mriedem | OS_COMPUTE_API_VERSION=2.9 i think | |
| 16:28:39 | ssmith | Did a "export OS_COMPUTE_API_VERSION=2.9" which worked | |
| 16:31:07 | openstackgerrit | Matt Riedemann proposed openstack/nova master: Cleanup allocations on invalid dest node during live migration https://review.openstack.org/498861 | |
| 16:31:34 | mriedem | dansmith: cdent: gibi: here is the fix for the live migration pre-check error bug ^ | |
| 16:33:16 | efried | sean-k-mooney that first bp was https://blueprints.launchpad.net/nova/+spec/pci-by-device-id whose spec (https://review.openstack.org/497965) has some good discussion started. | |
| 16:34:16 | efried | jaypipes and I talked about it yesterday a bit and he encouraged me to move some of the main themes over to the other one stephenfin mentioned - https://blueprints.launchpad.net/nova/+spec/devices-as-resources - whose spec seed (not yet started) is here: https://review.openstack.org/497978 | |
| 16:34:27 | efried | ...and to start an etherpad for same topic for the PTG. | |
| 16:37:14 | openstackgerrit | Lucian Petrut proposed openstack/nova master: Fix nova assisted volume snapshots https://review.openstack.org/498845 | |
| 16:37:36 | openstackgerrit | Lajos Katona proposed openstack/nova master: WIP: Test server movings with custom resources https://review.openstack.org/497399 | |
| 16:41:27 | dansmith | mriedem: so, my feeling as we neared the end of pike was that we were really not doing ourselves any favors by trying to put the allocation stuff into the existing RT calls since we need to do different things and need some context from the compute manager to do the right thing | |
| 16:41:43 | dansmith | which is why we do some silly stuff in RT like looking at if prefix == 'old_' to do certain things | |
| 16:42:13 | dansmith | mriedem: for this migration uuid thing, I kinda want to add these new paths to compute manager itself, so at least we can delete RT eventually without needing to move things out of it | |
| 16:42:18 | dansmith | does that sound legit? | |
| 16:42:38 | dansmith | it might mean moving some of our existing allocation handling back out of RT as well and just clearly marking which bits are legacy pike behavior and not | |
| 16:46:00 | cdent | dansmith: I can only speak for myself, but I think that’s totally legit | |
| 16:47:13 | mriedem | dansmith: i think in general that's OK given we've already started duplicating some allocation-specific stuff in the compute manager outside of the RT | |
| 16:47:28 | dansmith | yeah | |
| 16:47:39 | mriedem | e.g. https://review.openstack.org/#/c/496976/ | |
| 16:47:53 | dansmith | I just spent 45 minutes trying to detect the condition I need from down in RT and it just doesn't make any sense I think | |
| 16:48:05 | mriedem | it's also harder to debug | |
| 16:48:08 | mriedem | because of the layering | |
| 16:48:15 | dansmith | yeah | |
| 16:48:22 | mriedem | RT is always a new journey for me everytime i have to look into it | |
| 16:59:27 | openstackgerrit | Matt Riedemann proposed openstack/nova master: Refactor LiveMigrationTask._find_destination https://review.openstack.org/498874 | |
| 17:05:43 | sean-k-mooney | efried: this one https://review.openstack.org/#/c/497965/2/specs/queens/approved/pci-by-device-id.rst | |
| 17:05:54 | sean-k-mooney | ill take a look at it | |
| 17:10:28 | efried | sean-k-mooney Great, thanks. FYI that one's not going to fly as currently conceived, but it's got some good problem descriptions and the discussion is getting us moving in the right direction. | |
| 17:10:44 | openstackgerrit | Merged openstack/nova master: Enhance support matrix document https://review.openstack.org/482013 | |
| 17:11:44 | mriedem | so it looks like we have to allocation-related bugs with evacuate, | |
| 17:11:52 | mriedem | 1. if you specify a host, we don't claim b/c we bypass the scheduler https://github.com/openstack/nova/blob/16.0.0.0rc2/nova/conductor/manager.py#L749 | |
| 17:12:13 | mriedem | 2. if you don't specify a host, we call the scheduler to find a host and create the allocations, but it rebuild fails in the compute we don't cleanup the allocations on failure | |
| 17:13:18 | sean-k-mooney | efried: yes but its a good start. i had a call with jay and other regarding smartnic offload of ovs where we also dissued how the dual role the whitelist is playing is problematic. | |
| 17:13:56 | efried | sean-k-mooney I would welcome thoughts on how the whitelist should work. | |
| 17:14:49 | efried | I mean, we need to have one. And it should probably be able to identify devices by classes or by specific IDs. | |
| 17:15:11 | sean-k-mooney | efried: basically i think it should just filter the list of pci devices and all other fuctionality such as tag or physnet association should be put into a different config option | |
| 17:16:09 | efried | Yeah, that makes sense. | |
| 17:16:16 | sean-k-mooney | device classes gets a little messy but may be usefull | |
| 17:16:31 | sean-k-mooney | you proably dont want to just whitelist all net devices | |
| 17:18:02 | efried | If it's to fit in with the other RP stuff, I would imagine the whitelist would be able to specify any of the qualitative or quantitative properties of the resource as reported by the driver. | |
| 17:18:52 | efried | "whitelist anything of type nic with a line speed >= 10Gbps" | |
| 17:20:29 | openstackgerrit | Balazs Gibizer proposed openstack/nova master: Test resource allocation during soft delete https://review.openstack.org/495159 | |
| 17:20:50 | openstackgerrit | Elod Illes proposed openstack/nova master: Functional test: evacuate with no compute https://review.openstack.org/498482 | |
| 17:21:56 | efried | Course, trying to figure out a way to do boolean logic in a conf var... | |
| 17:22:00 | sean-k-mooney | efried: the issue with all nic >=10GB is nova now needs per class special casing of the whitelist parsing | |
| 17:22:47 | efried | sean-k-mooney Well, the way Jay was talking about it, the whitelisting would be done by the driver. | |
| 17:22:55 | efried | So the driver can define whatever whitelisting syntax it wants | |
| 17:23:23 | efried | And it will therefore naturally be hypervisor-appropriate | |
| 17:24:11 | efried | That's one of the main things that I'm keeping an eye out for: that we don't wind up with a solution that works great for libvirt, but has to be kludged for e.g. HyperV or PowerVM. | |
| 17:24:13 | sean-k-mooney | well if we were talking about extending it to the classes as reproted but livirts nodedev-list in the libvirt dirver then that would be ok with me | |