Russ Allbery: Review: The System of the World
| Series: | The Baroque Cycle #3 |
| Publisher: | William Morrow |
| Copyright: | 2004 |
| ISBN: | 0-06-052387-5 |
| Format: | Hardcover |
| Pages: | 892 |
| Series: | The Baroque Cycle #3 |
| Publisher: | William Morrow |
| Copyright: | 2004 |
| ISBN: | 0-06-052387-5 |
| Format: | Hardcover |
| Pages: | 892 |
Last week was the
OpenStack Design Summit
in Portland, OR where we, developers, discussed and designed the new
OpenStack release (Havana) coming up.
The summit has been wonderful. It was my first OpenStack design summit --
even more as a PTL -- and bumping into various people I've never met so far
and worked with online only was a real pleasure!
<figure>
<figcaption>Me and Nick ready to talk about Ceilometer new features.</figcaption>
</figure>
Nick Barcet from
eNovance, our dear previous Ceilometer PTL, and
myself, talked about Ceilometer and presented the work that bas been done
for Grizzly, with some previews of what we'll like to see done for its
Havana release. You can take a look at
the slides
if you're curious.
Design sessions
Ceilometer had his design sessions during the last days of the summit. We
noted a lot of things and commented during the sessions in our
Etherpads instances.
The first session was a description of Ceilometer core architecture for
interested people, and was a wonderful success considering that the room was
packed. Our Doug Hellmann did a wonderful job
introducing people to Ceilometer and answering question.
<figure>
<figcaption>Doug explaining Ceilometer architecture.</figcaption>
</figure>
The next session was about getting feedbacks from our users. We had a lot of
surprise to discover wonderful real use-cases and deployments, like the CERN
using Ceilometer and generating 2 GB of data per day!
The following sessions ran on Thursday and were much more about new features
discussion. A lot ot already existing blueprints were discussed and quickly
validated during the first morning session. Then,
Sandy Walsh introduced the architecture they
use inside StackTach, so we can
start thinking about getting things from it into Ceilometer.
API improvements were discussed without surprises and with a good consensus
on what needs to be done. The four following sessions that occupied a lot of
the days were related to alarming. All were lead by Eoghan Glynn, from
RedHat, who did an amazing job presenting the possible
architectures with theirs pros and cons. Actually, all we had to do was to
nod to his designs and acknowledge the plan on how to build this.
That last two sessions were about discussing advanced models for billing
where we got some interesting feedback from Daniel Dyer from HP, and then
were a quick follow-up of the StackTach presentation from the morning
session.
Havana roadmap
The
list of blueprints targetting Havana is available
and should be finished by next week. If you want to propose blueprints,
you're free to do so and inform us about it so we can validate it. The same
applies if you wish to implement one of them!
API extension
I do think the API version 2 is going to be heavily extended during this
release cycle. We need more feature, like the
group-by
functionnality.
Healthnmon
In parallel of the design sessions, discussions took place in the
unconference room with the Healthnmon developers to figure out a plan in
order to merge some of their efforts into Ceilometer. They should provide a
component to help Ceilometer supports more hypervisors than it currently
does.
Alarming
Alarming is definitely going to be the next big project for Ceilometer.
Today, Eoghan and I started building blueprints on alarming,
centralized in a general blueprint.
We know this is going to happen for real and very soon, thanks to the
engagements of eNovance and
RedHat who are commiting resources to this amazing
project!
| Departure airport | Arrival airport | Flight cost | Bus to Swiss border | Rail pass | Total (Flight+bus/train) | Airport car hire, 10 days | Total (Flight+car) |
|---|---|---|---|---|---|---|---|
| New York | Geneva | $1,153 | n/a | CHF 82 Return ticket |
$1,235 | CHF 668 | $1,823 |
| New York | Milan | $990 | $20 | CHF 315 Flexi pass |
$1,350 | EUR 413 CHF 496 |
$1,490 |
But who wants the hassle of travelling to Switzerland via Italy?
Of course that is the silliest rhetorical question you are going to see this week: visiting Italy is not a hassle at all. Even the Swiss enjoy going there so much that they just built the world's longest rail tunnel under the Alps to bring Como and Milan that little bit closer, the Gotthard Base Tunnel.
The Italian connection could involve a few days in Como or Brunate. If designer fashion labels are appealing to you (or as a gift), Vertemate has one well known outlet for a major brand and the prices really are much cheaper than any of the cities. If you want a laugh, it's worth comparing the hotel prices in Lugano on the Swiss side of the border against prices in nearby Como.
Traveling north from Como, taking a train to Luzern (and a connection to Vaumarcus), it is possible to stop in Goschenen and go up into the mountains to experience the Glacier Express featured in my earlier video or get off the train at Arth-Goldau to cross Rigi on the Rigi Bahn (from my other video), take a boat across the lake to Luzern and then continue to Vaumarcus.
The Italian entry point isn't just an option for those coming from the US. Even a traveler from London will find that the budget airlines have largely snubbed the Swiss airports with their high operating costs. Easyjet offers a limited number of flights to Geneva and Zurich, but the prices are always higher than their other destinations. Ryanair offers flight's to Milan's Bergamo airport and Easyjet flies to Milan Malpensa.
The first leg was skipped because of the low cloud cover. Weather reports in Switzerland, such as www.meteosuisse.ch often show a distinction between the low clouds and high clouds, because many Swiss mountain resorts are high enough to enjoy ample sunshine by virtue of their altitude even when cities like Zurich and Geneva are overcast.
Now for the third leg, rising up to Berg. In the video, it is hard to gauge the size of the rocky cliffs along the route, but looking at the cable car's shadow will give a clue. As the cable car approaches the station in Berg, it feels like it takes forever to complete the journey. That is because the rocks are so much bigger than they appear from a distance.
<video controls="" height="340" poster="http://upload.wikimedia.org/wikipedia/commons/thumb/0/03/Schilthorn_with_Bernese_Alps%2C_2012_August.jpg/800px-Schilthorn_with_Bernese_Alps%2C_2012_August.jpg" width="560">| Attachment | Size |
|---|---|
| 8.71 KB |
# apt-get update # apt-get build-dep resiprocatewill obtain all the necessary build tools. Then, as a normal user:
$ mkdir ~/src/resiprocate $ cd ~/src/resiprocate $ apt-get source resiprocate $ cd resiprocate $ dpkg-buildpackage -rfakeroot -j12In a few minutes, you should find the packages (*.deb files) are created.
I like it very much
Working with dak is not exactly fun. The documentation is not that awesome, and dak contains many hardcoded stuff for Debian, e.g. it often expects the unstable suite to be present. Also, running dak on Debian Wheezy turned out to be a problem, as the Python module apt_pkg changed the API and dak naturally had problems with that. But with the great help of some Debian ftpmasters (many thanks to that!), dak is now working for Tanglu, managing the whole archive. There are still some quirks which need to be fixed, but the archive is in an usable state, accepting and integrating packages.
The work on dak is also great for Debian: I resolved many issues with non-Debian dak installations, and made many parts of dak Wheezy-proof. Also, I added a few functions which might also be useful for Debian itself. All patches have of course been submitted to upstream-dak.
This is also nearly finished
The Tanglu metapackages have been published in a first alpha version. We will support GNOME-3 and KDE4, as long as this is possible (= enough people working on the packaging). The Tanglu packages will also depend on systemd, which we will need in GNOME anyway, and which also allows some great new features in KDE.
Side-effect of using systemd is at least for the start that Tanglu boots a bit slow, because we haven t done any systemd adjustments, and because systemd is very old. We will have to wait for the systemd and udev maintainers to merge the packages and release a new version first, before this will improve. (I don t want to do this downstream in Tanglu, because I don t know the plans for that at Debian (I only know the information Tollef Fog Heen & Co. provided at FOSDEM))
The community
The community really surprised me! We got an incredible amount of great feedback on Tanglu, and most of the people liked the idea of Tanglu. I think we are one of the less-flamed new distributions ever started
Something else
I am involved in Debian for a very long time now, first as Debian Maintainer and then as Debian Developer and I never thought much about the work the Debian system administrators do. I didn t know how dak worked or how Wanna-build handles the buildds and what exactly the ftpmasters have to do. By not knowing, I mean I knew the very basic theory and what these people do. But this is something different than experiencing how much work setting up and maintaining the infrastructure is and what an awesome job the people do for Debian, keeping it all up and running and secure! Kudos for that, to all people maintaining Debian infrastructure! You rock! (And I will never ever complain about slow buildds or packages which stay in NEW for too long
)
# apt-get build-dep resiprocate # apt-get install libresiprocate-1.8-devThis will install all the necessary tools, libraries and header files. Headers are under /usr/include/resip Writing some code The object orientated nature of C++ is heavily leveraged by reSIProcate, and this makes it easy to code. The stack is based on a callback paradigm: you create some objects based on well-defined interfaces, give your objects to the stack, and put the stack into a loop. The stack will call your object when some event occurs (e.g. new incoming call, new text message) The easiest way to see this in practice is to browse the test cases. The test cases under the resip/dum(mirrored on github) section of the source tree provide good high-level examples of the type of code an application writes when using reSIProcate in an existing application. Sending a SIP text message Based on the basicMessage test case, I've created a trivial piece of code below to send a text message over SIP. The whole demo project is uploaded into github, see the README for instructions on how to build and run. Here, we have a quick look at the one object in the demo, it is notified on the progress of the SIP text message:
class ClientMessageHandler : public ClientPagerMessageHandler
public:
ClientMessageHandler()
: finished(false),
successful(false)
;
virtual void onSuccess(ClientPagerMessageHandle, const SipMessage& status)
InfoLog(<<"ClientMessageHandler::onSuccess\n");
successful = true;
finished = true;
virtual void onFailure(ClientPagerMessageHandle, const SipMessage& status, std::auto_ptr<contents> contents)
ErrLog(<<"ClientMessageHandler::onFailure\n");
successful = false;
finished = true;
bool isFinished() return finished; ;
bool isSuccessful() return successful; ;
private:
bool finished;
bool successful;
;
int main(int argc, char *argv[])
// boilerplate initialisation code...
...
NameAddr naTo(to.c_str());
ClientPagerMessageHandle cpmh = clientDum.makePagerMessage(naTo);
Data messageBody("Hello world!");
auto_ptr<contents> content(new PlainContents(messageBody));
cpmh.get()->page(content);
...
</contents></contents>Going further with reSIProcate
git fetch and you have the upstream tags, and then pass the
flag --upstream-vcs-tag <tag> to git-import-orig whenever importing
the upstream release tarball. git-import-orig will handle the
construction of the merge commit for you and everything will just work,
exactly like it normally does with git-buildpackage except with a more
complete history.
This support was added in git-buildpackage 0.6.0~git20120324, so it's
available in unstable and testing.
(I was going to update my notes on
Debian packaging with Git to include this information before posting
this, but I see that it will require some restructuring and quite a few
changes to that document and I don't have time tonight. Hopefully soon.)
Daniel Pocock posted
The multiple repository conundrum in Linux packaging.
While a generally good and useful post, which upstream developers
will find helpful to understand how Debian packages their software,
it contains this statement:
If it is the first download, the maintainer creates a new git repository. If it has been packaged before, he clones the repository. The important point here is that this is not the upstream repository, it is an independent repository for Debian packaging.The only thing important about that point is that it highlights an unnecessary disconnect between the Debian developer and upstream development. One which upstream will surely find annoying and should certainly not be bothered with. There is absolutely no technical reason to not use the upstream git repository as the basis for the git repository used in Debian packaging. I would never package software maintained in a git repository upstream and not do so. The details are as follows:
debian directory, and not the upstream source code. With disk
space increasingly absurdly cheap, and the preponderance of development
converging on git, there's no reason for this friction to be allowed to
continue.Next.