Monday, 2022-01-17

*** chandankumar is now known as chkumar|rover06:16
noonedeadpunkjrosser: systemd-analyze security is really interesting. Didn't know about it....08:57
noonedeadpunkI'm not sure though were and how we add it?08:58
noonedeadpunkexcept like in post jobs....08:58
jrosserit's all in the unit files08:59
jrosserso we can have "sensible defaults" in the systemd service role08:59
jrosserand then where we want tighter things we can add more config as needed09:00
jrossertheres already stuff there for some of it https://github.com/openstack/ansible-role-systemd_service/blob/master/templates/systemd-service.j2#L90-L9809:01
jrosserbut i expect we could do more09:01
jrossermaybe adding the output of systemd-analyze security to our log collection would be easy/useful09:02
noonedeadpunkWell, checking one of my compute nodes I barely can find anything in good state09:03
noonedeadpunkexcept systemd units themselves :)09:04
noonedeadpunkI wonder what we can do better though https://pastebin.com/TkBhQhex09:46
noonedeadpunkmaybe smth like PrivateTmp, ProtectClock, ProtectKernelModules...09:55
opendevreviewMerged openstack/ansible-role-systemd_service master: Add ability to create templated services  https://review.opendev.org/c/openstack/ansible-role-systemd_service/+/81653110:12
*** odyssey4me is now known as Guest76110:15
jrosseri guess there are a bunch of those we can apply pretty globally, going down the list by score10:29
jrosserothers might need some work to get them right10:29
jrossernoonedeadpunk: do you have thoughts about where we should do the sshd configuration for ssh certificates/principals?10:46
jrosseri am currently adding it to openstack_hosts but wonder if keeping it all in the PKI role is better?10:46
noonedeadpunkI bet this should be in our sshd role https://opendev.org/openstack/openstack-ansible/src/branch/master/ansible-role-requirements.yml#L236-L23910:51
jrosseryeah well it's kind of not our role10:51
jrosserand actually i don't think we use that outside of AIO10:51
jrosserthis would be the first time we mess with sshd config for deployments, thats usually out of scope10:52
opendevreviewMerged openstack/openstack-ansible-os_glance stable/victoria: Replace NFS test with integrated one  https://review.opendev.org/c/openstack/openstack-ansible-os_glance/+/82353910:52
noonedeadpunkyeah, indeed...10:52
noonedeadpunkBut I bet I saw ssh configuration being applied somewhere already... was it openstack_hosts?10:55
noonedeadpunkor maybe hardening...10:55
opendevreviewMerged openstack/openstack-ansible-os_glance stable/victoria: Add boto3 module for s3 backend  https://review.opendev.org/c/openstack/openstack-ansible-os_glance/+/82294610:57
jrossermaybe i just hack this up in openstack_hosts and then share what the patch looks like11:01
jrosseri am kind of leaning toward putting it in PKI to make that solf contained and re-usable11:02
noonedeadpunkWell configuring sshd is probably not design of pki role tbh...11:03
noonedeadpunkbut yeah, depending on how it looks like )11:03
jrosserright - this could all be in its own role completely if we want11:04
jrosseras actually its not x509 certs at all11:04
noonedeadpunkBtw we do pretty much of ssh config here https://opendev.org/openstack/ansible-hardening/src/branch/master/tasks/rhel7stig/sshd.yml11:04
jrosserluckily we are in modern times and have sshd_config.d/11:05
jrosserso that should not be too much of a problem11:05
noonedeadpunkyeah, that;s true:)11:08
*** sshnaidm|afk is now known as sshnaidm11:13
*** dviroel|out is now known as dviroel11:28
*** dviroel is now known as dviroel|lunch15:06
*** frenzy_friday is now known as frenzyfriday|ruck15:58
*** dviroel|lunch is now known as dviroel16:14
opendevreviewMerged openstack/openstack-ansible-os_placement master: Move system_crontab_coordination role to collection  https://review.opendev.org/c/openstack/openstack-ansible-os_placement/+/82459216:33
jrosserjamesdenton: i see a whole slew of those sshd deprecated options here https://paste.opendev.org/show/812161/17:59
jamesdentonhrm17:59
jamesdentoni guess if we disable the hardening role then there's nothing else left to manage sshd_config?18:00
jrossernot at the moment, we leave that to the deployer18:02
jrosseralthough i am working on some sshd stuff right now18:02
jrossernoonedeadpunk: it's kind of working https://paste.opendev.org/show/812163/18:02
DK4hey is it possible to deploy a spine/leaf network setup withopenstack ansible? 18:57
jamesdentonhttps://docs.openstack.org/openstack-ansible/latest/user/l3pods/example.html19:02
jamesdentonit's been a very long time since i looked at that, though19:02
DK4Thank you, ill check that out. i've been using kolla-ansible before and its not possible to do that here19:04
mgariepyDK4, it does work i did a deployment like that.19:06
mgariepywith some other tweaks tho (i do have some services (haproxy and network hosts) link to external stuff on a l2 over l3 to be able to migrate IP from on node to the other.19:07
DK4mgariepy: thanks i'm trying to avoid bonding and have two nics per server  e.g management leaf0 and management leaf1 per server19:07
DK4jup, the virtual ip is the one that gives me headaches 19:08
mgariepyi understand :) been there.19:09
mgariepymy network equipment do support vxlan accross datacenter and then expose it as vlan to the host so i can migrate the VIP across my racks. 19:10
DK4i was  thinking to test ECMP balancing to the controllers but kolla gives you no way to configure it like that, ill check on osa tommorow19:10
mgariepybut it depend on the network implementation you decide to go with.19:10
jrosserDK4: osa does not do any of the host networking for you19:30
jrosserso long as you set up the bridges it expects, in any way you like, then you are good19:30
jrosseri have a reasonbly large deployment with leaf/spine, but i have a seperate pair of leafs for the control plane19:30
jrosserthat made all the stuff with the VIP easier to follow the usual deployment with the controllers in their own l2 domain19:31
jrosserand then i use vxlan also on top of that for things that need to span all the leafs, like octavia mgmt network19:32
*** dviroel is now known as dviroel|afk21:18
opendevreviewJames Denton proposed openstack/openstack-ansible-ops master: Update MNAIO for Focal  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/82448622:25

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