Friday, 2022-06-24

*** ysandeep|out is now known as ysandeep01:59
opendevreviewMerged openstack/openstack-ansible master: Return facts gathering to pre_tasks for masakari  https://review.opendev.org/c/openstack/openstack-ansible/+/84658002:32
*** akahat is now known as akahat|ruck04:39
snadgei feel bad for telling this story, but i've been hacking away at a test deployment, chopping and changing config and running into various self inflicted problems.. after suffering what seems long enough, i decided not to skip the step of deploying an aio using the same version, just to get a better feel for it06:03
snadgebut its into a vsphere vm on a san (about 80GB allocated to it) .. and its been running for several hours06:05
snadgetelling this story made me think to check the allocated resources and i forgot i reduced that vm down to 1 cpu core because i wasn't using it anymore.. impressive :P06:07
*** arxcruz|rover is now known as arxcruz06:55
*** ysandeep is now known as ysandeep|afk07:11
snadgeits finally finished.. i set run tempest tests to false because i knew they likely wouldn't succeed.. but it still errored out in "os_tempest : List tempest tests" 07:49
snadge'NoneType' object is not iterable07:49
opendevreviewAdrien Cunin proposed openstack/openstack-ansible-galera_server master: Don't specific password in debian.cnf  https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/84753707:53
jrosser_snadge: please file a big report including the relevant output08:04
jrosser_bug report (!)08:05
Adri2000if any one experienced mariadb crashes in wallaby, please have a look at the bug report I just filed: https://bugs.launchpad.net/openstack-ansible/+bug/197972808:08
noonedeadpunkI'd say that worth bumping mariadb version anyway08:26
noonedeadpunkAt least because of CVEs mentioned here https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/84210608:26
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-galera_server stable/xena: Bump mariadb version.  https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/84743508:27
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-galera_server stable/xena: Bump mariadb version.  https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/84743508:27
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-galera_server stable/xena: Bump mariadb version.  https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/84743508:29
noonedeadpunkAdri2000: feel free to propose patch to upgrade mariadb version to 10.5.1608:31
noonedeadpunkAdri2000: also regarding https://bugs.launchpad.net/openstack-ansible/+bug/1979726 - I think that mysqlclient prioritizes socket over password. So even when password is set, it ignores it and tries socket auth firsth08:36
noonedeadpunkBecause if try using this file for client with passowrd, auth still will pass `mysql --defaults-file=/etc/mysql/debian.cnf`08:38
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-galera_server master: Do not place debian.cnf when root user not touched  https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/84754608:46
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-galera_server master: Switch galera_root_user default value  https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/84754708:48
*** ysandeep|afk is now known as ysandeep09:00
fanfihi, could sb help me pls. Looks like i need last ansible collection to install. I getting following error :ERROR! couldn't resolve module/action 'git_config'. This often indicates a misspelling, missing collection, or incorrect module path.09:22
noonedeadpunkfanfi: you get it in some of your custom playbook right?09:30
noonedeadpunkI beleive it should be part of community.general collection09:31
noonedeadpunkmaybe you should set it's name explicitly, like community.general.git_config ?09:31
fanfiyes i found it and install, but still getting the error 09:32
fanfii am still in bootstrap collection install step09:33
noonedeadpunkSo it occurs during bootstrap-ansible.sh execution?09:33
fanfiyes09:34
noonedeadpunkwhat version you're trying to boostrap?09:34
fanfiroot@deploy:/opt/openstack-ansible# git branch -a09:36
fanfi* master09:36
fanfi  remotes/origin/HEAD -> origin/master09:36
noonedeadpunkfanfi: what does `/opt/ansible-runtime/bin/ansible-galaxy collection list --collections-path /etc/ansible/` say?09:43
noonedeadpunkI can't reproduce that on test VM fwiw09:44
fanfihttps://paste.openstack.org/show/btIAtmB35YIWGJh4kAcS/09:47
noonedeadpunkfanfi: how you got `community.general         5.2.0 `?09:53
noonedeadpunkIt's set to 5.0.0 in https://opendev.org/openstack/openstack-ansible/src/branch/master/ansible-collection-requirements.yml#L13-L1409:54
fanfiyeh, i played with different version on 5.0.0 i got the same error09:55
noonedeadpunkif you replace git_config with community.general.git_config here https://opendev.org/openstack/openstack-ansible/src/branch/master/scripts/get-ansible-role-requirements.yml#L35 is it the same?09:58
noonedeadpunkAlso, do you run it as /bootstrap-ansible.sh or tried just to run command like `  /opt/ansible-runtime/bin/ansible-playbook get-ansible-role-requirements.yml` ?10:00
fanfias bootstrap-ansible.sh 10:01
fanfiERROR! couldn't resolve module/action 'community.general.git_config'. This often indicates a misspelling, missing collection, or incorrect module path.10:01
noonedeadpunkI'd assume smth is wrong with ENV10:02
noonedeadpunkVery important part of that is definition of following environment variable: ANSIBLE_COLLECTIONS_PATH="/etc/ansible"10:03
noonedeadpunkif it's not set or not passed for some reason - like different shell or some restrictions, then installed collections won't be found10:04
noonedeadpunkand it feels like the case here.10:04
noonedeadpunkBut we handle that in script https://opendev.org/openstack/openstack-ansible/src/branch/master/scripts/bootstrap-ansible.sh#L20410:05
noonedeadpunkmaybe you have `ANSIBLE_COLLECTIONS_PATHS` defined somewhere?10:07
fanfii used the default location 10:11
noonedeadpunktbh I'm not sure what can be wrong except location where collections are cloned or path set by ANSIBLE_COLLECTIONS_PATH/ANSIBLE_COLLECTIONS_PATHS10:46
*** ysandeep is now known as ysandeep|brb11:01
*** ysandeep|brb is now known as ysandeep11:18
*** dviroel|out is now known as dviroel11:19
*** ysandeep is now known as ysandeep|afk12:12
jrosser_fanfi__: have you installed ansible yourself also with apt or pip? or manually installed any collections with ansible-galaxy?12:46
fanfi__i am just follow the instruction guide on fresh node, than i got the issue with corporate network reg. galaxy ansible. So than i swap galaxy resource for collections with git.12:51
noonedeadpunkI spawned bunch of VMs with ubuntu 20.04 in previous several days and boostrap-ansible.sh was working as designed... I still think it's some issue with environment variables or indeed having ansible isntalled from packages or having some ansible.cfg somewhere...12:53
noonedeadpunklike some restricted shell instead of bash or smth like that12:54
noonedeadpunkwhat `which bash` would return you?12:55
fanfi__thanks a lot, yes it's a issue with corporate network, but i am not sure how i can fix it or find workaround 12:56
fanfi__< /usr/bin/bash12:56
fanfi__i am using ubuntu image from maas 12:57
noonedeadpunkWell, you can fork things to some corporate git repo as example...12:57
noonedeadpunkbut you will have more issues in future.12:57
noonedeadpunkso pbasivally you might need to mirror a lot of stuff at the end12:57
*** ysandeep|afk is now known as ysandeep12:58
fanfi__i tried to create sock5 tunell out of the netwrok, but i got error so pip do not know sock5 ....sothing like that 13:00
jrosser_1:51 PM <fanfi__> than i got the issue with corporate network reg. galaxy ansible. So than i swap galaxy resource for collections with git13:08
jrosser_can you share what you changed here? ^^13:08
jrosser_does this mean your network blocks the galaxy api?13:08
fanfi__https://paste.openstack.org/show/baPRrPGDEb7iQ3UDHUZG/13:11
fanfi__yes network blocks galaxy api 13:11
fanfi__ssl error13:12
fanfi__when i set sock5 proxy i got following error: Error parsing proxy URL socks5://localhost:4444: Unsupported scheme ‘socks5’.13:16
jrosser_well, socks doesnt really work like that13:36
jrosser_the proxy settings in OSA are for http proxies, not socks13:37
fanfi__i am tried to find some free https proxys, but i was not succeeded 13:45
noonedeadpunkvpn?:)14:26
fanfi__hm...good idea :) i will try14:47
admin1fanfi__, you can bootstrap in a vm/container/lxc in your own laptop and just copy the /etc/ansible and /opt/opentack folder also 14:53
admin1i have not tried it myself but just a thought 14:53
admin1or you can ssh from network to your own vm/public host ( a cheap vm somewhere, open a socks proxy ) and then configure git to use that .. like git config --global http.proxy 'socks5://127.0.0.1:4444 .. where 4444 is the socks you opened up 14:55
admin1or socks5h 14:56
*** ysandeep is now known as ysandeep|out15:00
jrosser_I don’t thing you can set http proxy env vars to be socks5://15:14
jrosser_“Error parsing proxy URL socks5://localhost:4444: Unsupported scheme ‘socks5’.”15:15
*** dviroel is now known as dviroel|lunch15:19
fanfi__i have fresh openstac-ansible folder and i get syntax error with get-ansible-collection-req... line 16, column 3..15:31
fanfi__i am able to create VPN connection so i will try it 15:33
spatelinstall vpn client on OSA box and connect to VPN server which allow you internet access15:45
spatelworst case connect your phone to your server and use hotspot :D (just kidding)15:47
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: [DNM] Temporary disable ARA installation  https://review.opendev.org/c/openstack/openstack-ansible/+/84759015:47
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Temporary disable ARA installation  https://review.opendev.org/c/openstack/openstack-ansible/+/84759015:47
*** dviroel|lunch is now known as dviroel16:18
admin1jrosser_, this works fine .. git config --global http.proxy 'socks5h://127.0.0.1:1234'  ( where 1234 is your tunnel port)  .. 17:36
admin1socks5h instead of just socks5 17:36
admin1clone via https  ..   .if cloning via git,(ssh) then not 17:37
jrosser_admin1: that might well work for git but i'm not so sure about wget/curl/python17:45
admin1export  ALL_PROXY=socks5h://127.0.0.1:1234     wget/curl/ etc works for most18:03
admin1i would just wireguard a tunnel out :) 18:04
noonedeadpunkgiven that we can't merge a thing due to post failures, I will go on and release 25.0.0 from rc1. All bugfixes we have and about to land are from Xena and I think can be backported later... Despite I;d love them to land asap, we likely can't do that today anyway.18:06
jrosser_i am all day behind unrouted networks and proxies and i get this https://paste.opendev.org/show/bosvVRx0F4NAzmSIXSmE/18:17
admin1when I do just  curl gw.am  ( gw.am is my own domain to lookup ip info) ,   i get my home IP  .. when I ssh to a machine and open a socket and then do export  ALL_PROXY=socks5h://127.0.0.1:1234 ;     curl gw.am , i get the IP of the ssh box 18:58
admin1i have not tried dns over socks5h though 18:58
jrosser_socksv5 optionally has the dns resolution done at the proxy server19:00
jrosser_so thats all a bit variable19:00
jrosser_i think our is based on the NEC implementation https://www.halolinux.us/security/the-nec-socks5-proxy-server.html19:01
admin1https://gist.githubusercontent.com/a1git/9c9a4336d2bc892f5a9083202697904a/raw/dfd78cb3e52509c37fac10b2bf6756534332a673/gistfile1.txt19:06
jrosser_yeah, so my test was with wget which doesnt work19:06
jrosser_curl does19:06
jrosser_and python doesnt, until you have the pysocks python module installed, so thats a bit hit/miss19:07
jrosser_tbh expecting an OSA deploy to work like this is pretty optimisitc19:07
admin1yeah 19:07
admin1i want to add wireguard support to neutron .. but i have zero idea where/how to begin :) 19:09
fanfi_heeeeyaa :D System is bootstrapped and ready for use.  19:12
jrosser_what did it take in the end? :)19:13
fanfi_just VPN :D19:13
fanfi_first fight :D19:14
jrosser_interesting security model on the network there19:14
admin1congrats 19:14
jrosser_you can't do what you want.... but you can subvert it all with a vpn :)19:14
fanfi_it is :D ...yes thanks guys 19:15
noonedeadpunkwell, it's quite tough actually to fight with openvpn as example, through 443 port...19:41
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible stable/yoga: Update doc index page  https://review.opendev.org/c/openstack/openstack-ansible/+/84739719:45
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Continue Zed development  https://review.opendev.org/c/openstack/openstack-ansible/+/84727219:45
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Continue Zed development  https://review.opendev.org/c/openstack/openstack-ansible/+/84727219:45
noonedeadpunkbtw it would be good to have another review on https://review.opendev.org/c/openstack/openstack-ansible-os_zun/+/847363 and https://review.opendev.org/c/openstack/openstack-ansible/+/84736219:45
noonedeadpunkdamiandabrowski[m]: spotz ^19:46
noonedeadpunkI got time until monday to merge/backport19:46
spotzI popped them open will take a look19:46
noonedeadpunkthanks!19:48
noonedeadpunkwe also need https://review.opendev.org/c/openstack/openstack-ansible/+/846799 but it fails with post failures now...19:50
spotznoonedeadpunk: comment on https://review.opendev.org/c/openstack/openstack-ansible/+/84727219:53
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Continue Zed development  https://review.opendev.org/c/openstack/openstack-ansible/+/84727219:54
noonedeadpunkoh, yes, sure!19:54
noonedeadpunkI will keep re-checking things during weekends. Would be so sweet to fix them in 25.0.0 tag...19:56
noonedeadpunkTripleo also struggling with same post failures now afaik19:58
opendevreviewMerged openstack/openstack-ansible-tests stable/yoga: Update TOX_CONSTRAINTS_FILE for stable/yoga  https://review.opendev.org/c/openstack/openstack-ansible-tests/+/84677520:26
*** dviroel is now known as dviroel|out20:50

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