13:04:02 #startmeeting 13:04:02 Meeting started Mon Aug 31 13:04:02 2015 UTC. The chair is andreasn. Information about MeetBot at http://wiki.debian.org/MeetBot. 13:04:02 Useful Commands: #action #agreed #halp #info #idea #link #topic. 13:04:11 #topic agenda 13:04:41 * multipath design 13:04:43 :) 13:04:44 .hello stefw 13:04:46 stefw: stefw 'Stef Walter' 13:04:51 .hello mvo 13:04:52 mvollmer: mvo 'Marius Vollmer' 13:05:02 .hello andreasn 13:05:03 andreasn: andreasn 'Andreas Nilsson' 13:05:06 * Listing and filtering pattern 13:06:07 * Static linking of cockpit-ws resources 13:06:45 anything else? 13:06:48 ok, lets start 13:06:54 #topic Multipath design 13:08:05 for remote storage? 13:10:03 ok 13:10:07 so 13:10:21 people found out that cockpit does not work with multipath 13:10:34 stefw: is there way to take snapshot of the screen via the test case 13:10:37 so i tried to fix the worst things 13:10:47 subin, meeting time ^^ 13:10:55 but one thing needs some UI: activating multipath support in the first place 13:11:15 i still hope this can be avoided by enabling it by default in Fedora Server 13:11:30 (but haven't pushed yet hard) 13:11:44 in the mean time, we probably need a button and some explanation 13:11:56 "your system is broken, press this button to fix it" 13:12:02 sucks, non? 13:12:07 mvollmer, so why would a system have multipath without multipath activated? 13:12:20 what is it that it's activating? 13:12:20 because it does run out of the box 13:12:28 it starts multipathd 13:12:43 on the other hand having a big standard ui pattern for "unbreak your system" isn't a bad idea in itself 13:13:03 yeah 13:13:26 "docker isn't running, press this button to star it" 13:13:52 true, but perhaps this is different? 13:13:57 at the top like a dismissable alert 13:13:59 are there any downsides of enabling multipathd by default? 13:14:14 they say it might need configuration 13:14:17 before starting 13:14:28 but I hopw we can do config after starting as well 13:14:37 so it's a bit muddy 13:14:59 of course, it takes resources, etc 13:15:10 and if you don't have multipath devices, ... 13:15:18 but that's not really our part to solve 13:15:30 udev can start it on demand, maybe 13:15:48 also, the daemon might not be necessary at all 13:16:09 hmmm, seems like we need to figure this out better before designing it, no? 13:16:13 i don't understand this very well, it seems to be one of the traditional "all options exposed, make your intelligent choice" things 13:16:27 well, i think the storaged guys should figure this one out 13:16:37 what does multipathd do anyway? 13:16:41 yes, they are making some apis for storaged 13:16:49 I'm ok with having a "unbreak me" button if something did break, but it's unfortunate if it's in by default 13:16:49 it monitors the pathes for failures 13:17:07 does cockpit setup multipath yet? 13:17:14 it's in a PR 13:17:16 if not, shouldn't we expect a coherent system? 13:17:29 i would say so 13:17:30 that is, if someone else has configured multipath 13:17:42 anaconda does it, I think 13:17:53 is there a issue in the tracker for it? 13:18:02 for the error happening in the first place that is 13:18:05 so we can have the button and hope that it never appears 13:19:08 i think it would be nice to help people out 13:19:12 where does it need to appear? Under the Storage section? 13:19:23 yes 13:21:27 i think we can discuss this further outside of the meeting, no? 13:21:30 yep 13:21:48 I must admit I'm not 100% sure what multipath is in detail 13:21:52 how it works 13:22:23 i can explain that also 13:22:29 sounds great 13:22:30 let's move on? 13:22:34 yup 13:22:46 #topic Listing and filtering pattern 13:22:58 so while andreasn was away ... 13:23:08 i worked on a bit of a pattern for use throughout cockpit 13:23:13 and it can use some more design help and review 13:23:17 we talked about it here and therte 13:23:26 https://raw.githubusercontent.com/cockpit-project/cockpit-design/master/patterns/listing.png 13:23:34 it ties in well with filtering and search/filter bars 13:23:41 it aims to: 13:23:46 1. Be discoverable 13:23:55 2. Prevent needless navigation, and so many tiers of navigation 13:24:08 3. Show multiple things on the same page, so you can compare, interact with them together 13:24:16 4. Work well with filtering 13:24:21 ... so just a heads up 13:24:32 looks interesting 13:24:33 we are using the rather simple Kubernetes Images feature 13:24:40 as a way to do a proof of concept 13:24:41 https://raw.githubusercontent.com/cockpit-project/cockpit-design/master/kubernetes/images.png 13:25:48 does other objects collapse when you expand one or not? 13:26:25 yes 13:26:29 unless you star an object 13:26:33 ah, ok 13:26:42 by default yes, that's the first simple use case that the user discovers 13:26:47 "just view one thing at a time" 13:28:55 and this is for both the Container page and the Kubernetes page, right? 13:29:04 and others 13:29:08 like network interfaces 13:29:16 if we can get this right 13:29:23 we can use this instead of the panel listings we have now 13:29:36 something like this would be perfect on the 'Services' section 13:29:42 it would really bring it togethr 13:29:43 yeah 13:29:45 when combined with filtering 13:30:08 services really needs some kind of filtering 13:30:41 networking, maybe 13:31:01 yeah, networking doesn't need filtering so much 13:31:11 but you really do want to not have to navigate so much 13:31:16 in addition, if only one item is in the listing 13:31:20 you could expand it into a panel by default 13:31:31 but we can start with containers and then services 13:31:32 and thus make it realy easy to go 13:31:34 right 13:31:36 networking is harder 13:31:45 if we can get to storage one day, by using some elements of this 13:31:47 it would really be cool 13:31:50 but that's the hardest 13:31:53 yes 13:32:03 anyway, we'll try this out in the kubernetes section 13:32:07 sounds good 13:32:15 and obviously it probaly needs tweaking and testing 13:33:37 that's it for that topic 13:33:43 all right, next up 13:33:49 #topic Static linking of cockpit-ws resources 13:35:18 i'm working on the pretty HTTP failure messages using patternfly black slate design 13:35:23 and have most of it doen 13:35:34 https://github.com/cockpit-project/cockpit/pull/2656 13:35:52 as part of that, we link in the fail.html error page into the cockpit common code 13:35:58 so that cockpit-bridge and cockpit-ws can use it 13:36:01 as part of the executable 13:36:08 i was wondering if we wanted to do that with the other static resources? 13:36:15 i have a branch that does it, but i'm not sure it's a good idea 13:36:19 so that would be login.html 13:36:21 and the fonts 13:37:28 mvollmer, petervo, what do you think? 13:37:57 hmm 13:38:08 they would go into the executable? 13:38:15 yes 13:38:22 the fail.html one pretty much has to go into the executable 13:38:27 but this question is about the others 13:38:28 does cockpit-bridge ever need login.html? 13:38:32 using the standard GResource framework 13:38:38 no cockpit-bridge doesn't need login.html 13:38:41 right 13:38:41 these additional static resources 13:38:43 would go into cockpit-ws 13:38:48 and not into libcockpit-common.a 13:38:55 in other words they wouldn't be present in all the executables 13:39:20 i think it makes sense for the failure page, but not so much for the rest 13:40:00 ok 13:40:11 it is unexpected, no? 13:40:19 not sure 13:40:21 what would be the reason? performance? 13:40:28 yeah, performance, simplicity 13:40:36 but since the branding won't be merged 13:40:44 i think perhaps this won't have the benefit expected 13:40:50 the branding wouldn't be linked in anyway 13:41:02 so yeah, i agree, maybe not that great 13:44:11 anything more on that topic? 13:44:18 nope 13:44:25 all right 13:44:31 I have one more agenda item though 13:44:32 #topic Open floo 13:44:36 shoot 13:44:43 https://github.com/cockpit-project/cockpit/pull/2654 13:45:05 the pull request links from a failure on the login screen to files.cockpit-project.org 13:45:08 is that something we want to do? 13:45:28 i've seen so many cases where websites have gone down, and links are broken in released software 13:45:43 but maybe i'm thinking too old skool 13:46:04 what does it link to on files.cockpit ? 13:46:14 the authentication guide 13:46:16 the docs are for the person setting up cockpit, which might not be the guy using it 13:46:26 so the link might not be very helpful 13:46:29 ah, documentation 13:46:40 mvollmer, i agree 13:47:21 we could put a button there "enable password login" 13:47:24 :-) 13:47:33 http://files.cockpit-project.org/guide/authentication.html <- gives a 404 13:47:46 it'll be there after pr is merged 13:47:49 i think 13:47:59 ah 13:48:00 it'll be at guide/latest/ 13:48:04 which just goes to show 13:48:08 either we need a solid infrastructure for this 13:48:12 or we don't do it 13:48:16 like if we want to do it 13:48:18 we need a redirector 13:48:32 I guess the distributor might replace that url with some URL to their documentation possibly 13:48:41 but that's a distributor patch in that case 13:49:40 could be part of branding 13:49:50 well we can put in a generic "see the docs" text 13:50:08 which is pretty unhelpful for something already in the browser 13:50:08 we should probably make the error messages the best we can 13:50:13 and have see the docs be implied 13:50:30 or we can provide a way to load the docs unauthenticated in cockpit 13:50:31 there could be a hundred reasons why a login fails right? 13:50:41 I was proposing that we don't show the user/password fields at all when we know that password login wont work 13:50:49 we don't know till we try 13:50:51 but we only know that after we connect to the server 13:50:58 like after we do an ssh handshake and all 13:51:09 so this shows up for all login failures? Like also wrong username or password? 13:51:14 it's easy for a machine to be configured to only allow password auth for non-root 13:51:16 no 13:51:48 only when ssh couldn't agree on a auth method to use 13:52:11 pretty much the server won't allow cockpit to authenticate 13:52:13 ah, I see 13:52:21 there's nothing the user can do through cockpit at that point 13:53:35 anyone have an opinion on having cockpit serve it's own docs 13:53:47 cockpit-ws 13:54:04 hmmm, worth thinking about 13:54:14 especially if installing them is optional 13:54:31 although again, the docs aren't really supposed to be end user docs 13:54:32 would fix the website with the docs are down, or firewalls 13:54:42 they're supposed to be for deployers and developers 13:55:44 well there really isn't a end a unprivileged user can do at this point 13:55:44 if I saw "Cockpit was unable to attempt to authenticate you using any supported authentication methods." I would copy that and just paste it into google 13:55:59 If we know we tried password auth 13:56:04 we can print a better message 13:56:05 then find some old ubuntu forum that said "just paste this into a terminal and it will go away" :) 13:56:34 "The server does not support password authentication" 13:56:57 but maybe the user should have been using sso 13:56:59 "The refused to authenticate 'x' using password authentication, and no other supported authentication method is available." 13:57:08 ^^ 13:57:23 "The refused to authenticate 'root' using password authentication, and no other supported authentication method is available." 13:57:30 The? 13:57:33 although we could tweak that to be even better 13:57:38 "The server refused to authenticate 'root' using password authentication, and no other supported authentication method is available." 13:58:01 sounds sane 13:58:06 and it has a sense of finality 13:58:14 like ... listen buddy, this isn't going to work 13:58:18 hehe 13:58:22 unless the server is changed somehow 13:58:29 it's good that it doesn't mention "Cockpit" 13:58:36 i think this is outside of cockpit 13:58:54 and that's implied no? 13:58:59 but please do feel free to adjust if not 13:59:24 I think it's good like this 13:59:46 should i dump the rest of the doc changes from that PR as well then? 13:59:54 no 13:59:59 the docs are awesome 14:01:13 ok, i'll make the messaging changes 14:03:49 that's all for today? 14:04:12 that's it for me 14:04:27 yep 14:04:48 #endmeeting