Activity

From 05/01/2013 to 05/30/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...
Bernardo Dal Seno
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...
Helga Velroyen
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...
Guido Trotter
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...
Thomas Thrainer
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...
Thomas Thrainer
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 ...
Thomas Thrainer
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...
Thomas Thrainer
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...
Thomas Thrainer
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...
Thomas Thrainer
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...
Thomas Thrainer
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...
Thomas Thrainer
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...
Thomas Thrainer

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 ...
Klaus Aehlig
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...
Klaus Aehlig
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...
Klaus Aehlig
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...
Thomas Thrainer
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...
Thomas Thrainer
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 ...
Thomas Thrainer
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...
Thomas Thrainer
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...
Bernardo Dal Seno
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...
Bernardo Dal Seno
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 ...
Bernardo Dal Seno
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...
Bernardo Dal Seno
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...
Bernardo Dal Seno
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...
Bernardo Dal Seno
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...
Bernardo Dal Seno
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...
Bernardo Dal Seno

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...
Bernardo Dal Seno

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...
Bernardo Dal Seno
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...
Guido Trotter
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...
Guido Trotter
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>
Guido Trotter

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, ...
Bernardo Dal Seno
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...
Michele Tartara
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...
Bernardo Dal Seno
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...
Bernardo Dal Seno
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...
Bernardo Dal Seno
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...
Bernardo Dal Seno
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...
Bernardo Dal Seno
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...
Bernardo Dal Seno
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...
Bernardo Dal Seno
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: ...
Bernardo Dal Seno
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 ...
Bernardo Dal Seno
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>
Guido Trotter
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...
Michele Tartara

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>
Klaus Aehlig
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 ...
Klaus Aehlig
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....
Guido Trotter
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...
Guido Trotter
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...
Thomas Thrainer
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...
Klaus Aehlig
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...
Guido Trotter
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...
Thomas Thrainer
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...
Guido Trotter
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...
Klaus Aehlig
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...
Klaus Aehlig
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 ...
Klaus Aehlig
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...
Klaus Aehlig
12:07 pm Revision 3409c0af: Remove trailing whitespace
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Klaus Aehlig
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...
Thomas Thrainer
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...
Thomas Thrainer

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...
Helga Velroyen

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: ...
Michele Tartara
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...
Balazs Lecz
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...
Bernardo Dal Seno
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...
Balazs Lecz
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...
Bernardo Dal Seno
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...
Bernardo Dal Seno
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...
Thomas Thrainer
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...
Thomas Thrainer
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.
...
Thomas Thrainer
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...
Thomas Thrainer
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...
Thomas Thrainer
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...
Thomas Thrainer
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...
Thomas Thrainer
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>
...
Thomas Thrainer
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...
Thomas Thrainer
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...
Thomas Thrainer
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: ...
Thomas Thrainer
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...
Thomas Thrainer
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...
Thomas Thrainer
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...
Thomas Thrainer
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...
Thomas Thrainer
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...
Thomas Thrainer
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...
Thomas Thrainer
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...
Thomas Thrainer
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 ...
Thomas Thrainer
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 ...
Thomas Thrainer

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...
Helga Velroyen
05:43 pm Revision 13d62481: Instance generators
This patch introduces and enhances generators for
instances:
- 'genInstWithNets' is split into the generation of an
...
Helga Velroyen
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'
...
Helga Velroyen
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...
Helga Velroyen
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...
Helga Velroyen

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...
Helga Velroyen
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...
Helga Velroyen
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-...
Michele Tartara
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...
Michele Tartara
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...
Michele Tartara
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...
Michele Tartara
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...
Michele Tartara
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>
Michele Tartara
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...
Bernardo Dal Seno
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...
Bernardo Dal Seno
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...
Bernardo Dal Seno
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...
Bernardo Dal Seno
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 ...
Bernardo Dal Seno
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...
Bernardo Dal Seno
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...
Michael Hanselmann
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...
Helga Velroyen
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...
Helga Velroyen
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 ...
Helga Velroyen
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>
Michele Tartara
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...
Michele Tartara

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...
Michele Tartara
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 ...
Michele Tartara
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...
Michele Tartara
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...
Michele Tartara
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...
Michele Tartara
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...
Michele Tartara
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-...
Michele Tartara
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...
Michele Tartara
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...
Michele Tartara
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...
Michele Tartara
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...
Michele Tartara
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...
Michele Tartara
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...
Michele Tartara
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...
Michele Tartara
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...
Michele Tartara
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...
Michele Tartara
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...
Michele Tartara
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-...
Michele Tartara
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...
Michele Tartara
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...
Klaus Aehlig
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...
Guido Trotter

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...
Michele Tartara
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 ...
Michele Tartara
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...
Klaus Aehlig
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...
Klaus Aehlig
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...
Klaus Aehlig
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...
Klaus Aehlig
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-...
Klaus Aehlig
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...
Klaus Aehlig
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...
Klaus Aehlig

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...
Bernardo Dal Seno
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...
Bernardo Dal Seno

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>
Weiwei Jia

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>
Klaus Aehlig
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...
Klaus Aehlig
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 ...
Klaus Aehlig
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
...
Klaus Aehlig
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
...
Klaus Aehlig
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...
Klaus Aehlig
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...
Klaus Aehlig
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...
Klaus Aehlig
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...
Klaus Aehlig
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...
Klaus Aehlig
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...
Klaus Aehlig
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>...
Thomas Thrainer
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...
Michele Tartara
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...
Thomas Thrainer
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...
Helga Velroyen
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...
Thomas Thrainer

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...
Klaus Aehlig
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...
Thomas Thrainer
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 ...
Thomas Thrainer
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...
Thomas Thrainer
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. ...
Thomas Thrainer
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...
Thomas Thrainer
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...
Bernardo Dal Seno

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...
Michele Tartara
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 ...
Guido Trotter
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...
Bernardo Dal Seno
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...
Bernardo Dal Seno
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...
Bernardo Dal Seno
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...
Bernardo Dal Seno
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...
Helga Velroyen
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...
Michele Tartara
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...
Michele Tartara
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...
Thomas Thrainer

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. ...
Helga Velroyen
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...
Helga Velroyen
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 ...
Helga Velroyen
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-...
Guido Trotter
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...
Guido Trotter
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...
Guido Trotter
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...
Guido Trotter
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...
Guido Trotter
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...
Guido Trotter

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

Also available in: Atom