Earlier  
Posted Nick Remark
#openstack-nova - 2024-02-01
20:10:18 sean-k-mooney anyway ill let this simmer in the back of my mind and come back in a few days
20:10:29 JayF In Ironic, we don't have a handle on engine at all when we setup that event listener; so I'm a little confused as to if it really needs to be done per engine
20:10:29 sean-k-mooney thanks for the ironic link
20:10:55 sean-k-mooney ya im not sure either
20:11:12 sean-k-mooney i should proably just ask zeek about it
20:13:37 JayF My current belief is it is gloriously simple -- just make sure the listener is registered and you don't need to worry about doing something "per enginer". If you find that is not correct, please let me know if you remember :D
20:19:02 sean-k-mooney i mean i can give it a try and just see what happens
20:19:09 sean-k-mooney its either goign to work or not
20:27:51 sean-k-mooney JayF: oh i see whats happening in the example its calling listen for on an instance of a class
20:28:12 sean-k-mooney JayF: but ironic is calling it with a type in this case ConnectionEvents
20:28:26 JayF Yes, different types give you different args as well
20:28:34 JayF so a ConnectionEvent gives you a dbapi_connection object
20:28:39 sean-k-mooney yep ok this makes sense now
20:49:49 sean-k-mooney trying to regester an event function for the engine_connect event that just raises a RuntimeError
20:50:15 sean-k-mooney does nohthing so either there is no engince_connect event when the nova conductor starts
20:50:38 sean-k-mooney or https://github.com/openstack/ironic/blob/master/ironic/db/sqlalchemy/__init__.py#L28 didnt seam to work for me
20:51:45 sean-k-mooney i would guess we had not used the db connection if it was not fro
20:51:48 sean-k-mooney DEBUG dbcounter [-] [2076032] Writing DB stats nova_cell1:SELECT=4,nova_cell1:UPDATE=1 {
22:55:53 tonyb sean-k-mooney[m]: Thanks again for all your help. If you're interested here's somewhat of a summary
#openstack-nova - 2024-02-02
02:38:46 opendevreview Nobuhiro MIKI proposed openstack/nova master: libvirt: Support maxphysaddr. https://review.opendev.org/c/openstack/nova/+/907516
06:41:31 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
06:41:31 opendevreview melanie witt proposed openstack/nova master: libvirt: Configure and teardown ephemeral encryption secrets https://review.opendev.org/c/openstack/nova/+/826754
06:41:32 opendevreview melanie witt proposed openstack/nova master: Add hw_ephemeral_encryption_secret_uuid image property https://review.opendev.org/c/openstack/nova/+/870935
06:41:32 opendevreview melanie witt proposed openstack/nova master: Add encryption support to convert_image https://review.opendev.org/c/openstack/nova/+/870934
06:41:33 opendevreview melanie witt proposed openstack/nova master: Support create with ephemeral encryption for qcow2 https://review.opendev.org/c/openstack/nova/+/870932
06:41:33 opendevreview melanie witt proposed openstack/nova master: libvirt: make a sub element of https://review.opendev.org/c/openstack/nova/+/905515
06:41:34 opendevreview melanie witt proposed openstack/nova master: Support (resize|cold migration) with ephemeral encryption for qcow2 https://review.opendev.org/c/openstack/nova/+/870933
06:41:35 opendevreview melanie witt proposed openstack/nova master: Support snapshot with ephemeral encryption for qcow2 https://review.opendev.org/c/openstack/nova/+/870937
06:41:35 opendevreview melanie witt proposed openstack/nova master: Add encryption support to qemu-img rebase https://review.opendev.org/c/openstack/nova/+/870936
06:41:37 opendevreview melanie witt proposed openstack/nova master: Support rescue with ephemeral encryption https://review.opendev.org/c/openstack/nova/+/873675
06:41:37 opendevreview melanie witt proposed openstack/nova master: Support rebuild and unshelve with ephemeral encryption https://review.opendev.org/c/openstack/nova/+/870939
06:41:39 opendevreview melanie witt proposed openstack/nova master: libvirt: Introduce support for raw with LUKS https://review.opendev.org/c/openstack/nova/+/884313
06:41:39 opendevreview melanie witt proposed openstack/nova master: WIP Support live migration with ephemeral encryption https://review.opendev.org/c/openstack/nova/+/905512
06:41:41 opendevreview melanie witt proposed openstack/nova master: libvirt: Introduce support for rbd with LUKS https://review.opendev.org/c/openstack/nova/+/889912
06:42:17 opendevreview melanie witt proposed openstack/nova master: DNM test ephemeral encryption + resize: qcow2, raw, rbd https://review.opendev.org/c/openstack/nova/+/862416
06:43:59 melwitt sean-k-mooney: this is a checkpoint ^ there are so many changes already, I wanted to push them for now while I keep working on stuff
06:51:36 opendevreview Merged openstack/nova master: testing: Use inspect.isfunction() to check signatures https://review.opendev.org/c/openstack/nova/+/883217
08:25:00 opendevreview Fabian Wiesel proposed openstack/nova master: vmware: Integer division Python 2 -> 3 fix https://review.opendev.org/c/openstack/nova/+/907444
08:29:20 gibi elodilles: when you are up, could you take a quick look at https://review.opendev.org/q/topic:%22power-mgmt-fixups%22+branch:stable/2023.1 thanks!
09:24:01 elodilles gibi: ack, added to my TODO!
09:24:21 gibi elodilles: thanks a lot
10:35:44 opendevreview Sylvain Bauza proposed openstack/nova master: Reserve mdevs to return to the source https://review.opendev.org/c/openstack/nova/+/904209
10:35:45 opendevreview Sylvain Bauza proposed openstack/nova master: Modify the mdevs in the migrate XML https://review.opendev.org/c/openstack/nova/+/904258
12:18:48 sean-k-mooney gibi: elodilles: im +2w on the 2023.1 gpu backports
12:22:40 sean-k-mooney sorry not gpu backport power management backport
12:22:48 sean-k-mooney https://review.opendev.org/q/topic:%22power-mgmt-fixups%22
12:23:54 sean-k-mooney melwitt: ack ill deploy that in a 2 node envionment and start testing it later today
12:26:29 gibi sean-k-mooney: thank you
12:29:40 elodilles sean-k-mooney: ack, thank you o:)
12:32:03 opendevreview Rajesh Tailor proposed openstack/nova master: Add support for showing requested az in output https://review.opendev.org/c/openstack/nova/+/904568
13:15:16 opendevreview Rajesh Tailor proposed openstack/nova master: Add support for showing requested az in output https://review.opendev.org/c/openstack/nova/+/904568
14:41:02 opendevreview Takashi Kajinami proposed openstack/placement master: tox: Drop envdir https://review.opendev.org/c/openstack/placement/+/907590
14:42:54 opendevreview Takashi Kajinami proposed openstack/nova master: tox: Drop envdir https://review.opendev.org/c/openstack/nova/+/907591
14:49:03 opendevreview Takashi Kajinami proposed openstack/osc-placement master: tox: Drop envdir https://review.opendev.org/c/openstack/osc-placement/+/907596
14:57:07 opendevreview Takashi Kajinami proposed openstack/os-vif master: tox: Drop envdir https://review.opendev.org/c/openstack/os-vif/+/907604
15:29:13 noonedeadpunk hey folks. I have something weird going on. In a brand new (still not production) environment I've accidentally spotted, that one of computes is not mapped to the cell
15:29:54 noonedeadpunk so `nova-manage cell_v2 list_hosts` and `openstack compute service list --service nova-compute` differ by 1 compute not added to cell
15:30:19 noonedeadpunk `nova-manage cell_v2 discover_hosts` does not discover it
15:32:05 noonedeadpunk no errors or weird output is seen
15:32:47 noonedeadpunk Or well, shceduler does have `Host mapping not found for host compute01-az2. Not tracking instance info for this host.` -> thats exactly host that's missing from the cell
15:34:01 noonedeadpunk only 1 cell is present justi n case
15:41:55 noonedeadpunk hm... seem like running nova-manage cell_v2 discover_hosts --cell_uuid <UUID> --by-service did discover the host....
15:42:25 noonedeadpunk and it was `--by-service` specifically
15:43:32 noonedeadpunk I can recall now somebody already suggested running by-service previously :)
15:45:14 bauzas noonedeadpunk: as a reminder, when adding a new compute, you need to use nova-manage for telling which cell you should use for it
15:45:20 bauzas hence why you can't find it
15:46:39 noonedeadpunk well, we have `discover_hosts_in_cells_interval` set
15:47:07 noonedeadpunk and I was trying to run without --by-service 10 times by now
15:47:47 noonedeadpunk also running nova-manage cell_v2 discover_hosts --cell_uuid UUID was just giving out "Found 0 unmapped computes in cell: UUID"
15:49:15 noonedeadpunk so eventually I was expecting compute to be auto-discovered...
15:49:23 noonedeadpunk (like all others were)
15:55:57 bauzas ah ok
15:56:18 bauzas maybe this was a bug then
16:27:08 sean-k-mooney noonedeadpunk: do you have the same hostname in multiple cells or perhaps is it in a diffent cell then the others
16:32:26 noonedeadpunk sean-k-mooney: no, not that I'm aware of - that was actuall output: https://paste.openstack.org/show/bOGJJWefzMBvhKkdHkiZ/
16:34:12 sean-k-mooney hum ok ya thats odd
16:34:21 sean-k-mooney the names all look unique
16:34:26 sean-k-mooney and they are all in cell 1
16:34:37 noonedeadpunk yeah, and there was no weird db records either
16:35:09 sean-k-mooney i think there is a verbose mode for discover_hosts but now that its fixed im usre it wont repoduce
16:35:30 noonedeadpunk I can imagine there could be some connectivity issues in the region as it's heavily under develpment... but I've restarted all schedulers and compute that was not found without any result
16:36:04 noonedeadpunk verbose was not helpful fwiw
16:36:10 sean-k-mooney and it worked fine when you mapped it with --by-service
16:36:14 noonedeadpunk https://paste.openstack.org/show/bx7p6C37Qv8LHym7Dviq/
16:36:18 noonedeadpunk yup
16:36:43 sean-k-mooney the urllib3 thing can be ingored by the way
16:36:50 sean-k-mooney we should proably remove that warning
16:36:56 noonedeadpunk or well. I run --by-service without verbose... So I kinda assume it's what worked, as nothing else was done in between....
16:36:57 sean-k-mooney it was fixed a lon gtime ago
16:38:46 noonedeadpunk like that's the output that was in between basically when I found it fixed: https://paste.openstack.org/show/bvFhJpJyhSv0NYn6WHaF/
16:38:48 sean-k-mooney i guess if you see this again try logging with --by-service and verbose and let us know if there is anything intersting
16:39:22 noonedeadpunk yeah, sure...
16:39:48 noonedeadpunk but potentially by-service makes sense, as compute was in service... so I assume it got mapped from there then
16:39:59 noonedeadpunk but yeah...
16:41:46 sean-k-mooney i dont remmeber how that works off the top of my head so ya im not sure
16:45:35 sean-k-mooney ... i forgot when doing multi node devstack you need ot sync the data dir to make the ssl ca aviable if you dont turn that off
16:48:10 sean-k-mooney basiclaly i need to do https://opendev.org/openstack/devstack/src/branch/master/roles/sync-devstack-data/tasks/main.yaml or the compute wont be able to talk to the contoler because the ssl cert will be rejected
17:19:42 noonedeadpunk it's osa aio, so I SSLs should be taken care of nicely
17:20:09 sean-k-mooney im not refering to osa
17:20:49 sean-k-mooney i have have a repo where i resue the zuul job playbooks and roels to deploy multi node devstack

Earlier   Later