Activity

From 08/16/2010 to 09/14/2010

09/14/2010

07:49 pm Revision 6f076453: Export nodegroups list (names/uuids) via ssconf
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
07:49 pm Revision 36e247e1: Add nodegroup bash autocomplation
We autocomplete both by nodegroup name and uuid.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Mi...
Guido Trotter
07:49 pm Revision 5fbbd028: Add nodegroup option to AddNode
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
07:49 pm Revision 190e3cb6: Add node's nodegroup field
If a node doesn't have a node group we'll upgrade the config making it
the cluster default. Also the node add and rem...
Guido Trotter
07:40 pm Revision 6520ba14: Check for nodegroup uuid indexing
Since the uuid is immutable the probability of it getting out of sync
between the object and the dict key is very low...
Guido Trotter
07:40 pm Revision eaa98a04: config.LookupNodeGroup
This function allows a node group to be looked up by name or uuid.
If no nodegroup is specified and only one exists, ...
Guido Trotter
07:40 pm Revision f9e81396: ConfigWriter: create the default node group
If no node groups exist we'll create a new default empty one.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Re...
Guido Trotter
06:14 pm Revision 3df43542: Add a 'nodegroups' slot to ConfigData
Also:
- reformat the __slots__ declaration of ConfigData
- call UpgradeConfig on each node groups to handle futur...
Guido Trotter
06:14 pm Revision fe25a79a: _ContainerFromDicts: handle None source
When _ContainerFromDicts is called on some element which doesn't exist
in the config, because it is yet to be upgrade...
Guido Trotter
06:14 pm Revision 24a3707f: Add a new NodeGroup config object
The "members" slot of this object is not serialized, and is discarded
when deserializing, initializing it explicitly ...
Guido Trotter

09/13/2010

06:35 pm Revision 84a5b33c: cli: Add option definition for priority
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:35 pm Revision e71c8147: jqueue: Ensure only accepted priorities are allowed for submitting jobs
Quoting the design document: “Submitted opcodes can have one of the priorities
listed below. Other priorities are res...
Michael Hanselmann
06:35 pm Revision 8f5c488d: Add support for job priority to opcodes and job queue objects
This allows clients to submit opcodes with a priority. Except for being
tracked by the job queue, it is not yet used ...
Michael Hanselmann
06:35 pm Revision e5d8774b: Add job priority constants
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:16 pm Revision e4ef4343: RAPI server: Move user file watching out, update documentation
This patch moves the code watching the users file into a
a separate class to not mix it with HTTP serving. The users
...
Michael Hanselmann
05:46 pm Revision acf931b7: Remove mcpu's ReportLocks callback
This is no longer needed with the new lock monitor. One callback is kept to
check for cancelled jobs.
Signed-off-by:...
Michael Hanselmann
05:39 pm Revision 5ef699a0: Revert "jqueue: Resume jobs from “waitlock” status"
This reverts commit 4008c8edae31a3971fa8c4b200238afc8005d3d4.
While it worked in my initial tests, I've now found ca...
Michael Hanselmann
04:24 pm Revision bcc6f36d: Proposed design changes for 2.3 and big clusters
A big design doc patch touching three areas related to increasing
scalability in 2.3.
Signed-off-by: Iustin Pop <ius...
Iustin Pop
02:04 pm Revision a025e535: Fix OS_VARIANT variable setting
This was introduced in efaa9b06d1e1e6d1678d0edd75b1ba37cf0de3d9.
in OSCoreEnv:
inst_os.name is pure operating sys...
Vitaly Kuznetsov

09/10/2010

04:48 pm Revision a2e60f14: Update the authentication mapping in RAPI if users file has been updated
Please note: This only works if the file existed upon startup. If the file was
created later, ganeti-rapi has to be r...
René Nussbaumer
03:11 pm Revision a68fe106: Merge branch 'devel-2.2'
* devel-2.2:
Fix pylint warning in http/__init__.py
Allow SSL ciphers to be overridden in HTTP server
jqueue: R...
Michael Hanselmann
03:10 pm Revision a6d350cc: Merge branch 'stable-2.2' into devel-2.2
* stable-2.2:
Fix pylint warning in http/__init__.py
Allow SSL ciphers to be overridden in HTTP server
If we ha...
Michael Hanselmann
02:54 pm Revision 5117f822: Fix pylint warning in http/__init__.py
My bad for not seeing this before:
R0201:614:HttpBase.GetSslCiphers: Method could be a function
Signed-off-by: Micha...
Michael Hanselmann
02:43 pm Revision 91c69613: Allow SSL ciphers to be overridden in HTTP server
Users of this class, such as the RAPI server, might want to override or adjust
the default SSL cipher defined in a co...
Michael Hanselmann
02:23 pm Revision 4008c8ed: jqueue: Resume jobs from “waitlock” status
After an unclean restart of ganeti-masterd, jobs in the “waitlock” status can
be safely restarted. They hadn't modifi...
Michael Hanselmann
02:23 pm Revision de9d02c7: jqueue: Move queue inspection into separate function
This makes the __init__ function a lot smaller while not changing
functionality.
Signed-off-by: Michael Hanselmann <...
Michael Hanselmann
02:23 pm Revision 747f6113: jqueue: Don't update file in MarkUnfinishedOps
This reduced the number of updates to the job files. It's used in two places
while processing a job and the file is u...
Michael Hanselmann
02:22 pm Revision 05ad571c: locking.SharedLock: Update class docstring
This was already outdated when the initial version of SharedLock was added
in commit 162c1c1f1 (February 2008).
Sign...
Michael Hanselmann

09/09/2010

04:52 pm Revision d3b18b8e: Adding functionality to check feasability of joining the host
This checks if the host might possibily belong already to another
cluster. If this is the case we abort without any f...
René Nussbaumer
03:43 pm Revision 5b27346a: If we had any errors in setup in one of the hosts, exit with non-zero
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:32 pm Revision f9b87434: Fix the output of the key fingerprint from binary to hex
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer

09/07/2010

04:56 pm Revision 887c7aa6: locking: Implement priorities in SharedLock and LockSet
For proper support of job priorities, jobs' locks need to respect
priorities. Otherwise it could happen that a job w...
Michael Hanselmann
02:26 pm Revision cbccd9ca: Modify daemon-util to support launching daemons under different user/groups
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:26 pm Revision fd346851: Remove utils.EnsureDir as this is done by ensure-dirs.in now
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:26 pm Revision e60c73a1: The config now should also belong to confd group and readable by it
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:26 pm Revision 82b22e19: Move job queue to new ganeti.runtime
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
René Nussbaumer
02:26 pm Revision 0070a462: Revert "Make it possible to call utils.Daemonize with uid and gid to run as"
This reverts commit 743b53d4eb9f3de46edb5e54738dab287b1979ac.
Conflicts:
lib/daemon.py
Trivial conflict resolved....
René Nussbaumer
02:26 pm Revision 69d89cb5: Partial Revert "Let ganeti-rapi run under a different user/group"
This partially reverts commit 8b72b05c51208190796b558233d69dae7643c7f7.
Basically it removes the user involved chang...
René Nussbaumer
01:07 pm Revision ae8419a2: Merge branch 'devel-2.2'
* devel-2.2:
cli: Use list of options shared between commands
jqueue: Use separate function for encoding errors
...
Michael Hanselmann
01:06 pm Revision fa697271: Merge branch 'stable-2.2' into devel-2.2
* stable-2.2:
Fix breakage introduced by commit 8044bf655
Remove “dry_run” from opcodes.OpCreateInstance
Disabl...
Michael Hanselmann
12:44 pm Revision 5786c087: cli: Use list of options shared between commands
The completion script for bash has to know about these options. Until now
the list was in two places--once in cli.py ...
Michael Hanselmann
12:44 pm Revision 6760e4ed: jqueue: Use separate function for encoding errors
Comes with unittest.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann

09/06/2010

05:55 pm Revision f4c9af7a: Cluster.UpgradeConfig: populate primary_ip_family
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
05:55 pm Revision 24f6a6e6: Revert "Add 2.2->2.3 cluster upgrade function"
This reverts commit 2c9cf6bb05e14ea606638fce9680994cf92e8e24.
The change is better done in objects.py
Signed-off-by:...
Guido Trotter
05:08 pm Revision f12e1736: Adding a runtime configuration library
This is used to expand the users/group names just once at
initial call.
Signed-off-by: René Nussbaumer <rn@google.co...
René Nussbaumer
01:54 pm Revision b370482d: Allow ensure-dirs to run partially and skip big file chunks
The startup of the daemons would take a lot of time otherwise,
also it's not needed to set the permissions of those f...
René Nussbaumer
01:54 pm Revision 5224330e: Adapt ensure-dirs to accomodate the additional permissions and files
Please note that this can and will be improved over time. There are discussions
about automated file generation of en...
René Nussbaumer

09/03/2010

06:10 pm Revision 5f715404: Document the gain options in hbal's manpage
Iustin Pop
06:02 pm Revision 848b65c9: Use the mingain options in the balancing algorithm
Also adds them in hbal. Iustin Pop
06:02 pm Revision 2dc1237c: Log warning instead of raising OpExecError for ndisc6
Signed-off-by: Manuel Franceschini <livewire@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Manuel Franceschini
03:35 pm Revision 4f807a57: Add new CLI options for min gain during balancing
Recent hbal seems to run many steps for small improvements (< 1e-3), so
we should stop early in this case.
We add a ...
Iustin Pop
02:27 pm Revision 697a3d61: Fix some epydoc warnings
Signed-off-by: Manuel Franceschini <livewire@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Manuel Franceschini

09/02/2010

07:43 pm Revision bd2475e2: Fix breakage introduced by commit 8044bf655
Note to self: even patches removing one line can break everything.
Signed-off-by: Michael Hanselmann <hansmi@google....
Michael Hanselmann
07:05 pm Revision 8044bf65: Remove “dry_run” from opcodes.OpCreateInstance
I'ts declared twice, once in opcodes.OpCode and here, and this one
is redundant.
Signed-off-by: Michael Hanselmann <...
Michael Hanselmann
04:24 pm Revision 3794937c: Adapt configure.ac to the new users/groups
This patch does not affect anything. The logic to start the other daemons
(except for RAPI which is already implement...
René Nussbaumer
04:10 pm Revision e81edf72: gnt-node: Fix bug that inverts ssh-key-check behavior
Signed-off-by: Manuel Franceschini <livewire@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Manuel Franceschini
03:45 pm Revision d78ceb9e: Makefile: make the rst2html converter more strict
This will make the automated builds flag any problems. Iustin Pop
03:43 pm Revision 49d977db: Update NEWS file
Iustin Pop
03:43 pm Revision 74e89a14: Fix ReplaceSecondary moves for offline nodes
The addition of a new secondary on a node is doing two memory tests:
- in strict mode, reject if we get into N+1 fail...
Iustin Pop
03:43 pm Revision adc5c176: Add some more debugging functions
These are just variations of the standard debug, but are provided for
simpler code, since lazyness is something causi...
Iustin Pop
02:04 pm Revision 34f06005: Disable the RAPI CA checks in watcher
Since the RAPI certificate is not necessarily self-signed, and we
currently don't have any configuration variable for...
Iustin Pop

09/01/2010

12:50 pm Revision 298e4dc8: move-instance: Fix parameter order in _CreateInstance
This patch fixes a bug, which caused the primary and secondary
destination nodes to be revered on the destination clu...
Manuel Franceschini

08/30/2010

12:12 pm Revision 748654f7: Implement cluster state saving in hbal
Also move the LUXI execution (-X) to the end, after all the output
messages are printed. No good in waiting for the m...
Iustin Pop
12:12 pm Revision 94d08202: Change iterateAlloc to return the instance list
The Cluster.iterateAlloc and tieredAlloc functions are changed to also
return the updated instance list, since it is ...
Iustin Pop
12:12 pm Revision 3e9501d0: Implement cluster state saving in hspace
This also uncovered a few issues with the allocation model (instances
not being marked up, etc.).
Compared to hbal, ...
Iustin Pop
12:12 pm Revision db43d7b3: Update man pages for the new -S option
Iustin Pop
12:12 pm Revision 10852adb: hspace: mark new instances as running
Otherwise the saved cluster state and the in-memory one are wrong. Iustin Pop
12:12 pm Revision 4a273e97: Abstract the cluster serialization from hscan.hs
This is currently hardcoded in an internal function in hscan.hs, and we
move it to Text.hs for later use.
Iustin Pop

08/27/2010

04:28 pm Revision 2c9cf6bb: Add 2.2->2.3 cluster upgrade function
Signed-off-by: Manuel Franceschini <livewire@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Manuel Franceschini
04:10 pm Revision 100a75a7: Merge branch 'devel-2.2'
* devel-2.2:
Show list of pending acquires in “gnt-debug locks”
Signed-off-by: Michael Hanselmann <hansmi@google.c...
Michael Hanselmann
03:44 pm Revision 7dd999fc: Handle ENOENT case in ssconf.GetPrimaryIPFamily
This patch adds an optional default parameter to SimpleStore._ReadFile. This
can be used to default the return value ...
Manuel Franceschini
03:03 pm Revision c31825f7: Show list of pending acquires in “gnt-debug locks”
This is accomplished by keeping a list of waiting threads instead
of just their number inside the lock-internal condi...
Michael Hanselmann

08/26/2010

06:13 pm Revision 21d0f6c7: Design for job priorities
This is an additional patch on top of my previous design for
workerpool priorities.
Signed-off-by: Michael Hanselman...
Michael Hanselmann

08/25/2010

07:40 pm Revision 02da9d07: Add a new option --save-cluster
This option will in the future be used to serialize the cluster state in
hbal and hspace after the rebalance/allocati...
Iustin Pop
07:04 pm Revision 50811e2c: Add unittest for Node text serialization
This checks that the Node text serialization and deserialization
operations are idempotent when combined other.
Iustin Pop
06:53 pm Revision a070c426: Switch unittest to custom hostnames
Currently, the hostnames are almost fully arbitrary chars, which breaks
the assumption that nodes/instances will be n...
Iustin Pop
04:42 pm Revision 282f38e3: Node groups design doc
For the first version we should be able to implement node groups without
any backend api changes (ie. Iallocator). Yi...
Guido Trotter
04:42 pm Revision 9684d509: Move sections of 2.3 design doc up a level
This removes the "Detailed design" section and moves everything else up
a level.
Signed-off-by: Guido Trotter <ultro...
Guido Trotter
04:18 pm Revision 8062638d: Fix scp command when target is an IPv6 address
Due to the syntax used for the target in scp <target>:<path>, it is
necessary when the target is an IPv6 address to e...
Manuel Franceschini
02:07 pm Revision 338180f5: Revert "Don't provide --no-ssh-key-check for QA"
This reverts commit dc092ece1bd07e9fa6ed97de8b4a3f360b26725e.
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewe...
René Nussbaumer
02:07 pm Revision 3ef51126: Revert behaviour for calling SetupNodeDaemon
This was previously done in setup-ssh which was the wrong place
Signed-off-by: René Nussbaumer <rn@google.com>
Revie...
René Nussbaumer
02:07 pm Revision 9294514d: Change bootstrap.SetupDaemonNode to use scp as we can assume SSH is setup
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Manuel Franceschini <livewire@google.com>
Reviewed-by: Gu...
René Nussbaumer
12:56 pm Revision c30421e0: Merge branch 'devel-2.2'
hansmi helped me with merging the conflict. Thanks
Conflicts:
lib/workerpool.py
Signed-off-by: René Nussbaumer <rn...
René Nussbaumer
12:02 pm Revision 310a8944: Adding host key verification to setup-ssh
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iusti...
René Nussbaumer
12:02 pm Revision 33993ab8: Adding a paramiko fingerprint format helper
And provide unittests for them
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google...
René Nussbaumer
10:31 am Revision 14bde528: IPv6 design doc part
Signed-off-by: Manuel Franceschini <livewire@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Manuel Franceschini

08/24/2010

08:06 pm Revision e4d89284: Merge branch 'devel-2.1' into devel-2.2
* devel-2.1:
Increase version to 2.1.7
Update NEWS for the 2.1.7 release
Conflicts:
NEWS
- merge
configure....
Guido Trotter
07:54 pm Revision c78b3a66: Increase version to 2.1.7
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
07:54 pm Revision 6845d276: Update NEWS for the 2.1.7 release
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Guido Trotter
07:30 pm Revision 3bf75b7d: Move text serialization functions to Text.hs
Currently these are in hscan, and cannot be reused easily. Iustin Pop
06:32 pm Revision 52c47e4e: workerpool: Add support for task priority
To add job priorities, the worker pool underlying the job queue must
support priorities per task. This patch adds the...
Michael Hanselmann
06:29 pm Revision 73c25d35: Fix race condition in locking unittest
While writing unittests for the new lock monitor, I made a small mistake and
didn't synchronize acquiring locks prope...
Michael Hanselmann
05:57 pm Revision 19b9ba9a: Add simple lock monitor
This patch adds an initial implementation of a lock monitor, accessible
for the user through “gnt-debug locks”. It cu...
Michael Hanselmann
05:27 pm Revision daba67c7: workerpool: Allow setting task name
With this patch, the task name is added to the thread name and will show up in
logs. Log messages from jobs will look...
Michael Hanselmann

08/23/2010

06:26 pm Revision a4ebd726: Use one function to parse “--fields” option values
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:57 pm Revision 4fb780d1: locking.LockSet: Use function to get member lock name
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:57 pm Revision 049088b2: Finalize removal of “lock_status” job field
When removing the field in commit 9bdab62198, I forgot to remove some parts.
Signed-off-by: Michael Hanselmann <hans...
Michael Hanselmann
05:33 pm Revision 0849f36b: Prepare 2.2.0~rc1 release
Update NEWS and version number.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iusti...
Michael Hanselmann
03:40 pm Revision ea8ac9c9: Switch to the RPC call to update /etc/hosts in LUAddNode and LURemoveNode
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanse...
René Nussbaumer
03:40 pm Revision 19ddc57a: Add RPC calls to update /etc/hosts
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanse...
René Nussbaumer
02:58 pm Revision 17f7fd27: Fix a few epydoc docstrings
Signed-off-by: Manuel Franceschini <livewire@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Manuel Franceschini
01:39 pm Revision 8f9069e5: Merge branch 'devel-2.2'
* devel-2.2:
setup-ssh: fix updating of authorized_keys
setup-ssh: Also use keys from the ssh-agent
setup-ssh: ...
Iustin Pop
01:31 pm Revision 981732fb: Make family argument in FormatAddress optional
By doing this we delegate the task of finding the correct address family
to the FormatAddress method.
Signed-off-by:...
Manuel Franceschini
01:31 pm Revision 51b13ce9: Support IPv6 for instances
Signed-off-by: Manuel Franceschini <livewire@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Manuel Franceschini
12:50 pm Revision 634a9a35: setup-ssh: fix updating of authorized_keys
Due to what seems like a bug (or inconsistency) in paramiko, files
opened with a+ over SFTP need a seek() in order fo...
Iustin Pop
12:47 pm Revision 3dc66ebc: setup-ssh: Also use keys from the ssh-agent
Currently, setup-ssh only uses one disk-based key. This means that any
setup where we use keys from ssh-agent (which ...
Iustin Pop

08/20/2010

05:41 pm Revision 8647a52c: setup-ssh: fix the logging error message
This took a bit of interesting debugging, but the issue seems to be that
on older python/logging/paramiko (I'm not su...
Iustin Pop
05:41 pm Revision 7bff16bd: setup-ssh: only read the ssh port once
Then reuse it. With certain setups, this could be slow when pre-seeding
an entire cluster.
Signed-off-by: Iustin Pop...
Iustin Pop
05:41 pm Revision 7a6a27af: setup-ssh: try to use key auth first
This patch changes the setup-ssh workflow to try key authentication
first, and then fall-back to password authenticat...
Iustin Pop
05:41 pm Revision 5c654e95: setup-ssh: redo the logging levels
There is not enough logged by default on stderr, and way too much
information in the log file.
Since we don't want t...
Iustin Pop
05:16 pm Revision a4978169: Use Sphinx' :rfc: extension to refer to RFCs
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
05:16 pm Revision 981e0168: Document non-standard usage of JSON in RAPI
This was requested in issue 118.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iust...
Michael Hanselmann
04:12 pm Revision 7c4c22f5: gnt-node add: add error msg when using IPv6
Signed-off-by: Manuel Franceschini <livewire@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Manuel Franceschini
03:53 pm Revision dc092ece: Don't provide --no-ssh-key-check for QA
My last setup-ssh patch series removed this option. Though, this is
just a temporary fix as a patch series is coming ...
René Nussbaumer
02:12 pm Revision d8e0caa6: Use family in backend.StartMaster
This patches changes the StartMaster method to consult the cluster
primary ip version when deciding whether to use ar...
Manuel Franceschini
02:10 pm Revision f3044516: Make Hostname object always intialize its name to fqdn
This patch restores the behaviour of Hostname (previously known as
HostInfo) to always use fqdn. This was broken due ...
Manuel Franceschini
01:03 pm Revision 2175e25d: Fix small spelling mistake
Signed-off-by: Manuel Franceschini <livewire@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Manuel Franceschini

08/19/2010

06:48 pm Revision 48418fea: Fix a few commands behaviour with dry-run
These commands use or display the result from the LU, so in case of
dry-run, they will crash or display just 'None'. ...
Iustin Pop
06:48 pm Revision a0a6ff34: Stop adding the dry-run option by default
Currently cli.py unconditionally adds the dry-run option. This patch
disables this, and exports dry-run as a normal o...
Iustin Pop
06:48 pm Revision db5a8a2d: Explicitly add dry-run to some commands
Based on manual inspection (that the command only does a submit of some
jobs/opcodes), we re-add the dry-run option o...
Iustin Pop
06:30 pm Revision 9bdab621: jqueue: Remove lock status field
With the job queue changes for Ganeti 2.2, watched and queried jobs are
loaded directly from disk, rendering the in-m...
Michael Hanselmann
06:30 pm Revision 1377433b: QA: Run simple job queue test
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
06:27 pm Revision edcd876b: utils: Use WriteFile in {Set,Remove}EtcHostsEntry
This avoids duplicate effort and has been a TODO for a long time.
Signed-off-by: Michael Hanselmann <hansmi@google.c...
Michael Hanselmann
05:02 pm Revision 29eddf2d: Merge branch 'devel-2.1' into devel-2.2
* devel-2.1:
Don't ignore secondary node silently
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by:...
Guido Trotter
04:55 pm Revision af5970ab: Don't ignore secondary node silently
Currently on non-mirrored disk templates the secondary node is ignored
silently. This patch adds a check for this cas...
Guido Trotter
04:02 pm Revision 69affe73: Document primary ip version and ndisc6
Signed-off-by: Manuel Franceschini <livewire@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Manuel Franceschini
03:13 pm Revision 2e6469a1: Modify gnt-node add to call external script
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
03:12 pm Revision 0963d545: Make it possible to invoke RunCmd in interactive mode
This is needed so we can run external scripts asking for password and such
to run interactive. Downside is that we ca...
René Nussbaumer
03:12 pm Revision e8d61457: Removing all ssh setup code from the core
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
René Nussbaumer
03:10 pm Revision 3bb5c580: etags: force Python as a language
etags has cannot properly identify the scripts/gnt-* files as Python, so
we statically force the language to Python.
...
Iustin Pop
12:44 pm Revision 9486f6ae: Support for IPv6 QA
Signed-off-by: Manuel Franceschini <livewire@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Manuel Franceschini
12:44 pm Revision b43dcc5a: Support IPv6 node add
Signed-off-by: Manuel Franceschini <livewire@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Manuel Franceschini
12:44 pm Revision e7323b5e: Support IPv6 cluster init
Signed-off-by: Manuel Franceschini <livewire@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Manuel Franceschini
12:43 pm Revision 868a98ca: Add primary_ip_family to ssconf
Since this parameter will be used on all daemon startups, it needs to be
available on all nodes. This is achieved by ...
Manuel Franceschini
12:43 pm Revision 2f20d07b: Add new cluster parameter primary_ip_version
We expose the ip_version (4, 6) to the external interface and internally
we convert it to ip_family (AF_INET=2, AF_IN...
Manuel Franceschini
12:41 pm Revision e7b3ad26: netutils: make re class attribute and catch IndexError
These missing changes were initially agreed upon but then forgotten.
First, we move the valid name regex to the class...
Manuel Franceschini

08/18/2010

07:59 pm Revision 0f979a34: Merge branch 'devel-2.2'
* devel-2.2:
RAPI client: Support modifying instances
RAPI: Allow modifying instance
Small fixes for instance c...
Guido Trotter
07:58 pm Revision 623fea30: Merge branch 'devel-2.1' into devel-2.2
* devel-2.1:
Fix --master-netdev arg name in gnt-cluster(8)
Restore 'tablet mouse on vnc' behavior
Document the...
Guido Trotter
04:07 pm Revision 7845b8c8: Fix some small newline style issues
Signed-off-by: Manuel Franceschini <livewire@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Manuel Franceschini
02:21 pm Revision 3b7158ef: RAPI client: Support modifying instances
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
02:21 pm Revision 3882937a: RAPI: Allow modifying instance
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
02:21 pm Revision dd0fa69d: Small fixes for instance creation via RAPI documentation
- Inconsistencies
- Missing types
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <ius...
Michael Hanselmann
02:21 pm Revision f99010b2: gnt-debug: Extend job queue tests
Test multiple opcodes, also with failure.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin ...
Michael Hanselmann
02:21 pm Revision 963a068b: jqueue: Mark opcodes following failed ones as failed, too
When an opcode fails, the job queue would leave following opcodes as “queued”,
which can be quite confusing. With thi...
Michael Hanselmann
02:21 pm Revision 6ea72e43: jqueue: Work around race condition between job processing and archival
This is a simplified version of a patch I sent earlier to make sure the job
file is only written once with a finalize...
Michael Hanselmann
11:28 am Revision 1a8337f2: rapi.client, http.client: Format url correctly when using IPv6
This patch moves the FormatAddress helper function from daemon.py to
netutils.py. This enables its use in http.client...
Manuel Franceschini
11:27 am Revision db4e138b: Support IPv6 in lib/http/server.py
Signed-off-by: Manuel Franceschini <livewire@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Manuel Franceschini
11:27 am Revision b705c7a6: Support for resolving hostnames to IPv6 addresses
This patch enables IPv6 name resolution by using socket.getaddrinfo
instead of socket.gethostbyname_ex.
It renames t...
Manuel Franceschini
11:27 am Revision eb202c13: Always use address instead of hostname in rpc.Client
In light of the upcoming IPv6 support, this patch enables the rpc.Client
to always use a node's address to connect to...
Manuel Franceschini
11:26 am Revision d367b66c: cluster init: Write ssconf before noded starts
This change is needed as we will need to read the primary ip version
cluster parameter before we start the node daemo...
Manuel Franceschini
11:26 am Revision 8b312c1d: Introduce new IPAddress classes
This patch unifies the netutils functions dealing with IP addresses to
three classes:
- IPAddress: Common IP address ...
Manuel Franceschini

08/17/2010

05:55 pm Revision 1eb85930: Add template 2.3 design doc
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
04:53 pm Revision dc1e2262: jqueue: More checks for cancelling queued job
We can also check when the lock status is updated. This will
improve job cancelling.
Signed-off-by: Michael Hanselma...
Michael Hanselmann
04:34 pm Revision 84f790e6: errors: Function to check whether value is encoded error
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
04:25 pm Revision e35344b4: jqueue: Add more debug output
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
04:25 pm Revision 5ec4b9d2: gnt-backup: Pass error code to OpPrereqError
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
Michael Hanselmann
03:44 pm Revision 07783cde: Merge branch 'devel-2.1'
* devel-2.1:
Fix path in ganeti-rapi man page
Adjust message in case ~/.ssh is no directory
Signed-off-by: Iusti...
Iustin Pop
03:36 pm Revision 46d2d8a2: Re-add the 'live' parameter to migration opcodes
This patch reintroduces the live parameter, for backwards compatibility
at the Luxi level. This way, clients can work...
Iustin Pop
03:04 pm Revision e538a046: Fix --master-netdev arg name in gnt-cluster(8)
This fixes Issue 114.
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@go...
Guido Trotter
03:04 pm Revision 31f6f67a: Restore 'tablet mouse on vnc' behavior
We needed to revert commit 5b062a58ac76b39c2dc6a7e1543affdf43dc7ee7
because it was in conflict with the usb_mouse hv ...
Guido Trotter
03:04 pm Revision 77a2f6f4: Document the usb_mouse hv parameter
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Guido Trotter
03:04 pm Revision 78d019a0: Revert "Add -usbdevice tablet to KVM when using vnc"
This reverts commit 5b062a58ac76b39c2dc6a7e1543affdf43dc7ee7.
This fixes issue 109. The mouse type can be set with th...
Guido Trotter

08/16/2010

05:06 pm Revision 215e40a9: Fix path in ganeti-rapi man page
This takes care of issue 116.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@...
Michael Hanselmann
« Previous
Next »
 

Also available in: Atom