From 06/04/2008 to 07/03/2008


03:06 pm Revision 2cb687ad: Reuse the luxi client in cli.SubmitOpCode
By a mistake, we don't reuse the luxi client. As such, we open and close
the connection at each poll cycle and spam t...
Iustin Pop
03:06 pm Revision 3b316acb: Add custom logging setup for daemons
It's better for daemons if:
- they log only to one log file
- the log level is included
- for debug runs, the f...
Iustin Pop
03:06 pm Revision fbe5b278: Remove custom locking code from gnt-instance
The gnt-instance script doesn't run in the same process anymore, so we
can't and don't have to unlock.
Reviewed-by: ...
Iustin Pop


02:58 pm Revision cc2bea8b: ganeti-masterd: Remove unused locking code
Reviewed-by: iustinp, ultrotter Michael Hanselmann
02:58 pm Revision 96cb3986: ganeti-masterd: Use logging module
Reviewed-by: ultrotter, iustinp Michael Hanselmann


03:28 pm Revision 984f7c32: Context: s/GLM/glm/
Make the GanetiLockManager instance of GanetiContext lowercase
Reviewed-by: imsnah
Guido Trotter
03:13 pm Revision 8ab8e969: Set locale when using docbook programs
At least docbook2man inserts a date formatted using the current
locale into its output.
Reviewed-by: iustinp
Michael Hanselmann
02:55 pm Revision 60053f31: Update .gitignore
Reviwed-by: imsnah Iustin Pop
02:44 pm Revision 7b4126b7: Add a FirstFree function to
This function will return the first unused integer based on a list of
used integers (e.g. [0, 1, 3] will return 2).
Iustin Pop
01:43 pm Revision a478cd7e: Increase the thread size to 5
Now that we use the locking library to make sure running opcodes cannot
step on each other toes we can have a bigger ...
Guido Trotter
01:43 pm Revision 04864530: Processor: acquire the BGL for LUs requiring it
If a LU required the BGL (all LUs do, right now, by default) we'll
acquire it in the Processor before starting them. ...
Guido Trotter
01:43 pm Revision 1c901d13: Processor: pass context in and use it.
The processor used to create a new ConfigWriter when it was initialized.
We now have one in the context, so we'll jus...
Guido Trotter
01:43 pm Revision 7e55040e: Add REQ_BGL LogicalUnit run requirement
When logical units have REQ_BGL set (it is currently the default) they
need to be the only ganeti operation run on th...
Guido Trotter
01:43 pm Revision 2da55f7c: Burnin doesn't need a Processor
In 2.0 burnin submits job to the master daemon, so it doesn't need to
create an internal Processor anymore. Even if t...
Guido Trotter
12:48 pm Revision 7a5d3bbd: Implement “gnt-job list -o +...”
This adds the same “-o +...” functionality in gnt-job as in the node and
instance scripts.
Reviewed-by: imsnah
Iustin Pop


07:11 pm Revision c6868e1d: Fix sstore handling in Processor
- no need to keep the sstore as an object member, remove it
- don't reinitialize sstore only if self.cfg is None
Guido Trotter
07:11 pm Revision d2525573: Remove duplicate code in hooks unittests
All the tests there used to creare a cfg, a sstore, an opcode and a LU.
Put all the duplicate code in the setUp funct...
Guido Trotter
03:37 pm Revision 39dcf2ef: ganeti-masterd: init and distribute common context
This patch creates a new GanetiContext class, which is used to hold
context common to all ganeti worker threads. As f...
Guido Trotter


05:28 pm Revision 827f753e: AddNode: move the initial setup to boostrap
From the master node we can't start ssh and connect to the remote node,
nor we can do it from ganeti-noded as this ss...
Guido Trotter
05:28 pm Revision 05ccd983: AddNode: Check for node existance
In the "new world" we'll need to setup ganeti-noded via ssh on the node
before calling the AddNode opcode. Before doi...
Guido Trotter
05:28 pm Revision 5c0527ed: LUAddNode: use node-verify to check node hostname
As we can't use ssh.VerifyNodeHostname directly, we'll set up a mini
node-verify to do checking between the master an...
Guido Trotter
05:28 pm Revision 3d1e7706: LUAddNode: use self.sstore, not a local ss
Since we're inside a LU we have access to self.sstore.
No need to use ss, which separate instantiation will disappear...
Guido Trotter
05:28 pm Revision b5602d15: LUAddNode: upload files via rpc, not scp
We used to scp all the ssconf files, and the vnc password file to the
new node. With this patch we use the upload_fil...
Guido Trotter
05:27 pm Revision 90fae627: Allow VNC_PASSWORD_FILE to be rpc-uploaded
What could possibly go wrong?
Reviewed-by: iustinp
Guido Trotter
05:27 pm Revision 937f983d: Change fping to TcpPing in two LUs
Two LUs are using RunCmd to call fping, in order to check for an IP
presence on the network. Substituting it with Tcp...
Guido Trotter
05:27 pm Revision 6d8b6238: raise QuitGanetiException in LeaveCluster
Reviewed-by: iustinp Guido Trotter
05:27 pm Revision c3d7f69b: ganeti-noded: Fix handling of QuitGanetiException
- s/GanetiQuitException/QuitGanetiException/
- Look for the arguments in err.args, not err itself
Reviewed-by: iustinp
Guido Trotter
05:27 pm Revision 9f9c8ee2: Simplify QuitGanetiException instantiation
Rather than packing all the arguments in a tuple, let's pass them
plainly. The superclass won't complain.
Guido Trotter
12:02 pm Revision 5023934a: logger: Set formatter for stderr
Having a timestamp on log messages is very useful. The default
format string doesn't include a timestamp.
Michael Hanselmann


05:42 pm Revision d489ca4f: When removing a node don't ssh to it
Even in 1.2 this behaviour is broken, as the rpc call will remove the
ssh keys before we get a chance to log in. Now ...
Guido Trotter
05:42 pm Revision 9ae49f27: ganeti-noded: quit on QuitGanetiException
Accoring to the usage documented in the QuitGanetiException docstring,
if we receive such an exception we'll set the ...
Guido Trotter
05:42 pm Revision e50bdd68: Add errors.QuitGanetiException
This exception does not signal an error but serves the purpose of making
the ganeti daemon shut down after handling a...
Guido Trotter
05:42 pm Revision 3b3db8fd: ganeti-noded: serve not quite forever
Rather than calling httpd.serve_forever() in ganeti-noded we'll call
httpd.handle_request() but just while a global v...
Guido Trotter
05:41 pm Revision b0059682: Add missing empty line in SshKeyError's docstring
Reviewed-by: iustinp Guido Trotter
05:41 pm Revision 49abbd3e: Remove spurious check during LUAddNode
There is no point in checking whether the cluster VNC password file
exists as a prerequisite for AddNode, considering...
Guido Trotter
05:41 pm Revision d08869ee: Improve LURemoveNode BuildHooksEnv docstring
Reviewed-by: iustinp Guido Trotter
12:41 pm Revision f63eed35: devel/upload: Add --no-restart option
If --no-restart is passed to devel/upload, it'll not run
"/etc/init.d/ganeti restart" (which kills processes), making...
Michael Hanselmann


11:07 am Revision 00fb8246: Cleanup old DRBD 0.7.x code
Apparently there were still some leftovers. While removing an instance,
I got the message "unhandled exception 'modul...
Michael Hanselmann
09:45 am Revision 99e8295c: Cleanup LV status computation
Currently, when seeing if a LV is degraded or not (i.e. virtual volume),
we first attach to the device (which does an...
Iustin Pop


05:30 pm Revision 7a47c582: Add a .gitignore file
This makes it easier to setup new git repositories, and makes it more
likely all people have the same ignore rules.
Iustin Pop


08:22 pm Revision 501c95a2: Add unittests for ganeti.serializer
Reviewed-by: iustinp Michael Hanselmann
08:21 pm Revision 5878b1b5: Remove lib/Makefile.libcommon
Reviewed-by: iustinp Michael Hanselmann
07:55 pm Revision b3989551: Fix gnt-cluster “command” and “copyfile”
Since the disabling of forking in the master daemon, the two ssh-based
subcommands were not working anymore. However,...
Iustin Pop
06:00 pm Revision 0db7ac4d: Handle any exception in ganeti-masterd
If an uncaught exception is thrown currently it destroys the calling
thread. This patch changes the behaviour to fail...
Guido Trotter
04:39 pm Revision 95e4a814: cfgupgrade: Implement upgrading to Ganeti 2.0 configuration
Reviewed-by: iustinp Michael Hanselmann
04:15 pm Revision 0d93b082: Don't create "--" directory
Automake automatically appends "--" to @mkdir_p@. In case you have
a directory named "--" in your source tree, you ca...
Michael Hanselmann
04:00 pm Revision cf9cb46a: objects: Remove config_version from cluster configuration
Reviewed-by: ultrotter Michael Hanselmann
03:53 pm Revision 6d691282: cfgupgrade: Add main() function
Reviewed-by: iustinp Michael Hanselmann
03:53 pm Revision eda37a5a: cfgupgrade: Add logging module
Reviewed-by: iustinp Michael Hanselmann
03:50 pm Revision 740c5aab: Fix the zombie process unittest
The failure is because in high load, the parent gets to run before the
child has the chance to os._exit(), and theref...
Guido Trotter
02:30 pm Revision 5e29d733: Bump version to 2.0.0~alpha0
We decided to bump the major number to 2 a few weeks ago due to the huge number
of changes going into it.
Michael Hanselmann
02:11 pm Revision 1b45f4e5: Add functions to calculate version number to
In cfgupgrade, we need to extract parts of and build new version numbers.
Reviewed-by: iustinp
Michael Hanselmann
12:52 pm Revision 04a8d789: utils.WriteFile: Remove optional check_abspath parameter
cfgupgrade will not work with relative paths at all, but rather get them
Reviewed-by: iustinp
Michael Hanselmann


01:57 pm Revision 130a6a6f: Add a ‘tags’ field to instance and node listing
Currently there isn't any easy way to list all nodes or instance and
their tags; you have to query each node in turn,...
Iustin Pop


09:49 pm Revision 03a8dbdc: Implement handling of luxi errors in
Currently the generic handling of ganeti errors in (GenericMain
and FormatError) only handles the core ganeti ...
Iustin Pop
02:27 pm Revision 11fb401c: Remove twisted checks from
Currently we don't use twisted, so we remove the twisted checks from the
configure stage.
Reviewed-by: amishchenko
Iustin Pop


02:04 pm Revision d61cbe76: Add a rpc call for BlockDev.Close()
This patch adds rpc layer calls (in and the equivalent in
ganeti-noded) to close a list of block devices, and ...
Iustin Pop


05:06 pm Revision 1efbe18e: Check for docbook2{man,pdf,html}
docbook2{man,pdf,html} are mandatory. "configure" aborts if one
of them isn't found.
Reviewed-by: iustinp
Michael Hanselmann
04:37 pm Revision 67470f58: Small typo in gnt-instance manpage
Reviewed-by: manuel.franceschini Iustin Pop
03:56 pm Revision e8230860: Use a single instead of many
This change allows us to use cleaner dependencies between
directories. The build system is basically rewritten in lar...
Michael Hanselmann


06:09 pm Revision ae9da390: Fix bdev unittest when run under distcheck
The path to the filename for drbd8 proc data is not correctly computed
when using distcheck. The patch duplicates it ...
Iustin Pop
06:08 pm Revision 6b90c22e: Rework the DRBD8 device status computation
Currently, compute the status of a drbd8 device in GetSyncStatus and
return only the values that we need (and fit in ...
Iustin Pop
03:32 pm Revision 7bca53e4: ganeti-watcher: Replace custom exceptions with ganeti.error.*
Reviewed-by: iustinp Michael Hanselmann
03:31 pm Revision 2fb96d39: ganeti-watcher: Don't write file if data didn't change
This is the safest way to detect changes and the amount of data
is small, so keeping a copy around is cheap enough.
Michael Hanselmann
03:31 pm Revision b76f660d: ganeti-watcher: Rename to WatcherState._data
Cleanup: _data is private and should not be modified from outside
of this class.
Reviewed-by: iustinp
Michael Hanselmann
03:31 pm Revision 1b052f42: Don't log SystemExit exception in ganeti-watcher
Reviewed-by: iustinp Michael Hanselmann
03:31 pm Revision fc428e32: Replace watcher state file atomically
- Lock it before renaming
- Code cleanup; close() automatically unlocks it
Reviewed-by: iustinp
Michael Hanselmann
03:30 pm Revision 78f3bd30: Write ganeti-watcher status file even if something failed
Reviewed-by: iustinp Michael Hanselmann
03:30 pm Revision 71714516: Add more parameters to utils.WriteFile
- Make closing file optional: Required by ganeti-watcher to keep
file open after writing it. Changes return value o...
Michael Hanselmann
03:29 pm Revision 67fe61c4: Use ganeti.serializer module in ganeti-watcher
Reviewed-by: ultrotter Michael Hanselmann
03:29 pm Revision 438b45d4: Replace custom logging code in watcher with logging module
- Log timestamp for all messages
- Write everything to logfile and optionally to stderr
- Log messages are no longer ...
Michael Hanselmann
03:29 pm Revision e91ffe49: Make sure serialized data ends with EOL character
Also fix the regular expression to not remove newlines. The simplejson
module puts whitespace at line endings when us...
Michael Hanselmann


06:08 pm Revision 0402302c: Allow disk object to set their own physical ID
Currently, the way to customize a DRBD disk from (node name 1, node name
2, port) to (ip1, port, ip2, port) is to use...
Iustin Pop
04:13 pm Revision c7cdfc90: Fix an error-handling case
There is a mistake in handling grow-disk for an invalid disk. This patch
fixes it.
Reviewed-by: imsnah
Iustin Pop
09:51 am Revision eb65d354: Manpage updates for the new grow-disk command
The patch documents the steps needed to complete a user-visible grow
(i.e. not only grow-disk, but also filesystem re...
Iustin Pop
09:51 am Revision c6e911bc: Implement gnt-instance grow-disk
This patch exposes at command line level the grow-disk operation.
Reviewed-by: imsnah
Iustin Pop
09:50 am Revision 8729e0d7: Implement disk grow at LU level
This patch adds a new opcode and LU for growing an instance's disk.
The opcode allows growing only one disk at time,...
Iustin Pop
09:50 am Revision acec9d51: Add method to update a disk object size
This patch adds a method that implements updating of a disk
(object.Disk) size, together with its children.
While th...
Iustin Pop
09:50 am Revision 4c8ba8b3: Implement block device grow at the rpc layer
This simple patch exposes the block device grow operation at the rpc
layer. It does not increase the protocol version...
Iustin Pop


07:06 pm Revision 594609c0: Expose block device grow in
This patch adds a wrapper over the block device grow operation that
converts the input and output parameters as neede...
Iustin Pop
07:01 pm Revision 1005d816: bdev: implement disk resize for lvm/drbd8
This patch implements disk resize at the bdev level for the LVM and
DRBD8 disk types. It is not implemented for DRBD7...
Iustin Pop
05:32 pm Revision 05f86716: Move SetKey to WritableSimpleStore and use it
Before we used to be able to update SimpleStore by just calling SetKey, this
feature is now moved to an external clas...
Guido Trotter
04:57 pm Revision 2a10865c: Add migration support at the rpc layer
This patch adds the migration rpc call and its implementation in the
backend. The patch does not deal with the correc...
Iustin Pop
01:37 pm Revision 6e7275c0: hypervisor: add live migration support
This is just the hypervisor-level migration (e.g. “xm migrate”) not the
whole node coordination work.
Reviewed-by: u...
Iustin Pop


01:55 pm Revision 22985314: Activate down instances' disks on replace-disks
When replacing disks or evacuating nodes with instances administratively
down ganeti fails because the instance disks...
Guido Trotter
01:55 pm Revision b6102dab: FailoverInstance: change AddInstance with Update
We're not adding a new instance, just making configuration changes to
the one we're working on.
Reviewed-by: imsnah
Guido Trotter
01:55 pm Revision f9af35c8: Burnin: Use iallocator in import/export
Currently the iallocator option is ignored by burnin at import/export
time even if passed in. With this patch it beco...
Guido Trotter
08:22 am Revision 3e91897b: Fix an error message in instance add
There is a mistake in the error message generated when we can't reach a
node for checking for available disk space. W...
Iustin Pop


05:33 pm Revision e70f1b7c: Move warning flags from to
Reviewed-by: iustinp Michael Hanselmann
03:46 pm Revision 2a2060ff: Replace logging functions with calls to logging module
- Shorter code
- Reorder arguments to logger.SetupLogging calls to make more sense
Reviewed-by: iustinp
Michael Hanselmann
01:14 pm Revision ea6e6c2b: Fail job on ganeti exceptions
When a Job raises a ganeti exception a message is printed but nothing is
reported in the job itself. It's better to u...
Guido Trotter
01:14 pm Revision 5d3a153a: Fix a typo in
s/result/op_result/ (this code was never used, so this wasn't caught)
Reviewed-by: iustinp
Guido Trotter


04:47 pm Revision e02f23f8: Don't use specific versions in
Not all distributions have the same version of aclocal, autoconf
or automake. Users can pass the name of a specific e...
Michael Hanselmann
04:05 pm Revision a0c9f010: Move InitCluster opcode into a single function
This allows us to initialize a new cluster. The code certainly contains
bugs and hooks aren't implemented yet.
Michael Hanselmann
04:04 pm Revision 8d1a2a64: Move cmdlib._HasValidVG to utils.CheckVolumeGroupSize
This is required for splitting the cluster initialization code.
Reviewed-by: iustinp
Michael Hanselmann
04:04 pm Revision d9c02ca6: Move {Set,Remove}EtcHostsEntry wrappers to
This is required for the split of the cluster initialization code.
Reviewed-by: iustinp, ultrotter
Michael Hanselmann
01:18 pm Revision c6d58a2b: Remove REQ_CLUSTER from opcode handling code
It's not needed anymore now that all opcodes require a cluster. Cluster
initialization was the only exception.
Michael Hanselmann
01:06 pm Revision c4dbb30a: Remove unreachable code from cli.SubmitOpCode
Reviewed-by: iustinp Michael Hanselmann
01:06 pm Revision 4c8dbc12: Rename master socket to ganeti-master.sock
…/run/master.sock is not specific enough.
Reviewed-by: iustinp
Michael Hanselmann


01:12 pm Revision c9673d92: Remove SimpleStore cache
SimpleStore is instantiated anew most of the times it's used, so having
a cache inside it serves no purpose. Removing...
Guido Trotter


12:32 pm Revision 76f59a32: Forward-port: Fix two problems in QA scripts
- Failover back to original node in instance failure test
- Exclude secondary node from list of potential nodes in
Michael Hanselmann
12:31 pm Revision 8a4e8898: Forward-port: Add QA tests for “gnt-instance reboot”
Reviewed-by: ultrotter Michael Hanselmann
12:31 pm Revision 7910e7a5: Forward-port: Add QA test for “gnt-instance replace-disks”
Reviewed-by: iustinp Michael Hanselmann
12:30 pm Revision a53a1b18: Forward-port: Update gnt-instance and gnt-backup manpages
- Add --iallocator options
- Small text fixes
Reviewed-by: ultrotter
Michael Hanselmann
12:30 pm Revision 52da0141: Forward-port: Fix wrong filename in ganeti-watcher manpage
Reviewed-by: iustinp Michael Hanselmann
12:28 pm Revision b3a447ef: Forward-port: Small codestyle fixes for dumb-allocator
Reviewed-by: iustinp Michael Hanselmann
12:28 pm Revision ef267657: Forward-port: Remove output file if docbook failed
Reviewed-by: ultrotter Michael Hanselmann
12:27 pm Revision 228538cf: Forward-port: Alias Dump/Load functions in ganeti.serializer to DumpJson/LoadJson
The remote API will use JSON for the foreseable future, so it's better
to put the serialization format in the functio...
Michael Hanselmann
12:19 pm Revision 783583e9: Add line-breaks to gnt-instance manpage
Reviewed-by: ultrotter Michael Hanselmann
« Previous
Next »

Also available in: Atom