Activity

From 06/28/2009 to 07/27/2009

07/27/2009

03:18 pm Revision 4f366caf: Build HTML from Ganeti 2.1 design
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann

07/26/2009

01:31 pm Revision 3b1b0cb6: Collapse SSL key checking/overriding for daemons
Signed-off-by: Guido Trotter <ultrotter@google.com> Guido Trotter

07/25/2009

05:32 pm Revision 04ccf5e9: Collapse daemon's main function
With three ganeti daemons, and one or two more coming, the daemon's main
function started becoming too much cut&paste...
Guido Trotter

07/24/2009

03:05 pm Revision dae3fdd2: Slightly abstract the daemon logfile lookup
The original LOG_<DAEMON_NAME> constants for daemon logfiles are gone.
In their place there is a DAEMONS_LOGFILES dic...
Guido Trotter
03:05 pm Revision 83052f9e: Remove <DAEMON>_PID constants
The <DAEMON>_PID constants were created to reference a daemon pid file,
but actually contain a daemon's name, because...
Guido Trotter
03:05 pm Revision 8c96d01f: Move rapi to GetDaemonPort
Currently rapi is the only daemon which accepts a port option, rather
than querying its own port from services, and f...
Guido Trotter
03:04 pm Revision cd50653c: Change GetNodeDaemonPort to GetDaemonPort in utils
GetNodeDaemonPort is used to lookup the node daemon port in the services
file, and if not found to return the default...
Guido Trotter
03:01 pm Revision 775c6d3e: Merge branch 'next' into branch-2.1
* next:
lvmstrap: Change diskinfo to use GenerateTable
Get rid of constants.RAPI_ENABLE
Remove references to ut...
Guido Trotter
12:26 pm Revision e194129a: lvmstrap: Change diskinfo to use GenerateTable
This way the produced table is formatted nicely.
Signed-off-by: Stephen Shirley <diamond@google.com>
Signed-off-by: ...
Stephen Shirley
11:35 am Revision e1876432: Get rid of constants.RAPI_ENABLE
This constant is unused, except in qa. Removing it since it's always True.
This patch also removes the unused qa_rap...
Guido Trotter

07/23/2009

04:19 pm Revision 464243a7: cmdlib: Add __init__ to Tasklet class
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
12:07 pm Revision 68b1fcd5: Remove references to utils.debug
Various modules set it to True when called in debugging mode, but the
utils module supports no such global.
Signed-o...
Guido Trotter
11:39 am Revision be73fc79: ganeti-rapi, replace hardcoded exit value
substitute exit(1) with exit(constants.EXIT_FAILURE).
Also fix a wrongly indented line.
Signed-off-by: Guido Trotter...
Guido Trotter
11:39 am Revision 8790ac54: Add the bind-address option to ganeti-rapi
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter

07/22/2009

08:52 pm Revision 3e06e001: cmdlib: Move LUMigrateInstance functionality to tasklet
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
08:52 pm Revision 80dd50bf: gnt-node: Use new opcode to evacuate nodes
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
08:52 pm Revision 7ffc5a86: Add new opcode to evacuate nodes
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
08:52 pm Revision c68174b6: cmdlib: Convert _DiskReplacer to tasklet
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
08:32 pm Revision 692738fc: cmdlib: Function to get all secondary instances on a certain node
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
08:27 pm Revision 46479775: noded: Abstract hard-coded sys.exit value
On machines without the ssl file noded exists '5'.
Changing this to constants.EXIT_NOTCLUSTER.
Also utils.GetNodeDae...
Guido Trotter
04:58 pm Revision 6fd35c4d: cmdlib: Add tasklet support to logical unit base class
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Michael Hanselmann
04:58 pm Revision 9a6800e1: cmdlib: Add tasklet base class
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
04:13 pm Revision 93db3d8f: Add an example "ethers" hook
This hook can be used to update /etc/ethers with instance's mac
addresses. A dhcp server on the nodes can then serve ...
Guido Trotter
12:52 am Revision c0446a46: ganeti-confd design doc
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter

07/21/2009

03:15 pm Revision c70481ab: burnin: move batch init/commit into a decorator
Many burnin steps initialize the batch queue at the beginning and commit
it at the end of their operation. This patch...
Iustin Pop
03:14 pm Revision d9b7a0b4: burnin: move instance alive checks to a decorator
Many burn steps to a manual check of instance aliveness, via duplicate
code. This patch moves this code to a decorato...
Iustin Pop
03:14 pm Revision 73ff3118: burnin: Implement retryable operations
Some burnin steps are idempotent: e.g. reinstalling an instance (from
burning p.o.v.) can be done multiple times with...
Iustin Pop

07/20/2009

07:58 pm Revision 4a34c5cf: Generate a shared HMAC key at cluster init time
This key is shared on all nodes (via cmdlib._RedistributeAncillaryFiles)
and will be used for HMAC authentication of ...
Guido Trotter
06:54 pm Revision c071c5b3: Fix unittests broken by commit 2bb5c9115f
File "../test/ganeti.hooks_unittest.py", line 239, in setUp
self.lu = FakeLU(FakeProc(), self.op, self.context, Non...
Michael Hanselmann
06:38 pm Revision 2bb5c911: cmdlib: Move code doing disk replacements into separate class
This class will be used for a new opcode to evacuate nodes.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Re...
Michael Hanselmann
02:58 pm Revision 923ddac0: cmdlib: Pass config and rpc objects directly to IAllocator
Before IAllocator would access them using “self.lu.cfg” and “self.lu.rpc”.
It shouldn't know about the internals of t...
Michael Hanselmann
02:40 pm Revision 699d856f: Ignore vim swap files
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
02:06 pm Revision e5a45a16: Fix backend import errors from GetHypervisorClass
The merge of commit 360b0dc into branch-2.1 broke import of backend,
since it uses hypervisor.GetHypervisor() which r...
Iustin Pop
12:47 am Revision 8629a543: burnin: fix removal errors hiding real errors
A long-standing bug in burnin makes errors during the removal phase
(e.g. because an import has failed, or because th...
Iustin Pop

07/19/2009

09:26 pm Revision b397a7d2: Merge branch 'next' into branch-2.1
Conflicts:
lib/backend.py: non-trivial conflict but easy to solve
Iustin Pop
09:21 pm Revision 360b0dc2: backend: Only build once the list of upload files
The list of upload files is built currently at every UploadFile() call.
This patch moves it to a separate variable wh...
Iustin Pop
07:47 pm Revision 25f9901f: Merge commit 'origin/next' into branch-2.1
Conflicts:
lib/cli.py: trivial extra empty line
Iustin Pop
07:42 pm Revision b8f31860: Fix gnt-instance reinstall
Commit 55efe6dabe48e5c37dc1ff6099e0bb8afde7a468 "Convert instance
reinstall to multi instance model" actually broke i...
Iustin Pop
07:38 pm Revision 6af6270a: Fix a couple of epydoc warnings
It seems epydoc needs fully-qualified references, and doesn't deal with
relative ones (not even in the current module...
Iustin Pop
07:36 pm Revision 34327f51: job queue: fix loss of finalized opcode result
Currently, unclean master daemon shutdown overwrites all of a job's
opcode status and result with error/None. This is...
Iustin Pop
03:03 pm Revision b59252fe: Switch gnt-debug submit-job to JobExecutor
Currently gnt-debug submits jobs individually, but in 2.1 JobExecutor
uses the optimized SubmitManyJobs luxi call and...
Iustin Pop
02:53 pm Revision 3d2ca95d: Convert instance reinstall to multi instance model
This patch converts ‘gnt-instance reinstall’ from single-instance to
multi-instance model; since this is dangerours, ...
Iustin Pop
02:53 pm Revision dd7dcca7: gnt-instance batch-create: use the job executor
This small patch changed the batch create functionality to use the job
executor instead of single-job submits.
Signe...
Iustin Pop
02:53 pm Revision f2921752: Modify cli.JobExecutor to use SubmitManyJobs
This patch changes the generic "multiple job executor" to use the many
jobs submit model, which automatically makes a...
Iustin Pop
02:53 pm Revision 56d8ff91: Add a luxi call for multi-job submit
As a workaround for the job submit timeouts that we have, this patch
adds a new luxi call for multi-job submit; the a...
Iustin Pop
02:34 pm Revision f6424741: job queue: fix interrupted job processing
If a job with more than one opcodes is being processed, and the master
daemon crashes between two opcodes, we have th...
Iustin Pop
02:33 pm Revision ed21712b: Fix an error path in job queue worker's RunTask
In case the job fails, we try to set the job's run_op_idx to -1.
However, this is a wrong variable, which wasn't dete...
Iustin Pop
05:58 am Revision 961166d9: Merge commit 'origin/branch-2.1' into feature/containers
Iustin Pop

07/17/2009

06:36 pm Revision 66d895a8: Add __slots__ on objects in jqueue
Adding slots to _QueuedOpCode decreases memory usage (of these objects)
by roughly four times. It is a lesser change ...
Iustin Pop
06:31 pm Revision 6839a874: Merge commit 'origin/next' into branch-2.1
* commit 'origin/next':
ganeti.initd: Pass $*_ARGS to programs when restarting them
Michael Hanselmann
06:23 pm Revision 7f5e61b4: ganeti.initd: Pass $*_ARGS to programs when restarting them
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
04:30 pm Revision b2aa5035: Merge branch 'next' into branch-2.1
* next:
Optimizie OpCode loading
Yet another fallout from the pylint fixes
Iustin Pop
04:30 pm Revision 363acb1e: Optimizie OpCode loading
This patch converts the opcode loading to a pre-built map (at import
time) instead of iteration over the globals dict...
Iustin Pop
03:42 pm Revision b0c63e2b: Yet another fallout from the pylint fixes
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Olivier Tharan <olive@google.com>
Iustin Pop
02:41 pm Revision 539210af: Merge branch 'next' into branch-2.1
* next:
Fix another issue with hypervisor_name change
Update NEWS and version for 2.0.2 release
Improve the des...
Guido Trotter
02:40 pm Revision 2a061e15: Merge branch 'master' into next
* master:
Update NEWS and version for 2.0.2 release
Improve the description of node flags in man page
Change de...
Guido Trotter
02:37 pm Revision 3df6e710: Fix another issue with hypervisor_name change
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
02:28 pm Revision 550a995a: Update NEWS and version for 2.0.2 release
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Iustin Pop

07/16/2009

08:00 pm Revision 253ba78f: Improve the description of node flags in man page
[iustin@google.com: slightly reworded the explanation for offline and
changed the commit message]
Signed-off-by: Iust...
Raiford Storey
04:53 pm Revision 529d13a4: Add enabled hypervisors to TestConfigRunner
This parameter is now mandatory for the cluster config to work.
Signed-off-by: Guido Trotter <ultrotter@google.com>
...
Guido Trotter
04:40 pm Revision 9a5fba23: Add a few more checks to verify config
- Check that the enabled hypervisors list is valid
- Check that the master node is a valid node
Signed-off-by: Guido...
Guido Trotter
04:40 pm Revision b119bccb: Make sure enabled_hypervisors list is valid
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
04:34 pm Revision 066f465d: Get rid of the default_hypervisor slot
Currently we have both a default_hypervisor and an enabled_hypervisors
list. The former is only settable at cluster i...
Guido Trotter
04:34 pm Revision 00b66530: design-2.1: Update OS Flavours section
This reflects a discussion we had, according to which the full
"parameters" implementation is too heavy weight for 2....
Guido Trotter
02:54 pm Revision 7b3ac94d: Change default stripe count to 1
In order not to change the default during a stable series, we modify
configure.ac to default to one stripe, in effect...
Iustin Pop
02:21 pm Revision c772d142: cmdlib: Use dict.fromkeys instead of custom loop
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
01:57 pm Revision a33848a5: Simplify InitConfig and remove SimpleConfigWriter
InitConfig currently creates the cluster config_data, then puts it into
a dict, passes it to SimpleConfigWriter to lo...
Guido Trotter
01:57 pm Revision 9e1333b9: InitCluster, don't use SimpleConfigWriter
InitConfig returns a SimpleConfigWriter to InitCluster, which then
passes it on to ssh.WriteKnownHostsFile, which ext...
Guido Trotter
01:51 pm Revision 541822e0: Fix python 2.4 compatibility
I got overexcited and forgot we have to remain compatible with python
2.4. With this patch we move from sha256 to sha...
Guido Trotter
01:29 pm Revision 38256320: Use full-stripe size in LVM growth
LVM has issues when growing stripped volumes, so it's best to specify
the growth in exact multiples of the full strip...
Iustin Pop

07/15/2009

08:22 pm Revision 175cc337: CLI: Handle error better
This patch adds an error handler for any exceptions that are raised
during the external data load phase. This can be ...
Iustin Pop
11:31 am Revision 0427285d: Unify the command line options and structures
This patch moves all the command line options and their internal
representation into CLI.hs. This means that duplicat...
Iustin Pop

07/14/2009

07:17 pm Revision e52019f7: Remove ConfigWriter.InitConfig
It's been replaced by a simpler bootstrap.InitConfig function, which
does the same job, and is currently unused.
Sig...
Guido Trotter
06:18 pm Revision d393737d: Merge branch 'next' into branch-2.1
* next:
Remove SimpleConfigWriter.SetMasterNode
_GenerateDiskTemplate: use base_index in the name
ganeti-master...
Guido Trotter
06:07 pm Revision 48c8887b: Remove SimpleConfigWriter.SetMasterNode
This function is not used.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hans...
Guido Trotter
06:07 pm Revision fb4b324b: _GenerateDiskTemplate: use base_index in the name
Currently if a disk is added later the base_index is not considered, and
all the disks are called disk0. This patch f...
Guido Trotter
05:17 pm Revision bd2f1465: Document the --vcpus option to hspace
Iustin Pop
05:15 pm Revision 2485487d: Fix a few hlint errors
Iustin Pop
05:01 pm Revision 848a9ac5: Man page updates
This patch beautifies the man pages for hbal and hspace. Iustin Pop
05:00 pm Revision 26d47cf5: CLI: Prevent incompatible options to be selected
This patch makes CLI abort if more than one backend is selected. Iustin Pop
04:17 pm Revision b9017fa7: Update documentation for the new luxi backend
Iustin Pop
04:06 pm Revision 8e445e6d: Add support for luxi backend in CLI/hspace/hbal
This patch changes the backend selection method in CLI to prefer, in order:
- a RAPI specification
- a Luxi speci...
Iustin Pop
03:56 pm Revision 53ec9022: Initial commit of the luxi backend
This patch adds a luxi backend that allows direct query of the master
daemon on the local node. This patch doesn't en...
Iustin Pop
03:56 pm Revision 135a6c6a: Introduce timeout in RAPI queries
The patch adds two constants in Types.hs for connect and query timeout,
then modifies Rapi.hs to use them as the conn...
Iustin Pop
03:13 pm Revision b2890442: ganeti-masterd: avoid SimpleConfigReader
SimpleStore is a lot less heavyweight than SimpleConfigReader, and to
just get the master name we can use that. This ...
Guido Trotter
01:35 pm Revision f4a2f532: HMAC authenticated json messages
This patch includes HMAC authenticated json messages to the serializer.
The new interface works on any json-encodable...
Guido Trotter

07/13/2009

05:59 pm Revision 64dae8fc: rapi: Implement /2/nodes/[node_name]/role resource
This resource can be used to retrieve and set the role of a node.
Signed-off-by: Michael Hanselmann <hansmi@google.c...
Michael Hanselmann
05:58 pm Revision 3427d34f: rapi: Add generic “force” parameter
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:01 pm Revision b8810fec: cmdlib: Fix typo in LUQueryClusterInfo
This was broken by my pylint fixes patch.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin ...
Michael Hanselmann
12:47 pm Revision e5b7c4ca: RAPI: implement instance reinstall
This patch adds instance reinstall to RAPI, with two optional parameters:
- ‘os', in order to change the OS on rein...
Iustin Pop

07/09/2009

04:58 pm Revision 7d11799b: Fix a haddoc issue
Iustin Pop
04:58 pm Revision d8de9112: Update NEWS file for the 0.1.5 release
This is basically a hspace release, so the changelog is small. Iustin Pop
04:16 pm Revision 31e7ac17: hspace: fix failure handling of tryAlloc results
Currently hspace doesn't handle failures from tryAlloc correctly; this
patch changes the iterateDepth function in hsp...
Iustin Pop
03:44 pm Revision 478df686: Change the tryAlloc/tryReloc workflow
Currently, the tryAlloc and tryReloc function return a list with all the
results, both failures and successes. This i...
Iustin Pop

07/08/2009

08:30 pm Revision 685935f7: Simplify the Cluster.tryAlloc structures
Currently the tryAlloc function calls the
allocateOnSingle/allocateOnPair and the builds a new tuple with those
funct...
Iustin Pop
07:38 pm Revision 8880d889: Slight change to the internal allocation results
Currently the Cluster.AllocSolution type is defined as a list of
‘(OpResult Node.list, …)’ and the results for applyM...
Iustin Pop
07:25 pm Revision 9ea446d2: Add a 'tags' makefile target
This uses hasktags for building emacs TAGS. Iustin Pop
05:34 pm Revision 2bbf77cc: hspace: switch output to shell-script format
This (big) patch changes the output of hspace from text-format
(separated by ‘: ’) to a shell-snippet, in ‘key=value’...
Iustin Pop
12:49 pm Revision de4ac2c2: hspace: move instance count and score into CStats
Currently the instance count and cluster score are separated from the
other initial/final phase stats, even though th...
Iustin Pop
12:49 pm Revision 3583908a: Extend call_node_start_master rpc with no_voting
When the parameter is set to True and start_daemons is also True,
ganeti-masterd will be started with the new --no-vo...
Guido Trotter
12:28 pm Revision 2f7140ba: Merge branch 'next' into branch-2.1
* next:
Create a new --no-voting option for masterfailover
ganeti-masterd: allow non-interactive --no-voting
Fi...
Guido Trotter
12:27 pm Revision fba15943: Merge branch 'master' into next
* master:
Create a new --no-voting option for masterfailover
ganeti-masterd: allow non-interactive --no-voting
Guido Trotter
12:17 pm Revision 8e2524c3: Create a new --no-voting option for masterfailover
This allows failing over in certain corner cases, such as a 2 node
cluster with one node down. The man page is also u...
Guido Trotter
11:33 am Revision 5e96d216: ganeti-masterd: allow non-interactive --no-voting
This will be used by ganeti-noded to start ganeti-masterd in a
--no-voting masterfailover.
Signed-off-by: Guido Trot...
Guido Trotter

07/07/2009

07:10 pm Revision 79a72ce7: Fix unittests
The recent OpResult and CPU values additions broke unittests. Iustin Pop
03:54 pm Revision 7c4d6c7b: Fix pylint warnings
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
03:54 pm Revision 70c771f6: Add custom pylintrc
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
03:54 pm Revision 88828491: bootstrap: Don't leak file descriptor when generating SSL certificate
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
03:53 pm Revision 6096ee13: Fix problem with EAGAIN on socket connection in clients
If a user used ^Z to stop the program, poll() in socket.recv would return
EAGAIN due to SIGSTOP. This patch changes l...
Michael Hanselmann
03:51 pm Revision 5bbd3f7f: Fix some typos
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
12:56 pm Revision 8c4c6a8a: Export more stats in hspace
This patch changes Cluster.totalResources to compute more resources and
prints them in hspace.
Iustin Pop
12:20 pm Revision 2795466b: Show errors on stderr instead of stdout
Currently many of the exit and warning conditions mistakenly display error
messages on stdout, which makes parsing th...
Iustin Pop
11:06 am Revision 16103319: Fix score calculation to work with empty clusters
Currently the cluster score calculation includes an offline instance
percentage, expressed as “offline inst / (offlin...
Iustin Pop
10:55 am Revision 58631b72: Some docstring updates
Iustin Pop
10:55 am Revision dca7f396: hspace: convert N1 error exit into FailN1 result
Currently hspace exits with an error if the cluster is not N+1 compliant
at the beginning of the run. This patch chan...
Iustin Pop
10:54 am Revision 7e74e7db: hspace: add display of instance spec
This is mostly for user-friendliness in the default mode, when we don't
specify the instance parameters.
Iustin Pop
01:22 am Revision e6f4f05c: Optimize the Utils.stdDev function
This patch optimizes the stdDev function in two respects:
- first, we don't do sum . map which builds an intermedia...
Iustin Pop
12:24 am Revision d71d0a1d: Take the foldl out of Loader.fixNodes
Currently Loader.fixNodes is foldl' with a complicated function. It
makes more sense to take foldl' out of this funct...
Iustin Pop
12:13 am Revision 41c3b292: Simplify Cluster.computeMoves
This patch changes the function Cluster.computeMoves to use guards and a
couple of subexpressions in order to greatly...
Iustin Pop

07/06/2009

11:50 pm Revision 9f6dcdea: Fix hlint-generated warnings
This big patch cleans up the code per hlint indications. Many removals
of extra parentheses, replacements of concat ....
Iustin Pop

07/05/2009

06:56 pm Revision 44763b51: Add computation of the failure reason in hspace
This patch enhances hspace to report why the allocation sequence
stopped, both in absolute error count and for the to...
Iustin Pop
06:42 pm Revision c43c3354: Return correct failure data from Node.add*
This patch alters the Node.addPri/addSec to return correct failure data.
It removes the computeFailN1 function from t...
Iustin Pop
03:53 pm Revision f2280553: Introduce a new type for allocation results
Currently the allocation/move operations workflow return ‘Maybe a’,
which is very convenient but loses all details ab...
Iustin Pop
03:21 pm Revision 266aea94: Remove hn1 and related code
hn1 was deprecated for a while and this patch removes it altogether. The
support code in Cluster.hs is also removed.
Iustin Pop

07/03/2009

10:40 pm Revision 78ecfa8f: Display two more stats in hspace
This adds two new stats - sum of reserved ram and disk. Iustin Pop
10:01 pm Revision 301789f4: Fix totalResources avail disk computation
This uses the newly-added Node.availDisk to compute the actual available
disk correctl, and display the total allocat...
Iustin Pop
10:01 pm Revision fe3d6f02: Add an availDisk node function
This function returns the amount of available disk, which depends on
whether a low disk limit has been configured or ...
Iustin Pop
10:00 pm Revision 836533fa: Add two new autocomputed vars to Nodes
Currently we track the max disk usage/max vcpus as percentages, however
sometimes it's easier to check against minimu...
Iustin Pop
12:50 am Revision 1a7eff0e: Add a new type for cluster statistics
Currently totalResources returns a 5-tuple of integers. This is not easy
to handle, as each change on the return type...
Iustin Pop

07/02/2009

01:43 pm Revision 621de5b7: Enhance hspace resource display
The display of cluster resources is extracted into a separate function
and enhanced to display more stats.
Iustin Pop
01:33 pm Revision e2af3156: Add display of more stats in hspace
This patch changes Cluster.totalResources to compute more details about
the cluster status, and enhances hspace to di...
Iustin Pop

07/01/2009

12:40 pm Revision 1dc10972: Increase maximum accepted size for a DRBD meta dev
With the change to stripped LVs, the actual size of a meta device (which
is small) can be more than we expected (for ...
Iustin Pop

06/30/2009

07:33 pm Revision 9a5cb537: backend.DemoteFromMC: don't fail for missing files
If the config file is missing when the DemoteFromMC() function is
called, it will raise a ProgrammerError. Instead of...
Iustin Pop
07:33 pm Revision a8ae3eb5: Fix node readd issues
This patch fixes a few node readd issues.
Currently, the node readd consists of two opcodes:
- OpSetNodeParms, whi...
Iustin Pop
07:33 pm Revision dec0d9da: Cleanup config data when draining nodes
Currently, when draining nodes we reset their master candidate flag, but
we don't instruct them to demote themselves....
Iustin Pop
07:31 pm Revision 23f06b2b: Allow GetMasterCandidateStats to ignore some nodes
This patch modifies ConfigWriter.GetMasterCandidateStats to allow it to
ignore some nodes in the calculation, so that...
Iustin Pop
12:01 pm Revision e631cb25: Fix error message for extra files on non MC nodes
Currently the message for extraneous files on non master candidates is
confusing, to say the least. This makes it hop...
Iustin Pop

06/29/2009

05:41 pm Revision cc208ed0: Merge branch 'master' into branch-2.1
* master:
Fix adjustement of candidates in cluster modify
Add a new node list field
Fix HTTP server library han...
Guido Trotter
05:33 pm Revision b2a6ccd4: Rename the volume_list RPC call to lv_list
There are volume-related rpc calls. This patch renames the ‘volume_list’
call to ‘lv_list’ to make more clear its pur...
Iustin Pop
05:26 pm Revision 3126878d: GenericMain, handle ParameterError from _ParseArgs
Before this case was not covered, and printed a stack trace.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Rev...
Guido Trotter
05:26 pm Revision 8b46606c: check_ident_key_val, handle no_ and - prefixes
If an ident member of an IdentKeyVal relationship starts with no_ or -,
handle it the same way we do for a key. Some ...
Guido Trotter
04:14 pm Revision 4f31882e: _SplitKeyVal with no data return an empty dict
If an empty string is passed to _SplitKeyVal, we should return {},
rather than {'': True}. Also test for the correct ...
Guido Trotter
04:12 pm Revision d1a7d66f: Introduce OS api version 15
Also, since Ganeti 2.1 will be compatible with both 10 and 15, change
the OS_API_VERSION constant to be an OS_API_VER...
Guido Trotter
04:12 pm Revision 63b9b186: _OSOndiskAPIVersion: save a loop
The api_versions list is first stripped and then converted to integer.
Combining the two operations.
Signed-off-by: ...
Guido Trotter
04:01 pm Revision 75e914fb: Fix adjustement of candidates in cluster modify
The code for adjusting the candidate pool size was done after the config
update, and this means we triggered the save...
Iustin Pop
01:43 pm Revision c120ff34: Add a new node list field
This patch adds a ‘role’ node list field, which shows a one-character
node status. This is a simpler way to see the n...
Iustin Pop
« Previous
Next »
 

Also available in: Atom