Commit 3bc145d8 authored by Bernardo Dal Seno's avatar Bernardo Dal Seno
Browse files

Fixed typos, formatting, etc and added a comment



This patch only touches comments and man pages.
Signed-off-by: default avatarBernardo Dal Seno <bdalseno@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 3c29e49d
......@@ -1058,7 +1058,7 @@ class BaseDRBD(BlockDev): # pylint: disable=W0223
def _CheckMetaSize(meta_device):
"""Check if the given meta device looks like a valid one.
This currently only check the size, which must be around
This currently only checks the size, which must be around
128MiB.
"""
......@@ -1197,7 +1197,7 @@ class DRBD8(BaseDRBD):
def _GetShowParser(cls):
"""Return a parser for `drbd show` output.
This will either create or return an already-create parser for the
This will either create or return an already-created parser for the
output of the command `drbd show`.
"""
......
......@@ -936,6 +936,7 @@ class KVMHypervisor(hv_base.BaseHypervisor):
try:
info = self.GetInstanceInfo(name)
except errors.HypervisorError:
# Ignore exceptions due to instances being shut down
continue
if info:
data.append(info)
......
......@@ -654,7 +654,7 @@ The ``continue`` option will let the watcher continue.
The ``info`` option shows whether the watcher is currently paused.
redist-conf
REDIST-CONF
~~~~~~~~~~~
**redist-conf** [\--submit]
......
......@@ -1250,7 +1250,7 @@ REPLACE-DISKS
[\--disks *idx*] {*instance*}
**replace-disks** [\--submit] [\--early-release] [\--ignore-ipolicy]
{\--iallocator *name* \| \--node *node* } {*instance*}
{{-I\|\--iallocator} *name* \| \--node *node* } {*instance*}
**replace-disks** [\--submit] [\--early-release] [\--ignore-ipolicy]
{\--auto} {*instance*}
......
......@@ -513,7 +513,7 @@ def _TestInstanceDiskFailure(instance, node, node2, onmaster):
AssertCommand(" && ".join(cmds), node=[node2, node][int(onmaster)])
print qa_utils.FormatInfo("Write to disks and give some time to notice"
" to notice the problem")
" the problem")
cmds = []
for disk in devpath:
cmds.append(sq(["dd", "count=1", "bs=512", "conv=notrunc",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment