12:00:32 #startmeeting TripleO Security Squad 12:00:33 Meeting started Wed Oct 31 12:00:32 2018 UTC and is due to finish in 60 minutes. The chair is jaosorior. Information about MeetBot at http://wiki.debian.org/MeetBot. 12:00:34 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 12:00:36 The meeting name has been set to 'tripleo_security_squad' 12:01:12 hello folks! 12:01:14 who's around? 12:01:17 «o/ 12:01:41 mwhahaha, weshay : please see my comment: https://review.openstack.org/#/c/614364/ 12:01:43 raildo, lhinds, owalsh, redrobot, 12:01:48 o/ 12:02:16 oh, stupid time change o/ 12:02:27 owalsh: I'm not alone then :D 12:02:33 haha yeah, I was confused about it yesterday 12:02:54 * owalsh changes the event in my calendar to UTC 12:03:24 IIRC, this daylight savings time business will stop in europe 12:03:31 Brent Eagles proposed openstack/tripleo-heat-templates master: Handle LP openvswitch meta-package on upgrade https://review.openstack.org/605200 12:03:50 Sagi Shnaidman proposed openstack/tripleo-quickstart master: Make quickstack.sh avoid needing sudo on missing virtualenv https://review.openstack.org/613797 12:04:08 jaosorior: yeah, maybe, should be decided next year I think. We might stick to Summer time (which is stupid as hell, but, at least, we won't change it twice a year) 12:04:20 (sorry folks) 12:04:23 Tengu: Finland did decide to stick with winter time. 12:04:28 Anyway: 12:04:29 jaosorior: maybe not here... it's only a recommendation AFAIK 12:04:32 mwhahaha, weshay : https://bugs.launchpad.net/tripleo/+bug/1800737 I renamed the bug. this is the actual problem 12:04:33 Launchpad bug 1800737 in tripleo "relabel failed /var/lib/config-data: no such file or directory" [Critical,Triaged] 12:04:47 #topic Secret Management Update 12:04:50 raildo: ^^ 12:05:46 EmilienM, sounds good 12:05:52 Hey folks, just a quick update on where we are about the secrets management stuff, more specifically regarding the Castellan driver for oslo.config 12:06:41 EmilienM, the gate is foooked http://dashboard-ci.tripleo.org/d/cEEjGFFmz/cockpit?orgId=1 12:06:43 weshay: will comment that LP. have an idea, need some info/feedbacks for solution. 12:06:46 so, at this point we wrote the castellan driver https://review.openstack.org/#/c/599589/ but we're pending to write some unit tests for it 12:06:57 just fyi.. we're down to 72.5% that is really bad 12:07:51 unfortunately, Moises who wrote the driver, is on PTO for a while, and we didn't have so much progress on those tests, until he come back, so I'll sync with him to have this done in the next couple weeks 12:07:59 raildo: so, the driver is scheduled to land in Stein, right? Are we also aiming to get some tripleo usage of this in Stein? or is that for the next release? 12:08:44 weshay: https://bugs.launchpad.net/tripleo/+bug/1800737/comments/3 12:08:44 Launchpad bug 1800737 in tripleo "relabel failed /var/lib/config-data: no such file or directory" [Critical,Triaged] 12:09:05 so, the driver will land on Stein, the idea is to implement some gate jobs over Castellan testing those scenarios, but I'm not expecting to have time to have some of this work on TripleO, it'll have to wait for the next release 12:09:33 got it 12:09:51 but would be great for TripleO start understanding/reviewing what we are doing in the Castellan/oslo side, since we'll probably be discussing about it more deeply in the next PTG 12:09:57 Sagi Shnaidman proposed openstack/tripleo-quickstart master: Make quickstack.sh avoid needing sudo on missing virtualenv https://review.openstack.org/613797 12:10:17 URGENT TRIPLEO TASKS NEED ATTENTION 12:10:19 https://bugs.launchpad.net/tripleo/+bug/1798195 12:10:19 https://bugs.launchpad.net/tripleo/+bug/1799895 12:10:20 https://bugs.launchpad.net/tripleo/+bug/1800737 12:10:21 https://bugs.launchpad.net/tripleo/+bug/1800742 12:10:21 Launchpad bug 1798195 in tripleo "rdo-cloud yum repos unavailable during container updates and failing the undercloud install " [Critical,Triaged] 12:10:22 Launchpad bug 1799895 in tripleo "CI: undercloud takes long time which causes job fail with timeout" [Critical,Triaged] 12:10:23 Launchpad bug 1800737 in tripleo "relabel failed /var/lib/config-data: no such file or directory" [Critical,Triaged] 12:10:24 Launchpad bug 1800742 in tripleo "tempest.lib.exceptions.IdentityError: Got identity error, undercloud-containers" [Critical,Triaged] 12:10:39 that's all that I have for now 12:10:50 raildo: thanks for the update! 12:10:58 sure, no problem! 12:11:05 #topic SELinux for containers update 12:11:09 Tengu: ^^ 12:11:22 hey, that's me :) 12:11:54 so, basically, it's "mostly working" at least for: undercloud deploy with podman, overcloud deploy with podman and NON-HA (1 controller + 1 compute tested so far) 12:12:18 cool!! 12:12:20 we have some non-selinux issues with the HA, so for now I can't say how will keepalived/pcmk/friends work with podman + selinux 12:12:34 ah, and when I say "with selinux"; it's the full thing, meaning: enforcing + separation 12:12:35 what are the non-selinux issues? 12:12:49 ah well, pcmk not supporting podman, that kind of things. 12:12:53 oh 12:12:55 :( 12:12:58 got it 12:12:59 we need a specific package, already in the pipe. 12:13:18 so yeah. for none-HA I get something working, still hitting some random issues with neutron though 12:13:35 this bunch of containers do create issues, as they have high privileges and the like. 12:13:49 speaking of privileges: we're currently unable to drop the "--privileged". 12:14:11 this is mainly due to the fact we must support both docker and podman for a while, and apparently docker doesn't work well with the cap-add. 12:14:35 so we stick with a bunch of "privileged" containers for now. 12:14:42 Tengu: do you have any more details related to that? 12:15:09 as far as I had understood, adding custom capabilities has for long been the recommended approach to locking down your docker deployment. 12:15:14 also, some containers deactivate the labelling, dropping the selinux separation. This isn't great, but I don't have alternative for now. 12:15:29 and even docker were the ones that originally came up with the set of minimum "secure" defaults 12:15:40 jaosorior: I didn't work on the cap-add part - bogdando did some tests with that and apparently it wasn't that great. 12:15:45 Tengu: that was to be expected, openshift does the same for their openvswitch container 12:15:57 bogdando: are you around? 12:15:59 imho we should stick with the --privileged *for now*, as a first iteration. 12:16:29 Tengu: sure, it's not a blocker; and just having SELinux labeling enabled for most containers already reduces a lot the attack surface 12:17:19 I guess bogdando is not online right now, I'll ping him off this meeting just to understand things better. 12:17:21 Tengu: thanks! 12:17:33 np :) 12:17:50 #topic TLS everywhere in CI 12:18:02 So, we did some work on this on the PTG 12:18:17 and agreed with the CI team that is was appropriate to keep this in OVB 12:18:33 sshnaidm|ruck: was mainly working on this, but the last I knew about it was that there were some issues with DNS 12:18:55 sshnaidm|ruck: is this still the case? or was there another issue that prevented this work from continuing? 12:19:54 Sagi Shnaidman proposed openstack/tripleo-quickstart master: Make quickstack.sh avoid needing sudo on missing virtualenv https://review.openstack.org/613797 12:20:47 jaosorior, it's still the issue and rdo cloud breakages prevented from me to proceed with this unfortunately.. 12:21:04 sshnaidm|ruck: got it 12:21:39 sshnaidm|ruck: do you think (assuming RDO cloud would work in the near future), that we could get around these DNS issues? 12:21:59 Sorin Sbarnea proposed openstack/tripleo-quickstart master: Fix quickstart.sh --install-deps on fedora26 https://review.openstack.org/613797 12:22:25 jaosorior, yeah, the main problem is that you can't run it to test, not dns issue itself 12:22:42 sshnaidm|ruck: what do you mean? 12:23:14 jaosorior, I mean that it can run only on private tenant of rdo cloud currently, and if it's broken - you can't run it to test 12:24:08 sshnaidm|ruck: right, so that's still related to the RDO cloud issues, right? 12:26:12 jaosorior, morning.. we leaving the gate as is w/ mirror and podman issues? 12:26:13 We were discussing with my team the possiblity of adding the necessary things in the workflow to support the TLS everywhere setup without relying on FreeIPA discovery through DNS (so no DNS needed from FreeIPA). 12:26:42 sshnaidm|ruck: would that be helpful? or all the issue falls down due to the RDO cloud issues? 12:27:17 jaosorior, I think it might be helpful 12:27:25 jaosorior, as it's currently a blocker 12:27:35 sshnaidm|ruck: got it. I'll report back to my team to try to prioritize that. 12:27:41 jaosorior, cool, thanks 12:27:52 sshnaidm|ruck: thanks for all the help man 12:28:03 jaosorior, can you comment on this epic with your thoughts or a looks good if it's ok atm https://tree.taiga.io/project/tripleo-ci-board/epic/298 12:28:25 weshay: will do after this meeting 12:28:41 sorry 12:28:51 #topic Read Only policy files 12:29:53 So... it's not uncommon that folks modify the policy files for their deployments. However, there are some policy modifications that are done time and time again 12:30:23 fixing these issues in the default policy files of OpenStack is work in progress (but it'll take several releases) 12:30:44 so some folks have suggested maintaining policy references (best practices) in a repo 12:30:53 these policies could be directly taken into use in deployments 12:31:03 so I was given the suggestion of including them under the TripleO umbrella 12:31:10 #link https://pagure.io/openstack-access-policy 12:31:36 That would be the work that's been done so far ^^ 12:31:50 the main change in those policy files is the inclusion of a read-only role 12:32:06 which allows folks not to require admin privileges to do operations like listing users and projects 12:32:08 which is nice :D 12:32:40 now, including it as part of TripleO would require us to test these files somehow (although this all becomes a bit easier with the standalone jobs) 12:32:49 Do people have thoughts about this? 12:33:15 For reference, these are the supported services for this kind of custom policy: 12:33:17 #link https://pagure.io/openstack-access-policy/blob/master/f/etc 12:35:08 Sagi Shnaidman proposed openstack/tripleo-quickstart master: Make quickstack.sh avoid needing sudo on missing virtualenv https://review.openstack.org/613797 12:36:19 If there are no opinions about this on the security squad, I'll bring it up anyway to the weekly meeting next week. 12:37:08 #topic Any Other business 12:37:24 Does anybody have something else to bring up to the security squad? 12:38:44 wes hayutin proposed openstack-infra/tripleo-ci master: ovb: reduce the number of workers on the undercloud https://review.openstack.org/613640 12:39:13 Alright! thanks for joining everyone! 12:39:16 #endmeeting