Wednesday, 2024-09-18

opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-repo_server master: Ensure that selected Apache MPM is enforced  https://review.opendev.org/c/openstack/openstack-ansible-repo_server/+/92969008:26
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_horizon master: Ensure that selected Apache MPM is enforced  https://review.opendev.org/c/openstack/openstack-ansible-os_horizon/+/92969508:26
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_keystone master: Ensure that selected Apache MPM is enforced  https://review.opendev.org/c/openstack/openstack-ansible-os_keystone/+/92969108:27
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_skyline master: Ensure that selected Apache MPM is enforced  https://review.opendev.org/c/openstack/openstack-ansible-os_skyline/+/92969708:27
kleiniI just stumbled again in my staging deployment across changed/removed inventory data. What is the best approach, to remove not anymore generated data from inventory? In this case hostvars/<host>/container_address was not there anymore and my pools.yml generation for designate failed. I need to migrate to hostvars/<host>/container_networks/container_address/address.08:58
jrosserkleini: do you have "management_address" ?09:07
kleiniyes, I see management_address. So container_address was just renamed?10:02
noonedeadpunkyup10:04
kleiniokay, thanks10:04
noonedeadpunkcontainer_address was left for old deployments, but on new one it's not created anymore10:04
noonedeadpunkthere should be a release note about that as well10:04
kleinithen back to my question: how can I remove old data from inventory?10:06
noonedeadpunkwell, there's really no trivial way of doing so :(10:15
kleiniI redeploy my staging from scratch often. Then I get fresh inventories. And my only way was to compare entries in staging inventory with production inventory, which then allows to remove this or that value. But a lot of work and red eyes afterwards.10:27
jrossercan you use jq to delete specific keys from the inventory json?10:32
kleiniyeah, something like that. Will have a look into jq10:34
noonedeadpunkI think we should be able to add some kind of flag/feature to do such cleanups11:10
noonedeadpunkbut would be tough with priority for this11:11
*** mnasiadka1 is now known as mnasiadka12:28
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-repo_server master: Ensure that selected Apache MPM is enforced  https://review.opendev.org/c/openstack/openstack-ansible-repo_server/+/92969013:28
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_keystone master: Ensure that selected Apache MPM is enforced  https://review.opendev.org/c/openstack/openstack-ansible-os_keystone/+/92969113:29
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_skyline master: Ensure that selected Apache MPM is enforced  https://review.opendev.org/c/openstack/openstack-ansible-os_skyline/+/92969713:30
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_horizon master: Ensure that selected Apache MPM is enforced  https://review.opendev.org/c/openstack/openstack-ansible-os_horizon/+/92969513:30
opendevreviewGaudenz Steinlin proposed openstack/openstack-ansible master: Disable console SSL termination for user certs  https://review.opendev.org/c/openstack/openstack-ansible/+/92977513:38
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Update skyline http check to modern format  https://review.opendev.org/c/openstack/openstack-ansible/+/92981215:00
sykebenXHello, I've noticed a number of missing options which can be applied to `/etc/cinder/cinder.conf` which pertain to ceph storage backends. These options (namely the ability to specify a backup_ceph_conf path) are not possible to pass in through openstack-ansible's user_variables.yml file. Is this intentionally left out of the os-cinder role and present somewhere else perhaps?18:38
noonedeadpunksykebenX: hey18:51
noonedeadpunkyeah, some options are left out intentionally as there're too many options in each service to pass18:52
noonedeadpunkthough we do have a config_template module, which is capable/designed to apply user-provided configs to templates18:52
noonedeadpunkso you can both change defaults in templates as well as add arbitrary content to them18:53
noonedeadpunkso you can do like that specifically with the option you've mentioned: https://paste.openstack.org/show/b92HKFkiUXKXdYgAiuum/18:54
noonedeadpunkand define that in user_variables18:54
noonedeadpunksykebenX: hope this helps :)18:55
sykebenXOh that's fantastic! Thanks very much noonedeadpunk :)19:04
noonedeadpunkwe have such overrides variable for pretty much any tempalte we have19:08
noonedeadpunkso you're really flexible with values19:08
noonedeadpunkmodule can also remove options that are already defined, for that in overrides var you define them as empty mappig, ie `backup_ceph_conf: {}`19:09
noonedeadpunk(under section they need to be in)19:09
sykebenXExcellent! Thanks again! I appreciate the help19:13
sykebenXOh and one more thing. Does cinder have a way to specify which ceph keyring file to use?19:25
sykebenXRight now it seems to want to use /etc/ceph/ceph.client.cinder.keyring - but for my purposes, I'd like it to use /etc/ceph/ceph.keyring19:25
jrossersykebenX: is it some ceph cluster that is external to your openstack-ansible deployment?19:26
sykebenXYes sir19:30
noonedeadpunkyou can actually store a keyring inside openstack_deploy folder and supply it for cinder19:30
noonedeadpunkand define `ceph_keyrings_dir`19:31
jrosserthere is a good bunch of documentation for integrating external ceph here https://docs.openstack.org/openstack-ansible-ceph_client/latest/19:31
noonedeadpunkhttps://opendev.org/openstack/openstack-ansible-ceph_client/src/branch/master/releasenotes/notes/ceph_keyrings_in_files-7d6a01e64861f8c6.yaml#L419:32
sykebenXI see. Currently, I'm not using the ceph_client role. I was having some issues with the ceph.conf and keyrings for some reason (need to look further into it), but for now since I'm not using that role, would the `ceph_keyrings_dir` do anything?19:32
jrosserit would be better that we fix your issue :)19:33
sykebenXhaha I figured that too! Let me gather my notes and I'll see about providing the specifics here or in a issue ticket (whichever is preferred)19:34
noonedeadpunksykebenX: well, you kind of "have to" use it19:34
noonedeadpunkas otherwise nova won't be happy19:34
jrosserbut to answer your question ceph_keyrings_dir is used inside the ceph_client role19:34
noonedeadpunkrole does apply required symlinks into nove venv to make it properly load ceph modules19:35
jrosseroh yes this is suuuper important19:35
sykebenXRight now I have a post-openstack hook I created which configures libvirt and sets up all the clients and keyrings for me, but it was intentionally a workaround until I figure out what I'm doing wrong with the ceph_client role19:39
sykebenXA lot of it is sadly redundant when I look at the ceph_client role... again, just a workaround though for now lol19:40
noonedeadpunkit's getting slightly late here, so I will sign out soon, but feel free to fire failures in some paste and we will try to help you sort out them19:41
sykebenXAppreciate that jrosser and noonedeadpunk! Thanks for all your help so far. Have a good evening19:42
noonedeadpunksure, take care!19:42
jrosserno problem - theres most activity here eu timezone / working hours fwiw19:52

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!