Wednesday, 2022-05-11

*** ysandeep|out is now known as ysandeep|rover01:21
*** ysandeep|rover is now known as ysandeep|rover|bbl02:08
*** ysandeep|rover|bbl is now known as ysandeep|rover04:23
*** ysandeep|rover is now known as ysandeep|rover|brb07:29
*** ysandeep|rover|brb is now known as ysandeep|rover07:40
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_octavia master: Fix distro support option for Octavia  https://review.opendev.org/c/openstack/openstack-ansible-os_octavia/+/83902807:49
*** ysandeep|rover is now known as ysandeep|rover|lunch08:01
jrossergood morning08:21
damiandabrowski[m]hi!08:28
*** ysandeep|rover|lunch is now known as ysandeep|rover09:02
jrosseri do not really understand the releasenotes build process here https://review.opendev.org/c/openstack/ansible-role-python_venv_build/+/773984/09:38
jrosserprobably the releasenotes job only runs when we add a new reno, and something there is broken09:39
damiandabrowski[m]at least i can reproduce `releasenotes/source/unreleased.rst:13:Inline literal start-string without end-string.` error locally09:59
damiandabrowski[m]but it's confusing as this file has only 5 lines09:59
damiandabrowski[m]ahhh found it10:03
damiandabrowski[m]added my review10:04
opendevreviewJonathan Rosser proposed openstack/ansible-role-python_venv_build master: Split venv_rebuild functionality  https://review.opendev.org/c/openstack/ansible-role-python_venv_build/+/77398410:07
jrosserdamiandabrowski[m]: aaaaahhh thanks! It would have been helpful if the error said it was an error in a releasnote file :/10:08
damiandabrowski[m]yeah it wasn't so clear. btw. how does it work, who can edit Your change? everyone or only a core reviewer? :D 10:10
jrosseri think anyone logged into gerrit can update a patch10:11
damiandabrowski[m]ahh, thanks!10:12
*** dviroel|out is now known as dviroel11:31
*** ysandeep|rover is now known as ysandeep|rover|brb11:32
mgariepyyep anyone can update any patch. i personally don't really care if anyone update my patches. some ppl might tho.11:36
*** ysandeep|rover|brb is now known as ysandeep|rover11:37
mgariepyyou had good vacation damiandabrowski[m] ?11:40
SiavashSardarihey everyone11:44
SiavashSardariwe are using proxy variables in user_variables.yml to use http proxy in our deployment. the other day I had some issues on some of our nodes accessing each other.11:44
SiavashSardariThe root cause was interesting, we are having 24 containers on each controller and /etc/environment actually are using PAM and according to https://github.com/linux-pam/linux-pam/blob/master/modules/pam_env/pam_env.c#L47 setting env vars in PAM has a limit of 1024 characters.11:44
SiavashSardariwhile i was on the issue I figured out setting /etc/environment on lxc_container_create, might be redundant because lxc containers are already starting using env vars set by PAM.11:45
jrosseri know allllllll about this :)11:45
damiandabrowski[m]mgariepy: thanks, I visited NYC. It was awesome but because i was walking ~15km every day, now I'm more tired than before my vacation :D 11:45
mgariepyLOL :)11:45
SiavashSardarimay be we should update https://opendev.org/openstack/openstack-ansible/src/branch/master/etc/openstack_deploy/user_variables.yml#L14311:46
jrosserSiavashSardari: well it is complicated unfortunately11:46
jrosserhttps://docs.openstack.org/openstack-ansible/latest/user/limited-connectivity/index.html#practice-b-proxy-access-to-internet-resources11:46
SiavashSardariall_containers is too large11:46
jrosserfor any proper deployment i would not recommend making global proxy configurations on the nodes *at all*11:47
SiavashSardari@jrosser, Thanks, I've read the docs. but unfortunately setting up the proxy confs is crucial to us.11:48
jrosserwell i know, my deployments are also behind http proxies11:48
jrosserand i wrote those docs after having to work around the exact thing you descrive11:49
jrosserthe best approach for larger deployments is to use the deployment_environment_variables stuff to set the proxies only during the playbook runs11:49
jrosserand to make specific config outside the scope of openstack-ansible for apt.conf proxies and whatever else you need11:50
jrosseralso, you will find that the support for no_proxy is pretty patchy, not all things take notice of it11:50
SiavashSardariI know but /etc/env is soooo much easier :D11:50
jrosserand so a whole bunch of unexpected traffic is u-bend around your http proxy without you realising11:51
jrosseri can't really put it another way other than to say that the global proxy config is really easy, but ultimately breaks badly for medium/large deployments11:52
SiavashSardaribut many processes won't use http_proxy var11:52
jrosseryou don't need it at runtime, thats the thing11:52
jrosserall the openstack config files are given the urls of the services directly, or via the loadbalancer11:53
SiavashSardariyep you're right about the run time but we still need proxy to upload db remote backup, monitoring alerts, etc.11:54
SiavashSardariit seems there is no easy way to have it all11:55
*** ysandeep|rover is now known as ysandeep|rover|mtg11:55
SiavashSardariI'll try your way then. Thanks @jrosser 11:55
mgariepydamiandabrowski[m], don't forget the workflow +1 :)11:56
jrosserSiavashSardari: imho the best thing to do is to make specific config for the things that really need it, like APT or pip or whatever else where you can adjust a config file11:56
SiavashSardaribtw is there any effort for replacing ceph-ansible with adm in OSA? we're going to start the migration planing for our deployments, this month. 11:59
damiandabrowski[m]mgariepy: ahhh yeah :| thanks12:00
jrosserthe proxy stuff was a big bunch of work to get everything right so I also made a CI job for it and it uses this config https://github.com/openstack/openstack-ansible/blob/master/tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2#L292-L30412:01
jrosserthat is a very severe test as it removes eth0 from the containers so there is no possibility of non-proxied traffic12:02
jrosserSiavashSardari: regarding ceph-adm I don't know really other than we mentioned noticing that ceph-ansible is being deprecated12:03
jrosserone of the things we discussed was the need to clarify the openstack-ansible documentation about the intent of ceph deployed with OSA12:05
jrosserlike is it just a test fixture we use for CI, or is it something that we "support" that end users should have confidence in using12:05
SiavashSardari@jrosser, tnx for the proxy stuff, I will try your way. but removing eth0 sounds a little bit extreme to me12:12
jrosseroh sure :) that is purely for the test fixture - but it does validate that the deployment can be functional in this type of setup with no global proxy12:14
opendevreviewChristian Rohmann proposed openstack/openstack-ansible-galera_server master: Move slow_query_log_file to location handled by logrotation  https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/84141512:14
jrosserit was necessary to do that in the CI jobs because the test nodes are not actually behind a proxy - the squid process runs on the same node and there is also a real external interface12:14
jrosserso it can work "by accident" if eth0 is still present in that situation12:15
SiavashSardarion the ceph part, yeah I remember the weekly was couple of weeks ago. I'm with @damiandabrowski[m] on this one, which mentioned having ceph integrated with osa is an advantage osa has12:17
SiavashSardarithere are a lot of complexity to what to do with docker networks and lxc bridges in a shared controller and mon deployments.12:19
jrosseralso someone has to be prepared to invest the time to figure it all out, too12:25
jrosseri just have no idea how cephadm would work out with existing things in openstack-ansible, like the LXC stuff, support for proxies, support for ssh bastions for the deploy host.....12:26
SiavashSardariI think we will get to those parts maybe next month. I will keep you posted 12:29
jrosserare you going to deploy OSA and cephadm stuff onto the same nodes?12:30
jrosserpersonally i also don't like having one of the ceph nodes effectively become a deployment node12:31
jrosser*another12:31
*** ysandeep|rover|mtg is now known as ysandeep|rover12:37
SiavashSardari@jrosser, currently we've deployed ceph using osa which means ceph-mons are lxc containers on controllers. our goal is to replace ceph-ansible with adm.12:47
SiavashSardariwe are going to try and error some scenarios in dev env before deciding our final solution and deploy on other deployments.12:48
*** ysandeep|rover is now known as ysandeep|rover|brb13:21
*** ysandeep|rover|brb is now known as ysandeep|rover13:31
opendevreviewMerged openstack/openstack-ansible-os_octavia master: Fix distro support option for Octavia  https://review.opendev.org/c/openstack/openstack-ansible-os_octavia/+/83902813:35
opendevreviewMerged openstack/ansible-role-pki master: Fix variable names for certificate CSR fields  https://review.opendev.org/c/openstack/ansible-role-pki/+/83079313:41
opendevreviewMerged openstack/openstack-ansible-rabbitmq_server master: Bump rabbitmq / erlang versions  https://review.opendev.org/c/openstack/openstack-ansible-rabbitmq_server/+/84028413:49
opendevreviewMerged openstack/openstack-ansible-os_octavia master: Make octavia_provider_network better configurable  https://review.opendev.org/c/openstack/openstack-ansible-os_octavia/+/78733613:52
jrosserdamiandabrowski[m]: did you plan to look at the glusterfs stuff?13:53
jrosserit's possible to run https://review.opendev.org/c/openstack/openstack-ansible/+/837589 in an AIO with SCENARIO=aio_infra and you should get a 3-node gluster cluster running to have a play with it13:54
jrosseraio_lxc_infra13:54
damiandabrowski[m]thanks, I'll give it a try this week13:55
jrosserit would be worth trying out repo container delete/recreate playbooks13:59
damiandabrowski[m]okok14:00
jrosserand also we probably need to document what to do when a physical node is replaced/re-installed14:00
jrossersome of that is talked about here https://docs.rackspace.com/support/how-to/recover-from-a-failed-server-in-a-glusterfs-array/14:01
damiandabrowski[m]You're right, we may put some info here: https://docs.openstack.org/openstack-ansible/latest/admin/maintenance-tasks.html14:12
mgariepythat's a lot of steps haha14:14
jrosserit's not as bad as it looks14:14
mgariepyand i guess it will need to be done when doing OS upgrade and reinstalling the server.14:14
jrossermy playbook does some of that14:14
jrosserand there is a bind mount in /openstack/glusterfs, if you can restore that on a re-installed host and re-run the repo-server playbook it should be automatic14:15
mgariepyok14:15
jrosserthis is able to recover from a container destroy/create https://github.com/openstack/openstack-ansible-plugins/blob/master/roles/glusterfs/tasks/main.yml#L102-L12114:17
jrosserbut it relies on the contents of /openstack/gluster for the needed UUID14:17
jrosserwould be really great if some other eyes can get on this14:18
*** spotz_ is now known as spotz14:18
mgariepyi'll try it. spawning the instance then i need to head up to a meeting :D14:20
opendevreviewMerged openstack/openstack-ansible master: Add CSP headers for img-src and worker-src  https://review.opendev.org/c/openstack/openstack-ansible/+/84115414:22
opendevreviewMerged openstack/openstack-ansible master: Bump ansible-core version to 2.12.5  https://review.opendev.org/c/openstack/openstack-ansible/+/83931214:41
opendevreviewMerged openstack/openstack-ansible master: Add documentation reminder to set external VIP to FQDN for real deployments  https://review.opendev.org/c/openstack/openstack-ansible/+/84036014:41
opendevreviewMerged openstack/openstack-ansible master: Install rally only when rally_install is set  https://review.opendev.org/c/openstack/openstack-ansible/+/84068614:41
*** dviroel is now known as dviroel|lunch15:09
*** ysandeep|rover is now known as ysandeep|rover|out15:26
damiandabrowski[m]https://review.opendev.org/c/openstack/ansible-hardening/+/835733 that's weird15:30
damiandabrowski[m]'Change 840353 in project openstack/openstack-ansible-openstack_hosts does not share a change queue with 835733 in project openstack/ansible-hardening'15:31
damiandabrowski[m]how have we finally implemented integrated queue? https://review.opendev.org/c/openstack/openstack-ansible/+/83665715:31
jrosserwe did not do this yet15:38
*** dviroel|lunch is now known as dviroel16:03
damiandabrowski[m]ahh okok. I've noticed that the change it depends on is not merged yet16:47
damiandabrowski[m]so I'd understand an 'This change depends on a change that failed to merge.' error, but I can't explain this one16:47
admin1i have cert key and ca_cert .. what is the pem and do i have to provide all of them ?    is pem a cat of  cert and ca_cert ? 18:21
*** dviroel is now known as dviroel|afk20:53

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