| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2024-01-26 | |||
| 15:11:37 | lowercase | Morning, nova-manage db sync is reporting that it is not able to upgrade nova to 26.4.0 (zed), from yoga. The error is, unknown revision 960aac0e09ea | |
| 15:11:58 | lowercase | I went back to yoga, performed a db sync again and it reports the same error | |
| 15:12:20 | kevko | lowercase: show your log via paste | |
| 15:12:57 | lowercase | One moment, corporate firewall hates pastebins so let me find one that is unblocked | |
| 15:16:52 | tkajinam | lowercase, maybe you can try https://paste.opendev.org/ ? | |
| 15:16:57 | tkajinam | anyone from the core can check this stale one and abandon it ? https://review.opendev.org/c/openstack/nova/+/677870 | |
| 15:17:16 | lowercase | kevko: https://paste.centos.org/view/d9542667 | |
| 15:17:39 | lowercase | tkajinam: that one does work, thank you. | |
| 15:18:20 | kevko | lowercase: can u access database ? | |
| 15:18:35 | lowercase | yes | |
| 15:19:20 | lowercase | I am logged into the db's now | |
| 15:20:12 | kevko | lowercase: and what about select * from cell_mappings; in nova_api database ? do you have right creds inside ? | |
| 15:20:15 | gibi | tkajinam: done | |
| 15:20:30 | tkajinam | gibi, thx ! | |
| 15:20:46 | lowercase | kevko: nova, nova_api nova_cell0 database? | |
| 15:20:56 | kevko | in nova_api database i said | |
| 15:20:57 | lowercase | sorry | |
| 15:21:11 | kevko | and what about api_db sync ? is it same error ? | |
| 15:21:21 | kevko | do you have right credentials in /etc/nova/nova.conf ? | |
| 15:21:44 | lowercase | This cluster is old btw.. old old | |
| 15:22:06 | lowercase | might have been created around juno or kilo or so | |
| 15:22:15 | kevko | and you want to upgrade now ? :D :D :D | |
| 15:22:15 | lowercase | so I personally created the cell0 creds | |
| 15:22:39 | lowercase | sorry, last statement sounded a bit ego. | |
| 15:23:02 | lowercase | what i meant to say, is that i know these creds are correct is because i was the one that upgraded the nova database when cell0 was introduced | |
| 15:23:13 | kevko | sorry, but i think you need to go from version to version | |
| 15:23:28 | kevko | you cannot just run db migrations from such new version | |
| 15:23:30 | lowercase | yes, this openstack environment has never skipped versions | |
| 15:23:45 | lowercase | the entire openstack infra has gone 1 major release at a time all the way to yoga | |
| 15:23:58 | kevko | hmm | |
| 15:25:01 | lowercase | that's why I was digging through the code to discover which arambic version is associated with 960aac0e09ea | |
| 15:27:29 | kevko | sorry but i think i can't help here | |
| 15:28:03 | lowercase | Np, last time i had this issue I had to step through the code manually to get it to upgrade. | |
| 15:28:20 | lowercase | It wasn't this environment... | |
| 15:28:22 | lowercase | or was it? | |
| 15:28:42 | kevko | lowercase: but i still don't udenrstand why it's saying that can't connect to DB | |
| 15:28:49 | kevko | do you see mysql attempt ? | |
| 15:28:51 | lowercase | idk, I don't see Moody online | |
| 15:29:15 | kevko | what about your nova.conf ..can u share ? | |
| 15:30:00 | lowercase | Oh, you are looking that the lines from the db manage command that ask to ensure the db connection is good? | |
| 15:30:09 | lowercase | yeah sorry, that's a strong red herring | |
| 15:32:19 | lowercase | So each version of openstack is associated with a structure or schema of the database. The database scheme changes based on the needs of the devs and what information needs to be stored. To ensure the code knows which version the database is on, they use a database version number. In this case, "960aac0e09ea" denotes the last version the nova-api database is on. Zed's | |
| 15:32:22 | lowercase | nova-manage db sync, goes in, inspects the version number. And returns an error stating that it doesn't know which SCHEME the database is on and thus cannot upgrade it. | |
| 15:33:34 | lowercase | What normally happens is nova-manage db sync looks at the previous version number, modifies the schema of the database, and replaces the arambic (sp?) version number to be the new database schema. | |
| 15:38:37 | lowercase | I think this is what I'm looking for: https://github.com/openstack/nova/tree/master/nova/db/api/migrations/versions | |
| 15:39:46 | lowercase | At the top of the code it mentions: Revision ID: cdeec0c85668 Is the version of the database schema is GOING TO, and the Revises: b30f573d3377 says what the database schema is COMING FROM | |
| 15:40:19 | lowercase | i swear to god, kevko if your a dev and you're just letting me ramble on while you know this shit and didn't tell me I will feel like a fool. | |
| 16:14:04 | kevko | lowercase: I am ops .. | |
| 16:14:17 | kevko | lowercase: didn't know ..i wanted to just help .. | |
| 16:14:22 | kevko | or devops | |
| 18:44:50 | opendevreview | sean mooney proposed openstack/nova master: [WIP] add iniital health check to compute agent https://review.opendev.org/c/openstack/nova/+/906911 | |
| #openstack-nova - 2024-01-27 | |||
| 04:34:12 | opendevreview | Ghanshyam proposed openstack/nova master: HyperV: Remove RDP console API https://review.opendev.org/c/openstack/nova/+/906809 | |
| 08:03:53 | opendevreview | melanie witt proposed openstack/nova master: imagebackend: Add support to libvirt_info for LUKS based encryption https://review.opendev.org/c/openstack/nova/+/826755 | |
| 08:03:53 | opendevreview | melanie witt proposed openstack/nova master: libvirt: Configure and teardown ephemeral encryption secrets https://review.opendev.org/c/openstack/nova/+/826754 | |
| 08:03:54 | opendevreview | melanie witt proposed openstack/nova master: Support create with ephemeral encryption for qcow2 https://review.opendev.org/c/openstack/nova/+/870932 | |
| 08:03:54 | opendevreview | melanie witt proposed openstack/nova master: Add encryption support to convert_image https://review.opendev.org/c/openstack/nova/+/870934 | |
| 08:03:55 | opendevreview | melanie witt proposed openstack/nova master: Add hw_ephemeral_encryption_secret_uuid image property https://review.opendev.org/c/openstack/nova/+/870935 | |
| 08:03:55 | opendevreview | melanie witt proposed openstack/nova master: Support resize with ephemeral encryption for qcow2 https://review.opendev.org/c/openstack/nova/+/870933 | |
| 08:03:56 | opendevreview | melanie witt proposed openstack/nova master: Add encryption support to qemu-img rebase https://review.opendev.org/c/openstack/nova/+/870936 | |
| 08:03:57 | opendevreview | melanie witt proposed openstack/nova master: Support rebuild and unshelve with ephemeral encryption https://review.opendev.org/c/openstack/nova/+/870939 | |
| 08:03:57 | opendevreview | melanie witt proposed openstack/nova master: Support snapshot with ephemeral encryption for qcow2 https://review.opendev.org/c/openstack/nova/+/870937 | |
| 08:03:59 | opendevreview | melanie witt proposed openstack/nova master: libvirt: make |
|
| 08:03:59 | opendevreview | melanie witt proposed openstack/nova master: Support rescue with ephemeral encryption https://review.opendev.org/c/openstack/nova/+/873675 | |
| 08:04:01 | opendevreview | melanie witt proposed openstack/nova master: Reject (resize|rebuild) API requests with conflicting encryption https://review.opendev.org/c/openstack/nova/+/904240 | |
| 08:04:01 | opendevreview | melanie witt proposed openstack/nova master: WIP Support migration with ephemeral encryption https://review.opendev.org/c/openstack/nova/+/905512 | |
| 08:04:03 | opendevreview | melanie witt proposed openstack/nova master: libvirt: Introduce support for raw with LUKS https://review.opendev.org/c/openstack/nova/+/884313 | |
| 08:04:03 | opendevreview | melanie witt proposed openstack/nova master: libvirt: Introduce support for qcow2 with LUKS https://review.opendev.org/c/openstack/nova/+/772273 | |
| 08:04:05 | opendevreview | melanie witt proposed openstack/nova master: libvirt: Introduce support for rbd with LUKS https://review.opendev.org/c/openstack/nova/+/889912 | |
| 08:04:44 | opendevreview | melanie witt proposed openstack/nova master: DNM test ephemeral encryption + resize: qcow2, raw, rbd https://review.opendev.org/c/openstack/nova/+/862416 | |
| 14:03:34 | opendevreview | Takashi Kajinami proposed openstack/python-novaclient master: Update hacking version in pre commit config https://review.opendev.org/c/openstack/python-novaclient/+/906964 | |
| 23:20:20 | opendevreview | Ghanshyam proposed openstack/nova master: HyperV: Remove RDP console connection information API https://review.opendev.org/c/openstack/nova/+/906991 | |
| 23:28:52 | opendevreview | Ghanshyam proposed openstack/nova master: HyperV: Remove RDP console connection information API https://review.opendev.org/c/openstack/nova/+/906991 | |
| #openstack-nova - 2024-01-28 | |||
| 01:12:43 | opendevreview | Ghanshyam proposed openstack/nova master: HyperV: Remove RDP console API https://review.opendev.org/c/openstack/nova/+/906809 | |
| 02:15:17 | opendevreview | Ghanshyam proposed openstack/nova master: HyperV: Remove extra specs of HyperV driver https://review.opendev.org/c/openstack/nova/+/906992 | |
| #openstack-nova - 2024-01-29 | |||
| 02:23:48 | gmann | bauzas: sean-k-mooney:dansmith: removing HyperV driver/APIs are up for review, please check https://review.opendev.org/q/topic:%22bp/remove-hyperv-driver%22 | |
| 06:45:55 | opendevreview | Amit Uniyal proposed openstack/nova master: Allow swap resize from non-zero to zero https://review.opendev.org/c/openstack/nova/+/857339 | |
| 08:40:32 | gibi | elodilles: when you have time could you take a look https://review.opendev.org/q/topic:%22power-mgmt-fixups%22+branch:stable/2023.2 ? | |
| 08:41:25 | gibi | hold on, I was naively thought the master rever landed | |
| 08:50:51 | elodilles | gibi: i'll have a look soon | |
| 08:51:10 | elodilles | i mean just after master poatch has landed :D | |
| 08:52:28 | gibi | I know the rules :) | |
| 10:49:21 | opendevreview | Merged openstack/python-novaclient master: Update hacking version in pre commit config https://review.opendev.org/c/openstack/python-novaclient/+/906964 | |
| 11:16:58 | sean-k-mooney | gmann: thanks ill try and make my way through that series this week | |
| 11:17:31 | sean-k-mooney | skimming over it, the patches make sense | |
| 13:31:49 | gibi | bauzas: did you deploy the manila series in devstack? if so which backend you used nfs, or ceph? | |
| 13:32:06 | bauzas | nope I just reviewed the code for the moment | |
| 13:32:30 | bauzas | until we merge the API change, it's not a problem if we don't test it | |
| 13:33:04 | gibi | bauzas: I just tested it with nfs backend and it worked for me | |
| 13:33:22 | gibi | bauzas: so if you test it you can start with ceph to increase manual coverage :) | |
| 13:33:35 | gibi | I'm reviewing the code now | |
| 13:34:11 | bauzas | OK | |
| 13:34:26 | bauzas | I needed to work last week on a lot of changes, but I can start | |
| 13:34:54 | bauzas | I also need to test my own mdev live-migration series :) | |
| 15:43:18 | opendevreview | Merged openstack/nova master: Attach Manila shares via virtiofs (objects) https://review.opendev.org/c/openstack/nova/+/839401 | |
| 16:34:25 | bauzas | Uggla: now that patch is merged, a gentle reminder that I asked you a follow-up patch for https://review.opendev.org/c/openstack/nova/+/839401/36/nova/objects/share_mapping.py#93 | |
| 16:35:15 | Uggla | @bauzas, I'll do it no pb. | |
| 16:46:15 | opendevreview | zhouzhong proposed openstack/nova master: Validate flavor image min ram when resizing a volume-backend instance https://review.opendev.org/c/openstack/nova/+/906813 | |
| 17:43:05 | gibi | Uggla: I see a discrepancy between the spec and the impl | |
| 17:43:07 | gibi | The spec says | |
| 17:43:09 | gibi | Share attachment/detachment can only be done if the VM state is ``STOPPED`` | |