Tuesday, 2020-06-09

*** rh-jelabarre has quit IRC01:09
*** also_stingrayza has joined #openstack-ansible01:49
*** stingrayza has quit IRC01:51
*** redrobot has quit IRC02:40
*** Guest52018 has joined #openstack-ansible03:19
*** Guest52018 is now known as redrobot03:20
*** gyee has quit IRC03:27
*** cheng1 has quit IRC03:28
*** cheng1 has joined #openstack-ansible03:33
*** evrardjp has joined #openstack-ansible04:33
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-openstack_hosts stable/train: Use Train RDO packages on stable/train branch  https://review.opendev.org/73441805:41
openstackgerritJonathan Rosser proposed openstack/openstack-ansible master: Always use the utility host for service setup tasks  https://review.opendev.org/73385405:46
openstackgerritJonathan Rosser proposed openstack/openstack-ansible stable/ussuri: Use ansible openstack collection  https://review.opendev.org/73441905:47
*** jawad_axd has joined #openstack-ansible05:48
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-tests stable/ussuri: Synchronise move to openstack ansible collection to all roles  https://review.opendev.org/73427206:04
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_designate stable/ussuri: Use ansible openstack collection  https://review.opendev.org/73429306:07
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_octavia stable/ussuri: Use ansible openstack collection  https://review.opendev.org/73427806:07
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_gnocchi stable/ussuri: Use ansible openstack collection  https://review.opendev.org/73427706:07
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_trove stable/ussuri: Use ansible openstack collection  https://review.opendev.org/73429106:08
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_magnum stable/ussuri: Use ansible openstack collection  https://review.opendev.org/73430306:08
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_keystone stable/ussuri: Use ansible openstack collection  https://review.opendev.org/73427406:08
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_swift stable/ussuri: Use ansible openstack collection  https://review.opendev.org/73427606:08
*** cheng1 has quit IRC06:10
*** cheng1 has joined #openstack-ansible06:13
jrossernoonedeadpunk: my rebuilt galera 10.4.12 for focal does not work06:15
jrosserwell, mariadb to be specific06:16
*** pcaruana has joined #openstack-ansible06:25
noonedeadpunkjrosser: maybe let's copy their 10.4.14 focal build?06:26
noonedeadpunkIt will be daily and not stable, but we will be able to move forward06:26
jrosseryeah, i had quite a look at the broken one and the wsrep is all not working06:27
jrosserand it's very unclear how to debug it06:27
jrosserdo you know where their daily build is?06:27
*** udesale has joined #openstack-ansible06:28
jrosserelse it's just tip of https://github.com/MariaDB/server/tree/10.4 and I can compile that?06:28
jrosserthey have a quite messy repo so it's hard to know what is what06:28
jrosseralso idk if we need a rebuilt version of https://github.com/MariaDB/galera or not06:29
*** dpaclt has joined #openstack-ansible06:39
*** jbadiapa has joined #openstack-ansible06:55
noonedeadpunkLet me try to browse history...07:11
noonedeadpunkI pasted it another day07:11
* noonedeadpunk can't find the link:(07:20
jrosseri am having one of those days yoo07:28
jrossertoo07:28
jrosserjust trying a focal AIO07:28
jrosserand i have no idea why but this https://github.com/openstack/openstack-ansible-lxc_container_create/blob/master/tasks/main.yml#L62-L7207:28
jrosserincludes debian.yml07:28
*** tosky has joined #openstack-ansible07:32
*** fghaas has joined #openstack-ansible07:34
jrossernoonedeadpunk: oh hahahahah https://review.opendev.org/#/c/729274/07:35
jrosseri've been trying "master"07:36
jrosserwhich of course isnt07:36
jrosserthats not good, we've been merging stuff against that07:36
openstackgerritMerged openstack/openstack-ansible-os_cinder master: Updated from OpenStack Ansible Tests  https://review.opendev.org/73419007:38
openstackgerritMerged openstack/openstack-ansible-os_masakari master: Updated from OpenStack Ansible Tests  https://review.opendev.org/73420007:38
openstackgerritMerged openstack/openstack-ansible-os_placement master: Updated from OpenStack Ansible Tests  https://review.opendev.org/73420707:39
openstackgerritMerged openstack/openstack-ansible-os_swift master: Updated from OpenStack Ansible Tests  https://review.opendev.org/73420907:41
noonedeadpunkyeah... we should have merged that before anything else:(07:43
openstackgerritMerged openstack/openstack-ansible-os_blazar master: Updated from OpenStack Ansible Tests  https://review.opendev.org/73418807:45
openstackgerritMerged openstack/openstack-ansible-os_neutron master: Updated from OpenStack Ansible Tests  https://review.opendev.org/73420307:46
openstackgerritMerged openstack/openstack-ansible-os_sahara master: Updated from OpenStack Ansible Tests  https://review.opendev.org/73420807:46
openstackgerritMerged openstack/openstack-ansible-os_panko master: Updated from OpenStack Ansible Tests  https://review.opendev.org/73420607:47
openstackgerritMerged openstack/openstack-ansible-os_heat master: Updated from OpenStack Ansible Tests  https://review.opendev.org/73419607:48
openstackgerritMerged openstack/openstack-ansible-os_nova master: Updated from OpenStack Ansible Tests  https://review.opendev.org/73420407:52
openstackgerritMerged openstack/openstack-ansible-os_trove master: Updated from OpenStack Ansible Tests  https://review.opendev.org/73421207:52
openstackgerritMerged openstack/openstack-ansible-os_keystone master: Updated from OpenStack Ansible Tests  https://review.opendev.org/73419807:53
openstackgerritMerged openstack/openstack-ansible-os_ironic master: Updated from OpenStack Ansible Tests  https://review.opendev.org/73419707:53
openstackgerritMerged openstack/openstack-ansible-os_octavia master: Updated from OpenStack Ansible Tests  https://review.opendev.org/73420507:54
openstackgerritMerged openstack/openstack-ansible-os_barbican master: Updated from OpenStack Ansible Tests  https://review.opendev.org/73418707:54
*** rpittau|afk is now known as rpittau07:54
openstackgerritMerged openstack/openstack-ansible-os_ceilometer master: Updated from OpenStack Ansible Tests  https://review.opendev.org/73418907:59
openstackgerritMerged openstack/openstack-ansible-os_mistral master: Updated from OpenStack Ansible Tests  https://review.opendev.org/73420107:59
*** wpp has quit IRC08:01
*** wpp has joined #openstack-ansible08:01
openstackgerritMerged openstack/openstack-ansible-os_magnum master: Updated from OpenStack Ansible Tests  https://review.opendev.org/73419908:03
*** maharg101 has quit IRC08:10
*** kaiokmo has joined #openstack-ansible08:21
*** sshnaidm|afk is now known as sshnaidm08:22
*** cshen has joined #openstack-ansible08:33
noonedeadpunkjrosser: found the link :p http://hasky.askmonty.org/archive/10.4/build-33293/kvm-deb-focal-amd64/debs/binary/08:41
cheng1jrosser, I finally get there by deploying 2 nodes. Most of the services are deployed on node1, haproxy is deployed on node208:42
openstackgerritHervé Beraud proposed openstack/openstack-ansible master: Use unittest.mock instead of mock  https://review.opendev.org/73445208:51
noonedeadpunkI'll copy packages to the repo08:51
noonedeadpunkjrosser: mariadb in repo updated with packages for 10.4.1408:58
*** cheng1 has quit IRC08:58
*** cheng1 has joined #openstack-ansible08:59
openstackgerritJonathan Rosser proposed openstack/openstack-ansible master: WIP - Add Ubuntu Focal support  https://review.opendev.org/72359709:09
jrossernoonedeadpunk: ^ i've added the victoria cycle patch as depends on to that so lets see what happens09:09
jrosseralso trying locally too09:09
ionii saw OSA being branched and then noticed at boostrap is still tracking master :(09:09
jrosserbranching != releasing :)09:10
ioniyes09:10
jrosserthis needs to merge https://review.opendev.org/#/c/729274/09:10
jrosserthan master is master again09:10
openstackgerritamolkahat proposed openstack/openstack-ansible-os_tempest master: Added tempest ironic resources setup.  https://review.opendev.org/72070509:20
noonedeadpunkjrosser: so, should I return your 10.4.12? Like I was using  reprepro which do not store several versions of the same package...09:34
jrosserhmm?09:34
jrossermy 10.4.12 looks broken i think09:34
jrosserunless it never was there?09:35
noonedeadpunkit was...09:35
jrosserok so i think that this should be testing your 10.4.14 packages now https://review.opendev.org/#/c/723597/09:35
*** jcath has joined #openstack-ansible09:39
noonedeadpunkOh, I thought we do package pinning for galera but seems we doesn't09:41
jcathhello,friends. does osad has to install with lxc container? Can I just install openstack services with openstack-ansible to a physical host environment? centos7, for example09:42
jrosserjcath: OSA default install is with LXC, and whilst you can deploy without (bare metal deployment) that does make some things more complicated09:43
jrosserjcath: and centos7 is an interesting choice for deploying anything later than Train09:43
jrosserwhere interesting == more problems09:43
jcaththanks jrosser, I want to deploy stein with centos 7.7, in an offline LAN environment09:45
jrossernoonedeadpunk: did you see that horizon is broken on ussuri / centos7, there is no apache mod_wsgi for python309:45
noonedeadpunkuh, no:(09:45
jcathI deploy a cluster with packstack weeks before, but packstack is not well enough for a prod deployment, i think09:46
noonedeadpunkjrosser: we can probably use uwsgi + nginx instread of apache...09:46
noonedeadpunkbut this is annoying ofc...09:47
jrossernoonedeadpunk: yes i was looking at os_keystone becasue that looks similar09:47
noonedeadpunkuh, keystone if broken as well....09:47
jcathand kolla need lot's of downloading traffic and space for docker images, so I turn to OSA ....09:47
noonedeadpunk*is09:48
jrossernoonedeadpunk: i was wondering if mnaser had found this yet on ussuri (maybe thats not centos though?)09:48
*** cheng1 has quit IRC09:48
noonedeadpunkWe were moving to debian... to no new machines deployed on centos09:48
jrosserjcath: OSA still needs lots of stuff downloading, git repos, distro packages, pypi stuff09:49
noonedeadpunkbut we probably had _reason_ why we did apache for some deployments?Like things do not work with uwsgi?09:49
jrosserthis is horizon?09:49
noonedeadpunkfor keystone...09:49
jrosseroh federation09:49
jrossertotally needs apache09:50
noonedeadpunkso centos7 is kinda totally broken for U....09:50
jrossermod_oidc blah blah09:50
jrosserfrom horizon perspective yes, so i was wondering if we should lift/shift the nginx setup from os_keystone into os_horizon09:51
jcathjrosser: yes, I notice that ... distro packages is easy to setup a local repo, git&pypi... :(09:51
jrosserjcath: do you have no external connectivity at all?09:51
noonedeadpunkjrosser: considering, that keystone federation won't work...09:51
noonedeadpunkWhich is pretty popular deployments imo09:51
*** cheng1 has joined #openstack-ansible09:52
jcathyes, at the deployment environment, just LAN access09:52
jcathso last time, I pack all the packages to a local repo, install Openstack with packstack09:53
noonedeadpunkjcath: so even no proxy or smth?09:53
jcathno. it is a totally internal network09:54
jrossernoonedeadpunk: i wonder if keystone is different for wsgi https://github.com/openstack/openstack-ansible-os_keystone/blob/master/vars/debian.yml#L4909:54
jcathbut packstack come with lot's of limitation. you can only deploy a simple controller/computes cluster with it09:54
jrosserjcath: you would have to set up internal distro mirror and copies of the git repos09:55
jrosserbut the most complicated thing by far would be what to do about no access to pypi09:55
noonedeadpunkeventually you can probably clone like pypi and things specified in  https://opendev.org/openstack/openstack-ansible/src/branch/master/ansible-role-requirements.yml and https://opendev.org/openstack/openstack-ansible/src/branch/master/playbooks/defaults/repo_packages09:55
jrosserpython dependancies are recurisve so it's really difficuly09:56
jrossera pypi mirror is *gigantic*09:57
jcaththat is a problem :( from this point, packstack and kolla do things better09:57
noonedeadpunkI guess https://github.com/pypa/bandersnatch may create pypi clone, but it's also tons of diskspace...09:57
noonedeadpunkLike https://pypi.org/project/python-pypi-mirror/ can create clone of required things, but you really may spend tons of time for cloning everything...09:58
jrosserwe used bandersnatch in the past and i think it's needing 2Tbyte or thereabouts these days09:58
jcathI dont like lot's of docker images running in a host, just for the openstack application. take lot's of spaces and lot's of container-network/iptables stuff09:59
jcathjrosser: 2TB? OMG10:00
noonedeadpunkjrosser: yeah, you;re right, keystone is different. and it's really a solution we might use.10:00
*** cshen has quit IRC10:01
noonedeadpunkJust leave apache and use uwsgi10:01
jrosserjcath: i think there are machine learning projects that now publish their datasets to pypi which has pretty much runined anyone who wants to use a mirror10:02
jcathanother way I think about is, try to install all the packages by rpm, create the database, override the config files  of services, do some bootstrap work for specific service like keystone, then try to system up everything10:04
jcathOSA come with many sub-projects for different services, is there a way I may easy to collect all the well-design service config files from OSA?10:06
*** rpittau is now known as rpittau|bbl10:11
noonedeadpunkjcath: eventually, you can probably try to use distro install path.... but there might be caveats as well...10:13
jcathwith is_metal set true to skip lxc, right? in OSA10:13
noonedeadpunkinstall_method: distro https://opendev.org/openstack/openstack-ansible/src/branch/master/etc/openstack_deploy/user_variables.yml#L36-L4010:15
jcaththanks! I read this before, change from source to distro to use distribution's packges.10:17
noonedeadpunkSo this will minimize usage of python packages for sure, so probably you won't need pypi...10:17
noonedeadpunkHowever not all projects deployable with osa support distro method10:18
jcathI only deploy basic things, nova, keystone, glance, cinder, horizon, ceph, neutron10:18
*** soren has quit IRC10:25
*** soren has joined #openstack-ansible10:26
*** cshen has joined #openstack-ansible10:50
jamesdentonmornin10:52
noonedeadpunko/10:54
jamesdentonyo10:54
mgariepyjrosser, noonedeadpunk anyone had talked to the mariadb guys ?10:54
mgariepythey could use our galera repo to tests the deployment and that the clustering is actually working ..10:55
noonedeadpunkI was talking to montywi10:55
jamesdentonanyone here doing much Ironic?10:55
noonedeadpunkI think they have pretty wide testing at the moment...10:56
*** udesale_ has joined #openstack-ansible10:57
noonedeadpunkan they cover with tests every found bug not to allow regression in the futrure10:57
*** udesale has quit IRC10:59
mgariepyhttp://paste.openstack.org/show/794512/ jrosser that's the error with mariabackup (rsync goes further)11:00
mgariepybut fail at creating the user.11:01
*** shyamb has joined #openstack-ansible11:18
*** mbuil_ has quit IRC11:21
*** mbuil has joined #openstack-ansible11:23
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible master: Remove git repo haproxy backend  https://review.opendev.org/73458711:24
*** threestrands has quit IRC11:27
openstackgerritJonathan Rosser proposed openstack/openstack-ansible master: WIP - Add Ubuntu Focal support  https://review.opendev.org/72359711:27
jrosseri think we should consider merging this sooner rather than later https://review.opendev.org/#/c/731457/11:35
jrosserwe are still installing py2 into all the lxc containers everywhere and thats masking other problems11:35
jrosserthere is the potential to break stuff though11:36
openstackgerritJonathan Rosser proposed openstack/openstack-ansible master: Test patch for 731457  https://review.opendev.org/73459011:38
jrossermgariepy: i am at the same point, focal AIO with galera failing at create users11:42
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-galera_server master: Use temporary repository for MariaDB 10.4.12 for Ubuntu focal  https://review.opendev.org/73394611:44
jrosserahha11:45
openstackgerritMerged openstack/openstack-ansible master: Start Victoria cycle  https://review.opendev.org/72927411:51
*** amalrajgenocidex has joined #openstack-ansible11:51
jrossernoonedeadpunk: my focal AIO has managed to do keystone db setup with the 10.4.14 packages11:52
amalrajgenocidexI was trying to upgrade openstack magnum to master and got below error.12:02
amalrajgenocidex I did this because magnum in v20.1.2 has a bug that prevents clusters from creating.12:02
amalrajgenocidexhttp://paste.openstack.org/show/794514/12:02
amalrajgenocidexCan anyone take a look.12:02
*** rh-jelabarre has joined #openstack-ansible12:03
amalrajgenocidexI'm receiving similar errors for all the services when I try to update.12:03
amalrajgenocidexis there a stable version of openstack-ansible in which magnum works properly.?12:04
amalrajgenocidexI tried stable/train last day which was going to v20.1.2dev and also had similar issues12:06
noonedeadpunkeventually you can override magnum version for any osa release12:06
amalrajgenocidexnoonedeadpunk Sorry, I didn't  understand. Can you explain a bit more12:09
noonedeadpunkSo we bump services versions this way https://opendev.org/openstack/openstack-ansible/src/branch/master/playbooks/defaults/repo_packages/openstack_services.yml#L22412:10
noonedeadpunkSo you can specify magnum version you want to be deployed with setting magnum_git_install_branch into your user_variables12:10
noonedeadpunkYou can use either tag or sha (or maybe even branch)12:11
*** rpittau|bbl is now known as rpittau12:11
*** iurygregory has joined #openstack-ansible12:14
amalrajgenocidexnoonedeadpunk Thank you, I understand. I will give it a try.12:20
amalrajgenocidexAnother issue I had is , in deploying latest stable/train. it was not installing the repo packages on all my controllers. It was only getting installed in 1 of 3 controllers.12:22
noonedeadpunkamalrajgenocidex: ah, yes, I guess there was a bug on stable branch these days.12:22
noonedeadpunkWe generally recommend using tagged version instead of stable/* branches12:22
amalrajgenocidexThank you. So which branch do you recommend ?12:23
noonedeadpunkhere's the fix https://review.opendev.org/#/c/731779/12:23
noonedeadpunk"current" stable/train is already fixed12:24
amalrajgenocidexThank you very much noonedeadpunk Let me give a try again :)12:32
jannoregarding the check if all cinder services are up: I just tested the task and everything works as intended, but I am still wondering how to handle disabled services, which are down12:35
*** amalrajgenocidex has quit IRC12:37
*** amalrajgenocidex has joined #openstack-ansible12:40
amalrajgenocidexnoonedeadpunk It looks like the double quotes is missing in master branch too.12:40
noonedeadpunkamalrajgenocidex: I think this should be also fixed at the moment...12:41
noonedeadpunkaf the same patch has been merged for master as well12:41
noonedeadpunkthe problem in checking out to branch is that branch got updated from time to time12:42
amalrajgenocidexOk noonedeadpunk . looks like master is also patched. My /etc/ansible directory had files from earlier even though I ran bootstrap for master now. So I thought it wasn't patched.12:48
amalrajgenocidexThanks for your help12:48
openstackgerritJonathan Rosser proposed openstack/ansible-role-systemd_service master: Remove fail: tasks  https://review.opendev.org/73459712:50
openstackgerritJonathan Rosser proposed openstack/ansible-role-systemd_service master: Revert "Build out the PrivateNetwork function for services"  https://review.opendev.org/73459812:50
openstackgerritJonathan Rosser proposed openstack/openstack-ansible master: DNM test task removal from systemd_service  https://review.opendev.org/73460112:52
mgariepynoonedeadpunk, jrosser can we set the no_log to false except when it's zuul ?12:56
mgariepyfor tasks like.. mysql_user ?12:57
jrosserthat would be ++ helpful12:57
noonedeadpunkI'm not sure it's good idea tbh...12:57
jrossermgariepy: btw look at this https://zuul.opendev.org/t/openstack/stream/99b79f1fbe4047cda200bf50aa473d7f?logfile=console.log12:57
mgariepythe issue with galera and focal is the socker var not defined12:57
jrosseri have fixedit12:57
noonedeadpunkLike it will really disclose creds into log and stdout...12:57
mgariepylol jrosser nice :)12:58
jrosserin here https://review.opendev.org/#/c/733946/7/vars/ubuntu-20.04.yml12:58
noonedeadpunkwe can disclose it only for zuul for instance12:58
mgariepyi didn't refresh my patch this morning haha12:58
jrosseri am up to neutron locally here, it's still going12:59
noonedeadpunkand just drop our ansible-lint custom rule which checks that.12:59
jrosserright now we have a really big mess of patches around focal12:59
jrosserand i am thinking that the fixes for focal are breaking some other things12:59
mgariepythe mysql_user error would have been very trivial with the no_log false.12:59
mgariepyhmm well i mis spoke, i want it to log in zuul but not when it's not zull13:00
mgariepyzuul**13:00
noonedeadpunkjrosser: btw https://stackoverflow.com/questions/47650902/httpd-mod-wsgi-for-python3-4-not-working-in-centos7 seems a working and pretty trivial thing to fix for centos7 py3 and horizon.13:00
noonedeadpunkBut maybe using uwsgi is better...13:00
jrosseri just want centos-7 to go away :)13:01
noonedeadpunkwith centos 8 lol13:02
jrosserbut yeah, i dunno, i'm not really knowing what the best answer is, copy keystone nginx or hack in some 3rd party repo13:02
noonedeadpunkBut eventually there's no need in 3rd party repo13:03
noonedeadpunkjust pip and httpd-devel13:03
*** shyamb has quit IRC13:03
jrosserdoesnt it have to compile the module13:03
noonedeadpunkyeah, it compiles it indeed13:03
mgariepyjrosser, so focal is all fixed now ?13:03
mgariepycentos8 is really painful.13:04
noonedeadpunkbut not sure if compiling is a big problem... yeah, it's pretty hacky....13:04
*** shyamb has joined #openstack-ansible13:04
jrosseri would guess my AIO locally here is going to pass tempest13:04
jrosserand i think that chances are https://review.opendev.org/#/c/723597/ is going to pass for focal too13:04
jrosserdownside is i see buster and centos broken on 72359713:06
jrosserso we've got to start working through the patches needed to make focal work and merge/fix those in a way that keeps everything else OK13:06
*** shyamb has quit IRC13:07
jrosserand i see from the logs on https://review.opendev.org/#/c/733946/ that the temporary packages for 10.4.14 have worked in the focal functional tests13:07
jrosserso thats showing a cluster can form13:07
noonedeadpunkI'd wish maria got released sooner :(13:08
jrossernoonedeadpunk: i don't know what we'd do if there was one nginx on the host having to do horizon and keystone13:09
jrosseror if thats just ok13:09
noonedeadpunkjrosser: but we can do apache and mod_uwsgi13:09
noonedeadpunkisntead of nginx13:09
noonedeadpunkthe same as keystone do...13:09
noonedeadpunkbut horizon might be different...13:09
noonedeadpunkI'm playing with it now..13:10
jrosserok, i need to not try to fix all the things in my head at once :)13:10
noonedeadpunkyeah13:10
jamesdentonQQ: will config_template module create the dest directory?13:17
jrosseri'm not sure - its derived from the copy module i think....13:19
jrossermgariepy: it's passed tempest locally here on LXC / AIO / focal13:20
mgariepygreat success ! :D13:20
openstackgerritMerged openstack/openstack-ansible master: Only use zuul cloned git repos for code hosted at opendev.org  https://review.opendev.org/73145113:21
jamesdentoncopy says "If dest is a non-existent path and if either dest ends with "/" or src is a directory, dest is created.", so maybe we're good13:24
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-os_horizon master: [WIP] Compile mod-wsgi module for CentOS 7  https://review.opendev.org/73460813:24
jrosserjamesdenton: you seen anything like this? http://paste.openstack.org/show/794519/13:25
jamesdentonnever13:26
jrossermgariepy: so i think it passes but the debugging sort of starts now, i see tracebacks from neutron13:30
*** spatel has joined #openstack-ansible13:30
*** cshen has quit IRC13:34
jamesdentonthis is your focal AIO?13:39
*** cshen has joined #openstack-ansible13:41
jrosseryes it is13:51
mgariepyjrosser, debian on hub.com/openstack/openstack-ansible is due to bad interpreter for the lxc playbook it uses /usr/bin/python which point to python2 and doesn't have the lxc module.13:53
mgariepyon https://review.opendev.org/#/c/72359713:53
mgariepydamn. my pasting skills are bad this morning.13:54
jrosseryeah, so interesting question there is if it is actually a debian problem13:54
jrosseror if it is the debian CI image13:54
jrosserif stock buster does not come with py2 then we would not see this outside openstack CI13:55
jrossermgariepy: i have this as a potential mitigation for that https://review.opendev.org/#/c/731476/13:56
mgariepyfailing on metal test.  "module_stderr": "/bin/sh: 1: /usr/bin/python: not found13:58
mgariepyfor bionic13:58
jrosseryep13:58
jrosserit's all related to ansible interpreter discovery13:59
jrosseri've got a patch to openstack-ansible-tests for similar trouble https://review.opendev.org/#/c/733948/14:00
mgariepysotck image have pyton2.7 and python3.7 installed14:00
mgariepyfor buster.14:00
jrosseransible will prefer /usr/bin/python always if it finds it, and you don't tell it otherwise14:01
jrosserand we can't just universally set it to /usr/bin/python3 becasue that breaks centos-7 iirc14:03
jrosserand as i found in the tests repo you can't use ansible facts to determine the value, becasue that needs, ummm, python :)14:04
mgariepylol14:04
mgariepycan we try setting the interpreter discovery to ayuto ? https://docs.ansible.com/ansible/latest/reference_appendices/interpreter_discovery.html#interpreter-discovery14:05
mgariepyha, not doing the correct stuff14:06
jrosseri looked at this https://github.com/ansible/ansible/blob/c987c0c8a1c18be7a35157e9c75dcd2cdbdad003/lib/ansible/config/base.yml#L1503-L151814:07
jrosserand i was confused14:08
mgariepyi do indertand why i guess..14:16
*** itandops has joined #openstack-ansible14:21
*** ioni has quit IRC14:23
*** ioni has joined #openstack-ansible14:23
*** fghaas has quit IRC14:24
*** ioni has quit IRC14:28
*** ioni has joined #openstack-ansible14:30
*** ioni has quit IRC14:34
*** cshen has quit IRC14:36
*** ioni has joined #openstack-ansible14:37
*** dpaclt has quit IRC14:40
*** cshen has joined #openstack-ansible14:42
*** cshen has quit IRC14:46
*** jawad_axd has quit IRC14:48
vakuznethi, I'm seing a lot of "2020/06/02 05:56:37 [info] 96532#0: *7085 recv() failed (104: Connection reset by peer) while sending to client, client: 10.207.253.5, server: , request: "POST /v3/auth/tokens HTTP/1.1", upstream: "uwsgi://127.0.0.1:35358", host: "10.207.253.29:5000" in keystone-wsgi-public-error.log14:55
vakuznetanyone have a clue?14:55
vakuznetalso this: "[error] 426#0: *29197 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.207.253.4, server: , request: "POST /v3/auth/tokens HTTP/1.1", upstream: "uwsgi://127.0.0.1:35358"14:59
mgariepyjrosser, debian10 python interpreter stuff is not set in the base_config,15:35
mgariepyit seems15:36
jrosserthe interesting place to look is in the nodebuilder log15:36
jrosserbecasue for focal py2 got pulled in as an accidental dependacy of something else15:36
jrosserwhich is why the bionic CI image has py2, but a bionic cloud image does not15:36
mgariepysetting the config to auto and having the mapping for debian seems to fix the issue15:39
mgariepyat least for the lxc python3 stuff.15:40
mgariepyand buster15:40
*** amalrajgenocidex has quit IRC15:46
rh-jelabarreI'm wondering if the "set_fact" module can set a value from the sontents of a URL.  For example, the URL https://download.cirros-cloud.net/version/released shows me the current released version number for Cirros OS images, and I would like to use it in a playbook for downloading the current version, as well as using it in the OpenStack command for uploading images to the stack.15:48
*** gyee has joined #openstack-ansible15:49
*** jcath has quit IRC16:08
*** rpittau is now known as rpittau|afk16:09
noonedeadpunk#startmeeting openstack_ansible_meeting16:14
openstackMeeting started Tue Jun  9 16:14:27 2020 UTC and is due to finish in 60 minutes.  The chair is noonedeadpunk. Information about MeetBot at http://wiki.debian.org/MeetBot.16:14
openstackUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.16:14
*** openstack changes topic to " (Meeting topic: openstack_ansible_meeting)"16:14
openstackThe meeting name has been set to 'openstack_ansible_meeting'16:14
noonedeadpunk#topic office hours16:14
*** openstack changes topic to "office hours (Meeting topic: openstack_ansible_meeting)"16:14
noonedeadpunksorry for being pretty late with that)16:14
openstackgerritMarc Gariépy (mgariepy) proposed openstack/openstack-ansible master: Add integrated test for Ubuntu Bionic using ML2/OVN driver  https://review.opendev.org/73301716:30
*** cshen has joined #openstack-ansible16:32
*** cshen has quit IRC16:37
jrosserhmm hello just been in other meetings16:46
noonedeadpunkI just don't have much to say since ptg tbh16:47
jrosserif possible i'd like to have a bit more help with the work on merging focal in particular16:47
noonedeadpunklike really had no time on working on stuff...16:47
jrosseri've got a ton of patches and the end result is that focal passes but along the way other things break16:47
jrosserso we need to consider the whole set and make some decisions on approach16:48
mgariepycan we organise stuff in an etherpad ? or do you have a topic ?16:48
jrosseri started putting a few things in here https://etherpad.opendev.org/p/openstack-ansible-ussuri16:48
jrosserbut it's not very organised yet - there are so many patches and things i've tried its now hard to keep on top of it all16:49
jrosserthis is not to do now (i'm tired) but maybe we can try to do a little every day to work out what is good/bad and start merging and fixing stuff16:50
noonedeadpunkI'm for it16:52
* jrosser heads off to eat, need a break16:52
mgariepyi can help on the focal stuff and i'd like to also do some centos8 one but i would prioritize focal over centos.16:52
jrosserit's all got so complicated now that i'd like to use an etherpad or something to all be understanding the same thing16:52
mgariepyyes, i'm also for organising to work together instead of doing bits each in our side.16:53
noonedeadpunk#endmeeting17:05
*** openstack changes topic to "Launchpad: https://launchpad.net/openstack-ansible || Weekly Meetings: https://wiki.openstack.org/wiki/Meetings/openstack-ansible || Review Dashboard: https://bit.ly/2SAcGAn"17:05
openstackMeeting ended Tue Jun  9 17:05:38 2020 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)17:05
openstackMinutes:        http://eavesdrop.openstack.org/meetings/openstack_ansible_meeting/2020/openstack_ansible_meeting.2020-06-09-16.14.html17:05
openstackMinutes (text): http://eavesdrop.openstack.org/meetings/openstack_ansible_meeting/2020/openstack_ansible_meeting.2020-06-09-16.14.txt17:05
openstackLog:            http://eavesdrop.openstack.org/meetings/openstack_ansible_meeting/2020/openstack_ansible_meeting.2020-06-09-16.14.log.html17:05
noonedeadpunk:(17:05
*** jawad_axd has joined #openstack-ansible17:11
*** maharg101 has joined #openstack-ansible17:13
*** udesale_ has quit IRC17:13
*** maharg101 has quit IRC17:14
*** maharg101 has joined #openstack-ansible17:14
*** jeh has quit IRC17:19
openstackgerritHervé Beraud proposed openstack/openstack-ansible master: Use unittest.mock instead of mock  https://review.opendev.org/73445217:22
*** jeh has joined #openstack-ansible17:40
*** jawad_axd has quit IRC17:40
mgariepyhttps://github.com/ansible/ansible/blob/stable-2.9/lib/ansible/config/base.yml#L1451 fun17:41
mgariepy2.9 doesn't define debian 10 or ubuntu other than 14 and 16..17:42
mgariepyif it would define ubuntu 18.20 and debian we could set the interpreter_python to auto and it would select the correct one depending on the OS.17:43
*** fghaas has joined #openstack-ansible17:45
*** sshnaidm is now known as sshnaidm|afk18:07
*** AJaeger has joined #openstack-ansible18:22
*** AJaeger has left #openstack-ansible18:23
*** AJaeger has joined #openstack-ansible18:23
AJaegercould I get another review on ansible-hardening ussuri change to unbreak the sync job, please? https://review.opendev.org/73357118:24
mgariepyAJaeger, done18:25
AJaegerthanks, mgariepy18:25
*** AJaeger has left #openstack-ansible18:25
*** cshen has joined #openstack-ansible18:33
*** cshen has quit IRC18:37
*** jawad_axd has joined #openstack-ansible18:38
*** iurygregory has quit IRC18:43
openstackgerritMarc Gariépy (mgariepy) proposed openstack/openstack-ansible master: auto-detect interpreter.  https://review.opendev.org/73467218:53
*** jawad_axd has quit IRC19:02
openstackgerritMarc Gariépy (mgariepy) proposed openstack/openstack-ansible-tests master: auto-detect interpreter  https://review.opendev.org/73467619:09
*** ianychoi__ has joined #openstack-ansible19:16
*** ianychoi_ has quit IRC19:19
*** cshen has joined #openstack-ansible19:29
*** jamesdenton has quit IRC19:32
*** jamesdenton has joined #openstack-ansible19:38
openstackgerritJonathan Rosser proposed openstack/ansible-role-systemd_service master: Remove fail: tasks  https://review.opendev.org/73459719:38
openstackgerritMarc Gariépy (mgariepy) proposed openstack/openstack-ansible-tests master: auto-detect interpreter  https://review.opendev.org/73467619:39
*** jawad_axd has joined #openstack-ansible19:40
*** jawad_axd has quit IRC19:45
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-galera_server master: Use temporary repository for MariaDB 10.4.14 for Ubuntu focal  https://review.opendev.org/73394619:52
openstackgerritMerged openstack/ansible-hardening stable/ussuri: Enable syncing of docs  https://review.opendev.org/73357120:01
*** stingrayza has joined #openstack-ansible20:02
*** also_stingrayza has quit IRC20:05
openstackgerritMarc Gariépy (mgariepy) proposed openstack/openstack-ansible-tests master: auto-detect interpreter  https://review.opendev.org/73467620:07
mgariepyworks a bit better when all the refs to /usr/bin/python are removed.. :/20:09
jrossermgariepy: with 734676 you'd have to edit every repo tox.ini i think20:11
mgariepymaybe, i want to see if it works correclty first tho :)20:12
*** cshen has quit IRC20:12
mgariepyfor debian we need a PR on ansible.20:12
jrosserthere is another problem that you see described in the commit message of https://review.opendev.org/#/c/733948/20:13
jrosserthe interpreter is *sometimes* in the tox virtualenv20:13
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-tests master: WIP - Use appropriate python interpreter for functional tests  https://review.opendev.org/73394820:16
mgariepythe code in ansible to select the correct interpreter seems to works correctly, when does the interpreter is taken from the tox venv ?20:18
jrosserwell sort of like this https://zuul.opendev.org/t/openstack/build/06f2dbe525384484b8f0dbfde3a3c5a8/log/job-output.txt#223820:20
jrosserbut it's tangled up with the interpreter detection, because /usr/bin/python is python2 on the focal ci image20:20
jrosserand there is no python-apt for python2 on focal20:21
jrossersorry20:21
jrosser /usr/bin/python is not present on focal20:21
mgariepyyep but with the python_interpreter set to auto_legacy (which is the default) it will use /usr/bin/pythnon first. but if set to auto it will use the distro info in the base.yml to select python3.20:23
mgariepyi migth not fully understand what you are saying tho.20:23
jrosseris setting it to auto going to work everywhere?20:24
mgariepyi would assume so.20:24
mgariepyit's going to be default at some point.20:24
mgariepyand auto would take care of the centos7 stuff directly.20:25
jrosserit looks like its working, thats great20:26
mgariepybut it will not work for debian  right now..20:26
mgariepysadly it's not possible to ovewrite the list of python right now either.20:27
jrosserright, so what do we think about https://review.opendev.org/#/c/733948/ instead20:28
jrosserbecasue we can put whatever logic we like in the test-ansible-functional.sh to set the interpreter per distro20:29
openstackgerritMarc Gariépy (mgariepy) proposed openstack/openstack-ansible-tests master: auto-detect interpreter  https://review.opendev.org/73467620:29
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-tests master: WIP - Use appropriate python interpreter for functional tests  https://review.opendev.org/73394820:31
mgariepyon bionic the /usr/bin/python is set to py2 or py3 ?20:31
jrosserin a bionic cloud image it's not there, in openstack CI it's py220:32
mgariepyso for lxc stuff you would have issue with pyhton_lxc module.20:32
jrosserand we also mess up in our containers right now https://review.opendev.org/#/c/731457/20:32
jrosseryes20:32
mgariepyif we use the auto stuff for bionic it would use py3.20:33
mgariepyhmm when just updating the commit message zuul is not rechecking :(20:39
jrosserbuster is in the same sort of place as bionic for python lxc module https://zuul.opendev.org/t/openstack/build/e5b98191448946d095456e8bf2588af4/log/job-output.txt#10600-1061220:42
*** cshen has joined #openstack-ansible20:44
openstackgerritMarc Gariépy (mgariepy) proposed openstack/openstack-ansible-tests master: auto-detect interpreter  https://review.opendev.org/73467620:46
mgariepylooks like the tox.ini stuff is not needed20:46
*** cshen has quit IRC20:48
*** jbadiapa has quit IRC20:48
mgariepyYep, this is good, but will have to be in >= 2.10 only. I think it's too late to change the behavior for 2.9 (ie should not be backported). grrr.. https://github.com/ansible/ansible/pull/6309720:49
jrosserright - so you could do a hybrid20:50
mgariepyso. we keep your patch for 2.9 and move to the new stuff on 2.10 for V ?20:50
mgariepyi guess ?20:50
jrossertake the env var / lookup that i did and set it to auto except for buster where it's explicitly /usr/bin/python320:50
jrossermaybe theres a best-of-both approach20:50
mgariepyor ... we lineinfile - add - buster to base.yml ahha20:51
mgariepyit would be cleaner i think20:51
mgariepyand if it fails we can always fallback to the buster approach.20:52
mgariepyi need to leave for tonight i'll continue on that tomorrow.20:53
mgariepyhave a nice evening.20:55
jrosseryou too20:57
*** rh-jelabarre has quit IRC20:59
*** rh-jelabarre has joined #openstack-ansible20:59
*** fghaas has quit IRC21:19
*** jawad_axd has joined #openstack-ansible21:29
mgariepy\o/ https://review.opendev.org/#/c/734676 focal passed.21:33
*** jawad_axd has quit IRC22:02
*** kaiokmo has quit IRC22:13
openstackgerritMerged openstack/openstack-ansible-os_neutron stable/ussuri: Update OVN metadata agent binary name  https://review.opendev.org/73384922:40
*** cshen has joined #openstack-ansible22:44
*** cshen has quit IRC22:48
*** tosky has quit IRC22:59
*** spatel has quit IRC23:02
*** gyee has quit IRC23:13
*** jawad_axd has joined #openstack-ansible23:20
*** itandops has quit IRC23:22
*** trident has quit IRC23:27
*** trident has joined #openstack-ansible23:29
*** LuckyClover has joined #openstack-ansible23:35
*** jawad_axd has quit IRC23:54

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