]>
git.apps.os.sepia.ceph.com Git - teuthology.git/log
Kefu Chai [Wed, 4 Dec 2019 17:18:24 +0000 (01:18 +0800)]
docs: document how requirements.txt is updated
we should update this document once
https://github.com/jazzband/pip-tools/issues/625 is fixed and/or
https://github.com/jazzband/pip-tools/issues/908 is merged
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 27 Nov 2019 10:00:09 +0000 (18:00 +0800)]
setup.py: move test related stuff to optional deps
all of them are for testing teuthology itself.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 25 Nov 2019 06:10:20 +0000 (14:10 +0800)]
remove unused dependencies
following dependencies are removed in this change, as they are not
used anymore
* bunch
* web.py
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 25 Nov 2019 05:56:54 +0000 (13:56 +0800)]
setup.py: move orchestra related stuff to optional deps
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 25 Nov 2019 05:00:01 +0000 (13:00 +0800)]
pip-compile -P pyyaml
to be consistent with its name on https://pypi.org/project/PyYAML
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 25 Nov 2019 04:52:57 +0000 (12:52 +0800)]
pip-compile -P gevent
so it's compatible with python3.7
Signed-off-by: Kefu Chai <kchai@redhat.com>
Gregory Farnum [Sat, 30 Nov 2019 22:11:34 +0000 (14:11 -0800)]
Merge pull request #1371 from rhcs-dashboard/add-cryptography
Add cryptography as explicit dependency
Alfonso Martínez [Fri, 29 Nov 2019 10:49:46 +0000 (11:49 +0100)]
Add cryptography as explicit dependency
Right now it's installed implicitly, but these feature tests require it:
https://github.com/ceph/ceph/pull/31922
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
kshtsk [Mon, 25 Nov 2019 16:37:31 +0000 (17:37 +0100)]
Merge pull request #1361 from kshtsk/wip-circular-imports
remove circular imports
kshtsk [Sun, 24 Nov 2019 18:27:13 +0000 (19:27 +0100)]
Merge pull request #1364 from kshtsk/wip-cloud-openstack-py3
make cloud openstack py3 compatible
Kefu Chai [Fri, 22 Nov 2019 17:33:29 +0000 (01:33 +0800)]
Merge pull request #1347 from kshtsk/wip-libcloud-2.6.0
deps: bump apache-libcloud from 1.5.0 to 2.6.0
Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kyr Shatskyy [Mon, 18 Nov 2019 21:47:21 +0000 (22:47 +0100)]
misc: drop 'basestring' usage for py3 compat
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Thu, 21 Nov 2019 15:03:53 +0000 (16:03 +0100)]
suite/util: convert iter items to list for py3
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Thu, 21 Nov 2019 14:54:14 +0000 (15:54 +0100)]
describe_tests: make test py3 compat
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Thu, 21 Nov 2019 14:45:38 +0000 (15:45 +0100)]
cloud/util: make syntax py3 compat
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Thu, 21 Nov 2019 14:36:47 +0000 (15:36 +0100)]
packaging: fix syntax for py3 compat
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Thu, 21 Nov 2019 13:55:38 +0000 (14:55 +0100)]
orchestra/run: avoid usage of basestring for py3
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Wed, 20 Nov 2019 23:10:36 +0000 (00:10 +0100)]
cloud/openstack: convert filter to list for py3 compat
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Wed, 20 Nov 2019 00:07:16 +0000 (01:07 +0100)]
test/run: py3 compatibility
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Wed, 20 Nov 2019 00:01:29 +0000 (01:01 +0100)]
suite/matrix: make test_build_matrix py3 compat
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Tue, 19 Nov 2019 23:59:27 +0000 (00:59 +0100)]
contextutil: fix test for py3 compat
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Tue, 19 Nov 2019 22:36:37 +0000 (23:36 +0100)]
openstack: use isinstance for type check
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Tue, 19 Nov 2019 20:34:46 +0000 (21:34 +0100)]
test/timer: use py3 compatible syntax
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Tue, 19 Nov 2019 20:25:49 +0000 (21:25 +0100)]
suite/matrix: use py3 compatible floor division
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Tue, 19 Nov 2019 15:38:58 +0000 (16:38 +0100)]
cloud/openstack: do not use basestring
py3 does not have 'basestring' class, so it is better
to use 'str' or just avoid using 'basestring'.
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Tue, 19 Nov 2019 15:36:08 +0000 (16:36 +0100)]
parallel: add __init__ for py3
Since python3 is using __init__ instead init
it is needed to add this method.
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Mon, 18 Nov 2019 21:49:34 +0000 (22:49 +0100)]
report: do not use 'basestring' for py3
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
kshtsk [Thu, 21 Nov 2019 16:29:42 +0000 (17:29 +0100)]
Merge pull request #1363 from kshtsk/wip-sle-15
add sle 15 for opensuse and sle
Kyr Shatskyy [Thu, 21 Nov 2019 16:03:07 +0000 (17:03 +0100)]
orchestra/opsys: add 15.2 for sle and opensuse
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Nathan Cutler [Wed, 5 Dec 2018 12:06:56 +0000 (13:06 +0100)]
openstack: enable testing on SLE-15-SP1
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Thu, 1 Feb 2018 12:27:43 +0000 (13:27 +0100)]
orchestra/opsys: add missing SLES versions to DISTRO_CODENAME_MAP
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Vasu Kulkarni [Wed, 20 Nov 2019 19:53:30 +0000 (11:53 -0800)]
Merge pull request #1360 from kshtsk/wip-py3-ceph-ansible
ceph_ansible: make code py3 compatible
Kyr Shatskyy [Mon, 18 Nov 2019 18:33:39 +0000 (19:33 +0100)]
lock/keys: remove useless module
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Mon, 18 Nov 2019 18:30:45 +0000 (19:30 +0100)]
lock/ops: remove circular import of keys operations
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Thu, 14 Nov 2019 23:37:52 +0000 (00:37 +0100)]
lock/ops: use module full path for py3 compat
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Fri, 15 Nov 2019 18:07:45 +0000 (19:07 +0100)]
orchestra/console: remove circular import
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Mon, 18 Nov 2019 17:08:57 +0000 (18:08 +0100)]
task/kernel: simplify filter/lambda for py3
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Mon, 18 Nov 2019 16:58:04 +0000 (17:58 +0100)]
get dict's keys as list in py3 compatible way
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Mon, 18 Nov 2019 15:49:25 +0000 (16:49 +0100)]
task/install: py3 compat
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Mon, 18 Nov 2019 15:24:24 +0000 (16:24 +0100)]
test/ansible: handle dict keys as list for py3
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Mon, 18 Nov 2019 11:37:20 +0000 (12:37 +0100)]
ceph_ansible: make code py3 compatible
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
kshtsk [Mon, 18 Nov 2019 17:29:10 +0000 (18:29 +0100)]
Merge pull request #1359 from kshtsk/wip-remote-sh-instead-run
use remote sh instead run
Kyr Shatskyy [Fri, 15 Nov 2019 16:56:55 +0000 (17:56 +0100)]
orchestra/remote: use sh instead of run
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Fri, 15 Nov 2019 16:38:03 +0000 (17:38 +0100)]
orchestra/test: make syntax py3 compatible
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Fri, 15 Nov 2019 11:48:41 +0000 (12:48 +0100)]
deps: bump apache-libcloud from 1.5.0 to 2.6.0
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Signed-off-by: Thomas Bechtold <thomas.bechtold@suse.com>
kshtsk [Thu, 14 Nov 2019 20:31:02 +0000 (21:31 +0100)]
Merge pull request #1355 from kshtsk/wip-matrix-py3
make matrix py3 compatible
Sage Weil [Thu, 14 Nov 2019 19:40:41 +0000 (13:40 -0600)]
Merge pull request #1349 from ceph/wip-cdunit
orchestra: add ceph-daemon DaemonState support
Sage Weil [Thu, 14 Nov 2019 19:40:14 +0000 (13:40 -0600)]
Merge pull request #1353 from ceph/wip-concise-run-message
orchestra/run: more concise logging when we run commands
Kyr Shatskyy [Thu, 14 Nov 2019 19:06:42 +0000 (20:06 +0100)]
suite: get rid of cmp for py3
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Thu, 14 Nov 2019 18:32:25 +0000 (19:32 +0100)]
py3: use module full path for imports for py3.7
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Thu, 14 Nov 2019 18:30:38 +0000 (19:30 +0100)]
openstack: remove flake8 messages for py3
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Thu, 14 Nov 2019 18:25:06 +0000 (19:25 +0100)]
openstack: use dict comprehension for py3 compat
Instead of wierd dict+map+lambda construction it is
much better to use dictionary comprehension for
readability and py3 compatibility
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Thu, 14 Nov 2019 18:07:23 +0000 (19:07 +0100)]
suite/matrix: make code py2/py3 compatible
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
kshtsk [Thu, 14 Nov 2019 18:20:01 +0000 (19:20 +0100)]
Merge pull request #1331 from kshtsk/wip-py3-urllib
python3: use compatible urllib packages
kshtsk [Thu, 14 Nov 2019 16:54:06 +0000 (17:54 +0100)]
Merge pull request #1341 from toabctl/private-key-usage
openstack: Make used private keys explicit
kshtsk [Thu, 14 Nov 2019 16:41:03 +0000 (17:41 +0100)]
Merge pull request #1329 from kshtsk/wip-drop-stringio-in-run
run: drop StringIO usage for py3 compatibility
Kyr Shatskyy [Thu, 14 Nov 2019 13:27:08 +0000 (14:27 +0100)]
python3: add teuthology.util.compat module
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Fri, 11 Oct 2019 23:42:00 +0000 (01:42 +0200)]
python3: use compatible urllib packages
Use py2/py3 compatible functions url packages.
Python3
from urllib.parse import parse_qs, urljoin, urlparse, urlencode
from urllib.request import urlopen, Request
from urllib.error import HTTPError
Python2
from urlparse import parse_qs, urljoin, urlparse
from urllib import urlencode
from urllib2 import urlopen, Request, HTTPError
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
kshtsk [Thu, 14 Nov 2019 13:14:12 +0000 (14:14 +0100)]
Merge pull request #1330 from kshtsk/wip-six-reraise
core: use six.reraise for py2/py3 compatibility
Thomas Bechtold [Thu, 31 Oct 2019 09:48:01 +0000 (10:48 +0100)]
openstack: Make used private keys explicit
Instead of appending possible private keyfile paths internally, make
that the default for the --key-filename command line argument so users
see it when looking at the help.
If --key-filename is given, only that key is used now (instead of
silently trying the default keys)
kshtsk [Wed, 13 Nov 2019 19:16:33 +0000 (20:16 +0100)]
Merge pull request #1352 from ceph/WIP-mRemoteCopy
using put_file method instead of python shutil.copyfileobj so it works for python 2 and python 3 both
kshtsk [Wed, 13 Nov 2019 19:15:39 +0000 (20:15 +0100)]
Merge pull request #1343 from ceph/dependabot/pip/ansible-2.8.2
build(deps): bump ansible from 2.8.0 to 2.8.2
Sage Weil [Wed, 13 Nov 2019 14:31:41 +0000 (14:31 +0000)]
orchestra/daemon/group: simpler syntax
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 13 Nov 2019 00:00:41 +0000 (00:00 +0000)]
orchestra/daemon/cephdaemonunit: log each daemon's stdout/stderr
This provides parity with the legacy ceph-daemon-tool behavior.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 12 Nov 2019 18:42:37 +0000 (18:42 +0000)]
orchestra: add CephDaemonUnit daemonstate handler
This is far from complete, but it's sufficient to get a cluster up and
to start + stop daemons.
Signed-off-by: Sage Weil <sage@redhat.com>
Rachana Patel [Wed, 13 Nov 2019 05:22:45 +0000 (00:22 -0500)]
using put_file method instead of python shutil.copyfileobj
Signed-off-by: Rachana Patel <racpatel@redhat.com>
Sage Weil [Tue, 12 Nov 2019 15:59:05 +0000 (15:59 +0000)]
orchestra/run: more concise logging when we run commands
Signed-off-by: Sage Weil <sage@redhat.com>
kshtsk [Tue, 12 Nov 2019 16:31:36 +0000 (17:31 +0100)]
Merge pull request #1339 from kshtsk/wip-ghpr
repo_utils: support github pull request branches
Kyr Shatskyy [Tue, 22 Oct 2019 09:44:11 +0000 (11:44 +0200)]
repo_utils: support github refs for branches
This adds possibility to checkout github pr providing
special purpose ref spec (like refs/pull/X/merge and
refs/pull/X/head) as branch parameter to teuthology,
for example, "teuthology-suite -t".
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
kshtsk [Tue, 12 Nov 2019 01:27:38 +0000 (02:27 +0100)]
Merge pull request #1348 from kshtsk/fix-use-zypper-add-error
install/rpm: fix use the 'zypper addrepo' command
Kyr Shatskyy [Mon, 11 Nov 2019 15:12:18 +0000 (16:12 +0100)]
install/rpm: fix use the 'zypper addrepo' command
The
74034fe0348b94aedb247910f0d1c88842f4c3ac instroduced a failure:
Warning: No repositories defined.
Use the 'zypper addrepo' command to add one or more repositories.
The wipe command returns exit code 6 if there is no repos in the system.
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
kshtsk [Thu, 7 Nov 2019 18:56:33 +0000 (19:56 +0100)]
Merge pull request #1342 from toabctl/fix-test-with-newer-git
Fix fetch_branch() check for BranchNotFoundError with newer git
Nathan Cutler [Wed, 6 Nov 2019 07:24:21 +0000 (08:24 +0100)]
Merge pull request #1340 from toabctl/mention-openstack-setup
docs: Mention step to setup nodes on OpenStack
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Wed, 6 Nov 2019 07:20:16 +0000 (08:20 +0100)]
Merge pull request #1333 from smithfarm/wip-wipe-zypper-repos
install/rpm: wipe all zypper repos before adding repos-under-test
Reviewed-by: Thomas Bechtold <tbechtold@suse.com>
Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@suse.de>
kshtsk [Tue, 5 Nov 2019 18:49:13 +0000 (20:49 +0200)]
Merge pull request #1344 from kshtsk/wip-multiple-identityfile
connection: key_filename can be a list
Kyr Shatskyy [Tue, 5 Nov 2019 10:40:12 +0000 (11:40 +0100)]
connection: key_filename can be a list
This commit fixes
5ac7c2f and provides support for multiple identityfile,
besides paramiko.SSHClient.connect accepts list as well for key_filename,
pydoc excerpts:
key_filename:
the filename, or list of filenames, of optional private key(s) to
try for authentication
Fixes: https://tracker.ceph.com/issues/42543
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Thomas Bechtold [Fri, 1 Nov 2019 08:13:04 +0000 (09:13 +0100)]
Fix fetch_branch() check for BranchNotFoundError with newer git
With newer git versions, the string when a branch is not found
is lower case[1].
This fixes the test TestRepoUtils.test_fetch_branch_fake_branch which
was failing due to this problem.
[1] https://github.com/git/git/commit/
0b9c3afdbfb629363
dependabot[bot] [Sat, 2 Nov 2019 02:57:17 +0000 (02:57 +0000)]
build(deps): bump ansible from 2.8.0 to 2.8.2
Bumps [ansible](https://github.com/ansible/community) from 2.8.0 to 2.8.2.
- [Release notes](https://github.com/ansible/community/releases)
- [Commits](https://github.com/ansible/community/commits)
Signed-off-by: dependabot[bot] <support@github.com>
Thomas Bechtold [Fri, 1 Nov 2019 04:47:02 +0000 (05:47 +0100)]
docs: Drop duplicate openstack key pair creation step
It's already in the "Get OpenStack credentials and test it" section
documented how to create a key pair.
Thomas Bechtold [Wed, 23 Oct 2019 10:19:32 +0000 (12:19 +0200)]
docs: Mention step to setup nodes on OpenStack
The --setup step was missing which lead to cryptic error messages when
running the following step (calling the dummy test suite).
Gregory Farnum [Tue, 22 Oct 2019 20:30:08 +0000 (13:30 -0700)]
Merge pull request #1338 from toabctl/fix-link-to-ceph-qa-suite
docs: Fix link to ceph/qa suites in intro_testers.rst
Thomas Bechtold [Tue, 22 Oct 2019 08:50:36 +0000 (10:50 +0200)]
docs: Fix link to ceph/qa suites in intro_testers.rst
According to [1], ceph-qa-suite is deprecated (last commit is from
2016) and the QA suites are now in the ceph git repo in the qa/
directory. So point to that directory.
[1] https://github.com/ceph/ceph-qa-suite/
Kyr Shatskyy [Tue, 22 Oct 2019 09:13:41 +0000 (11:13 +0200)]
misc: add cwd and env to sh
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Nathan Cutler [Thu, 17 Oct 2019 13:09:29 +0000 (15:09 +0200)]
Merge pull request #1335 from ceph/wip-wwn2
misc: temporary fix for "No space left on device" errors
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@suse.de>
Nathan Cutler [Wed, 16 Oct 2019 21:04:42 +0000 (23:04 +0200)]
misc: temporary fix for "No space left on device" errors
41a13eca480e38cfeeba7a180b4516b90598c39b fixed a longstanding bug that the lab
was relying on. Before the bug was fixed, the get_wwn_id_map function was doing:
try:
r = remote.run(
args=[
'ls',
'-l',
'/dev/disk/by-id/wwn-*',
],
stdout=StringIO(),
)
stdout = r.stdout.getvalue()
except Exception:
log.info('Failed to get wwn devices! Using /dev/sd* devices...')
return dict((d, d) for d in devs)
The bug was that "remote.run" was putting single quotes around the string
"/dev/disk/by-id/wwn-*" because it wasn't enclosed in Raw(...). The single
quotes were causing the command to fail, triggering the except clause, and that
was happening 100% of the time.
The fix in
41a13eca480e38cfeeba7a180b4516b90598c39b caused the command to start
succeeding, which caused execution to continue. As a result, MON stores and
OSDs started getting created on the wrong devices, and tests that were
previously succeeding started to fail due to "No space left on device".
In short, the wwn devices on today's smithis are not big enough for
/var/lib/ceph.
This commit "fixes the fix" by dropping the dead code and always returning the
value that qa/tasks/ceph.py has come to expect.
Fixes: https://tracker.ceph.com/issues/42313
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Wed, 16 Oct 2019 09:11:53 +0000 (11:11 +0200)]
install/rpm: wipe all zypper repos before adding repos-under-test
Our tests should be designed to not rely on any pre-existing repos. If there are
any pre-existing repos, these can potentially skew test results by causing
unexpected packages/package versions to be installed.
Therefore, wipe any pre-existing repos before adding the repos-under-test.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
kshtsk [Tue, 15 Oct 2019 19:02:06 +0000 (21:02 +0200)]
Merge pull request #1326 from kshtsk/wip-great-again
make teuthology-openstack great again
Kyr Shatskyy [Mon, 14 Oct 2019 15:19:07 +0000 (17:19 +0200)]
openstack: copy missing user-data from suse repo
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
Kyr Shatskyy [Fri, 11 Oct 2019 04:46:08 +0000 (06:46 +0200)]
openstack: cleanup stale comments
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
Kyr Shatskyy [Fri, 11 Oct 2019 04:37:55 +0000 (06:37 +0200)]
openstack: make use base64 for python3 compatible code
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
Kyr Shatskyy [Fri, 11 Oct 2019 03:49:35 +0000 (05:49 +0200)]
openstack: delete unused __flavor and __flavor_range methods
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
Nathan Cutler [Fri, 2 Jun 2017 12:42:32 +0000 (14:42 +0200)]
openstack: use --limit 2000 with openstack image list command
The --limit defaults to 25, which is way too low.
Fixes: https://github.com/SUSE/teuthology/issues/82
Signed-off-by: Loic Dachary <loic@dachary.org>
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Fri, 2 Jun 2017 12:21:22 +0000 (14:21 +0200)]
openstack: only consider private images
OVH only returns the first 25 images, and the public ones (which we don't use
at all) eat up all the spots.
Fixes: https://github.com/SUSE/teuthology/issues/82
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Loic Dachary [Tue, 5 Apr 2016 20:47:14 +0000 (22:47 +0200)]
openstack: increase ceph-fuse delays
In the same way it's done in machine_types/vps.yaml
Signed-off-by: Loic Dachary <loic@dachary.org>
Conflicts:
teuthology/openstack/openstack.yaml
Nathan Cutler [Thu, 2 Feb 2017 21:05:25 +0000 (22:05 +0100)]
setup-openstack.sh: setup_pulpito: respond to setuptools treachery
Apparently, setuptools has a "screw the users" policy.
Fixes: https://bugzilla.suse.com/show_bug.cgi?id=1023257
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Sun, 12 Feb 2017 11:33:12 +0000 (12:33 +0100)]
user-data: global s/sudo tee/tee/, if{up,down} -a
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Sun, 12 Feb 2017 07:45:35 +0000 (08:45 +0100)]
user-data: tweak Ubuntu 16.04 user-data
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Loic Dachary [Mon, 28 Mar 2016 16:37:11 +0000 (18:37 +0200)]
openstack: use wget instead of curl for Ubuntu-14.04
So that it also works with Ubuntu 14.04.1 which did not have curl by
default.
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Tue, 8 Dec 2015 09:52:10 +0000 (10:52 +0100)]
openstack: support /etc/network/intefaces injection
Not all OpenStack providers have a dhcp server. Some of
them (dreamcompute for instance) may inject /etc/network/interfaces with
a pre-configured stanza. It is not enough to set the dns server in the
dhcp client configuration, it also needs to be set directly in
/etc/resolv.conf when that has no effect.
http://tracker.ceph.com/issues/14024 Fixes: #14024
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Tue, 8 Dec 2015 00:53:10 +0000 (01:53 +0100)]
ensure VMs always have /etc/hosts set up
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>