opendevreview | Dmitriy Rabotyagov proposed openstack/openstack-ansible-plugins master: Add openstack_resources role skeleton https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/878794 | 06:22 |
---|---|---|
opendevreview | Dmitriy Rabotyagov proposed openstack/openstack-ansible-os_octavia master: Adopt for usage openstack_resources role https://review.opendev.org/c/openstack/openstack-ansible-os_octavia/+/889879 | 06:26 |
opendevreview | Dmitriy Rabotyagov proposed openstack/openstack-ansible-os_keystone master: Install distro_packages in pre-main https://review.opendev.org/c/openstack/openstack-ansible-os_keystone/+/889934 | 09:30 |
opendevreview | Dmitriy Rabotyagov proposed openstack/openstack-ansible-os_keystone master: Generate and distribute fernet keys from the last host https://review.opendev.org/c/openstack/openstack-ansible-os_keystone/+/889936 | 09:36 |
noonedeadpunk | folks - only one of these 2 patches should be merged | 09:37 |
opendevreview | Dmitriy Rabotyagov proposed openstack/openstack-ansible-os_keystone master: Install distro_packages in pre-main https://review.opendev.org/c/openstack/openstack-ansible-os_keystone/+/889934 | 09:38 |
opendevreview | Dmitriy Rabotyagov proposed openstack/openstack-ansible-os_keystone master: Generate and distribute fernet keys from the last host https://review.opendev.org/c/openstack/openstack-ansible-os_keystone/+/889936 | 09:39 |
opendevreview | Dmitriy Rabotyagov proposed openstack/openstack-ansible-os_keystone master: Install distro_packages in pre-main https://review.opendev.org/c/openstack/openstack-ansible-os_keystone/+/889934 | 09:39 |
opendevreview | Dmitriy Rabotyagov proposed openstack/openstack-ansible-os_keystone master: Install distro_packages in pre-main https://review.opendev.org/c/openstack/openstack-ansible-os_keystone/+/889934 | 09:40 |
noonedeadpunk | jrosser: unless you have already somehow sorted out ssh/rsync in a way I don't see? As looks like we test that in CI.... | 09:43 |
jrosser | noonedeadpunk: hi.... | 09:44 |
noonedeadpunk | I know you're off today.... | 09:44 |
noonedeadpunk | didn't intend to summon now | 09:44 |
jrosser | i think this is already fixed somehow (needing rsync up-front) | 09:45 |
jrosser | fwiw we test this already as one of the CI scenarios has 3x keystones specially for this | 09:45 |
jrosser | as i believe it came up already in the past as an issue | 09:45 |
noonedeadpunk | yeah.... | 09:45 |
noonedeadpunk | it's relatively fresh fix though... | 09:46 |
noonedeadpunk | though I don't really see how we isntall ssh/rsync themselves | 09:46 |
noonedeadpunk | Like I see https://review.opendev.org/c/openstack/openstack-ansible-os_keystone/+/843739/3/tasks/main_pre.yml but it doesn't care installing packages? | 09:47 |
noonedeadpunk | and what I hit was that sshd/rsync are simply missing... though it was on X | 09:48 |
* noonedeadpunk will try now in a sandbox | 09:48 | |
jrosser | maybe it is in openstack_hosts or somewhere less obvious | 09:50 |
noonedeadpunk | I hope we don't install rsync in openstack_hosts..... | 10:23 |
anskiy | hey! `log_hosts` group, which was removed here: https://opendev.org/openstack/openstack-ansible/commit/bc5428b21dda44ec9cb27528eeebaa4cd9cf895b is still in use by https://opendev.org/openstack/openstack-ansible-plugins/src/branch/master/roles/journald_remote/defaults/main.yml#L25 journald_remote role. I'm unsure on to what exactly this should be changed in case of a proper fix | 10:25 |
noonedeadpunk | anskiy: actually, if you add `log_hosts: aio1: ip: *.*.*.*` to openstack_user_config.yml - they will still be added to inventory and journald_remote will work | 10:28 |
noonedeadpunk | but maybe worth adding `journald_remote_group` as a variable | 10:29 |
anskiy | noonedeadpunk: it looks like doing so results in semi-broken inventory generated | 10:33 |
anskiy | like this one: https://paste.opendev.org/show/b9Ux1GpvCYY0UU6ghTJ6/ | 10:34 |
noonedeadpunk | anskiy: well, I never tried to specify _only_ them.... | 10:38 |
noonedeadpunk | or on metal deployment.... | 10:38 |
noonedeadpunk | another thing you can do - use /etc/openstack_deploy/inventory.ini and define log_hosts group there as a static one | 10:39 |
noonedeadpunk | as this is anyway not smth really managed with osa without rsyslog roles, it's basically just to define where to ship things | 10:40 |
anskiy | for now, I'm going to just remove `log_hosts` from `openstack_user_config` and add `journald_remote_targets` to `user_variables`, I think that this should work. | 10:41 |
noonedeadpunk | yeah, that will work as well:) | 10:42 |
anskiy | and with this change that `osa` host is now out completely of generated inventory, which is fine, I guess | 10:42 |
noonedeadpunk | jrosser: https://opendev.org/openstack/openstack-ansible-lxc_hosts/src/branch/master/vars/debian.yml#L51 /o\ | 10:49 |
opendevreview | Merged openstack/openstack-ansible-os_neutron master: Configure OVN NB and SB DB Connection probes https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/887192 | 10:54 |
opendevreview | Dmitriy Rabotyagov proposed openstack/openstack-ansible-os_neutron stable/2023.1: Configure OVN NB and SB DB Connection probes https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/889811 | 10:55 |
noonedeadpunk | arxcruz: Hey! We've prepared a change for the tempest role, that would require usage of a openstack_resources role, that's part of openstack-ansible-plugins: https://review.opendev.org/c/openstack/openstack-ansible-os_tempest/+/889741 | 10:59 |
noonedeadpunk | arxcruz: this will be quite breaking for tripleo unless you've managed stop tracking master | 11:00 |
noonedeadpunk | (or already install openstack-ansible-plugins as a collection) | 11:00 |
opendevreview | Dmitriy Rabotyagov proposed openstack/openstack-ansible-lxc_hosts master: Stop installing openssh and rsync to containers https://review.opendev.org/c/openstack/openstack-ansible-lxc_hosts/+/889945 | 11:06 |
opendevreview | Dmitriy Rabotyagov proposed openstack/openstack-ansible-os_keystone master: Install distro_packages in pre-main https://review.opendev.org/c/openstack/openstack-ansible-os_keystone/+/889934 | 11:06 |
opendevreview | Dmitriy Rabotyagov proposed openstack/openstack-ansible-os_keystone master: [DNM] Ensure that CI is happy about changes https://review.opendev.org/c/openstack/openstack-ansible-os_keystone/+/889946 | 11:08 |
opendevreview | Dmitriy Rabotyagov proposed openstack/openstack-ansible-os_octavia master: Adopt for usage openstack_resources role https://review.opendev.org/c/openstack/openstack-ansible-os_octavia/+/889879 | 11:19 |
anskiy | noonedeadpunk: so it has to be in inventory, and can't be only set up using variables, as on the host, which is in `journald_remote_targets` `journald_remote` role installs and configures journald for recieving logs. | 12:09 |
anskiy | so the your suggestion with setting up `log_hosts` in `inventory.ini` works | 12:11 |
noonedeadpunk | well I'd suggest just documenting what to set in inventory.ini. OFC we can add some env.d but given close to nobody want containers created on journald_remote - not sure how much sense this will make | 12:11 |
anskiy | yeah, on is_metal: true that looks much less convenient. Anyways, got your point, thank you. | 12:15 |
anskiy | s/less/more | 12:15 |
noonedeadpunk | well, is_metal: true can be default, like it is for neutron-agents or nova-compute, for example | 12:17 |
noonedeadpunk | with that it's worth saying, there were couple of issues with journald-remote on itself, iirc regarding vacuuming of logs | 12:21 |
anskiy | it does vacuum logs fine now, but, there are two issues: https://github.com/systemd/systemd/issues/5242 (it does not respect maxfilesize) and https://github.com/systemd/systemd/issues/8979 (prints `-- Reboot --`, when log source host changes in log stream, while viewing logs) | 12:35 |
anskiy | I've tried rebuilding the latest version of systemd on 20.04, but I do remember, that the first issue was fixed, it showed only one host in `-f` mode, the first, that outputted some logs. | 12:36 |
anskiy | but the first problem is actually fixes with simple crontab | 12:36 |
opendevreview | Andrew Bonney proposed openstack/openstack-ansible-haproxy_server master: Correct default Content-Type for security.txt https://review.opendev.org/c/openstack/openstack-ansible-haproxy_server/+/889971 | 13:11 |
anskiy | so the remote journald logging is not the best solution as it looks a little bit ugly, but it does the job okay. | 13:38 |
lsudre | Hi, im using OSA 27.0.0 and I got this bug https://bugs.launchpad.net/openstack-ansible/+bug/2002897 I don't really understand how to fix it | 13:53 |
noonedeadpunk | lsudre: so.... you have issue in horizon? | 14:09 |
lsudre | The task Add service User from this file line 68 /etc/ansible/ansible_collections/openstack/osa/roles/service_setup/tasks/main.yml FAILED | 14:25 |
lsudre | https://paste.openstack.org/show/bvLFcJerfn2KYEQFn8ty/ | 14:27 |
noonedeadpunk | wait, how is that related with the bug you've linked? | 14:28 |
lsudre | I don't know but when I tail -f /var/log/syslog I found this error, I don't know if its related | 14:29 |
noonedeadpunk | but to catch actual error you would need to re-run the playbook with `-e _service_setup_nolog=False` | 14:29 |
noonedeadpunk | When you're saing "I have this bug" and it's nothing in common - that looks pretty much confusing | 14:30 |
lsudre | Ok thanks I rerun it with the -e | 14:30 |
*** promethe- is now known as prometheanfire | 19:05 | |
opendevreview | Merged openstack/openstack-ansible-haproxy_server master: Correct default Content-Type for security.txt https://review.opendev.org/c/openstack/openstack-ansible-haproxy_server/+/889971 | 20:26 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!