Activity

From 02/13/2009 to 03/14/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.
Iustin Pop
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. Iustin Pop
01:53 pm Revision a9211170: Add a manpage for hbal
Iustin Pop
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...
Iustin Pop
01:41 pm Revision 6dc960bc: Move a function around in hbal.hs
This just reorders some functions for a more logical ordering. Iustin Pop
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...
Iustin Pop
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.
Iustin Pop
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.
Iustin Pop
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 ...
Iustin Pop

03/13/2009

10:00 pm Revision 00b51a14: Some more docstring updates
Iustin Pop
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...
Iustin Pop
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 ...
Iustin Pop
08:52 pm Revision fd934a28: Some whitespace changes
Aligned the comments in Instance.hs Iustin Pop
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...
Iustin Pop
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.
Iustin Pop

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...
Iustin Pop
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. Iustin Pop
10:07 pm Revision c622fa7c: Rename the maxRes to r_mem
This is to keep in style with the other memory variables. Iustin Pop
09:54 pm Revision 04247752: Display the reserved memory too in node lists
This is useful and not easy to compute otherwise. Iustin Pop
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.
Iustin Pop
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...
Guido Trotter
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...
Iustin Pop
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
Iustin Pop

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.
Iustin Pop
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, ...
Iustin Pop
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...
Iustin Pop
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 ...
Iustin Pop
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...
Iustin Pop
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.
Iustin Pop

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...
Iustin Pop
09:35 pm Revision 671b85b9: Beautify solution list
This patch makes the tabular solution list nicer, by changing from tabs
to explicit widths.
Iustin Pop
09:14 pm Revision 289c3835: Limit string literals to 80-char columns
Learned how multi-line string literals work in Haskell :) Iustin Pop
05:02 pm Revision 6b405598: Xen: Remove one hardcoded constant
s/"vnc_bind_address"/constants.HV_VNC_BIND_ADDRESS/
Reviewed-by: imsnah
Guido Trotter

03/09/2009

10:47 pm Revision bbd1d273: Add a news file and make the 0.0.5 release
Iustin Pop
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...
Iustin Pop
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.
Iustin Pop
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...
Iustin Pop
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...
Iustin Pop
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 ...
Iustin Pop
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...
Iustin Pop
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...
Iustin Pop

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...
Iustin Pop

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...
Guido Trotter

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
-...
Iustin Pop
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...
Iustin Pop
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...
Iustin Pop

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
Iustin Pop
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...
Iustin Pop
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...
Iustin Pop
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...
Iustin Pop
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
Iustin Pop
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...
Iustin Pop

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...
Guido Trotter
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...
Guido Trotter
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...
Guido Trotter
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...
Iustin Pop
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...
Iustin Pop
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 ...
Iustin Pop

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
Iustin Pop
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 ...
Iustin Pop
02:32 pm Revision 69efe319: Fix typos in utils.WriteFile's docstring
Reviewed-by: iustinp Michael Hanselmann

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...
Iustin Pop
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...
Iustin Pop
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...
Iustin Pop
01:24 pm Revision 4d6443f4: Convert the hooks document to restructured text
This also updates the hooks document to 2.0.
Reviewed-by: ultrotter
Iustin Pop
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...
Iustin Pop

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...
Iustin Pop
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
Iustin Pop
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...
Iustin Pop
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...
Iustin Pop
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...
Iustin Pop
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...
Guido Trotter
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...
Iustin Pop

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.
Iustin Pop
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...
Iustin Pop
02:15 pm Revision 962367fe: A no-code change s/disk/dsk/
This just makes indendation nicer in many expressions. Iustin Pop
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...
Iustin Pop

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
Guido Trotter
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
Iustin Pop

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
Iustin Pop

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 ...
Iustin Pop
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
Iustin Pop

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...
Iustin Pop
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...
Iustin Pop
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...
Iustin Pop
03:05 pm Revision 2fb85b64: Update NEWS for beta 2
Reviewed-by: imsnah Iustin Pop
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...
Iustin Pop
02:16 pm Revision 04be7ec6: DEVNOTES: we have no --enable-rapi anymore
Remove it from the suggested development ./configure line
Reviewed-by: iustinp
Guido Trotter
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...
Guido Trotter
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...
Iustin Pop
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
Iustin Pop

02/15/2009

03:53 pm Revision d53264c0: Documentation updates
Iustin Pop
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...
Iustin Pop
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...
Iustin Pop
03:40 pm Revision 1fd47ca2: Container: add a 'keys' function
Iustin Pop
03:35 pm Revision d4f62d4e: Replace a foldl by foldl'
Iustin Pop
03:10 pm Revision 4e25d1c2: Split checkMove into two
This cleans up and splits the individual instance move into a separate function. Iustin Pop
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),...
Iustin Pop

02/14/2009

10:05 am Revision dd4c56ed: Add RAPI support to hn1
This patch moves a function to Utils and changes hn1 to be able to take
data from RAPI.
Iustin Pop
10:00 am Revision 27f96567: Implement oneline-output for hbal
Iustin Pop
09:51 am Revision 9b9a5931: Do not try both http and https against the server
This patch changes the tryRapi function so that if the http request
succeeded, we don't try https too.
Iustin Pop
09:46 am Revision d7cf83bf: Simplify some JSON transforms
... hopefully this is more clear. Iustin Pop

02/13/2009

11:26 pm Revision aab26f2d: Add compatibility with rapi v1
The patch adds compatibility with RAPI v1, and this required some new
JSON functions as valFromObj doesn't behave nic...
Iustin Pop
06:17 pm Revision bf4a90af: RAPI: documentation updates
This patch fixes the version and does some update to the RAPI resources
docs.
Reviewed-by: imsnah
Iustin Pop
05:54 pm Revision 6e99c5a0: RAPI: fixes related to write mode
This patch fixes many small issues related to write functions:
- update documentations w.r.t. how to add users
- ...
Iustin Pop
05:35 pm Revision bfc30ec0: Some small improvements to the fake hypervisor
This patch modifies the fake hypervisor to substract the memory “used”
by “running” instances from the free memory, s...
Iustin Pop
05:34 pm Revision c0e4a2c3: Implement the backward-compatible ‘-s’ disk option
This patch adds back to the instance creation command (gnt-instace add,
gnt-backup import) the ‘-s’ short form option...
Iustin Pop
03:49 pm Revision d8dcf3c9: SetInstanceParams: export nic changes to hooks
Currently we export the old instance "as is" and any nic changes get
lost, so hooks won't know of a different ip, bri...
Guido Trotter
02:28 pm Revision ea5a5b74: Remove two fixed FIXME and convert one to TODO
The cli FIXME is not something broken, but rather some better handling
feature we'd rather have, and the two backend ...
Guido Trotter
01:38 pm Revision 1f8588f6: RAPI: format error messages as JSON
This patch changes the format of the HTTP error messages from text/html, which
is hard to parse from RAPI clients, to...
Iustin Pop
01:38 pm Revision 77e1d753: Make RAPI return 502/504 errors for luxi errors
This changes the RAPI error codes for luxi errors; a timeout error is
now reported properly as 504, while any other l...
Iustin Pop
01:37 pm Revision 6bb258a7: Fix ganeti-rapi startup with missing certificate
This patch displays a nicer error message compared to the default
stacktrace.
Reviewed-by: imsnah
Iustin Pop
10:28 am Revision a30b2f5b: Implement reading data from RAPI v2
Iustin Pop
10:27 am Revision 1b7cf8ca: Some more utility functions
Iustin Pop
10:26 am Revision e5f02e15: Fix a bug in Cluster.fixNodes
We need to lookup the moving accumulator, of course. Iustin Pop
« Previous
Next »
 

Also available in: Atom