Activity
From 04/22/2013 to 05/21/2013
05/21/2013
- 03:13 pm Revision 4b92e992: RPC 'node_info': <storage_type,key> instead of vg_names
- This replaces the field 'vg_names' in the RPC call of 'node info' by
'storage_units'. A storage unit is a tuple <stor...
05/17/2013
- 06:45 pm Revision a755f3a0: Add Harep man page
- Add the man page for the Ganeti auto-repair tool.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: ... - 06:38 pm Revision 48bba9de: Stash Xen config file after a failed startup
- This is a fix for a minor bug.
Currently, a failed Xen VM start results in a stale config file left
behind on the fil... - 05:42 pm Revision 1bb99a33: Merge branch 'stable-2.8' into master
- * stable-2.8: (45 commits)
Update NEWS with disk creation fixes
Sort cmdlib-related entries in Makefile.am
cmdl... - 04:25 pm Revision 6b3f0d7e: Fix owner of the OS log dir
- The OS log dir is used by noded, not masterd.
Signed-off-by: Balazs Lecz <leczb@google.com>
Reviewed-by: Guido Trott... - 03:04 pm Revision a365b47f: Merge branch 'stable-2.7' into stable-2.8
- * stable-2.7:
Update NEWS with disk creation fixes
Don't fail to deactivate master IP if already down
Add QA fo... - 01:02 pm Revision ef726a3f: Update NEWS with disk creation fixes
- Also document a couple more fixes.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Thomas Thrain... - 12:32 pm Revision aad242d2: Sort cmdlib-related entries in Makefile.am
- Files in the cmdlib directory are sorted alphabetically in
Makefile.am.
Signed-off-by: Thomas Thrainer <thomasth@goo... - 12:32 pm Revision 5eacbcae: cmdlib: Cleanup public/private functions
- All functions/classes which are used outside of their defining module
(with tests as an exception) no longer have a l... - 12:32 pm Revision 8aa8f6b1: cmdlib: Extract instance query related functionality
- Split instance.py further by extracting instance querying related
logical units and functions to instance_query.py.
... - 12:32 pm Revision 13f6af81: cmdlib: Extract instance operation functionality
- Split instance.py further by extracting instance operations
(start/stop/reboot/etc.) related logical units and functi... - 12:32 pm Revision 87e25be1: cmdlib: Extract migration related functionality
- Split instance.py further by extracting migration related logical units
and functions to instance_migration.py.
Sign... - 12:32 pm Revision 763ad5be: cmdlib: Extract storage related functionality
- Split instance.py further by extracting storage related logical units
and functions to instance_storage.py.
Signed-o... - 12:32 pm Revision 8701dfb0: Reformat and define exports in cmdlib/__init__.py
- cmdlib/__init__.py now simply defines the interface of the cmdlib module
by importing all classes which should be vis... - 12:32 pm Revision 814386b7: Extract miscellaneous logical units from cmdlib
- All remaining classes in __init__.py are extracted to misc.py.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
... - 12:32 pm Revision 1be6b00e: Extract os related logical units from cmdlib
- All LUOs* classes are extracted to operating_system.py.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewe... - 12:32 pm Revision ec3cc4a8: Extract query related logical units from cmdlib
- All LUQuery* classes are extracted to query.py.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Be... - 12:32 pm Revision 7ecd5e87: Extract backup related logical units from cmdlib
- All LUBackup* classes are extracted to backup.py.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: ... - 12:31 pm Revision 22b7f6f8: Extract instance related logical units from cmdlib
- All LUInstance* classes are extracted to instance.py. Common functions
are moved to common.py if used by non-instance... - 12:31 pm Revision 31b836b8: Extract node related logical units from cmdlib
- All LUNode* classes are extracted to node.py. Common functions are moved
to common.py if used by non-node logical uni... - 12:31 pm Revision f380d53c: Extract group related logial units from cmdlib
- All LUGroup* classes are moved to group.py. Common functions are
extracted to common.py.
Signed-off-by: Thomas Thrai... - 12:31 pm Revision 7352d33b: Extract cluster related logical units from cmdlib
- All LUCluster* classes are extracted to cluster.py. Shared functions are
extracted to common.py, helper functions onl... - 12:31 pm Revision 1d870e0d: Extract test logical units from cmdlib
- LUTest* are moved to test.py.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Bernardo Dal Seno <b... - 12:31 pm Revision 37dc17e3: Extract network related logical units from cmdlib
- LUNetwork* and associated helper functions are extracted to network.py.
Signed-off-by: Thomas Thrainer <thomasth@goo... - 12:31 pm Revision fb3891d0: Extract tags related logical units from cmdlib
- LUTags* and their base class, TagsLU, are extracted to tags.py. An
additional shared function, _ShareAll, is extracte... - 12:31 pm Revision 1a732a74: Extract base classes from cmdlib
- Base classes holding common functionality is extracted into base.py.
Utility functions used by both base classes and ... - 08:53 am Revision 7f965aea: Don't fail to deactivate master IP if already down
- The master IP setup script now checks if the master IP is actually
configured on the machine before trying to remove ...
05/15/2013
- 05:43 pm Revision 7af7da68: Compatibility test for instances
- This patch introduces a test to check the compatibility
of the Haskell and the Python representation of instances.
S... - 05:43 pm Revision 13d62481: Instance generators
- This patch introduces and enhances generators for
instances:
- 'genInstWithNets' is split into the generation of an
... - 05:43 pm Revision 6b168d4a: Annotate every arbitrary instance field
- The Arbitrary instance of the 'Instance' object is written
using the <*> syntax. Since it often uses the 'arbitrary'
... - 05:43 pm Revision d9b681ea: Generators for disks
- This patch adds generators for Disk instances to the Haskell
test code. It uses somewhat more reasonable generators t... - 03:02 pm Revision 5d94c034: Use os.statvfs to determine free disk space
- This simplifies my previous commit (820bade90) by using os.statvfs
instead of parsing the output of 'df'.
Signed-off...
05/14/2013
- 10:17 pm Revision 820bade9: Backend function for file storage space reporting
- This adds functionality to retrieve disk space information
for file storage. It calls the 'df' tool and parses its
ou... - 10:17 pm Revision f08b1a00: Reorder unit tests in Makefile.am
- In a previous commit, I accidentially changed the order of
unit tests in Makefile.am to not be alphabetically anymore... - 08:57 pm Revision 9598b71f: Remove extra newline
- Also, properly set the date of the last modification.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-... - 08:06 pm Revision 199b241c: Make HS ConfD client IPv6 compatible
- The Haskell ConfD client was assuming internet addresses to be IPv4. This
patch modifies the client so that it is abl... - 08:06 pm Revision 986a8671: Factor out resolveAddr function
- This function can be useful to many parts of the code to convert the string
representation of an IP (v4 or v6) addres... - 07:59 pm Revision c300dbe4: Add MonD to the watcher
- The monitoring daemon should always be alive, therefore it's added to the
watcher.
Signed-off-by: Michele Tartara <m... - 07:59 pm Revision 66234263: Start the monitoring and node daemons together
- Add the monitoring daemon to the command starting the node daemon, given that
they both have to be started on all nod... - 07:58 pm Revision 5bb9ecc0: Add a constant stating whether monitoring is enabled
- Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 07:04 pm Revision e2e98c6e: Add QA for recreating single instance disks
- So far QA only recreated the whole set of disks at once.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Revi... - 07:04 pm Revision 8cd4f8cf: Add QA for gnt-instance modify --disk
- Just a very basic test that adds and then removes a disk.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Rev... - 07:04 pm Revision 1f14b07e: Clean up when "gnt-instance modify" fails to create a disk
- cmdlib.LUInstanceSetParams now uses helper functions to create and wipe
disks, so that when the creation of a disk fa... - 07:04 pm Revision dfb0bc93: recreate-disks honors the prealloc_wipe_disks flag
- Now even recreate-disks wipes the newly-created disks, if the flag is set.
Signed-off-by: Bernardo Dal Seno <bdalsen... - 07:03 pm Revision b867e218: Introduce wrapper for cmdlib._WipeDisks()
- The wrapper handles errors by logging them and cleaning up freshly-created
disks.
Also, the correct disk is used in ... - 07:03 pm Revision eb0aa4e5: Don't catch an exception that cannot be raised
- Since 9b221ea4, _CreateBlockDev() doesn't raise OpExecError any more. Yet
some code was left in place to catch it. By... - 07:02 pm Revision 57bcb172: Wipe disks added through "gnt-instance modify"
- In issue 353 Sascha Lucas reported that disks are not wiped when added
through “gnt-instance modify”. This patch adds... - 04:46 pm Revision 8f096849: Move 'container.py' to storage directory
- Moving 'container.py' to the storage directory.
Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Thoma... - 04:46 pm Revision cde49218: Rename dir 'block' to 'storage'
- Renaming the 'block' directory to 'storage', because I plan to
place code there that is related to file storage and l... - 04:45 pm Revision c23bb217: Rename storage.py to container.py
- Renaming 'storage.py' to 'container.py'. It will be moved into the new
'storage' directory, which will come in later ... - 04:24 pm Revision ef94a185: Monitoring QA: Remove superfluous import
- Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Thomas Thrainer <thomasth@google.com> - 03:44 pm Revision 0511ce91: Non-Xen support for monitoring QA
- The QA tests the Xen instance status collector, but that is expected to fail
when run on machines that do not use Xen...
05/13/2013
- 04:20 pm Revision a5877534: Add QA for instance status collector
- This commit introduces the QA for the instance status collector.
Begin the first QA for a monitoring-related compone... - 04:20 pm Revision 6ab6b19a: Use dcName in mon-collector
- Instead of manually specify the name of the data collectors in mon-collector,
just use the dcName field each of them ... - 04:20 pm Revision 42b50796: Monitoring design doc: better specify field names
- The name of the list of instances was not specified.
Also, fix a line that was longer than 80 characters.
Signed-of... - 04:20 pm Revision dd69cd3c: Factor out the mergeStatuses function
- It will be used by multiple data collectors, not only the DRBD collector.
Signed-off-by: Michele Tartara <mtartara@g... - 04:20 pm Revision 79731e21: Add global status field to the instance status collector
- The global status is computed from the statuses of the single instances.
The output json format is adapted to includ... - 04:20 pm Revision 1f53be84: Add instance status collector to mon-collector man page
- Add a section related to the new collector.
Also, fix some formatting issue (white spaces, line longer than 80 chars... - 04:20 pm Revision e8b46463: Export the Instance Status collector report
- It will need to be accessed by the monitoring daemon.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-... - 04:20 pm Revision ebcbcfee: Run the monitoring daemon as root
- The monitoring daemon needs to be able to run some commands that require root
access (such as "xm") in order to fulfi... - 04:20 pm Revision 8a049311: Add inst-status-xen to the monitoring daemon
- Enable the monitoring daemon to invoke the Xen instance status data collector.
Signed-off-by: Michele Tartara <mtarta... - 04:20 pm Revision 8fada090: QA: factor out some instance management functions
- Some functions for managing instances will have to be used by new upcoming
unit tests, so they are taken out of the i... - 04:20 pm Revision 4fe04580: Factor out function for building report
- Instead of building the report as part of the "Main" function, have it
built by its own dedicated function, so that i... - 04:20 pm Revision 74b25887: Add HS functions for getting the instance reason path
- The getInstReasonFilename is built to resemble the python corresponding
function.
Signed-off-by: Michele Tartara <mt... - 04:20 pm Revision 45ee8676: Add module containing function for getting info from Xen
- The Xen instance status data collector will require to get some information
from the hypervisor. This commit introduc... - 04:20 pm Revision d7e9323b: Add the core of the instance status collector
- Add the Xen instance status data collector with only its core features.
The next commits will add more reporting func... - 04:20 pm Revision d4de2ea8: Export the actual instance state
- Compute the actual state of the instance and export it.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewe... - 04:20 pm Revision fc4be2bf: Determine status of one instance
- Added function for determining whether the status of an instance is ok, and to
represent this information in the corr... - 04:20 pm Revision 17ae9cdb: Include the reason trail in the instance collector output
- Fetch the reason trail from file, failing gracefully if it is not found, and
include it in the output of the instance... - 04:20 pm Revision 7660aaf3: Export Instance Status collector information
- Name, version, format version, category and kind of the Instance Status data
collector are now exported.
Signed-off-... - 04:20 pm Revision 74685117: Add dependency on the process library
- The tests are already using this library, so it's not really a new build
dependency, but it was not specified esplici... - 03:47 pm Revision b24e516d: Add example for online rolling reboots using tags
- While this use case was described in the design document, and
mentioned several times as motivation for changes in co... - 10:56 am Revision 1da489e2: Move cmdlib.py to cmdlib/__init__.py
- cmdlib.py has grown *really* too much. Move it into its own package to
allow splitting it further.
Signed-off-by: Gu...
05/10/2013
- 06:50 pm Revision 87414481: Allow build_chroot to work from any directory
- build_chroot used to work only if launched from ./devel/, whereas now
it can be launched from anywhere, and it will s... - 06:50 pm Revision 85b66af5: build_chroot: check whether the data dir exists
- If the data directory is not in the expected place, the script complains
with an error message and stops, instead of ... - 02:56 pm Revision 7b2d4001: Extend hroller test to also verify tag-based node selection
- While the multiple-tags test was added to verify that coloring is done
only after node selection (otherwise it wouldn... - 01:56 pm Revision 2a1737eb: Add a test for online rolling reboot scheduling
- In the example configuration, the graph constructed by just connecting
primary and secondary instances is two-colorab... - 01:55 pm Revision 8d38fb72: Support online-maintenance in hroller
- Make hroller take into account the nodes (redundant) instances
will be migrated to. This be behavior can be overridde... - 01:55 pm Revision 30fded87: Support construction of the graph of all reboot constraints
- For online rolling reboots, there are two kind of restrictions. First,
we cannot reboot the primary and secondary nod... - 01:55 pm Revision 2207220d: Add option --one-step-only to hroller
- Add a new option to hroller to only output information about the first
reboot group. Together with the option --node-... - 01:54 pm Revision a39779f6: Sort reboot groups by size
- Make hroller output the node groups not containing the master node
sorted by size, largest group first. The master no... - 01:53 pm Revision 361f2719: Fix expectation in hroller test
- Regular expressions are not shell globs. So "any symbol" is expressed
by a dot, not a question mark. In this case, th...
05/09/2013
- 05:31 pm Revision 5a9c7c34: Refactor check for exclusive_storage in LUInstanceCreate
- The order of evaluation of the conditions is changed, so it's easier to add
more (foreseen) checks for exclusive_stor... - 05:31 pm Revision 8064c1af: Refactor disk checks in LUInstanceSetParams
- Prereq checks relative disks are grouped together and moved in a separate
method. This reduces the clutter in CheckPr...
05/08/2013
- 03:47 pm Revision 9524c4c4: Fix a misspelled word in design-storagetypes
- Signed-off-by: Weiwei Jia <harryxiyou@gmail.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
05/07/2013
- 07:40 pm Revision 004398d0: Fix lint errors (redundant bracket)
- Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 06:59 pm Revision 62441832: Add a test demonstrating the --node-tags option of hroller
- The example is a cluster of 6 nodes, paired into 3 group by three
instances. So the whole cluster would need two rebo... - 06:59 pm Revision 313fdabc: Add option to hroller to select nodes based on tags
- Add option --node-tags to tell hroller to consider only nodes
with these tags. A use case would be a tag tracking on ... - 06:59 pm Revision 267bc1f4: Make Rapi backed set node tags correctly
- Since the htools representation of a node now allows adding
the node tags, populate this field correctly in the Rapi
... - 06:59 pm Revision f33c06b8: Make LUXI backed set node tags correctly
- Since the htools representation of a node now allows adding
the node tags, populate this field correctly in the LUXI
... - 06:58 pm Revision 4b542ebc: Extend the text format to contain node tags
- In order to allow htools to make use of node tags, add them to the
text format. This is done by adding a new column a... - 06:58 pm Revision 07ea9bf5: Extend the Node in the htools to allow adding node tags
- Since hroller (and probably other tools in the future) will support
node selection based on node tags, extend the nod... - 06:58 pm Revision 442d5aae: Make hroller filter the nodes before coloring the graph
- Hroller used to first compute a coloring of the node graph and then
filter out the nodes that it had to work on. Whil... - 06:58 pm Revision 318c0a6c: Make mkNodeGraph ignore edges to non-present nodes
- Change the behavior of mkNodeGraph to tacitly ignore all instances
where one of the nodes is not in the list of nodes... - 06:58 pm Revision e6e2d4a5: Add tests for the -O option of hroller
- In hroller, the option -O can be used to mark certain nodes as offline.
These nodes should then not be part of any re... - 06:57 pm Revision 52278ef9: Update hroller man page
- In commit 7dbe4c725 the new option --force was introduced to
hroller. Change the man page to reflect this change.
Si... - 05:06 pm Revision d4b6d97b: Mention DRBD 8.4 support in NEWS
- Mention the main features of DRBD 8.4 support in the NEWS file.
Signed-off-by: Thomas Thrainer <thomasth@google.com>... - 04:30 pm Revision 71e00202: Add version numbers to chroot build script
- Update the script adding explicit version numbers for increased repeatability
of the build environment construction p... - 04:07 pm Revision 085b8e24: Fix `drbdsetup show` parsing for DRBD 8.4
- In DRBD 8.4, Ganeti does no longer use indexed external meta data but
flexible external metadata. Therefore, there is... - 11:58 am Revision 32f88ce7: Correction of design doc regarding RPC extension
- This corrects the storage types design doc regarding the specification
of the RPC call.
Signed-off-by: Helga Velroye... - 10:30 am Revision 6390194b: Support /var/run being a symlink in upload
- Starting from Debian Wheezy, /var/run is a symlink to /run. If rsync
does not treat receiving symlinks to directories...
05/06/2013
- 05:58 pm Revision 4a4697de: Change design of algorithm for computing rolling reboots
- Instead of computing a coloring for one condition first and then refining
it for the other condition, we can construc... - 04:30 pm Revision 412e7387: Support /var/run being a symlink in upload
- Starting from Debian Wheezy, /var/run is a symlink to /run. If rsync
does not treat receiving symlinks to directories... - 11:47 am Revision 47e0abee: Split DRBD8Dev into DRBD8 and DRBD8Dev
- All functionality specific to a single DRBD8 devide is now in DRBD8Dev,
whereas functionality which is valid for the ... - 11:47 am Revision 5e85269f: Check for uniform DRBD version in node group
- This check is performed during gnt-cluster verify and outputs warnings
if at least two different DRBD versions are fo... - 11:30 am Revision 239364d0: Rename DRBD8 to DRBD8Dev
- Right now the DRBD8 class has multiple responsibilities: a) it
reprensents a device which can be set up, grown, etc. ... - 11:30 am Revision 5bb0a1cb: Make DRBD version queryable from noded
- gnt-cluster verify should issue a warning if there are multiple DRBD
versions present in a node group. In order to do... - 12:19 am Revision 98bdd169: QA checks suitability for exclusive_storage tests
- When instance tests with exclusive_storage are enabled, the number of PVs
on nodes are checked to see if it's suitabl...
05/03/2013
- 04:47 pm Revision f2d87a5e: Merge remote-tracking branch 'origin/stable-2.8'
- Conflicts:
lib/bdev.py
lib/cmdlib.py
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Klaus Aehli... - 03:47 pm Revision e41bf003: Final NEWS and configure.ac update for 2.7.0~rc1
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Helga ... - 03:25 pm Revision 9db0b351: Disk templates are "allowed" and not "enabled" in ipolicies
- The way disk templates were displayed in instance policies became confusing
since the introduction of the enabled_dis... - 03:23 pm Revision f73f3567: Unit test for FillIPolicy keeping unknown keys
- This makes sure that issue 401 doesn't come back.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by... - 12:09 pm Revision f583e7ad: Fix white spaces in partitioned design doc
- Bullet lists start after a blank line.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Guido Tro... - 12:09 pm Revision 8a96e60d: Reuse current spindles in design for partitioned
- Renaming the current parameters dealing with spindles is nice, as their
meaning would be clearer, but that would mean... - 12:05 pm Revision 04bcb621: gnt-job list: deal with non-ascii encoding in jobs
- This fixes issue 432. If a job summary contained a non-ascii character,
gnt-job list crashed badly so far. This patch... - 11:38 am Revision bcba4e01: Merge stable-2.7 into stable-2.8
- Conflicts:
INSTALL
NEWS
configure.ac
src/Ganeti/Query/Group.hs
test/hs/Test/Ganeti/Objects.hs
test/hs/Test/Gane... - 10:44 am Revision 25f8d59c: Cleanup of the INSTALL file
- Curl is not optional anymore. Remove reference to it in the optional libraries
section.
Signed-off-by: Michele Tarta... - 10:42 am Revision d30fa488: Support DRBD 8.4.3 command syntax
- DRBD 8.4.3 does not support specifying volume ids directly while
creating the meta device. It requires a slightly dif...
05/02/2013
- 04:58 pm Revision 7d60c3b5: gnt-cluster modify: check vg name only on vm-capable nodes
- This fixes issue 432: when setting the volume group name, the presence
of the volume group was checked on all nodes. ... - 04:01 pm Revision fc2318f7: Disable inter-cluster instance move for file instances
- Inter-cluster instance moves depends on exporting an instance. For file-based
instance, exporting is not supported. T... - 03:51 pm Revision f24d3d3b: Improve error message for file instance creation
- Currently, when creating an instance with file storage fails,
the error message is rather general. This patch adds a ... - 02:01 pm Revision d5610c94: Update NEWS for 2.7.0 rc1
- Move the "main" 2.7 section up to rc1, and just leave the delta in
beta3. Then add a new beta3 to rc1 delta.
Signed-... - 12:16 pm Revision da535d0d: admin guide updates for 2.7
- - Mention the file-storage-paths config file
- Add information about sharedfile and ext storage types
- Change one ma... - 12:16 pm Revision e43f849c: Mention file-storage-paths in UPGRADE
- It was in NEWS, but not mentioned at all in the upgrade notes.
Signed-off-by: Guido Trotter <ultrotter@google.com>
R... - 10:42 am Revision 8cb5634a: kvm: use -machine type,accel= for newer qemu
- -enable-kvm and -disable-kvm are deprecated in favor of accel=kvm passed
as a machine specification. This fixes compa... - 10:42 am Revision 81e265f5: kvm: Move parameter validation before use
- We had parameter validation when the runtime is generated, but in the
middle of the function. Move up, before any par... - 10:42 am Revision 99c7cd5b: kvm: Use -display none rather than -nographic
- Newer versions of kvm (from 1.4) don't support -nographic with
-daemonize. When -display exists, use -display none in...
05/01/2013
- 08:34 pm Revision db0e97f0: INSTALL updates for wheezy, and fixes
- - Remove mention of python 2.4 specific modules, as that version
is not supported anymore
- Add bitarray and ipaddr...
04/30/2013
- 06:52 pm Revision b43e836f: Disable compiling mon-collector if monitoring is disabled
- Mon-collector kept being compiled even if monitoring was disabled during
configure.
Fixes Issue 441.
Signed-off-by:... - 06:51 pm Revision 5d453688: Add confd as a dependency of monitoring
- Some data collectors require confd data information. Therefore, monitoring is
dependent on confd, but this was not ch... - 06:38 pm Revision 516a0e94: Add reason trail to haskell opcode format
- The haskell type definition of opcodes should remain aligned with the python
one.
Signed-off-by: Michele Tartara <mt... - 06:38 pm Revision 3ff890a1: Add the reason trail type definition in Haskell
- It will be added to the haskell definition of opcodes, to keep it aligned to
the python one, and it will be used for ... - 06:38 pm Revision 2bd9ec7c: Update "reason" field in instance status design
- Now the reason field is implemented according to the reason trail design
document.
Signed-off-by: Michele Tartara <m... - 10:57 am Revision 0791b57f: Remove outdated TODO comment
- Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com> - 10:57 am Revision e580e9f7: Add proper error management to monitoring daemon
- Produce a personalized 404 error when the requested resource is not available.
Signed-off-by: Michele Tartara <mtart... - 10:56 am Revision 6327828e: Produce a report for all the data collectors
- Implement the API function of the monitoring daemon that provides the report
of all the data collectors.
Signed-off-... - 10:56 am Revision db1ad1d5: Generate report for a single collector
- Allow to ask the monitoring daemon for the report of one specific data
collector.
Signed-off-by: Michele Tartara <mt... - 10:56 am Revision 75706f3a: Export the full report from DRBD data collector
- Export the full report instead of just the data from the DRBD data collector.
Signed-off-by: Michele Tartara <mtarta... - 10:56 am Revision 27433b5c: Add monitoring daemon to the masterd group
- The hmac.key file is owned by group masterd and is required to communicate with
the confd.
The monitoring daemon nee... - 10:55 am Revision a5ec6d88: Update JSON serialization for "category"
- Change the JSON serialization for the "category" field of data collectors,
in accordance to the latest version of the... - 10:55 am Revision 3a388363: Improve monitoring agent design document
- Specify more precisely the format of the category names.
Signed-off-by: Michele Tartara <mtartara@google.com>
Review... - 10:55 am Revision ecb783f0: Implement the "list collectors" API in monitoring
- Implement the handler for outputting the list of collectors
(name, category, kind) in JSON format.
Signed-off-by: Mi... - 10:49 am Revision c42fbe28: Fix bug in group queries related to node/instance fields
- Since we use the primitive string type for group UUIDs, the group
fields have a bug where we pass the group name as f... - 10:28 am Revision 05440845: gnt-instance: new hypervisor parameter 'vif_type'
- This patch fixes issue 247. It empowers the user to specify
explicitly the vif type of a nic configuration of a Xen H... - 10:28 am Revision c54c859b: man gnt-instance: new hypervisor parameter 'vif_type'
- This patch extends the man page of the 'gnt-instance' command
by describing the newly implemented hypervisor paramete...
04/29/2013
- 11:13 pm Revision 5519f036: Merge branch 'stable-2.8' into master
- * stable-2.8: (42 commits)
Add shelltests for hspace allocation
hspace: Handle multiple ipolicy specs
QA: Test ... - 07:05 pm Revision 2e462e19: Cleanup DRBD 8.4 devices properly during QA
- QA cleans up DRBD 8.4 devices via drbdsetup, which currently only worked
for DRBD 8.3. This (rather ugly) command mak... - 07:05 pm Revision daec28a7: Add command generator for DRBD 8.4
- The DRBD84CmdGenerator class, which generates commands suited for DRBD
8.4, is added. A common baseclass for DRBD83Cm... - 07:05 pm Revision 74db37c0: Add test for version dispatching code
- Based on the version of DRBD (as reported through /proc/drbd), the DRBD8
class chooses helper objects which adapt for... - 07:05 pm Revision 7a694e30: Add dependency on python-mock
- Python Mock (http://www.voidspace.org.uk/python/mock/) is a mocking
library for Python. It is included in the standar... - 07:05 pm Revision 873878b9: Extract DRBD related tests
- As the DRBD code was extracted from bdev.py, the corresponding tests
should as well be extracted into their own file.... - 07:05 pm Revision 09a78e1c: Extract command generation logic from DRBD8
- In order to easily support the DRBD 8.4 command syntax, this patch
extracts all command generation logic (i.e. where ... - 07:05 pm Revision 27c7d9c3: Use DRBD84ShowInfo based on DRBD version
- Now the DRBD8 class actually checks which version of DRBD is running on
the system and chooses the right class to par... - 07:05 pm Revision 5520d04d: Add `drbdsetup show` parser for DRBD 8.4
- Common functionality between the DRBD 8.3 and DRBD 8.4 parser has been
extracted into BaseShowInfo. A test which veri... - 07:05 pm Revision 27d69b25: Extract DRBD info parsing into drbd_info.py
- Parsing the status (/proc/drbd) and `drbdsetup show` output takes quite
a bit of code, which has to be augmented by e... - 07:05 pm Revision d01e51a5: Extract DRBD8ShowInfo class
- This class parses the `drbdsetup show` output and represents it in an
easily accessible format. It got extracted so t... - 07:05 pm Revision efa6dd08: Add test for DRBD 8.4 /proc/drbd parsing
- The current parser already supports the output of DRBD 8.4 /proc/drbd,
so add tests which actually verify this behavi... - 07:05 pm Revision d41efc42: Add test for empty version in /proc/drbd
- The previous patch removed a (rather implicit) test for /proc/drbd not
containing a version line. This adds an explic... - 07:05 pm Revision dcc4579c: Rename _JoinProcDataPerMinor to _JoinLinesPerMinor
- In the new context of the DRBD8Info class, the name
_JoinProcDataPerMinor doesn't fit any more. _JoinLinesPerMinor re... - 07:05 pm Revision 2fe690f1: Extract /proc/drbd parsing code into DRBD8Info
- As the DRBD8 class got bigger due to the previous merge of BaseDRBD, now
parts of it are ripped out into DRBD8Info. T... - 07:05 pm Revision fd300bc7: Remove BaseDRBD
- BaseDRBD was probably useful when DRBD 0.7 and DRBD 8 were supported.
However, there is only one subclass of BaseDRBD... - 07:04 pm Revision 38396ae2: Rename _MassageProcData to _JoinProcDataPerMinor
- That's what the method actually does, so there is no reason why we
should use a funny but unreadable name.
Signed-of... - 06:55 pm Revision 8abeb641: Add shelltests for hspace allocation
- Both tiered and standard allocations are tested, with a single and a double
min/max instance specification.
Signed-o... - 06:54 pm Revision 53822ec4: hspace: Handle multiple ipolicy specs
- With tiered allocation, hspace uses all the max specs in turn as the
initial instance spec.
Signed-off-by: Bernardo ... - 06:54 pm Revision 5fdf8491: QA: Test multiple instance specs
- The test of the interaction between policy and instances is extended.
Signed-off-by: Bernardo Dal Seno <bdalseno@goo... - 06:54 pm Revision 7c8ae421: QA: Handle multiple instance specs
- Existing tests are updated to cope with the new instance specs format.
Signed-off-by: Bernardo Dal Seno <bdalseno@go... - 06:54 pm Revision 65978cb7: Unit test for cli.FormatPolicyInfo()
- We try to parse the string obtained by formatting a policy, and see if we
get the same policy.
Signed-off-by: Bernar... - 06:54 pm Revision ef99e3e8: Add command-line support for multiple specs in ipolicy
- Command line options accept multiple min/max specifications in instance
policies. The output of show-ispecs-cmd is up... - 06:53 pm Revision 41044e04: Add multiple min/max specs in instance policy
- Now instance policies can contain more than one min/max specs. This is the
main element of the "Constrained instance... - 06:53 pm Revision b342c9dd: Separate checks for std spec compliance
- This is needed to be able to validate the std spec against multiple min/max
spec pairs (appearing in next patches).
... - 06:53 pm Revision ec996117: QA: Transpose instance specs
- The format used to store instance specs in QA is changed to better handle
multiple instance specs, a feature containe... - 05:49 pm Revision 3e0c2a24: Log at info level the success of a luxi query
- So far, any successful query was only logged at debug level, thus leaving
no traces in the logs, unless debugging was... - 05:48 pm Revision 61f3d56e: Fix typo in documentation string
- Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com> - 10:56 am Revision 8bc5e2c8: Improve gnt-instance documentation
- Explain the relationship of the ip and network parameter in
`gnt-instance add --net` better.
Signed-off-by: Thomas T... - 10:56 am Revision decc7ec9: Fix unclear error when replacing a nic's ip
- The current error message ends up saying something like
'192.168.5.5' != 'network1', which is sort of non-intuitive (...
04/26/2013
- 05:39 pm Revision decf86f9: Make DEFAULT_ENABLED_DISK_TEMPLATES a list
- This patch makes the constant DEFAULT_ENABLED_DISK_TEMPLATES
a list instead of a set, because the order of the elemen... - 05:33 pm Revision b3e1f9dd: NEWS: removal of --no-lvm-storage
- Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com> - 05:33 pm Revision dbc6f6dd: Remove '--no-lvm-storage' from 'gnt-cluster' man page
- This updates the man page of 'gnt-cluster' regarding the
removal of the '--no-lvm-storage'.
Signed-off-by: Helga Vel... - 05:33 pm Revision 1a0e0593: Document the --drbd-usermode-helper in man gnt-cluster
- Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com> - 05:12 pm Revision 2d237e93: Fix lint error in cmdlib
- Was accidentally introduced by commit 912737ba.
Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Guido... - 04:34 pm Revision 912737ba: gnt-cluster modify/init: deprecate --no-lvm-storage
- This patch does three things:
1. It deprecates the option '--no-lvm-storage' of 'gnt-cluster modify'
and 'gnt-cluste... - 04:34 pm Revision 59ef0f15: Utility functions for storage
- This patch add a couple of utility functions dealing with
storage types and disk templates.
Signed-off-by: Helga Vel... - 04:06 pm Revision f38270c6: In plain to drbd conversion, rename LVs back on failure
- Currently, if converting an instance from plain to drbd fails after
renaming the original LVs, the instance is left i...
04/25/2013
- 01:27 pm Revision 9c265dd7: Merge branch 'stable-2.7' into stable-2.8
- This fixes the problem with the distcheck-release target failing needlessly.
* stable-2.7:
Improve check for "unr... - 01:25 pm Revision d466fd8b: Improve check for "unreleased" versions in NEWS
- Currently this is checked only when distcheck-release is called.
Check it in check-news instead, for all versions bef... - 11:51 am Revision fd7f98fe: Update documentation for text format
- In commit 000ca91a the text format was extended to also include
information about the master node. This commit update...
04/24/2013
- 07:53 pm Revision 95990bc5: Merge branch 'stable-2.7' into stable-2.8
- Conflicts:
NEWS
doc/rapi.rst
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Guido Trotter <ultrotter... - 06:20 pm Revision 811f8b31: Add missing fields in htools text-backend documentation
- Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com> - 06:19 pm Revision 2827d1ac: cfgupgrade: Remove enabled_disk_templates on downgrade
- Remove enabled_disk_templates instead of the deprecated
enabled_storage_types.
Signed-off-by: Bernardo Dal Seno <bda... - 02:44 pm Revision 1fa6fcba: Reason trail implementation for "start"
- Opcode-specific implementation of the reason trail for the instance
startup operation.
Signed-off-by: Michele Tartar... - 02:44 pm Revision 1f350e0f: Reason trail implementation for "shutdown"
- Opcode-specific implementation of the reason trail for the instance shutdown
operation.
Signed-off-by: Michele Tarta... - 01:05 pm Revision cbaf1652: QA: More tests for instance policies in groups
- Instance policies are changed and checked for changes.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Review... - 01:05 pm Revision cb178a1e: QA: Update tests for new ipolicy specs command-line options
- The old command-line options weren't working any more. Utility functions
are updated, and broken tests are removed (n... - 01:05 pm Revision 63e08b25: QA: Split function to set and parse instance policies
- The main parts, moved to qa_util, will be used for node groups too.
Signed-off-by: Bernardo Dal Seno <bdalseno@googl... - 01:05 pm Revision cd315ad9: Add unit tests for cfgupgrade with a real configuration
- Test upgrade and downgrade from a realistic 2.7 configuration.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com... - 01:05 pm Revision fa166f67: Split functions in cfupgrade unit tests
- This makes easier to test real configurations.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: H... - 01:05 pm Revision e94fc80c: cfgupgrade: Limit specs in ipolicy are always complete
- Partial specs are filled with cluster defaults.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: ... - 01:02 pm Revision 919db916: Limit specs in ipolicy command lines are always complete
- Command line options are brought in line with the specs change of previous
patch. Old options are still allowed in gn... - 01:02 pm Revision b5a93c73: QA for --ipolicy-xxx-specs and show-ispecs-cmd
- The tests check the interactions between the two commands.
Also refactored group QA code to separate tests about ipo... - 01:02 pm Revision 62fed51b: Refactor tests in ipolicy validation
- This makes the code more modular, in preparation for the following patches.
Signed-off-by: Bernardo Dal Seno <bdalse... - 01:02 pm Revision 0f511c8a: Limit specs in instance policies are always complete
- Specs used to specify limits in instance policies are always complete, even
at group level (only the whole limit set ... - 01:02 pm Revision d2d3935a: Add --ipolicy-xxx-specs options
- These options allow to specify whole instance policy specs. This is needed
for the upcoming changes that tend to thre... - 01:02 pm Revision ea9d3b40: Add command to print ipolicy options
- The output of this command can be used to create an exact copy of the
current instance policy specs. The command coul... - 01:02 pm Revision 726ae450: New CLI input type: list of key/value pairs
- This will be used for the new instance specs options.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewe... - 01:01 pm Revision f824ae42: Allow "default" as a value for ipolicy templates
- Previously the string value was being corrupted.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by:... - 12:55 pm Revision d307d38c: Document all --ipolicy-... options
- They were missing from the man pages.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Helga Velr... - 11:00 am Revision 89ff748d: Extract DRBD-related classes into block/drbd.py
- This is in preparation to introducing support for DRBD8.4.
base.py had to be extracted as well in order to avoid cyli... - 10:59 am Revision ce9283c1: Move lib/bdev.py to lib/block/bdev.py
- That's in preparation of extracting DRBD related code from bdev.py. As
bdev.py is already rather long, new features w...
04/23/2013
- 03:13 pm Revision 2707f483: Fix a few unclear sentences in gnt-cluster(8)
- The renew-crypto entry had a few obscure sentences. Improve it by
rephrasing it.
Signed-off-by: Guido Trotter <ultro... - 12:17 pm Revision bbfa259c: Make burnin compatible with the reason trail
- The burnin uses its own option list, different from the one of all other
command line programs, and uses it as a para...
04/22/2013
- 07:43 pm Revision 30dd3377: Extend the simulation backend to also simulate a master node
- In a simulated cluster as created by the simulation backend to
the htools, make the first node of the first node grou... - 07:43 pm Revision 754b9b1c: Add unit tests for hroller
- Add a unit test for hroller in a situation where the order
is completely determined. There are 3 nodes where node 2 h... - 07:43 pm Revision 000ca91a: Extend Text format by marking the master node
- Sometimes, e.g., for hroller, it is necessary to know which node
is the master node. Therefore this information has t... - 07:13 pm Revision 0da22bc3: Minor changes / bugfixes in documentation
- Signed-off-by: Sebastian Gebhard <sege@fs.ei.tum.de>
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Kla... - 02:19 pm Revision 55cec070: Reason trail implementation for instance reboot
- This commits allows ganeti to correctly forward the reason trail information
regarding instance reboot.
Signed-off-b... - 02:18 pm Revision 9b4cb29d: Add "reason" as a common parameter for all the RAPI calls
- Also, this add an infrastructure for having parameters common to all the
RAPI calls.
Signed-off-by: Michele Tartara ... - 02:18 pm Revision da3faf9d: Add infrastructure for adding common RAPI parameters
- Some parameters can be common to all the RAPI calls: this commit
adds the possibility of specifying them just once, i... - 02:17 pm Revision e0f2bf1e: Add job_id and index to the reason trail
- The reason trail will contain an item indicating the job_id and the
index number of the current opcode inside the job... - 02:16 pm Revision 276e51bd: Add the reason trail to the opcodes
- The reason trail is available for all the opcodes, and as such it is
initialized as a generic option.
Signed-off-by:... - 02:14 pm Revision dbae804a: Add a field to store the reason trail in OpCodes
- The reason trail will be available for all the OpCodes, so the field that
is to contain it has to be added to the OpC... - 02:13 pm Revision aa4fff02: Provide "--reason" as a parameter for all commands
- Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com> - 02:13 pm Revision 8e00f36a: Add function for extending the reason trail
- Noded functions will have to extend the reason trail specifying what
operation is being executed.
This commit adds a... - 02:12 pm Revision d634b4e0: Add an opcode name conversion function
- Add a function to convert an opcode class name to a source string for the
reason trail, factoring out the code in com... - 02:11 pm Revision 584ea340: Add function for storing the reason trail of an instance
- We are interested in storing the reason trail for operations that changed
the state of instances. This commit adds a ... - 02:11 pm Revision c28911dd: Add function for getting the timestamp in nanoseconds
- The timestamp is returned as an integer number of nanoseconds since the Unix
epoch.
Signed-off-by: Michele Tartara <... - 02:10 pm Revision ab98e236: Add TMaybeList as a new type for parameters
- This will be used as the type for the reason trail parameter.
Signed-off-by: Michele Tartara <mtartara@google.com>
R... - 02:10 pm Revision 1cc55342: Add constants for the reason trail implementation
- A few constants are required, describing the source reason of the opcode.
Signed-off-by: Michele Tartara <mtartara@g... - 02:10 pm Revision aa922d64: Remove old "reason" implementation
- Remove the useless parts of the old, partial, implementation of the support for
tracking the reason of instances stat... - 02:09 pm Revision c2610080: More specifics on the implementation of the reason trail
- Adding the reason trail as a parameter instead of as a new class attribute fits
better with the current structure of ... - 01:46 pm Revision d34b3b8e: Add monitoring daemon user to user creation script
- The script was added to Ganeti before the monitoring daemon, so it
did not include that user yet.
Signed-off-by: Mic... - 12:48 pm Revision d2d66df0: devel/review: fix addition of reviewer from environment
- In commit 3dd990, the possibility of taking a default reviewer
from the environment was introduced. Fix two deficits ... - 12:44 pm Revision 0fe54825: QA: Skip RAPI setup when RAPI is disabled
- This is similar to 405692ef, reverted in aeefb4cd.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-b... - 12:34 pm Revision ba7df2ce: Bump up version for 2.7.0~beta3
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com> - 12:03 pm Revision 7374dc44: Update NEWS for 2.7.0~beta3
- - Most entries for beta1 are moved to the top level
- The beta1 to beta2 delta is left
Signed-off-by: Guido Trotter ... - 10:20 am Revision 9b221ea4: Allow proper cleanup of partially created disks
- During the creation of an instance, if the creation of disks fails, some
partially created disks might remain lying a...
Also available in: Atom