9.3 update mechanism

Status
Not open for further replies.

pjc

Contributor
Joined
Aug 26, 2014
Messages
187
This conversation began in an announcement thread, which was closed because this was off the topic of the original announcement. For context, here's where we left off:

In any case, starting with 9.3 there will be no more point releases. There will be updates you can apply via the update manager, but new ISOs probably won't happen except on major release boundaries. With any luck, 9.2.1.7 will be the last point release FreeNAS users ever see. :)
I'm a little confused. In the current (ISO-based) model, it's easy to roll back to the previous version if there's a problem with an upgrade. How will rollbacks work under the new model?

Also, how will we be able to update file servers that aren't connected to the Internet? Even the documentation notes that "In many cases, a FreeNAS® configuration will deliberately exclude default gateway information as a way to make it more difficult for a remote attacker to communicate with the server."

Will every new install have to download a bunch of additional patches as soon as it starts up?

You're thinking old-school. When a user installs OS X "Mavericks" (and the use of a name vs an arbitrary number is intentional) they don't think about point releases. They install something with a name, and then when the update app says "Hi, we have updates for you" they just indicate their willingness to apply them (or not). ... we don't want users having to know or care which "point release" they're running anymore, just that they're up-to-date. That's the value of not having point releases. To anyone who's not a developer or skilled with git, they don't have any real meaning.
Perhaps I'm misunderstanding, but that seems a strange example to use. Apple does in fact release point releases.

Yes, they release interim updates to various components, but then they release a point release that rolls up interim changes into a single (presumably well-tested) package. That's why they're up to 10.9.4 and testing 10.9.5. I go to "About this Mac" and right under the "Mac OS X" title, it says "10.9.4". In the App Store it says the current version is 10.9.4.

And even git has the notion of "tags" so that it's clear when something is released.

I can definitely imagine some benefits to allowing individual components to be updated more easily (and perhaps without rebooting), but I'm having a hard time seeing how more frequent updates are compatible with the notion of a stable server that changes relatively infrequently? This seems like you're inviting a configuration management nightmare.

I must be missing something, but what? What's the actual motivation for going to all this effort? The ability to verify the authenticity of packages?

And then:

9.3 will use ZFS in the boot device, which solves the rollback issue via snapshots
That's a nice solution. Will it still boot off of USB stick like that, though? (I didn't get the world's fastest-writing USB stick, since I didn't expect a lot of writes to the boot device...)

As far as I know, the goal being pursued is to allow easy and painless application of security patches (feature patches being still taken care of during beta testing - at least the majority of them).
Ah, that makes sense. Is the plan for "updates" to be only security updates then? It makes sense to make those easy. And then configuration management is relatively easy, since only full releases have different features.

One thing people do care about is uptime and whether the pending updates warrant taking the machine or services down. How will people be able to do that (particularly with an isolated file server) without some sort of human-readable version number or timestamp?

I'm still curious how this will work both in terms of an initial install and then subsequent updates if the file server doesn't have access to the Internet.

There then some discussion about using ZFS on USB, and it seemed that the usual warning against using ZFS on USB was against using USB SATA hard drives, since the USB-to-SATA bridges are a bit problematic.
 

pjc

Contributor
Joined
Aug 26, 2014
Messages
187
So my remaining questions are:

How will we be able to update file servers that aren't connected to the Internet? Even the documentation notes that "In many cases, a FreeNAS® configuration will deliberately exclude default gateway information as a way to make it more difficult for a remote attacker to communicate with the server."

Will every new install have to download a bunch of additional patches as soon as it starts up? How would those be applied for an intranet-only file server?

Is the plan for "updates" to be only security updates? (It makes sense to make those easy. And then configuration management is relatively easy, since only full releases have different features.)

One thing people do care about is uptime and whether the pending updates warrant taking the machine or services down. How will people be able to do that (particularly with an isolated file server) without some sort of human-readable version number or timestamp?


Will there be any new considerations for booting FreeNAS 9.3 off of a USB stick, given the plan for a writeable filesystem and ZFS snapshots? Will there be a new best practice recommendation? (I didn't get the world's fastest-writing USB stick, since I didn't expect a lot of writes to the boot device...)
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
pjc:

I don't think anyone has the answers for your questions at this time. And those that do won't be here. ;)

I know that updating is something that will not be automatic by default. It's something you'd have to deliberately "turn on". The last thing we need is servers auto-rebooting to apply an update. That's very bad. ;)

The "hope" is that USB booting will still be a reality. Nobody knows exactly how well that will go or not. Just because we can make it work for technical reasons may still not make it a good idea. For example, if ZFS eats even high-end USB sticks in 3-6 months regularly we probably won't be recommending USB anymore. ;)

The only advice I can give is "wait and see". I'll be one of those suckers that ends up experimenting with it so I may have some inside experience as time goes on. Of course, you can download the daily builds yourself if you so desire just to see what is going on.
 

aufalien

Patron
Joined
Jul 25, 2013
Messages
374
Well, if it matters I ran Solaris/Napp-IT off USB for a few months, no issues as it was ZFS as well. I even did there mirrored USB thingy. All in all a very hideous interface but I wanted to perform due diligence in choosing a NAS type distro. It should be clear on what I've chosen :)
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Personally, I'm not saying anything until BETA comes out. It is due out soon and there will be an announcement when it happens.
 
J

jkh

Guest
Wait until 9.3-BETA comes out, read the docs that are released at the same time (the 9.3 docs are getting updated on an almost daily basis), and then we'll see what questions people have. There's no point in answering questions piecemeal. Thanks.
 
Status
Not open for further replies.
Top