14:02:12 #startmeeting Weekly Cockpit meeting 2016-11-07 14:02:12 Meeting started Mon Nov 7 14:02:12 2016 UTC. The chair is andreasn. Information about MeetBot at http://wiki.debian.org/MeetBot. 14:02:12 Useful Commands: #action #agreed #halp #info #idea #link #topic. 14:02:12 The meeting name has been set to 'weekly_cockpit_meeting_2016-11-07' 14:02:22 .hello andreasn 14:02:23 andreasn: andreasn 'Andreas Nilsson' 14:02:51 .hello mvo 14:02:52 mvollmer: mvo 'Marius Vollmer' 14:04:59 #topic agenda 14:05:20 (I don't really have anything myself) 14:06:25 * cockpit-ssh 14:08:06 anything else? 14:08:29 uhh 14:08:40 * ubuntu 14:09:05 * atomic package layering 14:09:25 cool. Lets start 14:09:32 #topic cockpit-ssh 14:10:33 so stefw and I have been discussing moving cockpit-ssh to a separate package 14:11:00 to remove the hard dependency on libssh 14:11:25 interesting 14:11:50 so that cockpit-ws is easier to bring in 14:12:08 are we going 'soft' with our dependencies? :-) 14:12:28 heh, bad choice of words i guess 14:12:45 but basically on some OSes libssh is harder to bring in 14:13:04 so we wouldn't be able to do any multi-machine stuff without it 14:13:17 but we'd still like to be able to have a local only cockpit 14:13:29 yeah, I was hoping that we could 'define the experience' and the rest like dependencies follows from that 14:14:04 on RHEL we have to support our dependencies for 10 or 13 years 14:14:13 but yeah, i totally understand the compromises 14:14:20 anyone signing up for libssh? or do we want to have a more pragmatic balance 14:14:23 if nobody else is using the dependency? 14:14:29 we can always take the next step of supporting it later 14:14:52 but yes, lets define the experience 14:15:01 that's why i'm trying to make networkmanager actually work on debian 14:15:03 for example 14:15:10 yeah 14:15:12 so no libssh means no multi-host, right? 14:15:17 our defining the experience is an active development and involvement with the operating system 14:15:21 not forcing change via deps 14:15:56 yes, you wouldn't get the dashboard or any of the multi-machine bits 14:16:13 yes, unless you insalled the cockpit-ssh package 14:16:19 in which case all that shows up again 14:16:19 cool. I think that's an OK compromize 14:16:56 there's work to be done to make it all work nicely, but the main thing i wanted to bring up is that to do this we need to make all communication between cockpit-ws and cockpit-ssh part of what we consider stable API 14:17:27 is there a chance to use /usr/bin/ssh instead of libssh, somehow? 14:17:52 yup 14:17:55 ssh would require a lot of screen scraping 14:17:56 with *lots* of code 14:18:08 but the work petervo is doing allows either of that 14:18:16 just insane amount more code to use /usr/bin/ssh 14:18:36 right 14:19:47 so the best solution we came up with to ensure backwards compatibility is to use env vars to replace the command line arguments that cockpit-ssh currently takes 14:20:01 yes, i was thinking about that more 14:20:02 and it makes sense 14:20:08 as long as we always set the environment variables 14:20:11 even when they're empty 14:20:17 yep 14:20:30 that way the called process can tell the capabilities of the caller, even when the value is not relevant in the given context 14:20:44 and such an extensible spawn interface has a precedent with cgi ... for better or worse 14:21:04 so we should look there to make sure interpretting it is robust 14:21:14 such as the above "always set the environment variable" point 14:21:18 yeah that's a good point 14:22:28 next up? 14:22:49 #topic Ubuntu 14:22:50 i think so, just wanted to make everyone aware since it's something we will need support 14:23:02 as stable 14:23:31 okay, ubuntu 14:23:36 just a quick status report 14:23:41 should be done very soon 14:24:01 and stefw has already unblocked networking on debian and ubuntu 14:24:18 so let's see how that looks in action 14:24:36 i think there were no big surprises with ubuntu 14:24:47 some old packages, same issues as debian 14:25:16 the biggest was of course UDisks2 instead of storaged 14:25:46 which doesn't make me super happy, of course 14:26:02 but you have done work to help replace udisks with storaged right? 14:26:13 talking to maintainers, etc? 14:26:18 yes, a little bit 14:26:25 it is going to happen, I am pretty sure 14:26:45 it is happening in Fedora 25 already 14:26:52 thanks to tomas and gang 14:27:24 and the de-facto UDisks2 maintainer Martin Pitt also wants it to happen 14:28:25 EOT? 14:28:26 that's it 14:28:30 #topic atomic package layering 14:28:32 unless you want to hear more 14:28:40 alright 14:28:54 this topic is just me catching up 14:29:24 and trying to get over my dislike of the cockpit situation in Atomic 14:29:36 so package layering works now 14:29:42 should we embrace it? 14:29:47 for some packages 14:30:04 yeah 14:30:19 so one idea is to have cockpit-ws and cockpit-shell in a container 14:30:28 right, i did work towards that 14:30:31 and the rest in the host, via package layering 14:30:41 needs a bit more work in src/bridge/cockpitpackages.c 14:30:59 so essentially diluting atomic host to the level of an RPM based system? 14:31:03 so navigating to storage will let you install the cockpit-storaged package 14:31:22 yeah, essentially 14:31:29 wouldn't we have cockpit-storaged in the container anyway? 14:31:34 and we'd offer to install its deps on the system? 14:31:36 that would avoid having to put the tricky bits into containers 14:31:56 and system updates work? 14:32:02 yes 14:32:19 so a new version of storaged that works with the given lvm2 and kernel gets pulled in appropriately? 14:32:22 and it's tested together? 14:32:38 i think it would be nice to have a cockpit-ws-plus-shell container that is very independent of the OS 14:32:44 yup 14:33:09 so concretely this lets us ... 14:33:17 ... unblock something we're working on now? 14:33:21 so the actual UI bits (cockpit-storaged) that need to be matched to the APIs are not in it. 14:33:22 actually deliver something? 14:33:38 but i'm not against it 14:33:43 seesm like we should deliver that container first 14:33:47 and then embrace the next step 14:33:52 i think it would make "Storage" work with almost zero work 14:33:54 if things haven't been resolved at the operating system level 14:34:27 so yeah, if you're going to work on the container ... i'd be a fan 14:34:32 cool 14:34:50 i'm less of a fan of diluting one of the few actually integrated and tested Linux operating systems that exist 14:34:57 but i hope we can help make that situation better 14:35:02 anyway, rather than working around it 14:35:16 as in making storaged so solid that its just part of the operating system 14:35:23 which OS is that? Fedora or Atomic? 14:35:26 Atomic 14:35:44 everything else is distro based and essentially 52-card-pickup 14:35:54 https://en.wikipedia.org/wiki/52_Pickup 14:36:19 as in a pile of random legos ... that is put together differently for everyone and we hope works 14:36:39 embrace the chaos, it's stronger than you... :-) 14:37:15 i know you're kidding ... since you're about 'define the experience' 14:37:21 :) 14:37:37 "Cockpit helps the server evolve coherently" and all that 14:37:43 but yeah, lets work on the container 14:37:48 that's a next step in any case 14:38:05 so the container would serve port 9090 14:38:10 yup 14:38:19 and it would be a logical progression of the current cockpit-ws container 14:38:20 and be able to put up a empty shell, basically 14:38:35 just when the host has no packages, it would find an apprpropriate one 14:38:40 yes 14:39:02 there's already work done to have the atomic version show up in the init message 14:39:14 so cockpit-ws can easily figure out a directory to use, similar to branding 14:41:24 right 14:42:35 cool. Anything else? 14:42:40 #topic Open floor 14:42:44 anything for the open floor? 14:42:51 Next Release 14:42:56 oh, right 14:43:10 The next release is going to have the tarball changes we talked about 14:43:26 where we don't bundle any javascript or node dependencies in the main tarball 14:43:39 and instead we bundle files that are ready to be installed ... dist/ files 14:43:51 but they are easily removed by removing the dist/ directory or 'make clean' 14:44:06 in addition there's an awful lot of unreviewed and pending changes to the release process 14:44:18 that are going to make this release quite exciting, and a bit of bug hunting. 14:44:36 i need help reviewing this: https://github.com/cockpit-project/cockpituous/pull/44 14:44:39 and merging it 14:44:44 and i'll probably have lots of follow up fixes 14:44:58 that's blocking the release 14:47:32 [cockpit] stefwalter opened pull request #5320: Makefile: Setup DIST_ARCHIVES correctly for multiple outputs (master...many-dist-archives) https://git.io/vXRY8 14:47:36 that's it on that 14:47:58 cool 14:48:01 #endmeeting