13:03:06 #startmeeting 13:03:07 Meeting started Mon May 25 13:03:06 2015 UTC. The chair is andreasn. Information about MeetBot at http://wiki.debian.org/MeetBot. 13:03:07 Useful Commands: #action #agreed #halp #info #idea #link #topic. 13:03:14 .hello andreasn 13:03:15 andreasn: andreasn 'Andreas Nilsson' 13:03:23 .hello stefw 13:03:24 stefw: stefw 'Stef Walter' 13:04:27 .hello mvo 13:04:28 mvollmer: mvo 'Marius Vollmer' 13:04:51 anyone else? 13:05:23 #topic Agenda 13:05:24 holiday in US and germany 13:05:27 er 13:05:32 today? 13:05:36 yup 13:05:38 oooh 13:05:49 * Docker exec and kubernetes containers view 13:05:51 that explains why I didn't get hold of sue :) 13:05:55 * branding 13:06:31 * frame message protocol 13:06:32 * Fedora rawhide 13:07:08 * use of less 13:08:02 sounds good 13:08:02 * outstanding pull requests 13:08:51 ok, lets start 13:08:53 #topic Docker exec and kubernetes containers view 13:09:12 for the kubernetes containters view, i've been working on being able to show the console *and* spawn a shell inside a container 13:09:30 to do that 13:09:40 we need to have docker exec support 13:09:45 which is a way of starting a process inside a running container 13:09:53 this means using a later version of the docker API at least for those calls 13:09:58 are we okay with that? 13:10:14 yes 13:10:29 example here: https://rawgit.com/cockpit-project/cockpit-design/master/kubernetes/pods.html 13:10:31 we should move to a newer version in general, I'd say. 13:10:47 i think 1.15 is the earliest version with docker exec 13:10:58 but i can't find out what actual docker version that equates to 13:11:52 in addition is this spawn functionality something we should retrofit into our docker specific containers view? 13:12:20 hmm 13:12:43 it would be natural to have individual terminals 13:13:11 instead of a "execute this string" dialog. 13:13:43 yes, i've hard coded this to spawn /bin/sh 13:13:44 could we do "docker exec /bin/bash" and have a shell session in a temrinal? 13:13:44 well 13:13:46 /bin/sh -i 13:13:47 yup 13:13:51 see the link i posted above 13:13:57 whin you click on _Shell_ 13:14:04 it basically does 13:14:10 ahh, that's what it is. 13:14:13 'docker exec -ti containerid /bin/sh -i' 13:14:20 but via the REST API 13:14:26 yep 13:14:54 yes, I think that fits into the 'normal' docker UI very well 13:15:06 yeah, need to figure out with andreasn where the action butonts fit 13:15:08 if we have terminal tabs 13:15:15 but shouldn't be insurmountable 13:15:31 not *real* terminal tabs 13:15:34 might be a better experience than attach/log 13:15:44 attach/log is really useful 13:15:47 to see what's happening 13:15:50 but needs a /bin/sh in the container 13:15:54 and the exec shell is useful to make something happen 13:15:56 which most should have, no? 13:16:05 yeah, it's pretty much required by unix software 13:16:14 otoh, the various commands like /bin/ps 13:16:16 are often not present 13:16:18 but such is life 13:16:21 only so much we can do 13:17:23 I imagine for the docker container view it could only be a switch between console and shell, since we have more space for the status than in the pod list 13:18:16 yeah could be 13:18:25 but lets see 13:19:23 next topic? 13:20:06 #topic branding 13:20:48 so we did a bunch of changes based on feedback from fedora that we can't ship the branding, but that needs to be shipped in another package (fedora-logos) 13:21:33 the mechanism we currently use to display *any* logo is a dangling symlink 13:21:43 so yeah 13:21:45 so if the file happens to be in the right place in /usr/share/pixmaps ... it gets used 13:22:15 in my opinion this mechanism shouldn't be used for more than the logo 13:22:28 and not to build complex branding 13:22:42 I think longer term we need to make sure the right elements are shipped with the fedora-logos package, and then make sure that that is shipped with all RHELs, CentOS etc 13:23:08 fedora-logos will be shipped by all distros? 13:23:20 only the ones that are based on fedora :/ 13:23:24 that seems like a challenging task 13:23:52 not sure how that works 13:23:58 i think due to trademarks only fedora ships fedora-logos 13:24:06 not that i care 13:24:49 anyway, when the right logo is not present for the upper right corner, we substitute in the cockpit logo 13:24:57 right 13:24:57 that's how the current implementation works 13:26:01 anyway, i think the current implementation is good enough for now right? 13:26:19 i don't think we can mark it stable yet 13:26:37 and therefore we can't get too comilicated with depending on external images/logos, in anything but a very rudimentary way 13:26:40 possibly, not sure if it's using the right RHEL logo, but we can take that elsewhere 13:27:02 yeah 13:27:31 good enough for now. Thanks for fixing that up 13:27:33 the rhel logos package contains files called 'fedora-xxxx' 13:27:41 and those contain red hat logos 13:28:01 same for centos? 13:28:03 no idea 13:28:11 I'll check 13:28:12 i posted information about the new branding rework on cockpit-devel 13:28:21 I have about a dozen OSes in VMs now 13:28:43 (actually 5) 13:29:03 ok, lets move on 13:29:17 #topic frame message protocol 13:29:55 the current way we send messages to parent windows does't work for embedding well 13:30:06 in particular it doesn't work when the parent window is not from the same domain 13:30:25 if we want to support that case, then we have to change how the component detects the parent frame 13:30:32 perhaps by using window.name or something like that 13:30:43 instead of inspecting properties on window.parent.xxxx 13:31:10 if we do change this, it needs to be done in a backwards compatible way, since our backwards compatibility (to 0.48) depends on this) 13:31:33 that's one reason i'm again waiting on https://github.com/cockpit-project/cockpit/pull/1978 13:32:00 that's it on that topic 13:32:42 all right 13:32:47 #topic Fedora Rawhide 13:33:18 yep 13:33:39 I am working on the CI machinery again a bit 13:33:50 based on the script pointed out by jan last time 13:34:13 the idea is to create the test machine imahes from scratch, without the magic base tarball 13:34:26 that works ok, expect with hubbot 13:34:37 there's always something :S 13:34:39 because virt-install seems to need a pty 13:34:55 i think we can give it one with "expect" 13:35:26 anyway, when that works, we can use it to make rawhide images 13:35:33 ssh -t 13:35:35 if not, we make them old-style 13:35:53 hmm, worth a try 13:35:56 'ssh -t' can be used to create a pty 13:36:02 even if you have to do silly tihngs like 13:36:06 yeah, I read the bug comments. :) 13:36:24 somebody said ssh itself needs a pty for that, though. 13:36:29 oh right 13:36:37 is this just about sudo? 13:36:45 no 13:36:47 ok 13:36:52 it's weird 13:37:05 virt-install runs "virsh console" 13:37:12 but cirsh console needs a tty 13:37:16 *virsh 13:37:43 alternative is to just wait until the domain has shut down itself, but then we lose all output. 13:38:04 interesting 13:38:08 thanks for cleaning this stuff up 13:38:12 the pull requests so far look good 13:38:37 if only they would work :-) 13:39:01 i have done some rawhide testing already, and there are many failures, but with a pattern. 13:39:17 i haven't looked seriously yet, though. 13:40:21 to be honest rawhide is a real heap of compost 13:40:38 it's going to be hard to have stable CI against it 13:41:00 i guess 13:41:02 but worth seeing what it's like, i guess 13:41:06 eraly warning system 13:41:09 true 13:41:26 we shouldn't let hubbot make it all red because of rawhide 13:41:35 right 13:41:39 next topic? 13:41:43 yup 13:41:46 likely a report posted? 13:41:51 about failures on rawhide eventually? 13:41:58 like the ones we get from Coverity? 13:42:23 yes 13:42:31 * stefw nods to next topic 13:42:47 #topic Use of less 13:43:30 i'm wondering if we can start using less to build patternfly with our font paths and see how that goes 13:43:44 beyond that i notice that our CSS is very repetitive with colors and such 13:43:56 and i wonder if a CSS compiler like less would help us 13:44:16 the big issue is that we like to have a development model where people can contribute without a build step 13:44:19 at least that was the idea 13:44:21 also adds a bit of building complexity. Does it bring in any dependencies? 13:44:27 well it depends on nodejs 13:44:33 which we use during development 13:44:44 the big issue is that if we make it part of our normal 'make' workflow 13:44:46 I always compile after any css change anyway 13:44:52 because that' 13:44:54 then we wouldn't be able to run cockpit right out of our cockpit repository 13:44:58 but would always have to do an install 13:44:58 s how I have things set up 13:45:07 and that's a non-starter as far as i'm concerned 13:45:33 if we had a separate 'update-css' target that changed files in the repository 13:45:39 and then you committed the less and css files together? 13:45:44 anyway, just ideas to think about 13:45:59 more concretely i'd like to start using less to bringi n patternfly and bootstrap in the 'make update-lib' target 13:46:04 rather than the silly sed script we have now 13:46:10 that edits the files and replaces font paths 13:46:19 right 13:46:51 we used to use sass 13:47:06 i think that went away when we switched to patternfly 13:47:28 http://sass-lang.com/ 13:47:39 right 13:47:39 or did we use less? can't remember tbh 13:47:44 but patternfly has less in its build system 13:47:50 yes 13:47:50 and its bower component, ready to use 13:48:50 * stefw gives the mic back to andreasn 13:49:05 #topic outstanding pull requests 13:49:17 I need to review this one https://github.com/cockpit-project/cockpit/pull/2303 13:49:48 but https://github.com/cockpit-project/cockpit/pull/2075 for example I have no idea what to do about 13:49:51 we should try to help fridex's pull requests move along 13:50:18 or https://github.com/cockpit-project/cockpit/pull/2062 13:50:23 does #2075 that need a Feature page? 13:50:36 again, does it need a feature page? 13:50:51 worth asking fridex to put them together? 13:51:01 to understand what is really trying to accomplish here? 13:51:12 yes, I would need some rationale on why to add them 13:51:20 I can ask him for that 13:51:32 i feel ilke passward expiry should be managed centrally 13:51:34 in IPA 13:51:37 and not on individual servers 13:51:41 as a best-practice use case 13:51:44 right 13:51:46 obviously you *can* do it individually 13:51:53 but we don't need to have everything that's possible to do in cockpit 13:51:59 but #2062 doesn't seem so bad 13:51:59 exactly 13:52:10 oh i mean #2075 doesn't seem to bad 13:52:13 the advanced options 13:52:33 still needsdesign though 13:52:43 yes 13:52:57 what about: https://github.com/cockpit-project/cockpit/pull/1965 13:53:01 i've done some work on blankslate 13:53:04 that i'll post 13:53:19 this is blankslate: https://github.com/cockpit-project/jquery-amend/pulls 13:53:24 and i showed it in a demo recently 13:53:38 where you replace content with a centered icon and text 13:53:43 that makes sense 13:53:45 is that a standard patternfly/bootstrap pattern? 13:53:50 i thought i saw it somewhere 13:53:53 but then i lost it 13:54:09 so i just used https://github.com/cockpit-project/jquery-amend/pulls as inspiration 13:54:42 yeah, I kind of recall something like that too 13:54:53 anyway, if you see it i'd be interested 13:54:56 if not, it's not hard to get working 13:55:37 I probably have it around somewhere 13:55:48 so that's those 13:56:04 what else is in that list? 13:56:08 mvollmer, are you replacing https://github.com/cockpit-project/cockpit/pull/2231 ? 13:56:26 andreasn, https://github.com/cockpit-project/cockpit/pull/2303 13:56:27 i am not sure... 13:56:47 stefw, I have to check it more carefully 13:56:50 stefw: yes, that one I'm revieweing today 13:56:51 ok, no worries, just poking at the pull requests to see if they're alive 13:56:53 like jelly fish on the beach 13:57:00 I am going to review today... 13:57:28 i'm going to close this for now: https://github.com/cockpit-project/cockpit/pull/1917 13:58:44 [cockpit] stefwalter closed pull request #1917: WIP: Simpler reauthorize (master...simpler-reauthorize) http://git.io/hUIZ 13:59:19 * stefw is done poking 13:59:35 I'm going to take another shot at https://github.com/cockpit-project/cockpit/pull/2290 13:59:41 it just fell apart last week 14:00:15 and I guess fridex will update https://github.com/cockpit-project/cockpit/pull/2307 14:00:30 well it's very confusing 14:00:36 we should probably summarize what still needs to be done 14:01:53 what it should be fixing is the behavior that occurs when you click the box, then click outside it 14:02:29 because it freaks out because it's suddently empty and gives an error 14:02:47 but what the patch ended up fixing was to just reset for everything 14:02:55 instead of ever giving errors 14:03:14 right 14:03:17 i guess explain that 14:03:20 and it should help 14:03:31 yeah, I'll try to be more clear 14:04:19 alright, all done? 14:04:26 anything else before we hang up the hat for the day? 14:04:29 I'm good 14:04:34 oh one more about the branding 14:04:52 two things. 14:05:02 once you log in, there's usually a lot of padding on the left of the OS text, in the navbar 14:05:04 it seems out of alignment 14:05:15 and secondly, sometimes when the OS text is not available, the top level of the navbar just collapses 14:05:24 and the user name overlaps the second layer of navbar 14:05:56 hmmm, interesting the OS name is aligned with the server icon 14:05:57 oh 14:05:59 and not with its button 14:06:05 I think I know some css for that 14:06:09 so depending on whether you are focused on a server, or focused on the dashboard 14:06:14 it'll look out of alignment either way 14:06:18 or maybe not? 14:06:46 I'll try and fix it and make a pull request 14:06:51 cool 14:07:36 #endmeeting