| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2024-02-07 | |||
| 18:48:36 | sean-k-mooney | do i need to als restart | |
| 18:48:55 | sean-k-mooney | Running upgrade 13863f4e1612 -> 2a7173b820a6, Add backing_encryption_secret_uuid to block_device_mapping | |
| 18:48:57 | melwitt | it took me a bit to figure out wtf was wrong too. been that long since I db sync'ed on the fly I guess 😶 | |
| 18:49:41 | melwitt | I don't think you should need to restart | |
| 18:50:10 | melwitt | and make sure you had 'db sync' without --local_cell too bc that's what syncs the nova_cell0 db 😛 | |
| 18:51:18 | melwitt | another thing for the backlog ... do a fanout. I'm not sure if it was deliberate not to or if it's just no one has gotten around to it yet | |
| 18:51:19 | sean-k-mooney | nova-manage --config-dir /etc/nova --config-file /etc/nova/nova_cell1.conf db sync | |
| 18:51:24 | sean-k-mooney | that worked | |
| 18:52:00 | sean-k-mooney | oh you know what this instance was in error so it was burried in cell0 | |
| 18:52:06 | melwitt | hm ok. I thought I tried that but it didn't work without --local_cell | |
| 18:52:47 | melwitt | *didn't work to sync nova_cell1 | |
| 18:53:04 | sean-k-mooney | oh actullly no it got past the schduler so it was in cell 1 | |
| 18:53:20 | sean-k-mooney | i saw was becasue its deleted now so i guess it does not matter | |
| 18:53:44 | sean-k-mooney | also i just booted a vm with your latest code so that cool too | |
| 18:54:09 | sean-k-mooney | ok its on disk-encrypt-2 so in theroy i coudl live migrate it to disk-encrypt-1 | |
| 18:54:48 | melwitt | that should work, but since I said that it probably won't | |
| 18:56:57 | sean-k-mooney | it did not but i havent tried live migration without encypted voluems so i dont know if i missed a step or not | |
| 18:57:13 | sean-k-mooney | ah ok | |
| 18:57:15 | sean-k-mooney | libvirt.libvirtError: Cannot recv data: ssh: Could not resolve hostname disk-encrypt-1: Name or service not known: Connection reset by peer | |
| 18:57:21 | sean-k-mooney | i just need to update /etc/hosts | |
| 18:58:54 | melwitt | 😅 | |
| 19:01:16 | sean-k-mooney | Live Migration failure: Cannot recv data: Host key verification failed.: Connection reset by peer: libvirt.libvirtError: Cannot recv data: Host key verification failed.: Connection reset by peer ok i need to check what usesr its using | |
| 19:01:25 | sean-k-mooney | i see up ubuntu but maybe its runing as root | |
| 19:10:48 | sean-k-mooney | still complaining baout host key verificaiton | |
| 19:10:53 | sean-k-mooney | i think ill just turn that off | |
| 19:22:41 | sean-k-mooney | melwitt: finally i had to swap to using root for some reason for the ssh conenction | |
| 19:22:51 | sean-k-mooney | but in anycase yes live migration in one direction workd | |
| 19:23:15 | sean-k-mooney | im going to check if the instnace dirs ectra actully got cleaned up but looking good so far | |
| 19:24:02 | sean-k-mooney | im so out of partice of doing this with devstack by hand | |
| 19:32:26 | melwitt | sean-k-mooney: yeah, same (I had been) | |
| 19:38:01 | melwitt | sean-k-mooney: oh, with the host key verification in my case what I had to do was both ssh to and from as root "ssh root@blah" but also had to ssh as the other user, maybe the stack user? but pass the root user like "ssh root@blah" | |
| 19:38:27 | melwitt | it would not stop complaining until I did both of those | |
| 20:07:48 | sean-k-mooney | so if i use live_migration_uri = qemu+ssh://root@%s/system | |
| 20:07:58 | sean-k-mooney | and ssh as root to each host | |
| 20:08:01 | sean-k-mooney | then it works fine | |
| 20:08:12 | sean-k-mooney | but i was trying to use live_migration_uri = qemu+ssh://ubuntu@%s/system | |
| 20:08:23 | opendevreview | Ghanshyam proposed openstack/nova master: Remove HyperV: cleanup doc/code ref https://review.opendev.org/c/openstack/nova/+/906629 | |
| 20:08:59 | sean-k-mooney | there is a way to use a non root user to do that but its not worth the hassel | |
| 20:10:13 | opendevreview | Ghanshyam proposed openstack/nova master: HyperV: Remove HyperVLiveMigrateData object https://review.opendev.org/c/openstack/nova/+/906636 | |
| 20:16:28 | melwitt | ah I see | |
| 20:19:46 | opendevreview | Ghanshyam proposed openstack/nova master: HyperV: Remove RDP console connection information API https://review.opendev.org/c/openstack/nova/+/906991 | |
| 20:20:23 | sean-k-mooney | its still unhappy for cold migration so i need to add the root users ssh key to the ubuntu users autherised keys | |
| 20:20:53 | sean-k-mooney | i normally just use one key an put it in all both ubuntu and root with the same public/private key on all hosts | |
| 20:20:56 | opendevreview | Ghanshyam proposed openstack/nova master: HyperV: Remove RDP console connection information API https://review.opendev.org/c/openstack/nova/+/906991 | |
| 20:21:22 | sean-k-mooney | this time i was trying to be fancy and use seperate keys and minimal privladges | |
| 20:21:55 | opendevreview | Ghanshyam proposed openstack/nova master: HyperV: Remove RDP console API https://review.opendev.org/c/openstack/nova/+/906809 | |
| 20:22:16 | melwitt | 🙂 | |
| 20:22:18 | opendevreview | Ghanshyam proposed openstack/nova master: HyperV: Remove extra specs of HyperV driver https://review.opendev.org/c/openstack/nova/+/906992 | |
| 20:28:34 | sean-k-mooney | melwitt: ill try this again tomorrow when i can make sure i set this up correctly end to end | |
| 20:29:09 | sean-k-mooney | of far i have got good coverage of what happens if your ssh keys dont work and we rollback the cold migrate early :) | |
| 20:29:43 | melwitt | haha nice | |
| #openstack-nova - 2024-02-08 | |||
| 04:28:33 | gmann | dansmith: sean-k-mooney: updated hyperV driver series, please check in your morning https://review.opendev.org/q/topic:%22bp/remove-hyperv-driver%22 | |
| 10:21:39 | opendevreview | melanie witt proposed openstack/nova master: Support create with ephemeral encryption for qcow2 https://review.opendev.org/c/openstack/nova/+/870932 | |
| 10:21:40 | opendevreview | melanie witt proposed openstack/nova master: Support (resize|cold migration) with ephemeral encryption for qcow2 https://review.opendev.org/c/openstack/nova/+/870933 | |
| 10:21:40 | opendevreview | melanie witt proposed openstack/nova master: Support live migration with ephemeral encryption for qcow2 https://review.opendev.org/c/openstack/nova/+/905512 | |
| 10:21:41 | opendevreview | melanie witt proposed openstack/nova master: Support rebuild with ephemeral encryption for qcow2 https://review.opendev.org/c/openstack/nova/+/870939 | |
| 10:21:41 | opendevreview | melanie witt proposed openstack/nova master: Support rescue with ephemeral encryption for qcow2 https://review.opendev.org/c/openstack/nova/+/873675 | |
| 10:21:42 | opendevreview | melanie witt proposed openstack/nova master: Add encryption support to qemu-img rebase https://review.opendev.org/c/openstack/nova/+/870936 | |
| 10:21:42 | opendevreview | melanie witt proposed openstack/nova master: Support snapshot with ephemeral encryption for qcow2 https://review.opendev.org/c/openstack/nova/+/870937 | |
| 10:21:43 | opendevreview | melanie witt proposed openstack/nova master: Add backing_encryption_secret_uuid to BlockDeviceMapping https://review.opendev.org/c/openstack/nova/+/907960 | |
| 10:21:43 | opendevreview | melanie witt proposed openstack/nova master: WIP Support encrypted backing files for qcow2 https://review.opendev.org/c/openstack/nova/+/907961 | |
| 10:21:45 | opendevreview | melanie witt proposed openstack/nova master: libvirt: Introduce support for raw with LUKS https://review.opendev.org/c/openstack/nova/+/884313 | |
| 10:21:45 | opendevreview | melanie witt proposed openstack/nova master: libvirt: Introduce support for rbd with LUKS https://review.opendev.org/c/openstack/nova/+/889912 | |
| 14:52:41 | opendevreview | Sylvain Bauza proposed openstack/nova master: Reserve mdevs to return to the source https://review.opendev.org/c/openstack/nova/+/904209 | |
| 14:52:42 | opendevreview | Sylvain Bauza proposed openstack/nova master: Modify the mdevs in the migrate XML https://review.opendev.org/c/openstack/nova/+/904258 | |
| 16:12:02 | opendevreview | Takashi Kajinami proposed openstack/nova master: libvirt: Detect vtpm support by libvirt https://review.opendev.org/c/openstack/nova/+/908508 | |
| 16:14:24 | opendevreview | Merged openstack/nova master: Remove the Hyper-V driver https://review.opendev.org/c/openstack/nova/+/894466 | |
| 16:16:23 | opendevreview | Takashi Kajinami proposed openstack/nova master: libvirt: Detect vtpm support by libvirt https://review.opendev.org/c/openstack/nova/+/908508 | |
| 18:12:45 | chris218 | Hi I was wondering if it's possible to run nova standalone, for testing and development purposes or you need neutron, glance, keystone? | |
| 18:16:59 | sean-k-mooney | techiially you can run without neuton and keystone by using the noauth plugin and only booting instance without networking | |
| 18:17:05 | sean-k-mooney | but realistically no | |
| 18:17:16 | sean-k-mooney | i would not recomemnd even trying to do that | |
| 18:17:46 | sean-k-mooney | the minium set of service you should use are keystone,neutron,glance,placement and nova | |
| 18:18:05 | chris218 | So devstack is the way? | |
| 18:18:30 | sean-k-mooney | nova has extenstive unit and functional tests | |
| 18:18:43 | sean-k-mooney | but if you want more then that you shoudl use devstack or some other tool | |
| 18:18:48 | chris218 | I was recently playing with the idea of writing my own driver and was wondering what would be the best way to test it | |
| 18:19:31 | sean-k-mooney | we offically do not supprot out of tree drivers and its unlikely we will add a new intree dirver in the medium to long term | |
| 18:19:48 | sean-k-mooney | what hypervior were you hoping to integrate with | |
| 18:20:36 | sean-k-mooney | there is not sable external api for writing a virt driver for nova | |
| 18:20:49 | chris218 | It's mostly me trying to practice working with python in a larger codebase, but either cloud hypervisor or qemu through qmp instead of libvirt | |
| 18:21:14 | sean-k-mooney | :) i have breifly looked at cloud hypervisor | |
| 18:21:31 | sean-k-mooney | if you wanted it to produced functional vms then devstack is the best approch | |
| 18:21:45 | chris218 | Awesome thanks for your help | |
| 18:22:44 | sean-k-mooney | on comment i would make is if you wanted ot gain experiance with workign on a large project and its not for work | |
| 18:23:09 | sean-k-mooney | there is alwasy a large bug backlog if you felt so inclidned | |
| 18:23:54 | sean-k-mooney | chris218: but if you wanted a refecne fo what it might look like this is what an out of tree driver would look like https://github.com/cdent/etcd-compute | |
| 18:24:22 | sean-k-mooney | actuly thats not a good example | |
| 18:24:40 | sean-k-mooney | that and example of a driver that woudl remove the rpc bus and use etcd instead | |
| 18:25:24 | chris218 | Oh awesome thanks, I was wondering why Kolla has etcd option | |
| 18:25:48 | sean-k-mooney | its not related to this | |
| 18:25:54 | chris218 | Oh :( | |
| 18:25:58 | sean-k-mooney | that was just a tought experiment that never went anywhere | |
| 18:26:19 | sean-k-mooney | ectd in kolla is for use as a cache backend or distributed lock manager | |
| 18:26:42 | sean-k-mooney | cinder via tooz can use etcd and i belive that is what koolla supprot it for | |
| 18:26:57 | sean-k-mooney | oslo.cache i belive also supprots etcd | |
| 18:27:14 | sean-k-mooney | chris218: if your familar with kolla | |
| 18:27:20 | sean-k-mooney | kolla has a dev mode | |
| 18:27:34 | sean-k-mooney | where in bindmoutns local git repos into the conatiner | |
| 18:27:39 | chris218 | Btw while we're talking I was wondering for a long time, why do openstack projects still use pbr and setup.cfg? Don't setuptools with pyproject.toml have everything that pbr wanted to add? | |