13:00:30 #startmeeting! 13:00:31 Meeting started Mon Oct 5 13:00:30 2015 UTC. The chair is mvollmer. Information about MeetBot at http://wiki.debian.org/MeetBot. 13:00:31 Useful Commands: #action #agreed #halp #info #idea #link #topic. 13:00:41 .hello mvo 13:00:42 mvollmer: mvo 'Marius Vollmer' 13:03:03 .hello andreasn 13:03:04 andreasn: andreasn 'Andreas Nilsson' 13:04:19 petervo, around? 13:04:59 let's start 13:05:02 #topic Agenda 13:05:08 * timesync 13:05:25 *iSCSI 13:05:52 I would love to talk SELinux, but I think dperpeet isn't around yet 13:06:01 so I'll grab him later tonight or tomorrow 13:06:08 right 13:06:19 then it's a quick meeting. :-) 13:06:31 #topic timesync 13:06:38 so I started hacking on this. 13:07:00 the config API is a typical "drop your files here" setup. 13:07:26 also, individual network configuration bits can contribute NTP servers. 13:07:39 which means it is not easy to manage the whole picture. 13:07:49 individual network conf? how? 13:08:06 the *.network files used by networkd 13:08:10 ah, I see 13:08:29 are these attached to specific connections? 13:08:51 so we can, in a straightforward way, manage our own list of NTP servers, which will be used in addition to the others. 13:08:56 wherever they come from. 13:09:26 this is enought to make things work 13:09:32 all right 13:09:42 but not enough for control freaks like the original user story 13:09:59 I have changed that user story... 13:10:28 https://github.com/cockpit-project/cockpit/wiki/Feature:-Time-Sync-Configuration/_compare/561bcbc8f4357d3dedfb2191187dd4553d0c56fa...0caf597e90205ef3048ccf7ac4c6be4dc00ade3e 13:10:43 #info https://github.com/cockpit-project/cockpit/wiki/Feature:-Time-Sync-Configuration 13:11:09 other than that, this should be ready soonish 13:11:24 great to hear! 13:11:31 timesyncd is a bit silent about errors, so things don't work until they magically do 13:11:36 like with NTP in general 13:11:54 changes to the user story makes sense 13:12:11 that's how it is I guess 13:12:19 re the errors 13:12:21 we can show the timesync status in the dialog, maybe 13:13:14 what status could that be? 13:13:42 "Using Time Server 66.135.44.92:123 (0.fedora.pool.ntp.org)." 13:13:44 just a string 13:14:03 ah, yeah 13:14:09 that we get from networkd? 13:14:34 we can combine that with timedatectl "NTP synchronized" 13:14:46 sure 13:16:00 [cockpit] rbuj opened pull request #2902: add Catalan (master...catalan) http://git.io/vcy7H 13:16:24 do you have a public branch already? 13:16:29 okay, more about this later then 13:17:05 next? 13:17:16 sure 13:17:17 #topic iSCSI 13:17:41 we got feedback from fabiand, thanks! 13:17:59 yes, very useful! 13:18:00 mvollmer, no problem at all! 13:18:01 biggest item is probably "multi select" 13:18:28 yeah, and as I understood, that was because of multipath 13:18:54 ahh, I see 13:18:55 actually for mpath and for convenience if you want to attach multiple targets (but the latter is probably not that important for now) 13:19:06 for mpath the "consolidation" appaorach might be a good thing .. 13:19:07 for convenience with multipath, then? 13:19:32 can we identify the mpath setup before login? 13:19:41 for mpath it really makes sense, because you - rather cockpit - would directly attach all paths for a specific disk .. 13:19:47 mvollmer, no 13:19:55 but you can identify it once you see the targets 13:20:07 what is a target again? 13:20:14 target== disk 13:20:18 right 13:20:40 but that's too late to help with convenience in the "Add portal/node/whatever" dialog. 13:20:45 so, when you see multiple disks in the same portal with the same serial, then it is an mpath device 13:21:10 yes, we should handle that already, since recently. 13:21:16 really!? 13:21:19 in the general case, not just iscsi. 13:21:23 right 13:21:25 is there something special about iscsi? 13:21:31 yes .. 13:21:37 *sigh* 13:21:40 :) 13:21:49 haha 13:21:51 :) 13:21:53 mvollmer, in the iscsi case each path will appear as an individual target 13:22:14 so, you need to connect all targets (which represent paths to the same disk) before you can join them into an mpath device 13:22:19 target == block device, right? 13:22:22 yep 13:22:35 how do I connect them? 13:22:48 ohh, I see, sorry. 13:22:48 so, it would be ideal if the target dialog could merge multiple disks into one logical mpath device, if it sees that they share the same serial 13:22:54 mvollmer, :) 13:23:09 there is no target dialog 13:23:17 let me check how it is called 13:23:44 you said target == disk, so let's never mention target again 13:23:50 :D 13:24:35 "Available targets on 127.0.0.1" - that is the dialog where disks with the same serial should be "grouped" 13:24:52 does that dialog show disks? 13:25:11 yes 13:25:13 i thought it shows something one level above disks 13:25:15 iqn.2003-01.org.linux-iscsi.mvollmer-cockpit-iscsi-demo.x8664:sn.eeb23e67ee13 127.0.0.1 3260 13:25:25 no, that is portals 13:25:25 that's one disk? 13:25:30 oh 13:25:31 wait 13:25:47 no, all right .. 13:25:52 portal has many disks 13:26:01 portal = first dialog (iqn, user/pw) 13:26:12 disks (targets) = second dialog 13:26:23 optional third dialog = auth for target 13:26:37 fabiand: the server I tested with earlier had a multipath, right? 13:26:49 maybe mvollmer could test with that one as well 13:26:53 andreasn, the one which fails to connect? yes 13:27:00 yup 13:27:03 yep 13:27:37 because in that case the disks had different addresses, one was x.x.x.12 and the other x.x.x.13 13:27:55 fabiand, the first dialog runs iscsiadm --mode discovery and uses the result to ppopulate the second dialog. 13:28:30 can we use the result of --mode discovery to make gropus that should be logged in at the same time? 13:28:33 mvollmer, right - you point discovery to a portal 13:28:55 mvollmer, yes 13:29:18 how to we make those groups? 13:29:22 *do 13:29:30 mvollmer, we group them by serial 13:29:45 the results of iscsiadm --mode discovery does not contain serials. 13:29:54 as far as I can see 13:30:20 * fabiand checks that as well 13:30:23 could be that we need -v 13:30:37 also, wouldn't multipath use multiple IPs anyway? 13:31:02 so a singel discovery to a single IP will never show all the things that you want to login to to get multipath, no? 13:31:25 yes - I'm irritated by that - but it seems (and you can see that in the existnig cockpit ui already) that the disks (targets) can have different ips 13:31:58 you connect to a portal, and it seems that this portal can show all disks/targets with their different ips 13:32:29 (however, if the have the same serial, storaged/cockpit should dtrt and expect devicemapper-multipath to set them up.) 13:32:46 $ sudo iscsiadm -m discovery -p 11.11.90.115 --type=sendtargets 13:32:46 11.11.90.115:3260,1000 iqn.1992-08.com.netapp:sn.125053389 13:32:46 11.11.90.116:3260,1001 iqn.1992-08.com.netapp:sn.125053389 13:32:53 fabiand, aha, that makes sense indeed. 13:32:53 mvollmer, sry i'm late 13:33:18 and the iqn is the same! 13:33:21 mvollmer, indeed - if we see multiple disks with the same serial, then all of them need to be logged in and mpath should be started 13:33:23 *click* 13:33:25 mvollmer, yep! 13:33:32 serial == iqn! 13:33:36 * fabiand did not know if only the serial or something else was shown by iscsiadm 13:33:41 not disk serial! 13:33:41 sort of, yes 13:33:57 ok, we do that. 13:34:37 so, no multiselect, but we need to cope with multiple IPs for the same iqn in the discovery results. 13:34:44 right 13:34:51 mvollmer, for completeness: 13:34:52 $ sudo iscsiadm -m discovery --type=sendtargets -p 11.11.8.222 13:34:52 11.11.8.222:3260,1 iqn.2013-01.com:ha 13:34:52 11.11.8.222:3260,1 iqn.2013-02.com:ha 13:34:52 11.11.8.222:3260,1 iqn.2013-03.com:ha 13:34:52 11.11.8.222:3260,1 iqn.2013-04.com:ha 13:35:02 that's how four individual (single pathed) targets/disks look like 13:35:22 okay 13:36:11 and normally, one iqn == one disk, right? 13:36:19 yes 13:36:22 but sometimes, one iqn == multiple disks/luns. 13:36:38 mh ... 13:36:40 or never? 13:36:43 hard to say yes here :) 13:37:01 i think targetcli can be configured like that 13:37:01 let me find the right words 13:37:13 one disk always has one iqn 13:37:22 it's just bl**dy scsi over ip, how can this be so complicated? 13:37:29 mvollmer, iqn should be unique disc identifier 13:37:37 but - that iqn can be exposed through multiple targets 13:37:45 and thus the multiple targets have the same iqn 13:38:17 but in some way, you can say: but sometimes, one iqn == multiple disks/luns 13:38:31 we can say it if we know what we mean :) 13:39:11 one iqn == multiple block devices on the initiator 13:39:27 but always, one iqn == one backing store. 13:39:40 right? 13:39:46 I try with targetcli. 13:40:25 I think it's called luns (or lun mapping) there 13:40:28 but yes, along this line, yes 13:41:37 okay. 13:42:14 fabiand, what do we do about iscsi-initiator-utils? 13:42:23 https://bugzilla.redhat.com/show_bug.cgi?id=1262279 13:42:27 mvollmer, difficult imo 13:42:41 mvollmer, looks like the short term solution is to keep libiscsi in initator utils in fedora only 13:42:47 mvollmer, the long term is to upstream it ... 13:42:49 but that can take a while 13:43:04 u/s iscsi initiator utils wants api completeness before they merge it .. 13:43:27 that means, libiscsi should cover all functionality that is currently covered by the individual tools in iscsi-initiator-utils... 13:43:30 and that is some work .. 13:43:43 mvollmer, but in the end libiscsi should be there 13:43:57 * fabiand actually thought if it made more sense to pull libiscsi into storaged, but that does not make sense 13:44:11 mvollmer, and for the really short term: I hope that phatina's patch will soon be merge in fedora 13:44:40 I hope we can do more than hope. 13:44:46 mvollmer, the issue is that neither me or phatina were able to merge the patch into the Fedora rawhide branch. That is why we need to leave it to the iscsi-nitiator utils maintainer 13:44:48 :) 13:44:57 I believe that more can be done with more time 13:45:09 basically we just need to rbeuild the "Fedora tree" then we can apply the patch .. 13:46:24 mvollmer, one improvement would be to have a iscsi-initiator-utils tree with all the fdora patches somewhere - then new patches can be applied easily 13:46:25 is there commitment to have the patch in Fedora 23? 13:46:28 this is just not the case right now 13:46:51 mvollmer, I don#t know about the timeline, but it sounds like there is nothing blocking that patch 13:46:53 just the lack of time 13:47:06 okay 13:47:23 let's see what happens then 13:48:40 I have made a not about mpath: https://trello.com/c/PG1LJDX9/127-iscsi-initiator 13:48:57 I'll get to that after the timesync stuff. 13:49:37 okay, next? 13:49:40 sure 13:49:52 #topic Open floor! 13:50:19 sorry we took all this time with iSCSI 13:50:24 Hopefully we can have a Vagrantfile going soon 13:50:27 but that was good progress, thanks! 13:50:44 in general, i'd like to do some work to make it easy for people to hack on pkg/ without doing an autogen.sh and configure 13:50:46 mvollmer, awesome iscsi work - really! 13:50:48 that's just a heads up 13:51:04 great news re Vagrant 13:52:05 the first step with vagrant is having people use it to test out pull requests 13:52:17 hopefully we can have that working by the 0.79 release 13:57:04 are we done? 13:57:12 I think so, yes 13:57:18 alright 13:57:19 yup 13:57:24 thanks everyone! 13:57:28 #endmeeting