Sunday, 2023-04-23

opendevreviewMerged openstack/openstack-ansible master: Revert "Skip haproxy with setup-infrastructure for upgrades"  https://review.opendev.org/c/openstack/openstack-ansible/+/88009116:51
psyminI assume the most common target OS is Ubuntu 22 server?  If not, which one is the most common?18:17
jrosserpsymin: we test on ubuntu, debian, rocky linux18:41
jrosserpsymin: you can look at the CI jobs we run here http://bit.ly/osa-review-board-v4_118:42
jrosserpick any of the patches to the openstack-ansible repo like this one https://review.opendev.org/c/openstack/openstack-ansible/+/88103018:42
jrosseractually this is a better example https://review.opendev.org/c/openstack/openstack-ansible/+/88009118:43
jrosserthen click "zuul summary" and you can look at the logs and collected files for any of those jobs on various operating systems18:43
jrosserit is probably true that "most people" are deploying on ubuntu18:44
psyminthanks :)18:46
jrosserpsymin: did you fix your error "No package centos-release-gluster9 available"?19:20
jrossermy guess would be you were doing a deployment that expected rocky9 (master branch maybe?) on a rocky8 system19:21
psyminjrosser, I did not.  Targets were rocky 9 servers.19:21
psyminI'm installing ubuntu 22.04.2 server alongside these on separate disks to test a similar deployment on a more common OS19:21
jrosserwell if it does not behave as documented thats a bug, and we should investigate19:22
jrosserthe testing is done on "cloud images" exactly like you'd boot in a cloud provider rather than installations with the OS installer19:22
jrosserso small differences can creep in19:22
jrosserthe glusterfs part of the repos for RH-like OS should have been enabled with this https://github.com/openstack/openstack-ansible-plugins/blob/master/roles/glusterfs/vars/redhat.yml#L1719:24
psyminI'm open to helping.  If the ubuntu 22.04.2 targets work with less friction I might use it instead of rocky.  But I could help after that by deploying openstack-ansible to some VMs on an ubuntu 22 openstack ansible deployment?19:24
jrosserwell, i mean more that we test the glusterfs stuff today on rocky9, and it has to pass tests to merge every single patch we make19:25
jrosserso if there is something different to the test jobs "in the wild" then thats worth knowing about19:26
psyminI have a log of the output somewhere.  The target servers are all booted ubuntu 22 at the moment, so I couldn't test any changes for a bit.19:26
psyminWhich info would be useful at the moment?19:27
jrosserseeing the log when it fails is useful, at least the failing task and the few before, perhaps putting them at paste.opendev.org and linking them here19:28
jrosserand certainly during EU working hours you'll probablt get some help to debug it here too19:29
psyminhttps://paste.opendev.org/show/bnOVBZ5O7zbCyZq5tl1Y/19:30
psyminrocky 9 deploy and target hosts19:30
psyminI dug briefly into this https://docs.rockylinux.org/guides/file_sharing/glusterfs/19:30
psyminadded the CentOS-Gluster-9.repo repo under the "installation" section, tried sudo dnf install centos-release-gluster9 with no luck.  Mentioned it to the rocky linux channel as well.19:32
NeilHanlonpsymin: i'm spinning up my multi-node lab to double what you're doing.. gimme an hour or so19:44
psyminNeilHanlon, my config is almost identitcal to yours, lvm, iscsi, but different private networks, and some kludging for mtus19:51
psyminfor ubuntu 22, am I going to be shooting myself in the foot by installing network-manager to get nmcli?  (to make the bridge setup experience more similar to rocky)19:52
psyminanother minor issue I saw when deploying to rocky was this regarding sysctl, but rebooting the targets and trying again got past it https://paste.opendev.org/show/bexbc72iQkT1OrajJSWD/19:55
psyminrocky 9.1 ansible zed19:56
jrosserpsymin: it would be pretty unusual to use network-manager on ubuntu20:45
psyminI learned the netplan way :) it was simple enough20:45
psyminubuntu 22.04.2 server, openstack Zed, issue with setup-infrastructure.yml during "TASK [python_venv_build : Upgrade pip/setuptools/wheel to the versions we want] ***"  Digging a bit.  https://paste.opendev.org/show/b5glJhy1dGxXRCMV2ygE/21:44
psyminchanged mtu in container to 1464 and re-ran, that time it worked22:01
jrosserwhy do you need these odd mtu?22:02
jrossersounds like PPPoE22:04
psyminI'm sure it is a misconfiguration somewhere on a network element I don't have access to change at the moment.22:07
jrosserif you have unwise ICMP filtering them PMTUD can get broken and lead to this sort of thing22:07
psymintomorrow I'll have it looked at22:07
psymin setup-openstack.yml https://paste.opendev.org/show/bfBQbeYLmYez49fJ9sNd/  retrying22:08
jrosser3 way tcp handshake completes with tiny packets but first payload > MTU will break22:09
* psymin nods.22:09
jrossershould check that the galera backend is up according to haproxy (the db connection is via the loadbalancer)22:11
jrosserthere’s a healthcheck run by the LB against the db host over http22:11
jrosserand a range of allowed IP for that which might need adjusting22:12
* jrosser sleep time22:12
psyminthank you :)22:13
psyminI wonder where I could change the variable no_log to false to get more info22:18
psyminlooks like the galena container is connected properly to haproxy and I can query it (with a permissions error, properly since I dont have permissions) on the haproxy IP.22:20
psyminI changed that no_log variable to false: "A MySQL module is required: for Python 2.7 either PyMySQL, or MySQL-python, or for Python 3.X mysqlclient or PyMySQL. Consider setting ansible_python_interpreter to use the intended Python version."22:36
psyminsounds like I need to manually do something like pip install mysqlclient on one of these containers?22:37
psyminOdd I think setting this "ansible_python_interpreter: "/usr/bin/python3"" might have done it.  in /etc/ansible/ansible_collections/openstack/osa/roles/db_setup/tasks/main.yml22:54
psyminmaking progresss, whew :) https://paste.opendev.org/show/bXyDEtCmnmpUpwsRBejt/23:05

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