Activity
From 04/06/2008 to 05/05/2008
05/05/2008
- 06:27 pm Revision 94f3875d: Generate devel/upload during build time from template
- - Use variable with prefix instead of grep and sed
- Always run with /bin/bash
Reviewed-by: ultrotter - 01:03 pm Revision 4337cf1b: Export the number of cpus to iallocator scripts
- Now that we have the number of cpus available from the hypervisors, we
can export this to the iallocator scripts.
Re... - 01:02 pm Revision 872c949f: Minor doc/help update
- This shortens the help output in gnt-node so that the output looks
nicer, and improves the manual page for gnt-instan... - 01:02 pm Revision 48c4dfa8: Improve the gnt-* list field selection
- This patch allows the '-o' option to the list subcommands to add more
fields to the default list instead of replacing... - 01:01 pm Revision e8a4c138: Add node cpu count to gnt-node list
- This patch adds the backend and frontend changes needed for being able
to list the cpu count.
Reviewed-by: ultrotter - 11:49 am Revision 9ff994da: Wrap exception in _DistributeConfig code
- nodelist.remove(X) could potentially raise a ValueError (even if the chance
that the current node is not in the list ... - 11:15 am Revision 41362e70: Simplify target generation in DistributeConfig
- Currently we get the list of nodes, and for each one extract all its info, and
just to exclude it if the name matches...
05/02/2008
- 12:36 pm Revision 8498462b: ssconf: update the SetKey docstring
- SetKey is used, other than for adding new nodes, in another few cases. Update
the docstring to reflect this, so we do... - 12:36 pm Revision 310bbdde: Delete hypervisor.py
- This completes the changes in r898 by actually getting rid of the old unused
hypervisor.py code which was left in the...
05/01/2008
- 02:15 pm Revision ce862cd5: ganeti-masterd: Some docstrings work
- - Add a docstring to IOServer's constructor
- Add argument description to PoolWorker's and JobRunner's ones
Reviewed... - 02:15 pm Revision dcf315e2: locking: remove obsolete comment
- Reviewed-by: iustinp
04/30/2008
- 03:51 pm Revision 808753d4: Remove deprecated disk templates from doc
- Since local_raid1 and remote_raid1 are deprecated they are removed
from the docs. This patch removes some old documen... - 12:30 pm Revision 470e7e06: hooks.sgml: Add cluster-verify hooks information
- Reviewed-by: iustinp
- 12:29 pm Revision d8fff41c: Add cluster-verify hooks
- Only post-hooks are run on cluster verify, and then their output is sent back
to the LU, which upon failure displays ... - 12:29 pm Revision 1fce5219: Add a LU Hooks notification function
- Previously LUs could be failed by pre-hooks, and post-hooks just had effects by
themselves. This patch allows a LU to... - 12:29 pm Revision b07a6922: HooksMaster: Make RunPhase return the rpc output
- Right now the hooks output is propagated from the nodes all the way up to
HooksMaster.RunPhase, which uses it for deb... - 12:29 pm Revision 10cd4a29: Remove NoHooksLU.BuildHooksEnv
- Since NoHooksLU defines HPATH as None, BuildHooksEnv will never be called (as
the LogicalUnit.BuildHooksEnv docstring... - 12:29 pm Revision 8a3fe350: LogicalUnit.BuildHooksEnv, update docstring
- The LogicalUnit.BuildHooksEnv docstring used to say that the node list should
not include the master node. This is ob... - 12:29 pm Revision 7b7857ee: Remove non-existing arguments from some docstrings
- A fewdocstrings in the HooksRunner backend class list arguments the relevant
functions do not take. Clean them up.
...
04/29/2008
- 06:26 pm Revision 495beb42: Add file-based options to gnt-instance man-page
- Reviewed-by: iustinp
- 05:27 pm Revision 742f39ac: Support config version in ssconf
- Reviewed-by: iustinp
- 10:37 am Revision b74159ee: Disable forking in the master daemon
- This patch adds a mechanism to disable utils.RunCmd in selected
programs. This is needed in the master daemon unless ...
04/28/2008
- 06:24 pm Revision b6023d6c: Raise PrereqError when exporting file-based instance
- This patch adds a check to LUExportInstance.CheckPrereq to raise an
error when an instance with file disks is exporte... - 06:24 pm Revision 93cb65c5: Add file backend storage options to ImportInstance
- This patch adds the file storage options to gnt-backup import which
would otherwise fail since the values of file_sto... - 06:05 pm Revision 65a6f9b7: Split hypervisor.py into several files
- Before it was a huge file with more than 700 lines. No code changes were
made except for changing imports and class n... - 04:02 pm Revision a4af651e: Move the 'cmd' lock from cli.py to ganeti-masterd
- This patch removes the lock and the lock options from cli.py and moves
them to the master.
Later during development ... - 04:01 pm Revision 685ee993: Convert cli.SubmitOpCode to use the master
- This patch converts the cli.py SubmitOpCode method to use the unix
protocol and thus execute the opcodes via the mast... - 03:15 pm Revision fd38ef95: Add check for major/minor in _FormatBlockDevInfo
- bdev.FileStorage does not have major or minor fields, so gnt-instance
info for file backed instances fails with a Typ... - 01:42 pm Revision 01fd6005: Make testSignal unittest not depend on default shell
- This patch changes the code executed when testing the signal handling
of RunCmd. Since sh does not always point to ba... - 12:47 pm Revision 8d528b7c: Move iallocator script execution to ganeti-noded
- Currently the iallocator execution takes place in the master, which is a
violation of the current architecture, and w... - 12:47 pm Revision 768f0a80: Fix iallocator instance info
- The commit "IAllocator: some more info exported" broke the instance list
generation due to a wrong index variable. Th...
04/25/2008
- 04:37 pm Revision 70f4497c: Extend utils.WriteFile
- Add parameters to not check the path for absoluteness, implement a dry
run mode and automatically create a backup if ... - 03:07 pm Revision 6286519f: IAllocator: some more info exported
- This patch adds the following information to the exported info:
- hypervisor type (in the main dict)
- total memo... - 03:07 pm Revision b2662e7f: IAllocator: simplify node info computation
- Currently we try to convert the values returned by call_node_info to
ints, and if all succeed, we actually do the con... - 03:03 pm Revision ddd9bc04: patch 1/4 extended HVM features for 1.2
- This patch extends the config objects with the slots to handle
more HVM configuration items.
Author: schreiberal
Rev... - 02:57 pm Revision 4febe836: Move target creating symlinks in lib/ into Makefile.libcommon
- Reviewed-by: iustinp
- 12:54 pm Revision b2d72ffe: Add iallocator documentation
- Reviewed-by: imsnah
04/24/2008
- 06:56 pm Revision 66f93869: backend.FinalizeExport: safely initialize some vars
- This patch initializes nic_count and disk_count with 0. This prevents
some reference errors if the snap_disks block d... - 05:39 pm Revision b4de68a9: Style fixes for trunk
- This small patch fixes:
- wrong indentation in two places
- use of 'os' variable that hides global scope os modul... - 02:13 pm Revision b6e82a65: Implement replace secondary via the iallocator
- This patch implements secondary replace via the iallocator. The new
opcode parameter 'iallocator' behaves like this: ... - 10:35 am Revision 5e767b34: Implement memory size option for burnin
- This simple patch adds memory size for the burnin instances, which helps
testing allocator algorithm response based o... - 10:29 am Revision 29859cb7: Fix generalized relocate mode of IAllocator
- The patch which generalized the IAllocator was half-true: it actually
put the selection of the node inside the IAlloc...
04/23/2008
- 06:11 pm Revision 96bb2f71: Fix burnin ImportExport CreateInstance opcode
- This patch adds the two attributes file_storage_dir and file_driver
to the CreateInstance opcode in the ImportExport ... - 05:51 pm Revision 6d54548e: burnin: improve instance create message
- When the allocator or a non-mirrored template are used the message shown by
burnin at instance creation time was wron... - 05:51 pm Revision 4a7ff493: burnin: remove created exports
- Make burnin remove exports after importing the instance back.
Reviewed-by: iustinp - 05:51 pm Revision 9ac99fda: Add gnt-backup remove functionality
- This patch also fixes the LUExportInstance Prereq docstring.
Reviewed-by: iustinp - 03:27 pm Revision 054a8696: Add instance rename to burnin
- This patch adds the possibility to execute instance renaming when
doing a cluster burnin. The optional parameter --re... - 03:05 pm Revision 2a139bb0: Generalize the replace_secondary mode in iallocator
- Currently the replace_secondary mode is too restrictive. This patch
changes this to a general 'relocate' mode where t... - 02:04 pm Revision eb0994e7: Implement replace_secondary in the dumb allocator
- This patch allows the dumb allocator to perform the replace secondary
request type. This is done simply by not allowi... - 02:03 pm Revision 27579978: Send required_nodes field to the iallocator scripts
- This patch adds the 'required_nodes' field in the request dict for the
iallocator.
This means that the handmade-chec... - 02:00 pm Revision b91bde14: Allow burnin to use an iallocator in instance creation
- This patch adds iallocator support to burnin, currently only in instance
creation. This means that, depending on the ... - 01:57 pm Revision d1c2dd75: Move all iallocator functions into a class
- This patch moves all the iallocator function into a separate class that
is then somewhat easier to use. It doesn't br...
04/22/2008
- 05:02 pm Revision a424ce50: Correctly filter out Domain-0 from domain list if requested.
- Reviewed-by: ultrotter
04/21/2008
- 04:22 pm Revision 455a3445: Only change instance status if not already so
- This patch makes the _SetInstanceStatus only change the status of the
instance (in the config file) if it's not alrea... - 04:22 pm Revision 6a408fb2: Reuse common code between MarkInstance{Up,Down}
- This patch creates a new method ConfigWriter._SetInstanceStatus that
consists of the common code between MarkInstance... - 04:04 pm Revision 8d14b30d: Abstract the json functions into a separate module
- This simple patch adds a new module that holds the simplejson functions
for serialization/deserialization. This reduc...
04/16/2008
- 09:22 pm Revision e7c6e02b: Add --readd option to “gnt-node add”
- This allows us to readd a node after it failed and required a
reinstallation or replacement.
Reviewed-by: iustinp - 05:07 pm Revision 35a0d128: A pure whitespace change for style compliance
- Reviewed-by: amishchenko
- 04:57 pm Revision 538475ca: IAllocator part 3: LUCreateInstance changes
- This (final) patch allows the instance's nodes to be selected
automatically based on the passed allocator algorithm.
... - 04:56 pm Revision 901a65c1: Reorder checks in instance create
- This patch reorders the checks in the instance create prereq so that all
checks and normalisations that are not node-... - 04:56 pm Revision 298fe380: Implement 'out' direction on allocator tests
- This patch adds the paths for searching for instance allocators and
makes the LUTestAllocator code run the allocator ... - 04:56 pm Revision d61df03e: Allocator framework, 1st part: allocator input generation
- In preparation for the introduction of automatic instance allocator,
this patch adds an allocator simulation opcode, ...
04/15/2008
- 07:12 pm Revision b62ddbe5: Fix two pylint uninitialized variable errors
- Reviewed-by: iustinp
- 05:47 pm Revision c09f363f: Bugfix: wrong identifier in CheckPrereq message
- Reviewed-by: iustinp
- 03:43 pm Revision 2f505cb5: Modify burnin to support file storage backend
- This patch does two things:
- adjusts burnin to work with the file storage backend patches
- adds the possibilty to d... - 03:34 pm Revision e2fe6369: Move the disk size computation to its own function
- This is currently hard-coded for the two drive case and will need to be
reworked for multi-disk support.
The patch i... - 02:54 pm Revision 94285814: SharedLock: restrict assertion condition
- When we release a shared lock if there are no exclusive waiter then the number
of shared waiters must be exactly equa...
04/11/2008
- 05:54 pm Revision 40dacb4d: Make the init script start the master daemon too
- Reviewed-by: ultrotter
04/10/2008
- 08:04 pm Revision e54c4c5e: Verify: make skipping checks possible
- Add a general way to skip some checks at cluster-verify time and make the N+1
memory redundancy check optional.
Revi... - 08:04 pm Revision 2b3b6ddd: Verify: add N+1 Memory redundancy verification
- For every node we check that we can host all the instances it's currently
secondary for belonging to the same primary... - 08:03 pm Revision 26b6af5e: Verify: save instance config
- Save the instance config after we queried it in an instance_cfg dict. This can
be used later by any function that wa... - 08:03 pm Revision 36e7da50: Verify: add more instance information to node_info
- The sisnt-by-pnode field contains all secondary instances of a node, grouped by
their primary node. This information ... - 08:03 pm Revision 93e4c50b: Verify: add instance information to node_info
- With this patch node_info is changed to store information about which primary
and secondary instances are configured ... - 08:03 pm Revision 9c9c7d30: Verify: Add and populate node_info dict
- During information gathering we collect information from call_node_info, and
then when we cycle trough the nodes add ... - 07:38 pm Revision 1f9430d6: Rework the results of OpDiagnoseOS opcode
- Currently, the opcode DiagnoseOS is the only opcode that return a
structure of objects.OS (which is a custom class, a... - 06:56 pm Revision f1c66d13: Add generic opcode submit functionality to gnt-debug
- This patch enhances gnt-debug to be able to submit any opcodes. The
opcodes are input from a json file containing a l... - 06:46 pm Revision b77acb3e: Change client protocol to raise exception on failures
- Currently the luxi.client.SubmitJob and Query methods return the unserialized
result without processing it at all. Th... - 06:36 pm Revision 35049ff2: Add per-opcode results to job processing
- This patch changes the definition of a job and introduces per-opcode
results.
First, the result and status fields of... - 04:41 pm Revision 57c177af: Move the OS search code into an abstract function
- Based on the previous OS search code changes, we can now move the OS
search code into a generic look-for-file functio... - 04:40 pm Revision c34c0cfd: Change backend._OSSearch return values
- Currently, the function backend._OSSearch() returns the (first) base dir
in which this OS can be found. Thereafter th... - 03:59 pm Revision 3cdef069: Fix example scripts build dependencies
- Currently, the example scripts (the init.d and the cron script) do not
depend on the Makefile, so if configure is rer... - 01:18 pm Revision ceb76b36: Verify: remove useless check in _VerifyInstance
- The list of instances passed to _VerifyInstance is the one coming from
self.cfg.GetInstanceList(). So there's no poin... - 01:18 pm Revision c5705f58: Verify: instance verification cleanup
- The instance configuration is grabbed both in the _VerifyInstance function and
in the loop that calls it. Clean this ... - 01:18 pm Revision a872dae6: Verify: fix crash when a node is down
- Currently if ganeti-noded doesn't respond on a node gnt-cluster verify will die
when verifying primary instances for ... - 01:18 pm Revision c840ae6f: Verify: fix ERROR message indentation
- All ERROR messages in cluster verify are indented by four spaces, this one is
indented by two. Fixing this skew.
Rev... - 01:18 pm Revision 2f6eebee: Fix spelling mistake in constants.py
- Of course instance creation don't have any modem, and the comment was just
talking about modes. Sorry to everybody ex... - 12:15 pm Revision 11c05c42: Add lvm storage option to gnt-cluster man page
- This patch adds the previously introduced lvm storage toggling
info to the gnt-cluster man page. It adds some info th... - 12:12 pm Revision 16687b98: Small code style fix
- Reviewed-by: imsnah
04/09/2008
- 08:45 pm Revision 2c313123: Bugfix instance create when file-storage-dir None
- os.path.join does not like None as argument and fails with
AttributeError: 'NoneType' object has no attribute 'starts...
04/08/2008
- 07:28 pm Revision 1c6e3627: Two small code style fixes
- Reviewed-by: imsnah
- 07:01 pm Revision 45873083: Modify gnt-instance to support file backend
- Reviewed-by: ultrotter
- 07:01 pm Revision dc936b49: Add file_storage_dir,file_driver to OpCreateInstance
- Reviewed-by: ultrotter, iustinp
- 07:00 pm Revision b23c4333: Modify LURenameInstance to support file backend
- This patch does two things:
- Modify LURenameInstance.Exec to rename directory
when a file-based instance is rename... - 07:00 pm Revision 0f1a06e3: Modify LUCreateInstance to support file backend
- - Modfiy _GenerateDiskTemplate to support file-based disk template
- Modify _CreateDisks to create directory needed f... - 06:05 pm Revision a618b9ee: Bump version number to 1.3.0~alpha1
- Reviewed-by: iustinp
- 06:04 pm Revision d5fd92ed: Provide more flexible version numbers to the code
- Having the individual parts in the code allows us to build version
numbers like "1.2" while leaving "3" out in a clea... - 05:04 pm Revision e994fcba: Modify hypervisor to support file backend
- The driver in the xen config file needs to be changed when dealing with
files rather then bdevs.
This patch does two... - 03:54 pm Revision e0732b36: Remove support for Pickle configuration files
- Reviewed-by: iustinp
- 03:54 pm Revision 1c2d87fc: Add more explicit help for command line
- Reviewed-by: iustinp
- 03:53 pm Revision f97c7901: Update copyright year, imports of cfgupgrade
- Reviewed-by: iustinp
04/07/2008
- 02:18 pm Revision 283439c9: Implement selective job query
- This patch implements query-ing of only selected jobs instead of all.
Reviewed-by: ultrotter - 02:15 pm Revision a14a17fc: Move some checks from cli.py to luxi.py
- The idea of cli.py and luxi.py is that all protocol checks should be in
luxi, and cli.py should just offer some helpf... - 02:12 pm Revision 00abdc96: A small capitalization change (OpCode.LoadOpcode)
- This small patch fixed the opcodes.OpCode.LoadOpcode capitalization to
what was intented to be (as the comment says):...
Also available in: Atom