Add a small unittext extension for utils.RunCmd
Reviewed-by: imsnah
Test “gnt-node volumes”.
Reviewed-by: iustinp
Pass --os-size and --swap-size to burnin during QA.
Implement argument for known_hosts file.
Set SSH's ClearAllForwardings and ForwardAgent options.
- Test “gnt-cluster copyfile”- Run “gnt-cluster verify” and “gnt-cluster info” after adding all nodes- Remove unused --cleanup option- Remove --verbose option and always print executed SSH commands
Fix typo.
Reviewed-by: iustin
Some small fixes.
It fixes the main Makefile.am to create $localstatedir/{lib,log}/ganeti.It fixes the testing Makefile.am after the rename fake_config.py ->mocks.py. It strips the output of "ip link show" to have a nicer outputif the master netdev does not exist.
Style changes for pep-8 and python-3000 compliance.
This changes the raising of exceptions from: raise Exception, valueto raise Exception(value)
as the first form will be removed in python-3000 and the second form ispreferred now.
The changes also involve a few cases of changing from raising standard...
Prepare for the tags implementation: - add an Update method on the ConfigWriter class; - make the AddInstance method not log disks for diskless types (helps with testing) - implement limited testing for the ConfigWriter with focus on the new Update method
Move the cluster name from ConfigWriter to SimpleStore.
Reason: if left ConfigWriter, nodes don't know to which cluster they belong.This will bite us later when we'll revisit node join operation.
Cons: we lose the cluster name from the config file, which means a...
Update for the new tests.
- Use new --master-netdev parameter on gnt-cluster init- Split up info tests and add more of them- Replace map() by [x for x in y]
Big change/cleanup in relation to the master startup: - move the master node name from the ConfigWriter to SimpleStore (all nodes need this, and it was the only thing pulled in from the ConfigWriter on nodes) - fix mcpu.py and the testing w.r.t. this change; for testing, rename...
Allow default bridge to be configured.
Initial commit.