Wednesday, 2021-02-03

*** cshen has quit IRC00:09
*** ianychoi__ has joined #openstack-ansible00:14
*** tosky has quit IRC00:15
*** ianychoi_ has quit IRC00:17
*** cp-- has quit IRC00:50
*** cp- has joined #openstack-ansible00:51
spateljrosser i found it why journalbeat overriding origin hostname :)00:56
spatelprocessor:  - add_observer_metadata: ~. fixed my issue00:57
spatelby default journalbeat think i am the origin of all logs but when you process external journal file then you need to preserve information using that setting00:58
*** cshen has joined #openstack-ansible01:02
*** cshen has quit IRC01:07
*** klamath_atx has joined #openstack-ansible02:05
*** cshen has joined #openstack-ansible03:02
*** klamath_atx has quit IRC03:05
*** cshen has quit IRC03:07
*** macz_ has quit IRC03:12
*** d34dh0r53 has quit IRC03:47
*** d34dh0r53 has joined #openstack-ansible03:48
*** d34dh0r53 has quit IRC03:48
*** d34dh0r53 has joined #openstack-ansible03:49
*** d34dh0r53 has quit IRC03:49
*** d34dh0r53 has joined #openstack-ansible03:53
*** d34dh0r53 has quit IRC03:55
*** d34dh0r53 has joined #openstack-ansible03:56
*** d34dh0r53 has quit IRC03:56
*** d34dh0r53 has joined #openstack-ansible03:57
*** d34dh0r53 has quit IRC03:57
*** d34dh0r53 has joined #openstack-ansible03:58
*** d34dh0r53 has quit IRC03:58
*** d34dh0r53 has joined #openstack-ansible03:59
*** spatel has quit IRC04:13
*** spatel has joined #openstack-ansible04:14
*** zul has quit IRC04:16
*** spatel has quit IRC04:24
*** spatel has joined #openstack-ansible04:24
*** lemko2 has joined #openstack-ansible04:28
*** lemko has quit IRC04:29
*** lemko2 is now known as lemko04:29
*** spatel has quit IRC04:34
*** cshen has joined #openstack-ansible05:03
*** hamzaachi has joined #openstack-ansible05:05
*** cshen has quit IRC05:07
*** macz_ has joined #openstack-ansible05:15
*** macz_ has quit IRC05:20
*** evrardjp has quit IRC05:33
*** evrardjp has joined #openstack-ansible05:33
*** lemko has quit IRC05:46
*** lemko7 has joined #openstack-ansible05:46
*** hamzaachi has quit IRC05:54
*** cshen has joined #openstack-ansible06:00
*** yasemind has joined #openstack-ansible06:01
yasemindhi, i want to install trove (database as a service ) with OSA, which version I use it ? Which one is stable ? any idea ?06:04
*** cshen has quit IRC06:04
*** klamath_atx has joined #openstack-ansible06:11
*** cshen has joined #openstack-ansible06:13
*** cshen has quit IRC06:17
*** dasp has joined #openstack-ansible07:00
*** dasp_ has quit IRC07:01
*** shyamb has joined #openstack-ansible07:07
*** cshen has joined #openstack-ansible07:07
*** hamzaachi has joined #openstack-ansible07:24
*** shyamb has quit IRC07:25
*** hamzaachi has quit IRC07:41
*** shyamb has joined #openstack-ansible07:50
noonedeadpunkI think trove is in a bad shape atm but not sure - you can try it out08:00
noonedeadpunkI should have try out trove in January but more important stuff raised08:01
*** miloa has joined #openstack-ansible08:01
*** jbadiapa has joined #openstack-ansible08:05
noonedeadpunkI think there are 2 tricky things - you need a dedicated network and a bridge the same way is described for octavia, and access for instances to rabbit. So you will need either to attach this network to rabbit containers or deploy some independant rabbit for interaction with trove worker instances only08:05
*** yasemind has quit IRC08:10
*** yasemind has joined #openstack-ansible08:13
*** andrewbonney has joined #openstack-ansible08:19
*** macz_ has joined #openstack-ansible08:23
*** macz_ has quit IRC08:27
openstackgerritDmitriy Rabotyagov proposed openstack/openstack-ansible stable/victoria: Return centos-8 jobs to voting  https://review.opendev.org/c/openstack/openstack-ansible/+/77339308:33
yasemindnoonedeadpunk Do I use master branch ? I think trove is challenging 😰08:36
noonedeadpunkwe haven't changed it in a while anyway08:37
yasemindmaybe ussuri version is working08:38
noonedeadpunkwell role is passing. but what it configures is really question08:38
*** shyamb has quit IRC08:39
jrossermorning08:39
*** tosky has joined #openstack-ansible08:40
*** rpittau|afk is now known as rpittau08:41
CeeMaco/08:45
*** maharg101 has joined #openstack-ansible08:45
noonedeadpunk\o/08:45
*** ierdem has joined #openstack-ansible08:56
*** maharg101 has quit IRC08:57
ierdemHi everyone, I am encountering this error when I try to launch instance http://paste.openstack.org/show/802272/ . I checked NFS mounts permissions and owner of files is nova.  I am using OSA-Stable/Ussuri on Ubuntu 18.0408:58
*** shyamb has joined #openstack-ansible09:01
jrossernoonedeadpunk: your ansible-hardening patches failing on bionic is quite odd09:07
jrosserseems different things are enabled between bionic/focal09:08
jrosserthese tasks run on bionic but are skipped on focal https://codesearch.opendev.org/?q=security_rhel7_remove_shosts_files09:08
* jrosser looks suspiciously at the bool filter again.....09:09
jrosserfilter/test09:09
jrosserhrrm it's not that actually, its run multiple times somehow09:13
*** yasemind has quit IRC09:15
openstackgerritJonathan Rosser proposed openstack/ansible-hardening master: Use doc8 for documentation generation  https://review.opendev.org/c/openstack/ansible-hardening/+/71028409:20
*** shyam89 has joined #openstack-ansible09:23
*** shyamb has quit IRC09:25
*** shyam89 has quit IRC09:27
*** yasemind has joined #openstack-ansible09:28
*** yasemind has quit IRC09:28
openstackgerritMerged openstack/ansible-hardening master: Fix linter errors  https://review.opendev.org/c/openstack/ansible-hardening/+/77148109:35
openstackgerritJonathan Rosser proposed openstack/ansible-hardening stable/victoria: Fix linter errors  https://review.opendev.org/c/openstack/ansible-hardening/+/77367209:37
openstackgerritJonathan Rosser proposed openstack/ansible-hardening stable/victoria: Update .gitreview for stable/victoria  https://review.opendev.org/c/openstack/ansible-hardening/+/76776609:38
openstackgerritJonathan Rosser proposed openstack/ansible-hardening stable/victoria: Update TOX_CONSTRAINTS_FILE for stable/victoria  https://review.opendev.org/c/openstack/ansible-hardening/+/76776709:38
*** shyamb has joined #openstack-ansible09:41
noonedeadpunkjrosser: I saw this happening on buster as well09:46
ierdem I am encountering this error when I try to launch instance http://paste.openstack.org/show/802272/ . I checked NFS mounts permissions and owner of files is nova.  I am using OSA-Stable/Ussuri on Ubuntu 18.04. Can you help me please?09:46
noonedeadpunkI guess it just depends on fs of the CI region since find just timeouts there I guess..09:47
jrosserwhat i was not really understanding is the same tasks appear to be run more that once in the test09:47
jrosserone skipped and one not09:47
noonedeadpunkas we technically should fail here https://zuul.opendev.org/t/openstack/build/52d64a59e7704613bb10401e23a6fa74/log/job-output.txt#358009:47
noonedeadpunkbecause it's run with check first time09:48
jrosseroooooh ok09:48
noonedeadpunkhttps://zuul.opendev.org/t/openstack/build/52d64a59e7704613bb10401e23a6fa74/log/job-output.txt#219909:48
noonedeadpunkI say it's run even 3 times - third one is idempotency09:48
jrosserthe find is really broad https://opendev.org/openstack/ansible-hardening/src/branch/master/tasks/rhel7stig/async_tasks.yml#L3809:50
noonedeadpunkyeah....09:50
jrosserit's maybe not legitimate to be scanning the entire fs?09:50
jrosserstopping it going in /lib and /usr/lib or something may make it much quicker09:51
noonedeadpunkwell yes09:51
noonedeadpunkagree09:51
noonedeadpunkas well as proc and sys09:51
noonedeadpunkwhere I think it might get hunged09:52
openstackgerritDmitriy Rabotyagov proposed openstack/openstack-ansible-tests master: Run Centos 8 and Focal in gates  https://review.opendev.org/c/openstack/openstack-ansible-tests/+/77386209:54
noonedeadpunkI'm wondering how we've missed that ^09:54
jrosseri'll see if theres something simple which reduces the runtime of that find09:54
openstackgerritMerged openstack/openstack-ansible-lxc_container_create stable/victoria: Fix formatting of LXC container config files  https://review.opendev.org/c/openstack/openstack-ansible-lxc_container_create/+/77341609:57
*** shyamb has quit IRC10:00
*** shyamb has joined #openstack-ansible10:02
ierdemI solved http://paste.openstack.org/show/802272/ this problem. On nfs-server I mount nova path with this parameters (rw,sync,no_subtree_check) but it did not work. After I changed the parameters to (rw,sync,no_root_squash,fsid=0,subtree_check) these, it works now10:15
CeeMacis anyone else having problems with docs.openstack.org not loading?10:17
CeeMacor is it just me10:18
andrewbonneySame here. releases.openstack.org too10:19
andrewbonneySome chat in #opendev10:20
CeeMachmm, i'm not in that channel, i'll add it to my idling list10:21
fricklerI just restarted the apache2 there, should hopefully behave better now10:21
andrewbonneyThanks!10:27
openstackgerritAndrew Bonney proposed openstack/openstack-ansible-openstack_hosts master: Add hostname resolution to deploy host  https://review.opendev.org/c/openstack/openstack-ansible-openstack_hosts/+/77386810:30
*** sshnaidm|afk is now known as sshnaidm|ruck10:35
noonedeadpunkregarding venv_rebuild, I'm wondering if we can just drop this item https://opendev.org/openstack/ansible-role-python_venv_build/src/branch/master/tasks/python_venv_wheel_build.yml#L4810:40
noonedeadpunkbecause condition for rebuild is if any of these files are changed https://opendev.org/openstack/ansible-role-python_venv_build/src/branch/master/tasks/python_venv_wheel_build.yml#L12810:41
* noonedeadpunk testing10:42
openstackgerritJonathan Rosser proposed openstack/ansible-hardening master: Exclude system directories (/sys, /proc, /dev) from the shosts file search  https://review.opendev.org/c/openstack/ansible-hardening/+/77386910:43
jrossernoonedeadpunk: yes the wheels will always get rebuilt anyway as it's done in /tmp10:45
jrosserthe results are copied to that dir afterwards10:45
noonedeadpunkand the second result is that venv will be dropped https://opendev.org/openstack/ansible-role-python_venv_build/src/branch/master/tasks/python_venv_install.yml#L35-L4010:46
noonedeadpunkAm I missing smth again?10:46
jrosserwe did talk about splitting the var into two10:47
jrosserbecause venv_rebuild != flush_wheel_cache != wheel_rebuild10:47
noonedeadpunkyeah, ok10:47
noonedeadpunkbecause you don't need to drop venv as wheels got updated10:48
jrosserif everything is working properly, yes10:48
noonedeadpunkanother question - how appropriate that would be for backporting?10:48
jrosserright now it's hugely broken10:49
noonedeadpunkI mean dropping out just this item seems fine to backport10:49
noonedeadpunkand we can split vars for master?10:49
noonedeadpunkor just we should introduce new vars in train/ussuri?10:49
jrossereither is good i guess10:49
jrosseras it basically splits that task into two10:50
jrosserresult both ways is that directory is no longer deleted10:50
* noonedeadpunk goes to re-read bug report10:51
*** miloa has quit IRC11:31
*** shyamb has quit IRC11:33
*** shyamb has joined #openstack-ansible11:33
openstackgerritMerged openstack/openstack-ansible-os_zun stable/victoria: Prevent zun-wsproxy binding to all IP addresses  https://review.opendev.org/c/openstack/openstack-ansible-os_zun/+/77280611:45
*** pcaruana has quit IRC11:53
openstackgerritJonathan Rosser proposed openstack/ansible-hardening master: Exclude system directories (/sys, /proc, /dev) from the shosts file search  https://review.opendev.org/c/openstack/ansible-hardening/+/77386911:55
*** pcaruana has joined #openstack-ansible11:58
*** shyamb has quit IRC11:59
*** maharg101 has joined #openstack-ansible12:08
*** macz_ has joined #openstack-ansible12:20
*** macz_ has quit IRC12:24
*** MickyMan77 has joined #openstack-ansible12:48
*** SmearedBeard has joined #openstack-ansible12:55
*** MickyMan77 has quit IRC13:13
*** klamath_atx has quit IRC13:33
*** klamath_atx has joined #openstack-ansible13:41
*** zul has joined #openstack-ansible13:50
*** klamath_atx has quit IRC13:51
*** klamath_atx has joined #openstack-ansible13:58
*** klamath_atx has quit IRC14:03
*** klamath_atx has joined #openstack-ansible14:06
openstackgerritDmitriy Rabotyagov proposed openstack/openstack-ansible-os_neutron master: Fix neutron_keepalived_no_track default logic  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/77391614:23
*** klamath_atx has quit IRC14:23
openstackgerritDmitriy Rabotyagov proposed openstack/openstack-ansible-os_neutron master: Remove neutron_keepalived_no_track variable  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/77080814:25
*** akahat|rover is now known as akahat14:34
*** arxcruz is now known as arxcruz|ruck14:34
noonedeadpunkthis one we've catched on V with bionic so be aware in case you're not upgrading to 20.04  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/77391614:35
admin0is there an automatic way to build and test an aio ?14:37
openstackgerritMerged openstack/ansible-role-uwsgi master: [reno] Stop publishing release notes  https://review.opendev.org/c/openstack/ansible-role-uwsgi/+/77205914:37
noonedeadpunk./scripts/gate-check-commit.sh $SCENARIO deploy source14:37
admin0also in bootstrap (22.0.0) this fails: Clone git repos (parallel)]  ... is that something just in my case or others see it also ?14:37
noonedeadpunkI saw it as well on bionic lately14:38
noonedeadpunkdunno it worked previousy and I know kind of the reason, but I think git wasn't updated though....14:38
admin0https://gist.github.com/a1git/99029ee964ae5f437206daf16b967142 -- this is what  I see . i am on tag 22.0.0 , ubuntu 20.0414:39
noonedeadpunkit's because of that https://opendev.org/openstack/openstack-ansible/src/branch/master/scripts/get-ansible-role-requirements.yml#L13314:39
noonedeadpunksince force on newer git cli is not a supported option14:39
noonedeadpunkah, it's different14:40
noonedeadpunkyou need this https://review.opendev.org/c/openstack/openstack-ansible/+/77335214:40
admin0this is another one I see .. during bootstrap: https://gist.github.com/a1git/399b781599be7c490e8a5ab5450004ff14:41
openstackgerritDmitriy Rabotyagov proposed openstack/openstack-ansible master: Bootstrap lxc_net mtu for gate  https://review.opendev.org/c/openstack/openstack-ansible/+/55748414:42
noonedeadpunkthe same actually14:42
Underknowledgequick and dirty fix for the wrong commit SHA  ' sed -i 's/54f7983be281f88714cbc75d393efa637e37ce17/bc1cc666e4b404a6baf04884b10cd3f79c4b9aea/g' /opt/openstack-ansible/ansible-role-requirements.yml'14:52
*** d34dh0r53 has quit IRC15:01
*** d34dh0r53 has joined #openstack-ansible15:01
jrosserit's not the wrong SHA :)15:03
jrosserUnderknowledge: the way we make a point release is to 'bump' all those sha to the current tip of the relevant branch every two weeks and run a CI job, if that passes the new SHA become the ones in the openstack-ansible repo and are 'known good'15:07
admin0how come it passes the CI job and not my setup ?15:08
jrosserover the last two weeks ceph-ansible have merged >10 patches to their stable branch which broke our shallow clone with depth=10 when fetching the roles15:08
admin0or am i doing something wrong15:08
jrosserbecause on the day of the CI job that patch was the tip of the branch15:08
admin0but aren't the commits ( hashes) like unchangable (past) items and anything added on top of it should not affect it ?15:09
jrosserread the commit message on the patch that noonedeadpunk pasted https://review.opendev.org/c/openstack/openstack-ansible/+/77335215:09
jrosserwe do shallow clones15:09
admin0oh ..15:09
admin0can't we just do specific clones ?15:10
admin0like of the exact commit and not a depth15:10
openstackgerritMerged openstack/openstack-ansible stable/train: Bump SHAs for stable/train  https://review.opendev.org/c/openstack/openstack-ansible/+/77326515:12
* noonedeadpunk just finished first T->V upgrade15:13
jrossercool :)15:13
*** klamath_atx has joined #openstack-ansible15:14
UnderknowledgeOkok **currently non working SHA :D15:15
jrosserUnderknowledge: did you manage to get further than before with your installation?15:16
Underknowledgea little, a lot of trail and error. the SCENARIO's are a little confusing, ended at the last try with aio_nspawn_barbican_ceph_designate_magnum wanted from me brtfs.15:19
jrosserhmmm nspawn15:21
* jrosser needs to make that fail with a "don't use this" message15:21
Underknowledgenext try was with lxc ceph, where the nfs container apperantly didnt had a foler.  (wich it had) didnt bortherd further and currently trying (probably) lxc_barbican_designate_magnum, lost the overview wich scenarios I took now 😄15:22
jrosserjust FYI the SCENARIO env var is primarily a CI construct that gets auto populated with the single service being tested15:22
jrosserif you want anything fancier than that then boostrap-aio.sh is probably not for you and generating config by hand is better15:23
Underknowledgereimage! here I go again 😛15:25
jrosseraio with the default scenario is ideal for figuring out how everything is put together15:26
jrossernspawn is basically not really usable and needs removing from the code15:26
admin0jrosser, is there a variable to increase the depth ?15:41
admin0Underknowledge, barbican works fine . i have it with octavia15:41
jrosserthe way it is controlled is shown in that patch15:41
admin0i see it .  default_depth: 2015:42
openstackgerritMerged openstack/ansible-hardening master: Exclude system directories (/sys, /proc, /dev) from the shosts file search  https://review.opendev.org/c/openstack/ansible-hardening/+/77386915:52
mgariepynoonedeadpunk, T > V in one shot or you had to upgrade to U ?15:54
openstackgerritMerged openstack/ansible-hardening stable/victoria: Fix linter errors  https://review.opendev.org/c/openstack/ansible-hardening/+/77367215:56
openstackgerritMerged openstack/ansible-hardening stable/victoria: Update TOX_CONSTRAINTS_FILE for stable/victoria  https://review.opendev.org/c/openstack/ansible-hardening/+/76776715:56
openstackgerritMerged openstack/ansible-hardening stable/victoria: Update .gitreview for stable/victoria  https://review.opendev.org/c/openstack/ansible-hardening/+/76776615:56
noonedeadpunkmgariepy: in one shot15:58
mgariepyon which os ?15:58
noonedeadpunkbionic15:58
mgariepynice15:58
mgariepyany unexpected issue ?15:59
noonedeadpunkseveral bugs I've already pushed patches for but nothing severe16:00
mgariepycool16:01
*** macz_ has joined #openstack-ansible16:12
*** klamath_atx has quit IRC16:14
*** d34dh0r53 has quit IRC16:18
*** d34dh0r53 has joined #openstack-ansible16:19
*** SmearedBeard has quit IRC16:33
macz_Hi all, i'm running into an issue upgrading Pike > Queens16:37
macz_running setup-hosts is changing the /etc/hosts file for servers, and it's causing services to re-connect with a new hostname UUID. primarily the nova-compute agents, which is causing a lot of issues.  is there any way around the hosts name changes?16:38
*** spatel has joined #openstack-ansible16:39
*** klamath_atx has joined #openstack-ansible16:40
*** sshnaidm|ruck is now known as sshnaidm16:52
noonedeadpunkI can hardly recall tbh... things changed so dramatically since Q and P...17:03
jrosseri think the best place to start is the releasenotes because something that significant ought to be documented17:04
noonedeadpunkeventually I thought that it was same script that managed hosts file17:04
jrosseri have some memory of the hostnames previously not being valid dns names17:04
jrosserrfc<something-something-something>17:05
noonedeadpunkhttps://opendev.org/openstack/openstack-ansible-openstack_hosts/src/branch/stable/queens/templates/openstack-host-hostfile-setup.sh.j217:05
jrosseroh that does change subtly P->Q17:06
noonedeadpunkthere were 2 changes https://opendev.org/openstack/openstack-ansible-openstack_hosts/commit/32e44dc7bc8b977049ca887237c136b3ca98d757 and https://opendev.org/openstack/openstack-ansible-openstack_hosts/commit/62e039bd0d43e31d5f0aaba0ec6c99f8f3d4310a17:07
noonedeadpunkso second one seems like related17:08
*** ierdem has quit IRC17:13
*** spatel has quit IRC17:14
macz_thanks, yeah i found that change too.  I didn't see anything in the queens release notes about the hosts change though17:15
noonedeadpunkit was backported to queens:(17:16
noonedeadpunkI guess that's why there're no notes17:16
*** spatel has joined #openstack-ansible17:16
macz_oof :(17:18
noonedeadpunkbut I don't have any valid solution I guess17:18
noonedeadpunkI'm wondering why this changed so badly since there're conditions defined, when "${ANSHOSTNAME}" != "${RFCHOSTNAME}"17:20
openstackgerritMerged openstack/openstack-ansible-lxc_hosts master: Fix lxc_hosts_container_image_url condition  https://review.opendev.org/c/openstack/openstack-ansible-lxc_hosts/+/77378117:24
macz_dang. any hacky workaround? like set the commit to openstack-host-hostfile-setup.sh.j2 to one earlier?17:28
noonedeadpunkit will be adjusted later17:28
noonedeadpunkcan you please paste error or how does openstack compute service list look like?17:29
noonedeadpunkbecause it's hard to understand what exactly went wrong17:29
noonedeadpunkofc you can just manually place required lines in hosts files at the end of the day...17:29
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-lxc_hosts stable/victoria: Fix lxc_hosts_container_image_url condition  https://review.opendev.org/c/openstack/openstack-ansible-lxc_hosts/+/77391417:31
*** klamath_atx has quit IRC17:37
Underknowledge@admin0 you mean the AiO scenario?17:39
macz_i've done a rebuild so i dont have it live to grab a service list, but for instance nova agent hostnames changed from compute1.openstack.local to cmpt-1 after the run, and nova logs showed:17:39
macz_ "Error updating resources for node compute1.openstack.local.: ResourceProviderCreationFailed: Failed to create resource provider compute1.openstack.local"17:39
noonedeadpunkwell I think how ansible see hostnames depends on the order of names in /etc/hosts for 127.0.1.117:41
noonedeadpunkon compute nodes17:41
noonedeadpunkno maybe changing that will preserver behaviour in hosts files17:41
spatelnoonedeadpunk i have noticed very strange issue not all container mounting their journal to host /var/log/journal/17:42
spatelin my case only senlin and repo has /var/log/journal mounted but all other doesn't17:42
spatelinside container i found they don't have /var/log/journal directory17:43
spatelso default they are using /run/log/journal17:43
spatelare you aware of that issue?17:43
noonedeadpunkyou can verify how ansible will see hostnames with python cli, like python -c "import socket; print(socket.getfqdn)" or sdocket.gethostname17:43
noonedeadpunkspatel: I think andrewbonney has made a patch for that17:44
spatelis that patch part of victoria or under review?17:44
noonedeadpunkor maybe it was other issue17:44
spateli think we have different issue, i tried my best way to fix it in lab but it doesn't working. I have created /var/log/journal dir on container but still its not working17:46
spatelcan you see logs in your deployment on host ?17:46
jrosserspatel: do you see the dirtectories on the host with the machine-id?17:46
spatelhttp://paste.openstack.org/show/802287/17:46
jrosserbut inside those directories the content is stale or frozen?17:47
spatellook at that each 8.1M is container not able to mount17:47
openstackgerritMerged openstack/openstack-ansible-os_nova master: Fix nova_libvirt_images_rbd_pool check  https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/77373217:47
openstackgerritMerged openstack/openstack-ansible-os_senlin master: Remove unused variables from defaults  https://review.opendev.org/c/openstack/openstack-ansible-os_senlin/+/77125817:47
noonedeadpunkI just checked my current sandbox and it has  /var/log/journal everywhere...17:47
jrosserthe failure case which andrewbonney patched is that all the directories are present and so are the journal files17:47
jrosserbut the files are no longer being written to from inside the container17:48
spateljournalctl --file /var/log/journal/eb6f151cd5ee4fa1b1bf5c9801668efc/system.journal -f (this is showing all host journal content, they don't have application logs)17:48
jrosserso you get a different view inside/outside the container17:48
spateljrosser let me show you something.. hang on17:48
noonedeadpunkwell I don't see this happening for me right now...17:50
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_nova stable/victoria: Fix nova_libvirt_images_rbd_pool check  https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/77391517:51
noonedeadpunkneither for my upgraded deployment17:51
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_senlin stable/victoria: Remove unused variables from defaults  https://review.opendev.org/c/openstack/openstack-ansible-os_senlin/+/77395617:51
noonedeadpunkso I'd say no, I'm not aware of this happening :(17:51
spateljrosser check this out.. this is what going on - http://paste.openstack.org/show/802288/17:53
spatelMajority of container i don't have /var/log/journal directory so how does it mount.17:55
jrossersomeone else was here the other day asking about this17:55
spatelI tried to create that directory and stop/start container but still didn't mount that17:56
jrosserin particular the case of /run for where the journal is17:56
spatelsystemd-journal default use /var/log/journal but if that directory doesn't exist then it use /run/log/journal/17:56
noonedeadpunkhttp://paste.openstack.org/show/802289/17:57
spatelas soon as i created /var/log/journal directory on container it automatically started putting logs in /var/log/journal  (but not problem is i can't see that systemd.journal on host)17:57
noonedeadpunkI don't have /openstack/log/ mount though17:58
jrosserspatel: so on the host your journal stops at dec 18th?17:58
*** maharg101 has quit IRC17:58
spatelyes kind of17:59
spateli am not seeing any new logs or update on that file18:00
noonedeadpunkspatel: how dous mount look like inside container?18:00
jrosserright, so on december 18th something happend, likley you restart the containers for some reason18:00
jrosserand at that point seems like two different things maybe in play18:00
jrosserpossibly the aliasing of the journal directory mount18:00
spatelIf i create foo file inside this directory then it should be visible on host also file?  /var/log/journal/71b7cc49bbf342749eca8faa2ffc81b0/.18:00
jrosserand then the new journal file being in /run rather than /var18:00
spatelbut that is not the case.. look like it didn't mount that directory18:00
jrosserif the dir is correctly bind mounted yes18:01
spatellook at this error mesg - http://paste.openstack.org/show/802290/18:01
admin0Underknowledge, i meant on production18:02
spatelsomething else going on..18:02
jrosseryou may be the first trying this for real on a focal host18:03
noonedeadpunkspatel: well order of mount seems wrong, but that is an issue for a while18:03
noonedeadpunk(which should be covered in V though)18:03
spatelhmm18:03
spatelfor testing i did this - lxc.mount.entry = /var/log/foo var/log/foo none bind,create=dir 0 018:03
spatelit works, i can create file and they are visible on host18:04
spatelbut not working for /var/log/journal case18:04
noonedeadpunkso aio having it set like this lxc.mount.entry = /home/zuul/src openstack/src none bind,create=dir 0 018:04
noonedeadpunk* http://paste.openstack.org/show/802291/18:04
UnderknowledgeWould have wonderd otherwise, I think I tried that already. Barbican is also enabled on our production server. But no one uses it basically :D18:05
noonedeadpunkthat means you don't have octavia yet :p18:05
spatelnoonedeadpunk you are saying i should move var/log  to second position?18:07
UnderknowledgeSherlock! True18:07
spatellet me try and see18:07
noonedeadpunkspatel: I guess that shoud mount at least these two correctly https://review.opendev.org/c/openstack/openstack-ansible/+/77120518:08
*** rpittau is now known as rpittau|afk18:08
noonedeadpunkbut it's not in 22.0.0 afaik18:08
spatelnoonedeadpunk that works!!18:10
spatelwhen we will have that patch on victoria :)18:11
spatellook like very important piece of code18:11
noonedeadpunkit's in stable/victoria18:11
spatelI am running 22.0.0.0rc118:12
noonedeadpunkwill be included in 22.0.1 as well as more pretty nasty bug fixes18:12
spatelwhy its hard to backport single line code?18:13
spatelThis is just order issue right not something impact functionality18:14
jrosserit already is backported18:14
jrosserlook in the link, the branch is stable/victoria18:14
spatelI can see it :)  - https://review.opendev.org/q/project:openstack%252Fopenstack-ansible+branch:stable%252Fvictoria+status:merged18:15
spatelThank you!18:16
noonedeadpunkcan I summon somebody for another vote on https://review.opendev.org/c/openstack/openstack-ansible/+/773377 ?18:16
spateljrosser i found my issue related journalbeat, not sure you have noticed my message yesterday or not18:17
noonedeadpunkmgariepy: if you're around :)18:17
spatelit was add_observer_metadata in journalbeat.yml file18:17
spatelafter that setting i can see original hostname of journal logs18:17
jrosserspatel: do you think we should add that as a default to the journalbeat.yml template in the ops repo?18:17
spatelthat would be great18:18
jrosseris that what you've used to deploy it?18:18
spateldefault journal use localhost name but with that setting it preserve remote hostname18:18
spatelYes i used that option with my deployment18:18
spatelhere - http://paste.openstack.org/show/802292/18:19
openstackgerritDmitriy Rabotyagov proposed openstack/openstack-ansible-os_neutron master: Implement uWSGI for neutron-api  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/48615618:20
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_keystone master: Allow OIDCClaimDelimiter to be set in the apache config file  https://review.opendev.org/c/openstack/openstack-ansible-os_keystone/+/77397818:21
*** d34dh0r53 has quit IRC18:22
openstackgerritDmitriy Rabotyagov proposed openstack/openstack-ansible-os_neutron master: Move neutron pip packages from constraints to requirements  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/77027618:22
*** d34dh0r53 has joined #openstack-ansible18:24
openstackgerritDmitriy Rabotyagov proposed openstack/openstack-ansible-os_neutron master: Switch neutron functional jobs to focal  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/77397918:27
jrossernoonedeadpunk: ^ feels like we are really really close to dropping those18:27
noonedeadpunkin favor of integrated?18:28
jrosserthe OVN integrated repo job already deploys OVS, so it's like a cut down version of that to do an OVS job18:28
noonedeadpunkyeah, might be worth it...18:28
jrosserthen we can lose the rest of those18:28
*** MickyMan77 has joined #openstack-ansible18:28
noonedeadpunkI eventually can recall them failing dramatically18:29
noonedeadpunkso decided to see the current state18:29
jrosseryeah, i was asking jamesdenton the other day if he had time to look at this18:30
noonedeadpunkwould be great if he could also take a look at https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/76272918:31
openstackgerritDmitriy Rabotyagov proposed openstack/ansible-role-python_venv_build master: Do not drop all wheels with venv_rebuild  https://review.opendev.org/c/openstack/ansible-role-python_venv_build/+/77398118:38
*** MickyMan77 has quit IRC18:40
spatelnoonedeadpunk are we going to continue support of centos-8?18:48
spatelif not then we don't need that patch for Add centos-8 support for ovs-dpdk18:48
noonedeadpunkdunno atm18:49
spatelcentos-8 will be dead after few month so we may start looking at RHEL or CentOS-Stream18:50
noonedeadpunkmaybe it will make sense to use cloudlinux fork of it or dunno18:50
noonedeadpunkor centos stream...18:51
spatelNow we can add RHEL in our CI job because now Redhat giving 15 server license free of cost18:51
noonedeadpunkI don;t think we can18:51
noonedeadpunkit means that somebody should issue the license and resource amount will be pretty limited18:51
noonedeadpunkit would depend on provider and so on so force18:52
spatel15 server lic is free for RHEL but anyway we can use CentOS Stream or may be rockylinux18:52
spatelnoonedeadpunk we have one more bug, i think few days ago i had issue where nova or neutron was failing when i was trying to add fresh new compute node. me and jrosser found something to wanted to verify with you18:57
spatelwhen i run openstack-ansible os-nova-install.yml -e venv_rebuild=yes then it whipping out /var/www/repo/os-releases/22.0.0.0b2.dev56/ubuntu-20.04-x86_64/ directory18:57
openstackgerritDmitriy Rabotyagov proposed openstack/ansible-role-python_venv_build master: Split venv_rebuild functionality  https://review.opendev.org/c/openstack/ansible-role-python_venv_build/+/77398418:57
noonedeadpunkjrosser: does it correlates with what you was thinking about? ^18:58
noonedeadpunkspatel: just posted https://review.opendev.org/c/openstack/ansible-role-python_venv_build/+/773981 that should cover this I guess18:58
noonedeadpunkif my assimptions are correct18:58
spatel:)18:58
spateldamn you are ahead of me18:58
noonedeadpunkat least in aio that helped me solving the issue18:58
spatellet me understand.. this patch won't whip out whole directory ? /var/www/repo/os-releases/22.0.0.0b2.dev56/ubuntu-20.04-x86_64/19:00
spatelproblem is when i use os-nova-install.yml then its removing neutron wheel files and when next time i run neutron it failed because wheel file is missing19:01
spatelbut anyway i can test this patch on my production where i am having that behavior19:02
jrossernoonedeadpunk: i think if we delete the wheels directory we have to delete all of the .txt files, not just for the current role19:03
noonedeadpunkI'd say we shouldn't delete it at all?19:05
jrosserthere perhaps is no good reason to have a flag to remove the wheel cache19:05
noonedeadpunkyeah I have no idea why this would be needed in any scenario19:06
jrosserodyssey4me: don't know if you are around but we are having issues with the behaviour of venv_rebuild=true19:06
noonedeadpunkbut what is might be needed to trigger wheels re-build for specific service19:06
noonedeadpunkand then removal of requirements and constraints files should be more then enough19:07
jrosserindeed19:07
noonedeadpunkto build new wheels and place them isntead of already present ones19:07
*** MickyMan77 has joined #openstack-ansible19:07
jrosserthey will get built in /tmp and copied to /var/www/blah19:07
noonedeadpunkyeah so the fix shoudl be as much as https://review.opendev.org/c/openstack/ansible-role-python_venv_build/+/773981/1/tasks/python_venv_wheel_build.yml imo19:08
noonedeadpunkand if we want to split behaviour of the venv and wheel rebuild then we need to introduce another var19:08
spatelwhy are we putting all wheels role in single directory? can't we create sub-directory based on roles?19:10
jrosserthere is a whole ton of common stuff19:10
noonedeadpunkanother question why do we use shell here https://opendev.org/openstack/ansible-role-python_venv_build/src/branch/master/tasks/python_venv_wheel_build.yml#L15819:10
noonedeadpunkI'd say we could use syncronize as well...19:12
noonedeadpunkbut whatever19:12
jrosseri expect it moves many files efficiently19:12
jrossersynchronise was always not good with delegate iirc19:12
noonedeadpunkah, indeed19:13
noonedeadpunkwith delegated host it changes soure19:13
noonedeadpunkor not...19:14
noonedeadpunkwhat's the difference? https://github.com/ansible-collections/ansible.posix/blob/main/plugins/modules/synchronize.py#L268-L27819:14
*** andrewbonney has quit IRC19:17
jrosserthis could always be historical in older ansible19:17
spateljrosser in openstack-ansible-ops we have {{ elk_macros.beat_processors(processors) }}19:19
spatelthat means we can override that option19:19
jrosserahha19:19
*** MickyMan77 has quit IRC19:20
odyssey4mejrosser o/ can you summarise the issue?19:20
noonedeadpunkI think it's pretty much https://bugs.launchpad.net/openstack-ansible/+bug/191430119:21
openstackLaunchpad bug 1914301 in openstack-ansible "passing venv_rebuild=true leaves repo server in unusable state" [Undecided,Confirmed]19:21
noonedeadpunko/19:21
jrossero/19:21
spatelnow my logs showing correct source :) I like journalbeat  - https://ibb.co/TRWsPYG19:21
odyssey4mehaha, oh lol - that subject is great19:21
noonedeadpunkand my suggestion was like that https://review.opendev.org/c/openstack/ansible-role-python_venv_build/+/77398119:21
odyssey4meyeah, that's legit IIRC19:22
odyssey4mehmm, let me think about that solution19:23
jrosserspatel: if you look at the logstash pipeline stuff you can make those req_id be first class fields in elasticsearch19:23
jrosserthen you can query for them across all the services trivially19:24
*** mmercer has joined #openstack-ansible19:24
odyssey4menoonedeadpunk jrosser https://review.opendev.org/c/openstack/ansible-role-python_venv_build/+/773981 seems sensible, the only caveat is that if you find you need to rebuild a specific wheel you'll have to go in there and remove it manually... this is typically only important if you're building something from a local fork19:25
spateltotally possible but in my case i don't have logstash (its graylog but look like we know what is the workaround here)19:25
noonedeadpunkand won't wheels just be moved there with overwriting destination? https://opendev.org/openstack/ansible-role-python_venv_build/src/branch/master/tasks/python_venv_wheel_build.yml#L15819:26
odyssey4menoonedeadpunk ah, fair point - I'd forgotten about that19:26
noonedeadpunkas we build wheels based on changed txt files? https://opendev.org/openstack/ansible-role-python_venv_build/src/branch/master/tasks/python_venv_wheel_build.yml#L12819:27
noonedeadpunkI'm pretty much afraid that I'm missing some purpose tbh...19:27
noonedeadpunkor usecase...19:27
*** gshippey has joined #openstack-ansible19:27
odyssey4menoonedeadpunk no you're right, I think... it's been a long time since I worked with this - sorry19:27
noonedeadpunkyeah, I really forget about stuff I made half a year ago...19:28
noonedeadpunkthanks for chiming in!19:29
spatelwe have workaround and everyone agreed right? that patch looks good so far19:35
spatelI can give it a try in my lab which is having same issue when i add new compute node :)19:35
spatelyesterday someone was asking about brbican-ui for horizon and i don't think we have that support. any reason we don't have that support or we never thought we need it ?19:47
*** maharg101 has joined #openstack-ansible19:55
*** maharg101 has quit IRC20:00
*** cshen has quit IRC20:31
*** cshen has joined #openstack-ansible20:36
*** sshnaidm is now known as sshnaidm|afk20:52
spotzspatel: My guess is it didn't exist when we added it. Maybe ask redrobot on the Barbican channel? I think he might have done the original work21:37
*** MickyMan77 has joined #openstack-ansible21:44
*** MickyMan77 has quit IRC21:48
*** maharg101 has joined #openstack-ansible21:56
*** maharg101 has quit IRC22:01
*** openstackgerrit has quit IRC22:11
*** gshippey has quit IRC22:27
*** cshen has quit IRC22:58
spatelspotz i will check with them, thank you23:06
*** spatel has quit IRC23:06
*** jbadiapa has quit IRC23:20
*** tosky has quit IRC23:54
*** maharg101 has joined #openstack-ansible23:57

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