Activity
From 02/15/2009 to 03/16/2009
03/16/2009
03/14/2009
- 09:25 pm Revision 29ac5975: Abstract the version format into a function
- This patch moves the version string creation into a function in Utils
which shows some more information. - 09:12 pm Revision b0045e4d: Add a man page for hn1 and update the hbal one
- A new man page and typos fixed in hbal.1.
- 01:53 pm Revision a9211170: Add a manpage for hbal
- 01:49 pm Revision 7ef4d93e: Add a --version option
- This patch adds a -V, --version command line option that shows the
program version and also updates the hn1 usage str... - 01:41 pm Revision 6dc960bc: Move a function around in hbal.hs
- This just reorders some functions for a more logical ordering.
- 01:35 pm Revision ab271fc1: Show the step counter in the solution list
- This patch changes the solution list to include a step counter so that
it's more clear these are successive steps (in... - 01:16 pm Revision 9b91b5a3: Use gnt-instance migrate instead of failover
- This patch changes the gnt-instance failover to migrate, and fixes a bug
in the formatting of commands. - 01:14 pm Revision 7eff5b09: hbal: added a verbose setting and changed output
- This patch added a verbose output and changed the output so that by
default it is less verbose and more clear. - 11:11 am Revision 19493d33: Add a new move FailoverAndReplace
- This patch adds a new instance move, FailoverAndReplace, which promotes
the old secondary to primary and then uses a ...
03/13/2009
- 10:00 pm Revision 00b51a14: Some more docstring updates
- 09:11 pm Revision 142538ff: Enhance the command list for the solution
- This patch moves the formatting of the command list to Cluster.hs and
enhances it with separator messages between the... - 08:53 pm Revision 79ac6b6f: Add a new ReplaceAndFailover move
- This patch adds a new replace secondary and failover move (equals to
“r:x f”), which can improve the solution (since ... - 08:52 pm Revision fd934a28: Some whitespace changes
- Aligned the comments in Instance.hs
- 07:57 pm Revision 7dfaafb1: Convert hbal from multiple rounds to a step-method
- Currently hbal does multiple rounds, stopping when a rounds doesn't
bring improvements. With the recent changes to no... - 09:14 am Revision ca8258d9: Rework the solution printing in Cluster.hs
- This abstracts the individual placement solution so that it can be used
independently.
03/12/2009
- 10:23 pm Revision 0a0f2533: Remove the restriction of one-move-per-round
- The current code restricts each instance to one move per round. This is
bad, as an computation restarted in the middl... - 10:16 pm Revision ced859f3: Add a header to node lists and print more data
- This prints the total memory/disk and also adds a header.
- 10:07 pm Revision c622fa7c: Rename the maxRes to r_mem
- This is to keep in style with the other memory variables.
- 09:54 pm Revision 04247752: Display the reserved memory too in node lists
- This is useful and not easy to compute otherwise.
- 09:31 pm Revision 8b42a5db: First try to embed VCS id in binaries
- This patch attempts to embed the VCS id in binaries, based on the way
other projects seem to do this. - 02:08 pm Revision 19498d6c: kvm: use the correct vnc bind address
- There is a bug in kvm, when binding vnc to a specific address the
constant 'vnc_bind_address' is passed in, instead o... - 01:54 pm Revision e0eb13de: Add the 2.0-specific node flags to the design doc
- This patch adds the newly-introduced node flags to the design document,
as they currently are missing from there.
Th... - 01:54 pm Revision dc30b0e4: Fix the --net option to gnt-instance add
- Similar to the --disk fixes a while ago, --net is broken too. This patch
fixes it.
Reviewed-by: imsnah
03/11/2009
- 10:22 am Revision ea22656b: Fix the Makefile clean rule
- This removes obsolete entries from the clean rule and adds the hbal
binary. - 10:18 am Revision 34a6e127: Change the N1 score to percent of N1 failures
- Since for a very many N+1 failures in a cluster, we could actually
degrade the N1 CV by making a node N+1 compliant, ... - 10:08 am Revision d6be0775: Add two new variables in the cluster score
- This patch adds two new variables to the cluster score:
- variance of the failN1 attribute
- variance of the rese... - 10:07 am Revision dfc749e6: Add the node reserved memory percentage
- This patch adds the node attribute “reserved memory percentage” that is
derived from the maximum reserved memory for ... - 09:14 am Revision c5c295bc: Record the running cluster CV in placements
- This patch adds a score variable to the placement type, so we can record
the changes in the cluster CV for later disp... - 09:13 am Revision 0c1df6fd: Also print cluster coefficients in hn1
- This patch adds printing the initial and final cluster coefficients in
hn1 too, to better understand the found solution.
03/10/2009
- 10:20 pm Revision af53a5c4: Beautify the cluster status list
- This patch removes the primary/secondary instance lists from the node
status and also removes the tabbed formatting w... - 09:35 pm Revision 671b85b9: Beautify solution list
- This patch makes the tabular solution list nicer, by changing from tabs
to explicit widths. - 09:14 pm Revision 289c3835: Limit string literals to 80-char columns
- Learned how multi-line string literals work in Haskell :)
- 05:02 pm Revision 6b405598: Xen: Remove one hardcoded constant
- s/"vnc_bind_address"/constants.HV_VNC_BIND_ADDRESS/
Reviewed-by: imsnah
03/09/2009
- 10:47 pm Revision bbd1d273: Add a news file and make the 0.0.5 release
- 10:37 pm Revision a0529a64: Beautify: strip common suffix from names
- This patch automatically removes the longest common (domain, i.e.
starting with a dot) suffix from the node and insta... - 09:50 pm Revision d6109e64: hbal: allow, but warn on, N+1 failed clusters
- Based on the node changes, we remove the N+1 check and only show a
warning instead. - 09:46 pm Revision d10b27ef: Change the node N+1 check model
- Currently, we fail a new instance placement if the new node status is
not N+1 compliant. This means that an allocatio... - 09:36 pm Revision 2cf878a5: Show which nodes are not N+1 compliant in output
- This patch adds a '*' character to nodes which are not N+1 compliant to
the output, to help with understanding pre- a... - 05:12 pm Revision cc962d58: watcher: fix startup sequence locking the master
- Currently, the watcher startup sequence does:
- open a luxi client
- get the instance list
- get the node boot ... - 05:12 pm Revision c614e5fb: Handle ghost instances in temp DRBD map
- Currently cluster-verify doesn't handle the (admitedly invalid) case where we
have reservation for instances that wer... - 05:12 pm Revision 82759cb1: Fix error handling in replace-disks with new node
- Currently the _CreateSingleBlockDev function only raises OpExecError and not
BlockDeviceError. This means that we don...
03/06/2009
- 04:49 pm Revision 6f285030: Fix serial_no field on instances
- The instance objects did not get a serial_no field. This patch adds a
new constants for the field name and uses it fo...
03/05/2009
- 05:42 pm Revision 555918b3: Update gnt-cluster(8) for be/hyp parameter syntax
- Now it displays:
--hypervisor-parameters hypervisor:hv-param=value [ ,hv-param=value ... ]
--backend-parameters be-p...
03/04/2009
- 04:22 pm Revision ac4d25b6: Complete the cfgupgrade script for 2.0 migrations
- This patch makes the cfgupgrade script to handle:
- instance changes
- disk changes
- further cluster fixes
-... - 04:20 pm Revision a421fdeb: First run at cfgupgrade for 2.0 upgrades
- This patch makes cfgupgrade work on empty cluster (i.e. no instances),
up to a point that the config file can be conv... - 12:13 pm Revision 75615bd3: Fix bash completion for cluster copyfile/command
- “copyfile” takes a file argument, so we enable file-completion for it.
“gnt-cluster command” takes a command, so we e...
03/02/2009
- 04:30 pm Revision a2370b24: Release 2.0rc1
- This patch updates the NEWS file and increases the version to 2.0 rc1.
Reviewed-by: ultrotter - 02:19 pm Revision 35e994e9: Export tags to cluster verify hooks
- This patch export the cluster and node tags to the cluster verify hook
scripts. The tags are exported as a space-sepa... - 02:19 pm Revision 28ab6fed: Don't allow spaces in tag names
- This patch restricts the use of spaces in tags, as this does not allow
nice exporting of tags to environment in hooks... - 02:18 pm Revision 77031881: Update the iallocator documentation
- This updates the iallocator documentation to 2.0, bumps up the
iallocator version (and moves a constants to lib/const... - 02:18 pm Revision 1b2c8f85: Fix a bug in utils.EnsureDirs
- This fixes a bug introduced in rev 2562 and also fixes the indentation.
Reviewed-by: ultrotter - 11:51 am Revision b806661b: A doc update and a small indentation fix
- This adds a small paragraph about the “master” role of a node, and fixes
a wrong indentation in the bash completion f...
02/27/2009
- 07:09 pm Revision 9afb67fe: Use EnsureDirs in KVM as well.
- The KVM hypervisor has also code to ensure a list of directories exist.
Substitute it with our new utils function.
R... - 07:08 pm Revision 9dae41ad: Create runtime dir in bootstrap
- Some hypervisors (KVM) need RUN_GANETI_DIR to exist even at cluster init
time. This patch creates it in InitCluster j... - 07:08 pm Revision cc9e1230: LUVerifyCluster: Handle the "no volume group" case
- If we're only file based and out volume group is set to "None" there's
no point in asking nodes for their volume grou... - 03:06 pm Revision 4352bf6d: Convert the RAPI document to restructured text
- This patch changes the RAPI document, and the RAPI resources
autogenerated-documentation to restructured text. This m... - 03:06 pm Revision 5fcc718f: Fix some epydoc style issues
- 99% of the epydoc return tags are "@return:", but each of the modified files
had one "@returns:" line. We fix this fo... - 12:38 pm Revision 28e15341: Convert the install document to restructured text.
- This switches back to the hardcoding of the version number, as we don't
yet have a wrapper for rst files that passes ...
02/26/2009
- 06:27 pm Revision f72f8622: Fix the Makefile after the bash_completion patch
- I've somehow left these two out. Sorry!
Reviewed-by: imsnah - 06:11 pm Revision e2a2a2eb: Add bash-completion rules
- This is a not-complete bash completion file for ganeti commands (gnt-*)
and the burnin tool. It is based on previous ... - 02:32 pm Revision 69efe319: Fix typos in utils.WriteFile's docstring
- Reviewed-by: iustinp
02/25/2009
- 05:03 pm Revision b33b6f55: Fix mixed pvm/hvm clusters and instance listing
- The current implementation of the combining of the instance lists will
only do this for instances whose all four-fiel... - 05:03 pm Revision b399ce1e: Fix xen-hvm and KERNEL_ARGS
- xen-hvm doesn't have KERNEL_ARGS, and I just changed blindly all old
extra_args to HV_KERNEL_ARGS. This makes xen-hvm... - 02:50 pm Revision f3e2e4c6: Update some version-related constants
- Since we are quite close to final RPC and hooks APIs, we update the hooks and
protocol_version constants.
Reviewed-b... - 01:24 pm Revision 4d6443f4: Convert the hooks document to restructured text
- This also updates the hooks document to 2.0.
Reviewed-by: ultrotter - 01:23 pm Revision 2c2690c9: Update some hooks settings
- While reviewing the hooks document, I realised we are not correctly
exporting the instance properties.
This patch fi...
02/24/2009
- 05:25 pm Revision 07813a9e: Remove the extra_args parameter in instance start
- This patch removes the extra_args parameter and instead switches the
instance to the HV_KERNEL_ARGS hypervisor option... - 05:25 pm Revision a985b417: Simplify a little the hypervisor routines
- Instead of “instance.hvparams”, we use a shorter “hvp” name to make readability
better.
Reviewed-by: imsnah - 05:24 pm Revision f9d6542d: Add definitions for the root_args hypervisor param
- This patch adds a new hypervisor parameter for the hypervisors that can
actually start and instance with external ker... - 03:57 pm Revision 876860a3: Convert iallocator.sgml to restructured text
- This is a no-contents change, this doc will need update to conform to
2.0 message contents (and also the code will ne... - 03:56 pm Revision ffa6869f: Convert the admin guide to restructured text
- The RST format holds a little bit less information, as all the <file
class="directory"> and <userinput> tags are gone... - 02:59 pm Revision dfff41f8: gnt-instance info: remove hvattr descriptions
- Having hvattr descriptions is only confusing for the user, because even
if they explain better what an attribute is a... - 01:23 pm Revision 9854f5d0: Make gnt-instance info work with offline nodes
- This simply makes LUQueryInstanceData return the same information as for
a static query when one or both of the nodes...
02/22/2009
- 02:20 pm Revision 8df5db55: Don't build documentation for the Main modules
- This fixes the doc issue which exists since the addition of hbal. Now
make doc makes sense again. - 02:18 pm Revision 38f63ae6: Change the total disk/mem to Double
- Since we only use the totals for computations, and we always convert
them via fromIntegral, let's just store them dir... - 02:15 pm Revision 962367fe: A no-code change s/disk/dsk/
- This just makes indendation nicer in many expressions.
- 02:05 pm Revision 0335fe4a: Compute the p_mem / p_dsk statically
- This patch changes the computation of p_mem / p_dsk from on-demand
(whenever the cluster stats are computed) to after...
02/20/2009
- 12:45 pm Revision 5c562aa4: dumb-allocator: avoid allocating on drained nodes
- This was forgotten when drained nodes were added.
Reviewed-by: iustinp - 11:56 am Revision f29266b4: Also generate HTML format for the man pages
- This would help in generating online-viewable docs, which could link to
the man pages.
Reviewed-by: imsnah
02/19/2009
- 05:49 pm Revision 74aa2478: Update version numbers to beta2
- Note that the RAPI change is in a docstring (i.e. example), not in code.
Reviewed-by: ultrotter
02/17/2009
- 02:44 pm Revision 3213d3c8: Show more details for failed xen commands
- This patch also logs the output of the xm commands in case of failures;
some corner cases were forgotten in the last ... - 02:43 pm Revision 36e23a40: Update the install and admin documents
- This is not a real update, just a quick pass changing the obvious parts.
Reviewed-by: imsnah
02/16/2009
- 04:50 pm Revision 4dc76b24: QA: add support for burnin rename
- This patch adds support for optionally doing the rename burnin test, and
adds an example to the sample QA file. To di... - 04:50 pm Revision ae48ac32: Fix some bugs in reboot
- There are two issues fixed in this patch:
- first, the recent RPC changes caused loss of data in hard reboot
ty... - 04:50 pm Revision 2e39ab98: Burnin: fix rename
- In rename, we must stop different names in the first and second phases,
so we create two different opcodes for this p... - 03:05 pm Revision 2fb85b64: Update NEWS for beta 2
- Reviewed-by: imsnah
- 02:17 pm Revision f6eaed12: Convert IOErrors for /proc/drbd into our errors
- If /proc/drbd can't be opened, this raises an IOError, but all the
error-handling behaviour in backend treats only Bl... - 02:16 pm Revision 04be7ec6: DEVNOTES: we have no --enable-rapi anymore
- Remove it from the suggested development ./configure line
Reviewed-by: iustinp - 02:09 pm Revision 1cd8141c: Convert default root partition to msdos style
- As discussed with 2.0 msdos partition style should be the default in the
instance OS, so we're changing the default i... - 01:08 pm Revision 3448aa22: watcher: fix checking of boot IDs
- The recent change (commit 2151) to the watcher to make it handle offline
nodes also saves the offline attribute to th... - 01:08 pm Revision f07521e5: watcher: autoarchive old jobs
- This patch adds auto-archiving of jobs older than 6 hours to the
watcher.
Reviewed-by: imsnah
02/15/2009
- 03:53 pm Revision d53264c0: Documentation updates
- 03:48 pm Revision 9dc6023f: Simplify the checkInstanceMove function
- This patch flattens the two folds into one, by simply building the whole
list of moves instead of the double recursi... - 03:40 pm Revision 256810de: A small optimization in node computation
- Currently we always compute the available node list for moves (for an
instances) based on the nodes of the initial ta... - 03:40 pm Revision 1fd47ca2: Container: add a 'keys' function
- 03:35 pm Revision d4f62d4e: Replace a foldl by foldl'
- 03:10 pm Revision 4e25d1c2: Split checkMove into two
- This cleans up and splits the individual instance move into a separate function.
- 02:58 pm Revision aaaa0e43: Change the balancing algorithm
- This patch changes the balancing algorithm to not iterate linearly over
the instances (in a random, but fixed order),...
Also available in: Atom