Activity

From 09/07/2008 to 10/06/2008

10/06/2008

07:42 pm Revision 07cd723a: Implement job auto-archiving
This patch adds a new luxi call that implements auto-archiving of jobs
older than a certain age (or -1 for all comple...
Iustin Pop
06:59 pm Revision 2241e2b9: Add a simple timespec parsing function
This function will be used for auto-archiving jobs via the command line.
The function is pretty simple, we only suppo...
Iustin Pop
06:58 pm Revision 62c9ec92: backend.py change to get cluster name from master
Currently there are three function in backend that need the cluster name
in order to instantiate an SshRunner. The pa...
Iustin Pop
06:56 pm Revision 3d3a04bc: Disable re-reading of config file
Since the objects read from the config file are passed to the various
threads, it's unsafe to re-read the config file...
Iustin Pop
06:13 pm Revision a72b3711: RAPI Desing Doc
Reviewed-by: iustinp Oleksiy Mishchenko
05:11 pm Revision ec5c88dc: Start implementation of parallel burnin
This patch introduces a simple framework for executing jobs in parallel
in burnin (the ExecJobSet function) and the "...
Iustin Pop
04:40 pm Revision e0ec0ff6: Fix gnt-job list with empty timestamps
In case the job object doesn't have a timestamp (which is a separate
issue), the listing should not break. We fix thi...
Iustin Pop
04:29 pm Revision 1daae384: Increase the number of threads to 25
Since our locks are not gathered nicely, we can have jobs that are
actually blocking on locks (parallel burnin shows ...
Iustin Pop
04:21 pm Revision 74bc10e8: Minor cleanups & typo fixes.
Reviewed-by: iustinp Alexander Schreiber
04:16 pm Revision 6b0469d2: Fix SshRunner breakage from the changed API
More places actually use the SshRunner than just the gnt-cluster
commands.
Reviewed-by: ultrotter
Iustin Pop
02:48 pm Revision 56bece1f: Change SshRunner usage
Currently the SshRunner uses a SimpleConfigReader instance, however this
is not best. We change it to use the cluster...
Iustin Pop
02:01 pm Revision 4fbe765c: Update document describing cluster security
It may need further updates, but here's a start.
Reviewed-by: ultrotter
Michael Hanselmann

10/05/2008

12:16 pm Revision 06dc5b44: Fix ssconf.GetMasterAndMyself
The ssconf migration left this out.
Reviwed-by: imsnah,ultrotter
Iustin Pop

10/03/2008

05:32 pm Revision 56118de5: Fix a mistake in the gnt-backup man page
The actual location is /export, not /exports.
Reviewed-by: ultrotter
Iustin Pop

10/02/2008

01:22 pm Revision 65dfd777: Use docbook2* paths found during configure for actual build
docbook-wrapper had the names for the docbook2* programs hardcoded. This
patch changes Makefile.am and the wrapper sc...
Michael Hanselmann
01:22 pm Revision ffa1c260: Remove references to Twisted framework
Reviewed-by: iustinp Michael Hanselmann

10/01/2008

08:37 pm Revision c259ce64: Get rid of ssconf
Remove leftovers from ssconf.
Reviewed-by: iustinp
Michael Hanselmann
08:37 pm Revision 0b38cf6e: Don't pass sstore to LUs anymore
sstore is no longer used in LUs.
Reviewed-by: iustinp
Michael Hanselmann
08:36 pm Revision a42872ff: Convert ganeti-master
Use simpleconfig instead of ssconf.
Reviewed-by: iustinp
Michael Hanselmann
08:36 pm Revision 2859b87b: Convert ganeti-watcher
Use RPC calls instead of ssconf.
Reviewed-by: iustinp
Michael Hanselmann
08:36 pm Revision 8594f271: Convert ganeti-noded
Replace ssconf with utility functions.
Reviewed-by: iustinp
Michael Hanselmann
08:35 pm Revision e00ea635: Convert gnt-cluster
Replace ssconf with configuration.
Reviewed-by: iustinp
Michael Hanselmann
08:35 pm Revision d23ef431: Convert bootstrap.py
Replace ssconf with configuration.
Reviewed-by: iustinp
Michael Hanselmann
08:35 pm Revision d6a02168: Convert cmdlib.py
Replacing ssconf with configuration. Cluster rename is broken and stays
that way.
Reviewed-by: iustinp
Michael Hanselmann
08:35 pm Revision 7688d0d3: Convert ssh.py
Get rid of ssconf and convert to configuration instead.
Reviewed-by: iustinp
Michael Hanselmann
08:34 pm Revision eb1328a9: Convert rpc.py
Replacing ssconf with utility functions.
Reviewed-by: iustinp
Michael Hanselmann
08:34 pm Revision 3707f851: Convert hypervisor
Replacing ssconf with configuration.
Reviewed-by: iustinp
Michael Hanselmann
08:34 pm Revision 437138c9: Convert mcpu.py
Replacing ssconf with configuration.
Reviewed-by: iustinp
Michael Hanselmann
08:34 pm Revision 5b263ed7: Convert config.py
The configuration version is now again in the configuration file.
Reviewed-by: iustinp
Michael Hanselmann
08:34 pm Revision c657dcc9: Convert backend.py
Replacing ssconf with simpleconfig.
Reviewed-by: iustinp
Michael Hanselmann
08:33 pm Revision ae5849b5: Add new query to get cluster config values
This can be used to retrieve certain cluster config values from
within clients.
OpDumpClusterConfig was not used any...
Michael Hanselmann
08:33 pm Revision 4a8b186a: Move functions from ssconf.py elsewhere
These functions will be used to access config values instead of using
ssconf.
Reviewed-by: iustinp
Michael Hanselmann
08:33 pm Revision 856c67e1: Add simple configuration reader/writer classes
This will be used to read the configuration file in the node daemon.
The write functionality is needed for master fai...
Michael Hanselmann
12:27 pm Revision 37b77b18: Fix the watcher with down nodes
The watcher didn't handle the down nodes, fix this by ignoring (in
secondary node reboot checks) any node that doesn'...
Iustin Pop
12:27 pm Revision b7309a0d: Fix the watcher not restarting instance bug
The watcher was using conflicting attributes of the instance:
- it queried the admin_/oper_state, which are boolean...
Iustin Pop
12:27 pm Revision 5188ab37: Remove last use of utils.RunCmd from the watcher
The watcher has one last use of ganeti commands as opposed to sending
requests via luxi. The patch changes this to us...
Iustin Pop
12:24 pm Revision 36b8c2c1: Fix unittests broken by revision 1727
Reviewed-by: iustinp Michael Hanselmann
12:03 pm Revision f6bd6e98: Add cluster options from ssconf to configuration
ssconf will become write-only from ganeti-masterd's point of view,
therefore all settings in there need to go into th...
Michael Hanselmann
12:03 pm Revision b9eeeb02: Move instantiation of config into bootstrap.py
Future patches will add even more variables to the cluster config.
Adding more parameters wouldn't make the function ...
Michael Hanselmann
11:29 am Revision 53c04d04: Change the results from cli.PollJob
Curently PollJob accepts a generic job, but will return (history
artifact) only the first opcode result. This is wron...
Iustin Pop

09/30/2008

06:01 pm Revision b2fc7ea1: Add list of build dependencies
Reviewed-by: iustinp Michael Hanselmann
03:28 pm Revision f05c99f3: Build HTML from RST input
This patch also adds the design documents to Makefile.am.
Reviewed-by: iustinp
Michael Hanselmann
03:22 pm Revision b27b39b0: Fix ‘gnt-job info’ with no arguments
I didn't realize that my zip will break when no args are passed...
Reviewed-by: imsnah
Iustin Pop
03:13 pm Revision aad81f98: Add output of job/opcode timestamps
This patch adds posibility of selection of job/opcode timestamps in
gnt-job list and info.
The code handling the pos...
Iustin Pop
03:04 pm Revision c56ec146: Enhance the job-related timestamps
This patch adds start, stop, and received timestamp for jobs (and allows
querying of them), and allows querying of th...
Iustin Pop
02:36 pm Revision efd0d44f: Small fixes for master daemon design document
It said CLI/RAPI will talk to master using HTTP, which isn't true. Add
a reference to job queue design document. Smal...
Michael Hanselmann
02:16 pm Revision b6c64863: Import design doc for commandline arguments
Reviewed-by: iustinp Alexander Schreiber
01:21 pm Revision 4e8d0685: locking design: code path and declarations
Reviewed-by: iustinp Guido Trotter
01:21 pm Revision 6e4f6dfa: locking design: explain use of async mode
Before we were discussing this possible future feature, and its
drawbacks, but not its usefulness. This patch correct...
Guido Trotter
01:20 pm Revision 164a5bcb: locking design: talk about removing locks
Reviewed-by: iustinp Guido Trotter
01:07 pm Revision 040408a3: Import (and update) granular locking design doc
Reviewed-by: iustinp Guido Trotter
12:36 pm Revision 3386e7a9: Abstract the timestamp formatting into cli.py
Currently we format the timestamp inside the gnt-job info function. We
will need this more times in the future, so mo...
Iustin Pop

09/29/2008

08:55 pm Revision b2cee5e5: Add job queue design document
Reviewed-by: iustinp Michael Hanselmann
07:18 pm Revision 84f4dc28: Add an 'index' of design documents
This will be an overview document, enumerating the changes without going
into details and pointing to the actual docu...
Iustin Pop
06:38 pm Revision 5b23c34c: Add opcode execution log in job info
This patch adds the job execution log in “gnt-job info” and also allows
its selection in “gnt-job list” (however here...
Iustin Pop
04:15 pm Revision 3c03759a: Move a hardcoded constant to constants.py
For now we only use the ‘C’ protocol so we can put it in constants.py
instead of hardcoding it.
Reviewed-by: imsnah
Iustin Pop
04:15 pm Revision 2899d9de: Enable the use of shared secrets
This patch enables the use of the shared secrets for DRBD8 disks, using
(hardcoded in constants.py) the md5 digest al...
Iustin Pop
04:15 pm Revision f9518d38: Extend DRBD disks with shared secret attribute
This patch, which is similar to r1679 (Extend DRBD disks with minors
attribute), extends the logical and physical id ...
Iustin Pop
04:09 pm Revision 191712c0: Add a info subcommand to gnt-job
Currently, it is hard to examine a job in detail; the output of ‘gnt-job
list’ is not easy to parse.
The patch adds ...
Iustin Pop
04:09 pm Revision 60dd1473: Implement job summary in gnt-job list
It is not currently possibly to show a summary of the job in the output
of “gnt-job list”. The closes is listing the ...
Iustin Pop
04:08 pm Revision 3b87986e: Nicely sort the job list
Unless we decide to change the job identifiers to integer, we should at
least sort the list returned by _GetJobIDsUnl...
Iustin Pop

09/28/2008

05:44 pm Revision 33081d90: Move the pseudo-secret generation to utils.py
The bootstrap code needs a pseudo-secret and this is currently generated
inside the InitGanetiServerSetup function. S...
Iustin Pop
05:43 pm Revision d48663e4: Fix a bug related to static minors
When the node does not yet have any minors allocated, the first minor
(0) will not be entered in the ConfigWriter._te...
Iustin Pop

09/27/2008

11:45 pm Revision 48ce9fd9: Add checks for tcp/udp port collisions
In case the config file is manually modified, or in case of bugs, the
tcp/udp ports could be reused, which will creat...
Iustin Pop
06:58 pm Revision b9f72b4e: Update the cluster serial_no on certain operations
This patch adds update of the cluster serial number for:
- add/remove node (as the cluster's node list is changed)
...
Iustin Pop
06:58 pm Revision 38d7239a: Allow listing of the serial_no via gnt-* list
This patch adds listing of the serial_no attribute in gnt-instance and
gnt-node list, and updates to the manpages to ...
Iustin Pop
06:58 pm Revision b989e85d: Initialize and update the serial_no on objects
This patch add initialization of the serial_no on instance and nodes,
and update of the field whenever an object is u...
Iustin Pop
06:58 pm Revision 9d38c6e1: Switch the global serial_no to the top object
Currently the serial_no that is incremented every time the configuration
file is written is located on the 'cluster' ...
Iustin Pop
06:58 pm Revision be1fa613: Add serial_no attributes to objects
This patch adds the ‘serial_no’ attribute to the other top-level objects
(the configuration object itself, the nodes ...
Iustin Pop
06:57 pm Revision 97abc79f: Replace a cfg.AddInstance with UpdateInstance
This seems to be the last (deprecated) use of AddInstance in order to
update an instance.
The patch also removes a w...
Iustin Pop
02:32 pm Revision fbd6f863: Add design doc for the disk changes
Reviewed-by: imsnah Iustin Pop

09/25/2008

12:40 pm Revision 1ce4bbe3: Fix iallocator name
port forward of patch from revision 1690 with following message:
Patch on revision 1686 used the wrong field: ial.na...
René Nussbaumer
11:42 am Revision 207a6c74: Fix a broken format string
This patch fixes a broken format string. It's expecting 3 parameters, but only
gets 2. This change will add the missi...
René Nussbaumer

09/24/2008

08:35 pm Revision bb083b25: Design doc for the master daemon
It's not complete, but I hope it's up to date. It's restructured text,
but no make rules or such for html output are ...
Iustin Pop
04:43 pm Revision 74a48621: Switch config.py to logging
A couple of more modules are using the obsolete logger functions, config
being one of them.
Reviewed-by: imsnah
Iustin Pop

09/23/2008

03:10 pm Revision a1578d63: Switch to static minors for DRBD
With some todos remaining, this patch switches the DRBD devices to use
the passed minors, and the cmdlib code (add in...
Iustin Pop
03:10 pm Revision a81c53c9: Implement config support for drbd static minors
This patch adds support for allocating static minors.
Like for the LVM uuids, we add a new cache for the temporarily...
Iustin Pop
03:10 pm Revision 468b46f9: Fix disk replace secondary with static minors
The code in 'updating instance configuration' section of the replace
disks with change secondary node was setting a w...
Iustin Pop

09/22/2008

02:32 pm Revision ffa1c0dc: Extend DRBD disks with minors attribute
This patch converts the DRBD disks to contain also a minor (per each
node) attribute. This minor is not yet used and ...
Iustin Pop

09/18/2008

02:13 pm Revision 3fa93523: Apply filter properly in LUQuery{Nodes, Instances}
Currently when not locking all nodes/instances are returned, regardless
if the user asked only for some of them. With...
Guido Trotter
02:12 pm Revision c2c2a903: Remove auto_balance from burnin/cmdlib
There is no such feature in trunk yet.
Reviewed-by: iustinp
Guido Trotter

09/17/2008

07:07 pm Revision ca0aa6d0: Add utils.ReadFile function
It abstracts exception handling and is like a complement to
utils.WriteFile.
Reviewed-by: iustinp
Michael Hanselmann
05:51 pm Revision b5b22be2: doc/locking.txt: Job queue functions can be called from LUs
The previous description was unclear. Reported by Guido Trotter.
Reviewed-by: ultrotter
Michael Hanselmann

09/12/2008

11:23 am Revision 6e2dc934: Make burnin aware of hvm device type flags.
Merged from branches/ganeti/ganeti-1.2 r1648
Use static values for new hvm instance flags
Reviewed-by: iustinp
Alexander Schreiber

09/11/2008

08:45 pm Revision 64d3bd52: GetAllInstancesInfo, change internal iterator name
GetAllInstancesInfo used "node" as an iterator name. Change it to
instance to make it less confusing.
Reviewed-by: i...
Guido Trotter
08:45 pm Revision 746ea1da: gnt-instance: fix tags commands online help
It used to refer to "nodes", which was confusing.
Reviewed-by: iustinp
Guido Trotter
08:45 pm Revision 8646adce: Parallelize Tag operations
For now we lock the instance/node for adding/deleting tags from it, but
we could probably in the future do without, w...
Guido Trotter
08:44 pm Revision c53279cf: Parallelize LUSetClusterParams (and add a FIXME)
Reviewed-by: imsnah Guido Trotter
12:46 pm Revision 87765cb0: Fix a typo in gnt-instance.sgml
Reviewed-by: imsnah Guido Trotter
12:44 pm Revision 3656b3af: Parallelize LURemoveExport
Reviewed-by: imsnah Guido Trotter
12:44 pm Revision cf472233: Parallelize LURemoveInstance
Using the new add/remove infrastructure this becomes pretty easy! :)
Reviewed-by: imsnah
Guido Trotter
12:44 pm Revision 7baf741d: Parallelize LUCreateInstance
Finally, instance create on different node, without iallocator, can run
in parallel. Iallocator usage still needs all...
Guido Trotter
12:44 pm Revision ca2a79e1: Implement adding/removal of locks by declaration
With this patch LUs can declare locks to be added when they start and/or
removed after they finish. For now locks can...
Guido Trotter
12:44 pm Revision d2aff862: LockSet: forbid add() on a partially owned set
This patch bans add() on a half-acquired set. This behavior was
previously possible, but created a deadlock if someon...
Guido Trotter
12:43 pm Revision ab62526c: Fix typo in a locking.py comment
Reviewed-by: imsnah Guido Trotter
12:43 pm Revision 80ee04a4: Use is_owned to determine whether to unlock
Now that is_owned is public we don't need to play games at the end of an
LU. If we're still owning anything we just r...
Guido Trotter
12:43 pm Revision d4f4b3e7: Add GanetiLockManager.is_owned function
This is a public version of the private function we already had.
We don't just change the previous version because it...
Guido Trotter
12:43 pm Revision d4803c24: Fix LockSet._names() to work with the set-lock
If the set-lock is acquired, currently, the _names function will fail on
a double acquire of a non-recursive lock. Th...
Guido Trotter
11:25 am Revision aefef4f4: Add gnt-instance (start|stop) --submit
Finish the --submit changes with these two, which (because they are
multi-opcode commands) require special handling.
...
Iustin Pop

09/10/2008

08:46 pm Revision e74798c1: jqueue: Add common RPC error handling function
We didn't decide yet what exactly it should do with failed nodes.
Reviewed-by: ultrotter
Michael Hanselmann
08:07 pm Revision 57a2fb91: Remove locking of instances in certain queries
This patch is similar to the node patch (rev 1650). We disable locking
of instance (and nodes) if we only query stati...
Iustin Pop
08:07 pm Revision 0b2de758: Add an atomic ConfigWrite.GetAllInstanceInfo()
In order to be able to query instance without locking them, we need the
same atomic query of multiple instances as fo...
Iustin Pop
08:06 pm Revision 94bbfece: Add ConfigWriter._UnlockedGetInstanceList/Info()
This patch splits the GetInstanceInfo and GetInstanceList methods into
two parts, one locked one _Unlocked similar to...
Iustin Pop
08:06 pm Revision b7329c9c: Do not use jobs in gnt-instance _ExpandNames()
In the gnt-instance script, _ExpandNames() uses jobs to query instance
names. This is not optimal, so we change it to...
Iustin Pop
08:06 pm Revision 6340bb0a: Implement "--submit" on gnt-instance
This patch adds support for the “--submit” parameter in the gnt-instance
script, for the commands where it makes sens...
Iustin Pop
06:43 pm Revision e9d741b6: Rewrite the 'only submit job' handling in scripts
The "sys.exit(0)" was not nice as you couldn't differentiate it from
other exit codes. We change this to a specially ...
Iustin Pop
02:03 pm Revision c8d8b4c8: Optimize the OpQueryNodes for names only
Currently, OpQueryNodes is locking all nodes (in shared mode), which
will also block the special case of querying onl...
Iustin Pop
02:02 pm Revision d65e5776: Add a way to export all node information at once
The patch adds a new function to export all node information at once
(i.e. atomically with respect to the configurati...
Iustin Pop

09/09/2008

03:57 pm Revision 8785cb30: ganeti-noded: Add constant for queue lock timeout
Reviewed-by: iustinp Michael Hanselmann
03:47 pm Revision 1bc59f76: Never remove job queue lock in node daemon
Otherwise, corruption could occur in some corner cases. E.g. when
LeaveNode is running in a child and is in the proce...
Michael Hanselmann
03:25 pm Revision 36205981: Implement master startup safety check
This is an initial version of the master startup checks. It's a very
rudimentary change, however in normal usage (an ...
Iustin Pop
03:24 pm Revision 4e071d3b: Export backend.GetMasterInfo over the rpc layer
We create a multi-node call so that querying all nodes for agreement
will be fast.
Reviewed-by: imsnah
Iustin Pop
03:24 pm Revision bd1e4562: Change backend._GetMasterInfo to return more data
The _GetMasterInfo() function needs to export the master name too to be
useful in master safety checks. This patch ma...
Iustin Pop
01:42 pm Revision a987fa48: Parallelize LUQueryInstanceData
Reviewed-by: iustinp Guido Trotter
01:42 pm Revision d4b9d97f: Parallelize LUVerify{Cluster,Disks}
These are two easy querying LUs which require shared access to all
nodes/instances.
Reviewed-by: iustinp
Guido Trotter
01:41 pm Revision efd990e4: Parallelize LUReplaceDisks
This is the most complex parallelization so far. We have to lock one
instance (and its nodes) plus one more node if d...
Guido Trotter
01:41 pm Revision 9513b6ab: _LockInstancesNodes: support append mode
This will be used to lock the instance's nodes in addition to some more.
Reviewed-by: iustinp
Guido Trotter
01:41 pm Revision b2751b57: Processor: remove ChainOpCode
This function was incompatible with the new locking system, and its
usage has been removed from the code. For now LUs...
Guido Trotter
01:41 pm Revision f22a8ba3: Parallelize LU{A,Dea}ctivateInstanceDisks
Now that they are not used in other opcodes by chaining,
this can easily be done.
Reviewed-by: iustinp
Guido Trotter
01:40 pm Revision 023e3296: LUReplaceDisks: remove use of ChainOpCode
The calls to OpActivateInstanceDisks and OpDeactivateInstanceDisks has
been replaced by _StartInstanceDisks and _Safe...
Guido Trotter
01:40 pm Revision 155d6c75: Create new _SafeShutdownInstanceDisks function
This new function checks whether an instance is running, before shutting
down its disks. This is what the Exec() of L...
Guido Trotter
01:40 pm Revision 3a5d7305: Fix a typo in LogicalUnit.ExpandNames docstring
s/locking.LEVEL_INSTANCES/locking.LEVEL_INSTANCE/
Reviewed-by: iustinp
Guido Trotter
01:40 pm Revision f6d9a522: Use constants.LOCKS_REPLACE instead of hardcoding
This constant replaces what we used to write in recalculate_locks, and
represents the lock recalculation mode. It liv...
Guido Trotter
12:39 pm Revision de8c7666: Fix LUReplaceDisks with iallocator
self._RunAllocator() sets self.op.remote_node, but doesn't return the
new remote node. If we set it to the return val...
Guido Trotter
12:01 pm Revision 506cff12: Use lock timeout for queue updates in ganeti-noded
This helps to prevent complete deadlocks.
Reviewed-by: iustinp
Michael Hanselmann

09/08/2008

06:54 pm Revision 86de84dd: Fix LUGrowDisk
The rpc library returns a list, not a tuple, so we'll accept both.
Reviewed-by: iustinp
Guido Trotter
06:53 pm Revision 43f5ea7a: Fix iallocator run
The rpc library returns a list, not a tuple, so we'll accept both.
Reviewed-by: iustinp
Guido Trotter
06:53 pm Revision dcde0241: OpVerifyDisks returns a list, not a tuple
Fixing the check in gnt-cluster, or gnt-cluster verify-disks is broken.
Since the version in 1.2 used to return a tup...
Guido Trotter
04:44 pm Revision 6657590e: Parallelize LUExportInstance
Unfortunately for the first version we need to lock all nodes. The patch
discusses why this is and discuss ways to im...
Guido Trotter
04:44 pm Revision 31e63dbf: Parallelize LUGrowDisk
Reviewed-by: iustinp Guido Trotter
04:43 pm Revision 849da276: LURebootInstance: lock only primary when possible
When rebooting an instance and we're not changing it's disks status (all
the cases except in a "full" reboot) we can ...
Guido Trotter
04:43 pm Revision a82ce292: Add primary_only flag to _LockInstancesNodes
As the name says when the flag is on (the default is off) only the
primary nodes are locked, as opposed to all of the...
Guido Trotter
« Previous
Next »
 

Also available in: Atom