Activity

From 02/21/2009 to 03/22/2009

03/22/2009

11:33 pm Revision 0ee8fd76: Update all needed node fields on f_mem change
This fixes the setFmem function which didn't compute other related
fields after free memory change. Ideally, this sho...
Iustin Pop
12:40 pm Revision 53f00b20: Fix interaction between down instances and nodes
If an instance is down, it's memory is not reflected in the node used
memory, and thus the node free memory is higher...
Iustin Pop
12:24 pm Revision f82f1f39: Add a new instance field denoting run status
This patch modifies Rapi, the Cluster.loadData and hscan serialization to load
and save the instance run status. At i...
Iustin Pop
12:07 pm Revision a1c6212e: Show the x_mem/i_mem in node list
This patch adds checking of cluster data in the binaries and display of
node's x_mem/i_mem in the node list.
Iustin Pop
12:02 pm Revision 5d1baf63: Add functions to check and fix cluster data
This patch adds a checkData function which goes over the node list and computes
the unaccounted memory, returning a l...
Iustin Pop
11:55 am Revision 8c5b0a0d: Add a new node filed x_mem
Nodes can have some memory unaccounted for, due to (e.g.) hypervisor
overhead, rounding errors in reporting, etc.
It...
Iustin Pop
11:52 am Revision 209b3711: Split common CLI functionality into a module
This patch moves the common CLI functionality (as much as currently
possible) into a separate module. This means we o...
Iustin Pop
02:18 am Revision 6e75a445: Remove unused and obsolete function
The Node.str function is very old and is not useful since the node
objects have much more fields today. This patch re...
Iustin Pop
01:25 am Revision 04be800a: Add node memory field to Node objects
This patch adds a new n_mem field to the node objects, and implements
read/save/show support for it. The field is not...
Iustin Pop
01:12 am Revision 47a8bade: Pass actual types to node/instance constructors
This patch changes the parameters passed to the node and instance
constructors from generic Strings (which are then p...
Iustin Pop
01:06 am Revision 670b57ad: Small change in hscan
This fixes a mistake between Int/Integer. Should be more careful :) Iustin Pop
12:51 am Revision 127e0396: Add hscan to Makefile
Iustin Pop
12:50 am Revision 1b7a5835: Add the hscan tool
This patch adds an hscan tool that loads data from clusters via RAPI and
writes it to files that can be later used of...
Iustin Pop
12:48 am Revision 7847a037: Some small changes in preparation for hscan
This patch does some small changes:
- fixes a comment
- export more node functions (unneeded now, but hscan will ...
Iustin Pop

03/21/2009

11:00 pm Revision 740ec004: Add a separate type for the [(Int, String)] list
This is added for better readability, since this is very often used in
declarations.
Iustin Pop
04:48 pm Revision 19777638: Handle correctly offline nodes in cluster scoring
This patch changes two things with regard to offline nodes:
- first, it only calculates the various coefficients ac...
Iustin Pop
01:20 pm Revision 352806f7: Show offline nodes in the node status list
This patch adds a new ‘-’ flag for the node status which denotes offline
nodes.
Iustin Pop
01:26 am Revision 40d4eba0: Restrict move list based on offline node status
This patch changes the Cluster.checkInstanceMove function to restrict
the target move list based on which nodes are o...
Iustin Pop
12:48 am Revision ec18dca9: Add command line support for offlining nodes
This patch modifies hbal (only, hn1 not yet) for setting nodes offline. Iustin Pop
12:45 am Revision c2c1ef0c: Add a new 'offline' Node attribute
This patch adds a new node attribute - offline - which will serve to
skip nodes from the target candidate list.
Iustin Pop
12:43 am Revision 2cd85a1b: More fixes to the Makefile
Iustin Pop

03/20/2009

11:48 pm Revision 80d0d2f1: Small doc update in Node.hs
Iustin Pop
08:58 pm Revision 7ae514ba: Some updates to the apidoc rules
Iustin Pop
08:28 pm Revision 968de7fc: Fix/enhance makefile rules after the rename
Iustin Pop
07:17 pm Revision 10e37f3b: Add a .gitattributes file
This will enhance the ‘dist’ rule by skipping unneeded files. Iustin Pop
07:16 pm Revision 669d7e3d: Introduce a namespace for the modules
The modules are moved from the ‘top’ namespace to ‘Ganeti.HTools’, in
compliance with standard practices.
Iustin Pop
03:07 pm Revision 8a088b79: Fix _NOQUOTE regexp
Allow expressions longer than one character to match.
Reviewed-by: imsnah
Guido Trotter
03:06 pm Revision 53d47a06: Mainloop: avoid calculating timeout every time
set timeout_needs_update to False after calculating the timeout.
Reviewed-by: imsnah
Guido Trotter
03:06 pm Revision 2e668b38: Raise on invalid gnt-cluster queue commands
# gnt-cluster queue foo
Failure: prerequisites not met for this operation:
Command 'foo' is not valid.
Reviewed-by...
Guido Trotter

03/16/2009

09:35 am Revision 9857c181: Update NEWS for version 0.0.6
Iustin Pop

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
« Previous
Next »
 

Also available in: Atom