Saturday, 2023-01-07

darmanI ran `setup-everything.yml`; Do you know in which step I'm getting this error: https://pastebin.ubuntu.com/p/H2zKYN6MZy/ (setup-hosts, setup-infra, setup-openstack)?04:19
darmanIn `openstack_user_config.yml`, I have set: cidr_networks:   container: 10.0.0.128/26, but it's assigning IPs between 10.0.0.1-128 while it should start from 129! /etc/hosts: https://pastebin.ubuntu.com/p/SYt29FxmhF/04:38
jrosserdarman: "503 Service Unavailable" is again there is a backend down on haproxy09:27
jrosserdarman: you can use codesearch to find where those messages come from like this https://codesearch.opendev.org/?q=Get%20list%20of%20repo%20packages09:30
jrosserwhich takes you here https://opendev.org/openstack/openstack-ansible/src/branch/master/playbooks/utility-install.yml#L11109:31
darman> it should start from 12909:35
darmanSolved as It's necessary to remove the `inventory.json` file from /etc/openstack_deploy directory09:36
darmanIt was using from the previous IP assigning list.09:37
darmanWhen you install something by `apt`, it has a progress bar showing you the download speed of the package(s). But, by the openstack-ansible, it does not show anything related to the speed of downloading stuff09:39
darmanAny trick to enable the progress bar? It takes too long and I think there's something there related to the internet. We, the storage team and I, checked the disk IOPs and latency, everything is normal09:41
jrosserdarman: that is not openstack-ansible, that is just ansible itself10:49
jrosserand it uses the apt python bindings, not the apt command directly10:49
jrosseransible in general is not able to provide any feedback during the execution of a task, only at completion10:49
jrosserdarman: for information about adjusting inventory.json please see https://docs.openstack.org/openstack-ansible/latest/reference/inventory/manage-inventory.html10:51
admin1boostrap ansible gave me an error .. --- 25.2.0  -> https://paste.openstack.org/show/beicaN0djeZttA0mwcns/ 13:57
admin1its a brand new server .. fresh jammy install .. 13:57
admin1sed: -e expression #1, char 48: unterminated `s' command14:00
admin1Line 386 in the paste 14:00
jrosseradmin1: you are missing this patch https://github.com/openstack/openstack-ansible/commit/f933194813de9d18b89040fa8c5b80bcd0dd967c14:06
jrosseri.e that is already fixed on yoga14:07
admin1i have to upgrade a 24.0.x cluster today .. i was planning to go to 25.2.0  .. what do you recommend ? 14:08
admin1go to 26.0.0 ? 14:08
jrosser26.x is zed?14:09
admin1can't we add that patch and make it  25.2.1 so that we know at least this works 14:09
admin1coz right now, we have a tagged version that breaks even at run 14:09
jrosserright?14:09
admin126 is zed 14:09
jrosserso use a git SHA or stable/yoga instead14:09
admin1last letter of the alphabet :D 14:09
jrosserthere is nothing at all magical about a tag14:10
jrosserit has no more weight to it than any other commit on the branch14:10
admin1i  tend to do upgrades based on tag .. beacuse then i know exactly what is in which version 14:10
jrosserbut you know what is in each version for each commit14:10
admin1will switch to stable/yoga  14:10
jrossera tag is just a shorthand for a git SHA14:10
jrosserlike a pointer14:10
admin1yes, but stable/yoga might have more shas and then then 2 clusters will be in diff shas right ? 14:11
jrosserfor what?14:11
admin1vs using a tag and doing test on it, then you guarantee that all clusters are exactly the same with the same patch at any given moment in time .. even if its done 4 months back 14:11
jrosseropenstack-ansible, or the services?14:11
admin1i guess for both . 14:12
jrossernothing stops you writing down the commit you used for a deployment, then re-using that again somewhere else14:12
jrosserthats really all a tag is14:12
admin1can i upgrade from 24.0 to stable/zed directly ? 14:13
jrosseri have no idea14:13
jrosserthats X->Z?14:13
admin1yeah14:13
jrosserwell as you know then only thing we test in CI is N-1 -> N currently14:14
admin1i will stick to stable/yoga 14:14
jrosserwell, the thing is you can guarantee that stable/yoga *is* a thing that is potentially different every time you use it14:14
jrosserwhich is what you were concerned about14:15
jrosseras it is "the head of the branch" rather than any specific point14:15
admin1right .. 14:15
admin1exactly 14:15
jrosserwhich is why i suggest to use a git sha14:15
jrosseryou know that when you do `git log` and it shows you the commit hash, you can use the git hash as a thing to check out?14:16
jrosserthat will always be the same14:16
admin1that is one way   14:16
jrosserright, and in the absence of a tag that includes the patch you need is the best way to ensure you get repeatability14:16
jrosseror you fork the OSA repo yourself and apply your own tag14:17
admin1tags does the same, except i don't have to keep track of the sha in my side and the tag itself does that .. tags have not failed us since 2016 :) .. just this one time on 25.2.0 14:44
admin1seems like even on stable/yoga i have to apply that patch 14:46
admin1this is strange .. 2 days ago i did 25.2.0 and nothing broke .. ( where I mentioned  git missing in repo ) .. 14:49
admin1both times, servers are 22.04 14:49
admin1issue is something else ..same tag 25.2.0  .. same sha, 2 days apart ..   one worked fine, one gives error ..  ( both are done by the same deployment script , 22.04.1 LTS ) 14:52
admin1jrosser, is current OSA version supposed to return 25.2.0 there ? 14:56
admin1the version is returned fine in both 14:57
admin1hmm.. intresting 14:57
admin1not sure whats different now14:58
admin1new error:  Clone the role ansible-role-requirements => ERROR! Invalid play strategy specified: openstack.osa.linear   The error appears to be in '/opt/openstack-ansible/scripts/get-ansible-collection-requirements.yml': line 16, column 3,  15:03
jrosserits not that a tag has failed you15:03
admin1https://paste.openstack.org/show/bh9D66ZSM4DaiUUTpGcu/15:03
jrosserOSA is not responsible for things like releases of setuptools or pbr15:03
admin1i understand 15:03
jrosserif those change underneath us in a way that breaks the boostrap scripts then lots of tags won't work any more15:03
admin1something is causing bootstrap-ansible to break in identical setup where it worked before15:04
admin1and when I meant identical, in a ubuntu 22.04.1 LTS with minimal install with ssh and python 15:04
admin1that too, in the deploy and not even setup-hosts 15:04
jrosserlike i say it will be a release of setuptools if you run into the error you pasted before15:05
admin1the 2nd error also related to that ? 15:06
jrosserno15:06
admin1that error came after I made changes to the patch you mentioned 15:06
jrosserhttps://review.opendev.org/c/openstack/openstack-ansible/+/86827315:06
admin1now worked15:09
admin1after those 2 patches15:09
admin1thanks jrosser . .. i still need to figure out the difference in my side 15:09
admin1on what happened 15:09
admin1aio scenario aio_ceph fails on  ceph-config : run 'ceph-volume lvm list' to see how many osds have already been created => atal: [aio1]: FAILED! => {"changed": false, "cmd": "ceph-volume --cluster ceph lvm list --format=json", "msg": "[Errno 2] No such file or directory: b'ceph-volume'" .. is  this a known issue ? 17:24
admin1seems like apt-install ceph-volume on the host seems to have fixed it .. 18:03
jrosseradmin1: you can see ceph-volume installed here https://zuul.opendev.org/t/openstack/build/4edfe61423244221bd5c05fb77d8f0d9/log/logs/host/apt/history.log.txt#5118:46

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