Activity
From 04/30/2013 to 05/29/2013
05/29/2013
- 11:23 pm Revision 2590d723: Support spindles in move-instance
- The script was failing when exclusive storage was active (bug introduced in
7c848a6a).
Signed-off-by: Bernardo Dal S... - 01:32 pm Revision c93daaa9: Adjusting permissions after confd start
- This is a workaround for issue 477. Confd resets the
permissions of the query socket in a wrong way. This
patch fixes... - 01:32 pm Revision 8526052d: Ensure the queue socket has the right permissions
- RAPI needs to be able to perform queries as well.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: H... - 11:07 am Revision e7e8b4db: Update IAllocator interface documentation
- Update the missing documentation for the tags fields of node groups.
Signed-off-by: Thomas Thrainer <thomasth@google... - 10:53 am Revision b69cc7ed: Add NEWS entry for hail honoring networks
- The entry also mentions the required change in the IAllocator protocol.
Signed-off-by: Thomas Thrainer <thomasth@goo... - 10:53 am Revision 017160ed: Add tests for network-aware allocation
- hail-alloc-invalid-network defines a cluster with two nodegroups and an
allocation request which does not fit on any ... - 10:52 am Revision b1142361: Honor network connections in hail
- Before trying to allocate nodes in node groups, node groups are now
filtered based on the networks they are connected... - 10:52 am Revision 908c2f67: Parse NIC data from allocation request in hail
- Add a NIC type and extend the Instance type by a list of NIC's. Parse
the NIC's in allocation requests and store them... - 10:52 am Revision a0be8f1a: Support group networks in Text backend
- The Text backend now parses network UUID (comma separated) and
serializes them in the same form.
The test data is ada... - 10:52 am Revision c8b199db: Parse node group networks
- Extend the Group by the network ids it is connected to. Adapt
the IAlloc backend such that the networks are parsed co... - 10:52 am Revision 2daca99b: Update IAllocator interface documentation
- Document the newly added network field of node groups, and also update
the missing documentation for the other fields... - 10:52 am Revision 98ae702b: Export connected networks to IAllocator
- IAllocators should not put instances on nodes in nodegroups which are
not connected to the network the instance shoul...
05/28/2013
- 06:05 pm Revision 802ed2aa: Add generic daemon options support binding to interfaces
- In some situations, it is desirable to bind one of our servers only to
a particular interface, like eth0, instead of ... - 06:05 pm Revision 194775f5: Update ganeti-rapi man page
- ganeti-rapi supports a couple of options not yet mentioned in the
man page; mention them.
Signed-off-by: Klaus Aehli... - 06:05 pm Revision 12f5bacf: Complete ganeti-noded synopsis line
- The synopsis section of the ganeti-noded man page, certain options
were only mentioned in the description. Add then t... - 04:05 pm Revision d962dbf9: Re-activate previously active disks in watcher
- The watcher process previously (incorrectly) examined the admin_state
field to figure out if the disks of an instance... - 04:05 pm Revision ca83454f: Make the disks_active flag queryable
- gnt-instance list now also supports the disks_active field.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Rev... - 04:05 pm Revision a8e07057: Consider disks_active in UpgradeConfig
- The disks_active flag is updated when masterd reads the configuration.
Also, cfgupgrade now removes the disks_active ... - 04:05 pm Revision 1d4a4b26: Add disks_active to configuration
- This flag tracks if the disks of an instace are supposed to be active.
That's the case when an instance is running or... - 12:46 pm Revision c69b147d: Report missing spindles in the configuration
- cfgupgrade and cluster-verify run a check for missing spindles in disk
configuration when exclusive storage is enable... - 12:46 pm Revision 577edf04: Adapt striping to the requested number of spindles
- Otherwise LVM may use a smaller number of PVs (spindles) to accommodate for
the default stripes.
Signed-off-by: Bern... - 12:46 pm Revision 7c848a6a: Spindles are mandatory with exclusive storage
- If they are not specified in the command line an error is reported. Also,
disk creation would fail without them.
QA ... - 12:45 pm Revision 40d93e3b: gnt-cluster repair-disk-sizes repairs spindles too
- When exclusive storage is active, any wrong or missing spindles information
in disks gets updated too.
Signed-off-by... - 12:45 pm Revision 6ef8077e: New RPC to get size and spindles of disks
- This RPC replaces the existing one that only returned disk size.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.c... - 12:45 pm Revision baa7f1d6: New BlockDev methods to get spindles
- Two new methods are created to get the number of spindles, one alone, and
one together with size. For devices that do... - 12:45 pm Revision b5d48e87: Attaching a logical volume builds a list of PVs
- When an LV gets attached, the list of the PVs used by the LV is built. This
will be used to count spindles for exclus... - 12:45 pm Revision 688b5752: Refactor code for attaching a logical volume
- The parsing of "lvs" output is moved into private methods. The code is
slightly more readable and testable. The split...
05/25/2013
- 07:06 pm Revision e75f80b9: Fix release of instances in QA
- Also, fix some uses of keyword arguments for arguments with a default
value, as required by the style guide, and a ty...
05/24/2013
- 02:32 pm Revision 95155a8c: Fix missing "raise" in QA
- The bug was introduced in 345d395d.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: Thomas Thrai... - 02:30 pm Revision a9310b5b: Merge branch 'stable-2.8'
- * stable-2.8:
Bump up version for 2.7.0~rc2 release
Create overall design document for 2.8
Add NEWS entry for S... - 02:26 pm Revision 328201a5: Merge branch 'stable-2.7' into stable-2.8
- * stable-2.7:
Bump up version for 2.7.0~rc2 release
Add NEWS entry for SO_PEERCRED fix
Workaround missing SO_PE... - 01:17 pm Revision 75d25240: Bump up version for 2.7.0~rc2 release
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
05/23/2013
- 04:21 pm Revision 345d395d: QA for spindles in creating disks
- "gnt-instance add" and "gnt-instance recreate-disks" are tested giving the
number of spindles, when supported. Also, ... - 02:15 pm Revision fab0cf66: Create overall design document for 2.8
- Also, cleanup the list of draft designs.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Guido Tro... - 02:04 pm Revision 30448dc7: cfgupgrade: Remove spindles on downgrade
- Spindles didn't exist in 2.8 and should be removed to downgrade.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.c... - 02:04 pm Revision 75a6c8be: gnt-instance info prints information about spindles
- For each disk, the number of requested spindles (if present) is shown.
Signed-off-by: Bernardo Dal Seno <bdalseno@go... - 02:04 pm Revision 24c06acb: Spindles are used in creating new disks
- The requested number of spindles is used to allocate PVs when creating new
LVs.
Signed-off-by: Bernardo Dal Seno <bd... - 02:03 pm Revision 5073fa0c: Document disk device Create() functions
- Document all the arguments and return values of bdev.Create() and
bdev.BlockDev.Create().
Signed-off-by: Bernardo Da... - 02:03 pm Revision b54ecf12: Add spindles field to disk object
- The field is filled with the value provided on the command line.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.c... - 02:03 pm Revision 3f3ea14c: Check that spindles are not given when they are not allowed
- Masterd checks that specifications for new disks don't include spindles
when exclusive storage is disabled.
Signed-o... - 02:03 pm Revision c615590c: Add "spindles" option to instance disk creation commands
- The option is parsed but ignored, for the moment.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by... - 02:03 pm Revision a4f2b4b1: Fix style inconsistencies in gnt-instance man page
- Escaping and initial capitals were not uniform.
Signed-off-by: Bernardo Dal Seno <bdalseno@google.com>
Reviewed-by: ... - 02:03 pm Revision c294f84e: cfgupgrade: Downgrade is a NO-OP
- The configuration is still the same as in 2.8 (the reference stable version
for this branch), so downgrade shouldn't ... - 12:06 pm Revision 603e6580: Add NEWS entry for SO_PEERCRED fix
- Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Thomas Thrainer <thomasth@google.com> - 10:32 am Revision ca93ea0a: Design doc for internal shutdown detection
- Ganeti is currently not able to detect a legit shutdown request performed by a
user from inside a Xen domain.
This p...
05/22/2013
- 06:03 pm Revision 84ae4fa4: Document recent hroller changes in the NEWS file
- Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 06:03 pm Revision 71c41fc0: Document hroller options recently added
- hroller now also supports the options --skip-non-redundant and
--ignore-non-redundant, and this should be documented ... - 05:53 pm Revision 069a4bcf: Workaround missing SO_PEERCRED
- This bug happens in a few new distributions, so we workaround it by
defining the constant ourselves, if it's missing.... - 05:53 pm Revision ae549364: Add debugging clause to _ExpandCheckDisks error
- This has been reported by users, so we should have the extra debugging
available.
Signed-off-by: Guido Trotter <ultr... - 04:58 pm Revision 26ec2f38: Reduce pylint maximum file length to 4500
- The longest Python files we still have are around 4200 lines long. In
order to prevent future growth, limit the maxim... - 03:27 pm Revision 3a7eecd7: Extend hroller tests by options for non-redundant instances
- The cluster now consists of 3 nodes, with drbd instances between
nodes 1 and 2, and 2 and 3. Additionally, nodes 1 an... - 02:23 pm Revision d187780c: Mention hail network incompatibility in manpages
- We can't fix this in the 2.7 version, so it should be documented.
Signed-off-by: Guido Trotter <ultrotter@google.com... - 12:42 pm Revision f3defd7f: Remove obsolete Debian-related documentation
- This part of the documentation refers to Grub instead of Grub2, but
Grub2 has been the standard boot loader since Squ... - 12:27 pm Revision 46d4deb9: Update NEWS for 2.7.0 rc2
- Move "local" entries at the bottom, and leave global 2.7 entries at the
top, as for the other releases.
Signed-off-b... - 12:08 pm Revision 8840de6f: Test for hroller taking non-redundant instances into account
- The example cluster consists of 6 nodes, each hosting 2 instances and
having capacity for 3. So, while the drbd-induc... - 12:08 pm Revision 23247a73: hroller: option to ignore non-redundant instances
- Add an option to hroller restoring the old behavior on not taking
any non-redundant instances into account when formi... - 12:08 pm Revision 86c346db: Make hroller also plan for non-redundant instances
- Non-redundant instances need to be moved to a different node
before maintenance of the node. Even though they can be ... - 12:07 pm Revision 89363f98: hroller: option to skip nodes with non-redundant instances
- So far, hroller ignores the fact, that non-redundant instances exist.
One option to deal is non-redundant instances i... - 12:07 pm Revision 3409c0af: Remove trailing whitespace
- Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com> - 11:56 am Revision 216cb5af: Improve installation documentation
- Based on user feedback the installation documentation is clarified and
extended.
Signed-off-by: Thomas Thrainer <tho... - 11:02 am Revision 3913eaa7: Improve installation documentation
- Based on user feedback the installation documentation is clarified and
extended.
Signed-off-by: Thomas Thrainer <tho...
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...
Also available in: Atom