Monday, 2023-01-30

prometheanfireoffhand... is there a playbook or something to clear out old venvs (old install, updated 6 or so times, the lvm parts per container are getting a bit full)05:08
*** akahat|rover is now known as akahat07:05
jrosserprometheanfire: https://github.com/openstack/openstack-ansible-ops/blob/master/ansible_tools/playbooks/cleanup-venvs.yml08:15
jrosserprometheanfire: ymmv as it's the ops repo so best to test first08:15
ThiagoCMCMorning, folks! I'm seeing a problem with `dynamic_inventory.py` on CentOS 9 Stream, OSA `stable/zed`. It returns "hosts (0)". The very same `/etc/openstack_deploy` directory works on Ubuntu 20.04. Detailed error output: https://paste.openstack.org/show/bIGlB1G4R293ymbnhz40/ - Please, advise.10:47
*** dviroel_ is now known as dviroel|rover11:24
jrosserThiagoCMC: you can run the dynamic inventory script standalong (without ansible) to see if there is any further useful error messages13:00
jrosseralso it has a `--debug` which produces tons of output13:00
ThiagoCMCjrosser, hello! Yes, if I run `/opt/openstack-ansible/inventory/dynamic_inventory.py --list` it outputs the JSON.13:03
ThiagoCMCbut it looks like that `ansible -i ...` is not running the Python script, instead, it looks like it's passing the Python script straight to `ansible`, hence the output "dynamic_inventory.py:18: Expected key=value host variable assignment, got: argparse".13:04
jrosserwell i don't have a centos-9s system to try this on13:05
jrosserbut it would be interesting to know if the same happens on a fresh AIO after doing bootstrap-aio.sh13:05
ThiagoCMCSure, I'll try that. BTW, I also tried on Oracle Linux 9, same result.13:06
jrosserbut otherwise the OSA playbooks are working, or is it all broken?13:07
ThiagoCMCIt's broken (on RH9-based distros, AFAIK), it doesn't pass past the `scripts/bootstrap-ansible.sh`, because it can't find any hosts.13:07
ThiagoCMCNot even "ping all" works13:08
ThiagoCMCThe `openstack-ansible setup-hosts.yml` after `scripts/bootstrap-aio.sh` seems to be proceeding (Oracle Linux 9), however, it printed: "[WARNING]: Unable to parse /etc/openstack_deploy/inventory.ini as an inventory source". - https://paste.openstack.org/show/bjefQxNkG3BOr2fkYmEl/ - I'll try again from scratch on CentOS 9 Stream.13:17
jrosserbut thats a warning, not an error?13:29
ThiagoCMCYes, it's only a warning. I'll reinstall the serves and try again, first AIO, then, multi-server.13:31
jrosserremember that you can look in any of the OSA CI jobs for centos-9 to see what happens13:33
ThiagoCMCSure! Can you share the link?13:34
jrosserhttp://bit.ly/osa-review-board-v4_113:34
ThiagoCMCThanks13:36
ThiagoCMCjrosser, I tried again from scratch, same problem (multi-node): https://paste.openstack.org/show/bJduUu4jPRSyQppV5mD3/ - I'll try again AIO.15:18
jrosserThiagoCMC: now i look again `[WARNING]: Unable to parse /opt/openstack-ansible/inventory/dynamic_inventory.py as an inventory source`15:19
jrosser^ not good15:19
ThiagoCMCYeah, it's werid that exactly same procedure works on Ubuntu 20.04, but not on CentOS 9.15:19
ThiagoCMCNot sure how Ansible is even seeing that "got argparse"!15:20
jrosserwell thats the first code in the script15:20
jrosser`import argparse`15:20
ThiagoCMCBut it was supposed to be executed, so Ansible would only see its output, not its contents.15:21
ThiagoCMCRight?15:21
jrosserindeed15:21
ThiagoCMCYeah, weird... lol15:21
jrossernot some selinux wierdness?15:22
jrosserwhere is your centos-9 from? the best i can do is try a centos-9 cloud image15:22
ThiagoCMCHmm... Let me double-check.15:22
ThiagoCMCCentOS 9 Stream ISO full install15:23
jrosserhmm that won't really be the same15:23
jrosserwell, or is not necessarily the same15:23
ThiagoCMCBut I'm installing in bare metal machines with BMC, kind hard to use the cloud-based images.15:25
ThiagoCMCAnd it isn't the SELINUX, it's disabled.15:25
jrosseroh sure yes, i mean more that i have no centos at all so the best i could to to look at it is try a cloud image15:25
ThiagoCMCIt's okay, don't worry about it... Thanks!  ^_^15:26
ThiagoCMCWith Ubuntu, everything just works... lol15:27
ThiagoCMCBut I need to learn this on CentOS too.   :-/15:27
jrosserThiagoCMC: sorry :( https://paste.opendev.org/show/bHPrGL4839dl28XRWNep/15:59
ThiagoCMCYeah, the problem seems to be with multi-node, not AIO. I'll keep trying...16:03
ThiagoCMCPerhaps OSA AIO should actually be a multi-node but, all-in-one. If you know what I mean...   lol16:04
jrosserit could be an error in your inventory that only appears with python3.916:04
jrosserwell there is a multinode-aio in the openstack-ansible-ops repo16:04
ThiagoCMCHmm...16:04
jrosserlike data error16:05
jrosserand tbh you should be able to boostrap a vm as a deploy node and drop the /etc/openstack_deploy in and just try the ping playbook16:05
jrosserit should not matter if it's actually a multinode deploy or not just to try --list-hosts16:06
ThiagoCMCI'm kind of doing that! I have a `/etc/openstack_deploy` as a tarball, that I can easily use to "setup-everything" in Ubuntu 20.04, over and over.16:10
ThiagoCMCHowver, when I use the same "openstack_deploy tarball in CentOS 9, it fails.16:10
ThiagoCMCI appreciate your input! I'll keep digging  :-)16:11
*** dviroel|rover is now known as dviroel|rover|lunch16:15
*** dviroel|rover|lunch is now known as dviroel|rover17:20
opendevreviewJonathan Rosser proposed openstack/ansible-role-uwsgi master: Allow extra arguments to be passed to the uwsgi application through pyargv  https://review.opendev.org/c/openstack/ansible-role-uwsgi/+/87219517:36
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-os_neutron master: Ensure that all neutron config files are used when deployed with uwsgi  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/87219917:48
opendevreviewJonathan Rosser proposed openstack/ansible-role-uwsgi master: Allow extra arguments to be passed to the uwsgi application through pyargv  https://review.opendev.org/c/openstack/ansible-role-uwsgi/+/87219518:42
jrosserwell why would the hash of https://github.com/jhunt/hatop/archive/v0.8.0.tar.gz have changed all of a sudden19:24
mgariepyit changed? 19:32
jrossermy patches are all failing CI on a sha mismatch19:36
jrosserand I have a version from June on my laptop by chance which has the correct sha19:36
jrosserand download it today the sha is actually different19:37
jrossermgariepy: it says `The checksum for /opt/cache/files/v0.8.0.tar.gz did not match bcdab1664358ec83027957df11bbeb322df1a96d414a3ccc4e211532b82c4ad2; it was 74c65b1e3e4587f7ab2b54100d4acedeb250e5a06744182b1ca4f90dbdfdc980`19:42
mgariepyinteresting.. did they change the lib that generate the tar-gz ?20:45
jrossercould be yes21:29
jrosseri compared the contents and they look identical21:30
*** dviroel|rover is now known as dviroel|out21:54

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