Friday, 2022-10-28

opendevreviewJames Denton proposed openstack/openstack-ansible-os_neutron master: [WIP] adjust some ovn tasks  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/76064703:06
opendevreviewJames Denton proposed openstack/openstack-ansible-os_neutron master: [WIP] Separate OVN gateway functions from ovn-controllers  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/76064704:16
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_neutron master: Disable/stop/mask Open vSwitch on ovn-northd nodes  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/85582907:46
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_neutron master: Disable/stop/mask Open vSwitch on ovn-northd nodes  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/85582907:51
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_neutron master: Disable/stop/mask Open vSwitch on ovn-northd nodes  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/85582907:53
noonedeadpunkanskiy: I updated a bit the patch. If it passes CI would be great if you could test it out07:57
*** carloss_ is now known as carloss08:07
*** andrewbonney_ is now known as andrewbonney08:07
*** gouthamr_ is now known as gouthamr08:07
*** PrinzElvis_ is now known as PrinzElvis08:07
*** odyssey4me_ is now known as odyssey4me08:13
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Make Ubuntu Jammy voting  https://review.opendev.org/c/openstack/openstack-ansible/+/86286908:33
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Do not run CentOS 9 Stream jobs in gates  https://review.opendev.org/c/openstack/openstack-ansible/+/86287008:37
anskiynoonedeadpunk: thank you, I haven't been able to take a look at CI logs yet -_-09:10
opendevreviewMerged openstack/openstack-ansible-rabbitmq_server stable/stein: Use cloudsmith repo for rabbit and erlang  https://review.opendev.org/c/openstack/openstack-ansible-rabbitmq_server/+/86210409:12
opendevreviewAndrew Bonney proposed openstack/openstack-ansible-ops master: Add support for apt package pinning  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/84357309:51
opendevreviewAndrew Bonney proposed openstack/openstack-ansible-ops master: Add support for enabling ELK stack security  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/86287309:51
opendevreviewAndrew Bonney proposed openstack/openstack-ansible-ops master: Enable cluster ID monitoring setting for beats using logstash  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/86287409:51
opendevreviewAndrew Bonney proposed openstack/openstack-ansible-ops master: Set permissions on elastic data directories  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/86287509:51
*** arxcruz is now known as arxcruz|ruck10:36
*** dviroel is now known as dviroel|rover11:44
nixbuilderHow do I define which user is the "cloud_admin"... and can this be done in user_variables.yml before installation.13:03
nixbuilderIn Pike I had the cloud_admin defined in /etc/openstack-dashboard/keystone_policy.json... but I don't see that file on my new Yoga installation.13:04
nixbuilderNever mind... I think I have finally found the answer... maybe.13:10
noonedeadpunkyou have an openrc file inside utility container13:11
noonedeadpunkbut it's "admin"13:11
nixbuildernoonedeadpunk: Thanks!13:13
foutatorohi all, I'm trying an AIO deployement but I get ths error 'dict object' has no attribute 'interface' https://paste.openstack.org/show/btj5Ox2cA6yI5CHQCbBz/13:23
foutatoroI try 2 differents OS and branches but I still get the same error13:24
jamesdenton_did you run  the scripts/bootstrap-aio.sh script?13:25
foutatorojamesdenton_: yes this error come while running scripts/bootstrap-aio.sh13:27
jamesdenton_hmm, which distro are you using? and which branch?13:28
opendevreviewAndrew Bonney proposed openstack/openstack-ansible-ops master: Fix role installation in tests  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/86291513:28
opendevreviewAndrew Bonney proposed openstack/openstack-ansible-ops master: Add support for apt package pinning  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/84357313:29
foutatoro# git status HEAD detached at 25.1.0   # lsb_release -a No LSB modules are available. Distributor ID:Ubuntu Description:Ubuntu 22.04.1 LTS Release:22.04 Codename:jammy13:31
mgariepywell..ovn + ssl != FUN.13:33
jrosserfoutatoro: i think you need to do something like `ansible localhost -m setup` in your openstack-ansible directory13:34
jrosserjamesdenton_: i have seen this before with missing facts for the interfaces in AIO ^13:35
jamesdenton_jrosser can't say i've run into that myself, but i believe it. 13:38
jamesdenton_mgariepy thanks for falling on the sword13:38
mgariepylol13:38
mgariepyi regret it now haha13:38
foutatorojrosser: I run the command  `ansible localhost -m setup` but stil get the error while running scripts/bootstrap-aio.sh13:39
jrosserfoutatoro: then you will need to debug why ansible_facts['default_ipv4']['interface']  is not defined13:40
jrosserone cause would be you not having a default route defined, for example13:41
opendevreviewAndrew Bonney proposed openstack/openstack-ansible-ops master: Add support for apt package pinning  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/84357313:57
* noonedeadpunk trying to dig into apache mpm event logic...14:11
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Try to adjust Apache directives for AIO  https://review.opendev.org/c/openstack/openstack-ansible/+/86292214:27
mgariepyjrosser, can it be missing a step here:https://github.com/openstack/ansible-role-pki/blob/master/tasks/standalone/install_ca.yml#L25-L3714:28
noonedeadpunkwhat step?14:31
mgariepyhmm. forget it.14:31
mgariepyadding the cert to ca-certificate.conf14:31
noonedeadpunkUpdate CA store does that14:31
mgariepybut the symlink seems to do the job14:32
noonedeadpunkthere default commands for updating CA store are used14:32
mgariepyyeah indeed.14:35
jrossermgariepy: depeding on the implementation inside OVN it might / might not use the system trust store14:36
jamesdenton_jrosser Jammy deploy w/ Yoga failed locally, seems to be an issue with the bridges not coming up and no IP. Will debug later14:37
mgariepyyeah it's a pita to make it work.14:37
mgariepythe take a bit too litterally documentation as code 14:38
opendevreviewJames Denton proposed openstack/openstack-ansible master: [WIP] Implement OVN inventory and deploy by default  https://review.opendev.org/c/openstack/openstack-ansible/+/86292414:44
jrosserwe had similar trouble with libvirt14:44
jrosserwhere it was not at all obvious which thing should have the CA+intermediate as a chain, or the cert+intermediate14:45
jrosserall the docs just assumed a certificate derived straight from the root CA14:45
mgariepysomething like that ? https://paste.openstack.org/show/bGlw1oRyGbPg2SoWmrAg/ 14:55
mgariepyall i get from ovn is : SSL routines:tls_process_server_certificate:certificate verify failed15:04
mgariepyhttps://paste.openstack.org/show/b9RGicP4u7NCE38cMgBE/15:09
opendevreviewJames Denton proposed openstack/openstack-ansible-os_neutron master: [WIP] Separate OVN gateway functions from ovn-controllers  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/76064715:18
jamesdenton_foutatoro i was able to replicate you issue, somewhat. Have you tried 20.04 instead?15:22
opendevreviewMarc Gariépy proposed openstack/openstack-ansible-os_neutron master: [WIP] add ovn ssl config  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/86240315:28
jrossermgariepy: did you make it work?15:32
mgariepynop15:33
mgariepyi'm just kinda out of idea and courage lol15:33
jamesdenton_lol15:33
mgariepyovn-central does a bit too much also .. it do manage all the different services15:36
*** dviroel|rover is now known as dviroel|rover|lunch15:37
jrosserwhere is the code for this, ovn or neutron?15:37
mgariepyit's in ovn15:37
mgariepyi just try to have the ovn clustering work.15:38
mgariepyhttps://satishdotpatel.github.io/ovn-ssl-setup-with-openstack/15:39
mgariepythis post does a small portion of it.15:39
mgariepybut it doesn't do all the ssl.15:40
mgariepywhen you do cluster you have raft elections and this part needs also to be ssl15:41
jamesdenton_SSL, all the way down15:41
mgariepyyeah but when i set the cert key and ca it won't validate.15:41
mgariepyfor REASONs15:41
jrosserdo you set the CA to the root or the intermediate?15:59
mgariepyopenstack_pki_service_intermediate_cert_name16:00
mgariepyso it's the intermediate i guess16:03
*** dviroel|rover|lunch is now known as dviroel|rover16:31
opendevreviewJames Denton proposed openstack/openstack-ansible master: [WIP] Implement OVN inventory and deploy by default  https://review.opendev.org/c/openstack/openstack-ansible/+/86292417:06
opendevreviewJames Denton proposed openstack/openstack-ansible master: [WIP] Implement OVN inventory and deploy by default  https://review.opendev.org/c/openstack/openstack-ansible/+/86292417:25
opendevreviewMarc Gariépy proposed openstack/openstack-ansible-os_neutron master: [WIP] add ovn ssl config  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/86240317:25
opendevreviewJames Denton proposed openstack/openstack-ansible master: [WIP] Implement OVN inventory and deploy by default  https://review.opendev.org/c/openstack/openstack-ansible/+/86292417:32
mgariepyho. progress..17:35
mgariepyi think :D17:35
opendevreviewJames Denton proposed openstack/openstack-ansible master: [WIP] Implement OVN inventory and deploy by default  https://review.opendev.org/c/openstack/openstack-ansible/+/86292417:37
jamesdenton_is there any order of preference when there are multiple user_variables_*.yml files?17:40
mgariepyhttps://paste.openstack.org/show/b9X86czYLpNB0LznPiUm/17:41
jamesdenton_2/3?17:42
mgariepynot 100% correct because it seems that one is candiate17:43
mgariepyat least they to speak to each other via ssl without complaints17:44
mgariepythey need to have the full chain in the CA.17:44
opendevreviewMerged openstack/openstack-ansible stable/stein: Remove periodic jobs  https://review.opendev.org/c/openstack/openstack-ansible/+/84796617:46
foutatorojamesdenton_: yes I just try with ubuntu 20.04 with the same error17:57
mgariepyjamesdenton_, restart on ovn service doesn't seems to work well.18:06
mgariepyso now that i have a less vague idea how pki and ovn-ssl works. how should we do it? 1 key for everything? or we try to split by layers with intermediates ?18:26
jamesdenton_maybe a single key this time around, and expand on that later?19:15
mgariepyhow complicated will it be to migrate later19:16
mgariepy?19:16
jamesdenton_"not my problem"19:16
jamesdenton_:D19:16
mgariepyf%$# future self!19:16
jamesdenton_that's for your grandchildren to figure out19:16
mgariepynot close enough of my retirement19:17
jamesdenton_is this all auto-generated stuff? Is there an expectation that someone will want to use their own certs? What's really being secured here?19:17
mgariepythe compute cannot talk to ovn nb .. only sb.19:19
mgariepybut yeah. indeed. it's not much if you get a shell on the compute..19:19
jamesdenton_this is only control plane chatter between OVS? no data?19:21
mgariepyyep control chatter for port config and so on.19:26
mgariepynot the data form the vm directly.19:26
jamesdenton_on a related note, happy to report the new grouping mechanism is working OK for ovn_gateway_chassis nodes19:28
jamesdenton_but for the switch from LXB->OVN, trying to be careful for those that want to upgrade LXB->LXB while also making it somewhat easy to have a default for AIO19:28
mgariepyho nice for the gateway stuff 19:29
mgariepyyou only set a group to the relevant nodes ?19:29
jamesdenton_yeah, i actually added a new inventory group, network-gateway_nodes, and operator can set it to particular hosts, or *compute_nodes, or *network_nodes, or whatever19:30
mgariepynice :D19:30
jamesdenton_so, "network-gateway_nodes: *compute_nodes" in openstack_user_config.yml does the needful19:30
jamesdenton_no assumptions. if you don't specify, it doesn't set any as gateway at all19:30
mgariepyso we can set it to a subset of compute also :D19:31
jamesdenton_yep19:31
mgariepyis it possible to move a gateway around manually ?19:31
jamesdenton_i believe it's just a setting in open_vswitch table19:32
jamesdenton_as for moving a router between gateways, i'm not sure19:32
mgariepyfor lxd it's a ha chassis group priority.19:32
jamesdenton_there does seem to be a priority mechanism, but i haven't verified how it works19:36
mgariepyok19:38
opendevreviewJames Denton proposed openstack/openstack-ansible master: Implement OVN inventory changes and deploy by default  https://review.opendev.org/c/openstack/openstack-ansible/+/86292419:51
opendevreviewMarc Gariépy proposed openstack/openstack-ansible-os_neutron master: [WIP] add ovn ssl config  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/86240320:20
*** dviroel|rover is now known as dviroel|rover|afk20:22
opendevreviewMarc Gariépy proposed openstack/openstack-ansible-os_neutron master: [WIP] add ovn ssl config  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/86240320:25
opendevreviewMarc Gariépy proposed openstack/openstack-ansible-os_neutron master: [WIP] add ovn ssl config  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/86240320:26
mgariepylet's try like this.20:27
mgariepynot sure how it will behave on a single ovn-northd container also.20:28
opendevreviewJames Denton proposed openstack/openstack-ansible-os_neutron master: Separate OVN gateway functions from ovn-controllers  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/76064721:05
opendevreviewJames Denton proposed openstack/openstack-ansible master: Implement OVN inventory changes and deploy by default  https://review.opendev.org/c/openstack/openstack-ansible/+/86292421:12
*** dviroel|rover|afk is now known as dviroel|rover21:34
*** dviroel|rover is now known as dviroel|out21:36

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