Activity
From 01/11/2009 to 02/09/2009
02/09/2009
- 05:17 pm Revision 11344a50: KVM: Add usb mouse type parameter
- In some cases 'mouse' may work better than 'tablet', so we'll handle
both by allowing the user to specify a parameter... - 05:16 pm Revision 8745c3d7: KVM: allow netboot
- With this patch we allow KVM instances to be booted off the network.
The only issue is that this is not compatible wi... - 05:16 pm Revision 37f88dc6: KVM: actually support different nic types
- When executing the KVM runtime we load the nic type from the runtime
hvparams and use it to specify the nic model typ... - 05:16 pm Revision c2672466: KVM: export hvparams in the runtime
- They'll be used to set the nic type when we execute the runtime, since
the nics are processed later. We need to save ... - 05:16 pm Revision 1213604d: KVM: actually support different disk types
- By passing the relevant if= value to the disk we support different disk
types. The only change is that we'll translat... - 05:16 pm Revision 5155ede7: Xen-HVM: Improve the invalid disk/nic type error
- Copy the message from the KVM one, adding a missing 'the' and a list of
possible values, to help the user in his deci... - 05:15 pm Revision 43440815: KVM: parameters for different disk and nic types
- - Add a bunch of NICs and DISKs types
- Specify which one are valid disks and nics for KVM (the new ones
toghether ... - 05:15 pm Revision d08f6067: Rename the device type constants
- These are not HVM specific, so have been given an HT generic name.
Reviewed-by: iustinp - 05:15 pm Revision 377d74c9: s/HT_HVM_VNC_BASE_PORT/VNC_BASE_PORT/g
- The VNC base port has nothing to do with HVM itself, and is general to
VNC itself, so we're removing the HT_HVM prefi... - 04:04 pm Revision 024e157f: Add a new instance query flag ‘disk_usage’
- This patch adds a new instance query flag called disk_usage that
retrieves the overall space used by an instance on e... - 04:03 pm Revision 821d1bd1: Uniformize some function names in backend.py
- Currently, the names of the functions in backend.py that are actually
RPC procedures and are called from ganeti-noded... - 04:03 pm Revision 82463074: bdev: add and use two utility functions
- This patch adds two utility functions for raising BlockDeviceError
exceptions and for running functions while ignorin... - 04:03 pm Revision 23829f6f: rpc.call_blockdev_find: convert to (status, data)
- This patch converts the call_blockdev_find - which searches for block
devices and returns their status - to the (stat... - 12:41 pm Revision 0105bad3: Export the cpu nodes and sockets from Xen
- This is a hand-picked forward patch of commit 1755 on the 1.2 branch
(hand-picked since the trees diverged too much s... - 12:31 pm Revision 1268d6fd: Fix handling OS errors in AddOSToInstance
- This patch fixes the error handling in the add OS to instance function
with regard to invalid OSes. Previously, we di... - 11:24 am Revision d3da87b8: backend.DrbdAttachNet: don't ignore Open() errors
- Currently the return value or errors from the block device Open() method
are ignored. This patch catches any BlockDev... - 11:24 am Revision 0959c824: cmdlib: simplify some rpc error handling cases
- By using the RemoteFailMsg() or the payload field of RpcResult, we can
simplify a few functions in cmdlib.
Reviewed-... - 11:24 am Revision f2def43a: RpcResult: add a new payload field
- For results which use the (status, payload) response type, it's easier
to define a ‘payload’ field on the result hold... - 11:24 am Revision 4978db17: LUCreateInstance: only set running flag at the end
- In lockless queries, it's better if we see the instance in ADMIN_down
rather than ERROR_down during the time it's ins...
02/07/2009
- 11:04 am Revision 9dd363eb: KVM: don't boot from a virtio cdrom
- Apparently it's not supported. Also add -boot command line parameters
to kvm, since they seem to help booting from th... - 11:04 am Revision ec91c05d: KVM: don't boot from cdrom with no cdrom
- Reviewed-by: iustinp
- 11:04 am Revision 66d5dbef: Support cdrom image and boot order for KVM
- The cdrom image has the same meaning than in Xen HVM, and so does
boot_order, even though it has a slightly different... - 11:03 am Revision 30948aa6: Get rid of constants.HT_HVM_DEFAULT_BOOT_ORDER
- Confusingly, as a leftober from 1.2, there was a
constants.HT_HVM_DEFAULT_BOOT_ORDER constant, with a value opposite ...
02/06/2009
- 03:06 pm Revision 49b1d36e: QA: switch RAPI to https
- Since we by default now use SSL for RAPI, we need to switch the QA
tests to SSL too.
Reviewed-by: amishchenko - 10:09 am Revision ee69c97f: Fix rapi job listing
- This patch fixes a couple of issues with the job listing:
- in case of a non-existing job, nicely raise 404 instead...
02/05/2009
- 04:09 pm Revision 2ed6a7d6: rapi: fix SSL mode and use SSL by default
- This patch fixes the SSL mode (by actually constructing SSL parameters
from the command line options) and enables SSL... - 04:08 pm Revision e10a3aea: Small improvement to the init.d example file
- The start_action function is changed so that it can be called with
arguments - this could be used to parse a defaults... - 03:37 pm Revision 8b2d1013: KVM: add VNC TLS and X509 parameters
- With this parameters VNC for KVM is able to be protected by tls,
optionally with an x509 certificate, and optionally ... - 03:36 pm Revision 8447f52b: KVM: allow binding vnc to a file
- Before we forced the VNC_BIND_ADDRESS to be an ip. Now we also accept a
path, and bind the instance to it, or to a fi... - 12:45 pm Revision 2e7b8369: Fix some issues for lockless queries
- This patch converts some more jobs with only queries into cheaper luxi
queries (no job created), and fixes some fallo... - 11:47 am Revision a5b9d725: Revive RAPI QA tests for 2.0-style RAPI
- This patch fixes the RAPI QA tests to work with today's RAPI code and
also does some other minor improvements:
- QA...
02/04/2009
- 09:14 pm Revision 3d103742: rapi: fix 'bulk' processing and add locking option
- This patch fixes the 'bulk' parameter (before any non-empty
specification was considered True, in conflict with the d... - 09:14 pm Revision 9031ee8e: rapi: cleanup and update to latest 2.0 API
- This patch cleans up and updates the RAPI interface:
- queries are changes to luxi queries instead of jobs, where p... - 05:11 pm Revision bc8e4a1a: Enable lockless node queries
- Similar to the instance list, this patch enables lockless node queris.
“gnt-node list” accepts now the “--sync” flag ... - 05:11 pm Revision 85414b69: rapi: fix authentication and queries
- For queries, we don't want to require authentication. We fix this by adding an
override GetAuthRealm in the rapi daem... - 05:11 pm Revision 66baeccc: Add one new luxi query: cluster info
- This is the last query that RAPI executes via opcodes and is purely
static (config values only). As such, we can conv... - 12:31 pm Revision 81a49123: ssconf: add some more keys and some fixes
- This patch adds the online node list and instance list to the ssconf
keys. In order to do distribute correctly the in... - 12:30 pm Revision ec79568d: Implement lockless query operations
- This patch adds the framework for, and enables lockless OpQueryInstances. This
means that instances will be shown in ...
02/03/2009
- 06:05 pm Revision 00ad5362: KVM: Make GetAllInstancesInfo concurrency-safe
- Or actually more so. If this function gets called while instances get
shut down, it might try to report information o... - 06:04 pm Revision 1de62f37: Correct a typo in ReadPidFile's docstring
- Reviewed-by: iustinp
- 05:42 pm Revision 7b80424f: Fix unittest encoding breakage
- Due to the fact that we sanitize now the output from environment
scripts, the unittest needs to be adjusted. My bad f... - 04:45 pm Revision c4ed32cb: Allow gnt-node evacuate to use an iallocator
- This is a partial implementation of fully automated node evacuation:
we allow passing an iallocator and all instance ... - 04:45 pm Revision 40ef0ed6: Add gnt-node migrate
- This is a (modified) forward-port of commit 1190 on the 1.2 branch:
This is the same as gnt-node failover, and is ... - 04:45 pm Revision 26f15862: An attempt at fixing some encoding issues
- This patch unifies the hardcoded re-encoding attempts into a single
function in utils.py. This function is used to ta... - 04:45 pm Revision d1687c6f: lvmstrap: allow removable devices too
- For testing or just in case a device is exported by a bad driver with
the 'removable' flag set, this patch adds a fla... - 04:45 pm Revision 216842d7: Documentation: update the gnt-os manpage
- This patch updates the gnt-os man page and the common footer page for
ganeti 2.0.
Reviewed-by: ultrotter - 12:55 pm Revision bafc1d90: Small patch for handling errors in node add
- This small path hopefully fixes the handling of ssh verify errors in
node add (note: untested).
Reviewed-by: ultrotter - 12:55 pm Revision a162cf5b: ssh: more details on failure
- In case we fail without output from the ssh command, we should at least
add the exit code or any other failure reason... - 12:45 pm Revision a3f9f296: Give a sane permission to the known_host file
- Reviewed-by: iustinp
02/02/2009
- 04:49 pm Revision 15552312: A couple of small changes to the OS environment
- This patch correctly exports the mode of disks (rw/ro) and also exports
the instance OS.
Reviewed-by: imsnah - 01:23 pm Revision bd0ff7c2: Whitespace change: bad indentation in constants.py
- This patch only changes some indentation in constants.py.
Reviewed-by: imsnah - 01:23 pm Revision a1b805fb: Return error messages in node add ssh handling
- When the rpc call node_add fails, we don't have any error message. This
patch changes the call to return (status, dat...
02/01/2009
- 11:48 am Revision e9d622bc: gnt-instance: support no_PARAMETER value
- Since parameters get set to False if a no_ is prefixed don't try to
interpret those boolean values, and pass them unc... - 11:48 am Revision 7a735d6a: LUQueryClusterInfo: filter hvparams
- We don't need to show hvparams for hypervisors which are not enabled on
the cluster.
Reviewed-by: iustinp
01/29/2009
- 05:51 pm Revision 3be34f57: KVM: advise about VNC support on GetShellCommand
- Reviewed-by: iustinp
- 05:51 pm Revision 8470c8db: KVM: enable VNC if a VNC_BIND_ADDRESS is defined
- We'll also enable a tablet usb device, as suggested by the kvm man page.
Reviewed-by: iustinp - 05:51 pm Revision 56fee73b: KVM: Allow the HV_VNC_BIND_ADDRESS parameter
- Reviewed-by: iustinp
- 05:51 pm Revision 2928f08d: LUAddNode: copy the vnc password file also for KVM
- Before we used to copy the file if xen-hvm was enabled on the cluster,
no we'll do that if any enabled hypervisor is ... - 05:51 pm Revision fd4daa3a: Add HT_KVM to HTS_REQ_PORT
- HT_KVM doesn't technically require a port, but if it has one it can give
vnc displays to instances.
Reviewed-by: ius... - 05:50 pm Revision df5ab9f0: KVM: make the kernel and initrd arguments optional
- Under KVM we don't strictly need a kernel and initrd. If some are passed
we'll use them, otherwise the guest OS will ... - 05:47 pm Revision a2faf9ee: KVM: add the HV_SERIAL_CONSOLE parameter
- Up until now a KVM instance was forced to have a serial port.
With this change this is no longer mandatory, by defaul... - 05:47 pm Revision 5431b2e4: GetShellCommand: get hvparams and beparams
- Sometimes the hypervisor will use the instance hv and/or be parameters
to determine the best shell command. This is n... - 05:09 pm Revision e9ce0a64: Implement software release version checks too
- Currently the LUVerifyCluster only reports the protocol version changes,
not software ones. This is useful to know/mo... - 05:09 pm Revision 5ffaa51d: gnt-instance list: accept input names
- Currently gnt-instance list will refuse to take arguments, and always
return the full list of instances. This patch a... - 05:08 pm Revision a7f5dc98: LUQueryInstances: keep the given order of names
- Currently LUQueryInstances keeps the ordering of instances only in some cases,
and in others it will reorder the list... - 05:08 pm Revision 2a21bc88: locking.LockSet: don't modify input arguments
- Currently LockSet.acquire() sorts in place it's input argument if it's a
list. This is not good, since callers might ... - 05:08 pm Revision f12eadb3: Re-wrap some lines to keep them under 80 chars
- This non-code change rewraps some lines in locking.py to keep them under
80 chars.
Reviewed-by: ultrotter - 05:08 pm Revision a76f0c4a: Check that instance exists before confirm. queries
- Currently we ask the user for confirmation, and only after (try to)
remove, failover or migrate the instance. This do... - 05:03 pm Revision 18cb43a2: RAPI: tag work
- Generalize tag work for instances/nodes/cluster tag management.
Reviewed-by: iustinp - 05:03 pm Revision 4e5a68f8: RAPI: rlib1 removal
- The resources we still need moved to rlib2.
Reviewed-by: iustinp - 05:02 pm Revision fc72a3a3: RAPI: Implement /2 resource
- Reviewed-by: iustinp
- 04:52 pm Revision dc824c9f: RAPI: Deprecate version Rapi version1
- It is impossible to keep backward compatibility due to
significant changes in the Ganeti core.
Reviewed-by: iustinp
01/28/2009
- 09:06 pm Revision 68c6f21c: Fix gnt-cluster modify -H and offline nodes
- Reviewed-by: ultrotter
- 09:06 pm Revision d34b16d7: Actually mark drives as read-only if so configured
- This patch correctly marks the drives as read-only for Xen, and raises
and exception for KVM since it doesn't support... - 04:46 pm Revision df0fb067: Fix some issues related to job cancelling
- This patch fixes two issues with the cancel mechanism:
- cancelled jobs show as such, and not in error state (we ma... - 01:09 pm Revision e4f08c46: Initial import
- This is the initial import of release 0.0.3.
01/27/2009
- 06:44 pm Revision 73cd67f4: Xen: use utils.WriteFile for the instance configs
- Also raise HypervisorError rather than OpExecError.
Reviewed-by: iustinp - 06:44 pm Revision 78f66a17: Xen: use utils.Readfile to read the VNC password
- Also raise HypervisorError rather than OpExecError.
Reviewed-by: iustinp - 05:41 pm Revision 332d0e37: Implement disk verify checks in config verify
- This patch adds a simple check that the 'mode' attribute of top-level disks is
correct. It does not recurse over chil... - 05:41 pm Revision 6ec66eae: Fix the mode attribute of newly-created disks
- Currently, only the LUSetInstanceParams correctly sets up the mode
attribute via a manual operation. We remove this a... - 05:41 pm Revision 479636a3: Rework the multi-instance gnt commands
- This patch changes the multi-instance gnt-* commands (gnt-instance
start/stop, gnt-node evacuate/failover) such that ... - 05:41 pm Revision 5278185a: Fix single-job archiving (gnt-job archive)
- This is a simply typo from the conversion to multi-job archiving.
Reviewed-by: imsnah - 01:31 pm Revision 074ca009: KVM and Xen: add the HV_ROOT_PATH parameter
- This parameter allows a different path to be passed to the instance
kernel. The new parameter is mandatory, and by de... - 01:31 pm Revision 637ce7f9: KVM: implement GetShellCommandForConsole
- This is a class method, because it calls _InstanceSerial, which is
another class method. The patch changes it to clas... - 01:30 pm Revision 0df4d98a: KVM: classify _Instance{Monitor,Serial,KVMRuntime}
- Those methods need nothing from the instantiated class, and just
manipulate strings, and fetch some class global vari...
01/26/2009
- 05:08 pm Revision e33a0080: Release 2.0 beta 1
- Even though alpha started at 0, we release beta 1 first as we did for
1.2.
Reviewed-by: imsnah, ultrotter - 02:34 pm Revision 10f31783: Update the NEWS documents for beta1
- Also import the NEWS entries from the 1.2 branch which were added since
we created it.
Reviewed-by: ultrotter
01/23/2009
- 07:02 pm Revision 50cb2e2a: Xen and KVM: correct a typo when checking args
- A missing 'be' was present in the error string for both xen and kvm,
when the kernel or initrd path was not absolute.... - 03:33 pm Revision 7312b33d: Sort the instance names in batcher
- In case we submit multiple instances via batcher, it's nicer to have the
sorted nicely.
Reviewed-by: imsnah - 03:33 pm Revision 9939547b: Fix batcher for 2.0-style disks and nics
- This patch fixes the gnt-instance batch-create command, and in doing so
also slightly changes two other functions:
... - 02:36 pm Revision 1325da74: Make iallocator work with offline nodes
- This patch changes the iallocator framework to work with and properly
export to plugins offline nodes. It does this b... - 02:36 pm Revision 3b559640: Remove checking of DRBD metadata for validity
- Currently the DRBD code checks that the metadata devices are valid
before creation, initial disk attachment and add c... - 02:36 pm Revision c723c163: Rework the execution model in burnin
- This patch changes (significantly) the execution model in burnin:
- for all runs, (almost) all instance mods in a s... - 02:36 pm Revision 79b26a7a: Relax the restrictions on temporary DRBD minors
- Currently the restrictions are too harsh: there is a time interval
between an instance gets a new disk and before it ... - 02:36 pm Revision 4a89c54a: Introduce more configuration consistency checks
- This patch enhances the duplicate DRBD minors checks (currently just a
few) and adds automatic checks of configuratio... - 12:15 pm Revision 84b45587: Fill the 'call' attribute of offline rpc results
- When creating ‘fake’ results for offline nodes, we currently don't pass
the call attribute. This complicates debuggin... - 11:13 am Revision 8901997e: A couple of small fixes to iallocator
- This removes some constraints:
- only two disks supported, this is no longer true as the underlying
functions c...
01/22/2009
- 06:39 pm Revision 8d5b316c: luxi: close and reopen the socket on errors
- This is less of an actual issue for regular gnt-* clients, but it's
easily reproducible with burnin and possible with...
01/21/2009
- 08:23 pm Revision ca77edbc: ShutdownInstance: log instance name, not object
- When an instance fails to shut down we currently log its whole object,
rather than just the instance name.
Reviewed-... - 08:23 pm Revision c087266c: KVM live migration: handle failure
- If the KVM live migration ends up in a 'failed' state it has been
aborted at the kvm level, and the machine is still ... - 08:23 pm Revision 90c024f6: KVM: change a few IOError with EnvironmentError
- Reviewed-by: iustinp
- 08:23 pm Revision 30e42c4e: KVM: instance migration
- The tcp port used for migrating KVM instances is selectable at
./configure time. We use a single port as nodes are lo... - 08:22 pm Revision 1f8b3a27: KVM: add the _InstancePidAlive function
- Throughout the kvm code we very often look for the instance pidfile
name, read it, and check if the process is alive.... - 08:22 pm Revision f02881e0: KVM: fix RebootInstance
- RebootInstance was broken, because it just used to call StartInstance
with wrong parameters. With this patch we still... - 08:22 pm Revision 6567aff3: KVM: retry the instance shutdown command
- When we ask the instance to shutdown sometimes the command won't work,
especially if the instance isn't fully booted ... - 08:20 pm Revision 4390ccff: Xen: implement auxiliary migration functions
- These are used, for the xen hypervisor, to copy the xen config file to
the remote node. This breaks migration for ins... - 04:15 pm Revision 61cf6b5e: Automatically release DRBD minors on success
- This patch converts the DRBD minors reservation protocol from explicit
release to automatic release on the success pa... - 04:12 pm Revision c979d253: Fix some more pylint errors
- Two are real errors (invalid names) and one is style error (overriding
name from outer scope).
Reviewed-by: ultrotter - 12:48 pm Revision dc458d00: One more gitignore rule
- This was forgotten in the recent “switch to explicit ignore rules”.
Reviewed-by: imsnah - 12:48 pm Revision 1b8acf70: Log the rpc call name in the RPC errors message
- Currently the rpc module logs the error description and target node in
rpc calls logging, as such:
2009-01-21 00:5... - 12:30 pm Revision 0d68c45d: Change the instance status attribute to boolean
- Due to historic reasons, the “should run or not” attribute of an
instance was denoted by its “status” attribute havin... - 12:03 pm Revision cd42d0ad: Implement the new live migration backend functions
- MigrationInfo, AcceptInstance and AbortMigration are implemented as
hypervisor specific functions, and by default the... - 11:55 am Revision 38e250ba: KVM: save and remove the KVM runtime
- At instance startup time we save the kvm runtime, and at stop time we
delete it. This patch also includes a function ... - 11:55 am Revision ee5f20b0: KVM: split KVM runtime generation and startup
- Before we used to generate the kvm command line and then just run it.
With this patch we split the generation from th... - 11:54 am Revision 6906a9d8: Add calls in the intra-node migration protocol
- Currently the hypervisor is expected to do all the migration from the
source side. With this patch we also add the op... - 10:33 am Revision 89f28b76: Update the objects.Disk formatting method
- With the addition of minors, this needs to show them too.
Reviewed-by: ultrotter
01/20/2009
- 08:12 pm Revision a1d79fc6: KVM: add a _CONF_DIR
- Currently we keep pid files and control files. In the conf dir we'll
also keep the data to start the instance anew, a... - 08:12 pm Revision c4fbefc8: KVM: Remove sockets after shutdown
- Abstract the monitor and serial socket naming in two functions, and
reuse them to cleanup the files after shutdown.
... - 08:11 pm Revision c4469f75: KVM: fix class docstring
- Reviewed-by: iustinp
- 08:11 pm Revision fdf7f055: Xen: use epydoc in MigrateInstance docstring
- Reviewed-by: iustinp
- 07:50 pm Revision 920aae98: ShutdownInstance: report hypervisor error
- When StopInstance raises an HypervisorError, report it in the logged
message to ease with debugging.
Reviewed-by: iu... - 07:50 pm Revision 55224070: ConfigObject docstring, close an open parenthesis
- Reviewed-by: iustinp
- 07:50 pm Revision 7577196d: Fix a typo in luxi's docstring
- Reviewed-by: iustinp
- 07:19 pm Revision d21d09d6: Update the logging output of job processing
- (this is related to the master daemon log)
Currently it's not possible to follow (in the non-debug runs) the
logical... - 06:47 pm Revision ae59efea: .gitignore: Don't exclude whole /autotools/ dir, but only files
- This way newly added files will be not be excluded by default. Fixes
also a small whitespace error in utils.py.
Revi... - 06:26 pm Revision 96841384: Convert RenameInstance to (status, data)
- This allows the rename failures to show the ouput of OS scripts.
Reviewed-by: ultrotter - 06:26 pm Revision b903ba35: Update gitignore rules
- As per Michael's comment, gitignore should not ignore a couple of real
files from the autotools/ directory.
Reviewed... - 04:20 pm Revision 32388e6d: Fix adding of disks to an instance
- The ConfigWriter.AllocateDRBDMinor requires the instance name, not the
instance object. The LUSetInstanceParms is pas... - 04:20 pm Revision 5dc626fd: Fix burnin problems when using http checks
- The urllib2 module has very bad error handling. This patch changes to urllib
which is simpler, and we derive a custom... - 04:20 pm Revision 6d2e83d5: Make cluster-verify check the drbd minors space
- This patch adds support for verification of drbd minors space in cluster
verify: minors which belong to running insta... - 04:20 pm Revision 2f907a8c: Fix a couple of epydoc warnings
- Reviewed-by: ultrotter
- 01:18 pm Revision 767d52d3: DRBD: check for in-use minor during Create
- In order to prevent errors with old, in-use DRBD minors, we check and
abort at create time if our minor is already in... - 01:18 pm Revision f65f63ef: Add a TailFile function
- This patch adds a tail file function, to be used for parsing and returning in
the job log OS installation failures.
... - 01:18 pm Revision 51596eb2: Unify some unittest functions
- This patch adds unified temporary file handling to the
testutils.GanetiTestCase class, which adds easy creation and a... - 12:12 pm Revision 1492cca7: Some small fixes in cmdlib
- Reviewed-by: ultrotter
- 12:11 pm Revision 20e01edd: Convert AddOSToInstance to (status, data)
- This allows the install and reinstall instance to return (hopefully)
relevant log files from the OS create scripts.
... - 12:11 pm Revision dd279568: Convert the start instance rpc to (status, data)
- This will record the failure cause in starting up the instance in the
job log (and thus to the user).
Reviewed-by: u...
01/19/2009
- 07:22 pm Revision 7d81697f: Fix handling of failures in create instance disks
- Commit 2302 only modified _CreateBlockDevOnPrimary to the new style
result, but _CreateBlockDevOnSecondary was forgot... - 04:35 pm Revision c5e489f7: Move the default MAC prefix to the constants file
- Instead of having the default live in the gnt-cluster script, we move it
to the constants file. The patch also fixes ... - 04:33 pm Revision 6b12959c: Use instance.all_nodes instead of hand-building it
- This patch replaces a few obvious uses of [instance.primary_node] +
list(instance.secondary_nodes) (or similar usage)... - 04:32 pm Revision 99c7b2a1: Fix non-drbd instance creation
- Commit 2294 introduced a new instance.all_nodes property, which
unfortunately is working incorrectly for non-drbd ins... - 01:10 pm Revision 7c5abcae: Small simplification in MapLVsByNode
- We don't need to pre-create the node entries in lvmap, since they will
be created at recursion time.
Reviewed-by: ul... - 01:10 pm Revision de12473a: Split the block device creation in two parts
- Some callers of _CreateBlockDev need recursive behaviour, but not all.
The replace secondary first creates (manually)... - 01:10 pm Revision 428958aa: Combine the two _CreateBlockDevOnXXX functions
- Since only two boolean parameters differ between these two functions, we
combine them as to have less code duplicatio... - 01:10 pm Revision dab69e97: Switch call_blockdev_create call to (status, data)
- This allows errors to be visible at the user level instead of just node
daemon logs.
Reviewed-by: ultrotter - 01:10 pm Revision 796cab27: Small change in the instance disk creation path
- For future propagation of error messages from backend to cmdlib and to
the job log, just having True/False return fro... - 01:10 pm Revision 6c626518: Block device creation cleanup
- Currently when creation LVM-based instances, we always get the
extremely-confusing message "ERROR Can't find LV /dev/... - 12:43 pm Revision e6c1ff2f: Use the same root for both _data and _meta LVs
- Currently we use a different UUID for the _data and _meta volumes of a
DRBD disk. This is confusing as it's hard to a...
01/16/2009
- 06:24 pm Revision 998c712c: Fix LUExportInstance
- Due to deficiencies in our block device implementation, it is a must to
call SetDiskID on disks before passing them t... - 03:09 pm Revision aa089b65: burnin: only call self.GrowDisks() if needed
- In case we pass --disk-grow 0[,0..] then we should not call GrowDisks as it
prints confusing log lines.
Reviewed-by:... - 01:02 pm Revision cfcc5c6d: Instance: add a new all_nodes property
- Since we often need the list of all nodes of an instance, we add a new
"all_nodes" property that returns all nodes of... - 12:43 pm Revision aeb83a2b: Fix gnt-backup export with short names
- We need to pass the fully-qualified node to _CheckNodeOnline, not the short
one.
Reviewed-by: imsnah - 12:41 pm Revision 320eda24: burnin: add option to not remove instances
- This patch adds a burnin option to keep instances at the end, so that
debugging after a burnin failure is easier.
Al...
01/15/2009
- 12:00 pm Revision 25e7b43f: Some docstring updates
- This patch rewraps some comments to shorter lengths, changes
double-quotes to single-quotes inside triple-quoted docs... - 12:00 pm Revision 14d57a8b: ganeti-noded: reduce log noise
- The source port/addr is currently logged three times for each
connection, and this is unnecessary. We change two log ...
01/14/2009
- 11:57 am Revision 801cda94: burnin: update migration to latest log formatting
- Reviewed-by: ultrotter
01/13/2009
- 05:21 pm Revision 99bdd139: Forward port of the burnin migration
- This is again a copy of the latest 1.2 burnin code related to migration.
Reviewed-by: ultrotter - 05:21 pm Revision 53c776b5: Forward port the live migration from 1.2 branch
- This is forward port via copy (and not individual patches cherry-pick)
of the latest code on the 1.2 branch related t... - 05:20 pm Revision a2d59d8b: Port replace disk/change node to the new DRBD RPCs
- In replace disks to new secondary, since Attach (and therefore
call_blockdev_find) is not modifying the devices anymo... - 05:20 pm Revision 6b93ec9d: Forward-port DrbdNetReconfig
- This is a modified forward-port of DrbdNetReconfig and their associated
RPCs. In Ganeti 2.0, these functions will be ... - 05:20 pm Revision f96e3c4f: backend: rename AttachOrAssemble to Assemble
- Since now the Assemble function is different than Attach, we rename this
backend function to show that the intent is ... - 05:20 pm Revision 2d0c8319: drbd: change the semantics of Attach vs. Assemble
- Currently, both the Attach and Assemble methods for DRBD8 devices will use and
alter the device state. This is subopt... - 05:20 pm Revision f87548b5: bdev: Do not call Assemble() on children
- The caller of dev.Assemble() (backend._RecursiveAssembleBD) is doing an
explicit recursion over all the children of t... - 04:43 pm Revision ea33068f: Fix modification of instance memory
- ... as found by the QA script - bug was introduced by me in commit 2117.
Reviwed-by: imsnah - 04:14 pm Revision 836d59d7: burnin: redo the output formatting
- Since we added many more tests in burnin, the output became almost
unreadable. This patch changes the output to an in... - 03:25 pm Revision eb61f8d3: burnin: move start_stop at the end
- Traditionally the start/stop test was the last, so move it back to there
(added as last option in commit 854).
Revie... - 03:25 pm Revision 0b0a150a: QA: add burnin parameters (parallel, http-check)
- This patch adds burnin parameters for --parallel and --http-check
options to the burnin script.
Reviewed-by: ultrotter - 03:16 pm Revision 24b0d752: Increase resync speed to 60MB/s
- This is a forward-port of commit 2219 on the 1.2 branch.
Reviewed-by: ultrotter - 03:03 pm Revision 5178f1bc: burnin: introduce instance alive checks
- This patch adds instance alive checks after most start operations. The
check is done in a custom way:
- the instanc... - 10:04 am Revision 4bffa7f7: Small typo in ganeti-watcher
- Reviewed-by: imsnah
01/12/2009
- 06:06 pm Revision 4040a784: Skip offline nodes in gnt-cluster commands
- This patch makes gnt-cluster copyfile and command skip the offline
nodes.
Reviwed-by: ultrotter, imsnah - 03:25 pm Revision 5c22d16e: burnin: Add tests for add/remove disks and NICs
- This patch adds testing of add/remove disks and NICs to the burnin.
Reviewed-by: imsnah - 02:42 pm Revision 19708787: Heavy redo of gnt-instance info output
- In 2.0, we have more parameters in drbd's logical_id, and passing the
results over json makes them unicode which look... - 02:42 pm Revision 4cfb9426: Fix some errors in instance modify --disk remove
- The RpcResult introduction still left some bugs (after multiple patches):
- we don't correctly check the result typ... - 12:27 pm Revision f57c76e4: Fix an error handling case in instance info
- The checking for invalid instance names in LUQueryInstanceData is broken
since commit 1642.
Reviewed-by: imsnah - 11:14 am Revision afee0879: Introduce a very simple LU to force config updates
- This LU can be used to force a push of the config in case it's needed,
for example after an upgrade to update the ssc...
Also available in: Atom