Activity
From 12/18/2008 to 01/16/2009
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...
01/09/2009
- 06:24 pm Revision 8a113c7a: Add a new ssconf file with the ganeti version
- The patch adds a new ssconf file containing the ganeti version.
Reviewed-by: imsnah - 05:34 pm Revision 7d585316: Work around a DRBD sync speed race condition
- This is modified forward-port of commit 1544 on the 1.2 branch:
When DRBD is doing its dance to establish a connec... - 04:58 pm Revision 90e722d1: burnin: Add activate/deactivate disks
- Reviewed-by: imsnah
- 04:58 pm Revision cfacfd6e: burnin: use the new replace_disks constants
- This patch updates burnin to the latest replace disks constant, and
changes the constants' values to be more accurate... - 04:26 pm Revision 729164d0: burnin: do not use offline nodes
- This patch makes burnin skip the offline nodes in it's builtin node
selection. It also removes an extra line.
Review... - 04:26 pm Revision 94a02bb5: Fix gnt-os for offline nodes
- We shouldn't query offline nodes in gnt-os. This patch adds an utility
function to ConfigWriter that returns the name... - 02:52 pm Revision 186ec53c: Silence warning on node list for offline nodes
- The warning in node list is meant for nodes that return wrong
information, but for offline nodes this case is normal.... - 02:52 pm Revision 7d88772a: Rework the daemonization sequence
- The current fork+close fds sequence has deficiencies which are hard to
work around:
- logging can start logging bef... - 02:22 pm Revision 7e9366f7: Cleanup replace-disks modes and options
- In 1.2, due to the md+drbd7 legacy, we had a complex choice of replace
modes, and the new drbd8 modes where forced in...
01/08/2009
- 06:39 pm Revision 82e37788: Fix cluster verify/node net test for offline nodes
- For offline nodes, we shouldn't add them to the NV_NODELIST and
NV_NODENETTEST tests since they most likely won't suc... - 06:05 pm Revision 3247bbac: rpc: Add a method for easy check of remote results
- The patch adds a new method to the rpc.RpcResult class called
"RemoteFailMsg" which is useful for the RPC calls which... - 04:16 pm Revision 56e7640c: Add an instance_migratable rpc call
- This is a forward-port of commit 1194 on the 1.2 branch:
This call will check whether an instance is up on its pri... - 02:03 pm Revision cf8df3f3: bdev: forward-port ReAttachNet/DisconnectNet
- This is plain copy of the 1.2 ReAttachNet and DisconnectNet methods on
the DRBD8 device, with the logger to logging m...
01/07/2009
- 07:02 pm Revision 5282084b: backend: Remove symlinks by disk name
- This is a modified forward-port of commit 1184 on the 1.2 branch:
backend: Remove symlinks by disk name, not using... - 07:02 pm Revision b2e7666a: Pass instance name to rpc call blockdev_close
- This is an extract of commit 1166 on the 1.2 branch (Add a rpc call for
drbd network reconfiguration), but only the b... - 07:02 pm Revision 03dfa658: Fix the _RemoveBlockDevLinks() function
- This is a forward-port of commit 1163 on the 1.2 branch:
This fixes the removal of the instance symlinks (probably ... - 07:01 pm Revision 3c9c571d: Remove instance's symlinks
- This is a forward-port of commits 1150 and 1151 on the 1.2 branch:
Add _RemoveBlockDevLinks auxiliary function, cal... - 07:01 pm Revision ec596c24: Catch BlockDeviceError when starting instance
- This is a forward-port of commit 1149 on the 1.2 branch:
_GatherAndLinkBlockDevs used to raise the errors.BlockDevi... - 07:01 pm Revision 9332fd8a: Create symlinks to intances' block devices
- This is a forward-port of commit 1148 on the 1.2 branch:
Change the _GatherBlockDevs private function, called only ... - 07:01 pm Revision 069cfbf1: Simplify hypervisor block_devices structure
- This is a partial forward-port of commit 1136 on the 1.2 branch:
The hypervisor doesn't need to be passed the whol... - 04:38 pm Revision 2b17c3c4: _AssembleInstanceDisks: fix rpcresult handling
- Commit 2117 changed _AssembleInstanceDisks to correctly parse the
failure status of the new RpcResult structure, but ...
01/06/2009
- 11:57 am Revision e09fdcfa: Fix some pylint-detected issues
- Two bad indentation cases and a missing variable.
Reviewed-by: imsnah
12/19/2008
- 09:31 pm Revision 5b099da9: ganeti.bootstrap: Set permissions on newly uploaded files
- Reviewed-by: amishchenko
- 09:31 pm Revision 699777f2: ganeti.cmdlib: Check remote API certificate on "gnt-cluster verify"
- Reviewed-by: amishchenko
- 09:30 pm Revision 2438c157: ganeti.bootstrap: Upload remote API certificate to new nodes
- Reviewed-by: amishchenko
- 09:30 pm Revision 5557b04c: ganeti.bootstrap: Prepare for remote API certificate
- Reviewed-by: amishchenko
- 09:30 pm Revision c4415fd5: ganeti.bootstrap: Write SSL key to temporary file and set permissions
- Previously, we set the permissions only after writing the key. This
gave other users on the system a small window dur... - 09:30 pm Revision 61a08fa3: ganeti.bootstrap: Generate SSL certificate for remote API
- Reviewed-by: amishchenko
- 09:29 pm Revision 40a97d80: ganeti.bootstrap: Move SSL certificate generation into separate function
- Reviewed-by: amishchenko
- 02:58 pm Revision b5b67ef9: ganeti-rapi: Implement HTTP authentication
- Passwords are stored in "$localstatedir/lib/ganeti/rapi_users". User
options specify the access permissions of a user... - 02:58 pm Revision 7e9760c3: ganeti-rapi: Introduce per-request context
- This will be used to evaluate access permissions to resources.
Reviewed-by: amishchenko - 02:57 pm Revision e6e94655: ganeti.http: Function to read password file
- Lines in the password file are of the following format:
<username> <password> [options]
Fields are separated by w... - 02:57 pm Revision 68fa9caf: ganeti.http: Add support for private data in HTTP requests
- Reviewed-by: amishchenko
- 02:57 pm Revision be500c29: ganeti.http: Add support for basic HTTP authentication
- As per RFC2617.
Reviewed-by: amishchenko - 02:57 pm Revision f8bd7df3: ganeti.http: Prepare authentication for HTTP server
- The authentication class will override PreHandleRequest.
Reviewed-by: amishchenko
12/18/2008
- 06:39 pm Revision dd875d32: Job queue: Allow more than one file rename per RPC call
- Reviewed-by: ultrotter
- 06:38 pm Revision d7fd1f28: ganeti.jqueue: Group job archivals to reduce number of RPC calls
- Reducing the actual number of RPC calls will come in another patch.
Reviewed-by: ultrotter - 06:38 pm Revision f8ad5591: Prevent RPC timeout on auto-archiving jobs
- With a large job queue, auto-archiving jobs can take a very long time,
causing timeouts on the luxi RPC layer. With t... - 06:38 pm Revision 78d12585: jqueue: When auto-archiving jobs, calculate job status only once
- This is done by passing the job object to _ArchiveJobUnlocked instead
of only the job ID. Also return whether job was... - 06:23 pm Revision 58b22b6e: Use subdirectories for job queue archive
- As it turned out, having many files in a single directory can be
very painful. With this patch, only 10'000 files are... - 06:23 pm Revision 6e797216: Add rename function automatically creating directories if needed
- Unfortunately, os.makedirs in Python 2.4 is not safe against multiple
processes creating the same directory tree at t... - 06:21 pm Revision aea0ed67: ganeti.http: Don't pass poller object around
- They're cheap to instantiate and doing this changes makes the code
a bit simpler.
Reviewed-by: ultrotter - 03:45 pm Revision 79589f25: Rename http.HttpInternalError to HttpInternalServerError
- All other exceptions are named after the error name in RFC2616 (HTTP/1.1).
Reviewed-by: amishchenko - 03:45 pm Revision b3660886: ganeti.http: Add more constants and errors
- Reviewed-by: amishchenko
- 03:45 pm Revision 45eac583: ganeti.http: Ignore ENOTCONN when shutting down the connection
- Reviewed-by: amishchenko
- 03:44 pm Revision a8e01e9f: Implement support for additional headers with HTTP errors
- Reviewed-by: amishchenko
Also available in: Atom