/srv/irclogs.ubuntu.com/2018/04/03/#ubuntu-us-mi.txt

rick_h_jrwren: hah cool00:54
rick_h_jrwren: congrats00:54
cmaloneyGood morning13:43
jrwrenGood Morning.13:43
daemoneyemoin cmaloney and jrwren13:46
cmaloneyAre we having fun yet?13:50
daemoneyeI am. Dunno about anyone else.13:52
* daemoneye is happily digging into the code of ceph13:52
cmaloneyany particular reason?13:53
daemoneyeYeah. $job is paying me to do so... figuring out how ceph deals with permissions.13:54
waldo323hopefully better morning to everyone else :)   oi, digging through log files and zenoss events14:06
waldo323trying to figure out why they NFS server is periodically dreaming of being an airplane or trying to rev its motorcycle alter ego14:08
daemoneyewaldo323: I suspect it is just tired of being a NFS server14:09
waldo323perhaps it needs an intervention14:09
daemoneyeI think it might.14:10
daemoneyeAnyone in the A2 area want to grab lunch around 11:30?14:10
cmaloneyTHanks for the offer, but not in A2. :)14:11
daemoneyeAhh okay. :-)14:11
waldo323I'm not seeing any errors, and actually thought the disk group was connected with a different machine and saw some other messages which didn't look good on the wrong machine14:12
daemoneyethe machines are going rouge! RUN AWAY!14:12
waldo323"kernel: hpilo" ... "Open could not dequeue a packet"14:12
daemoneye:O14:13
waldo323google hasn't been helpful so far14:13
waldo323i have only found others with that in their logs from years ago but no solutions yet14:14
* daemoneye nods14:14
waldo323...oh someone is saying those are informational and can be ignored14:14
daemoneyeohh14:15
jrwrendaemoneye: that sounds FUN!  But... I didn't think ceph did anything with permissions. :)14:18
daemoneyejrwren: It does! You can specify that only one UID can work with a given key. So if I state that UID 1001 can read/write to the ceph server, I cannot let any other UID write there, including root.14:22
jrwrendaemoneye: they aren't unix uids are they? they are ceph uids?  are we talking ceph rbd, object, or FS?14:25
daemoneyeThey are, from what I can tell, unix uids14:26
jrwrenIs there an idmap?14:26
cmaloneyare they internally unix uids or what jrwren said? :)14:27
daemoneyeI'm not sure. This is what I am going off of. http://lists.ceph.com/pipermail/ceph-users-ceph.com/2017-February/016173.html14:27
jrwrenah, ok. I found some answers to my question in the docs: "A Ceph Storage Cluster user is not the same as a Ceph Object Storage user or a Ceph Filesystem user. The Ceph Object Gateway uses a Ceph Storage Cluster user to communicate between the gateway daemon and the storage cluster, but the gateway has its own user management functionality for end users. The Ceph Filesystem uses POSIX semantics. The14:28
jrwrenuser space associated with the Ceph Filesystem is not the same as a Ceph Storage Cluster user."14:28
cmaloneySo there is a mapping14:28
daemoneyeYep14:28
cmaloneyper storage cluster14:29
jrwrenits CephFS only.14:29
jrwrenMakes sense.14:29
jrwrenhow big is your ceph cluster?14:29
daemoneyeWe have about 15PB.14:29
cmaloneycurious how the storage cluster users map across different machines14:29
cmaloneyor is it one of those "you are UID 1001 across each of these machines that you're mapped to"14:30
daemoneyecmaloney: there is a metadata server that manages that for you.14:30
cmaloneyAh, OK14:30
cmaloneyso a special driver on the mounting machine then?14:30
daemoneyeYeah. There is some code that wraps around fuse.14:31
daemoneyeThere are three types of servers for ceph. One for the storage of data, one for metadata, and one for monitoring the system.14:32
jrwrendaemoneye: 15PB is a lot. What kind of network is it on?14:36
jrwrencmaloney: MDS not necessarily on the mounting machine, other than the in-kernel cephfs driver, AFAIK14:37
jrwrenCeph is awesome, but the network gear to run it reasonably is expensive AFAICT14:37
daemoneyejrwren: It is split between UMich, Wayne State, and MSU.14:39
daemoneyeWe have a 100GB link, a couple 40GB links, and a couple 80GB links14:40
brouschYou can't keep UM and MSU data in the same cluster. It will destroy itself.14:40
jrwrendaemoneye: ugh, WAN ceph? isn't that not recommended?14:40
jrwrendaemoneye: I meant more like: what is the local net like for local cluster.14:40
daemoneyeDunno if it's not recommended, but I could see why it wouldn't be.14:41
jrwrendaemoneye: I guess I mean each server with ceph storage nodes in them. What are their connectivity.14:41
* daemoneye *cough*MSU*cough*14:41
jrwrenyeah, the 100GB, 40GB and 2-80GB aren't dedicated for the ceph, are they?14:41
daemoneyejrwren: Ohh, I believe they are 100GB on the LAN14:42
jrwrenWOW!14:42
jrwrenthat is awesome.14:42
daemoneyeyeah14:43
daemoneyeIt's fun seeing 40TB go across a 100GB link14:43
jrwrennot even AWS uses that.14:43
jrwrenoh, i assume we were just writing B when we meant b for all of those network speeds.14:43
daemoneyeYep. Well, UMich lawyers like things fast and stable. And we don't want to piss them off.14:43
daemoneyeand yes14:44
cmaloneyThat's still pretty damn fast14:44
daemoneyeI love how the drivers for a portable DVD writer comes on a CD...14:45
cmaloneySo this is one humongous Ceph cluster between all of the schools? What sorts of data are on this thing?14:45
daemoneyeThat it is. And it is being designed for physics computation that various companies want to do.14:45
daemoneyeIt is a shame I am only here for another six months or so... Got a 1 year term limited gig working on it, so I am already looking for new work.14:47
jrwrensounds pretty darned awesome.14:47
daemoneyeyeah, it's fun14:48
jrwrenwith that much ceph experience, sounds like you could just go to redhat and say, "give me a job, K?"14:48
daemoneyelol14:48
daemoneyeI would, but the code is awful IMO.14:48
cmaloneyheh14:49
daemoneyeDocumentation is lacking, for about three months I was finding a bug a week, and the comments within the code were marginal at best.14:50
daemoneyeAnd this is all on the stable release, not the repo head.14:50
daemoneyeIf I had the time and energy to do it, I'd probably spend my time cleaning it all up.14:52
daemoneye:o14:53
daemoneyewelcome back cmaloney14:54
cmaloneytx14:54
jrwrenits amazing RH doesn't invest in cleaning it up, isn't it?14:54
daemoneyejrwren: yeah.14:54
cmaloneySince RH bought it they may not be aware of the code quality. :)14:54
daemoneyeThat's possible14:54
jrwrenum, they are aware.14:55
jrwrenheck, RH has a track record of buying things with exceptionally poor code quality.14:55
daemoneyeAnd the line count for some of the files makes some folks I know gag.14:56
jrwrenjboss, and that other FS.14:56
jrwrenwell, that is just personal prerence and they need to get over that.14:56
jrwrenstyle is not necessarily a code quality issue.14:56
daemoneyeYep. One file is almost 12KLOC14:56
jrwrenno big deal.14:57
daemoneyeOnly issue I have with the code are comments like this: "/* -- FIXME -- */"14:57
jrwrennow, if that is 1 function OTOH :)14:57
daemoneyejrwren: naw, it's about 6 classes and a couple dozen functions.14:58
daemoneyeAnd I can see the reason behind multiple pairs of public and private sections of a class.14:59
jrwrena couple dozen functions? so... 500line function average? ok, that is bad.15:00
daemoneyeYep15:00
daemoneyeI know it can be improved greatly.15:00
daemoneyeAnd that is coming from someone who hasn't touched C++ in five or six years15:01
jrwrenwere you looking specifically at cephfs code or other areas?15:03
jrwrenrbd seems to be their core. i'm not surprised cephfs is secondary.15:03
daemoneyeI was looking at the ceph fuse client code15:03
jrwrenoh, is that even core project code?15:06
daemoneyeI believe so, as it is the common way to mount the fs on a client machine.15:06
daemoneyeOr at least one of the common ways15:06
jrwrenit is? I thought there was a kernel module15:07
daemoneyeThere is if you want to do a kernel mount. There is also a userland mount version15:07
jrwrenI guess both would be important depending on the client.15:08
daemoneyeMostly for those poor souls who don't get the joys of having sudo rights.15:08
cmaloneyLooks like the code is a combination of C++ and Python?15:08
daemoneyeYep.15:08
daemoneyeAnd I have found minor hints of java as well placed here and there15:08
cmaloneyI did not expect to see PYthon in there. :)15:08
daemoneyeAhh. Python is there as a way for folks to manage the cluster.15:09
cmaloneyright15:09
cmaloneyMan, I do not know C++ at all15:10
jrwrencmaloney: no one does, not even bjarn :p15:10
daemoneyeI am the same way15:10
daemoneyelol jrwren15:10
cmaloneyOf course I'm just picking random files to see what's going on so it's all line noise15:11
cmaloneyI took a look at Firefox just to see if I could read the code and see what it does. Blender as well. I wept.15:11
jrwrencmaloney: well, like daemoneye said, that is *bad* C++ code.15:11
jrwrencmaloney: there is good c++ code out there from which you can learn.15:12
daemoneyecmaloney: this is probably some of the better code. https://github.com/ceph/ceph/blob/master/src/ceph_fuse.cc15:12
cmaloneyIt looks like it's mostly warning messages about known kernel issues. :)15:13
* cmaloney packs up the computers and becomes a farmer15:14
daemoneyeaww.15:14
* daemoneye offers cmaloney a pint15:14
cmaloneyheh15:14
daemoneyeIt is the only thing that gets me through sometimes15:14
daemoneyeThat and the occasional nice cigar or pipe15:14
cmaloneyI think the major problen is my eyes don't like C++ syntax at all15:14
cmaloneyit's too busy15:15
daemoneyeYeah. I can agree with that15:15
cmaloneyI think Python has spoiled me a little too much15:17
cmaloneyI mean, I can still read C code, but that's pretty much a HLA anyway. ;)15:18
daemoneyelol15:18
cmaloneyBut C++ objects never clicked with me15:18
daemoneyeHmm... how much do I want to punish myself tonight? Have to do a reinstall of my OS. Do I stay with Debian? Or do I try to install slackware or Gentoo on the machine?15:19
cmaloneyheh15:19
cmaloneyI mean, C++ always starts with "OK, we're going to do 'Hello world'". And it starts easy enough.15:19
cmaloneyThen they add objects and it's like someone kicked over a bunch of alphabet blocks into the page15:20
daemoneyelol, that's actually quite true15:20
daemoneyeAnd probably went with "fsck this noise!"15:20
daemoneyeWell, time to go forge for food. later everyone!15:21
cmaloneyhave fun!15:22
daemoneyewill do!15:22
jrwrenC++ objects should be simple if you think of them like a C struct with a vtable.15:22
jrwrenits the C++ metaprogramming that makes my head hurt.15:22
cmaloneyI think the other problem with C++ was I was learning it at the same time as Java16:22
cmaloneyso I've kinda conflated the two as a bundle of hot mess16:23
jrwrenoh yeah, that would be TOUGH16:35
cmaloneyIt wasn't until Python that I really understood OO16:36
cmaloneyjust in ime for everyone to start on again about functional programming16:37
cmaloney;)16:37
jrwrenlol, well not the Go people.16:41
cmaloneyIs Go not particularly functional?16:43
jrwrenits not.16:47
jrwrenin fact, it is anti functional.16:47
jrwren"use a for loop" is the go way instead of passing a function to map.16:47
jrwren"use a for loop with an if statement" is the go way instead of passing a function to filter.16:47
cmaloneyInteresting16:49
Scary_Guywow, busy morning16:53
jrwrensomeone with a real world ceph implementation, not the crap I used in teh past :p16:54
daemoneyeYep. We are social today16:54
Scary_Guyapparently, also that you on the bridge?16:55
daemoneyeYeah, that was me. I'll get back on16:55
Scary_GuyI'll call in once I find my phone16:55
daemoneyecool16:55
Scary_Guy248-724-2600 for anyone else that wants to join us on the #mi2600 (ofdoom.org) partyline16:56
jrwrenis there a discord?16:58
daemoneyenot that I know of16:58
Scary_Guyold school PBX as far as I know17:00
cmaloneyheh17:01
jrwrenclassic17:02
jrwrenmaybe there is an discord asterisk bridge.17:03
Scary_Guyhttps://github.com/42wim/matterbridge17:07
Scary_Guyso, no but maybe you can bridge something else to it?17:08
cmaloneyNice. Apparently good ol' Amazon Music isn't allowing folks to upload their music anymore17:10
cmaloneyprobably because of licensing nonsense17:11
Scary_GuyAmazon what? ;_17:11
Scary_Guy;)17:11
cmaloneyApparently I have uploaded music to there in the past but I'll be damned if I know what that is.17:11

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!