Activity

From 09/10/2013 to 10/09/2013

10/09/2013

07:39 pm Revision e8c86ab1: Merge branch 'stable-2.9' into master
* stable-2.9
Version bump for 2.9.0 rc2
Update NEWS for 2.9.0 rc2
Downgrade 'vif_script'
Downgrade 'xen_cmd'
...
Klaus Aehlig
03:27 pm Revision 7e65c12c: Suggest running 'gnt-cluster upgrade --resume' at reboots
In the example crontab, add an entry to run 'gnt-cluster upgrade --resume'
upon reboot of the node, as suggested in t...
Klaus Aehlig
03:27 pm Revision c4332197: Mention 'gnt-cluster upgrade' in NEWS
We added a new command, so mention it as news.
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Michele ...
Klaus Aehlig
03:27 pm Revision 4418532c: Update man page for 'gnt-cluster upgrade --resume'
This option is now implemented, and this change should be
mentioned in the man page. Also, document that it is safe
c...
Klaus Aehlig
01:40 pm Revision e71b2caf: NEWS: mention improvements on instance allocation
This patch mentions the improvements of the iallocator
with respect to instance allocation of non-LVM disk
templates....
Helga Velroyen
01:40 pm Revision d48c944b: Use 'DTS_LVM' when possible
This patch replaces all usages of the utility function
'GetLvmDiskTemplate' by the new 'DTS_LVM' constant
to make it ...
Helga Velroyen
01:40 pm Revision e8936ef7: iallocator: use lookup by disk template
So far, the iallocator requested storage information
about all enabled disk templates but discarded all but
the LVM i...
Helga Velroyen
01:40 pm Revision b669aa41: utils/storage.py: storage info lookup by disk template
This patch improves the handling of storage information
before and after a call to the RPC 'node_info'. It
adds a fun...
Helga Velroyen
01:40 pm Revision 7f6d0b05: Replace GetLvmDiskTemplates by 'DTS_LVM'
To reach consistency by how we manage different
categorizations of disk templates, this patch
introduces the set of d...
Helga Velroyen
12:02 pm Revision 645bba3a: If possible, replace symbolic links in place
Naive 'ln -s -f a b' will put the link inside 'b', if
'b' is (a symlink to) a directory; so, during upgrades,
the lin...
Klaus Aehlig
12:02 pm Revision d250bc5d: Make information about GNU ln available to programs
Propagate the information on whether we have the GNU version of ln
to all programs by making it available as a consta...
Klaus Aehlig
12:01 pm Revision a849f598: Add simple test whether ln is the GNU version
If the GNU version is present, we can use certain GNU-extensions,
like the -T option, rendering some parts more robus...
Klaus Aehlig

10/08/2013

04:53 pm Revision 43fad017: Version bump for 2.9.0 rc2
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Helga Velroyen <helgav@google.com>
Klaus Aehlig
04:53 pm Revision 1767e148: Update NEWS for 2.9.0 rc2
Document that we have also taken care of the bug in 'cfgupgrade --downgrade'
and schedule release date.
Signed-off-b...
Klaus Aehlig
03:57 pm Revision b998e7f6: Fix 'AutoConf' import
Fix 'AutoConf' import to be qualified.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Thomas Thrai...
Jose A. Lopes
03:57 pm Revision 6dab85ff: Fix import order
Fix import order to be alphabetically sorted.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Thoma...
Jose A. Lopes
03:57 pm Revision becfd918: Hs2Py constants: improve auto repair
Fix auto repair related constants to use the Haskell type 'AutoRepairResult' instead of simple 'String' values.
Sign...
Jose A. Lopes
03:57 pm Revision 81ae485c: Hs2Py constants: opcodes
Add opcode related constants to the Haskell to Python constant generation.
Signed-off-by: Jose A. Lopes <jabolopes@g...
Jose A. Lopes
03:57 pm Revision b6e2ff42: Hs2Py constants: node daemon setup
Add node daemon setup related constants to the Haskell to Python constant generation.
Signed-off-by: Jose A. Lopes <...
Jose A. Lopes
03:57 pm Revision 33ee4861: Hs2Py constants: hail, opcode, and SSH
Add hail, opcode, and SSH related constants to the Haskell to Python constant generation.
Signed-off-by: Jose A. Lop...
Jose A. Lopes
03:57 pm Revision b9b5acc3: Hs2Py constants: assorted constants
Add assorted constants to the Haskell to Python constant generation.
Signed-off-by: Jose A. Lopes <jabolopes@google....
Jose A. Lopes
03:57 pm Revision 6b0d45b7: Hs2Py constants: UID pool
Add UID pool related constants to the Haskell to Python constant generation.
Signed-off-by: Jose A. Lopes <jabolopes...
Jose A. Lopes
03:57 pm Revision 2f314077: Hs2Py constants: 'maxUdpDataSize'
Add 'maxUdpDataSize' constant to the Haskell to Python constant generation.
Signed-off-by: Jose A. Lopes <jabolopes@...
Jose A. Lopes
03:57 pm Revision 0dda32bb: Hs2Py constants: remove comments
Remove several comment from 'lib/constants.py' because these have been moved to Haskell.
Signed-off-by: Jose A. Lope...
Jose A. Lopes
03:57 pm Revision d22b306d: Hs2Py constants: assorted constants
Add some assorted constants to the Haskell to Python constant generation.
Signed-off-by: Jose A. Lopes <jabolopes@go...
Jose A. Lopes
03:57 pm Revision 54e8f65d: Hs2Py constants: 'ispecsMinmaxDefaults'
Add 'ispecsMinmaxDefaults' to the Haskell to Python constant generation.
Signed-off-by: Jose A. Lopes <jabolopes@goo...
Jose A. Lopes
03:57 pm Revision 53a5f21b: Hs2Py constants: 'hvcGlobals' and 'ndcGlobals'
Add 'hvcGlobals' and 'ndcGlobals' to the Haskell to Python constant generation.
Signed-off-by: Jose A. Lopes <jabolo...
Jose A. Lopes
03:57 pm Revision d99012a6: Hs2Py constants: 'defaultEnabledHypervisor'
Add 'defaultEnabledHypervisor' to the Haskell to Python constant generation.
Signed-off-by: Jose A. Lopes <jabolopes...
Jose A. Lopes
03:57 pm Revision d84ddec2: Hs2Py constants: SSCONF
Add SSCONF related constants to the Haskell to Python constant generation.
Signed-off-by: Jose A. Lopes <jabolopes@g...
Jose A. Lopes
03:57 pm Revision 6e6a6f84: Hs2Py constants: dynamic devices
Add dynamic devices related constants to the Haskell to Python constant generation.
Signed-off-by: Jose A. Lopes <ja...
Jose A. Lopes
03:57 pm Revision b8576ea1: Hs2Py constants: HT related constants
Add HT related constants to the Haskell to Python constant generation.
Signed-off-by: Jose A. Lopes <jabolopes@googl...
Jose A. Lopes
03:57 pm Revision 8799fb9d: Hs2py constants: query resources
Add query resources related constants to the Haskell to Python constant generation.
Signed-off-by: Jose A. Lopes <ja...
Jose A. Lopes
03:57 pm Revision 385b2959: Hs2Py constants: '/etc/hosts' and job queue
Add '/etc/hosts' and job queue related constants to the Haskell to Python constant generation.
Signed-off-by: Jose A...
Jose A. Lopes
03:57 pm Revision cf1f4273: Hs2Py constants: VNC
Add VNC related constants to the Haskell to Python constant generation.
Signed-off-by: Jose A. Lopes <jabolopes@goog...
Jose A. Lopes
03:57 pm Revision b964f067: Hs2Py constants: SSL, job queue, and locks
Add SSL, job queue, and locks related constants to the Haskell to Python constant generation.
Signed-off-by: Jose A....
Jose A. Lopes
03:57 pm Revision 75463b9a: Hs2Py constants: node verify
Add node verify constants to the Haskell to Python constant generation.
Signed-off-by: Jose A. Lopes <jabolopes@goog...
Jose A. Lopes
03:57 pm Revision 649f774a: Hs2Py constants: assorted, idisk, and inic
Add assorted, idisk, and inic related constants to the Haskell to
Python constant generation.
Signed-off-by: Jose A....
Jose A. Lopes
03:57 pm Revision d4bc2eec: Hs2Py constants: nics
Add nics related constants to the Haskell to Python constant
generation.
Signed-off-by: Jose A. Lopes <jabolopes@goo...
Jose A. Lopes
03:57 pm Revision ec321549: Hs2Py constant: DRBD and dynamic disk
Add DRBD and dynamic disk parameter constants to the Haskell to Python
constant generation.
Signed-off-by: Jose A. L...
Jose A. Lopes
03:57 pm Revision 8eb80cb3: Hs2Py constants: backend and logical disks
Add backend and logical disks related constants to the Haskell to
Python constant generation.
Signed-off-by: Jose A....
Jose A. Lopes
03:57 pm Revision 5a7fab74: Hs2Py constants: HVST and disk state
Add HVST and disk state related constants to the Haskell to Python
constant generation.
Signed-off-by: Jose A. Lopes...
Jose A. Lopes
03:57 pm Revision 5c8f186c: Hs2Py constants: assorted and HVS
Add asserted and HVS related constants to the Haskell to Python constant generation.
Signed-off-by: Jose A. Lopes <j...
Jose A. Lopes
03:57 pm Revision ae8e7986: Hs2Py constants: move reboot types
Move constants 'instanceReboot*' to correct place according to
'lib/constants.py'.
Signed-off-by: Jose A. Lopes <jab...
Jose A. Lopes
03:57 pm Revision 3c2abb61: Hs2Py constants: reboot behaviour
Add reboot behaviour constants to the Haskell to Python constant generation.
Signed-off-by: Jose A. Lopes <jabolopes...
Jose A. Lopes
03:57 pm Revision e8d4d41e: Hs2Py constants: scripts and actions
Add script and action related constants to the Haskell to Python
constant generation.
Signed-off-by: Jose A. Lopes <...
Jose A. Lopes
03:57 pm Revision cf96e711: Hs2Py constants: move 'ipCommandPath'
Move constant 'ipCommandPath' to the appropriate place according to
'lib/constants.py'.
Signed-off-by: Jose A. Lopes...
Jose A. Lopes
03:57 pm Revision d7754dad: Hs2Py constants: 'jobIdsKey', 'runparts' and 'rpc'
Add several groups of constants to the Haskell to Python constant generation.
Signed-off-by: Jose A. Lopes <jabolope...
Jose A. Lopes
03:57 pm Revision 52d4f735: Hs2Py constants: 'diskTransferConnectTimeout'
Add 'diskTransferConnectTimeout' constant to the Haskell to Python constant generation.
Signed-off-by: Jose A. Lopes...
Jose A. Lopes
03:57 pm Revision 846a1cea: Hs2Py constants: remove comments
Remove useless comments from 'lib/constants.py'.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Th...
Jose A. Lopes
03:57 pm Revision b7b8ff87: Hs2Py constants: network related
Add network related constants to the Haskell to Python constant generation.
Signed-off-by: Jose A. Lopes <jabolopes@...
Jose A. Lopes
03:57 pm Revision 343dcda8: Hs2Py constants: add import/export config
Add import/export config constants to the Haskell to Python constant generation.
Signed-off-by: Jose A. Lopes <jabol...
Jose A. Lopes
03:57 pm Revision 6e18cc0d: Hs2Py constants: add 'RIE' related
Add remote import/export related constants to the Haskell to Python constant generation.
Signed-off-by: Jose A. Lope...
Jose A. Lopes
03:57 pm Revision c5539592: Hs2Py constants: add DRBD and RBD
Add DRBD and RBD related constants to the Haskell to Python constant generation.
Signed-off-by: Jose A. Lopes <jabol...
Jose A. Lopes
03:57 pm Revision 9be1ff8c: Hs2Py constants: storage related groups
Add several groups of storage related constants to the Haskell to Python constant generation.
Signed-off-by: Jose A....
Jose A. Lopes
03:57 pm Revision 3f5fd161: Hs2Py constants: add several groups of constants
Add several groups of constants, namely, console types, security, I/O
compression, import/export, hooks, and hkr rela...
Jose A. Lopes
03:57 pm Revision 0412a686: Hs2Py constants: add 2 more constants
Add 2 more constants to the Haskell to Python constant generation.
Signed-off-by: Jose A. Lopes <jabolopes@google.co...
Jose A. Lopes
03:57 pm Revision e0cd6f5d: Hs2Py constants: add CPU pinning
Add CPU pinning constants to the Haskell to Python constant
generation.
Signed-off-by: Jose A. Lopes <jabolopes@goog...
Jose A. Lopes
03:57 pm Revision 14795b58: Hs2Py constants: add export versions
Add export version constants to the Haskell to Python constant
generation.
Signed-off-by: Jose A. Lopes <jabolopes@g...
Jose A. Lopes
03:57 pm Revision a91d6b30: Move VTypes to the appropriate place
Move 'VType' related constants to the appropriate place to match
Python's constants module.
Signed-off-by: Jose A. L...
Jose A. Lopes
03:57 pm Revision 84ad6b78: Hs2Py constants: add SSH key files
Add SSH key file constants to the Haskell to Python constant
generation.
Signed-off-by: Jose A. Lopes <jabolopes@goo...
Jose A. Lopes
03:57 pm Revision 4c1275f9: Hs2Py constants: add network mirrored disk templates
Add network mirrored disk template constants to the Haskell to Python
constant generation.
Signed-off-by: Jose A. Lo...
Jose A. Lopes
03:57 pm Revision cc6a469e: Fix documentation comment
Fix documentation comment in 'Ganeti.ConstantUtils'.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by...
Jose A. Lopes
03:57 pm Revision 2355ac23: Hs2Py constants: update forgotten 'SOCAT_ESCAPE_CODE'
Update constant 'SOCAT_ESCAPE_CODE' to retrieve its value from the
generated 'lib/_constants.py'. The Haskell counte...
Jose A. Lopes
03:57 pm Revision 5d4e1402: Hs2Py constants: add Luxi constants
Add Luxi related constants to the Haskell to Python constant
generation. A new Haskell type is added 'Ganeti.Types.P...
Jose A. Lopes
03:57 pm Revision ad6f2bf3: Hs2Py constants: add 'fileDriver'
Add constant 'fileDriver' to the Haskell to Python constant
generation. The constant 'FILE_DRIVER' is also moved to ...
Jose A. Lopes
03:57 pm Revision 59bcd180: Hs2Py constants: add local disk status
Add constants related to local disk status to the Haskell to Python
constant generation. A new Haskell type 'LocalDis...
Jose A. Lopes
03:57 pm Revision 8397ffde: Hs2Py constants: constants related to 'Ganeti.Htools.Types'
Add constants related to the Haskell types defined in
'Ganeti.Htools.Types' to the Haskell to Python constant generat...
Jose A. Lopes
03:57 pm Revision ecf43dcb: Hs2Py constants: add node parameter related constants
Add node parameter related constants to the Haskell to Python constant
generation. This patch also fixes a type inco...
Jose A. Lopes
03:57 pm Revision c03224f6: Hs2Py constants: add RPC timeout constants
Add RPC timeout related constants to the Haskell to Python constant
generation. The Haskell data type 'RpcTimeout' i...
Jose A. Lopes
03:57 pm Revision a5450d2a: Hs2Py constants: add 'ReplaceDisksMode' related constants
Add constants related to the Haskell type 'ReplaceDisksMode'. The
data type declaration for 'ReplaceDisksMode' is al...
Jose A. Lopes
03:57 pm Revision c87997d2: Hs2Py constants: add 'osApiVersions'
Add constant 'osApiVersions' to the Haskell to Python constant
generation. This patch fixes the type of this constan...
Jose A. Lopes
03:57 pm Revision 94d8fc5a: Fix indentation
Fix indentation in 'Ganeti.OpCodes'.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Thomas Thraine...
Jose A. Lopes
03:57 pm Revision 2f3d7a50: Fix typo in documentation
Fix typo in documentation in 'Ganeti.JSON'.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Thomas ...
Jose A. Lopes
03:57 pm Revision 398facd9: Disregard comments in 'src/Ganeti/ListContants.hs' target
Update target 'src/Ganeti/ListContants.hs' to disregard comments in
'src.Ganeti.HsContants' when extracting the names...
Jose A. Lopes
03:57 pm Revision 74129b52: Hs2Py constants: add more constants
Add more constants to the Haskell to Python constant generation.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>...
Jose A. Lopes
03:50 pm Revision cdac0552: Hs2Py constants: add 'Ganeti.Confd' types
Hs2Py constants: add 'Ganeti.Confd' types.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Thomas T...
Jose A. Lopes
03:50 pm Revision a48daa87: Add 'declareILADT' to declare integer literal datatypes
Add 'declareILADT' to declare integer literal datatypes.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewe...
Jose A. Lopes
03:50 pm Revision d24fc4b6: Update reference to proper module
Update reference to constant 'confdMagicFourcc' to fetch its value
from 'Ganeti.Constants' instead of the re-export f...
Jose A. Lopes
03:50 pm Revision dd95d461: Hs2Py constants: add confd requests
Add confd request related constants to the Haskell to Python constant
generation.
Signed-off-by: Jose A. Lopes <jabo...
Jose A. Lopes
03:50 pm Revision 8e4e0268: Move confd request constants to 'Ganeti.ConstantUtils'
* move confd request related constants to 'Ganeti.ConstantUtils' so
they can be used in both 'Ganeti.HsConstants' a...
Jose A. Lopes
02:48 pm Revision faba87e9: Merge branch 'stable-2.8' into stable-2.9
* stable-2.8
Fix typo in walkthrough documentation
Don't attemp ipv6 ssh in case of ipv4 cluster
Signed-off-by: ...
Klaus Aehlig
02:37 pm Revision b481c72c: Fix typo in walkthrough documentation
Fix typo in walkthrough documentation, where 'instance3' should read
'instance1' in order to be consistent with the o...
Jose A. Lopes
02:01 pm Revision efbd15d8: Downgrade 'vif_script'
This patch adds removing the 'vif_script' attribute
from the cluster's config when downgrading from 2.9
to 2.8. Adapt...
Helga Velroyen
02:01 pm Revision 1d9f9df7: Downgrade 'xen_cmd'
This downgrades the cluster's hypervisor parameters for the
xen hypervisors with respect to the 'xen_cmd' attribute.
...
Helga Velroyen
02:01 pm Revision d7f5fc77: Add test cluster config for version 2.9
This adds a cluster config example for version 2.9 to
the test data collection. It will be used in subsequent
tests.
...
Helga Velroyen
02:00 pm Revision a61383b0: Remove superfluous import of 'errors'
Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Helga Velroyen
01:14 pm Revision 6c2a735a: Add --resume option to 'gnt-cluster upgrade'
This option will resume an upgrade of the Ganeti version of
a cluster that got interrupted by a reboot of the master ...
Klaus Aehlig
01:14 pm Revision 16e81432: Add function to determine current configuration version
The 'gnt-cluster upgrade --resume' command needs to determine whether the
configuration has already been updated or n...
Klaus Aehlig
01:14 pm Revision 36cfb584: Add method to read and parse the intent-to-upgrade file
During upgrades, a file is written to disk on master that documents
the fact that an upgrade is currently in progress...
Klaus Aehlig
01:14 pm Revision 2f1278d8: Provide utility function to check a configuration version
In order for 'gnt-cluster upgrade --resume' to determine whether the configuration
is already upgraded, it needs to c...
Klaus Aehlig
01:14 pm Revision ec5e54bb: Fix typo in doc string
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Thomas Thrainer <thomasth@google.com>
Klaus Aehlig

10/07/2013

07:25 pm Revision b6368001: Don't attemp ipv6 ssh in case of ipv4 cluster
In case of a cluster with primary-ip-version=4, there is no need
for cluster to try ipv6 ssh connections which may ti...
Costas Drogos
06:26 pm Revision c0f4bd0a: Merge branch 'stable-2.8' into stable-2.9
* stable-2.8
Fix outdated documentation for users-setup
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-b...
Klaus Aehlig
05:30 pm Revision d7afbeaa: Start NEWS entry for 2.9.0 rc2
So far, there is one important change since 2.9.0 rc1, the fix
in cfgupgrade.
Signed-off-by: Klaus Aehlig <aehlig@go...
Klaus Aehlig
05:13 pm Revision 8cb2b4f4: Fix lint errors
This fixes a couple of lint errors that I missed with
the patch "Fix upgrade and downgrade regarding
disk.dev_type".
...
Helga Velroyen
04:58 pm Revision 7187a877: Fix upgrade and downgrade regarding disk.dev_type
The up/downgrade procedure so far did not consider the
changes in the 'dev_type' attribute of disks. This patch
adds ...
Helga Velroyen
04:58 pm Revision 66a37e7a: Rename LDS_DRBD to DTS_DRBD
This patch renames the constant 'LDS_DRBD' to 'DTS_DRBD'
to make it consistent with the renaming of LD_* constants
to...
Helga Velroyen
01:47 pm Revision 3b31c9da: Write the intent-to-upgrade file during upgrades
To recognize that an upgrade attempt of a cluster was interrupted by a
power failure or similar, write a file into th...
Klaus Aehlig
01:47 pm Revision f2b91949: Provide an inverse to UnescapeAndSplit
With utils.UnescapeAndSplit, we have a function to parse
arbitrary non-empty string lists encoded as strings. Also
pr...
Klaus Aehlig
01:47 pm Revision e8c1cb41: Specify the intent-to-upgrade path
During a Ganeti upgrade, 'gnt-cluster upgrade --to' documents the
fact that an upgrade is going on in a file, in case...
Klaus Aehlig
12:36 pm Revision fa8206c1: Hardcode default access mode to kernelspace
Hardcode constants.KERNELSPACE as the default access method for
KVM disk templates, rather than allowing a change to ...
Raffa Santi
11:02 am Revision 4a68b28b: Fix outdated documentation for users-setup
The --yes-do-it parameter was not properly documented yet. Add it to the
administration guide.
Signed-off-by: Michel...
Michele Tartara

10/04/2013

06:50 pm Revision 79c50ab1: Mention the private-module layout in NEWS
As the new private-module layout of Ganeti's python code implies
the 'import ganeti' will fail in python, this change...
Klaus Aehlig
06:50 pm Revision f9b3e841: Get NEWS sections in consistent order
For all releases, the section on incompatible changes comes first,
as these changes are the ones to take most care of...
Klaus Aehlig
05:45 pm Revision c914b39f: Handle scenarios where access is not set
It should not be possible to reach _GenerateKVMRuntime without having
the access method set, but if it does happen th...
Santi Raffa
05:13 pm Revision 146265cd: Document gnt-cluster upgrade in the man page
A new command, upgrade, was added to gnt-cluster. Document it.
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Revie...
Klaus Aehlig
05:13 pm Revision 55f0626b: Provide time constants related to upgrades
During upgrades, gnt-cluster needs to wait for all jobs
in the queue to finish. Provide constants for timeout and
pol...
Klaus Aehlig
05:13 pm Revision 9b20010b: Provide the DIRVERSION as a constant
Depending on configure options, the version string used in the name
of the version specific directory differs. Provid...
Klaus Aehlig
05:13 pm Revision c51ffffe: Add an upgrade command to gnt-cluster
This command will coordinate the switching to a new
Ganeti version across the cluster. This has become
possible by th...
Klaus Aehlig
05:13 pm Revision 0c455e40: Add option to redist-conf while queue is drained
Add a new option to 'gnt-cluster redist-conf' allowing to ignore a drained
state of the Ganeti queue. This is needed ...
Klaus Aehlig
05:11 pm Revision 346c3037: Provide means of submitting jobs to a drained queue
During an upgrade, the job queue needs to be drained in order to avoid
new jobs coming to the cluster. Nevertheless,...
Klaus Aehlig
05:10 pm Revision 9bfcf2e9: Expose sharedir in pathutils
This path is needed to construct the link target
for $(sysconfdir)/ganeti/share for a different version.
The latter w...
Klaus Aehlig
05:10 pm Revision 7a9dbd61: Provide path to ensure-dirs in pathutils
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Jose Lopes <jabolopes@google.com>
Klaus Aehlig
05:10 pm Revision b9db7d45: Provide the canonical path to cfgupgrade in pathutils
This is the version-independent path for cfgupgrade, that will
always refer to the cfgupgrade of the currently instal...
Klaus Aehlig
05:10 pm Revision 790fc19d: Expose the list of online nodes at ssconf
Ganeti's ssconf contains the list of nodes currently considered
online. Expose this data at the ssconf interface.
Si...
Klaus Aehlig
05:10 pm Revision 750b7090: Also export PKGLIBDIR in pathutils
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Jose Lopes <jabolopes@google.com>
Klaus Aehlig
05:10 pm Revision 78521495: Add predicate whether to call cfgupgrade --downgrade
Provide a predicate that, given the current version and the
version to go to, tells whether it is appropriate to call...
Klaus Aehlig
05:10 pm Revision 0890e0d1: Add utility function to recognize upgrade ranges
Upgrading is possible within the same major version to any equal
or higher minor version. Downgrading is possible wit...
Klaus Aehlig
05:10 pm Revision 8c44d5b3: Also provide the program version
Conceptionally, the versions of the program, the protocols, and the
configuration are three different things, even th...
Klaus Aehlig
05:09 pm Revision 1eda3dd3: Add utility function to parse version strings
The new 'gnt-cluster upgrade' command will get a Ganeti version as
argument. So provide a function able to parse it.
...
Klaus Aehlig

10/02/2013

05:55 pm Revision cbb533f4: Update NEWS and docs to document access switch
* Update NEWS file
* Update man page
* Update install.rst
Signed-off-by: Santi Raffa <rsanti@google.com>
Signed-off-...
Raffa Santi
05:55 pm Revision 537dba0c: Add tests specific to the user/kernelspace access feature
Check that the validation procedures don't accept invalid values
and also don't choke on valid values.
Signed-off-by...
Raffa Santi
05:55 pm Revision 294254b1: Check validity of the access protocol parameter
* Prevent incompatible hypervisor/disk template/access type
combinations from being reached through the command lin...
Raffa Santi
05:55 pm Revision f83057ad: New method GetUserspaceAccessURI in storage class
Returns a hypervisor specific URI for RBD template when userspace
access is requested.
Signed-off-by: Santi Raffa <r...
Raffa Santi
05:55 pm Revision 117a85a0: Add Userspace RBD support in KVM
* Add device class object in block_device tuple
* Update hv_xen.py for new block_devices format
* Fix tests broken by...
Raffa Santi
05:55 pm Revision 9b9e088c: Define 'access' disk-parameter type
Add the "access" parameter to the RBD configuration. Fix test broken
by this change.
Signed-off-by: Santi Raffa <rsa...
Raffa Santi
03:50 pm Revision d067f40b: Merge 'EvacNode' and 'NodeEvacMode'
Merge 'EvacMode' and 'NodeEvacMode' which are associated with the
duplicated constants 'IALLOCATOR_NEVAC_*' and 'NODE...
Jose A. Lopes
03:50 pm Revision 6dc364f9: Remove duplicate 'IALLOCATOR_NEVAC_*' constants
Constants 'IALLOCATOR_NEVAC_*' are duplicates of 'NODE_EVAC_*' and are
no longer being used so they can be removed. F...
Jose A. Lopes
03:50 pm Revision d4d424fb: Replace 'IALLOCATOR_NEVAC_*' with 'NODE_EVAC_*'
Replace uses of 'IALLOCATOR_NEVAC_PRI', 'IALLOCATOR_NEVAC_SEC',
'IALLOCATOR_NEVAC_ALL', and 'IALLOCATOR_NEVAC_MODES',...
Jose A. Lopes
03:22 pm Revision b5cad580: Add soundhw support to XEN hypervisors
This allows XEN hypervisors to enable sound support, if the host
machines has required support. This has been tested ...
Raffa Santi
03:22 pm Revision 295ed29b: Add cpuid support to XEN hypervisors
Ease instance migration between heterogeneous nodes by letting system
administrators hide CPU capabilities as needed....
Santi Raffa
09:46 am Revision 982dc0e0: Merge branch 'stable-2.9' into master
* stable-2.9
Version bump for 2.9.0 rc1
Update NEWS for 2.9.0 rc1
configure: check for hslogger
Document hslo...
Klaus Aehlig

09/30/2013

07:23 pm Revision 8451bfdb: Version bump for 2.9.0 rc1
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Klaus Aehlig
07:23 pm Revision 555ace61: Update NEWS for 2.9.0 rc1
Make the main 2.9 entry now describe 2.9.0 rc1
and a short "Since 2.9.0 beta1" section.
Signed-off-by: Klaus Aehlig ...
Klaus Aehlig
07:12 pm Revision 5c40076b: Disable hlint camelcase on test module
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Jose Lopes <jabolopes@google.com>
Klaus Aehlig
04:14 pm Revision 6c60b266: configure: check for hslogger
As hslogger is, from 2.9 onwards, a mandatory dependency,
check for it unconditionally.
Signed-off-by: Klaus Aehlig ...
Klaus Aehlig
04:13 pm Revision 302ef5a1: Document hslogger dependency in NEWS
hslogger is now no longer optional (as it used to be in 2.8). Update
the NEWS file accordingly.
Signed-off-by: Klaus...
Klaus Aehlig
04:13 pm Revision f7b9f4c1: Update INSTALL: hslogger is mandatory
hslogger is a mandatory Haskell dependency form 2.9 onwards. Hence
update the INSTALL instructions accordingly.
Sign...
Klaus Aehlig
04:13 pm Revision bbc50106: Update installation instruction for Debian
In the instructions on how to install Ganeti on Debian, have
the commands for Wheezy as default and mention the comma...
Klaus Aehlig
03:20 pm Revision 33ce4d2d: Add test for mond-data mock file
Test if the input file imported with the --mond-data option is
parsed properly.
Signed-off-by: Spyros Trigazis <stri...
Spyros Trigazis
03:20 pm Revision c62bec27: Import MonD data from file
Implement functionality to import MonD data from a mock file to
HTools (mainly for testing purposes) with the --mond-...
Spyros Trigazis
03:20 pm Revision e5fe8978: Implement readJSON functions for DC Types
Implement readJSON functions for DCCategory, DCVersion and
DCKind in Data Collectors's Types to be parsable from a JS...
Spyros Trigazis
03:20 pm Revision c32c4e4d: Fetch data from MonD to HTools
Contact all MonDs from HTools to fetch data from its Data
Collectors (only CPUload Data Collector is queried at the
m...
Spyros Trigazis
03:20 pm Revision 690e509d: Add MonD's latest API Version in lib/constants.py
Extract the version number from MonD's own file into the constants file, so that
is can be accessed from other parts ...
Spyros Trigazis
03:20 pm Revision f30d0610: Update hail, hbal and htools man-pages
Update hail, hbal and htools man-pages to include the use of data
provided by MonD.
Signed-off-by: Spyros Trigazis <...
Spyros Trigazis
12:44 pm Revision 94444c4a: Add documentation for diskstats collector
The data collector for /proc/diskstats was undocumented. Add an entry for it in
the mon-collector man page.
Also, re...
Michele Tartara
11:14 am Revision cea4194b: Merge branch 'stable-2.8' into stable-2.9
* stable-2.8
Fix wrong release date in the NEWS file
Version bump for 2.8.0
Add daemon split design doc
* stab...
Klaus Aehlig

09/27/2013

04:25 pm Revision 3dda321b: Fix wrong release date in the NEWS file
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
Michele Tartara
03:51 pm Revision f3a4b10e: Version bump for 2.8.0
Also, update the NEWS file accordingly.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Klaus Aehl...
Michele Tartara
02:25 pm Revision f3cb57d5: Prevent lint error in mocked classes
Accessing private methods of parent classes is bad, but it is sometimes the best
approach for classes mocking them fo...
Michele Tartara
02:24 pm Revision 317a3fdb: Fix indentation for newer lints
Newer versions of pylint are more strict regarding indentation rules. This
commit fixes a couple of indentations that...
Michele Tartara
02:06 pm Revision ffedf64d: Add daemon split design doc
This describes the future planned structure of Ganeti daemons.
Signed-off-by: Michele Tartara <mtartara@google.com>
...
Michele Tartara
01:47 pm Revision eebc8ab2: Make the inst-status-xen collector more resilient
The data collectors should be able to provide as much information as possible
even when the system is badly degraded....
Michele Tartara
09:45 am Revision b1808f46: Use secondary IP when moving instances
All data traffic usually goes over the secondary network, but
gnt-instance move didn't. This patch corrects this prob...
Thomas Thrainer
09:33 am Revision f56ab6d1: Use secondary IP when moving instances
All data traffic usually goes over the secondary network, but
gnt-instance move didn't. This patch corrects this prob...
Thomas Thrainer

09/26/2013

05:35 pm Revision a40db327: Add 'generated from' comments in Hs2py constants
Modify Hs2Py constants to include a comment in the generated comments
describing the source of those constants. Fixes...
Jose A. Lopes
04:02 pm Revision 3c260845: Honor disks_active of instance when adding disks
Adding a disk to an instance used to leave the disk behind activated, no
matter how the disks_active flag of the inst...
Thomas Thrainer
04:02 pm Revision 3caff7a5: Mention changed default disk add behavior in NEWS
As the default behavior of adding disks has changed (now waiting for
disk synchronization is done per default), menti...
Thomas Thrainer
04:02 pm Revision 42bc62e1: Document --no-wait-for-sync for adding disks
The already present option '--no-wait-for-sync' in
`gnt-instance modify` is now also mentioned in the part which desc...
Thomas Thrainer
04:02 pm Revision 922a9e65: Wait for disk sync when adding a disk
When creating an instance, gnt-instance waits for instance disks to
sync. Inconsistently, this was not the case for a...
Thomas Thrainer
02:32 pm Revision 24d9f78e: Merge branch 'stable-2.7' into stable-2.8
Conflicts are trivially solved.
* stable-2.7
Version bump for 2.7.2 (updated NEWS file)
Signed-off-by: Michele Ta...
Michele Tartara
11:14 am Revision 070aad35: Version bump for 2.7.2
Change the version number and the NEWS file for the 2.7.2 bugfix release.
Signed-off-by: Michele Tartara <mtartara@g...
Michele Tartara

09/25/2013

04:49 pm Revision 42e85303: Merge branch 'stable-2.9' into master
* stable-2.9
Including missing RST files in packaging
Update supported lint tools version numbers
Fix some wron...
Klaus Aehlig
03:24 pm Revision f89ec0e0: Disable hlint camelcase on test module
Haskell test modules contain functions which have names containing
underscore. Add hlint annotation to disable this ...
Jose A. Lopes
03:07 pm Revision 08d58f4c: Merge branch 'stable-2.8' into stable-2.9
* stable-2.8
Add additional tests for utils.Retry
Make retry tests independent of actual time
Fix corner-case i...
Klaus Aehlig
02:06 pm Revision a3f895e6: Fix expansion in Makefile.am
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Jose Lopes <jabolopes@google.com>
Klaus Aehlig
01:59 pm Revision ba0d1044: Fix comment in 'configure.ac'
Fix comment for a configure parameter in 'configure.ac' to be
consistent with the remaining parameters.
Signed-off-b...
Jose A. Lopes
01:58 pm Revision e4940da5: Fix 'src/mon-collector.hs' source in dist
This patch fixes 'Makefile.am' to include the source file of
'mon-collector' in the distribution tarball even if the ...
Jose A. Lopes
01:50 pm Revision effc1b86: Move 'BuildVersion' to 'lib/utils/version.py'
Functions 'BuildVersion' and 'SplitVersion' are no longer needed by
the constants and, given that they are not consta...
Jose A. Lopes
01:50 pm Revision 285d04a1: HUnit test for 'buildVersion'
Add 'HUnit' test for 'buildVersion'.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Thomas Thraine...
Jose A. Lopes
01:49 pm Revision 5b2983dd: Remove '_autoconf'
The previous patch has made '_autoconf' obsolete. This patch
completely removes '_autoconf' and the 'Makefile' targe...
Jose A. Lopes
01:49 pm Revision b8669a69: Hs2Py constants: update Python references
Update references to constants that were previously in the generated
'lib/_autoconf.py' and since the previous patch ...
Jose A. Lopes
01:49 pm Revision 1c9e817d: Hs2Py constants: add remaining '_autoconf.*' constants
Add remaining constants which in Python are imported from the
generated 'lib/_autoconf.py'. This will allow to compl...
Jose A. Lopes
01:49 pm Revision e0d672fa: Hs2Py constants: update Python references to autoconf
Update Python references to all constants that used to point to the
generated 'lib/_autoconf.py', which has been supe...
Jose A. Lopes
01:49 pm Revision 3b170ad4: Hs2Py constants: add all 'AutoConf' and related constants
Add all constants in 'AutoConf' to the Hs2Py constant generation and
'socatEscapeCode' because it is part of the grou...
Jose A. Lopes
01:49 pm Revision b78d0757: Add 'buildVersion' for calculating Ganeti versions
Add 'buildVersion' which calculates Ganeti versions and it is the
Haskell counterpart of 'BuildVersion' in 'lib/const...
Jose A. Lopes
12:17 pm Revision fd653cbd: Fix sign in default-yes for --enable-versionfull
The default for using the full version string in the directory
is not to use it. If the option --enable-versionfull i...
Klaus Aehlig
12:12 pm Revision dde3b0d5: Including missing RST files in packaging
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
The patch was released by the author into the public domain.
S...
Robin H. Johnson
12:07 pm Revision ab6536ba: Update supported lint tools version numbers
Linting is now verified against the lint tools version numbers as listed in this
patch.
These version are correspond...
Michele Tartara
10:55 am Revision e0e44476: Fix some wrong indentations in the code
Fix all instances of pep8's error: "E128 continuation line under-indented for
visual indent".
Signed-off-by: Michele...
Michele Tartara
10:55 am Revision 6294e2b4: Disable parenthesis indentation check
More recent versions of pep8 check for the indentation level of closing
parenthesis in a way that is incompatible wit...
Michele Tartara
10:52 am Revision fa0a1365: Fix an improperly escaped string
Mark a string representing a "sed" command including a regular expression as a
raw string, so that the entire escapin...
Michele Tartara
10:52 am Revision aac832d2: Make QaConfig a proper container
Newer pylint versions complain that QaConfig is not a proper container because
it does not implement the __len__(), _...
Michele Tartara
10:51 am Revision 5e34123e: Make QmpMessage a proper container
Newer pylint versions complain that QmpMessage is not a proper container because
it does not implement the __len__() ...
Michele Tartara

09/24/2013

06:22 pm Revision a9688b61: Prevent static field checking for dynamic classes
In order to check for the correctness of the accesses to fields of objects,
pylint uses astng, but this is known to f...
Michele Tartara
04:06 pm Revision 87947a9e: Fix metaclasses support in recent pylint versions
Recent versions of pylint require the first parameter of a metaclass to be
"cls". Older versions want "mcs". There's ...
Michele Tartara
02:36 pm Revision f5bfed26: Hs2Py constants: update Python references
Update references of Python constants in the previous patch to fetch
their values from the generated Haskell to Pytho...
Jose A. Lopes
02:36 pm Revision 61e32567: Hs2Py constants: add 'confd' related constants
Add 'confd' related constants to the Hs2Py constant generation.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
...
Jose A. Lopes
02:36 pm Revision 8d04ac5e: Hs2Py constants: update Python references
Update references of the Python constants that were introduced in the
previous patch.
Signed-off-by: Jose A. Lopes <...
Jose A. Lopes
02:36 pm Revision 2924f169: Hs2Py constants: add some constants
Add 'opcodeReason', 'diskstatsFile', 'statFile', and
'mondTimeInterval', to the Hs2Py constant generation.
Signed-of...
Jose A. Lopes
02:36 pm Revision c890f66a: Organize Haskell constants
Reorder Haskell constants to match the order in the Python constants
module 'lib/constants.py' to make it easier to d...
Jose A. Lopes
02:16 pm Revision 921319f5: design: replace 'gnt-upgrade' by 'gnt-cluster upgrade'
Instead of using a separate binary, add the upgrade
functionality to gnt-cluster.
Signed-off-by: Klaus Aehlig <aehli...
Klaus Aehlig
10:37 am Revision d66acf3d: Fix RPC call to blockdev_getdimensions
The parameter format for call_blockdev_getdimensions has changed in a
previous patch. Here, the correct parameter for...
Thomas Thrainer
10:37 am Revision 117899a7: Fix cfgupgrade test wrt. downgrading physical_id
The physical_id field can't be recreated during downgrades, so don't
expect it to be during the test.
Signed-off-by:...
Thomas Thrainer
09:17 am Revision 76b920e6: Display node names instead of node UUIDs
Display resolved node names instead of node UUIDs in a couple of
warnings and log messages.
Signed-off-by: Thomas Th...
Thomas Thrainer
09:17 am Revision a0d2a91e: Only serialize dynamic_params on demand
To make sure that the dynamic_params field is not serialized by accident
to the configuration file only include it in...
Thomas Thrainer
09:17 am Revision 204eb58c: Remove physical_id field reference from tools
Remove remaining references to the physical_id field in cluster-merge
and sanitize-config.
Signed-off-by: Thomas Thr...
Thomas Thrainer
09:17 am Revision 5275a77f: Remove physical_id field from disks during upgrade
The physical_id field is no longer supported in disk objects, so remove
it during upgrades.
Signed-off-by: Thomas Th...
Thomas Thrainer
09:17 am Revision fd424c8a: Remove physical_id from config mock
Disk objects no longer support the physical_id field, so remove it from
mocked disk objects.
Signed-off-by: Thomas T...
Thomas Thrainer
09:17 am Revision 3d835d1b: Fix tests related to the physical_id field
Remove all references to the physical_id field of disk objects in tests.
Signed-off-by: Thomas Thrainer <thomasth@go...
Thomas Thrainer
09:17 am Revision a57e502a: Remove physical_id field from disk object
The 'physical_id' field of disk objects is no longer used, so remove it.
Also, all references are removed together wi...
Thomas Thrainer
09:17 am Revision 0c3d9c7c: Replace physical_id with dynamic_params
The disk field 'physical_id' has to be kept up to date whenever a disk
object is sent to a node via RPC. This is done...
Thomas Thrainer
09:17 am Revision 5bd52dab: Fix typo
Fix typo in comment.
Signed-off-by: Thomas Thrainer <thomasth@google.com>
Reviewed-by: Jose A. Lopes <jabolopes@goog...
Thomas Thrainer

09/23/2013

06:34 pm Revision 90015bdd: Handle $(python_scripts) and tools/burnin as python scripts
With the new private-module layout, python scripts using the
ganeti module must end up in $(versionedsharedir) in ord...
Klaus Aehlig
06:34 pm Revision 5d9d1aff: Provide PYTHONPATH to burnin
One feature of the new private-module layout is that a python
script cannot simply 'import ganeti'. The reason is tha...
Klaus Aehlig
06:34 pm Revision 12475881: Export VERSIONEDSHAREDIR to _autoconf.py
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Jose Lopes <jabolopes@google.com>
Klaus Aehlig

09/20/2013

04:36 pm Revision dd7863e7: Fix 'AutoConf.hs.in' template substitution
Fix 'AutoConf.hs.in' template substitution, namely, change 'SOCAT' to
'SOCAT_PATH' to match the value used in the inv...
Jose A. Lopes
04:30 pm Revision 61125868: Also install the version-dependent links forcefully
In this way, with default configuration options, running
make install twice in a row succeeds. Fixes issue 567.
Sign...
Klaus Aehlig
04:03 pm Revision cd824bde: Hs2Py constants: update 'SF_*' references
Update references to storage field Python constants to fetch their
values from 'lib/_constants.py'.
Signed-off-by: J...
Jose A. Lopes
04:02 pm Revision 37248170: Hs2Py constants: add storage fields
Add storage fields constants to the Haskell to Python constant
generation. These constants fetch their values from t...
Jose A. Lopes
04:02 pm Revision ccf17aa3: Move 'StorageField' to 'Ganeti.Types'
Move 'StorageField' to 'Ganeti.Types' in order to break the
circularity of 'Ganeti.Rpc' and be able to generate const...
Jose A. Lopes
03:39 pm Revision cd238561: Fix 'TOOLSDIR' when passed to 'src/AutoConf.hs'
Remove trailing parenthesis in 'TOOLSDIR' 'configure' variable when
passed to 'm4' to generate 'src/AutoConf.hs'.
Si...
Jose A. Lopes
03:22 pm Revision 32265e72: Add additional tests for utils.Retry
Also have some tests where the time the various components
(inspecting the time function, calling the function, etc) ...
Klaus Aehlig
03:22 pm Revision 38d1ee54: Make retry tests independent of actual time
Even in the tests, real time is used. While, generally, the assumptions
about execution time are pretty safe, in some...
Klaus Aehlig
03:21 pm Revision 34098a73: Fix corner-case in handling of remaining retry time
Consider a remaining time of 0 as already timed out. Otherwise,
there is no guarantee that calling utils.Retry with t...
Klaus Aehlig
09:56 am Revision 86610ed7: Improves allocation parameters check in move-instance
If the target cluster has a default iallocator, no allocation params
are needed. The parameter checks take this into ...
Hrvoje Ribicic
09:56 am Revision c3761d99: Move-instance can now change the disk template while moving
By using the --dest-disk-template option, the move-instance utility
can change the disk template of the moved instanc...
Hrvoje Ribicic

09/19/2013

06:15 pm Revision 2ff95a6b: Hs2Py constants: update Python references
Update references to the Python constants generated in the previous
patch.
Signed-off-by: Jose A. Lopes <jabolopes@g...
Jose A. Lopes
06:15 pm Revision 5867e439: Hs2Py constants: add constants from types
Add the constants to the Hs2Py constant generation from the Haskell
data types moved in the previous patch.
Signed-o...
Jose A. Lopes
06:15 pm Revision 8e6ef316: Move data types from 'Objects' to 'Types'
Move several Haskell data types from 'Ganeti.Objects' to
'Ganeti.Types' in order to be able to generate constants whi...
Jose A. Lopes
04:42 pm Revision 3311e336: Fix conflicting path values from 'configure'
Because the Hs2Py constant generation infrastructure is transitional,
there are two generated 'autoconf' modules, nam...
Jose A. Lopes
04:33 pm Revision a25fdde9: Fix constants for OOB commands
Fix values of the constants for OOB commands, namely, 'oobPowerOn' and
'oobPowerCycle'.
Signed-off-by: Jose A. Lopes...
Jose A. Lopes
04:31 pm Revision 2f523522: The $(gnt_python_sbin_SCRIPTS) are GENERATED_FILES
Before the layout change, the corresponding scripts used to be
part of PYTHON_BOOTSTRAP, hence were already considere...
Klaus Aehlig
03:49 pm Revision 230bc94a: Merge branch 'stable-2.9' into master
* stable-2.9
Fix incorrect conflict resolution in lib/cmdlib/instance.py
* stable-2.8
Version bump for 2.8 rc3
...
Klaus Aehlig
02:59 pm Revision 9f8e85c6: For exported paths, use the canonical ones
Some paths set that are set at configure time are needed at run
time. These are exported by the Makefile. Change this...
Klaus Aehlig
02:59 pm Revision c32dc51f: Update description of --enable-symlinks
As most of the symlinks in our setup are, in fact, independent
of the Ganeti version, they can be installed unconditi...
Klaus Aehlig
02:59 pm Revision 9fb2e563: Adapt the version-dependent symlinks to the new design
With the latest change of our update design, there are only two
symbolic links left, that are specific to a particula...
Klaus Aehlig
02:59 pm Revision eb875ff1: Add the version-independent symbolic links
According to our new upgrade design, a couple of links are
version-independent, and should be installed always.
Sign...
Klaus Aehlig
02:59 pm Revision 838d26ef: Make version granularity a configure option
From 2.10 onwards, all files are installed into versioned
directories. As everything stays compatible between revisio...
Klaus Aehlig
02:58 pm Revision 780060cb: Adapt the base directories according to new layout
The file layout described in the upgrades design document has changed.
Adapt the base directories accordingly.
Signe...
Klaus Aehlig
11:52 am Revision 8a7a197a: Hs2Py constants: update Python references
Update Python references to all constants added in the previous patch,
which are the constants associated with the Ha...
Jose A. Lopes
11:52 am Revision 85c48fbb: Hs2Py constants: add constants from 'Ganeti.Types'
Add to Hs2Py constant generation all constants that are defined by the
Haskell defined declared in 'Ganeti.Types'. T...
Jose A. Lopes
11:52 am Revision 58c09b0e: Fix alloc related constants value
Fix alloc related constants to fetch their value from the respective
Haskell types, which are defined in 'Ganeti.Type...
Jose A. Lopes
11:52 am Revision 774867f2: Add 'Ganeti.Types.OobStatus' for Hs2Py constants
Add 'Ganeti.Types.OobStatus' which is the Haskell counterpart to the
'OOB_STATUS_*' Python constants.
Signed-off-by:...
Jose A. Lopes
11:52 am Revision 14874844: Add 'PyValue' instance for triple
Add 'PyValue' instance for triple which is necessary for the
'CvErrorCode' related constants.
Signed-off-by: Jose A....
Jose A. Lopes
11:52 am Revision 06fd57e5: Fetch 'randomUuidFile' from 'ConstantUtils'
In 'Ganeti.Utils', update the reference to 'randomUuidFile' to fetch
the value from 'Ganeti.ConstantUtils' instead of...
Jose A. Lopes
11:52 am Revision 4475d529: Fix indentation
Fix indentation to match Haskell coding conventions.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by...
Jose A. Lopes
11:52 am Revision d91750e9: Fix missing constructors to 'CvErrorCode'
Data type 'Ganeti.Types.CvErrorCode' is missing several constructors,
namely, 'CvEINSTANCEUNSUITABLENODE', 'CvEGROUPD...
Jose A. Lopes
11:52 am Revision a8633d70: Add constructor 'TagKindNetwork' to 'TagKind'
Add missing constructor 'TagKindNetwork' to 'Ganeti.Types.TagKind'
which is the counterpart of the Python constant 'T...
Jose A. Lopes
11:52 am Revision 661c765b: Rename 'ExportModeRemove' to 'ExportModeRemote'
In "Ganeti.Types", rename constructor "ExportModeRemove" of
"ExportMode" to "ExportModeRemote". This fixes issue 577...
Jose A. Lopes
11:52 am Revision 9f312bae: Fix 'NICMode' missing 'NIC_IP_POOL'
Fix, in 'Ganeti.Types', data type 'NICMode', which is missing a
constructor which is the counterpart of the Python co...
Jose A. Lopes
11:52 am Revision 72e18df1: Change all types in 'Types' to use String
Haskell types should be the source of information related to
constants. Therefore, instead of building the Haskell t...
Jose A. Lopes
11:51 am Revision 9ee75f25: Add missing exports in 'Ganeti.Types'
Add missing exports in 'Ganeti.Types' which are necessary for
'Ganeti.HsConstants'. These exports concern the '*ToRa...
Jose A. Lopes

09/18/2013

07:23 pm Revision 80adbbe1: Perform proper cleanup on termination of Haskell daemons
Haskell deamons did not perform proper cleanup at termination. There was no code
for removing the pid file, and the c...
Michele Tartara
02:33 pm Revision 7236533e: Hs2Py constants: add xen related constants
Add xen related constants, such as, 'xenBootloader' and 'xenCmdXm' to
the Haskell to Python constant generation.
Sig...
Jose A. Lopes
02:33 pm Revision df726590: Hs2Py constants: add 'devConsole' and syslog related
Add 'devConsole' and syslog related constants to the Haskell to Python
constant generation.
Signed-off-by: Jose A. L...
Jose A. Lopes
02:33 pm Revision e82d1e98: Add Template Haskell 'declareLADT'
Add 'declareLADT' in Template Haskell module to declare Haskell
datatypes using 'String's directly as values for the ...
Jose A. Lopes
01:29 pm Revision edada04b: Fix strings invalid with newer lint versions
Generating ASCII characters via a supported but not official escape sequence
leads to a "Anomalous backslash in strin...
Michele Tartara
11:55 am Revision 216bfc8f: Update Python references to exit code constants
Update Python references to exit code constants to take their values
from the generated 'lib/_constants.py'.
Signed-...
Jose A. Lopes
11:55 am Revision 43a9e860: Haskell to Python constants: add exit code constants
Add exit code constants to Haskell to Python constant generation
infrastructure. The module 'Ganeti.ConstantUtils' m...
Jose A. Lopes
11:55 am Revision 1a79791d: Update Python reference to 'DAEMONS_LOGBASE'
Update Python reference of 'DAEMONS_LOGBASE' to fetch its value from
the generated 'lib/_constants.py' module.
Signe...
Jose A. Lopes
11:55 am Revision 856eb53c: Haskell to Python constants: add 'daemonsLogbase'
Move constant 'DAEMONS_LOGBASE' from Python to Haskell to be
automatically generated.
Signed-off-by: Jose A. Lopes <...
Jose A. Lopes
11:55 am Revision 1c31b263: Flip dependency between Haskell types and constants
Before this patch, Haskell types, such as, 'GanetiDaemon' and
'GanetiGroup', and related functions were taking their ...
Jose A. Lopes
11:54 am Revision f81d41cc: Replace import in 'Ganeti.Path'
Given that Haskell has its own generated 'AutoConf' module, it makes
sense that other Haskell modules import 'configu...
Jose A. Lopes
11:54 am Revision 30277da3: Fix missing dependency on 'src/hs2py-constants'
Fix missing dependency on target 'src/hs2py-constants' in
'Ganeti.ConstantUtils'.
Signed-off-by: Jose A. Lopes <jabo...
Jose A. Lopes

09/17/2013

06:45 pm Revision 47cce79a: Further tests for LUNodeAdd
This patch adds tests for the remaining functionality of LUNodeAdd.
Signed-off-by: Sebastian Gebhard <sege@fs.ei.tum...
Sebastian Gebhard
06:45 pm Revision 55ba3ad6: Add unittests for OpenvSwitch in LUNodeAdd
This patch adds node_unittest.py containing the framework for unit
testing LUNodeAdd.
At this point, only test setup ...
Sebastian Gebhard
06:45 pm Revision 4256f8fe: Replace more IPs with reserved adresses
Recently, some IP addresses were changed to TEST-NETs from RFC 5737.
This patch changes some more occurences of wrong...
Sebastian Gebhard
06:45 pm Revision d45574de: Mock RPC for unit tests
This patch enables patching the rpc module to create a mocked version
which can be used to mock a rpc.DnsOnlyRunner()...
Sebastian Gebhard
05:54 pm Revision 5be00b4b: Fix incorrect conflict resolution in lib/cmdlib/instance.py
Between the last two merges, nothing happened on stable-2.9. The
only change on stable-2.8 that touched lib/cmdlib/in...
Klaus Aehlig
02:12 pm Revision 52469de0: Merge branch 'stable-2.8' into stable-2.9
* stable-2.8
Add a default to file-driver when unspecified over RAPI
Remove typo from RAPI documentation
Descri...
Klaus Aehlig
12:15 pm Revision a3de343e: Version bump for 2.8 rc3
Also, add to the NEWS file a couple of items that were still missing.
Signed-off-by: Michele Tartara <mtartara@googl...
Michele Tartara

09/16/2013

02:58 pm Revision 9288992e: Merge branch 'stable-2.7' into stable-2.8
* stable-2.7
Fix incorrect manpage reference to htools
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by...
Klaus Aehlig
02:47 pm Revision f8ff4aa2: Fix incorrect manpage reference to htools
the manpages for hcheck, hinfo and hroller have an incorrect reference
to htools(7) which does not exist. This patch ...
Martin Zobel-Helas
02:25 pm Revision ff34fb97: Add a default to file-driver when unspecified over RAPI
The file-driver value, used by file-based instances, had a default value when
an instance was being created over the ...
Michele Tartara
12:50 pm Revision 34be621a: Fix monitoring daemon extra log filepaths
Haskell constants 'daemonsExtraLogfilesGanetiMondAccess' and
'daemonsExtraLogfilesGanetiMondError' cannot be constant...
Jose A. Lopes

09/13/2013

02:55 pm Revision 355d1f32: Fix lint errors in fix keyerrors patch
This patch fixes one lint error introduced by my recent patch to
fix keyerrors in lib/cmdlib/node.py.
Signed-off-by:...
Sebastian Gebhard
02:20 pm Revision 11414807: Fix example IPs and hostnames in tests
Our tests are a form of documentation, and hence should use
IPs from the TEST-NET ranges according to RFC 5737. They ...
Klaus Aehlig
02:07 pm Revision 282c1922: Remove typo from RAPI documentation
"be used instead." was repeated twice.
Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Klaus Aehli...
Michele Tartara
01:50 pm Revision 0d8ce33e: Fix keyerrors in cmdlib node
This patch fixes potential key errors in the OpenvSwitch implementation
in cmdlib/node.py. The checks in that file ex...
Sebastian Gebhard
11:59 am Revision b8e39189: design update: symlink structure
Update the upgrade design document according to the outcome
of the design discussion at GanetiCon 2013. There are two...
Klaus Aehlig
11:46 am Revision 798582cf: Make CPUload Data Collector aware of clock ticks
Modify CPUload data collector to get the number of clock ticks
per second from Posix.Unistd. Since CPUload collector ...
Spyros Trigazis

09/12/2013

06:26 pm Revision f8d4db63: Add shelltest for the --ignore-dynu option of hbal
In the example, we have two nodes and 6 instances, all using external
storage. There are four small instances on one ...
Klaus Aehlig
06:26 pm Revision 14b4e045: Make hbal support the option --ignore-dynu
This will allow to do balancing based only on static information.
In particular, the effect of balancing towards same...
Klaus Aehlig
06:25 pm Revision 81b6fa23: Make ExtLoader honor the --ignore-dynu option
Make the external data loader correctly honor the --ignore-dynu option
by clearing the dynamic utilisation data from ...
Klaus Aehlig
06:25 pm Revision a06a4dac: Provide utility function to clear utilisation data
Using this utility function, the dynamic utilisation of all instances
can be set to 0. This will have the effect of a...
Klaus Aehlig
06:25 pm Revision 61f96e6f: Define a new option --ignore-dynu
This option, if set, will tell htools to ignore any dynamic
use data.
Signed-off-by: Klaus Aehlig <aehlig@google.com...
Klaus Aehlig
04:49 pm Revision 068431d2: Describe the files in doc/users in NEWS
While only a small feature, the files in doc/users can influence
the way ganeti is packaged. Hence it should be menti...
Klaus Aehlig
04:49 pm Revision 1ce2f51f: Update the upgrade procedure
Now that users-setup asks for confirmation, explain in the
procedure how asking for this confirmation can be skipped....
Klaus Aehlig
03:56 pm Revision d1b2ffe8: Add unit tests for LUInstanceMigrate and -Failover
This patch adds rudimentary unit test coverage for LUInstanceMigrate and
LUInstanceFailover.
Signed-off-by: Thomas T...
Thomas Thrainer
03:56 pm Revision 34956ece: Remove unneeded except block
The validation of the opcodes already checks the size parameter for the
right type, so this except block is not requi...
Thomas Thrainer
03:56 pm Revision b02063fe: Add unit tests for LUInstanceChangeGroup
This patch provides unit test coverage for LUInstanceChangeGroup.
Signed-off-by: Thomas Thrainer <thomasth@google.co...
Thomas Thrainer
03:56 pm Revision aefc2f89: Use RpcResult.Warn where appropriate
Those two occurrences of warnings can be replaced the RpcResult.Warn
method, which is done in this patch.
Signed-off...
Thomas Thrainer
03:56 pm Revision 2f3230f6: Add unit test for LUInstanceQuery and -QueryData
This patch provides rudimentary unit test coverage for LUInstanceQuery
and LUInstanceQueryData.
Signed-off-by: Thoma...
Thomas Thrainer
03:56 pm Revision f41b569f: Fix testMasterNetmask in TestLUClusterSetParams
The netmask was previously wrongly given as a bitmask, now it's given as
the net prefix length.
Signed-off-by: Thoma...
Thomas Thrainer
03:56 pm Revision 27619aac: Add unit tests for LUInstanceSetParams
This patch adds unit tests for LUInstanceSetParams. It does not provide
100% coverage, but covers a significant porti...
Thomas Thrainer
03:56 pm Revision f667baab: Rename variable to reflect its content
Rename the "node" variable to "node_uuid" as that's the content it
actually receives.
Signed-off-by: Thomas Thrainer...
Thomas Thrainer
03:32 pm Revision 6b604e1d: Fix missing dependency in 'src/hs2py-constants'
Fix target 'src/hs2py-constants' because it must depend on
'src/AutoConf.hs'. Fixes issue 573.
Signed-off-by: Jose A...
Jose A. Lopes
03:23 pm Revision 0c5f1b13: Merge branch 'stable-2.9' into master
* stable-2.9
Fix bridging in net-common
Sync build_chroot with buildbot slack role
Auto-upgrade of disks' confi...
Thomas Thrainer
02:01 pm Revision 191e5c19: Update reference to Python constants
Update reference to 'DAEMONS_PORTS' and related constants that are
used on the Haskell side to construct the 'daemons...
Jose A. Lopes
02:01 pm Revision 6dc0cb59: Add 'daemonsPorts' and related constants
* add 'daemonsPorts' and related constants used in the construction of
the 'Map' that maps each daemon to its corre...
Jose A. Lopes
02:01 pm Revision cd0359bc: Add 'Protocol' datatype
Add 'Protocol' datatype which is necessary for the 'daemonsPorts'
constant.
Signed-off-by: Jose A. Lopes <jabolopes@...
Jose A. Lopes
02:01 pm Revision 92b28956: Fix instances of 'PyValue'
Fix instances of 'PyValue', namely, for tuples and maps.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewe...
Jose A. Lopes
02:01 pm Revision f2cf4da2: Update references to Python constants
Update references to the Python constants introduced by the previous
patch.
Signed-off-by: Jose A. Lopes <jabolopes@...
Jose A. Lopes
01:51 pm Revision f361a6ee: Haskell to Python constants: more constants
* move several groups of constants, from Python to Haskell, which are
currently being used in Haskell, including SS...
Jose A. Lopes
12:24 pm Revision b2e7599d: Merge branch 'stable-2.8' into stable-2.9
* stable-2.8
Make tools/users-setup explain its actions first
Generate tools/users-setup from descriptions
Prov...
Thomas Thrainer

09/11/2013

07:11 pm Revision 9317e5dc: Make tools/users-setup explain its actions first
Before doing any changes, make tools/users-setup explain its
actions first, and ask the user for confirmation. If the...
Klaus Aehlig
07:11 pm Revision 7822dd66: Generate tools/users-setup from descriptions
Now that we have a machine readable description of the users
to be added to the system, use it to generate the tools/...
Klaus Aehlig
07:11 pm Revision d2f465dc: Provide ganeti user and group data in easy-to-parse form
Upon build time, also generate, in the directory doc/users, files
containing the groups, the users with their primary...
Klaus Aehlig
11:16 am Revision 6970c28b: Inconsistent auto repair related constant
In 'lib/constants.py', fix inconsistency in the value of
'AUTO_REPAIR_TAG_SUSPENDED'. Fixes issue 569.
Signed-off-by...
Jose A. Lopes
11:02 am Revision d5b17094: Update constant references
Update Python user separation constants to reference the generated
module 'lib/_constants.py' instead of 'lib/_autoco...
Jose A. Lopes
11:01 am Revision 26eca119: Add user separation constants
Add user separation constants, such as, 'daemonsGroup', 'rapiGroup',
and 'rapiUser', to the Haskell to Python constan...
Jose A. Lopes
11:01 am Revision ca2d5dcc: Add target 'AutoConf.hs'
Add Makefile target to generate 'AutoConf.hs' and add this file to
'.gitignore'.
Signed-off-by: Jose A. Lopes <jabol...
Jose A. Lopes
11:00 am Revision fa70fff2: Add AutoConf.hs.in
Add 'AutoConf.hs.in' which is the template for generating the file
'AutoConf.hs'. This file mimics the Python equiva...
Jose A. Lopes

09/10/2013

02:33 pm Revision 3e5b34c3: Also clean up top-level *.tix files
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Michele Tartara <mtartara@google.com>
Klaus Aehlig
11:58 am Revision 2b1c5a63: Haskell to Python constants: Update 'ADMINST_ALL' reference
Update constant 'ADMINST_ALL' to take its value from the generated
'lib/_constants.py' module.
Signed-off-by: Jose A...
Jose A. Lopes
11:58 am Revision 9413ef24: Haskell to Python constants: add 'adminstAll'
Add constant 'adminstAll' to Haskell to Python constant generation.
Signed-off-by: Jose A. Lopes <jabolopes@google.c...
Jose A. Lopes
11:58 am Revision f2b6e7d4: Add 'FrozenSet'
Add type 'FrozenSet' that wrap a Haskell 'Set', and a guarded
constructor for this type and a 'PyValue' instance.
Si...
Jose A. Lopes
11:58 am Revision 4c9fdf69: Fix module documentation
Fix 'Ganeti.Hs2Py.ListContants.hs.in' template module documentation to
warn about automatic module generation.
Signe...
Jose A. Lopes
11:58 am Revision 88284d52: Fix module documentation
Fix 'lib/_constants.py.in' documentation to be consistent with other
modules.
Signed-off-by: Jose A. Lopes <jabolope...
Jose A. Lopes
11:58 am Revision c93041a5: Fix module documentation
Fix 'HsConstants' module documentation to warn about proper module
usage.
Signed-off-by: Jose A. Lopes <jabolopes@go...
Jose A. Lopes
11:58 am Revision 4651c69f: Wrap 'Set' in 'ListSet' for the opcodes
In what Haskell to Python opcodes are concerned, a Haskell 'Set' is
translated into a Python 'list'. In other words,...
Jose A. Lopes
11:58 am Revision 3a933ed8: Fix 'List' instance of 'PyValue'
Fix 'List' instance of 'PyValue' to properly convert Haskell lists to
Python lists.
Signed-off-by: Jose A. Lopes <ja...
Jose A. Lopes
« Previous
Next »
 

Also available in: Atom