News for hackers. Stuff that matters.
Re:Torus: A distributed storage system by CoreOS by bogomipz on Wednesday June 01, 2016 @01:43PM (#11816511)
I kind of see this as a general trend where CoreOS is concerned they reimplement everything in house, even when open source solution might already exist - rkt, etcd, now this.
Re:Torus: A distributed storage system by CoreOS by vidarh on Wednesday June 01, 2016 @02:48PM (#11817085)
Rkt had good reasoning behind it, and I think it's reasonable to assume that a lot of the recent changes to Docker came because they forced Docker's hand.

For Etcd I'm of two minds. I like its simplicity. On the other hand, I have had far more problems with Etcd than I've ever had with e.g. Consul (though I dislike Consuls "and the kitchen sink" approach), up to and including data loss and more than once having to re-initialise clusters. I'm a couple of years of no further problems at least a way from trusting Etcd with my data.

For this? They have to have very compelling stories for why they couldn't e.g. modify Ceph or Gluster to achieve whatever it is that they want. And it's no clear what they want. Gluster for example is built as a stack of pluggable translators that is relatively easy to extend.

Even if they have a credible and compelling story for why we need something else, it will take years of production use by others before I'd trust any data to a new distributed file system.

Gluster and Ceph have those years. I've had a Gluster volume running without maintenance or data loss for more than five years. Even then it took several years before I truly started to trust it.

Re:Torus: A distributed storage system by CoreOS by ideal0227 on Wednesday June 01, 2016 @02:53PM (#11817133)
Have you ever thought the etcd issues was just because how you operate it? Or maybe you were running an old version of it? Have you reported to upstream? If there is a very common issue that you can meet frequently, it should have been fixed or you should have reported it.
Re:Torus: A distributed storage system by CoreOS by vidarh on Wednesday June 01, 2016 @03:04PM (#11817219)
I'm quite sure the etcd issues was "just because" of how we operated it. But the point is that I have had these issues with Etcd, using the default CoreOS configuration of Etcd, and I've not had these issues with Gluster despite having Gluster volumes running many times as long.

Gluster had many issues too when it was a young project, but they were fixed many years ago. I don't doubt that Etcd too will become solid enough for me to trust, but looking at part of the docs [1] we still have "gems" such as "Permanent Loss of Quorum Requires New Cluster" (you don't lose your data to that one, but it's painful nevertheless).

And yes, I've run into that one. Not "permanent" as in "we could never recover the machines in question", but "permanent" as in "we're not going to be able to get this sorted fast enough, so let's fail everything over". Everything else we run can handle that scenario easily. We know it means consistency issues, but if you run into that situation we have taken the decision that they are acceptable and will be resolved later if necessary. The last thing I need in a scenario like that is for some critical component to just refuse to run without requiring lots of manual intervention.

All we'd like would be to be able to say "ok, drop all the other members and pretend all is well, and yes we know what we're asking". There are a number of gotcha's like that with Etcd that sounds find until they bite you in the ass.

They'll resolve these things eventually, but storage is the very last place I'd be willing to take risks with it. So until they have years of track record of running flawlessly, with less hassle than Gluster or Ceph, and substantial advantages, I'll see it as the dangerous choice.

[1] https://coreos.com/etcd/docs/latest/runtime-reconf-design.ht...

Re:Torus: A distributed storage system by CoreOS by SoxNSandalz on Wednesday June 01, 2016 @06:02PM (#11818589)
Just to be clear: your complaint is etcd won't let you force the cluster into an inconsistent state to mask your poor infrastructure decisions and therefore etcd is a "dangerous choice"?
Re:Torus: A distributed storage system by CoreOS by vidarh on Wednesday June 01, 2016 @10:10PM (#11819886)
The "poor infrastructure decision" would be to assume that because there's a network split it is automatically going to be unsafe to, for example, keep scheduling containers in each data centre, even the minority, without knowing whether or not constraints have been put in place to ensure this is safe to do.

How many separate data centres do you want me to host in? Two is certainly insufficient, as if the data centre with the majority of Etcd nodes now falls of the network, you're SOL.

Three? Think you can't have two fall of face of the earth the first time? Been there. Redundant connections doesn't always help if there are major external connectivity issues and you don't have multi-million dollar budgets for connectivity alone.

Most small to mid size companies do not have the budget to run a system that is sufficiently redundant to be able to guarantee that they won't sooner or later be in a situation where either 1) the most viable partition is the minority, or 2) the Etcd cluster is centralised enough that too large parts of the cluster can loose access to it. When fighting large scale failures is the last time where you want to have to fight your tools to be able to convince them that you know what you're doing.

For those kind of situations, Etcd's lack of support for more fine-grained control of consistency or for intentionally breaking apart the cluster and letting them continue to operate independently when you know what you're doing basically makes it unsuitable for running multi-data centre clusters for anything important.

Which basically means any tools that assumes a single underlying Etcd cluster is appropriate as storage, for, say, a cluster scheduler (cough) becomes an inappropriate tool for those kind of setups.

Re:Torus: A distributed storage system by CoreOS by __jal on Wednesday June 01, 2016 @02:41PM (#11817028)
Yeah, I've been smelling NIH for quite a while.

And it generally seems that, when they say "composable modular tools", one should read "includes dependencies on the rest of our stack". This isn't intended as harshness. It is just that every time a tool from COS seems interesting enough to look in to, it turns out that I wouldn't be investing in a tool, it would be investing in an ecosystem that duplicates a ton of what I'm already managing.

Re:Torus: A distributed storage system by CoreOS by Perceptes on Wednesday June 01, 2016 @06:51PM (#11818934)
Kubernetes is a big exception to this, it seems. Before Kubernetes was announced, CoreOS was actively developing fleet. After Kubernetes, fleet development was largely halted and is now just a "distributed init system for low-level cluster components," e.g. a way to bootstrap Kubernetes itself. I asked the lead developer of fleet if they would have created it if Kubernetes had existed at the time, and he said no. Kubernetes has turned into a big part of the CoreOS pitch, and they've contributed a lot to the project. Giving up a project you started in house because you recognized that another organization's project fit the bill better is very far from NIH.
Re:Torus: A distributed storage system by CoreOS by zsmith928 on Wednesday June 01, 2016 @01:51PM (#11816591)
what is the existing alternative for storage in distributed container environments?
Re:Torus: A distributed storage system by CoreOS by gsmethells on Wednesday June 01, 2016 @02:27PM (#11816910)
Re:Torus: A distributed storage system by CoreOS by pinewurst on Wednesday June 01, 2016 @02:59PM (#11817181)
If Lustre is the answer, you're probably asking the wrong question. Unless that question involves short life-span, massively parallel swap-outs from one weapons simulation to another.

I write this not as storage religion (of which there's far too much), but to warn away those who haven't experienced the many kinds of data (and stomach lining) loss that come with being a Lustre admin.

Re:Torus: A distributed storage system by CoreOS by sitkack on Wednesday June 01, 2016 @04:55PM (#11818083)
Re:Torus: A distributed storage system by CoreOS by objectivefs on Wednesday June 01, 2016 @05:48PM (#11818509)
ObjectiveFS[1] is another option if you have access to an object store (e.g. S3 or GCS) from your containers.

[1] https://objectivefs.com

Re:Torus: A distributed storage system by CoreOS by nickpsecurity on Wednesday June 01, 2016 @04:11PM (#11817736)
Add this to your list:

http://sector.sourceforge.net/

I swore I added it to the Wikipedia links. I'll have to do it again, I guess.

Re:Torus: A distributed storage system by CoreOS by domsj on Thursday June 02, 2016 @04:52AM (#11821155)
Have a look at Open vStorage (http://www.openvstorage.com). Some highlights: open-source, core is battle proven for more than 7 years, performance, scales across datacenters , unlimited snapshots, ...

(disclaimer: I'm an engineer there...)

Re:Torus: A distributed storage system by CoreOS by amelius on Wednesday June 01, 2016 @01:51PM (#11816594)
Competition is good, even in open-source land. By the way, I'm still hoping for an open-source competitor for elasticsearch.
Re:Torus: A distributed storage system by CoreOS by runako on Wednesday June 01, 2016 @02:13PM (#11816785)
> I'm still hoping for an open-source competitor for elasticsearch

I thought Elasticsearch was open-sourced, and the GitHub repo says Apache v2. What am I missing here?

Re:Torus: A distributed storage system by CoreOS by amelius on Wednesday June 01, 2016 @02:38PM (#11817001)
Nothing. It is open-source. But it needs an open-source competitor. There's too little happening at the open-source side of search.
Re:Torus: A distributed storage system by CoreOS by sciurus on Wednesday June 01, 2016 @04:24PM (#11817828)
Huh? It has a major competitor: Solr. I'm not sure what you mean unless you object because they both use lucene.

https://lucene.apache.org/solr/

Re:Torus: A distributed storage system by CoreOS by brazzledazzle on Wednesday June 01, 2016 @08:46PM (#11819551)
What about Solr? They're both based on Lucene but I imagine it qualifies.
Re:Torus: A distributed storage system by CoreOS by alrs on Wednesday June 01, 2016 @02:11PM (#11816767)
See also: Piston Cloud.