Activity
From 07/13/2009 to 08/11/2009
08/11/2009
- 05:05 pm Revision 1e82bc80: rapi: Add /2/nodes/[node_name]/storage/modify resource
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 05:05 pm Revision 8381fa2d: rlib2: Import rapi
- This fixes ganeti-rapi which was broken in commit 7a95a954.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Re... - 02:55 pm Revision 7a95a954: rapi: Add /2/nodes/[node_name]/storage resource
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 12:50 pm Revision d6d9ce45: Ship the ethers hook
- doc/examples/hooks/ethers has been added without being shipped in the
released tarball. Putting a stop to this.
Sign... - 12:40 pm Revision 131178b9: Constants: config directories cleanup
- Use variables already defined.
Introduce ganeti CONF_DIR.
Signed-off-by: Luca Bigliardi <shammash@google.com>
Review... - 12:19 pm Revision 610e39da: Fix yet another bug in LURepairDiskSizes
- This is a result of broken copy-paste, and because needed_locks is not a
dict right here it will error out.
Signed-o... - 11:25 am Revision c3029d0a: Ssconf IP lists: change separator
- Use " " instead of ",".
Signed-off-by: Luca Bigliardi <shammash@google.com>
08/10/2009
- 09:26 pm Revision 5909fb97: Map Node/IP in ssconf IP lists
- Map the node hostname with its primary/secondary ganeti IP in ssconf.
In this way a node can discover which are its I... - 07:41 pm Revision 87a5035c: Ethers hook, compatibility with old lockfile
- Remove "-l" option since some ancient systems ship a version of lockfile-progs
not supporting it.
Signed-off-by: Luc... - 06:31 pm Revision 500a0b29: Remove a few unused imports from noded/masterd
- Signed-off-by: Guido Trotter <ultrotter@google.com>
- 06:12 pm Revision 9164cec9: init script: handle ganeti-confd as well
- Adding ganeti-confd to the example init script. The daemon itself will
only start on master candidates, but the init ... - 04:46 pm Revision b84cb9a0: Initial confd implementation
- ganeti-confd is a simple asynchronous daemon, which listens on a UDP
port, passes each packet to a processor, and sen... - 04:46 pm Revision 71f27d19: confd.server.ConfdProcessor
- A ConfdProcessor is the job processor for a confd query.
It's responsible for all the processing, from unpacking it, ... - 03:57 pm Revision 12426ae1: Add empty ganeti.confd module
- It will be used for the confd server code, and for a basic client
library.
Signed-off-by: Guido Trotter <ultrotter@g... - 03:56 pm Revision 7bcc78e4: SimpleConfigReader.Reload, avoid double reloads
- If for some reason we try to call Reload twice but the config file
hasn't changed, we don't want to load it again. Us... - 03:56 pm Revision ad8b2f9b: SimpleConfigReader: s/Reload/_Load/
- Since we use it also to load the config file initially we rename the
Reload function to _Load. Then we re-export it a... - 03:56 pm Revision b125e3b3: Basic exceptions used by confd
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 03:56 pm Revision 18679072: constants for the confd daemon
- Adding the various basic daemon constants for confd.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by... - 03:56 pm Revision 31c2a99e: Reply status constants for confd
- These are valid values for the "status" field in objects.ConfdReply
Signed-off-by: Guido Trotter <ultrotter@google.c... - 03:24 pm Revision 3552cd2e: Run post cluster initialization LU
- Call PostInitCluster from 'gnt-cluster init'.
Signed-off-by: Luca Bigliardi <shammash@google.com>
Reviewed-by: Iusti... - 03:23 pm Revision b5f5fae9: Post cluster initialization LU
- Add an 'empty' logical unit to run hooks after cluster initialization.
Signed-off-by: Luca Bigliardi <shammash@googl... - 03:00 pm Revision 4d9e6835: Fix a bug in LURepairDiskSizes
- The same old story: disks need SetDiskID before being sent to remote
nodes.
Signed-off-by: Iustin Pop <iustin@google... - 01:41 pm Revision 77b60cdb: Upgrade be/hv params with default values
- From time to time we're adding new be or hv parameters. With this patch
missing parameters get set to the default val... - 01:41 pm Revision 703dc23d: Move HVM's device_model to a hypervisor parameter
- This moves yet another hardcoded value to a hypervisor parameter. I
removed the 64/32 difference as it doesn't seem v... - 01:41 pm Revision e71b560a: Implement the KERNEL_PATH parameter for xen-hvm
- For the xen-hvm hypervisor, the KERNEL_PATH parameter is needed but
today is hardcoded to a constants in the xen hype... - 01:41 pm Revision d2d7d5c3: objects: add configuration upgrade system
- Add a very basic configuration update mechanism to objects.
An object can define the UpgradeConfig method, which will... - 01:41 pm Revision aafb303d: Add cluster-init --no-etc-hosts parameter
- If --no-etc-hosts is passed in at cluster init time we set a new
parameter in the cluster's object to false, and avoi...
08/08/2009
- 09:57 am Revision 4dfac6af: design-2.1: Change OS Flavours with OS Variants
- This is the terminology used by libvirt, it's shorter, clearer, and it
makes sense. :)
Also the final sentence about...
08/07/2009
- 02:32 pm Revision 40765aa0: serializer.DumpSignedJson
- Don't indent the final message.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann ... - 02:32 pm Revision a0c26bdb: SimpleConfigReader: add serial numbers reading
- GetConfigSerialNo and GetClusterSerialNo return respectively the serial
number for the config and for the cluster obj... - 02:32 pm Revision 89c52785: constants: confd node roles
- confd will return the node role as an integer, which represents one of
the mutually exclusive roles a node can be in.... - 02:22 pm Revision 8486ffc0: Merge branch 'master' into next
- * master:
Update NEWS and version for 2.0.3 release
devel/upload: revert rsync -p
export: add meaningful exit c... - 02:19 pm Revision ea1518af: constants: confd query types
- Initially confd will support only two queries:
CONFD_REQ_NODE_ROLE_BYNAME
Given a node name, return its role.
CONFD... - 02:08 pm Revision a9407509: design-2.1: detail confd wire protocol
- Until now it was being kept too vague, so here we give some real
examples of how things are going to be.
Signed-off-... - 12:34 pm Revision 9d725d41: Update NEWS and version for 2.0.3 release
- Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 12:24 pm Revision 1fe93c75: SimpleConfigReader.Reload()
- Rather than initializing the config statically at class creation time,
we load it every time Reload() is called.
Sig... - 12:24 pm Revision 18d750b9: Confd{Request,Reply} objects
- These objects are used to store confd queries and replies.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Revie... - 12:24 pm Revision 4e9dac14: Serializer, remove salt_verifier functionality
- The salt needs to be returned anyway, so we don't have to add another
key for the sender to recognize which request a... - 12:08 pm Revision 0f18ee6d: pyinotify: configure checks and documentation
- After 74d519e3b91845a17ae095eb7d58dd9e3d1303e8 Ganeti depends on
pyinotify. Updating the documentation accordingly an... - 12:08 pm Revision a8a76bc2: asycnotifier.AsyncNotifier
- AsyncNotifier is a special asyncore class that delivers inotify events
asynchronously.
Signed-off-by: Guido Trotter ...
08/06/2009
- 08:41 pm Revision 01cf7dbe: SimpleConfigReader: Handle errors when loading
- Handling both IOErrors and ValueErrors (thrown by the simplejson loader)
Signed-off-by: Guido Trotter <ultrotter@goo... - 07:36 pm Revision 3f71b464: ssconf.CheckMasterCandidate
- This function checks that the current node is a master candidate, and
terminates otherwise. It will be used upon gane... - 07:13 pm Revision f208978a: Convert ldisk_degraded to tri-state value
- This allows us to report “uncertain” states (LDS_UNKNOWN) for cases
where the code can't easily detect or report what... - 07:13 pm Revision 74f37195: Add constants for local disk status
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: ... - 07:13 pm Revision ddfe2228: Handle None result from BlockdevFind
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 07:13 pm Revision 98825740: objects.BlockDevStatus: Remove ToLegacyStatus
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: ... - 11:12 am Revision e24999ab: example ethers hook: use lockfile-progs
- Rather than writing our own locking routing, use the one implemented by
the lockfile-create program.
Signed-off-by: ...
08/05/2009
- 09:05 pm Revision d98b37a1: ethers hook lock: use logger not echo
- Overwrite debugging 'echo's
Signed-off-by: Luca Bigliardi <shammash@google.com>
Signed-off-by: Guido Trotter <ultrot... - 08:52 pm Revision 1db0b7cf: ethers hook: reduce the probability of data loss
- The hook was exiting immediately if lock was not acquired, entering a timed
loop to have more chances when acquiring ... - 08:05 pm Revision 8113a52e: Add master candidates IPs informations to ssconf
- This will be used when querying confd, in order not to rely on DNS being
available.
Signed-off-by: Luca Bigliardi <s... - 07:40 pm Revision 476ce612: TestParameterNames: also check nic parameters
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 05:55 pm Revision 4c14965f: ConfigObject.ToDict() only export non-None values
- The method is changed to a normal loop, to avoid calling getattr()
twice. Also __getstate__ is changed to just use To... - 05:55 pm Revision f9780ccd: Add nodes IPs informations to ssconf
- Having a list of primary/secondary IPs of all the nodes in ssconf can be useful
for scripts/hooks which need to autom... - 04:45 pm Revision c64d061f: devel/upload: revert rsync -p
- The permissions replications also will change the permissions on the /
and /usr directories, which is bad. This rever... - 04:09 pm Revision 59672ca3: serializer: fix a few docstrings
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com> - 02:19 pm Revision 084f05a5: export: add meaningful exit code
- Currently ‘gnt-backup export’ always returns exit code zero, even in the
face of complete failure during backup (only... - 02:19 pm Revision a48b08bf: Fix detecting of errors in export
- This should fix issue 61, by explicitely calling bash (which is is now a
non-explicit dependency) and setting the pip... - 12:13 pm Revision 36145b12: Use objects for blockdev_getmirrorstatus RPC call result
- This patch changes the return type for backend.BlockdevGetmirrorstatus from
a list of tuples to a list of objects.Blo... - 12:12 pm Revision 96acbc09: Use object for blockdev_find RPC call result
- This patch changes the return type for backend.BlockdevFind to an object
(objects.BlockDevStatus). Before a tuple was...
08/04/2009
- 05:36 pm Revision 60975797: Implement gnt-cluster check-disk-sizes
- This patch adds a new opcode and lu for checking disk sizes. Currently
it does only top-level disk verification, and ... - 05:35 pm Revision 968a7623: rpc: add rpc call for getting disk size
- Note that this exports the disk size as bdev returns it, in bytes. The
value will be converted to MiB in cmdlib.
Sig... - 05:35 pm Revision fcff3897: bdev: Add function for reading actual disk size
- This patch adds a GetActualSize for block devices that returns the
actual disk size. It is done using blockdev (and s... - 05:35 pm Revision b4ec07f8: Implement --ignore-size in activate-disks
- This patch modified OpActivateDisks, LUActivateDisks and gnt-instance
activate-disks to support and pass this option ... - 05:35 pm Revision e3443b36: Add ignore size support in _AssembleInstanceDisks
- This patch adds an optional parameter to _AssembleInstanceDisks that
allows ignoring of size information by making a ... - 05:35 pm Revision a805ec18: Add a objects.Disk.UnsetSize() method
- This method recursively resets the size of the disk and its children to
zero.
Signed-off-by: Iustin Pop <iustin@goog... - 05:34 pm Revision 60bca04a: bdev: allow ignoring of size in Assemble()
- This patch changes the DRBD8 class (the only one to use the size in
Assemble) to ignore the size in Assemble when a z... - 04:27 pm Revision dc922da0: Fix instance import net option
- This is identical to dc30b0e4 but applied to gnt-backup. Thanks to user
ocaner for catching it.
Signed-off-by: Iusti... - 04:26 pm Revision c5159571: Simplify the devel/upload script
- Instead of multiple uploads to each node, this script copies everything
as needed to the temporary directory, exactly... - 02:46 pm Revision 53548798: gnt-node physical-volumes: Add storage type parameter
- This way the user can also show storage types other than lvm-pv.
Signed-off-by: Michael Hanselmann <hansmi@google.co... - 02:46 pm Revision a4d138b7: cmdlib: Fix parameters for storage.FileStorage
- It wants a list of directories, not a string.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Ius... - 12:45 pm Revision 0e89fc2d: Add “gnt-node modify-volume” command
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 12:44 pm Revision efb8da02: cmdlib: Add opcode to modify storage unit fields
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 12:44 pm Revision 8979196a: Add RPC calls to modify storage fields
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 12:44 pm Revision 9b648ee7: storage: Add function to modify fields
- This allows the “allocatable” flag on LVM PVs to be changed.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
R... - 11:52 am Revision d91427ea: Merge commit 'origin/branch-2.1' into feature/containers
- * commit 'origin/branch-2.1': (66 commits)
Add automated disk repair changes to design doc
Add review script
Im...
08/03/2009
- 05:28 pm Revision 395aa879: Add automated disk repair changes to design doc
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 04:43 pm Revision 42c067b7: Add review script
- I've been using this script for a while to update commits before
pushing them to the main repository. It copies all c... - 04:42 pm Revision 4007f57d: Implement “gnt-node physical-volumes” command
- This command can be used to list all physical volumes on nodes.
Signed-off-by: Michael Hanselmann <hansmi@google.com... - 04:42 pm Revision 9e5442ce: Add new opcode to list physical volumes
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 04:42 pm Revision 6032697c: storage: Use constants.py instead of local constants
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 04:42 pm Revision 54878c54: storage: Fix semantics for directory size
- The actual directory size is "used" space, not the total space on
the filesystem.
Signed-off-by: Michael Hanselmann ... - 02:51 pm Revision e8d563f3: Add a Copy method to object.ConfigObject
- This small patch adds a simple Copy method that is can be used for
'throw-away' copies of objects.
Signed-off-by: Iu... - 12:25 pm Revision 17cb7017: Merge branch 'next' into branch-2.1
- * next:
Add “gnt-job watch” command
jqueue: Fix error when WaitForJobChange gets invalid ID
jqueue: Update mess... - 12:22 pm Revision e7d6946c: Add “gnt-job watch” command
- This command can be used to follow the output of a job. It's useful
together with the --submit parameter for other co... - 12:22 pm Revision 6e237482: jqueue: Fix error when WaitForJobChange gets invalid ID
- When JobQueue.WaitForJobChange gets an invalid or no longer existing job ID it
tries to return job_info and log_entri... - 12:20 pm Revision a9e97393: jqueue: Update message for cancelling running job
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 12:12 pm Revision abae1b2b: cmdlib: Change tasklet logging to debug level
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
07/31/2009
- 02:31 pm Revision 1c482bab: rapi: Add /2/nodes/[node_name]/migrate resource
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:31 pm Revision b21d8c7f: gnt-node: Use new opcode to migrate node
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 02:30 pm Revision 80cb875c: cmdlib: Add new opcode to migrate node
- It migrates all primary instances from the node to their secondaries.
Signed-off-by: Michael Hanselmann <hansmi@goog...
07/30/2009
- 07:36 pm Revision 3fb8680a: rapi: Add default parameter to _checkIntVariable
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: ... - 07:36 pm Revision b4a9eb66: cmdlib: Add logging for tasklets
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 07:36 pm Revision 3a012b41: cmdlib: Fix tasklets handling if no tasklets are added
- If no tasklets are added, self.tasklets evaluates to None. The LU base
class will throw an exception because it think... - 02:02 pm Revision 73452f12: rapi: Add /2/[node_name]/evacuate resource
- This can be used to evacuate a node.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <... - 12:41 pm Revision a392a6b8: Add information about storage units framework
- This updates the 2.1 design document with storage units framework information.
Signed-off-by: Iustin Pop <iustin@goo...
07/29/2009
- 06:56 pm Revision e337de97: Add RPC calls for storage unit list
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 03:11 pm Revision ac2d0fe4: Add first implementation of generic storage unit framework
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 03:09 pm Revision 3f6a47a8: utils: Add functions to calc directory size and free space on filesystem
- These will be used by the new storage unit framework.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed... - 11:59 am Revision 2503680f: 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...
07/28/2009
- 12:29 pm Revision 24acc2c6: Fix a typo in hbal.hs
- Signed-off-by: Guido Trotter <ultrotter@google.com>
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>
07/26/2009
- 01:31 pm Revision 3b1b0cb6: Collapse SSL key checking/overriding for daemons
- Signed-off-by: Guido Trotter <ultrotter@google.com>
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...
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... - 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... - 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... - 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... - 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... - 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: ... - 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...
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> - 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... - 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... - 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>
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> - 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> - 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> - 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> - 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> - 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... - 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> - 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> - 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 ... - 12:52 am Revision c0446a46: ganeti-confd design doc
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
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... - 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... - 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...
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 ... - 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... - 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... - 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... - 02:40 pm Revision 699d856f: Ignore vim swap files
- Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com> - 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... - 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...
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 - 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... - 07:47 pm Revision 25f9901f: Merge commit 'origin/next' into branch-2.1
- Conflicts:
lib/cli.py: trivial extra empty line - 07:42 pm Revision b8f31860: Fix gnt-instance reinstall
- Commit 55efe6dabe48e5c37dc1ff6099e0bb8afde7a468 "Convert instance
reinstall to multi instance model" actually broke i... - 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... - 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... - 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... - 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, ... - 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... - 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... - 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... - 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... - 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... - 05:58 am Revision 961166d9: Merge commit 'origin/branch-2.1' into feature/containers
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 ... - 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 - 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> - 04:30 pm Revision b2aa5035: Merge branch 'next' into branch-2.1
- * next:
Optimizie OpCode loading
Yet another fallout from the pylint fixes - 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... - 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> - 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... - 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... - 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> - 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>
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... - 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>
... - 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... - 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> - 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... - 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.... - 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... - 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> - 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... - 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... - 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... - 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...
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 ... - 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...
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... - 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... - 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... - 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... - 05:17 pm Revision bd2f1465: Document the --vcpus option to hspace
- 05:15 pm Revision 2485487d: Fix a few hlint errors
- 05:01 pm Revision 848a9ac5: Man page updates
- This patch beautifies the man pages for hbal and hspace.
- 05:00 pm Revision 26d47cf5: CLI: Prevent incompatible options to be selected
- This patch makes CLI abort if more than one backend is selected.
- 04:17 pm Revision b9017fa7: Update documentation for the new luxi backend
- 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... - 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... - 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... - 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 ... - 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...
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... - 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> - 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 ... - 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...
Also available in: Atom