| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2018-06-14 | |||
| 14:52:23 | dansmith | mriedem: hmm, yeah, not running a tripleo job | |
| 14:52:27 | dansmith | I just started experimental | |
| 14:53:45 | cdent | edleafe: on the weed or the dole? because here in the uk "everyone" acknowledges it is both, because of the kutchie to dutchie doubling | |
| 14:56:49 | sahid | mriedem, mdbooth_: if you can have a look at this when you have a moment https://review.openstack.org/#/c/570528/ | |
| 14:56:59 | edleafe | cdent: How does a cooking pot relate to being on the dole? | |
| 14:57:01 | mriedem | jmlowe: so what was the https issue with nova client? | |
| 14:57:09 | cdent | edleafe: sharing | |
| 14:57:16 | sahid | this is half fixing an issue, the real fix that would handle all the case is a bit more complicated | |
| 14:57:30 | sahid | wanted to get you idea | |
| 14:57:38 | jmlowe | It wouldn't parse the endpoint correctly to pick up on https unless there was a trailing slash | |
| 14:58:22 | jmlowe | /v2.1 doesn't work /v2.1/ does | |
| 14:59:09 | cdent | edleafe: important to remember that any pop song up until the maybe late 80s that can't otherwise be explained is probably about the dole: https://www.youtube.com/watch?v=RZ2oXzrnti4 (of course that one is pretty easy to explain) | |
| 14:59:34 | cdent | s/pop song/pop song in the uk/ | |
| 15:02:22 | mriedem | sahid: i don't like that patch ,see comments inline | |
| 15:03:02 | jmlowe | mriedem: oddly osc does parse correctly nova cli doesn't | |
| 15:06:34 | mriedem | jmlowe: ok i thought that was resolved in the patch i linked from andreykurilin yesterday, but apparently not | |
| 15:06:38 | mriedem | b/c i'm pretty sure you had that fix | |
| 15:06:40 | kashyap | mriedem: Yeah, I agree with your comment here: https://review.openstack.org/#/c/570528/5//COMMIT_MSG@17 | |
| 15:07:38 | jmlowe | mriedem: I did, however I'll probably need the workaround in place forever, once a broken client gets out it's nearly impossible to fix | |
| 15:07:41 | mriedem | kashyap: the only problem is, in check_can_live_migrate_destination, i don't think we actually *know* the source instance image backend | |
| 15:08:22 | kashyap | mriedem: Nod; yeah, I was going to look into that code | |
| 15:08:26 | openstackgerrit | Merged openstack/nova master: XenAPI: define a new image handler to use vdi streaming https://review.openstack.org/486475 | |
| 15:08:35 | openstackgerrit | Merged openstack/nova master: XenAPI: update the document related to vdi streaming https://review.openstack.org/568444 | |
| 15:08:38 | kashyap | On a call, will look further once off of it | |
| 15:08:56 | sahid | mriedem: yes it means we have to add new field in migrate_data | |
| 15:09:12 | sahid | your comment makes sense i don't know what is the use case behind | |
| 15:09:25 | sahid | perhaps they try to use live-migration to do conversions | |
| 15:10:38 | sahid | if we add that new field for migrate_data, i guess we could so make this possible instead of raising an exception but.. ofcourse if there is a real use-case | |
| 15:11:27 | mriedem | sahid: yeah i think we can put the image type in the migrate data object during check_can_live_migrate_destination and then check that in check_can_live_migrate_source and fail if they are incompatible | |
| 15:12:13 | mriedem | that won't be backportable, but it's ovh and i assume they'll run with a patch for whatever they need anyway | |
| 15:12:55 | mriedem | dansmith: this makes me think, we should likely also use your long rpc timeout thing for check_can_live_migrate_destination | |
| 15:13:10 | mriedem | since that's an rpc call from conductor to the dest, which then calls back to the source which then returns back to conductor | |
| 15:13:25 | dansmith | mriedem: cool | |
| 15:13:29 | sahid | aarents: ^ | |
| 15:15:19 | mriedem | dansmith: i'm guessing you want to do that in a followup | |
| 15:15:28 | mriedem | or i / someone can | |
| 15:15:37 | mriedem | i left a comment for reminders | |
| 15:18:42 | mriedem | jmlowe: so you're hitting this i guess? https://github.com/openstack/python-novaclient/blob/master/novaclient/v2/versions.py#L91 | |
| 15:19:25 | dansmith | mriedem: I can spark a follow up yeah | |
| 15:19:49 | jmlowe | yeah, best guess is that endswith v2.1 doesn't actually match but "/v2.1/" in url.path does | |
| 15:20:06 | mriedem | jmlowe: ok did you report a novaclient bug? | |
| 15:20:14 | mriedem | did/can | |
| 15:20:37 | mriedem | i assume keystoneauth1 has some magic that we can use to just replace this | |
| 15:20:41 | mriedem | or osc-lib | |
| 15:21:04 | jmlowe | osc works just fine | |
| 15:21:15 | mriedem | right, but i'd like to fix nova client too :) | |
| 15:21:37 | jmlowe | does help when trying to use heat | |
| 15:21:52 | mriedem | yeah, if you can report a novaclient bug that would be awesome | |
| 15:26:13 | aarents | mriedem: sahid yes our needs is to convert host and instance on it from qcow2 to raw in "live". we can run live local storage migration (blockcopy) but during sometime for adminitrative purpose we need to have live-migration working even if they are not yet converted | |
| 15:27:05 | mriedem | aarents: if live migrating from qcow2 to raw is safe, then we could probably build that into a pre-live migration check for allowable conversions | |
| 15:27:11 | mriedem | so there would be 2 rules: | |
| 15:27:16 | mriedem | 1. exact image backend type match - ok | |
| 15:27:24 | mriedem | 2. qcow2 -> raw: ok? | |
| 15:27:30 | aarents | but I will dig into migrate_data / check_can_live_migrate_destination as suggested to avoid incompatible migration | |
| 15:27:32 | mriedem | everything else is not a match and we need to find another dest host | |
| 15:27:40 | aarents | yes | |
| 15:27:44 | mriedem | i honestly don't know what dragons lurk on #2 | |
| 15:28:05 | mriedem | but we're also trying to do this same kind of thing with live migrating instances between hosts with different networking backends | |
| 15:28:08 | mriedem | i.e. ovs -> lb and back | |
| 15:28:28 | mriedem | https://specs.openstack.org/openstack/nova-specs/specs/rocky/approved/neutron-new-port-binding-api.html | |
| 15:28:47 | mriedem | ^ gets the vif info for the dest host and uses it to build the guest xml from the source host prior to the transfer | |
| 15:31:40 | jmlowe | https://bugs.launchpad.net/python-novaclient/+bug/1776928 | |
| 15:31:41 | openstack | Launchpad bug 1776928 in python-novaclient "Nova endpoint for v2.1 not parsed correctly, tries http instead of https" [Undecided,New] | |
| 15:34:12 | sahid | mriedem: it would be great to do that for vhostuser server mode to client mode... basically when OVS is updated from a version which does not support dpdkvhostuserclient to one which supports it | |
| 15:34:56 | mriedem | jmlowe: thanks | |
| 15:35:25 | mriedem | sahid: maybe you can help review my libvirt driver changes in that series then, that's where they are stalled now | |
| 15:35:29 | mriedem | it's also in a runway atm | |
| 15:35:42 | mriedem | https://review.openstack.org/#/c/558001/ is the bottom of the series right now | |
| 15:35:45 | sahid | mriedem: sure, can you share to me a link | |
| 15:35:47 | sahid | ok | |
| 15:35:51 | mriedem | libvirt starts here https://review.openstack.org/#/c/566932/ | |
| 15:47:46 | openstackgerrit | Merged openstack/nova master: Add enhanced KVM storage QoS quotas https://review.openstack.org/558530 | |
| 15:52:36 | mriedem | woot | |
| 15:52:38 | mriedem | simondodsley: ^ | |
| 15:53:01 | sahid | mriedem, about aarents's patch, so you are OK to accept conversion qcow2->raw since it's working but we still have to add that check in pre-live-migration to raise a MigrationPreCheckError is we try to convert from raw to qcow2 | |
| 15:53:06 | sahid | right? | |
| 15:57:38 | mriedem | sahid: that's what i think we should do, | |
| 15:57:50 | mriedem | like i said, i can't say there aren't side effects of cow -> raw conversion after the fact | |
| 15:58:10 | mriedem | like once you live migrate the instance, then try to snapshot or something else, does that work | |
| 15:59:28 | aarents | there is two solution: | |
| 15:59:29 | aarents | 1) allow qcow2 instance to be live-migrated on raw host but not converted. target host have a mix of qcow2 & raw instance. | |
| 15:59:31 | aarents | 2) allow qcow2 instance to be live-migrated but converted (bigger patch) | |
| 16:01:55 | aarents | mriedem: are you open on 2 solution or only on solution 2 ? | |
| 16:02:55 | mriedem | aarents: i think 1 is a can of worms | |
| 16:03:02 | mriedem | does 'can of worms' translate? | |
| 16:03:32 | sahid | bucket of bugs i guess | |
| 16:03:34 | mriedem | because that means, the code is going to have things like, "if CONF.libvirt.images_type OR SPECIAL CASE LIVE MIGRATION" | |
| 16:10:18 | openstackgerrit | Merged openstack/nova master: placement: Allocation.consumer field https://review.openstack.org/565405 | |
| 16:13:38 | aarents | mriedem: we made test in our environnement, for solution one, all main action seems to work great for qcow2 instance one a raw host resize/suspend/hardreboot | |
| 16:23:37 | openstackgerrit | Stephen Finucane proposed openstack/nova master: objects: Add NUMACell.network_info https://review.openstack.org/564439 | |
| 16:23:38 | openstackgerrit | Stephen Finucane proposed openstack/nova master: network: Unchain _get_phynet_info from _get_port_vnic_info https://review.openstack.org/564443 | |
| 16:23:39 | openstackgerrit | Stephen Finucane proposed openstack/nova master: network: Add 'create_resource_requests' to network API https://review.openstack.org/564444 | |
| 16:23:40 | openstackgerrit | Stephen Finucane proposed openstack/nova master: network: Retrieve tunneled status in '_get_network_info' https://review.openstack.org/564445 | |
| 16:23:41 | openstackgerrit | Stephen Finucane proposed openstack/nova master: objects: Remove NUMATopologyLimits.obj_from_db_obj https://review.openstack.org/537412 | |
| 16:23:42 | openstackgerrit | Stephen Finucane proposed openstack/nova master: objects: Remove legacy '_to_dict' functions https://review.openstack.org/537413 | |
| 16:23:43 | openstackgerrit | Stephen Finucane proposed openstack/nova master: hardware: Start accounting for networks in NUMA placement https://review.openstack.org/564448 | |
| 16:23:44 | openstackgerrit | Stephen Finucane proposed openstack/nova master: objects: Add RequestSpec.numa_networks https://review.openstack.org/564442 | |
| 16:23:45 | openstackgerrit | Stephen Finucane proposed openstack/nova master: scheduler: Start utilizing RequestSpec.numa_networks https://review.openstack.org/564452 | |
| 16:23:46 | openstackgerrit | Stephen Finucane proposed openstack/nova master: conf: Add '[neutron] physnets' and related options https://review.openstack.org/564440 | |
| 16:23:47 | openstackgerrit | Stephen Finucane proposed openstack/nova master: libvirt: Start populating NUMACell.network_info field https://review.openstack.org/564441 | |