]>
git.apps.os.sepia.ceph.com Git - teuthology.git/log
Zack Cerza [Wed, 2 Nov 2016 21:56:30 +0000 (15:56 -0600)]
Add NoRemoteError
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 8 Nov 2016 00:22:18 +0000 (17:22 -0700)]
Create a task.install.redhat submodule
This will hold most of the code specific to RHCS
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 8 Nov 2016 00:30:05 +0000 (17:30 -0700)]
Create a task.install.deb submodule
This will hold most of the code specific to Debian-based systems
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 8 Nov 2016 00:35:39 +0000 (17:35 -0700)]
Create a task.install.rpm submodule
This will hold most of the code specific to RPM-based systems
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 1 Nov 2016 22:54:45 +0000 (16:54 -0600)]
Create a task.install.util submodule
This will hold miscellaneous code that doesn't need to be top-level and
isn't distro-specific
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 1 Nov 2016 23:30:36 +0000 (17:30 -0600)]
Linter fixes
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 1 Nov 2016 22:52:08 +0000 (16:52 -0600)]
Make the install task a subpackage
Signed-off-by: Zack Cerza <zack@redhat.com>
Dan Mick [Fri, 4 Nov 2016 21:06:27 +0000 (14:06 -0700)]
Merge pull request #975 from ceph/wip-install-excludes
install: apply exclude_packages globally
Reviewed-by: Dan Mick <dmick@redhat.com>
Zack Cerza [Fri, 4 Nov 2016 18:44:04 +0000 (12:44 -0600)]
install: apply exclude_packages globally
Previously, we were only applying the setting for upgrades
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Fri, 4 Nov 2016 15:23:19 +0000 (09:23 -0600)]
nuke: Call the check_lock function, not the module
Signed-off-by: Zack Cerza <zack@redhat.com>
Dan Mick [Thu, 3 Nov 2016 20:09:24 +0000 (13:09 -0700)]
Merge pull request #823 from ceph/wip-internal
Task module refactoring
Reviewed-by: Dan Mick <dmick@redhat.com>
Sage Weil [Thu, 3 Nov 2016 13:38:53 +0000 (09:38 -0400)]
ceph.conf: mon allow pool delete = true
Signed-off-by: Sage Weil <sage@redhat.com>
Zack Cerza [Wed, 2 Nov 2016 21:08:56 +0000 (15:08 -0600)]
Merge pull request #973 from dmick/wip-pull-directory
Change pull_directory to use a remote tar streaming to the local extract
Dan Mick [Wed, 2 Nov 2016 20:02:59 +0000 (13:02 -0700)]
Merge pull request #970 from ceph/wip-shaman-tags
ShamanProject: query tags
Reviewed-by: Dan Mick <dmick@redhat.com>
Dan Mick [Wed, 2 Nov 2016 04:27:13 +0000 (21:27 -0700)]
Use remote.get_tar_stream in misc.pull_directory
Avoids remote and local temp files, and subsequent read/write
thrashing of local dir. Since some of those directories are
multiple tens or hundreds of gigabytes, the extra file load
is important.
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Dan Mick [Wed, 2 Nov 2016 04:21:16 +0000 (21:21 -0700)]
Add orchestra.remote.get_tar_stream(); like get_tar but no tmpfile
Avoid creating a temporary file either on the remote or on the
local host; just open a connection to a remote tar and let 'er
rip. Intended to be used by get_directory to avoid temp files
and local read/write hammering.
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Dan Mick [Wed, 2 Nov 2016 04:24:26 +0000 (21:24 -0700)]
misc.pull_directory: fix misplaced log message, remove useless continue
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Zack Cerza [Thu, 17 Mar 2016 21:50:39 +0000 (15:50 -0600)]
Move task.internal.syslog to its own module
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 17 Mar 2016 21:47:13 +0000 (15:47 -0600)]
Move internal.vm_setup to its own module
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 17 Mar 2016 20:27:51 +0000 (14:27 -0600)]
Move internal.check_lock to its own module
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 17 Mar 2016 20:27:09 +0000 (14:27 -0600)]
Move internal.lock_machines to its own module
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 17 Mar 2016 16:04:20 +0000 (10:04 -0600)]
Make the internal task a subpackage
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 17 Mar 2016 20:01:32 +0000 (14:01 -0600)]
run_tasks: support tasks that are subpackages
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 1 Nov 2016 17:15:31 +0000 (11:15 -0600)]
Pin ansible to <2.2.0
Until we fix the deprecations
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 19 Oct 2016 21:17:19 +0000 (15:17 -0600)]
ShamanProject: translate tags to sha1s
Since Shaman doesn't want to have to know about tags, let's do the
translation from tag->sha1 ourselves using 'git ls-remote'.
Signed-off-by: Zack Cerza <zack@redhat.com>
Dan Mick [Fri, 28 Oct 2016 17:31:31 +0000 (10:31 -0700)]
Merge pull request #965 from ceph/wip-exiter
Don't leak console-logging processes when a job is killed
Reviewed-by: Dan Mick <dmick@redhat.com>
Zack Cerza [Thu, 20 Oct 2016 15:52:38 +0000 (09:52 -0600)]
Merge pull request #971 from ceph/wip-ceph-mgr
teuthology: update nuke for ceph-mgr
John Spray [Wed, 28 Sep 2016 16:23:29 +0000 (17:23 +0100)]
teuthology: update nuke for ceph-mgr
Signed-off-by: John Spray <john.spray@redhat.com>
Zack Cerza [Wed, 19 Oct 2016 21:01:12 +0000 (15:01 -0600)]
Move suite.util.build_git_url to repo_utils
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 19 Oct 2016 20:55:05 +0000 (14:55 -0600)]
Add repo_utils.ls_remote()
... by moving most of suite.util.git_ls_remote's code to that module.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Mon, 10 Oct 2016 21:28:50 +0000 (15:28 -0600)]
Ensure console loggers die when the job does
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 18 Oct 2016 19:25:33 +0000 (13:25 -0600)]
Use psutil.Popen instead of subprocess.Popen
psutil.Popen is identical other than offering nice features like making
sure a PID hasn't been reused before it sends signals to it.
Signed-off-by: Zack Cerza <zack@redhat.com>
Sage Weil [Wed, 19 Oct 2016 14:19:00 +0000 (10:19 -0400)]
Revert "ceph.conf: debug monc = 1"
This reverts commit
5137d3c6cfd065c69fe7e3bb570ef0fc795febcb .
Dan Mick [Mon, 17 Oct 2016 21:17:02 +0000 (14:17 -0700)]
Merge pull request #967 from ceph/wip-fedora-python
downburst: Make sure python 2 is installed on Fedora
Reviewed-by: Dan Mick <dmick@redhat.com>
Zack Cerza [Mon, 17 Oct 2016 19:45:27 +0000 (13:45 -0600)]
Merge pull request #964 from ceph/wip-ssh-config
orchestra.connect: do not override user/host from ~/.ssh/config
Zack Cerza [Mon, 17 Oct 2016 17:21:19 +0000 (11:21 -0600)]
Make sure python 2 is installed on Fedora
We need this for ansible.
Signed-off-by: Zack Cerza <zack@redhat.com>
Sage Weil [Mon, 17 Oct 2016 15:24:04 +0000 (10:24 -0500)]
Merge pull request #966 from ceph/wip-archive-default
Update the default archive_base path
Zack Cerza [Mon, 17 Oct 2016 15:17:47 +0000 (09:17 -0600)]
Update the default archive_base path
None of our labs are using /var/lib/teuthworker/archive anymore. The
incorrect default could trip up users.
Signed-off-by: Zack Cerza <zack@redhat.com>
Sage Weil [Thu, 13 Oct 2016 14:27:42 +0000 (10:27 -0400)]
ceph.conf: debug monc = 1
Signed-off-by: Sage Weil <sage@redhat.com>
Zack Cerza [Mon, 10 Oct 2016 21:20:27 +0000 (15:20 -0600)]
Add exit module
This module contains a helper to add functions to be run when a given
signal is received. These signal handlers ought to do as little as
possible to avoid interfering with the process shutting down.
Signed-off-by: Zack Cerza <zack@redhat.com>
Dan Mick [Sat, 8 Oct 2016 05:46:04 +0000 (22:46 -0700)]
orchestra.connect: do not override user/host from ~/.ssh/config
I don't know why this was ever the case, but ignoring user@host
from the targets list just seems like a bad idea, and causes
problems, because tasks/ansible/etc. assume that the user to use
is ubuntu. If that's not what .ssh/config says, there's just
going to be trouble...but there's no reason to pay attention
to .ssh/config there; if you really want to play tricks, edit
your target list accordingly.
Also, the original code was apparently not prepared for the
key_filename to be a list, which it apparently always is,
at least now; handle that too.
Fixes: http://tracker.ceph.com/issues/17125
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Dan Mick [Thu, 6 Oct 2016 22:02:41 +0000 (15:02 -0700)]
Merge pull request #963 from ceph/wip-rerun
Add rerun capability to teuthology-suite
Reviewed-by: Dan Mick <dmick@redhat.com>
Zack Cerza [Thu, 6 Oct 2016 17:45:52 +0000 (11:45 -0600)]
suite: Add rerun capability
Using a new --rerun argument for teuthology-suite, optionally paired
with --rerun-statuses, we can now ask teuthology to re-schedule a
suite-run. The main use-case for the feature is to re-schedule only
those jobs from a given run which failed.
Fixes: #10945
http://tracker.ceph.com/issues/10945
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 6 Oct 2016 17:44:09 +0000 (11:44 -0600)]
Add ResultsReporter.get_run()
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 6 Oct 2016 16:50:00 +0000 (10:50 -0600)]
suite: parse filter args into lists sooner
Signed-off-by: Zack Cerza <zack@redhat.com>
Dan Mick [Tue, 4 Oct 2016 20:32:36 +0000 (13:32 -0700)]
Merge pull request #951 from ceph/wip-shaman-2
Support fetching packages from shaman instead of gitbuilder
Reviewed-by: Dan Mick <dmick@redhat.com>
Sage Weil [Tue, 4 Oct 2016 19:44:13 +0000 (15:44 -0400)]
ceph.conf: debug auth on mon
Tracking down an intermitted EPERM from mon... I think related to
rotating keys.
See http://tracker.ceph.com/issues/17495
Signed-off-by: Sage Weil <sage@redhat.com>
Zack Cerza [Thu, 22 Sep 2016 17:41:53 +0000 (11:41 -0600)]
GitbuilderProject: remove 'v' from version values
Some version values have a leading 'v', e.g.:
http://gitbuilder.ceph.com/ceph-rpm-centos7-x86_64-basic/ref/v10.2.0/version
is 'v10.2.0', whereas:
http://gitbuilder.ceph.com/ceph-rpm-centos7-x86_64-basic/ref/jewel/version
is '10.2.3-0'.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 21 Sep 2016 23:43:39 +0000 (17:43 -0600)]
ShamanProject: correct ref precedence
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 21 Sep 2016 23:19:44 +0000 (17:19 -0600)]
More properly test ref precedence for Shaman
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 21 Sep 2016 23:18:58 +0000 (17:18 -0600)]
ShamanProject: split out search URI generation
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 21 Sep 2016 22:39:53 +0000 (16:39 -0600)]
Move logic from _get_uri_reference...
Into new _choose_reference() method. This is because uri_reference is
irrelevant to ShamanProject, but we still want to use the same rules for
deciding whether to search for ref/tag/branch/sha1 when more than one is
specified.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 21 Sep 2016 22:21:52 +0000 (16:21 -0600)]
Add tests for GitbuilderProject._get_uri_reference
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 21 Sep 2016 22:11:28 +0000 (16:11 -0600)]
Fix typo in GitbuilderProject._get_uri_reference()
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Fri, 9 Sep 2016 16:55:49 +0000 (10:55 -0600)]
GitbuilderProject: always set codename
When a GitbuilderProject (and also ShamanProject) was being init-ed from
a Remote object, we weren't setting the codename.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Fri, 9 Sep 2016 16:24:20 +0000 (10:24 -0600)]
task.install: use builder.codename for deb repos
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 8 Sep 2016 14:45:38 +0000 (08:45 -0600)]
GitbuilderProject: don't mangle rpm versions
Up until now, given a package like:
"ceph-test-11.0.0-2135.g8403c95.x86_64", we were returning "11.0.0",
which doesn't allow us to properly verify installed package versions.
Start returning the entire string provided by gitbuilder so that we can
ensure we match the value returned by packaging.get_package_version().
For .deb packages, we have always used string like:
"
11.0.0-2135-g8403c95 -1xenial"
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 8 Sep 2016 14:43:08 +0000 (08:43 -0600)]
get_package_version(): return V-R for rpm
Even though strictly speaking "version" implies just the %{VERSION}
field, that is hardly ever useful on its own.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 7 Sep 2016 21:03:38 +0000 (15:03 -0600)]
task.internal: use get_builder_project()
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 6 Sep 2016 21:03:45 +0000 (15:03 -0600)]
run: Allow a job to override config.use_shaman
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 6 Sep 2016 20:13:22 +0000 (14:13 -0600)]
suite tests: use GitbuilderProject and not ShamanProject
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Fri, 2 Sep 2016 23:08:22 +0000 (17:08 -0600)]
task.install: use get_builder_project()
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 1 Sep 2016 18:36:23 +0000 (12:36 -0600)]
Add and use get_builder_project()
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Fri, 26 Aug 2016 20:31:49 +0000 (14:31 -0600)]
Add ShamanProject
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Thu, 1 Sep 2016 19:10:37 +0000 (13:10 -0600)]
Move much of TestGitbuilderProject into base class
Signed-off-by: Zack Cerza <zack@redhat.com>
Dan Mick [Mon, 3 Oct 2016 21:03:06 +0000 (14:03 -0700)]
Merge pull request #960 from ceph/wip-17391
teuthology-nuke: lazy-unmount osd mount points
Reviewed-by: Dan Mick <dmick@redhat.com>
Zack Cerza [Tue, 27 Sep 2016 23:25:19 +0000 (17:25 -0600)]
remove_osd_mounts(): do lazy unmounts
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 27 Sep 2016 23:14:36 +0000 (17:14 -0600)]
nuke: Add unlock_firmware_repo()
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 27 Sep 2016 23:12:42 +0000 (17:12 -0600)]
nuke: move logging calls, and fix linter warnings
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 27 Sep 2016 23:02:02 +0000 (17:02 -0600)]
nuke: remove ceph data later
Signed-off-by: Zack Cerza <zack@redhat.com>
Sage Weil [Fri, 30 Sep 2016 16:09:41 +0000 (12:09 -0400)]
valgrind.supp: tweak
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 29 Sep 2016 15:47:48 +0000 (10:47 -0500)]
Merge pull request #406 from ceph/wip-journal-zero
ceph.conf: journal_zero_on_create = true
Sage Weil [Thu, 15 Jan 2015 19:17:28 +0000 (11:17 -0800)]
ceph.conf: journal_zero_on_create = true
Make sure we test this code path.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 26 Sep 2016 22:33:25 +0000 (18:33 -0400)]
valgrind.supp: another rocksdb leak
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 26 Sep 2016 22:31:53 +0000 (18:31 -0400)]
valgrind.supp: a rocksdb Env leak
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 26 Sep 2016 15:19:45 +0000 (23:19 +0800)]
Merge pull request #958 from ceph/wip-reweight-config
ceph.conf: set min rweight min bytes per osd = 10
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Mon, 26 Sep 2016 15:11:02 +0000 (11:11 -0400)]
ceph.conf: set min rweight min bytes per osd = 10
This lets the reweight-by-utilization command work even after mons are
restarted (ceph_manager is currently setting this via injectargs, but that
is not persistent).
Signed-off-by: Sage Weil <sage@redhat.com>
Zack Cerza [Fri, 23 Sep 2016 15:29:17 +0000 (09:29 -0600)]
Merge pull request #953 from rjfd/wip-opensuse-pr
OpenSUSE Leap support in teuthology
Nathan Cutler [Thu, 8 Sep 2016 11:00:35 +0000 (13:00 +0200)]
install: use --capability with zypper {install,remove}
Otherwise we pick up python-ceph 0.80.9 from the distro repo instead of
a newer python-ceph-compat from the test repo.
References: https://bugzilla.opensuse.org/show_bug.cgi?id=997751
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Ricardo Dias [Mon, 27 Jun 2016 13:01:36 +0000 (14:01 +0100)]
install: opensuse: support for zypper package manager
Signed-off-by: Ricardo Dias <rdias@suse.com>
Dan Mick [Fri, 23 Sep 2016 01:22:08 +0000 (18:22 -0700)]
Merge pull request #949 from dachary/wip-openstack-token-endpoint
openstack: use OS_AUTH_TYPE=token_endpoint when possible
Reviewed-by: Dan Mick <dmick@redhat.com>
Dan Mick [Wed, 21 Sep 2016 18:04:51 +0000 (11:04 -0700)]
Merge pull request #956 from ceph/wip-nodeless
Set ctx.cluster even when a job has no roles
Reviewed-by: Dan Mick <dmick@redhat.com>
Zack Cerza [Tue, 20 Sep 2016 16:03:46 +0000 (10:03 -0600)]
Set ctx.cluster even when a job has no roles
This is to allow for teuthology to run self-tests that don't use
resources.
Signed-off-by: Zack Cerza <zack@redhat.com>
David Galloway [Wed, 21 Sep 2016 01:31:01 +0000 (21:31 -0400)]
Merge pull request #955 from ceph/wip-revert-nodeless
Revert "Set ctx.cluster even when a job has no roles"
Dan Mick [Wed, 21 Sep 2016 01:19:24 +0000 (18:19 -0700)]
Revert "Set ctx.cluster even when a job has no roles"
This reverts commit
ffd14be3bd79baec5d9cafd8972d592085e0e099 .
Dan Mick [Tue, 20 Sep 2016 17:38:38 +0000 (10:38 -0700)]
Merge pull request #954 from ceph/wip-nodeless
Set ctx.cluster even when a job has no roles
Reviewed-by: Dan Mick <dmick@redhat.com>
Zack Cerza [Tue, 20 Sep 2016 16:03:46 +0000 (10:03 -0600)]
Set ctx.cluster even when a job has no roles
This is to allow for teuthology to run self-tests that don't use
resources.
Signed-off-by: Zack Cerza <zack@redhat.com>
Dan Mick [Wed, 14 Sep 2016 18:21:54 +0000 (11:21 -0700)]
Merge pull request #952 from ceph/wip-17211
suite.Run: include suite_sha1 in job config
Reviewed-by: Dan Mick <dmick@redhat.com>
Zack Cerza [Wed, 14 Sep 2016 16:16:51 +0000 (10:16 -0600)]
suite.Run: include suite_sha1 in job config
http://tracker.ceph.com/issues/17211
Fixes: #17211
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 14 Sep 2016 16:13:48 +0000 (10:13 -0600)]
Linter fixes
Loic Dachary [Fri, 2 Sep 2016 06:49:18 +0000 (08:49 +0200)]
openstack: use OS_AUTH_TYPE=token_endpoint when possible
It requires setting the OS_URL depending on the command and avoids
calling the auth endpoint entirely.
Fixes: http://tracker.ceph.com/issues/16893
Signed-off-by: Loic Dachary <loic@dachary.org>
Zack Cerza [Tue, 13 Sep 2016 21:47:28 +0000 (15:47 -0600)]
Merge pull request #950 from jcsp/wip-cn-lst-err
orchestra.run: fix generating ConnectionLostError
John Spray [Mon, 5 Sep 2016 10:17:04 +0000 (11:17 +0100)]
orchestra.run: fix generating ConnectionLostError
Previously you could get AttributeError if
a node went away, because it tried to call
getpeername after get_transport() had
returned None.
Signed-off-by: John Spray <john.spray@redhat.com>
Dan Mick [Thu, 1 Sep 2016 22:11:48 +0000 (15:11 -0700)]
Merge pull request #941 from ceph/wip-conserver
Support console sessions using conserver
Reviewed-by: Dan Mick <dmick@redhat.com>
Ilya Dryomov [Thu, 1 Sep 2016 17:35:45 +0000 (19:35 +0200)]
Merge pull request #947 from ceph/wip-17102
Fix logging regression
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Zack Cerza [Thu, 1 Sep 2016 15:11:28 +0000 (09:11 -0600)]
copy_to_log(): Drop use of readlines()
http://tracker.ceph.com/issues/17102
Fixes: 17102
Calling readlines() on the source object causes the teuthology thread to
block on the remote command's execution. Instead, iterate over the
source object as advised at:
https://docs.python.org/2.7/library/stdtypes.html#file.xreadlines
This interface is also supported by StringIO and cStringIO.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 31 Aug 2016 19:44:10 +0000 (13:44 -0600)]
Add a global switch to disable conserver
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 30 Aug 2016 22:26:04 +0000 (16:26 -0600)]
If conserver fails, fall back to ipmitool
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Tue, 30 Aug 2016 22:26:39 +0000 (16:26 -0600)]
Make IPMI arguments to PhysicalConsole optional
Since we now look them up in the global configuration anyway.
Signed-off-by: Zack Cerza <zack@redhat.com>
Zack Cerza [Wed, 31 Aug 2016 21:15:28 +0000 (15:15 -0600)]
Add a test for has_ipmi_credentials
Signed-off-by: Zack Cerza <zack@redhat.com>