Mittwoch, 6. Mai 2015

Machinery 1.7.0 is out!

0 Kommentare
Fellow machineriests,

The curtain has just been lowered on oSC15, the yearly openSUSE
conference. Some of you might have enjoyed the Machinery talk given by
our very own Thomas, or helped us by taking usability tests.
Thanks to you all for that.

With this in mind, we're happy to announce the release of Machinery
1.7.0

A very important and needed step towards the openSUSE community has been
done by enabling the inspection of Tumbleweed systems.
We're also having some goodies for the enterprise world: You can now
inspect your RHEL5 machines.

Some of you might have missed the ability of running machinery with a
user other than root. This is now possible passing "-r USER" to the
inspect command, have a look updated man page for all the details.

For the adventurous among us, we also have another experimental feature:
--html view now works also on machinery compare.

As always, the experimental features are documented here:
https://github.com/SUSE/machinery/wiki/Experimental-Features
 
Enough said. Time for the changelog:

## Version 1.7.0 - Mon May 04 15:36:50 CEST 2015
* Add experimental option to show comparison of two system descriptions
as
  HTML view
* Support inspection of Red Hat Enterprise Linux 5 systems
* Enable inspection of openSUSE Tumbleweed systems
* Scopes have a well-defined order
* Make HTML export more robust (bnc#925732)
* Implement inspection of remote systems without root login using sudo
* Inspection shows used filters only with `--verbose`

We hope you'll enjoy this release,

Sincerely,
Your Machinery team

Montag, 4. Mai 2015

Machinery 101

0 Kommentare
After postponing this for way too long, the time has come for me to write few words on what has kept an awsome team at SUSE busy for the last few months. 

Ladies and Gents, without further ado it's my pleasure to introduce you to Machinery

Machinery is a SUSE experiment, driven in a completely agile fashion (If you are interested about our agile methodologies we can also discuss about that, but not now, so please remind me later).
Currently, its feature and implementation are mainly based on the feedback we receive, as we want to learn as much as possible from our users (potential and actual), and their needs.

To quote the homepage:


The architecture and design of Machinery is based on the idea of a universal system description. This describes the content of a system. The description can be stored, compared to other descriptions, analysed, modified, or used to replicate a system from a description. You can call it "offline systems management".

This pretty much summarizes what machinery is and what aims to be, but as I believe you'd all like to see some practical example before running to install it, I'll be a little more verbose.


The first necessary operation after installing machinery is to run an inspection.
Inspecting a system is what creates a system descriptor, basically the finger print of your system. 

Therefore, let's start by creating one:


> machinery inspect localhost


Surely out there in the wild datacenter inspecting your localhost isn't the most exciting thing to do, but do not fear: It's just an example. Any machine you can ssh into (and exchange keys with) will do.
Just give the right hostname, press enter, sit down and relax.


This bring us to the requirements:

What do I need to setup and install on the machine to inspect?

  • See above.

No, you are not blind.
Yes, that’s all the preparation you need.
Just in case this isn't completely clear, no, you don’t need to install anything at all on the machine you’re planning to inspect.
That’s indeed one of the very handy bits of machinery: As the entire inspection relies on standard Unix tools, no client is needed.  Speaking of which, if you want to use sudo in conjunction with another non root user, make sure to have version 1.7.0 installed.


Once you inspected one or more machines over a span of few days, months or years, you might want to have a look at what has been inspected so far:



Next to the hostnames you’ll see a list. Those items are what we call “scopes”.  Each scope can be included or excluded in your inspection. 
What you see above is generated by using a default set of scopes. Depending on what you are looking for some tuning might be beneficial. 
Feel free to have a look and experiment with all the available scopes. If something like “config-files” or “unmanaged-files” catches your attention make sure to tell machinery to extract them for you, and see what happens.
In case you want to inspect a machine more than once, you can rename the profiles: In my example localhost, okashi_base and okashi_updated are the very same machine.


okashi_base: Initial inspection. The machine is freshly installed from DVD,  nothing has been done with it. Machinery has been installed on top of a default installation.

okashi_ updated: This inspection was done after a system update and few changes.

localhost: The every last inspection.   


If you’re still with me, the time has come to see what machinery can do.


> machinery analyze


This command will let you analyse the stored system description.
As I write, there is one supported argument to this command:


config-file-diffs: Generate diffs against the original version of the package for the modified config files



Practically speaking? We have two different options here. Running the command the “Hint” section provided us, or going for the html view (just add --html to that).
Up to you to decide which option suits you best:



But what about comparing two system descriptions, for example my okashi_base and okashi_updated?
As my memory is short, and I really don’t remember any longer what I did to okashi_updated (apart from updating), I’ll let machinery give me a hand:


> machinery compare okashi_base okashi_updated



Ah right, the evil_user tried to setup a world_domination group on my machine and while at it he also deleted my debug repos. Quite an unpleasant user indeed.


Those are just a couple of the things you can do with machinery, but definitely not all:
You can transform system descriptions in AutoYaST profiles or kiwi descriptions, take care of your unmanaged  files (you know, all that stuff you installed from source a while ago that is now lost somewhere on your disk) and much much more.
This is all nicely documented in the machinery man page, so you can have a look for yourself.
If you don’t want to commit to the point of doing a zypper in machinery, you can quench your thirst by looking at the wiki hosted on github.


Last but not least, machinery is a relatively new experiment - we are looking for all the feedback we can get. Do you have ideas, feature requests, suggestions? Let me know, or subscribe to the mailing list .
Would you like to contribute or expand machinery to suit your needs? The github repo awaits.

Dienstag, 17. Juni 2014

On Kindle, audible, whispersynch for voice and Immersion reading

0 Kommentare
--help:
Amazon.de ebooks are working just fine, but you must purchase the audio from Audible.com

-vvv

I've been very interested in Kindle's (not anymore) new features: Immersion reading sounded like a perfect accent training help, and given my short commuting  time and various activities whispersynch for voice sounded like quite a nice feature to have. Finally I could switch between book and audio seemingly, finally a reason to justify at least in part the purchase of closed formats... but anyways.

Wait, hold your guns, the first problems are already on sight.
I live in Germany, and I have both an Amazon account and an Audible subscription bound to the german sites - or for what it matters - not .com
For new amazon's feature this usually equals to a wait time of about a year.
I've been waiting for an official announcement for quite a long time, but nothing ever came.
Preparing for the arrival of my new shiny gadget, I decided to have a look again.
Now those options are indeed appearing in the FAQs of both amazon.de and audible.de, but are all pointing to a .com page explaining the concept:

I therefore decided to give it a try:
I had already a copy of "The Universe versus Alex Woods" and according to amazon.com it is already whispersynch for voice ready.
I therefore bought the matching audiobook on audible.de (after checking if the audiobook was really the same - I can't do much, but at least appears to be same length and same edition as the .com one).
Unfortunately this is not going to work for now (it's according to their support, work in progress)
While you can purchase the ebook on amazon.de, only the audiobooks purchased on audible.com are going to give you access to both whispersynch for voice and Immersion reading.
Yes, you can actually buy from audible.com even without a CC or address bound to the land of the free.

If you are just interested in trying it out, have a look at the classics 
The ebook comes for free and the audio is slightly more than a dollar.

If you happen to like the experience, but are not into making another subscription, audible.com still offers gift cards.

Freitag, 31. Januar 2014

em1 instead of eth0?

2 Kommentare
Since a little while, few machines using "biosdevname" started appearing.
One of the consequences of having em1 instead eth0 for part of the autoyast autoinstallation process is to end up with a machine without network at the end of stage 2.

If you are one of the lucky owners, make sure to append "biosdevname=0" so to get rid of once and for all of the em device.

Dienstag, 3. Dezember 2013

Autoyast, sles11sp3 and logical partitions

0 Kommentare
Is your old profile (yes, the one that used to work on sp2) not setting up your partitions as you would like?
Well, the reason is, autoyast went trough several changes, including not relying anylonger on the <parttion_nr> tag in order to decide if a partition will be a primary one or not.
If before a partion_nr set to 1,2 and 5 was giving you two primary and one logical as result, now you'll end up with 3 primary ones.

The discussion is still ongoing on about the new VS old behaviour, stay tuned for more news and hopefully the final decision on the topic.

Dienstag, 13. März 2012

Welcome to Germany, Spotify

0 Kommentare
So, finally spotify made it to Germany.

If you tried to fetch the linux client, you  probably have noticed that nothing but the .deb is currently available.
You might also have tried to use alien, and get few requires not  met although the libraries are all where they should be.

Here's a quick x86_64 version:

spotify-client-qt-0.6.6.10.gbd39032.58-2.x86_64.rpm

(a 1:1 alien conversion plus a couple of Requires: adjusted to fit the bill) originated from spotify-client-qt_0.6.6.10.gbd39032.58-1_amd64.deb.

Tested on OpenSuSE 11.4 and SLES11sp1
I don't need a 32 bit package, but if you do, let me know: that can be arranged.
Works on my box, but feel free to give it a try if you feel lazy.

Code is not mine, all the usual terms and conditions of Spotify still apply: I just repackaged it.
If anyone has a problem with this, I'd gladly take if offline.





Dienstag, 17. Januar 2012

Octave segfaulting at start?

0 Kommentare
Just in case someone still tries to run octave on a SLE 10, let me warn you that 
https://savannah.gnu.org/bugs/?30685 
is going to bite you.
A segfault awaits you behind the corner.

I've prepared a package that implements the (in)famous hack consisting of removing the gnulib:: namespace.
If you want to spare yourself some time, either fetch it from OBS or add this repo and feel free toping me in any update is needed/wanted.






older post