Activity

From 01/03/2012 to 02/01/2012

02/01/2012

02:49 pm Revision f0b30d86: Release ip when gnt-instance remove or modify --net.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
02:48 pm Revision 32c39f59: Support gnt-network remove.
Support gnt-network modify --gateway --reserved-ips.
Change gnt-network info to show the ips reserved by each vm.
Si...
Dimitris Aragiorgis
02:31 pm Revision 10f2a48e: Port ippool to google master branch.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
10:25 am Revision dd9b9d7b: Merge branch 'stable-2.5' into devel-2.5
* stable-2.5:
Fix type check for OpQuery.filter
Fix explanation of gnt-node evacuate --primaries-only
Makefile....
Michael Hanselmann
10:25 am ganeti-local Revision dd9b9d7b: Merge branch 'stable-2.5' into devel-2.5
* stable-2.5:
Fix type check for OpQuery.filter
Fix explanation of gnt-node evacuate --primaries-only
Makefile....
Michael Hanselmann
10:24 am ganeti-local Revision 631aedf9: Re-added constant mistakenly removed in 58f0ce16873
“INSTANCE_DOWN” is still being used.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbau...
Michael Hanselmann
10:24 am Revision 631aedf9: Re-added constant mistakenly removed in 58f0ce16873
“INSTANCE_DOWN” is still being used.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbau...
Michael Hanselmann
10:11 am ganeti-local Revision f0fd35b1: rapi.client: Removing constants not needed anymore
They were not referenced through the whole code and were marked internal
only.
Signed-off-by: René Nussbaumer <rn@go...
René Nussbaumer
10:11 am Revision f0fd35b1: rapi.client: Removing constants not needed anymore
They were not referenced through the whole code and were marked internal
only.
Signed-off-by: René Nussbaumer <rn@go...
René Nussbaumer
08:24 am ganeti-local Revision ddc1de7c: Add stricter checks for OpInstanceSetParams.{nics,disks}
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
08:24 am Revision ddc1de7c: Add stricter checks for OpInstanceSetParams.{nics,disks}
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Michael Hanselmann
08:24 am Revision ff8067cf: Add ht.TMaybeListOf type check
Replaces some uses of TOr(TNone, TListOf(…)).
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Ren...
Michael Hanselmann
08:24 am ganeti-local Revision ff8067cf: Add ht.TMaybeListOf type check
Replaces some uses of TOr(TNone, TListOf(…)).
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Ren...
Michael Hanselmann
08:24 am Revision 8f227489: Stricter check for OS modifications passed to OpClusterSetParams
Don't just check the first element of each item, but also make sure the
OS name is a string and not empty.
Signed-of...
Michael Hanselmann
08:24 am ganeti-local Revision 8f227489: Stricter check for OS modifications passed to OpClusterSetParams
Don't just check the first element of each item, but also make sure the
OS name is a string and not empty.
Signed-of...
Michael Hanselmann
08:19 am ganeti-local Revision 58f0ce16: LUInstanceSetParams: Allow no-op change of instance offline status
With this patch marking an instance already marked offline (or online)
as offline/online again becomes a no-op. Also ...
Michael Hanselmann
08:19 am Revision 58f0ce16: LUInstanceSetParams: Allow no-op change of instance offline status
With this patch marking an instance already marked offline (or online)
as offline/online again becomes a no-op. Also ...
Michael Hanselmann

01/31/2012

06:26 pm Revision e3150f4c: Merge remote branch 'google/master' into grnet-2.6-ippool-devel
Dimitris Aragiorgis
02:32 pm Revision 545d0362: Fix type check for OpQuery.filter
Just using ht.TListOf as a type check doesn't work correctly. The
function must be called with the expected item type...
Michael Hanselmann
02:32 pm ganeti-local Revision 545d0362: Fix type check for OpQuery.filter
Just using ht.TListOf as a type check doesn't work correctly. The
function must be called with the expected item type...
Michael Hanselmann
07:44 am ganeti-local Revision 3016bc1f: OpInstanceSetParams: Merge {off,on}line_inst parameters
Instead of having two separate parameters, a single boolean parameter is
used. Unfortunately we need a third state to...
Michael Hanselmann
07:44 am Revision 3016bc1f: OpInstanceSetParams: Merge {off,on}line_inst parameters
Instead of having two separate parameters, a single boolean parameter is
used. Unfortunately we need a third state to...
Michael Hanselmann

01/27/2012

05:50 pm Revision 07da0876: Release ip from the corresponding pool when
- modifying instance with gnt-instance modify --net
- removing instance with gnt-instance remove
Signed-off-by: Dimi...
Dimitris Aragiorgis
05:44 pm ganeti-local Revision 784b6603: ipolicy: Make the keys of the dict consistent
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin ...
René Nussbaumer
05:44 pm Revision 784b6603: ipolicy: Make the keys of the dict consistent
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin ...
René Nussbaumer
04:56 pm ganeti-local Revision d4fcd298: admin.rst: add information about maxmem/minmem
- Specify how maxmem and minmem are used at startup, failover and
migrate
- Add a paragraph about how to manually c...
Guido Trotter
04:56 pm ganeti-local Revision 827ac163: N+1: verify using minimum memory
Since instances can be started, failed over and migrated with less than
their maximum memory N+1 will use the minimum...
Guido Trotter
04:56 pm Revision 2a50e2e8: walkthrough.rst: updates for maxmem/minmem
- Fix two example outputs
- Improve N+1 resolution section specifying how different memories
affect N+1 calculation...
Guido Trotter
04:56 pm Revision 827ac163: N+1: verify using minimum memory
Since instances can be started, failed over and migrated with less than
their maximum memory N+1 will use the minimum...
Guido Trotter
04:56 pm Revision d4fcd298: admin.rst: add information about maxmem/minmem
- Specify how maxmem and minmem are used at startup, failover and
migrate
- Add a paragraph about how to manually c...
Guido Trotter
04:56 pm ganeti-local Revision 2a50e2e8: walkthrough.rst: updates for maxmem/minmem
- Fix two example outputs
- Improve N+1 resolution section specifying how different memories
affect N+1 calculation...
Guido Trotter
01:11 pm Revision 6af7a4d8: Merge remote branch 'google/master' into grnet-2.6-ippool-devel
Conflicts:
lib/cli.py
lib/opcodes.py
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
12:29 pm Revision 88507ae3: Fix typos.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis

01/26/2012

08:45 pm ganeti-local Revision 3c1e4af0: Fix integer overflow in Node unittest
When using a really random "extra cpus" variable, this can overflow
(especially on 32 bit) and thus the final value c...
Iustin Pop
08:45 pm Revision 3c1e4af0: Fix integer overflow in Node unittest
When using a really random "extra cpus" variable, this can overflow
(especially on 32 bit) and thus the final value c...
Iustin Pop
08:31 pm ganeti-local Revision f1dff7ec: Fix explanation of gnt-node evacuate --primaries-only
Furthermore, correct the --help display on evacuate.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Mich...
Iustin Pop
08:31 pm Revision f1dff7ec: Fix explanation of gnt-node evacuate --primaries-only
Furthermore, correct the --help display on evacuate.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Mich...
Iustin Pop
06:33 pm Revision e14ddb6e: Use allow_runtime_chgs in cmdlib
- Report the attribute value in the hooks runtime variable.
- Use it to abort migration if not enough memory is avail...
Guido Trotter
06:33 pm ganeti-local Revision e14ddb6e: Use allow_runtime_chgs in cmdlib
- Report the attribute value in the hooks runtime variable.
- Use it to abort migration if not enough memory is avail...
Guido Trotter
06:33 pm ganeti-local Revision 8c0b16f6: cli/opcodes: add a --no-runtime-changes migrate opt
This will be used for now to avoid ballooning memory at live migration time.
Signed-off-by: Guido Trotter <ultrotter...
Guido Trotter
06:33 pm Revision 8c0b16f6: cli/opcodes: add a --no-runtime-changes migrate opt
This will be used for now to avoid ballooning memory at live migration time.
Signed-off-by: Guido Trotter <ultrotter...
Guido Trotter
06:33 pm Revision e57602c2: Migrate/Failover: allow less-than-max-mem op
Failover works magically after we relax the check: the start operation
will just use less memory, if less memory is a...
Guido Trotter
06:33 pm ganeti-local Revision e57602c2: Migrate/Failover: allow less-than-max-mem op
Failover works magically after we relax the check: the start operation
will just use less memory, if less memory is a...
Guido Trotter
06:33 pm ganeti-local Revision c113a9ab: Failover and Migrate: acquire node resource locks
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
06:33 pm Revision c113a9ab: Failover and Migrate: acquire node resource locks
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
06:33 pm ganeti-local Revision 081d8528: cmdlib._CheckNodeFreeMemory: return free memory
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
06:33 pm Revision 081d8528: cmdlib._CheckNodeFreeMemory: return free memory
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
04:30 pm ganeti-local Revision 1b01390b: doc/rapi.rst: Document ipolicy parameter
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
04:30 pm Revision 1b01390b: doc/rapi.rst: Document ipolicy parameter
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
04:18 pm Revision 91514679: Merge remote branch 'google/master' into debian-2.5+
Constantinos Venetsanopoulos
03:34 pm ganeti-local Revision 487e1962: Remove Node.mCpu, replaced with the ipol vcpu_ratio
Since the iPolicy contains the vcpu_ratio now, we can remove the
per-node mCpu value (which was the initial way to se...
Iustin Pop
03:34 pm ganeti-local Revision e8fa4ff6: Add vcpu_ratio definition to the IPolicy type
This will be "naturally" read in the JSON-based backends (Luxi/Rapi),
and we add explicit code for handling it in the...
Iustin Pop
03:34 pm ganeti-local Revision 5f3b040a: Temporary fix for hspace's NPU calculation
hspace computes the NPU (normalised CPU units) via the
(used|pool|avail) VCPU divided by the (currently cluster-wide)...
Iustin Pop
03:34 pm ganeti-local Revision 284e9822: Change meaning of the --max-cpu option
Instead of always overriding, we should update the nodes's maxcpu
setting only when the option is specified. Otherwis...
Iustin Pop
03:34 pm ganeti-local Revision e54d6628: Remove obsolete constant for vcpu_ratio
This is superseded now.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
03:34 pm ganeti-local Revision 33e17565: Re-indent code for readability
Otherwise the docstrings for members take too many lines.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by:...
Iustin Pop
03:34 pm ganeti-local Revision 90c2f1e8: Track 'normalised' used CPUs in Cluster.CStats
This will be used in hspace for proper tracking of used/pool/unavail
npus.
Signed-off-by: Iustin Pop <iustin@google....
Iustin Pop
03:34 pm ganeti-local Revision 76a20994: Add a new type for holding allocation statistics
The current RSpec type doesn't cut it anymore (and it's used in other
places), so let's introduce a separate type for...
Iustin Pop
03:34 pm ganeti-local Revision 80d7d8a1: Switch over some hspace stats from RSpec to AllocInfo
This patch changes the allocation delta stats from RSpec to
AllocInfo. There's nothing interesting about it, but it s...
Iustin Pop
03:34 pm ganeti-local Revision 37483aa5: Expand the tiered alloc unittest to check allocation stats
This was missing before, so with the new metric (NCpus), it's a good
time to test this.
Signed-off-by: Iustin Pop <i...
Iustin Pop
03:34 pm Revision e8fa4ff6: Add vcpu_ratio definition to the IPolicy type
This will be "naturally" read in the JSON-based backends (Luxi/Rapi),
and we add explicit code for handling it in the...
Iustin Pop
03:34 pm Revision 37483aa5: Expand the tiered alloc unittest to check allocation stats
This was missing before, so with the new metric (NCpus), it's a good
time to test this.
Signed-off-by: Iustin Pop <i...
Iustin Pop
03:34 pm Revision 5f3b040a: Temporary fix for hspace's NPU calculation
hspace computes the NPU (normalised CPU units) via the
(used|pool|avail) VCPU divided by the (currently cluster-wide)...
Iustin Pop
03:34 pm Revision 284e9822: Change meaning of the --max-cpu option
Instead of always overriding, we should update the nodes's maxcpu
setting only when the option is specified. Otherwis...
Iustin Pop
03:34 pm Revision e54d6628: Remove obsolete constant for vcpu_ratio
This is superseded now.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
03:34 pm Revision 33e17565: Re-indent code for readability
Otherwise the docstrings for members take too many lines.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by:...
Iustin Pop
03:34 pm Revision 90c2f1e8: Track 'normalised' used CPUs in Cluster.CStats
This will be used in hspace for proper tracking of used/pool/unavail
npus.
Signed-off-by: Iustin Pop <iustin@google....
Iustin Pop
03:34 pm Revision 76a20994: Add a new type for holding allocation statistics
The current RSpec type doesn't cut it anymore (and it's used in other
places), so let's introduce a separate type for...
Iustin Pop
03:34 pm Revision 80d7d8a1: Switch over some hspace stats from RSpec to AllocInfo
This patch changes the allocation delta stats from RSpec to
AllocInfo. There's nothing interesting about it, but it s...
Iustin Pop
03:34 pm Revision 487e1962: Remove Node.mCpu, replaced with the ipol vcpu_ratio
Since the iPolicy contains the vcpu_ratio now, we can remove the
per-node mCpu value (which was the initial way to se...
Iustin Pop
03:34 pm ganeti-local Revision 1e7acc3b: Fix gnt-cluster modify check of passed options
… and add the disk_templates/vcpu_ratio new entries. Since the default
ispecs_* are dicts, we can't compare them to n...
Iustin Pop
03:34 pm ganeti-local Revision e6244d00: Export the cluster ipolicy in iallocator
And remove a strange comment (the commit which introduced it,
d61df03e, doesn't explain it). Also document these new ...
Iustin Pop
03:34 pm Revision e6244d00: Export the cluster ipolicy in iallocator
And remove a strange comment (the commit which introduced it,
d61df03e, doesn't explain it). Also document these new ...
Iustin Pop
03:34 pm Revision 1e7acc3b: Fix gnt-cluster modify check of passed options
… and add the disk_templates/vcpu_ratio new entries. Since the default
ispecs_* are dicts, we can't compare them to n...
Iustin Pop
03:34 pm ganeti-local Revision 976b78ba: Add ipolicy_vcpu_ratio to command line
This allows changing this value from the command line.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Mi...
Iustin Pop
03:34 pm Revision 976b78ba: Add ipolicy_vcpu_ratio to command line
This allows changing this value from the command line.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Mi...
Iustin Pop
02:36 pm Revision bb070c97: More doc fixes
Constantinos Venetsanopoulos
01:53 pm ganeti-local Revision ff6c5e55: Add new ipolicy parameter vcpu_ratio
This adds the new parameter and changes the validation routines to
handle IPOLICY_PARAMETER value as floats. Very ver...
Iustin Pop
01:53 pm Revision ff6c5e55: Add new ipolicy parameter vcpu_ratio
This adds the new parameter and changes the validation routines to
handle IPOLICY_PARAMETER value as floats. Very ver...
Iustin Pop
01:47 pm Revision ffa339ca: Clarification on what objects.InstancePolicy is
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:47 pm ganeti-local Revision ffa339ca: Clarification on what objects.InstancePolicy is
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:47 pm ganeti-local Revision 12378fe3: Rename IPOLICY_PARAMETERS to IPOLICY_ISPECS
As opposed to the initial situation, the PARAMETERS will be more than
just the min/std/max ispecs. Let's rename it, b...
Iustin Pop
01:47 pm Revision 12378fe3: Rename IPOLICY_PARAMETERS to IPOLICY_ISPECS
As opposed to the initial situation, the PARAMETERS will be more than
just the min/std/max ispecs. Let's rename it, b...
Iustin Pop
01:46 pm Revision ad0e078e: Remove two extraneous imports
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
01:46 pm ganeti-local Revision ad0e078e: Remove two extraneous imports
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Iustin Pop
12:23 pm ganeti-local Revision c22341e6: Makefile.am: fix permissions for Python scripts on install
Some Python scripts in /usr/lib/ganeti/ were getting the wrong permissions
(their 'x' bit was cleared). This patch f...
Bernardo Dal Seno
12:23 pm Revision c22341e6: Makefile.am: fix permissions for Python scripts on install
Some Python scripts in /usr/lib/ganeti/ were getting the wrong permissions
(their 'x' bit was cleared). This patch f...
Bernardo Dal Seno
12:22 pm Revision 40476293: devel/upload: Fix permissions for installed directories
Permissions for the directories created during install depended on the
umask of the user running the script. Now uma...
Bernardo Dal Seno
12:22 pm ganeti-local Revision 40476293: devel/upload: Fix permissions for installed directories
Permissions for the directories created during install depended on the
umask of the user running the script. Now uma...
Bernardo Dal Seno

01/25/2012

08:23 pm Revision 2c2f257d: Fix cluster verification issues on multi-group clusters
This patch attempts to fix a number of issues with “gnt-cluster verify”
in presence of multiple node groups and DRBD8...
Michael Hanselmann
08:23 pm ganeti-local Revision 2c2f257d: Fix cluster verification issues on multi-group clusters
This patch attempts to fix a number of issues with “gnt-cluster verify”
in presence of multiple node groups and DRBD8...
Michael Hanselmann
03:36 pm Revision 735e1318: gnt-instance recreate-disks: Allow specifying new size
With this change a new disk size can be specified when recreating disks.
Signed-off-by: Michael Hanselmann <hansmi@g...
Michael Hanselmann
03:36 pm ganeti-local Revision 735e1318: gnt-instance recreate-disks: Allow specifying new size
With this change a new disk size can be specified when recreating disks.
Signed-off-by: Michael Hanselmann <hansmi@g...
Michael Hanselmann
03:24 pm ganeti-local Revision cf572b13: LUClusterSetParams: When ipolicy is updated warn for new violations
We need to loop over all node groups to apply their modification to make
sure that the new ipolicy actually affects t...
René Nussbaumer
03:24 pm Revision cf572b13: LUClusterSetParams: When ipolicy is updated warn for new violations
We need to loop over all node groups to apply their modification to make
sure that the new ipolicy actually affects t...
René Nussbaumer
03:24 pm ganeti-local Revision 68ab64cf: LUGroupSetParams: Warn if the new ipolicy will violate some ipolicies
If we modify the ipolicy we need to verify if any instance would now
violate the new ipolicy and warn about it. Any i...
René Nussbaumer
03:24 pm Revision 68ab64cf: LUGroupSetParams: Warn if the new ipolicy will violate some ipolicies
If we modify the ipolicy we need to verify if any instance would now
violate the new ipolicy and warn about it. Any i...
René Nussbaumer
03:24 pm Revision 92ff96e8: cmdlib: Add a helper function for a set of violating instances
This helper will be used with the Op*SetParams and ipolicy verifications
Signed-off-by: René Nussbaumer <rn@google.c...
René Nussbaumer
03:24 pm ganeti-local Revision 92ff96e8: cmdlib: Add a helper function for a set of violating instances
This helper will be used with the Op*SetParams and ipolicy verifications
Signed-off-by: René Nussbaumer <rn@google.c...
René Nussbaumer
05:06 am Revision 98d1f3ab: List ips of every instance using the network in gnt-network info.
Release ip when gnt-instance remove.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis

01/24/2012

09:50 pm Revision 8e356b51: Fix typos in RBD template doc
Signed-off-by: Stratos Psomadakis <psomas@grnet.gr> Stratos Psomadakis
06:39 pm ganeti-local Revision d04c9d45: Rename ispecs-disk-templates to ipolicy-disk-templates
The ispecs (min/std/max) are different from the other ipolicy
variables (disk templates for now, more in the future)....
Iustin Pop
06:39 pm Revision d04c9d45: Rename ispecs-disk-templates to ipolicy-disk-templates
The ispecs (min/std/max) are different from the other ipolicy
variables (disk templates for now, more in the future)....
Iustin Pop
03:57 pm Revision d62cbd3a: fmtjson: A tool to format JSON data
While debugging an issue recently I had the pleasure of looking at a
long, single-line string of JSON data. This simp...
Michael Hanselmann
03:57 pm ganeti-local Revision d62cbd3a: fmtjson: A tool to format JSON data
While debugging an issue recently I had the pleasure of looking at a
long, single-line string of JSON data. This simp...
Michael Hanselmann
02:50 pm Revision 9e37ac39: Merge remote branch 'google/stable-2.5' into grnet-2.5-rbd-devel
Constantinos Venetsanopoulos

01/23/2012

11:49 pm Revision 21c83bd2: Implement modify with cfg.Update().
Add few slots in object Network.
config.data structure changed.
network is managed like cluster, node, instance and n...
Dimitris Aragiorgis
11:10 pm Revision 761b90ef: Fix a bug in gnt-network modify --gateway
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
10:17 pm Revision 2c80fe54: Fix some bugs.
If --reserved-ips is gateway then error.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
09:17 pm Revision bdd19bf4: Add few comment and TODOs.
Remove gnt-network modify --network support.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Dimitris Aragiorgis
07:53 pm ganeti-local Revision 7181fba0: Implement rbd disk template
Introduce the rbd disk template, which handles provisioning and
management of instance disks as block devices mapped ...
Constantinos Venetsanopoulos
07:53 pm Revision 7181fba0: Implement rbd disk template
Introduce the rbd disk template, which handles provisioning and
management of instance disks as block devices mapped ...
Constantinos Venetsanopoulos
07:33 pm Revision 0904d8d9: Implement further gnt-network modify.
--reserved-ips toggles the corresponding ip.
--gateway if ip is currently reserved fails.
sets new gateway....
Dimitris Aragiorgis
06:38 pm Revision 5dc1c97d: Minor fixes in doc/install.rst
Signed-off-by: Constantinos Venetsanopoulos <cven@grnet.gr> Constantinos Venetsanopoulos
05:02 pm Revision ae7db70a: Review RBD disk template documentation
Signed-off-by: Stratos Psomadakis <psomas@grnet.gr> Stratos Psomadakis
04:05 pm Revision fd825034: Make gnt-network modify --reserved-ips funtional.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
03:39 pm Revision 447af814: Open VDI Port when spice_use_vdagent is enabled
To use the features spice agent provides, a dedicated virtio-serial
channel must be created in qemu-kvm. The communic...
Nikos Skalkotos
03:39 pm ganeti-local Revision 447af814: Open VDI Port when spice_use_vdagent is enabled
To use the features spice agent provides, a dedicated virtio-serial
channel must be created in qemu-kvm. The communic...
Nikos Skalkotos
03:17 pm Revision c90d8e61: Fix iallocator group objects
… this is yet another manual serialisation of objects :(
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: ...
Iustin Pop
03:17 pm ganeti-local Revision c90d8e61: Fix iallocator group objects
… this is yet another manual serialisation of objects :(
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: ...
Iustin Pop
03:02 pm ganeti-local Revision 38a6e2e1: Fix upgrading the cluster ipolicy
When running from git HEAD, just initialising the ipolicy when
non-existing is not good enough; we need to upgrade al...
Iustin Pop
03:02 pm Revision 38a6e2e1: Fix upgrading the cluster ipolicy
When running from git HEAD, just initialising the ipolicy when
non-existing is not good enough; we need to upgrade al...
Iustin Pop
01:37 pm Revision f626cef4: LUInstanceRecreateDisks: Actually acquire node resource locks
Before this change an assertion would fail as the resource locks weren't
actually acquired.
Signed-off-by: Michael H...
Michael Hanselmann
01:37 pm ganeti-local Revision f626cef4: LUInstanceRecreateDisks: Actually acquire node resource locks
Before this change an assertion would fail as the resource locks weren't
actually acquired.
Signed-off-by: Michael H...
Michael Hanselmann
01:21 pm ganeti-local Revision a81075bf: cmdlib._CheckInstanceState: Use instance name in error message
The variable “instance” is an instance object, so to not get a
serialized version of the instance, the “name” attribu...
Michael Hanselmann
01:21 pm Revision a81075bf: cmdlib._CheckInstanceState: Use instance name in error message
The variable “instance” is an instance object, so to not get a
serialized version of the instance, the “name” attribu...
Michael Hanselmann
01:21 pm ganeti-local Revision e53ea88d: Unbreak build after merge 2ea64524ce
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
01:21 pm Revision e53ea88d: Unbreak build after merge 2ea64524ce
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
01:21 pm Revision a24aed2a: gnt-cluster command: Add option to prepend node name to output
With this patch a new option (“-M”, like dsh) is added to “gnt-cluster
command” to prepend the node name to all outpu...
Michael Hanselmann
01:21 pm ganeti-local Revision a24aed2a: gnt-cluster command: Add option to prepend node name to output
With this patch a new option (“-M”, like dsh) is added to “gnt-cluster
command” to prepend the node name to all outpu...
Michael Hanselmann
10:20 am Revision a596cdf0: Add documentation for the RBD disk template
Add documentation for the RBD disk template (partial)
Signed-off-by: Stratos Psomadakis <psomas@grnet.gr>
Stratos Psomadakis

01/20/2012

09:47 pm Revision cdcb21f6: Implement gnt-network modify.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
07:55 pm ganeti-local Revision e9ed4f2e: cmdlib: Drop use of “len(…) != 0”
Found by Constantinos Venetsanopoulos.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trot...
Michael Hanselmann
07:55 pm Revision e9ed4f2e: cmdlib: Drop use of “len(…) != 0”
Found by Constantinos Venetsanopoulos.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trot...
Michael Hanselmann
07:48 pm Revision 2ea64524: Merge branch 'devel-2.5'
* devel-2.5:
Migrate: don't check for free memory on cleanup
Revert "cli: Disable abbreviation matching for optio...
Guido Trotter
07:48 pm ganeti-local Revision 2ea64524: Merge branch 'devel-2.5'
* devel-2.5:
Migrate: don't check for free memory on cleanup
Revert "cli: Disable abbreviation matching for optio...
Guido Trotter
07:34 pm Revision 72dc3fb3: Merge branch 'stable-2.5' into devel-2.5
* stable-2.5:
Migrate: don't check for free memory on cleanup
Signed-off-by: Guido Trotter <ultrotter@google.com>
...
Guido Trotter
07:34 pm ganeti-local Revision 72dc3fb3: Merge branch 'stable-2.5' into devel-2.5
* stable-2.5:
Migrate: don't check for free memory on cleanup
Signed-off-by: Guido Trotter <ultrotter@google.com>
...
Guido Trotter
07:12 pm ganeti-local Revision c1f19851: cli: Log fully quoted command line
Instead of logging the concatenated arguments, with this patch every
command will properly quote its full command lin...
Michael Hanselmann
07:12 pm Revision c1f19851: cli: Log fully quoted command line
Instead of logging the concatenated arguments, with this patch every
command will properly quote its full command lin...
Michael Hanselmann
06:42 pm Revision bc77ec5b: Make gnt-network remove functional.
The corresponding network must be empty before removing.
First disconnect it from its node groups.
Signed-off-by: Di...
Dimitris Aragiorgis
06:24 pm ganeti-local Revision 6b826dfa: Migrate: don't check for free memory on cleanup
Cleanup just updates the config with the correct location of the
instance, or informs of its down status, but never s...
Guido Trotter
06:24 pm Revision 6b826dfa: Migrate: don't check for free memory on cleanup
Cleanup just updates the config with the correct location of the
instance, or informs of its down status, but never s...
Guido Trotter
04:12 pm Revision c6593743: Update gnt-cluster man page
Signed-off-by: Constantinos Venetsanopoulos <cven@grnet.gr> Constantinos Venetsanopoulos
04:09 pm Revision 0ed4f1b0: Implement gnt-network remove.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
03:03 pm Revision d82d5b8b: Update gnt-instance man page
Signed-off-by: Constantinos Venetsanopoulos <cven@grnet.gr> Constantinos Venetsanopoulos
11:44 am Revision 5b3f5fc8: LUInstanceStartup: check for minimum memory
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
11:44 am ganeti-local Revision 5b3f5fc8: LUInstanceStartup: check for minimum memory
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
11:44 am Revision 61eb1a46: hypervisors: start instances with max available mem
If we have available more than MINMEM but less than MAXMEM, start a new
instance with that value, rather than MAXMEM....
Guido Trotter
11:44 am ganeti-local Revision 61eb1a46: hypervisors: start instances with max available mem
If we have available more than MINMEM but less than MAXMEM, start a new
instance with that value, rather than MAXMEM....
Guido Trotter
11:44 am ganeti-local Revision 5d1ab3a6: Instance startup: lock primary node
This will be used to balloon other instances on the node if needed.
Signed-off-by: Guido Trotter <ultrotter@google.c...
Guido Trotter
11:44 am Revision 5d1ab3a6: Instance startup: lock primary node
This will be used to balloon other instances on the node if needed.
Signed-off-by: Guido Trotter <ultrotter@google.c...
Guido Trotter
11:44 am ganeti-local Revision 945a7e67: kvm: always start in paused state
Currently kvm starts in a frozen state if cpu pinning is set.
This is useful for other purposes as well (eg. ballooni...
Guido Trotter
11:44 am Revision 945a7e67: kvm: always start in paused state
Currently kvm starts in a frozen state if cpu pinning is set.
This is useful for other purposes as well (eg. ballooni...
Guido Trotter

01/19/2012

11:08 pm Revision c88f4e3b: Add man page for gnt-network.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
06:43 pm ganeti-local Revision bf5338b3: Revert "cli: Disable abbreviation matching for options"
This reverts commit 232aab3f4f602a19f1226e85c3a3ecb245d60af4. We
shouldn't change the parsing of command line options...
Michael Hanselmann
06:43 pm Revision bf5338b3: Revert "cli: Disable abbreviation matching for options"
This reverts commit 232aab3f4f602a19f1226e85c3a3ecb245d60af4. We
shouldn't change the parsing of command line options...
Michael Hanselmann
03:14 pm ganeti-local Revision 59d81cb3: Merge branch 'devel-2.5'
* devel-2.5:
Fix wrong option names in QA and cluster-merge
Bump version to 2.5.0~rc5, update NEWS
Add Unescape...
Michael Hanselmann
03:14 pm Revision 59d81cb3: Merge branch 'devel-2.5'
* devel-2.5:
Fix wrong option names in QA and cluster-merge
Bump version to 2.5.0~rc5, update NEWS
Add Unescape...
Michael Hanselmann
02:48 pm ganeti-local Revision 431f2a80: Merge branch 'stable-2.5' into devel-2.5
* stable-2.5:
Bump version to 2.5.0~rc5, update NEWS
Add UnescapeAndSplit unittest for multi-escapes
Fix a bug ...
Michael Hanselmann
02:48 pm Revision 431f2a80: Merge branch 'stable-2.5' into devel-2.5
* stable-2.5:
Bump version to 2.5.0~rc5, update NEWS
Add UnescapeAndSplit unittest for multi-escapes
Fix a bug ...
Michael Hanselmann
02:42 pm Revision 58ea8d17: Fix wrong option names in QA and cluster-merge
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
02:42 pm ganeti-local Revision 58ea8d17: Fix wrong option names in QA and cluster-merge
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
02:42 pm ganeti-local Revision ecabe27e: Fix a bug in command line option parsing code
Fix bug affecting command line options of "keyval" type. Although
escaping commands with \ is supported, it is is not...
Nikos Skalkotos
02:42 pm ganeti-local Revision e7f7212b: Add UnescapeAndSplit unittest for multi-escapes
This would have caught the bug in the first place. Argh,
hand-generated test cases!
Signed-off-by: Iustin Pop <iusti...
Iustin Pop
02:42 pm ganeti-local Revision 7cbdc2a2: Bump version to 2.5.0~rc5, update NEWS
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
02:42 pm Revision ecabe27e: Fix a bug in command line option parsing code
Fix bug affecting command line options of "keyval" type. Although
escaping commands with \ is supported, it is is not...
Nikos Skalkotos
02:42 pm Revision e7f7212b: Add UnescapeAndSplit unittest for multi-escapes
This would have caught the bug in the first place. Argh,
hand-generated test cases!
Signed-off-by: Iustin Pop <iusti...
Iustin Pop
02:42 pm Revision 7cbdc2a2: Bump version to 2.5.0~rc5, update NEWS
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann

01/18/2012

08:42 pm ganeti-local Revision 232aab3f: cli: Disable abbreviation matching for options
Python's “optparse” module does option name prefix matching by default.
Since this can lead to confusing behaviour, e...
Michael Hanselmann
08:42 pm Revision 232aab3f: cli: Disable abbreviation matching for options
Python's “optparse” module does option name prefix matching by default.
Since this can lead to confusing behaviour, e...
Michael Hanselmann
06:51 pm Revision f356202a: qa: perform burnin with max/min mem from config
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
06:51 pm ganeti-local Revision f356202a: qa: perform burnin with max/min mem from config
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
06:03 pm ganeti-local Revision 6b5f0dd8: Burnin: test set-mem
Add new --maxmem-size and --minmem-size options.
The old --mem-size option allows setting both at the same time.
If -...
Guido Trotter
06:03 pm Revision 6b5f0dd8: Burnin: test set-mem
Add new --maxmem-size and --minmem-size options.
The old --mem-size option allows setting both at the same time.
If -...
Guido Trotter
06:03 pm ganeti-local Revision 2c0af7da: gnt-instance modify -m|--runtime-memory
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
06:03 pm Revision 2c0af7da: gnt-instance modify -m|--runtime-memory
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
05:14 pm Revision 100487bc: Port gnt-network info.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
02:12 pm Revision 73b96c7f: Port hooks.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis

01/17/2012

03:01 pm ganeti-local Revision 2c7a0373: Implement memory ballooning in xen
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Guido Trotter
03:01 pm ganeti-local Revision 3d836750: Implement memory ballooning in kvm
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Guido Trotter
03:01 pm ganeti-local Revision 80121c83: xen: add the "maxmem" parameter in instances config
This is set to the same amount as the memory for now, but will allow
starting instances with less memory than their m...
Guido Trotter
03:01 pm ganeti-local Revision cfb5f9da: Implement memory ballooning in the fake hv
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Guido Trotter
03:01 pm ganeti-local Revision 2e2fb795: No-op memory ballooning in chroot and lxc
Currently they have no memory limits set.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: René Nuss...
Guido Trotter
03:01 pm ganeti-local Revision ebe466d8: Add instance_balloon_memory rpc
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Guido Trotter
03:01 pm Revision 2c7a0373: Implement memory ballooning in xen
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Guido Trotter
03:01 pm Revision 3d836750: Implement memory ballooning in kvm
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Guido Trotter
03:01 pm Revision 80121c83: xen: add the "maxmem" parameter in instances config
This is set to the same amount as the memory for now, but will allow
starting instances with less memory than their m...
Guido Trotter
03:01 pm Revision ebe466d8: Add instance_balloon_memory rpc
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Guido Trotter
03:01 pm Revision 2e2fb795: No-op memory ballooning in chroot and lxc
Currently they have no memory limits set.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: René Nuss...
Guido Trotter
03:01 pm Revision cfb5f9da: Implement memory ballooning in the fake hv
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Guido Trotter
03:01 pm ganeti-local Revision b990eedd: Hypervisor: allow ballooning of instance memory
This new hypervisor call sets the memory of an instance to a new value,
through ballooning.
Signed-off-by: Guido Tro...
Guido Trotter
03:01 pm Revision b990eedd: Hypervisor: allow ballooning of instance memory
This new hypervisor call sets the memory of an instance to a new value,
through ballooning.
Signed-off-by: Guido Tro...
Guido Trotter
12:08 pm ganeti-local Revision 7530364d: Accept both PUT and POST in noded
Currently, noded requires PUT, even though the semantics of the RPC
calls do not match a PUT. We change the code acce...
Iustin Pop
12:08 pm Revision 7530364d: Accept both PUT and POST in noded
Currently, noded requires PUT, even though the semantics of the RPC
calls do not match a PUT. We change the code acce...
Iustin Pop
12:08 pm ganeti-local Revision 4c1a464b: Rework instance rename QA tests
After looking again at the QA speeds, it turned out that instance
rename was run 12 times via the command line and 12...
Iustin Pop
12:08 pm Revision 4c1a464b: Rework instance rename QA tests
After looking again at the QA speeds, it turned out that instance
rename was run 12 times via the command line and 12...
Iustin Pop

01/16/2012

08:10 pm Revision 9c84458a: Port ippool to google master branch.
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
02:50 pm ganeti-local Revision 468b828e: Another small optimisation in test data generation
It seems that QuickCheck will happily generate huge data structures,
if that's what one requests. For this test, wher...
Iustin Pop
02:50 pm Revision 468b828e: Another small optimisation in test data generation
It seems that QuickCheck will happily generate huge data structures,
if that's what one requests. For this test, wher...
Iustin Pop
02:50 pm ganeti-local Revision 15e3d31c: Generate tags using the helper in Node tests
Otherwise we test very big lists (slow) without any advantage in doing
so.
Signed-off-by: Iustin Pop <iustin@google....
Iustin Pop
02:50 pm Revision 15e3d31c: Generate tags using the helper in Node tests
Otherwise we test very big lists (slow) without any advantage in doing
so.
Signed-off-by: Iustin Pop <iustin@google....
Iustin Pop
02:50 pm ganeti-local Revision 45c4d54d: Combine two Node unittests
These two tests are very similar, so let's run them together instead
of generating the data twice. Also improve the t...
Iustin Pop
02:50 pm Revision 45c4d54d: Combine two Node unittests
These two tests are very similar, so let's run them together instead
of generating the data twice. Also improve the t...
Iustin Pop
02:49 pm ganeti-local Revision a292b4e0: Add unit-tests for --help/--version as common options
After reorganizing the way we process options, we can finally add a
test that all program personalities accept --help...
Iustin Pop
02:49 pm Revision a292b4e0: Add unit-tests for --help/--version as common options
After reorganizing the way we process options, we can finally add a
test that all program personalities accept --help...
Iustin Pop
02:49 pm ganeti-local Revision 9f13be88: Split the list of program personalities into a module
… a mini-module, actually. This is only done for unit-testing, as we
don't want to duplicate the personalities list i...
Iustin Pop
02:49 pm Revision 9f13be88: Split the list of program personalities into a module
… a mini-module, actually. This is only done for unit-testing, as we
don't want to duplicate the personalities list i...
Iustin Pop
02:49 pm ganeti-local Revision 21839f47: Parse options in htools.hs, not in each program
This patch moves the call to getArgs/parseOpts into htools.hs, as
opposed to the current situation where htools.hs on...
Iustin Pop
02:49 pm Revision 21839f47: Parse options in htools.hs, not in each program
This patch moves the call to getArgs/parseOpts into htools.hs, as
opposed to the current situation where htools.hs on...
Iustin Pop
02:49 pm ganeti-local Revision 89298c04: Add some very basic options test
Just tests that passing a string argument returns it correctly. We're
not interested in the flags themselves that muc...
Iustin Pop
02:49 pm Revision 89298c04: Add some very basic options test
Just tests that passing a string argument returns it correctly. We're
not interested in the flags themselves that muc...
Iustin Pop
02:49 pm Revision 51c3d88f: Split CLI.parseOpts into IO/non-IO parts
This will allow unittesting the CLI options much more easily. The
patch also fixes an inconsistency: usage help was d...
Iustin Pop
02:49 pm ganeti-local Revision 51c3d88f: Split CLI.parseOpts into IO/non-IO parts
This will allow unittesting the CLI options much more easily. The
patch also fixes an inconsistency: usage help was d...
Iustin Pop
02:49 pm ganeti-local Revision a7ea861a: Add test for CLI.parseYesNo
Also fix a tiny typo in the docstring.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <r...
Iustin Pop
02:49 pm Revision a7ea861a: Add test for CLI.parseYesNo
Also fix a tiny typo in the docstring.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <r...
Iustin Pop
02:49 pm ganeti-local Revision 8b5a517a: Fix bug in CLI.parseISpecString and add test
'zip' finishes on the shortest list, so parseISpecString accepted any
string of 3 values or more, which is not good. ...
Iustin Pop
02:49 pm Revision 8b5a517a: Fix bug in CLI.parseISpecString and add test
'zip' finishes on the shortest list, so parseISpecString accepted any
string of 3 values or more, which is not good. ...
Iustin Pop
02:49 pm ganeti-local Revision e1dde6ad: Add a unittest for the 'Simu' backend
This only test successful parsing, but for this case it tests
reasonably well the resulting cluster properties, I thi...
Iustin Pop
02:49 pm Revision e1dde6ad: Add a unittest for the 'Simu' backend
This only test successful parsing, but for this case it tests
reasonably well the resulting cluster properties, I thi...
Iustin Pop
02:49 pm ganeti-local Revision 59ed268d: Further optimise instance test data generation
Following on the lessons from this week (commit 7806125e), this patch
replaces generation of instances `suchThat` the...
Iustin Pop
02:49 pm Revision 59ed268d: Further optimise instance test data generation
Following on the lessons from this week (commit 7806125e), this patch
replaces generation of instances `suchThat` the...
Iustin Pop
02:49 pm ganeti-local Revision c7ec3025: Add a Makefile target for profiling targets
This simplifies the building of profiling-enabled htools binaries;
there are two targets, one used for the initial tw...
Iustin Pop
02:49 pm Revision c7ec3025: Add a Makefile target for profiling targets
This simplifies the building of profiling-enabled htools binaries;
there are two targets, one used for the initial tw...
Iustin Pop
10:36 am ganeti-local Revision 893e8f49: gnt-instance: Adapt replace-disks to the new opcode
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
10:36 am Revision 893e8f49: gnt-instance: Adapt replace-disks to the new opcode
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
10:36 am ganeti-local Revision d2fe2bfb: TLReplaceDisk: Add ipolicy checks
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
10:36 am Revision d2fe2bfb: TLReplaceDisk: Add ipolicy checks
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer

01/13/2012

04:58 pm ganeti-local Revision 7806125e: Fix very slow unit-test data generation in some cases
Learning, learning. It turns out that for objects with even just five
fields, generating them and filtering can be co...
Iustin Pop
04:58 pm Revision 7806125e: Fix very slow unit-test data generation in some cases
Learning, learning. It turns out that for objects with even just five
fields, generating them and filtering can be co...
Iustin Pop
04:58 pm ganeti-local Revision 746b7aa6: Fix one bad unit-test data generation case
It could happen that the node is generated with 0 disk available, in
which case the operation will fail due to disk i...
Iustin Pop
04:58 pm Revision 746b7aa6: Fix one bad unit-test data generation case
It could happen that the node is generated with 0 disk available, in
which case the operation will fail due to disk i...
Iustin Pop
03:24 pm ganeti-local Revision aa1d552d: Further JSON unit-tests for various Types.hs types
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
03:24 pm ganeti-local Revision 96bc2003: Add a unit-test helper function
… instead of always using "printTestCase … False".
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René N...
Iustin Pop
03:24 pm ganeti-local Revision 6a855aaa: Extend node evacuation unittests
Currently they only check for change secondary, via iallocator's
relocate method. We add two separate unittests that ...
Iustin Pop
03:24 pm ganeti-local Revision a2a0bcd8: Fix a few issues in unittest data generation
This patch fixes two ugly but non-critical issues:
- the getFQDN wrongly generated only the first component as
lim...
Iustin Pop
03:24 pm ganeti-local Revision 16670b57: Remove some dead code
While wondering why Cluster.tryReloc is not unit-tested, I realised
that this is no longer uses. Apparently, last sum...
Iustin Pop
03:24 pm ganeti-local Revision 3074ccaf: Fix another data generation issue in tests
Another "good" seed value manages to generate nodes with identical
names, which of course makes the sets be of smalle...
Iustin Pop
03:24 pm ganeti-local Revision 57dc299a: Further fixes to instance policy validation
As a followup from "Remove extraneous check in policy creation", there
are more places where we build an ipolicy, and...
Iustin Pop
03:24 pm Revision aa1d552d: Further JSON unit-tests for various Types.hs types
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
03:24 pm Revision 96bc2003: Add a unit-test helper function
… instead of always using "printTestCase … False".
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René N...
Iustin Pop
03:24 pm Revision 6a855aaa: Extend node evacuation unittests
Currently they only check for change secondary, via iallocator's
relocate method. We add two separate unittests that ...
Iustin Pop
03:24 pm Revision a2a0bcd8: Fix a few issues in unittest data generation
This patch fixes two ugly but non-critical issues:
- the getFQDN wrongly generated only the first component as
lim...
Iustin Pop
03:24 pm Revision 16670b57: Remove some dead code
While wondering why Cluster.tryReloc is not unit-tested, I realised
that this is no longer uses. Apparently, last sum...
Iustin Pop
03:24 pm Revision 3074ccaf: Fix another data generation issue in tests
Another "good" seed value manages to generate nodes with identical
names, which of course makes the sets be of smalle...
Iustin Pop
03:24 pm Revision 57dc299a: Further fixes to instance policy validation
As a followup from "Remove extraneous check in policy creation", there
are more places where we build an ipolicy, and...
Iustin Pop
03:24 pm ganeti-local Revision d6f9f5bd: Add a help function for generating test nodes
This abstracts the concept of "give an sane, online node" in a single
place, rather than spread around the tests. We ...
Iustin Pop
03:24 pm ganeti-local Revision e73c5fe2: Generate clusters with unique node names in tests
Nothing breaks otherwise in the cluster routines, but serialisation
to/from text gets confused otherwise.
Signed-off...
Iustin Pop
03:24 pm ganeti-local Revision dce9bbb3: Add a complex allocation/serialisation/load test
This is unfortunately a complex test that checks if:
- starting from a empty cluster
- allocating a few instances on...
Iustin Pop
03:24 pm ganeti-local Revision b37f4a76: Implement saving/restoring of policies in Text backend
This adds a new optional (so we're backwards-compat) section to the
cluster data so that we can reliably save/restore...
Iustin Pop
03:24 pm ganeti-local Revision bcd17bf0: Further unittests for ipolicy/ispec text serialisation
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
03:24 pm Revision d6f9f5bd: Add a help function for generating test nodes
This abstracts the concept of "give an sane, online node" in a single
place, rather than spread around the tests. We ...
Iustin Pop
03:24 pm Revision e73c5fe2: Generate clusters with unique node names in tests
Nothing breaks otherwise in the cluster routines, but serialisation
to/from text gets confused otherwise.
Signed-off...
Iustin Pop
03:24 pm Revision dce9bbb3: Add a complex allocation/serialisation/load test
This is unfortunately a complex test that checks if:
- starting from a empty cluster
- allocating a few instances on...
Iustin Pop
03:24 pm Revision b37f4a76: Implement saving/restoring of policies in Text backend
This adds a new optional (so we're backwards-compat) section to the
cluster data so that we can reliably save/restore...
Iustin Pop
03:24 pm Revision bcd17bf0: Further unittests for ipolicy/ispec text serialisation
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
03:23 pm ganeti-local Revision 55bd1414: Fix a couple of bugs in handling offline instances
The addition of the offline state for instances has introduced a few
bugs related to their handling. The current code...
Iustin Pop
03:23 pm Revision 55bd1414: Fix a couple of bugs in handling offline instances
The addition of the offline state for instances has introduced a few
bugs related to their handling. The current code...
Iustin Pop
03:17 pm ganeti-local Revision 9cd6c325: Add a helper function for 'not offline' instances
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
03:17 pm Revision 9cd6c325: Add a helper function for 'not offline' instances
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
03:17 pm ganeti-local Revision 00b70680: Unittests for the instance policy checks on allocation
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
03:17 pm Revision 00b70680: Unittests for the instance policy checks on allocation
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
03:17 pm ganeti-local Revision 1f5635a9: Show explicit message when hspace fails to alloc
Currently, in the human-readable mode, hspace doesn't show any
messages when no instances can be allocated in tiered-...
Iustin Pop
03:17 pm Revision 1f5635a9: Show explicit message when hspace fails to alloc
Currently, in the human-readable mode, hspace doesn't show any
messages when no instances can be allocated in tiered-...
Iustin Pop
03:17 pm ganeti-local Revision aa5b2f07: Obey instance policy in allocation routines
This currently checks the minimum/maximum sizes and the disk
template. Unittests will come later.
Signed-off-by: Ius...
Iustin Pop
03:17 pm Revision aa5b2f07: Obey instance policy in allocation routines
This currently checks the minimum/maximum sizes and the disk
template. Unittests will come later.
Signed-off-by: Ius...
Iustin Pop
03:17 pm ganeti-local Revision d6eec019: Set group policy on nodes
In order to be able to use the group policy during allocation, we have
a few choices:
- pass the group policy as a s...
Iustin Pop
03:17 pm Revision d6eec019: Set group policy on nodes
In order to be able to use the group policy during allocation, we have
a few choices:
- pass the group policy as a s...
Iustin Pop
03:17 pm ganeti-local Revision cdbab531: A trivial optimisation in Loader.mergeData
During loading, we can eliminate some intermediate data
structures. This only matters for big clusters, and even ther...
Iustin Pop
03:17 pm Revision cdbab531: A trivial optimisation in Loader.mergeData
During loading, we can eliminate some intermediate data
structures. This only matters for big clusters, and even ther...
Iustin Pop
03:17 pm ganeti-local Revision 74c35f2f: Trivial performance optimisation
This is not in the hot-path, but still, no sense in doing O(n) instead
of O(1).
Signed-off-by: Iustin Pop <iustin@go...
Iustin Pop
03:17 pm Revision 74c35f2f: Trivial performance optimisation
This is not in the hot-path, but still, no sense in doing O(n) instead
of O(1).
Signed-off-by: Iustin Pop <iustin@go...
Iustin Pop
03:17 pm ganeti-local Revision 6cff91f5: Add ipolicy attribute to group objects
This is straightforward; as before, so far the text and simu backends
have no way to use a non-default ipolicy.
Furt...
Iustin Pop
03:17 pm Revision 6cff91f5: Add ipolicy attribute to group objects
This is straightforward; as before, so far the text and simu backends
have no way to use a non-default ipolicy.
Furt...
Iustin Pop
03:17 pm ganeti-local Revision 3c3c796e: Enable Eq instances for TH-built objects
This is needed for the next patch.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@go...
Iustin Pop
03:17 pm Revision 3c3c796e: Enable Eq instances for TH-built objects
This is needed for the next patch.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@go...
Iustin Pop
03:16 pm ganeti-local Revision 9fdd3d0f: Switch hspace to read the disk template from the cluster
The default disk template is the first enabled template.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: ...
Iustin Pop
03:16 pm Revision 9fdd3d0f: Switch hspace to read the disk template from the cluster
The default disk template is the first enabled template.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: ...
Iustin Pop
03:16 pm ganeti-local Revision fc42a408: Read the disk templates part of the ipolicy
The default value is badly defined (hardcoded defaults)…
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: ...
Iustin Pop
03:16 pm Revision fc42a408: Read the disk templates part of the ipolicy
The default value is badly defined (hardcoded defaults)…
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: ...
Iustin Pop
03:16 pm ganeti-local Revision 89c758c6: Move DiskTemplate definition around
This is needed since we'll need the DiskTemplate definition in the
IPolicy one.
Signed-off-by: Iustin Pop <iustin@go...
Iustin Pop
03:16 pm Revision 89c758c6: Move DiskTemplate definition around
This is needed since we'll need the DiskTemplate definition in the
IPolicy one.
Signed-off-by: Iustin Pop <iustin@go...
Iustin Pop
03:16 pm ganeti-local Revision 2cc673a3: Add new disk_templates parameter to instance policy
This is a bit more complex patch, as it requires changing the
assumption that all keys in the policy dict points to v...
Iustin Pop
03:16 pm Revision 2cc673a3: Add new disk_templates parameter to instance policy
This is a bit more complex patch, as it requires changing the
assumption that all keys in the policy dict points to v...
Iustin Pop
03:16 pm ganeti-local Revision 45f8b50d: Remove extraneous check in policy creation
The values are already checked in CreateIPolicy, no need to manually
check them again.
Signed-off-by: Iustin Pop <iu...
Iustin Pop
03:16 pm Revision 45f8b50d: Remove extraneous check in policy creation
The values are already checked in CreateIPolicy, no need to manually
check them again.
Signed-off-by: Iustin Pop <iu...
Iustin Pop
03:16 pm ganeti-local Revision 0ce212e5: Move the instance specs options to cli.py
Currently these are defined twice, instead of a single time in
cli.py. Also adds the new disk_templates option to the...
Iustin Pop
03:16 pm Revision 0ce212e5: Move the instance specs options to cli.py
Currently these are defined twice, instead of a single time in
cli.py. Also adds the new disk_templates option to the...
Iustin Pop
03:16 pm ganeti-local Revision 12c3d3f6: Add a new disk-template ipolicy option
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
03:16 pm Revision 12c3d3f6: Add a new disk-template ipolicy option
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
03:16 pm ganeti-local Revision 499eb088: Add a new CLI option type 'list'
This simply splits the value in the option parser, instead of needing
to do it in the client code.
Signed-off-by: Iu...
Iustin Pop
03:16 pm Revision 499eb088: Add a new CLI option type 'list'
This simply splits the value in the option parser, instead of needing
to do it in the client code.
Signed-off-by: Iu...
Iustin Pop
03:16 pm ganeti-local Revision 363c0106: Fix handling of errors from InstancePolicy.Check...
This code raises a configuration error, but we need to transform it
into a prereq error (or possibly exec error), dep...
Iustin Pop
03:16 pm Revision 363c0106: Fix handling of errors from InstancePolicy.Check...
This code raises a configuration error, but we need to transform it
into a prereq error (or possibly exec error), dep...
Iustin Pop
03:16 pm ganeti-local Revision be468da0: Switch hspace defaults to the cluster policy
This changes from the current hardcoded defaults to the cluster
policy. The command line options now override the def...
Iustin Pop
03:16 pm Revision be468da0: Switch hspace defaults to the cluster policy
This changes from the current hardcoded defaults to the cluster
policy. The command line options now override the def...
Iustin Pop
03:16 pm ganeti-local Revision 304f9292: Add a helper function converting ispecs to rspecs
The rspec type is simpler than the ispec one; most likely it should be
deprecated later.
Signed-off-by: Iustin Pop <...
Iustin Pop
03:16 pm Revision 304f9292: Add a helper function converting ispecs to rspecs
The rspec type is simpler than the ispec one; most likely it should be
deprecated later.
Signed-off-by: Iustin Pop <...
Iustin Pop
03:16 pm ganeti-local Revision 8564fb47: Abstract creation of instance from a spec
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
03:16 pm Revision 8564fb47: Abstract creation of instance from a spec
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
03:16 pm ganeti-local Revision df5d5433: Load cluster ipolicy via Rapi
This requires changing from querying the /tags resource to the /info
resource.
Signed-off-by: Iustin Pop <iustin@goo...
Iustin Pop
03:16 pm Revision df5d5433: Load cluster ipolicy via Rapi
This requires changing from querying the /tags resource to the /info
resource.
Signed-off-by: Iustin Pop <iustin@goo...
Iustin Pop
03:16 pm ganeti-local Revision 135f64a3: Update memory/maxmem reading in Rapi backend
Recent changes to the instance beparams have replaced memory with
maxmem in Rapi bulk queries. Until this is either r...
Iustin Pop
03:16 pm Revision 135f64a3: Update memory/maxmem reading in Rapi backend
Recent changes to the instance beparams have replaced memory with
maxmem in Rapi bulk queries. Until this is either r...
Iustin Pop
03:16 pm ganeti-local Revision e77bc89b: Load cluster ipolicy via Luxi
Also show it in hbal's verbose output (helpful for debugging).
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewe...
Iustin Pop
03:16 pm Revision e77bc89b: Load cluster ipolicy via Luxi
Also show it in hbal's verbose output (helpful for debugging).
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewe...
Iustin Pop
03:16 pm ganeti-local Revision 71375ef7: Extend ClusterData with the cluster instance policy
This attribute is always initialised to the default, and is not (yet)
read/saved in the various backends.
Signed-off...
Iustin Pop
03:16 pm Revision 71375ef7: Extend ClusterData with the cluster instance policy
This attribute is always initialised to the default, and is not (yet)
read/saved in the various backends.
Signed-off...
Iustin Pop
03:16 pm ganeti-local Revision d02f941e: Add default ipolicy declarations
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
03:16 pm Revision d02f941e: Add default ipolicy declarations
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
03:16 pm ganeti-local Revision 26fce8df: Add support for RE patterns to convert constants
This is a trivial conversion.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google....
Iustin Pop
03:16 pm Revision 26fce8df: Add support for RE patterns to convert constants
This is a trivial conversion.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google....
Iustin Pop
03:16 pm ganeti-local Revision cf57f778: Add support for lists/frozensets in convert-constants
Unfortunately, we only support lists of simple types, and not even
lists of tuples. If we actually needed those, it w...
Iustin Pop
03:16 pm Revision cf57f778: Add support for lists/frozensets in convert-constants
Unfortunately, we only support lists of simple types, and not even
lists of tuples. If we actually needed those, it w...
Iustin Pop
03:16 pm ganeti-local Revision 2325bfcf: Add support for tuples in convert-constants
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
03:16 pm Revision 2325bfcf: Add support for tuples in convert-constants
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
03:16 pm ganeti-local Revision df41d855: More improvements to convert-constants
This prepares for tuple and other conversions.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussb...
Iustin Pop
03:16 pm Revision df41d855: More improvements to convert-constants
This prepares for tuple and other conversions.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussb...
Iustin Pop
03:16 pm ganeti-local Revision 8751c041: Improve convert-constants to handle dictionaries
The two main drawbacks for convert-constants are the fact that it
can't handle sets/frozensets (mainly due to the fac...
Iustin Pop
03:16 pm Revision 8751c041: Improve convert-constants to handle dictionaries
The two main drawbacks for convert-constants are the fact that it
can't handle sets/frozensets (mainly due to the fac...
Iustin Pop
03:16 pm ganeti-local Revision a07343b2: Add object definitions for the ispec and ipolicy
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
03:16 pm Revision a07343b2: Add object definitions for the ispec and ipolicy
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nussbaumer <rn@google.com>
Iustin Pop
03:16 pm ganeti-local Revision b69be409: Stop exporting JSON functionality from Utils.hs
This completes the Utils/JSON split started in commit f047f90f. The
import graph should be cleaner now.
Signed-off-b...
Iustin Pop
03:16 pm Revision b69be409: Stop exporting JSON functionality from Utils.hs
This completes the Utils/JSON split started in commit f047f90f. The
import graph should be cleaner now.
Signed-off-b...
Iustin Pop
03:16 pm ganeti-local Revision f3f76ccc: More reshuffling of code
Following the split Types/BasicTypes, we can remove the last
JSON-related stuff from Utils.hs, and do some more clean...
Iustin Pop
03:16 pm Revision f3f76ccc: More reshuffling of code
Following the split Types/BasicTypes, we can remove the last
JSON-related stuff from Utils.hs, and do some more clean...
Iustin Pop
03:15 pm ganeti-local Revision 0c37d1e4: htools: split parts of HTools/Types.hs into BasicTypes.hs
The 'Result' type is common and:
- might be used outside of HTools-specific code too
- is better split as we need th...
Iustin Pop
03:15 pm Revision 0c37d1e4: htools: split parts of HTools/Types.hs into BasicTypes.hs
The 'Result' type is common and:
- might be used outside of HTools-specific code too
- is better split as we need th...
Iustin Pop

01/12/2012

02:31 pm ganeti-local Revision 50761ebd: Fix acquisition of node lock in LUInstanceGrowDisk
Ensure node level locks are recalculated properly
in LUInstanceGrowDisk.
Signed-off-by: Constantinos Venetsanopoulos...
Constantinos Venetsanopoulos
02:31 pm Revision 50761ebd: Fix acquisition of node lock in LUInstanceGrowDisk
Ensure node level locks are recalculated properly
in LUInstanceGrowDisk.
Signed-off-by: Constantinos Venetsanopoulos...
Constantinos Venetsanopoulos

01/11/2012

02:08 pm Revision 657f34e5: Merge remote branch 'google/stable-2.5' into grnet-2.5-rbd-devel
Constantinos Venetsanopoulos
01:13 pm ganeti-local Revision 4b97458c: Fix cluster ispecs on upgrade
Cluster-level parameters must *not* be empty. Plus two more minor
changes.
Signed-off-by: Iustin Pop <iustin@google....
Iustin Pop
01:13 pm Revision 4b97458c: Fix cluster ispecs on upgrade
Cluster-level parameters must *not* be empty. Plus two more minor
changes.
Signed-off-by: Iustin Pop <iustin@google....
Iustin Pop
01:12 pm ganeti-local Revision b32f3c0c: Better max ispec defaults
Instead of being equal to the minimum ones, these are reusing current
constants.
Signed-off-by: Iustin Pop <iustin@g...
Iustin Pop
01:12 pm Revision b32f3c0c: Better max ispec defaults
Instead of being equal to the minimum ones, these are reusing current
constants.
Signed-off-by: Iustin Pop <iustin@g...
Iustin Pop
01:12 pm ganeti-local Revision 410a8a76: Rename optISpec to optStdSpec
More consistency with the tiered allocation mode.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nu...
Iustin Pop
01:12 pm Revision 410a8a76: Rename optISpec to optStdSpec
More consistency with the tiered allocation mode.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: René Nu...
Iustin Pop
01:12 pm ganeti-local Revision 294bb337: Change how hspace reads cmdline args for std specs
For the standard specs, hspace currently takes separate options for
the memory, disk and VCPUs. For the tiered specs,...
Iustin Pop
01:12 pm Revision 294bb337: Change how hspace reads cmdline args for std specs
For the standard specs, hspace currently takes separate options for
the memory, disk and VCPUs. For the tiered specs,...
Iustin Pop
12:59 pm ganeti-local Revision 7da760ca: Abstract tiered specs command line parsing
This will be used in the future for the standard specs too, so let's
abstract it away.
Signed-off-by: Iustin Pop <iu...
Iustin Pop
12:59 pm Revision 7da760ca: Abstract tiered specs command line parsing
This will be used in the future for the standard specs too, so let's
abstract it away.
Signed-off-by: Iustin Pop <iu...
Iustin Pop
10:13 am ganeti-local Revision 2096d068: cmdlib._ComputeMinMaxSpec: Add unittest for this function
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
10:13 am Revision 2096d068: cmdlib._ComputeMinMaxSpec: Add unittest for this function
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
10:13 am ganeti-local Revision 89e8508e: cmdlib: _VerifyInstancePolicy has been replaced and is dead code
This removes this method
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@goog...
René Nussbaumer
10:13 am ganeti-local Revision 0e68bf27: cmdlib: Rename _CheckMinMaxSpecs to _ComputeMinMaxSpec
This is to reflect the fact that _Check functions do raise Op*Error
which is not the case for _CheckMinMaxSpec.
Sign...
René Nussbaumer
10:13 am Revision 89e8508e: cmdlib: _VerifyInstancePolicy has been replaced and is dead code
This removes this method
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@goog...
René Nussbaumer
10:13 am Revision 0e68bf27: cmdlib: Rename _CheckMinMaxSpecs to _ComputeMinMaxSpec
This is to reflect the fact that _Check functions do raise Op*Error
which is not the case for _CheckMinMaxSpec.
Sign...
René Nussbaumer

01/10/2012

05:16 pm ganeti-local Revision 380bb53a: utils.ResetTempfileModule: Improve performance
This function is called for after every fork (e.g. for handling an RPC
request). With the changes in this patch gener...
Michael Hanselmann
05:16 pm Revision 380bb53a: utils.ResetTempfileModule: Improve performance
This function is called for after every fork (e.g. for handling an RPC
request). With the changes in this patch gener...
Michael Hanselmann
03:09 pm ganeti-local Revision 20875652: LUInstanceCreate: Release node resource lock
… after running iallocator. Otherwise an assertion later in the code
would fail (for a good reason).
Signed-off-by: ...
Michael Hanselmann
03:09 pm Revision 20875652: LUInstanceCreate: Release node resource lock
… after running iallocator. Otherwise an assertion later in the code
would fail (for a good reason).
Signed-off-by: ...
Michael Hanselmann
02:34 pm ganeti-local Revision ff02b60f: _CheckTargetNodeIPolicy: instance.primary_node is not objects.Node
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:34 pm Revision ff02b60f: _CheckTargetNodeIPolicy: instance.primary_node is not objects.Node
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:34 pm ganeti-local Revision c879832c: cmdlib: node.group is not a nodegroup object
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:34 pm Revision c879832c: cmdlib: node.group is not a nodegroup object
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:34 pm ganeti-local Revision 26ece371: LUInstanceCreate: self.disks is a dict not a disk object
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:34 pm Revision 26ece371: LUInstanceCreate: self.disks is a dict not a disk object
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:34 pm ganeti-local Revision fb782f5b: qa-sample.json: Fix a typo
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:34 pm Revision fb782f5b: qa-sample.json: Fix a typo
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:06 pm ganeti-local Revision c20a19ed: Fix wrong variable name
Commit bc5d0215 added support for disk params, but due to copy-paste
it tries to enforce the hvparams into disk param...
Iustin Pop
02:06 pm Revision c20a19ed: Fix wrong variable name
Commit bc5d0215 added support for disk params, but due to copy-paste
it tries to enforce the hvparams into disk param...
Iustin Pop

01/09/2012

07:27 pm ganeti-local Revision 922c57bf: InstanceStartup: use overridden beparams in prereq
Without doing this memory checks happen on instance default parameters
rather than any overridden ones.
Signed-off-b...
Guido Trotter
07:27 pm Revision 922c57bf: InstanceStartup: use overridden beparams in prereq
Without doing this memory checks happen on instance default parameters
rather than any overridden ones.
Signed-off-b...
Guido Trotter
06:40 pm ganeti-local Revision 9f18e2cc: Bump version to 2.5.0~rc5, update NEWS
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:40 pm Revision 9f18e2cc: Bump version to 2.5.0~rc5, update NEWS
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:16 pm ganeti-local Revision a41fd46e: Merge branch 'devel-2.4' into stable-2.5
* devel-2.4:
Add UnescapeAndSplit unittest for multi-escapes
Fix a bug in command line option parsing code
Conf...
Michael Hanselmann
06:16 pm Revision a41fd46e: Merge branch 'devel-2.4' into stable-2.5
* devel-2.4:
Add UnescapeAndSplit unittest for multi-escapes
Fix a bug in command line option parsing code
Conf...
Michael Hanselmann
06:04 pm Revision da775218: gen-coverage: Change filter
It is not necessary to run a Python script to generate the filter, which
didn't work very well anyway on systems with...
Michael Hanselmann
06:04 pm ganeti-local Revision da775218: gen-coverage: Change filter
It is not necessary to run a Python script to generate the filter, which
didn't work very well anyway on systems with...
Michael Hanselmann
02:34 pm ganeti-local Revision 7e6b6f1f: rpc: More unittests
- Fix: Don't check st_atime for temporary file for upload tests
- Add tests for five encoders
Signed-off-by: Michael...
Michael Hanselmann
02:34 pm Revision 7e6b6f1f: rpc: More unittests
- Fix: Don't check st_atime for temporary file for upload tests
- Add tests for five encoders
Signed-off-by: Michael...
Michael Hanselmann
02:25 pm Revision 272900d3: Merge remote branch 'google/stable-2.5' into grnet-2.5-rbd-devel
Constantinos Venetsanopoulos
01:56 pm ganeti-local Revision 729ed537: Document "gnt-node add" behavior in case of failure
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Bernardo Dal Seno
01:56 pm Revision 729ed537: Document "gnt-node add" behavior in case of failure
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Bernardo Dal Seno

01/06/2012

02:47 pm ganeti-local Revision 9fa567b3: gnt-node: Add instance policy to migrate
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:47 pm ganeti-local Revision 43f52ae3: cmdlib: Adapt LUClusterVerifyGroup for instance policy
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:47 pm Revision 9fa567b3: gnt-node: Add instance policy to migrate
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:47 pm Revision 43f52ae3: cmdlib: Adapt LUClusterVerifyGroup for instance policy
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:46 pm ganeti-local Revision 2a84b7d3: gnt-backup: Adding force option to import
This makes it possible to bypass the instance policy
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Gui...
René Nussbaumer
02:46 pm Revision 2a84b7d3: gnt-backup: Adding force option to import
This makes it possible to bypass the instance policy
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Gui...
René Nussbaumer
02:46 pm Revision 10889e0c: gnt-instance: Adding instance policy to add
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:46 pm ganeti-local Revision 10889e0c: gnt-instance: Adding instance policy to add
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:46 pm ganeti-local Revision 1559e1e7: gnt-instance: Adding verification of instance policy to modify
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:46 pm Revision 1559e1e7: gnt-instance: Adding verification of instance policy to modify
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:46 pm Revision 92cf62e3: gnt-instance: Adding instance policy to move
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:46 pm ganeti-local Revision 92cf62e3: gnt-instance: Adding instance policy to move
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:46 pm ganeti-local Revision 3ed23330: gnt-instance: Adding instance policy to migrate
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:46 pm Revision 3ed23330: gnt-instance: Adding instance policy to migrate
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:46 pm ganeti-local Revision b6aaf437: gnt-instance: Adding instance policy to failover
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:46 pm Revision b6aaf437: gnt-instance: Adding instance policy to failover
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:45 pm ganeti-local Revision 0fb81174: cmdlib: Adding helper for instance policy
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:45 pm Revision 0fb81174: cmdlib: Adding helper for instance policy
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:36 pm ganeti-local Revision c2dc025a: rpc.ConfigRunner: Fix uploading file
Commit 601dfcb made some changes to the default encoders. This made
“ConfigRunner.call_upload_file” fail due to a mis...
Michael Hanselmann
02:36 pm Revision c2dc025a: rpc.ConfigRunner: Fix uploading file
Commit 601dfcb made some changes to the default encoders. This made
“ConfigRunner.call_upload_file” fail due to a mis...
Michael Hanselmann
01:49 pm Revision 30a83755: Update GrowDisk docstring
It forgot about one argument.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <h...
Guido Trotter
01:49 pm ganeti-local Revision 30a83755: Update GrowDisk docstring
It forgot about one argument.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <h...
Guido Trotter
01:38 pm ganeti-local Revision c668ead9: Merge branch 'devel-2.5'
* devel-2.5:
KVM: support version reported by 1.0
doc/admin: Clarify archived jobs
Conflicts:
NEWS: trivial
Si...
Guido Trotter
01:38 pm Revision c668ead9: Merge branch 'devel-2.5'
* devel-2.5:
KVM: support version reported by 1.0
doc/admin: Clarify archived jobs
Conflicts:
NEWS: trivial
Si...
Guido Trotter
01:34 pm Revision 2ce40421: rpc._PrepareFileUpload: Use FileStatHelper
Use fstat(2) on the file handle instead of doing a separate stat(2).
Signed-off-by: Michael Hanselmann <hansmi@googl...
Michael Hanselmann
01:34 pm ganeti-local Revision 2ce40421: rpc._PrepareFileUpload: Use FileStatHelper
Use fstat(2) on the file handle instead of doing a separate stat(2).
Signed-off-by: Michael Hanselmann <hansmi@googl...
Michael Hanselmann
01:34 pm Revision 2635bb04: Move helper class from watcher to utils.io
“FileStatHelper” can be used together with “ReadFile” to a file's status
while it's opened. This avoids certain race ...
Michael Hanselmann
01:34 pm ganeti-local Revision 2635bb04: Move helper class from watcher to utils.io
“FileStatHelper” can be used together with “ReadFile” to a file's status
while it's opened. This avoids certain race ...
Michael Hanselmann
01:34 pm ganeti-local Revision d5ea30e8: rpc: Change signature of RpcRunner
Instead of receiving the whole masterd context, it only gets the
configuration and the lock monitor callback. This si...
Michael Hanselmann
01:34 pm ganeti-local Revision 601dfcbb: Add unittest for uploading file via RPC
After some preparing patches this unittest can finally be added.
Signed-off-by: Michael Hanselmann <hansmi@google.co...
Michael Hanselmann
01:34 pm Revision d5ea30e8: rpc: Change signature of RpcRunner
Instead of receiving the whole masterd context, it only gets the
configuration and the lock monitor callback. This si...
Michael Hanselmann
01:34 pm Revision 601dfcbb: Add unittest for uploading file via RPC
After some preparing patches this unittest can finally be added.
Signed-off-by: Michael Hanselmann <hansmi@google.co...
Michael Hanselmann
01:34 pm ganeti-local Revision e78667fe: rpc._RpcClientBase: Add check for number of arguments
Just an additional check, useful in unittests.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iu...
Michael Hanselmann
01:34 pm ganeti-local Revision 065be3f0: Add unittests for RPC client
This patch adds a number of unittests for the RPC client base class.
Some small changes were necessary in “rpc.py” to...
Michael Hanselmann
01:34 pm Revision f00170e2: runtime: Style fix in docstring
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
01:34 pm Revision e78667fe: rpc._RpcClientBase: Add check for number of arguments
Just an additional check, useful in unittests.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iu...
Michael Hanselmann
01:34 pm Revision 065be3f0: Add unittests for RPC client
This patch adds a number of unittests for the RPC client base class.
Some small changes were necessary in “rpc.py” to...
Michael Hanselmann
01:34 pm ganeti-local Revision f00170e2: runtime: Style fix in docstring
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
01:34 pm Revision 120e7e77: Add unittest for RPC compression
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
01:34 pm ganeti-local Revision 120e7e77: Add unittest for RPC compression
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
01:34 pm Revision 764ff2eb: rpc: Style fix
“assert” is a statement, not a function.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin P...
Michael Hanselmann
01:34 pm ganeti-local Revision 764ff2eb: rpc: Style fix
“assert” is a statement, not a function.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin P...
Michael Hanselmann
01:24 pm ganeti-local Revision c52d91e6: Merge branch 'stable-2.5' into devel-2.5
* stable-2.5:
KVM: support version reported by 1.0
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by...
Guido Trotter
01:24 pm Revision c52d91e6: Merge branch 'stable-2.5' into devel-2.5
* stable-2.5:
KVM: support version reported by 1.0
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by...
Guido Trotter
12:55 pm ganeti-local Revision 51ef5fe0: check-news/NEWS: impose more standards
- Always two empty lines before a version.
- Standardize how version names should be called.
Signed-off-by: Guido Tr...
Guido Trotter
12:55 pm Revision 51ef5fe0: check-news/NEWS: impose more standards
- Always two empty lines before a version.
- Standardize how version names should be called.
Signed-off-by: Guido Tr...
Guido Trotter
12:27 pm ganeti-local Revision 585c8187: KVM: support version reported by 1.0
This of course was working for all the rcs, but broke with 1.0 itself.
In addition:
- split between running kvm --...
Guido Trotter
12:27 pm Revision 585c8187: KVM: support version reported by 1.0
This of course was working for all the rcs, but broke with 1.0 itself.
In addition:
- split between running kvm --...
Guido Trotter

01/05/2012

07:12 pm ganeti-local Revision 92cb4940: qa: fix disk parameters tests
Fix an error in the disk parameters tests (the arguments to gnt-cluster
were not passed correctly) and move them to s...
Andrea Spadaccini
07:12 pm Revision 92cb4940: qa: fix disk parameters tests
Fix an error in the disk parameters tests (the arguments to gnt-cluster
were not passed correctly) and move them to s...
Andrea Spadaccini
05:30 pm ganeti-local Revision 68a856ef: rpc_defs: Enable “node_powercycle” for offline nodes
With this change it's possible to powercycle nodes marked as offline. Of
course the node might not be running the nod...
Michael Hanselmann
05:30 pm ganeti-local Revision 890ea4ce: rpc._NodeConfigResolver: Support resolving offline nodes
This is needed to powercycle a node marked offline.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-b...
Michael Hanselmann
05:30 pm ganeti-local Revision 9f2c2103: man/gnt-node: Improve powercycle documentation
Reword a bit, capitalize “SSH”.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <...
Michael Hanselmann
05:30 pm Revision 890ea4ce: rpc._NodeConfigResolver: Support resolving offline nodes
This is needed to powercycle a node marked offline.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-b...
Michael Hanselmann
05:30 pm Revision 9f2c2103: man/gnt-node: Improve powercycle documentation
Reword a bit, capitalize “SSH”.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: René Nussbaumer <...
Michael Hanselmann
05:30 pm Revision 68a856ef: rpc_defs: Enable “node_powercycle” for offline nodes
With this change it's possible to powercycle nodes marked as offline. Of
course the node might not be running the nod...
Michael Hanselmann
05:30 pm Revision fce5efd1: rpc: Pass resolver options to actual resolver
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:30 pm ganeti-local Revision dd6d2d09: rpc: Add support for resolver options callback
This adds support for a callback returning name resolver options. This
is required for powercycling offline nodes. Wh...
Michael Hanselmann
05:30 pm ganeti-local Revision fce5efd1: rpc: Pass resolver options to actual resolver
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:30 pm Revision f863d7aa: rpc._RpcProcessor: Make read timeout a non-keyword argument
It is always used and can be set to “None” if intended.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Review...
Michael Hanselmann
05:30 pm Revision dd6d2d09: rpc: Add support for resolver options callback
This adds support for a callback returning name resolver options. This
is required for powercycling offline nodes. Wh...
Michael Hanselmann
05:30 pm ganeti-local Revision f863d7aa: rpc._RpcProcessor: Make read timeout a non-keyword argument
It is always used and can be set to “None” if intended.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Review...
Michael Hanselmann
03:27 pm ganeti-local Revision 20286f7c: QA: Make the ispec values configurable
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
03:27 pm Revision 20286f7c: QA: Make the ispec values configurable
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer

01/04/2012

03:21 pm ganeti-local Revision 995736c6: Update the resource model DD with current state
On my work for instance policies we decided not to overload --force
more, instead we go with a new flag --ignore-ipol...
René Nussbaumer
03:21 pm Revision 995736c6: Update the resource model DD with current state
On my work for instance policies we decided not to overload --force
more, instead we go with a new flag --ignore-ipol...
René Nussbaumer

01/03/2012

02:46 pm Revision cf2a69e1: Add `fping' as a package dependency
fping is needed to correctly handle master ip activation/deactivation
Signed-off-by: Constantinos Venetsanopoulos <c...
Constantinos Venetsanopoulos
« Previous
Next »
 

Also available in: Atom