Activity

From 01/09/2014 to 02/07/2014

02/07/2014

05:40 pm Revision fcc27323: Fix 'UserDown' QA
Increase instance shutdown timeout and make call 'pkill' more
reliable, which should fix the KVM QA.
Signed-off-by: ...
Jose A. Lopes
03:42 pm ganeti-local Revision 1b84e2d7: Note UUID identification change in NEWS file
Signed-off-by: Hrvoje Ribicic <riba@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Hrvoje Ribicic
03:42 pm Revision 1b84e2d7: Note UUID identification change in NEWS file
Signed-off-by: Hrvoje Ribicic <riba@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Hrvoje Ribicic
03:42 pm Revision 13ef1fa5: Allow classic queries to use either names or UUIDs
When UUIDs are used in CLI commands, such addressing of objects fails
or succeeds inconsistently across object types....
Hrvoje Ribicic
03:42 pm ganeti-local Revision 13ef1fa5: Allow classic queries to use either names or UUIDs
When UUIDs are used in CLI commands, such addressing of objects fails
or succeeds inconsistently across object types....
Hrvoje Ribicic
11:15 am Revision 483e3012: NEWS: update with public and private parameters
Also warn about debug mode.
Signed-off-by: Santi Raffa <rsanti@google.com>
Reviewed-by: Jose A. Lopes <jabolopes@goo...
Santi Raffa
11:15 am Revision 285ece5b: SimpleFillOS: add unit tests for OS parameter merging
Adds tests to ensure OS parameters are dealt with consistently.
Signed-off-by: Santi Raffa <rsanti@google.com>
Revie...
Santi Raffa
11:15 am Revision 3062d395: luxid: give stern warnings about debug mode
Luxid as it is can leak private and secret parameters by logging
all requests as they arrive, before any preprocessin...
Santi Raffa
11:15 am Revision da0aa302: OpCodes: modify InstanceReinstall for private, secret params
Modify InstanceReinstall to accept and process private and secret
parameters.
Signed-off-by: Santi Raffa <rsanti@goo...
Santi Raffa
11:14 am Revision 6bce7ba2: OpCodes: modify InstanceCreate for private, secret params
Modify InstanceCreate to accept process private and secret parameters.
Signed-off-by: Santi Raffa <rsanti@google.com...
Santi Raffa
11:14 am Revision 07e3c124: OpCodes: modify ClusterSetParams for private parameters
Modify ClusterSetParams to accept and process private parameters.
Signed-off-by: Santi Raffa <rsanti@google.com>
Rev...
Santi Raffa
11:14 am Revision a0eeb01a: CLI: add parameters for private and secret OS parameters
Define the CLI parameters for private and OS parameters.
Signed-off-by: Santi Raffa <rsanti@google.com>
Reviewed-by:...
Santi Raffa
11:14 am Revision 1a182390: OpCodes: modify InstanceSetParams for private parameters
Modify InstanceSetParams to accept and process private parameters.
Signed-off-by: Santi Raffa <rsanti@google.com>
Re...
Santi Raffa
11:14 am Revision a5efec93: Add private OS parameters to cluster and instance conf
This updates objects, constructors and mocks for Instance and Cluster
objects in Python and Haskell.
Signed-off-by: ...
Santi Raffa
11:13 am Revision 92389be9: algo: add GetRepeatedKeys
We do not want public, private and secret parameters to have
overlapping keys. This function implements this check.
...
Santi Raffa
11:13 am Revision 560ef132: serializer: emit and encode Private values
For inbound data the simplest, safest thing to do is to traverse all
JSON right after encoding and search for private...
Santi Raffa
11:13 am Revision 4884f187: Add Private types to Python, Haskell
This commit adds the private containers to Python and Haskell.
Signed-off-by: Santi Raffa <rsanti@google.com>
Review...
Santi Raffa
11:13 am Revision 9d929656: OpCodes test: fix argument order (expected/but got)
Fix expected/but got value in some unit tests.
Signed-off-by: Santi Raffa <rsanti@google.com>
Reviewed-by: Jose A. L...
Santi Raffa
11:10 am Revision d4102e0c: RPCs: add docstrings for instance_os_add
This RPC's instance_osp input has a non-obvious, non documented
type. This patch adds documentation to this RPC.
Sig...
Santi Raffa
10:20 am Revision 9269d118: design: simplify how luxid determins job termination
With the job files, we already have designated files per job. So
there is no need to additionally signal through a so...
Klaus Aehlig

02/06/2014

05:14 pm Revision 0ee0bc74: Switch to luxid for RAPI
...now that luxid knows of all RAPI requests.
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Petr Pudl...
Klaus Aehlig
05:14 pm Revision 88772d17: Remove wildcard luxi operation matching in luxid
In that way, we explicitly name the operations that are not
handled by luxid and explain the reason. In particular, w...
Klaus Aehlig
05:14 pm Revision 0349f9c6: Implement QueryExports in luxid
...by handling as a classical query, using that queries for
export are already implemented. Note that QueryExport is ...
Klaus Aehlig
03:34 pm Revision 90f089c2: Add instance communication CLI flags to the man page
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Jose A. Lopes
03:34 pm Revision dc1fe8df: Add 'kvm-ifup-os' to configure instance communication TAP
The script 'tools/kvm-ifup-os' configures TAP network interfaces for
for instances, routing, DHCP server, etc. Note ...
Jose A. Lopes
03:34 pm Revision 015f1517: Add CLI and OpCode instance communication option
* Add command-line interface flag to enable instance communication
* Add instance communication parameter to the opco...
Jose A. Lopes
03:34 pm Revision 81c222af: Add extra NIC to instance being created for communication
When an instance is being created, add an extra NIC (if necessary)
which is meant to be used by the instance communic...
Jose A. Lopes
03:34 pm Revision 81c717cd: Generate TAP names ('gnt.com.%d') for instance comm NICs
* Add helper function that generates names of the form 'gnt.com.%d'
which are the names for the TAP interfaces mean...
Jose A. Lopes
03:34 pm Revision 89473be8: Add TAP interface name as argument in '_OpenTap'
This is necessary in order to create TAP interfaces for the
communication mechanism, which are named 'gnt.com.%d', wh...
Jose A. Lopes
03:34 pm Revision 3af1359f: Add metadata daemon
... including, user, group, daemonizing code with command line
options, integration with the Snap HTTP server, and lo...
Jose A. Lopes
02:57 pm Revision b0159850: Update the steps for implementing WConfD in the daemons doc
After Step 1 WConfD will handle the access to the configuration
and will allow job-as-processes to access it.
Signed...
Petr Pudlak
02:57 pm Revision 2de55c83: Add job death detection to the daemons refactoring doc
Describe how to use file lock to implement it in a POSIX compliant way.
Signed-off-by: Petr Pudlak <pudlak@google.co...
Petr Pudlak
02:27 pm Revision 4de4b66c: Let Haddock also generate Hoogle documentation
The Hoogle database is generated to doc/api/hs/ganeti.txt when Haddock
is run. The database can be used by developers...
Petr Pudlak
02:16 pm Revision a2dbdd82: Merge branch 'stable-2.11' into master
* stable-2.11
Implement ChangeJobPriority in luxid
Provide a function to change the priority of a queued job
Wh...
Klaus Aehlig
01:58 pm ganeti-local Revision adf082f3: Remove NEWS entry for 2.9.4
Remove the NEWS entry for 2.9.4 temporarily until it actually gets
released. Otherwise check-news would complain abou...
Thomas Thrainer
01:58 pm Revision adf082f3: Remove NEWS entry for 2.9.4
Remove the NEWS entry for 2.9.4 temporarily until it actually gets
released. Otherwise check-news would complain abou...
Thomas Thrainer
12:50 pm ganeti-local Revision c02b8f91: Document the change of noded's group in NEWS
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Thomas Thrainer <thomasth@google.com>
Klaus Aehlig
12:50 pm Revision c02b8f91: Document the change of noded's group in NEWS
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Thomas Thrainer <thomasth@google.com>
Klaus Aehlig
12:45 pm ganeti-local Revision ddd667f7: Merge branch 'stable-2.9' into stable-2.10
* stable-2.9
Make the LUInstanceCreate return node names, not UUIDs
Document new handling of degraded instances i...
Thomas Thrainer
12:45 pm Revision ddd667f7: Merge branch 'stable-2.9' into stable-2.10
* stable-2.9
Make the LUInstanceCreate return node names, not UUIDs
Document new handling of degraded instances i...
Thomas Thrainer
12:43 pm Revision 155df343: Change return type of internal rmJob
...to also provide the job itself. In this way, the function can
also be used for tasks that require temporarily remo...
Klaus Aehlig
12:43 pm Revision f7743189: When enqueuing new jobs, respect job ID
When adding new jobs, don't add them at the end, but at a
position that fits with their job id. In this way, we can
b...
Klaus Aehlig
12:43 pm Revision 7711f32b: Implement ChangeJobPriority in luxid
For jobs still queued, we ask the queue to change the priority,
and replicate the changed job. For jobs that have alr...
Klaus Aehlig
12:43 pm Revision 96d55b50: Provide a function to change the priority of a queued job
There is a separation of responsibilities here. For jobs still
in the queue, it is the responsibility of the queue (s...
Klaus Aehlig
12:43 pm Revision a7ab381a: Add a function changing the priority of an opcode
This pure function follows the semantic that an opcode, including
its priority, may only be changed if the opcode is ...
Klaus Aehlig
12:43 pm Revision a6b33b72: Add a function to change the priority of a job
...by changing the priority of the non-finished opcodes.
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by...
Klaus Aehlig
12:43 pm Revision 27a5367a: Add functions for manipulating errors in Result(T)
There is often need to manipulate these errors, for example to convert a String
from Result into an exception. These ...
Petr Pudlak
12:43 pm Revision e061eb16: Remove FromString in favor of Error from standard libraries
They have the very same functionality, and using our own FromString only
causes unnecessary code duplication.
Signed...
Petr Pudlak
12:42 pm Revision f2e06f0f: Add Alternative instances for GenericResult and ResultT
This allows to use Alternative specific combinators, namely `optional`.
Signed-off-by: Petr Pudlak <pudlak@google.co...
Petr Pudlak
10:49 am Revision 7231ca26: Workaround for monitor bug related to greeting msg
QMP may return multiple greeting messages upon connection.
This is reported on qemu-devel. The fix is one-liner but
u...
Dimitris Aragiorgis
10:49 am ganeti-local Revision 7231ca26: Workaround for monitor bug related to greeting msg
QMP may return multiple greeting messages upon connection.
This is reported on qemu-devel. The fix is one-liner but
u...
Dimitris Aragiorgis
10:49 am Revision 066f16b0: hotplug: Verify if a command succeeded or not
Just after issuing _CallHoplugCommands() we invoke
_VerifyHotplugCommand() which parses `info pci` result
and searche...
Dimitris Aragiorgis
10:49 am ganeti-local Revision 066f16b0: hotplug: Verify if a command succeeded or not
Just after issuing _CallHoplugCommands() we invoke
_VerifyHotplugCommand() which parses `info pci` result
and searche...
Dimitris Aragiorgis
10:49 am ganeti-local Revision 89c10241: hotplug: Call each qemu commmand with an own socat
Previously we issued one socat command with two "\n" separated
actions (e.g. netdev_add ...\ndevice_add...)
After ha...
Dimitris Aragiorgis
10:49 am Revision 89c10241: hotplug: Call each qemu commmand with an own socat
Previously we issued one socat command with two "\n" separated
actions (e.g. netdev_add ...\ndevice_add...)
After ha...
Dimitris Aragiorgis

02/05/2014

08:01 pm ganeti-local Revision 12321d90: Merge branch 'stable-2.8' into stable-2.9
* stable-2.8
Fix execution group of NodeD
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Jose A. Lop...
Klaus Aehlig
08:01 pm Revision 12321d90: Merge branch 'stable-2.8' into stable-2.9
* stable-2.8
Fix execution group of NodeD
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Jose A. Lop...
Klaus Aehlig
07:51 pm ganeti-local Revision 97b7831a: Fix execution group of NodeD
The Node deamon was executed with the wrong gid (gnt-daemons) instead of the one
assigned to it by configure.ac.
Fix...
Michele Tartara
07:51 pm Revision 97b7831a: Fix execution group of NodeD
The Node deamon was executed with the wrong gid (gnt-daemons) instead of the one
assigned to it by configure.ac.
Fix...
Michele Tartara

02/04/2014

04:30 pm Revision 66e40fd6: Catch exceptions in 'readConfig' in Ganeti.Config
.. and convert them into a "Result".
This is accomplished by using "liftIO" from ResultT.
Signed-off-by: Petr Pudlak...
Petr Pudlak
04:30 pm Revision 69bf84e1: Catch errors in 'lockFile' in Ganeti.Utils
Opening a file can fail as well, so catch errors there too.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-...
Petr Pudlak
04:12 pm Revision b775af80: Assert correct usage of AndRestArguments fields
The special field andRestArguments is intended to be only used
as the last field of an object, catching all remaining...
Klaus Aehlig
04:09 pm Revision adec726e: Fix missing '@raise' in docstring
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Jose A. Lopes
04:09 pm Revision 32542155: Fix missing '@raise' in docstring
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Jose A. Lopes
04:09 pm Revision 002764e8: Fix missing 'L{...}' in docstring
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Jose A. Lopes
04:09 pm Revision 472cc1e9: Rename 'CdromOption' to '_CdromOption'
... because it is a protected definition.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Michele T...
Jose A. Lopes
04:09 pm Revision 582bfaf6: Fix whitespace
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Jose A. Lopes
03:47 pm Revision ed6d006b: ifdown: Use new methods to unconfigure NICs
We unconfigure a NIC (invoke ifdown script) during:
* instance cleanup
* finalizing successful migration on source n...
Dimitris Aragiorgis
03:47 pm Revision 31a2b501: ifdown: Use new methods to create NIC files
NIC files containing corresponding tap name are created during:
* instance startup
* NIC hot-add
For compatibility ...
Dimitris Aragiorgis
03:33 pm Revision a97bcacf: ifdown: Introduce _UnconfigureNIC() helper method
This method takes a NIC object, creates the proper invironment
and invokes ifdown script.
It takes an extra boolean ...
Dimitris Aragiorgis
03:14 pm Revision 45907709: Merge branch 'stable-2.11' into master
* stable-2.11
Add andRestArguments to IDiskParams
Add function providing the canonical andRestArguments
Add gen...
Petr Pudlak
03:04 pm Revision 12eaf843: ifdown: Make Read/LoadKVMRuntime classmethods
.. and make LoadKVMRuntime() take instance_name rather than the
whole instance object as first argument. This will be...
Dimitris Aragiorgis
02:56 pm Revision cc3a2cd9: ifdown: Extract env creation from ConfigureNic()
Introduce new helper method that creates the environment passed
to ifup/ifdown scripts. Instance tags and NIC index w...
Dimitris Aragiorgis
02:25 pm Revision 9dcc20b4: ifdown: Introduce helper methods
Until now Ganeti upon TAP creation, a NIC file was created
under $RUNDIR/kvm-hypervisor/nic/<instance_name>/<nic_inde...
Dimitris Aragiorgis
10:51 am Revision 2e09344f: Add andRestArguments to IDiskParams
In this way, we cann pass through the opaque parameters
required for disk creation and modification in the case of
ex...
Klaus Aehlig
10:51 am Revision 4e4821bd: Add function providing the canonical andRestArguments
The field catching the remaining fields will always be of the same
shape, so add a function for this to make usage si...
Klaus Aehlig
10:51 am Revision db9583f2: Add genAndRestArguments :: Gen (Map String JSValue)
So that objects using AndRestArguments are available for testing.
As the AndRestArguments are intended for passing th...
Klaus Aehlig
10:51 am Revision c2442429: Add additional constructor AndRestArguments to OptionalType
A field of this type will capture all the remaining fields
of an object as JSValues. Obviously, the intended use is
t...
Klaus Aehlig
10:51 am Revision b26a275a: Fix specification of TIDiskParams
Commit 580b1fdd incorrectly assumes that disk parameters are
just the standard ones, whereas the man page explicitly ...
Klaus Aehlig
10:48 am Revision bddc92ee: Make BlockDev subclasses adhere the interface for Create
In commit 702c3270 two new parameters were added to the
Create function of BlockDev. Make subclasses also adhere
this...
Klaus Aehlig

02/03/2014

11:50 pm Revision 0585ede0: Change kvm-if* scripts
* Rename kvm-vif-bridge to kvm-ifup-custom
* Search if /etc/ganeti/kvm-if*-custom is available
and execute it inste...
Dimitris Aragiorgis
11:50 pm Revision a4156442: Add example kvm-ifdown script
This script currently does nothing more that calling user the
user provided one if it exists.
User provided script s...
Dimitris Aragiorgis
11:50 pm Revision 5063d1d5: (kvm) Hotplug a device found only in config.data
A device can be added *only* in config.data by omitting `--hotplug`
option. With this patch we allow this device to b...
Dimitris Aragiorgis
11:49 pm Revision 86b60f21: (2.10) Workaround for monitor bug related to greeting msg
QMP may return multiple greeting messages upon connection.
This is reported on qemu-devel. The fix is one-liner but
u...
Dimitris Aragiorgis
11:49 pm Revision 065d194b: (2.10) hotplug: Verify if a command succeeded or not
Just after issuing _CallHoplugCommands() we invoke
_VerifyHotplugCommand() which parses `info pci` result
and searche...
Dimitris Aragiorgis
11:48 pm Revision 84ba0048: (2.10) hotplug: Each hotplug qemu commmand with a separate socat
Previously we issued one socat command with two "\n" separated
actions (e.g. netdev_add ...\ndevice_add...)
After ha...
Dimitris Aragiorgis
11:47 pm Revision 5e4475de: (2.9) Gracefully handle degraded instances in verification
The current code assumes that every instance either is of type
diskless or has at least one disk. However, with the o...
Klaus Aehlig
11:47 pm Revision 3f08994d: (2.9) Preserve disk basename on instance rename
For file-based instances, upon rename, the directory containing
the instance disks is moved. Therefore, the basename ...
Klaus Aehlig
11:47 pm Revision 6be5f3e0: (2.9) Be aware of the degraded case when cleaning up an instance
In the case of a degraded file-based instance, the file storage directory
for that instance cannot be obtained by loo...
Klaus Aehlig
11:47 pm Revision 6839584c: (2.9) Assign unique filenames to filebased disks
With the new format for cmdline arguments, the user is able to add a
disk to an instance at a specific index. But fil...
Ilias Tsitsimpis
05:45 pm Revision b7a990e3: Make the LUInstanceCreate return node names, not UUIDs
The LUInstanceCreate returned names instead of UUIDs in 2.6. Along the
way, the names were internally replaced with U...
Hrvoje Ribicic
05:45 pm ganeti-local Revision b7a990e3: Make the LUInstanceCreate return node names, not UUIDs
The LUInstanceCreate returned names instead of UUIDs in 2.6. Along the
way, the names were internally replaced with U...
Hrvoje Ribicic
04:16 pm Revision c032b2ce: Make BlockDev subclasses adhere to new interface
In commit 702c3270 two new parameters were added to the
constructor of BlockDev. Make the subclassess accept these
ad...
Klaus Aehlig

01/31/2014

06:28 pm Revision 702c3270: Make disk.name and disk.uuid available in bdev
Until now Disk name and uuid was not available on bdev level.
In case of ExtStorage, this info is useful, and may be ...
Dimitris Aragiorgis
12:07 pm ganeti-local Revision 401b773e: upgrade: start daemons after ensure-dirs
On upgrading a cluster, we only can rely on daemons starting
up cleanly, if all needed directories are generated firs...
Klaus Aehlig
12:07 pm Revision 401b773e: upgrade: start daemons after ensure-dirs
On upgrading a cluster, we only can rely on daemons starting
up cleanly, if all needed directories are generated firs...
Klaus Aehlig
12:07 pm ganeti-local Revision 5ac19ed3: upgrade design: ensure-dirs before starting daemons
Align the automatic upgrade procedure with the manual upgrade
instructions and run ensure-dirs before starting the ne...
Klaus Aehlig
12:07 pm Revision 5ac19ed3: upgrade design: ensure-dirs before starting daemons
Align the automatic upgrade procedure with the manual upgrade
instructions and run ensure-dirs before starting the ne...
Klaus Aehlig

01/30/2014

06:28 pm ganeti-local Revision afe6bec5: Document new handling of degraded instances in NEWS
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google.com>
Klaus Aehlig
06:28 pm Revision afe6bec5: Document new handling of degraded instances in NEWS
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google.com>
Klaus Aehlig
06:28 pm ganeti-local Revision 099ed3b2: Gracefully handle degraded instances in verification
The current code assumes that every instance either is of type
diskless or has at least one disk. However, with the o...
Klaus Aehlig
06:28 pm Revision 099ed3b2: Gracefully handle degraded instances in verification
The current code assumes that every instance either is of type
diskless or has at least one disk. However, with the o...
Klaus Aehlig
06:28 pm ganeti-local Revision 7e219d1b: Be aware of the degraded case when cleaning up an instance
In the case of a degraded file-based instance, the file storage directory
for that instance cannot be obtained by loo...
Klaus Aehlig
06:28 pm Revision 7e219d1b: Be aware of the degraded case when cleaning up an instance
In the case of a degraded file-based instance, the file storage directory
for that instance cannot be obtained by loo...
Klaus Aehlig
06:14 pm ganeti-local Revision ebbdde89: Fix network management section in admin.rst
..and clarify that IPv6 info currently does not get used
by Ganeti it self.
Signed-off-by: Dimitris Aragiorgis <dima...
Dimitris Aragiorgis
06:14 pm Revision ebbdde89: Fix network management section in admin.rst
..and clarify that IPv6 info currently does not get used
by Ganeti it self.
Signed-off-by: Dimitris Aragiorgis <dima...
Dimitris Aragiorgis
06:05 pm Revision b13fa4c4: Add script that checks the copyrights of a dirty local repo
Script to check whether the local dirty commits are changing files
which do not have an updated copyright.
The scrip...
Jose A. Lopes
05:45 pm Revision 1ab752c8: Add 'dnsmasq' section and TAP interface names
* add section 'dnsmasq' explaining how to configure dnsmasq to work
with the communication mechanism
* add names t...
Jose A. Lopes
05:28 pm ganeti-local Revision f69cca40: Adapt release date for 2.10.0-rc2
Postpone the rc2 release to Friday 31st.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Michele T...
Thomas Thrainer
05:28 pm Revision f69cca40: Adapt release date for 2.10.0-rc2
Postpone the rc2 release to Friday 31st.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Michele T...
Thomas Thrainer
04:11 pm Revision f9666f00: User new error handling functions in SubmitJobToDrainedQueue
This somewhat shortens and simplifies the code.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus Ae...
Petr Pudlak
04:10 pm Revision 8383b3b6: Use new error functions when querying locks
This helps to handle errors coming from the Luxi client.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by:...
Petr Pudlak
04:10 pm Revision 38e4d732: Use new error handling functions for querying jobs
Since we already touched getJobIDs, and this function is already based
on ResultT, use new error functions here as we...
Petr Pudlak
04:10 pm Revision ea7032da: Update getDirJobIDs to use ResultT
Also simplify code and remove unused functions.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus Ae...
Petr Pudlak
04:10 pm Revision fb54b24a: Improve liftIO of ResultT to catch IOErrors
Any IOErrors are now captured in ResultT's liftIO using try and converted into
'Bad'. This prevents IO exceptions fro...
Petr Pudlak
04:10 pm Revision f59cefcb: Rename 'resultT' to 'toError'
.. to better correspond to its generalized type.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus A...
Petr Pudlak
04:10 pm Revision 87f15934: Generalize type signatures of functions that produce Result
This allows them to be used in any 'MonadError', in particular in monad stacks
composed using ResultT, without explic...
Petr Pudlak
04:10 pm Revision 426f0900: Add withErrorLogAt which annotates and logs errors
.. and rethrows them within a MonadError. This allows to just log errors
and let them be handled elsewhere.
Signed-o...
Petr Pudlak
04:10 pm Revision 565821d1: Add functions for manipulating errors in Result(T)
There is often need to manipulate these errors, for example to convert a String
from Result into an exception. These ...
Petr Pudlak
04:10 pm Revision 861ddf80: Refactor instance MonadLog (ReaderT r m) to unify style
.. with MonadLog (ResultT e m) to be more point-free.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Kl...
Petr Pudlak
04:10 pm Revision d2029364: Add instance MonadLog for ResultT
This allows to log in monad stacks containing ResultT.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: K...
Petr Pudlak
04:10 pm Revision a87a017b: Remove FromString in favor of Error from standard libraries
They have the very same functionality, and using our own FromString only
causes unnecessary code duplication.
Signed...
Petr Pudlak
02:48 pm ganeti-local Revision acd59944: Document changes to file-based disks in NEWS
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google.com>
Klaus Aehlig
02:48 pm Revision acd59944: Document changes to file-based disks in NEWS
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google.com>
Klaus Aehlig
02:48 pm Revision 9e14897d: Preserve disk basename on instance rename
For file-based instances, upon rename, the directory containing
the instance disks is moved. Therefore, the basename ...
Klaus Aehlig
02:48 pm ganeti-local Revision 9e14897d: Preserve disk basename on instance rename
For file-based instances, upon rename, the directory containing
the instance disks is moved. Therefore, the basename ...
Klaus Aehlig
11:03 am Revision 8d61946f: Merge branch 'stable-2.11' into master
* stable-2.11
Make safeRenameFile create dirs with defined permissions
Add constant for subdir permissions within...
Petr Pudlak

01/29/2014

06:07 pm ganeti-local Revision fb7caa2c: Revision bump for 2.10.0-rc2
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Jose A. Lopes <jabolopes@google.com>
Thomas Thrainer
06:07 pm Revision fb7caa2c: Revision bump for 2.10.0-rc2
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Jose A. Lopes <jabolopes@google.com>
Thomas Thrainer
06:07 pm Revision 1f44ad47: Update NEWS file in preparation of 2.10.0rc2
Include changes made in 2.8, 2.9 and in 2.10 in the NEWS file.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
...
Thomas Thrainer
06:07 pm ganeti-local Revision 1f44ad47: Update NEWS file in preparation of 2.10.0rc2
Include changes made in 2.8, 2.9 and in 2.10 in the NEWS file.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
...
Thomas Thrainer
05:26 pm ganeti-local Revision 2a199cbb: Update NEWS file
This patch updates the NEWS file with NEWS of the bugfix, adding the
new 2.9.4 version in progress.
Signed-off-by: H...
Hrvoje Ribicic
05:26 pm Revision 2a199cbb: Update NEWS file
This patch updates the NEWS file with NEWS of the bugfix, adding the
new 2.9.4 version in progress.
Signed-off-by: H...
Hrvoje Ribicic
05:26 pm ganeti-local Revision 6228acdf: Modify test to reflect RAPI operation changes
A rlib2 unittest tested for the wrong behaviour, and this patch changes
the inputs and expected values to account for...
Hrvoje Ribicic
05:26 pm Revision 6228acdf: Modify test to reflect RAPI operation changes
A rlib2 unittest tested for the wrong behaviour, and this patch changes
the inputs and expected values to account for...
Hrvoje Ribicic
05:26 pm Revision 2ee9171a: Add QA tests for RAPI multi-instance allocation
The instance multi-allocation had no tests to detect its breakage, and
this patch fixes that.
Signed-off-by: Hrvoje ...
Hrvoje Ribicic
05:26 pm ganeti-local Revision 2ee9171a: Add QA tests for RAPI multi-instance allocation
The instance multi-allocation had no tests to detect its breakage, and
this patch fixes that.
Signed-off-by: Hrvoje ...
Hrvoje Ribicic
05:26 pm ganeti-local Revision d9fdd354: Fix multi-allocation RAPI method
The OpInstanceMultiAlloc that the instances-multi-alloc RAPI method
uses accepts a list of OpInstanceCreate opcodes r...
Hrvoje Ribicic
05:26 pm Revision d9fdd354: Fix multi-allocation RAPI method
The OpInstanceMultiAlloc that the instances-multi-alloc RAPI method
uses accepts a list of OpInstanceCreate opcodes r...
Hrvoje Ribicic
03:59 pm Revision ccded668: Fix bracket style in rapi-workload
Pep8 complained about bracket indentation. This fixes it to satisfy Pep8
as well as our style guide.
Signed-off-by: ...
Petr Pudlak
03:59 pm Revision b9202225: Replace duplicated code with readJSONWithDesc
JSON errors were annotated at other places, so use the function there as
well.
Signed-off-by: Petr Pudlak <pudlak@go...
Petr Pudlak
03:59 pm Revision a3dabca9: When parsing fields, annotate JSON errors with names
This allows better debugging of failed JSON conversions.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by:...
Petr Pudlak
03:59 pm Revision 885dafbc: Add a function that enhances readJSON error messages
If an error occurs, the error message is annotated with a given textual
description of the parsed type and optionally...
Petr Pudlak
03:12 pm Revision 0c09ecc2: Make safeRenameFile create dirs with defined permissions
If, and only if, safeRenameFile creates a new directory, make sure
it has well defined permissions. While there, also...
Klaus Aehlig
03:12 pm Revision f23daea8: Add constant for subdir permissions within the job queue
When archiving jobs, new directories have to be created, as
jobs are archived in groups of 10000. Add a constant desc...
Klaus Aehlig
03:12 pm Revision 96a4ebb8: Add utility to fix permissions
Especially when creating new directories, we need to make sure
ownership and permissions are set correctly. Provide a...
Klaus Aehlig
03:12 pm Revision ac81a213: Add data type describing permissions and possibly owners
When creating new files, and, more importantly, new directories
it is relevant to set permissions, and possibly owner...
Klaus Aehlig
01:50 pm ganeti-local Revision 213ffbb1: Add Network Management section in admin.rst
This section provides some basic info regarding gnt-network design,
adds a simple hands-on example and refers to exte...
Dimitris Aragiorgis
01:50 pm Revision 213ffbb1: Add Network Management section in admin.rst
This section provides some basic info regarding gnt-network design,
adds a simple hands-on example and refers to exte...
Dimitris Aragiorgis

01/28/2014

06:05 pm ganeti-local Revision 94e252a3: Assign unique filenames to filebased disks
With the new format for cmdline arguments, the user is able to add a
disk to an instance at a specific index. But fil...
Ilias Tsitsimpis
06:05 pm Revision 94e252a3: Assign unique filenames to filebased disks
With the new format for cmdline arguments, the user is able to add a
disk to an instance at a specific index. But fil...
Ilias Tsitsimpis
05:10 pm Revision 1dec44b2: Add missing import
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google.com>
Klaus Aehlig
03:17 pm Revision baaa2ece: Merge branch 'stable-2.10' into stable-2.11
* stable-2.10
Enable network tags in Haskell code
Haskell style: explicit errors, visible in the type
Clarify s...
Klaus Aehlig
12:24 pm ganeti-local Revision e10c4a69: Enable network tags in Haskell code
Prior to the creation of the 2.10 branch, network tags were broken, and
the Haskell code introduced there mistakenly ...
Hrvoje Ribicic
12:24 pm Revision e10c4a69: Enable network tags in Haskell code
Prior to the creation of the 2.10 branch, network tags were broken, and
the Haskell code introduced there mistakenly ...
Hrvoje Ribicic

01/27/2014

05:36 pm ganeti-local Revision 410945f1: Merge branch 'stable-2.9' into stable-2.10
* stable-2.9
Revision bump for 2.9.3
Schedule 2.9.3 release
Document fix of issue 691 in NEWS
NEWS: fix typo ...
Klaus Aehlig
05:36 pm Revision 410945f1: Merge branch 'stable-2.9' into stable-2.10
* stable-2.9
Revision bump for 2.9.3
Schedule 2.9.3 release
Document fix of issue 691 in NEWS
NEWS: fix typo ...
Klaus Aehlig
02:50 pm Revision b75430d9: Add 'provider' to IDiskParams
IDISK_PROVIDER was included in python's IDISK_PARAMS, so it
should also be included in the Haskell code.
Now that lu...
Ilias Tsitsimpis
11:38 am ganeti-local Revision 16b85a3c: Haskell style: explicit errors, visible in the type
While it is already standard in the Ganeti code base, explicitly
document that we do not like Exceptions and use sum ...
Klaus Aehlig
11:38 am Revision 16b85a3c: Haskell style: explicit errors, visible in the type
While it is already standard in the Ganeti code base, explicitly
document that we do not like Exceptions and use sum ...
Klaus Aehlig
11:38 am ganeti-local Revision b10df4de: Clarify spacing in record syntax
So far, our code base does not have a consistent way of spacing
records. To work towards more consistency, add a reco...
Klaus Aehlig
11:38 am ganeti-local Revision 7bd8ce44: Improve the point-free section of the style guide
Distinguish declaring functions in the point-free style and using
a very similar technique to avoid parentheses (whic...
Petr Pudlak
11:38 am ganeti-local Revision a41a1eec: Add code style document to documentation
The Ganeti code style has been stored on the project wiki at:
https://code.google.com/p/ganeti/wiki/StyleGuide
h...
Santi Raffa
11:38 am Revision b10df4de: Clarify spacing in record syntax
So far, our code base does not have a consistent way of spacing
records. To work towards more consistency, add a reco...
Klaus Aehlig
11:38 am Revision a41a1eec: Add code style document to documentation
The Ganeti code style has been stored on the project wiki at:
https://code.google.com/p/ganeti/wiki/StyleGuide
h...
Santi Raffa
11:38 am Revision 7bd8ce44: Improve the point-free section of the style guide
Distinguish declaring functions in the point-free style and using
a very similar technique to avoid parentheses (whic...
Petr Pudlak
11:37 am ganeti-local Revision bced76fd: Export docs from wiki to repo
Export documents about 'cluster keys replacement' and 'design file
based storage' from the wiki to the repository.
S...
Jose A. Lopes
11:37 am Revision bced76fd: Export docs from wiki to repo
Export documents about 'cluster keys replacement' and 'design file
based storage' from the wiki to the repository.
S...
Jose A. Lopes
11:18 am ganeti-local Revision 8dba1797: Revision bump for 2.9.3
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Jose Lopes <jabolopes@google.com>
Klaus Aehlig
11:18 am Revision 8dba1797: Revision bump for 2.9.3
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Jose Lopes <jabolopes@google.com>
Klaus Aehlig
11:18 am ganeti-local Revision 57293135: Schedule 2.9.3 release
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Jose Lopes <jabolopes@google.com>
Klaus Aehlig
11:18 am Revision 57293135: Schedule 2.9.3 release
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Jose Lopes <jabolopes@google.com>
Klaus Aehlig
10:50 am Revision 918512c0: Fix chroot for sid to include the development tools
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Jose A. Lopes

01/24/2014

05:06 pm Revision 45f75526: Disabling client certificate usage
This patch temporarily disables the usage of the client
SSL certificates. The handling of RPC connections had a
conce...
Helga Velroyen
02:38 pm Revision 658eb2dc: Implement auto-archiving of jobs
As luxid is taking over the handling of the job queue, it
also needs to handle the automated archiving of jobs. Here
...
Klaus Aehlig
02:38 pm Revision c867cfe1: Add a utility function to try archiving jobs
Provide a function that walks through a list of job ids and
archives them if appropriate. Abort that process if a giv...
Klaus Aehlig
02:38 pm Revision 8b5a4b9a: Support computation on Timestamp
As timestamps are also used to determine if an event is sufficiently
long in the past (e.g., on archiving jobs), supp...
Klaus Aehlig
02:38 pm Revision ae66f3a9: Add constructor function for Timestamp
Provide means to get Ganeti's internal timestamps
from standard clock time.
Signed-off-by: Klaus Aehlig <aehlig@goog...
Klaus Aehlig
02:38 pm Revision 370f63be: Add a predicate on Jobs on whether it can be archived
Jobs usually are archived a given time after they have finished.
For finalized jobs without end-time, the start-time ...
Klaus Aehlig
02:38 pm Revision 857cbfb1: Make ArchiveJob in luxid create the archive, if necessary
As jobs are archived in groups of 10000, creating new subdirectories
of the archive might be necessary when archiving...
Klaus Aehlig
02:38 pm Revision b3f95121: Provide a safe version of rename
...that also creates the target directory, if needed.
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: P...
Klaus Aehlig
02:38 pm Revision f4d0c84a: Fix expectation for the return value of jobqueue_rename
On sucess, jobqueue_rename returns a list containing one
null per change request.
Signed-off-by: Klaus Aehlig <aehli...
Klaus Aehlig
12:45 pm ganeti-local Revision 7c8c6582: Document fix of issue 691 in NEWS
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Jose Lopes <jabolopes@google.com>
Klaus Aehlig
12:45 pm Revision 7c8c6582: Document fix of issue 691 in NEWS
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Jose Lopes <jabolopes@google.com>
Klaus Aehlig
12:15 pm Revision 0bb8c79b: NEWS: fix typo in 2.8.4 release
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Petr Pudlák <pudlak@google.com>
Reviewed-by: Klaus A...
Guido Trotter
12:15 pm ganeti-local Revision 0bb8c79b: NEWS: fix typo in 2.8.4 release
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Petr Pudlák <pudlak@google.com>
Reviewed-by: Klaus A...
Guido Trotter
12:05 pm Revision 30b12688: Fix 'hvparams' of '_InstanceStartupMemory' on hypervisors
Most hypervisors were calling '_InstanceStartupMemory' but not passing
the 'hvparams' keyword argument. Actually, it...
Jose A. Lopes
12:05 pm ganeti-local Revision 30b12688: Fix 'hvparams' of '_InstanceStartupMemory' on hypervisors
Most hypervisors were calling '_InstanceStartupMemory' but not passing
the 'hvparams' keyword argument. Actually, it...
Jose A. Lopes
11:26 am ganeti-local Revision c9c67b50: Add missing option to gnt-instance documentation
Signed-off-by: Hrvoje Ribicic <riba@google.com>
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Klaus Ae...
Hrvoje Ribicic
11:26 am Revision c9c67b50: Add missing option to gnt-instance documentation
Signed-off-by: Hrvoje Ribicic <riba@google.com>
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Klaus Ae...
Hrvoje Ribicic

01/23/2014

06:20 pm ganeti-local Revision b721dfd5: Update NEWS file
With the merge of stable-2.8 into stable-2.9, quite a few fixes
got inherited.
Signed-off-by: Klaus Aehlig <aehlig@g...
Klaus Aehlig
06:20 pm Revision b721dfd5: Update NEWS file
With the merge of stable-2.8 into stable-2.9, quite a few fixes
got inherited.
Signed-off-by: Klaus Aehlig <aehlig@g...
Klaus Aehlig
04:32 pm ganeti-local Revision 5a93930f: Merge branch 'stable-2.8' into stable-2.9
* stable-2.8
Version bump for 2.8.4 and NEWS update
Update NEWS file with news about job cancellation bugfix
Fi...
Klaus Aehlig
04:32 pm Revision 5a93930f: Merge branch 'stable-2.8' into stable-2.9
* stable-2.8
Version bump for 2.8.4 and NEWS update
Update NEWS file with news about job cancellation bugfix
Fi...
Klaus Aehlig
03:10 pm Revision 7618eba2: Haskell style: explicit errors, visible in the type
While it is already standard in the Ganeti code base, explicitly
document that we do not like Exceptions and use sum ...
Klaus Aehlig
12:41 pm ganeti-local Revision 091034b2: Fix disk_type error in hypervisor parameter documentation
According to the code, presenting disks as paravirtual is supported on
both HVM and KVM, while IDE works only on KVM....
Hrvoje Ribicic
12:41 pm Revision 091034b2: Fix disk_type error in hypervisor parameter documentation
According to the code, presenting disks as paravirtual is supported on
both HVM and KVM, while IDE works only on KVM....
Hrvoje Ribicic
12:25 pm Revision 6fadcbab: fix off-by-one error in indentation
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
Klaus Aehlig
12:13 pm Revision 9f7413ab: Version bump for 2.8.4 and NEWS update
Update the version number to 2.8.4 and insert the final details for this
release in the NEWS file, including the rele...
Michele Tartara
12:13 pm ganeti-local Revision 9f7413ab: Version bump for 2.8.4 and NEWS update
Update the version number to 2.8.4 and insert the final details for this
release in the NEWS file, including the rele...
Michele Tartara
12:03 pm Revision 6fdc84ab: Implement ArchiveJob queries in luxid
With luxid taking over the tasks of masterd, archiving
jobs also belongs to its responsibilities. As archiving
a job ...
Klaus Aehlig
12:03 pm Revision 40ad3e85: Add RPC call jobqueue_rename
Archiving jobs is also replicated to all master candidates.
Therefore luxid needs to be aware of this RPC call.
Sign...
Klaus Aehlig

01/22/2014

07:24 pm Revision 1a7c1456: Redesign communication mechanism in light of limitations
Redesign the communication mechanism in light of implementation
limitations that have recently come up in prototypes ...
Jose A. Lopes
07:24 pm Revision 2cb36124: Anchor OS reinstall design doc in Makefile and index
Add OS reinstall design doc to the list of design docs in the
Makefile, otherwise it does not get compiled when modif...
Jose A. Lopes
04:35 pm ganeti-local Revision 1a705513: Run drbdsetup syncer only on network attach
As late as DRBD 8.3.11, the drbdsetup syncer command has a bug causing
nodes to hang from time to time, requiring man...
Hrvoje Ribicic
04:35 pm Revision 1a705513: Run drbdsetup syncer only on network attach
As late as DRBD 8.3.11, the drbdsetup syncer command has a bug causing
nodes to hang from time to time, requiring man...
Hrvoje Ribicic

01/21/2014

05:40 pm Revision c92b4671: Make use of fieldListToFieldMap
...to avoid duplicating that code all over Ganeti.Query.
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by...
Klaus Aehlig
05:39 pm Revision 4fb78549: Provide a utility function to map FieldList to FieldMap
As the same construction is used in several places, it is better
to have it factored out as a named function.
Signed...
Klaus Aehlig
04:05 pm Revision a6e406ce: Add query support for locks to luxid
While requests only get forwarded, it still helps to
get luxid feature-complete with respect to master.
Signed-off-b...
Klaus Aehlig
04:05 pm Revision 86b04819: Provide fields for lock queries
For luxid to be feature-complete with respect to masterd, it
also needs to answer requests about locks. This includes...
Klaus Aehlig
01:40 pm Revision bdc47cb4: Update NEWS file with news about job cancellation bugfix
Signed-off-by: Hrvoje Ribicic <riba@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Hrvoje Ribicic
01:40 pm ganeti-local Revision bdc47cb4: Update NEWS file with news about job cancellation bugfix
Signed-off-by: Hrvoje Ribicic <riba@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Hrvoje Ribicic
01:40 pm Revision e4f485cc: Fix QA flakiness
The newly added job QA has some flakiness with respect to its use of
gnt-job watch. Fix this by waiting until the can...
Hrvoje Ribicic
01:40 pm ganeti-local Revision e4f485cc: Fix QA flakiness
The newly added job QA has some flakiness with respect to its use of
gnt-job watch. Fix this by waiting until the can...
Hrvoje Ribicic
01:40 pm Revision 07becab3: Linting fix: remove unused import
Signed-off-by: Hrvoje Ribicic <riba@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Hrvoje Ribicic
01:40 pm ganeti-local Revision 07becab3: Linting fix: remove unused import
Signed-off-by: Hrvoje Ribicic <riba@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Hrvoje Ribicic

01/20/2014

06:15 pm Revision 4f704244: Remove dead Ganeti.Query.Job.loadRuntimeData
This function was exported from the module, but actually never
used anywhere in the code base. So clean it up.
Signe...
Klaus Aehlig
03:52 pm ganeti-local Revision e26bbde7: Update NEWS file: issue 687 and configure fix
Add entries to the NEWS file for the two user-visible changes that
happened since the last update: issue 687 got fixe...
Klaus Aehlig
03:52 pm Revision e26bbde7: Update NEWS file: issue 687 and configure fix
Add entries to the NEWS file for the two user-visible changes that
happened since the last update: issue 687 got fixe...
Klaus Aehlig
03:05 pm Revision 368e95fd: luxid: fix detection of master node in node query
Ganeti.Config.getNodeRole would rely on clusterMasterNode returning the
master node name, however clusterMasterNode r...
Apollon Oikonomopoulos
03:05 pm ganeti-local Revision 368e95fd: luxid: fix detection of master node in node query
Ganeti.Config.getNodeRole would rely on clusterMasterNode returning the
master node name, however clusterMasterNode r...
Apollon Oikonomopoulos
02:31 pm Revision fe0cabe0: Add missing parameter entry to man file
The gnt-instance manual was lacking an entry for the vnc-password-file
hypervisor parameter. This patch adds one, and...
Hrvoje Ribicic
02:31 pm ganeti-local Revision fe0cabe0: Add missing parameter entry to man file
The gnt-instance manual was lacking an entry for the vnc-password-file
hypervisor parameter. This patch adds one, and...
Hrvoje Ribicic
02:11 pm Revision 66cb789f: Add QA test for job cancellation
This patch introduces a QA test in which a job is cancelled while
waiting.
Signed-off-by: Hrvoje Ribicic <riba@googl...
Hrvoje Ribicic
02:11 pm ganeti-local Revision 66cb789f: Add QA test for job cancellation
This patch introduces a QA test in which a job is cancelled while
waiting.
Signed-off-by: Hrvoje Ribicic <riba@googl...
Hrvoje Ribicic
02:11 pm ganeti-local Revision 054a9d17: Add correct locking of master node to gnt-debug delay
The gnt-debug delay command required locks for all nodes except the
master - this patch fixes the issue by adding mas...
Hrvoje Ribicic
02:11 pm Revision 054a9d17: Add correct locking of master node to gnt-debug delay
The gnt-debug delay command required locks for all nodes except the
master - this patch fixes the issue by adding mas...
Hrvoje Ribicic
02:11 pm ganeti-local Revision 95a4e33f: Add job id type assert to jqueue.py
While the changes introduced in previous patches should stop any job
id parameters reaching the queue as strings, add...
Hrvoje Ribicic
02:11 pm Revision 95a4e33f: Add job id type assert to jqueue.py
While the changes introduced in previous patches should stop any job
id parameters reaching the queue as strings, add...
Hrvoje Ribicic
02:11 pm Revision 7f97eb93: Add job id transformation/check to Luxi Python client
This patch adds checks to the Luxi client, making sure that job ids
are converted from strings to ints before being p...
Hrvoje Ribicic
02:11 pm ganeti-local Revision 7f97eb93: Add job id transformation/check to Luxi Python client
This patch adds checks to the Luxi client, making sure that job ids
are converted from strings to ints before being p...
Hrvoje Ribicic
02:08 pm ganeti-local Revision 1ec34e26: query: fix detection of master in _GetNodeRole()
Commit 1c3231aa changed the invocation of _GetNodeRole() to pass the
master node by UUID and not by name, but didn't ...
Apollon Oikonomopoulos
02:08 pm Revision 1ec34e26: query: fix detection of master in _GetNodeRole()
Commit 1c3231aa changed the invocation of _GetNodeRole() to pass the
master node by UUID and not by name, but didn't ...
Apollon Oikonomopoulos
11:50 am Revision 77676415: When updating job queue, support virtual paths
When replicating parts of the job queue, allow for virtual
paths in the RPC call. In this way, replication will also
...
Klaus Aehlig
11:50 am Revision 4a43365c: Add a module to support virtual clusters
Virtual clusters are an efficient way to test how Ganeti behaves
on a large cluster without requiring a large number ...
Klaus Aehlig
11:50 am Revision 40960882: Move vcluster-related constants to Constants.hs
...as, in that way, they will also be available in Haskell,
where job replication happens as well.
Signed-off-by: Kl...
Klaus Aehlig
11:44 am Revision 00b72896: Start-master/stop-master always fail if confd is disabled
In 'daemons/daemon-util.in', 'start-master' and 'stop-master' always
fail if confd is disabled.
Fixes issue 685.
Si...
Jose A. Lopes
11:44 am ganeti-local Revision 00b72896: Start-master/stop-master always fail if confd is disabled
In 'daemons/daemon-util.in', 'start-master' and 'stop-master' always
fail if confd is disabled.
Fixes issue 685.
Si...
Jose A. Lopes

01/17/2014

02:29 pm Revision 364e1664: Fix KVM cdrom image URL in the second cdrom drive
* The previous patch introduced cdrom image URLs for KVM cdrom drives.
However, it worked only for the first drive ...
Jose A. Lopes
02:29 pm Revision 27b6654e: kvm: check that the ISO image is there if it's a URL
Perform a simple urllib2 check on ISO images specified as URL before
instance start, so as to work around qemu bug #5...
Jose A. Lopes
02:28 pm Revision f15a6b03: Allow KVM to boot from HTTP
New versions of KVM support booting from HTTP-hosted ISO images, via
libcurl. This patch adds a proper check to allow...
Jose A. Lopes
01:45 pm Revision 7b5f0674: Include target node in hooks nodes for migration
In case of DRBD, hooks run on both primary (source) and secondary
(target) nodes. To get the same behavior for DTS_EX...
Dimitris Aragiorgis
01:45 pm ganeti-local Revision 7b5f0674: Include target node in hooks nodes for migration
In case of DRBD, hooks run on both primary (source) and secondary
(target) nodes. To get the same behavior for DTS_EX...
Dimitris Aragiorgis
12:29 pm Revision ae6a0a7c: Fix configure dirs
Fix overridable configure directories, namely, --bindir, --sbindir,
and --mandir.
Variables 'bindir', 'sbindir', and...
Jose A. Lopes
12:29 pm ganeti-local Revision ae6a0a7c: Fix configure dirs
Fix overridable configure directories, namely, --bindir, --sbindir,
and --mandir.
Variables 'bindir', 'sbindir', and...
Jose A. Lopes
11:43 am ganeti-local Revision 4f6b32ca: Docs: Update the version of ganeti-instance-debootstrap
The installation manual used version 0.12, which had some bugs.
This patch updates it to the latest 0.14.
Signed-off...
Petr Pudlak
11:43 am Revision 4f6b32ca: Docs: Update the version of ganeti-instance-debootstrap
The installation manual used version 0.12, which had some bugs.
This patch updates it to the latest 0.14.
Signed-off...
Petr Pudlak
12:04 am Revision e86c427c: Reset version-specific downgrades
As stable-2.11 has been branched off and revisions bumped, downgrades
are now supposed to go to 2.11. Currently they ...
Klaus Aehlig

01/16/2014

07:25 pm Revision 06455b13: Merge branch 'stable-2.11' into master
* stable-2.11
Add 'design-2.11.rst' which kvmd and instance shutdown
Clarify spacing in record syntax
Update NE...
Klaus Aehlig
06:24 pm Revision ae297dc8: Merge branch 'stable-2.10' into stable-2.11
* stable-2.10
Fix 'design-internal-shutdown' not being in a toctree
Instance shutdown doc from draft to partially...
Klaus Aehlig
06:17 pm ganeti-local Revision 55fba029: Fix 'design-internal-shutdown' not being in a toctree
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Jose A. Lopes
06:17 pm Revision 55fba029: Fix 'design-internal-shutdown' not being in a toctree
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Jose A. Lopes
06:01 pm Revision 711897ae: Add 'design-2.11.rst' which kvmd and instance shutdown
Add 'design-2.11.rst' which kvmd and instance shutdown to the
top-level documentation and Makefile.
Signed-off-by: J...
Jose A. Lopes
05:59 pm Revision 7c022e20: Clarify spacing in record syntax
So far, our code base does not have a consistent way of spacing
records. To work towards more consistency, add a reco...
Klaus Aehlig
05:45 pm ganeti-local Revision 450d3c0e: Instance shutdown doc from draft to partially implemented
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Jose A. Lopes
05:45 pm Revision 450d3c0e: Instance shutdown doc from draft to partially implemented
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Jose A. Lopes
05:13 pm Revision ed7f7fd9: Update set_watcher_pause to use ClockTime instead of Double
This only affects the internal representation in the Haskell part.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Re...
Petr Pudlak
05:11 pm Revision febe5934: Update NEWS entry about job scheduling
As the new run-time parameter about job scheduling is user visible,
mention the changes to scheduling in the NEWS fil...
Klaus Aehlig
05:11 pm Revision d520ba2a: Clean up luxidMaxRunningJobs
Now that the number of jobs maximally running in parallel is
a run-time option, this magic constant is not needed any...
Klaus Aehlig
05:11 pm Revision d9dd04b1: Make the scheduler use the max_running_jobs config parameter
Use the run-time configuration to decide on the number of jobs
scheduled for execution instead of using a hard-coded ...
Klaus Aehlig
05:11 pm Revision 6046dca9: Make configuration available to the scheduler
In this way, scheduling decisions can depend on the configuration
of the cluster. At the moment, this is only the max...
Klaus Aehlig
05:11 pm Revision 178ad717: Make max_running_jobs queryable
As we have introduced a new cluster parameter, it should
be also visible when querying about the cluster configuratio...
Klaus Aehlig
05:11 pm Revision ea22736b: Add a command-line parameter for max_running_jobs
...so that this opcode parameter can become available for 'gnt-cluster modify'.
Signed-off-by: Klaus Aehlig <aehlig@...
Klaus Aehlig
05:11 pm Revision ad756c77: Add opcode parameter for the maximal number of running jobs
This parameter of OpClusterSetParams will allow to set the
maximal number of jobs to be run simultaneously.
Signed-...
Klaus Aehlig
05:11 pm Revision cf048aea: Add parameter max_running_jobs to the cluster configuration
This cluster-wide parameter will determine how many non-finalized jobs maximally
should be in a not queued state at t...
Klaus Aehlig
05:11 pm Revision 78209a84: Add Alternative instances for GenericResult and ResultT
This allows to use Alternative specific combinators, namely `optional`.
Signed-off-by: Petr Pudlak <pudlak@google.co...
Petr Pudlak
05:11 pm Revision 74b3f734: Use ClockTime instead of Double in fields in Objects.hs
This affects "mtime" and "ctime" fields in all data types.
This also forces explicit declaration of how the fields a...
Petr Pudlak
05:11 pm Revision 836ccf52: A function for creating time fields that serialize as Double
The function creates fields with custom read/show methods based on
TimeAsDoubleJSON, with the default value of 0 seco...
Petr Pudlak
05:11 pm Revision 6879dfd2: Also fix MaybeForJSON parsing and add unit tests
Its readJSON was mistakenly implemented as an infinite loop.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed...
Petr Pudlak
05:11 pm Revision dde8b625: Add (de)serialization unit tests for TimeAsDoubleJSON
This includes adding an Arbitrary instance for TimeAsDouble, and also an
orphan instance for Arbitrary ClockTime so t...
Petr Pudlak
05:11 pm Revision 5ea9f6cb: Add a newtype wrapper that saves ClockTime as JSON double
This allows to convert ClockTime to JSON and back.
Signed-off-by: Petr Pudlak <pudlak@google.com>
Reviewed-by: Klaus...
Petr Pudlak
05:11 pm Revision d8adc255: Document Field data type used in TH code generation
Describe what types of fields are currently possible and allowed and
what what are the types of their "Q Exp" express...
Petr Pudlak
05:10 pm Revision 596d7b4f: Prohibit fields that are optional with a default value
For fields marked optional we need to keep the information that a value
isn't available. Therefore having a default v...
Petr Pudlak
05:10 pm Revision ee7caf27: A workaround for GHC linking problem "unknown symbol ..."
GHC 7.4 on Debian Wheezy fails to compile after some TH related changes,
reporting
ghc: src/Ganeti/JSON.o: unknown...
Petr Pudlak
05:10 pm Revision eb577716: Fix saveObjectField to work properly with custom fieldShow
Before it only worked for non-optional fields. For optional fields
with custom fieldShow functions, the generated cod...
Petr Pudlak
05:10 pm Revision 0b7bf465: Fix typing problems in TH that generates field code
See #677: The code generated by TH had different types depending on if
a field had a default value and/or custom read...
Petr Pudlak
02:15 pm Revision c777c5fc: Prepare master as new 2.12 branch
This adapts various file to make the current master
branch the new stable-2.12 branch.
Signed-off-by: Helga Velroyen...
Helga Velroyen

01/15/2014

05:48 pm Revision cb8028f3: Simplify 'GetMasterInfo' RPC
RPC 'GetMasterInfo' returns several fields, namely, 'master_netdev',
'master_ip', 'master_netmask', 'master_node', an...
Jose A. Lopes
03:37 pm Revision 96eeb742: Link Xen instance shutdown design doc with KVM's
Update instance shutdown for Xen design document by linking it to the
design document for the KVM daemon and also imp...
Jose A. Lopes
02:34 pm Revision 36cb6837: Implement job cancellation in luxid
As luxid handles the job queue, this daemon is the natural
place to handle job cancellation. Answering to CancelJob r...
Klaus Aehlig
02:34 pm Revision 363dc9d6: Provide a function to compute the canceled version of a job
When a job gets canceled while still queued, dequeuing requires
luxid to mark it as cancelled. So provide the necessa...
Klaus Aehlig
02:34 pm Revision 47c3c7b1: Support canceling dequeued jobs
Even after jobs have been handed over for execution, it might
still be possible to cancel them. On such case would be...
Klaus Aehlig
02:33 pm Revision bb62d52e: Add dequeuing to the job scheduler
This only removes queued jobs from the queue
and indicates whether the job was found in the queue.
For jobs that are ...
Klaus Aehlig
11:27 am Revision c1410048: Add certificate of auto-promoted master candidates to map
When a normal node is auto-promoted to be a master
candidate, its SSL client certificate digest needs
to be added to ...
Helga Velroyen

01/14/2014

02:44 pm Revision 56fca7c5: Bump new upstream version
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr> Dimitris Aragiorgis
02:44 pm Revision 53814172: Merge branch 'stable-2.8-grnet' into debian-2.8-grnet
Dimitris Aragiorgis
02:43 pm Revision 1902c213: (kvm) Remove sleep from HotModDevice
We sleep 2 secs after each hotplug command so the sleep
inside HotModDevice(), that was waiting for the qemu to
actua...
Dimitris Aragiorgis
02:43 pm Revision 7db0ca2a: (kvm) Hotplug a device found only in config.data
A device can be added *only* in config.data by omitting `--hotplug`
option. With this patch we allow this device to b...
Dimitris Aragiorgis
02:43 pm Revision 5fbb57ab: (kvm) Each hotplug qemu commmand with a separate socat
Previously we issued one socat command with two "\n" separated
actions (e.g. netdev_add ...\ndevice_add...) This bump...
Dimitris Aragiorgis
02:43 pm Revision 691d8725: (2.9) Remove deprecated _ERROR_DATA_KEY in QMP
Commit de253f14 of QEMU repo "BREAKS QMP's compatibility for
the error response" as it removes "data" key from qmp er...
Dimitris Aragiorgis
02:43 pm Revision dbbf9700: (kvm) Workaround for QMP misbahavior
After observing TypeErrors during parsing QMP response messages in
GetInstanceInfo(), it seems that something happens...
Dimitris Aragiorgis
02:43 pm Revision ce81990d: (2.10) Include target node in hooks nodes for migration
In case of DRBD, hooks run on both primary (source) and secondary
(target) nodes. To get the same behavior for DTS_EX...
Dimitris Aragiorgis
12:38 pm Revision 62a7853e: Fix Kvmd imports for Ubuntu 13.04 64
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Jose A. Lopes

01/13/2014

07:43 pm Revision 588d0ee4: Unit tests for KVM daemon
Add unit tests for KVM daemon.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Michele Tartara <mta...
Jose A. Lopes
07:43 pm Revision 51958d2a: QA for KVM instance shutdown
Add QA for instance shutdown for KVM.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Michele Tarta...
Jose A. Lopes
07:43 pm Revision 2a60db50: Manpage for 'gnt-instance'
Modify manpage for 'gnt-instance' detailing the 'user_shutdown'
parameter and how it related to the 'acpi' parameter....
Jose A. Lopes
07:43 pm Revision f0caa4be: Manpage for KVM daemon
Add manpage for the KVM daemon.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Michele Tartara <mt...
Jose A. Lopes
07:43 pm Revision 95d70148: Hook KVM hypervisor with KVM daemon shutdown files
* modify the KVM hypervisor to look for the shutdown files created by
the KVM daemon, which determine whether an in...
Jose A. Lopes
07:43 pm Revision afa0fca4: User shutdown hypervisor parameter
Add user shutdown parameter for KVM. Based on this parameter, decide
what information to report for a KVM instance, ...
Jose A. Lopes
07:43 pm Revision 306b855a: Add helper function to tell if a daemon is alive
Add helper function 'utils.IsDaemonAlive' to tell if a daemon is alive
by name. This function will be necessary for ...
Jose A. Lopes
07:43 pm Revision d6769989: Add KVM daemon daemonize
Add KVM daemon entry point, command-line options, backgrounding, etc
Signed-off-by: Jose A. Lopes <jabolopes@google....
Jose A. Lopes
07:43 pm Revision db519e20: Add KVM daemon logic
Add KVM daemon logic, which contains monitors for Qmp sockets and
directory/file watching.
Signed-off-by: Jose A. Lo...
Jose A. Lopes
07:43 pm Revision cf51a981: Generalize and reuse Unix domain sockets
Refactor module 'Ganeti.UDSServer' so the KVM daemon can reuse code
declared in this module to handle Unix domain soc...
Jose A. Lopes
07:43 pm Revision 4084d18f: KVM daemon datatype, user and group
* add user and group to 'configure.ac', 'Makefile.am' and
'AutoConf.hs.in'
* extend 'Daemon' datatype with 'GanetiK...
Jose A. Lopes
07:43 pm Revision 9131274c: Fix whitespace
Fix whitespace in several modules.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Michele Tartara ...
Jose A. Lopes
07:43 pm Revision 91ef0821: Fix according to the Ganeti style guide
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Jose A. Lopes
07:43 pm Revision 570008e3: Fix docstring for 'AsyncStreamServer'
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Jose A. Lopes
05:56 pm Revision 63a3049a: Document automatic actions taken at upgrade
When upgrading from any version below 2.11 to 2.11 or higher,
Ganeti will generate new RPC client certificates when u...
Klaus Aehlig
03:39 pm ganeti-local Revision 47387ccb: Break line longer than 80 chars in configure.ac
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Jose Lopes <jabolopes@google.com>
Klaus Aehlig
03:39 pm Revision 47387ccb: Break line longer than 80 chars in configure.ac
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Jose Lopes <jabolopes@google.com>
Klaus Aehlig
02:41 pm ganeti-local Revision 11a0e343: Technical writing: improve documentation and glossary
Improve structure and content on the main documentation page of Ganeti
and the glossary.
Signed-off-by: Betsy Beyer ...
Jose A. Lopes
02:41 pm Revision 11a0e343: Technical writing: improve documentation and glossary
Improve structure and content on the main documentation page of Ganeti
and the glossary.
Signed-off-by: Betsy Beyer ...
Jose A. Lopes
02:16 pm Revision a347cdc6: configure: allow detection of Sphinx 1.2+
The regular expression used for parsing the Sphinx version does not work
with Sphinx versions after 1.1, as reported ...
Apollon Oikonomopoulos
02:16 pm ganeti-local Revision a347cdc6: configure: allow detection of Sphinx 1.2+
The regular expression used for parsing the Sphinx version does not work
with Sphinx versions after 1.1, as reported ...
Apollon Oikonomopoulos
12:10 pm ganeti-local Revision 02d17fe3: Remove deprecated _ERROR_DATA_KEY in QMP
Commit de253f14 of QEMU repo "BREAKS QMP's compatibility for
the error response" as it removes "data" key from qmp er...
Dimitris Aragiorgis
12:10 pm Revision 02d17fe3: Remove deprecated _ERROR_DATA_KEY in QMP
Commit de253f14 of QEMU repo "BREAKS QMP's compatibility for
the error response" as it removes "data" key from qmp er...
Dimitris Aragiorgis
12:08 pm Revision b121199d: Add generating node certificates as post-upgrade task
While, technically, Ganeti is still working without individual node
certificates, it is considered an error by gnt-cl...
Klaus Aehlig
12:08 pm Revision 9b85ede9: Add utility to compare versions
This will be needed, e.g., for post-upgrade task, as they
have to decide whether a feature was not yet present at
the...
Klaus Aehlig

01/10/2014

02:31 pm Revision 74289509: Merge branch 'stable-2.10' into master
* stable-2.10
Run postupgrade hook after upgrade
Provide path to post-upgrade
Add an empty post-upgrade hook
...
Klaus Aehlig
02:19 pm ganeti-local Revision 4a67e386: Run postupgrade hook after upgrade
To allow for necessary last-moment adaptions, of the new cluster,
we run the post-upgrade hook of the target version,...
Klaus Aehlig
02:19 pm Revision 4a67e386: Run postupgrade hook after upgrade
To allow for necessary last-moment adaptions, of the new cluster,
we run the post-upgrade hook of the target version,...
Klaus Aehlig
02:19 pm Revision 1ef0324f: Provide path to post-upgrade
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Petr Pudlak <pudlak@google.com>
Klaus Aehlig
02:19 pm ganeti-local Revision 1ef0324f: Provide path to post-upgrade
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Petr Pudlak <pudlak@google.com>
Klaus Aehlig
02:19 pm ganeti-local Revision fba59beb: Add an empty post-upgrade hook
As 2.10 is the first version from which you can do automatic upgrades,
there is nothing to do when going to any other...
Klaus Aehlig
02:19 pm Revision fba59beb: Add an empty post-upgrade hook
As 2.10 is the first version from which you can do automatic upgrades,
there is nothing to do when going to any other...
Klaus Aehlig
02:19 pm ganeti-local Revision 4d765a17: design: support post-upgrade hooks
While the general policy for Ganeti is to just accept the situation
it finds after being upgraded from an older versi...
Klaus Aehlig
02:19 pm Revision 4d765a17: design: support post-upgrade hooks
While the general policy for Ganeti is to just accept the situation
it finds after being upgraded from an older versi...
Klaus Aehlig
02:19 pm Revision 3cac836b: Also add the current version to the intent-to-upgrade file
Our design states, that the intent-to-upgrade file contains "the current
version of ganeti, the version to change to,...
Klaus Aehlig
02:19 pm ganeti-local Revision 3cac836b: Also add the current version to the intent-to-upgrade file
Our design states, that the intent-to-upgrade file contains "the current
version of ganeti, the version to change to,...
Klaus Aehlig
10:03 am Revision c8fca479: admin.rst: update and reword disk template section
The disk template section was not updated for Gluster. This commit
also refactors the section slightly by unifying th...
Santi Raffa

01/09/2014

06:17 pm ganeti-local Revision 310c246f: Technical writing: improve main documentation page
Improve structure and content on the main documentation page of
Ganeti.
Signed-off-by: Betsy Beyer <bbeyer@google.co...
Jose A. Lopes
06:17 pm Revision 310c246f: Technical writing: improve main documentation page
Improve structure and content on the main documentation page of
Ganeti.
Signed-off-by: Betsy Beyer <bbeyer@google.co...
Jose A. Lopes
05:54 pm Revision 333bd799: Design document for KVM daemon
Design document for KVM daemon which is needed by the instance
shutdown detection for KVM.
Signed-off-by: Jose A. Lo...
Jose A. Lopes
05:38 pm Revision eea5e916: Improve the point-free section of the style guide
Distinguish declaring functions in the point-free style and using
a very similar technique to avoid parentheses (whic...
Petr Pudlak
04:53 pm Revision b18409cf: Document 2.11 to 2.10 specific downgrade tasks
While the recommended way of downgrading from version 2.11 to 2.10
is ``gnt-cluster upgrade --to 2.10``, manual downg...
Klaus Aehlig
04:53 pm Revision 52261ad2: Remove certification on 2.11 to 2.10 downgrade
While version 2.10 ignores any leftover client certificates, their
presence will prevent a the cluster working after ...
Klaus Aehlig
04:53 pm Revision c09c495c: Add support for version-specific downgrade tasks
Upgrading can have no specific knowledge about additional
tasks besides upgrading the configuration, as upgrades need...
Klaus Aehlig
04:53 pm Revision c09f6160: design: version-specific downgrade actions
Some new features, like client-specific ssl certificates, require additional
steps at downgrade, so add this to the d...
Klaus Aehlig
04:52 pm Revision df89787b: Document support for automatic downgrades
The recommended way of downgrading a cluster from 2.11 onwards
is to use the ``gnt-cluster upgrade`` command. Documen...
Klaus Aehlig
02:03 pm Revision 3eea40a0: Clean up epydoc comments
Add missing colons, and improve descriptions of parameters.
Signed-off-by: Hrvoje Ribicic <riba@google.com>
Reviewed...
Hrvoje Ribicic
02:03 pm Revision 82ce55fa: Use options for turning functionality on/off
Two command-line options are added: one for confirming that the test
has been started intentionally, and one for show...
Hrvoje Ribicic
02:03 pm Revision dd2bc9b6: Add job cancellation workload
To examine if jobs can be cancelled correctly, provide workload related
to this as well.
Signed-off-by: Hrvoje Ribic...
Hrvoje Ribicic
02:03 pm Revision b896bb66: Add cluster parameter change workload
One of the few leftover unused RAPI methods is the cluster modify
method. This patch tests it by setting and unsettin...
Hrvoje Ribicic
02:03 pm Revision 17733ecb: Make an instance move workload that works in 2.6
The instance move workload present before this patch works on 2.11, but
fails on 2.6. The 2.11 workload will still be...
Hrvoje Ribicic
02:03 pm Revision 9578de1c: Add instance move workload
Through the use of functions provided by the rapi QA, all the requests
related to instance moves can be exercised.
S...
Hrvoje Ribicic
02:03 pm Revision 10937a16: Make the move-instance tool more fault tolerant
The move-instance tool raises an exception when used with a cluster
running an earlier version of Ganeti. As the tool...
Hrvoje Ribicic
02:03 pm Revision 66743fe3: Allow the skipping of checks for inter-cluster move test
The inter-cluster instance move test is very interesting for the RAPI
compatibility tests, as it uses many RAPI reque...
Hrvoje Ribicic
02:03 pm Revision e5351ee9: Make the finish function return the error status explicitly
The earlier version of the Finish function assumed that checking if the
value of the response is None would suffice t...
Hrvoje Ribicic
02:03 pm Revision c2e22e7b: Add migration and failover workload
This patch introduces additional calls adding migration and failover
RAPI operations, moving a DRBD-disk template ins...
Hrvoje Ribicic
02:03 pm Revision 396c5dfb: Add tracking of used client methods
As a helper or a warning to anyone extending the RAPI client, the
client wrapper now warns of unused methods or metho...
Hrvoje Ribicic
02:02 pm Revision 82a8bf3e: Add network workload
This patch exercises the network RAPI commands.
Signed-off-by: Hrvoje Ribicic <riba@google.com>
Reviewed-by: Helga V...
Hrvoje Ribicic
02:02 pm Revision 4236968a: Add miniature query filtering workload
As query filtering was not a part of the previous workloads, this patch
adds a single example of its use.
Signed-off...
Hrvoje Ribicic
02:02 pm Revision 9749bd5e: Add per-resource query workload
The query requests are done to receive data about a certain resource
type. With tests for all the resources barring n...
Hrvoje Ribicic
02:02 pm Revision 1086027a: Add group-related workload
This patch further extends the RAPI workload by exercising all the
group-related functionality.
Signed-off-by: Hrvoj...
Hrvoje Ribicic
02:02 pm Revision 6b710ec0: Add node-related workload
This patch further expands the workload by performing various node
operations.
Signed-off-by: Hrvoje Ribicic <riba@g...
Hrvoje Ribicic
02:02 pm Revision 89d52c9a: Add warning about the RecreateInstanceDisks invocation
A test relying on RAPI alone cannot exercise the RecreateInstanceDisks
functionality properly - simply because it can...
Hrvoje Ribicic
02:02 pm Revision a9e3e04d: Add various single instance operations
To further expand the number of RAPI methods in the workload, the
single instance operations are added in this patch....
Hrvoje Ribicic
02:02 pm Revision 9f22ba9a: Add tag method testing
This patch adds a generic way to test tagging of various entities via
RAPI. More tags testing will be added as other ...
Hrvoje Ribicic
02:02 pm Revision b87948f5: Add helper function that waits for jobs to finish
Some RAPI calls result in the creation of a long-running job,
returning a job id to be used to extract the results la...
Hrvoje Ribicic
02:02 pm Revision 94981c7a: Add simple retrieval operations to workload
This patch expands the RAPI workload with simple Get* commands.
Signed-off-by: Hrvoje Ribicic <riba@google.com>
Revi...
Hrvoje Ribicic
02:02 pm Revision 56803e14: Add the first version of the RAPI workload script
The RAPI workload script supplies work for the RAPI compatibility
tests. The initial version does very little, but ca...
Hrvoje Ribicic
02:02 pm Revision a784d28c: Make the qa_rapi setup method return the RAPI client
Signed-off-by: Hrvoje Ribicic <riba@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
Hrvoje Ribicic
02:02 pm Revision fcd2359a: Move RAPI secret lookup to qa_rapi
The RAPI secret lookup is a helper function used by the Ganeti QA to
retrieve the RAPI password of an already setup c...
Hrvoje Ribicic
01:22 pm Revision 02a6b50a: Improve backwards compatibility of Issue 649 fix
Commit e6e4ff4cf8d0100f331f94f7a27aa1e03a5d0e7d fixed Issue 649 by switching the
separator for usb_devices from comma...
Michele Tartara
01:22 pm ganeti-local Revision 02a6b50a: Improve backwards compatibility of Issue 649 fix
Commit e6e4ff4cf8d0100f331f94f7a27aa1e03a5d0e7d fixed Issue 649 by switching the
separator for usb_devices from comma...
Michele Tartara
09:37 am Revision 9110fb4a: Add code style document to documentation
The Ganeti code style has been stored on the project wiki at:
https://code.google.com/p/ganeti/wiki/StyleGuide
h...
Santi Raffa
« Previous
Next »
 

Also available in: Atom