13:01:24 #startmeeting Cockpit Weekly meeting 2016-09-19 13:01:24 Meeting started Mon Sep 19 13:01:24 2016 UTC. The chair is andreasn1. Information about MeetBot at http://wiki.debian.org/MeetBot. 13:01:24 Useful Commands: #action #agreed #halp #info #idea #link #topic. 13:01:24 The meeting name has been set to 'cockpit_weekly_meeting_2016-09-19' 13:01:30 .hello andreasn 13:01:31 andreasn1: andreasn 'Andreas Nilsson' 13:02:12 .hello dperpeet 13:02:13 dperpeet: dperpeet 'None' 13:02:18 .hello mvo 13:02:18 mvollmer: mvo 'Marius Vollmer' 13:02:34 #topic agenda 13:02:48 .hello larsu 13:02:49 larsu: larsu 'Lars Karlitski' 13:04:34 * what mvo is up to 13:05:03 * subscriptions 13:05:13 * virtual machines 13:06:34 sounds good 13:06:48 mvollmer: are you sure you want to call the agenda item that? 13:07:06 hmm... 13:07:27 I mean, it's probably a fine name 13:07:29 * network polish 13:07:32 ah 13:07:32 :-) 13:07:45 #topic Network polish 13:08:03 ohh, the first, alright. 13:08:11 sorry, not super concentrated... 13:08:13 so 13:08:27 i have started on the checkpoint/rollback stuff 13:08:39 the NM guys have done that, pretty much for us, I guess, in 1.4 13:08:57 what does checkpoint/rollback mean? 13:09:05 so the idea is that before we make any changes, we take a snapshot, and after making the changes, we destroy the snashot 13:09:24 ah, so if something break, you can change your mind? 13:09:30 if, however, we lose connectivity before cancelling the checkpoint, NM will automatically roll back 13:09:51 so we are protected from changes that kill connectivity to Cockpit 13:09:55 ah, right 13:10:38 that sounds great 13:10:48 yeah, pretty cool stuff 13:10:51 if it works as advertised, it's mostly busy work to find and change all places in Cockpit that need this 13:11:11 would this be something we hide from users? 13:11:28 i don't know... 13:11:35 so not a snapshot functionality for lots of config steps for example 13:11:43 if we break connectivity, they will notice, probably 13:11:46 :) 13:11:48 but it will come back after a while 13:11:57 but I mean snapshot+rollback is something they shouldn't notice 13:12:08 yeah, there is no change in the UI 13:12:11 ok 13:12:13 agreed 13:12:14 it will just happen 13:12:19 magic! 13:12:34 but we might try to improve the experience in the period where connectivity is lost 13:12:53 at least we can provide a better text 13:12:55 so what kind of situations could this happen in? 13:13:09 You hit Off on your main interface 13:13:22 or you change the IP to something else 13:13:50 so we might also want a way to say: make this change, and I take care to reconnect 13:14:27 but what if I do something like disabling an interface 13:14:31 and expect to be disconnected 13:14:36 will that mean I can't use cockpit to do that anymore? 13:14:38 yeah 13:14:52 corect 13:15:05 hm 13:15:14 we need to be careful with that then 13:15:30 but I would argue that we're talking about something unusual here 13:16:17 this wouldn't cover if I change from whatever I got randomly from the DHCP server to something very specific, like 192.168.1.100, right? 13:16:36 it won't go and connect to 192.168.1.100 automatically, or something like that? 13:17:00 ha, good example andreasn1! 13:18:43 but I think if the rollback can solve hitting Off on the main interface you're on, I think that's an excellent step in the right direction already 13:19:53 let's see how well this works in practice 13:20:18 yeah 13:20:33 the best would be a warning: this change will disconnect you from the machine, really do it? 13:20:48 of course, but can that be readily detected? 13:20:56 I think we need to discuss that user story outside of the meeting 13:21:04 there are so many ways to configure a network... 13:21:05 it might be detected by doing the change and waiting for the rollback 13:21:06 is there any good documentation or blog post about the rollback in NM? 13:21:10 "might disconnect" could already help 13:21:19 just to make the person doing the change rethink it one more time 13:21:36 larsu, we would need to say that for any change, no? 13:21:39 larsu, sounds good 13:21:49 because we don't know what'll happen 13:21:53 there is some good previous art from routers in this area I think 13:22:02 only where we reasonably believe that will/could happen 13:22:15 mvollmer: not sure :/ Could be a lot, indeed 13:22:15 I think we need to play around with that somewhat 13:22:45 easiest is to just use rollback 13:22:49 I think it is unrealistic for anyone to predict which change is dangerous 13:23:06 but we can react once it has happened 13:23:21 sounds sane, the more I think about it 13:23:43 "whoops, this change caused a disconnection and has been undone. Press this button three times to do it anyway" 13:23:51 ha 13:24:03 "say this name in the mirror 3 times" 13:24:19 [cockpit] cockpituous opened pull request #5064: Image refresh for continuous-atomic (master...refresh-continuous-atomic-2016-09-19) https://git.io/viMOs 13:24:36 "install this proprietary plugin" 13:24:45 not scary enough, I guess 13:24:50 mvollmer: do you have a PR or branch up somewhere already? 13:24:55 no 13:25:13 but something else: https://github.com/cockpit-project/cockpit/pull/5053 13:25:21 this is for showing unmanaged devices 13:26:00 like wifi-devices and such? 13:26:22 no, devices that have explicitly been taken away from NetworkManager by the admin 13:26:31 this happens on Debian a lot, I think. 13:26:44 but also elsewhere 13:26:57 I think virt-manager takes its vlans away from NM 13:26:59 oh, right, those things 13:27:18 people were confused that they didn't see all interfaces 13:27:24 so you can see them, but not change them? 13:27:34 correct 13:27:41 makes sense 13:29:32 all right. 13:29:48 next up 13:29:59 #topic subscriptions 13:30:24 pull request in question: https://github.com/cockpit-project/cockpit/pull/4715 13:30:48 this ports the subscriptions page to react and updates the patterns used 13:31:02 these include dialog behavior and the listing pattern for the subscriptions 13:31:28 and extension of the tests 13:31:32 this is ready for review 13:31:54 I think part of the change is also that you can now unregister a system 13:32:18 yes, that's new in the pull request :) 13:32:40 did you want to figure out if we want to have the subscription status in the listing view in this PR, or did you mean that for a followup PR? 13:32:47 I know you want this merged soon 13:32:55 one thing that's not in there is an integration test for clicking cancel in the registration dialog 13:33:22 considering we have more than 130 comments already, I think that would be a good follow-up 13:33:30 since we probably need to tweak that a bit 13:33:34 yeah 13:33:45 lets get this closed as soon as possible 13:33:58 larsu, do you want to look at the react code I wrote? 13:34:09 I changed some callbacks to use events 13:34:18 yeah I can have a look 13:34:19 but not all 13:34:20 I tried it a bit on Friday, but it was on a fedora system, so it doesn't list any subs 13:34:34 right, that will be my problem as well :) 13:34:36 andreasn1, if you use the test data, you can test this on a fedora system 13:34:40 will try with the ones from the test images after the meeting 13:34:46 right 13:35:06 the process is described here: https://github.com/cockpit-project/cockpit/blob/master/test/verify/check-subscriptions#L28 13:35:32 larsu, if more places should use events instead of callbacks, I'm happy to block merging until we've discussed 13:36:03 that's all not public API, is it? 13:36:04 but anything that adds features should probably go into a follow-up 13:36:12 if not, I'm fine with doing that later as well 13:36:14 exactly 13:36:24 true, could be done 13:36:40 but the code has seen a few rebases already 13:36:45 there might be junk I forgot to remove :) 13:37:00 hehe right 13:38:13 end of topic 13:39:00 nice 13:39:15 #topic virtual machines 13:39:35 mlibra have done great progress on this in #4434 13:40:36 it's nice to see this getting closer to being merged 13:40:48 we might want to look into using more of Cockpit's patterns there 13:40:54 to make it easier to maintain 13:41:11 unless that is to be embedded in other places that have different patterns 13:41:17 yeah 13:41:49 ui-wise it's shaping up really well. Some small issues left with the tab bar, but I think those should be easy to fix 13:42:12 I would like to see larsu's listing view updates merged before we rework the virtual machines pr 13:42:30 mlibra does that sound good to you? 13:42:44 I can propose a patch to use our listing pattern 13:42:55 if it's ok to add the dependency 13:43:11 I think we should use it in as many places as possible 13:43:23 consistency! 13:43:51 otherwise we basically reinvent our listing view to fix the ui issues 13:44:12 sounds good! 13:44:28 i want to use the list view for storage also 13:45:06 mvollmer, plans to rewrite storage in react? 13:45:14 no plans yet 13:45:16 ok 13:45:24 well, we also have the jquery pattern 13:45:27 but the current design can't grow anymore, I guess 13:45:40 I still owe you a review on the new layout btw 13:45:43 towards lvm+raid for example 13:45:48 sorry for dragging my feet on that 13:45:51 let's discuss that outside of the meeting 13:45:55 yeah 13:46:00 mvollmer, ping me before you rework the listing view 13:46:07 react also works for rendering parts of a page 13:46:13 yes, just a showerthought right now 13:47:00 all right 13:47:05 #topic open floor 13:49:00 sounds like that was it 13:49:03 #endmeeting