]>
git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/log
David Disseldorp [Fri, 12 Jun 2015 09:03:16 +0000 (11:03 +0200)]
suse/install: use zypper helpers for mirror_install
Signed-off-by: David Disseldorp <ddiss@suse.de>
David Disseldorp [Thu, 11 Jun 2015 18:11:12 +0000 (20:11 +0200)]
suse/install: use distribution packages by default
SUSE and openSUSE are moving to ship Ceph with distribution media.
ceph-deploy should therefore default to using these packages, unless
directed otherwise via --repo-url.
This change is similar to a previous patch by Owen Synge.
Signed-off-by: David Disseldorp <ddiss@suse.de>
David Disseldorp [Thu, 11 Jun 2015 17:57:35 +0000 (19:57 +0200)]
pkg_managers: add zypper refresh helper
Add "zypper refresh" alongside the existing installation and removal
helper functions.
Signed-off-by: David Disseldorp <ddiss@suse.de>
Alfredo Deza [Mon, 6 Jul 2015 18:11:10 +0000 (14:11 -0400)]
Merge pull request #316 from trhoden/RM-12150
Enforce proper number of hosts on CLI
Travis Rhoden [Wed, 1 Jul 2015 21:04:30 +0000 (14:04 -0700)]
[RM-12150] Require at least one host for 'rgw create'
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Wed, 1 Jul 2015 21:01:40 +0000 (14:01 -0700)]
[RM-12150] Require at least one host for 'mon destroy'
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Wed, 1 Jul 2015 20:12:00 +0000 (13:12 -0700)]
[RM-12150] Don't create new list from mon_host when we already have one
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Wed, 1 Jul 2015 20:11:02 +0000 (13:11 -0700)]
[RM-12150] Enforce 1 host only for 'mon add' via argparse
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Wed, 1 Jul 2015 18:55:17 +0000 (11:55 -0700)]
[RM-12150] Require at least one host for 'mds create'
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Wed, 1 Jul 2015 18:49:11 +0000 (11:49 -0700)]
[RM-12150] Require at least one host for 'config'
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Wed, 1 Jul 2015 18:47:54 +0000 (11:47 -0700)]
[RM-12150] update help entry for 'ceph-deploy config'
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Alfredo Deza [Sun, 5 Jul 2015 14:09:41 +0000 (10:09 -0400)]
Merge pull request #313 from trhoden/BZ-12151-subcommands
Use argparse subparsers when subcommands have their own subcommands
Travis Rhoden [Wed, 1 Jul 2015 20:45:44 +0000 (13:45 -0700)]
[RM-12151] Add description to ToggleRawTextHelpFormatter
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Wed, 1 Jul 2015 20:35:22 +0000 (13:35 -0700)]
[RM-12151] args.fs_type is always set
It has a default value, no need to check 'if args.fs_type:'.
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Wed, 1 Jul 2015 20:33:09 +0000 (13:33 -0700)]
[RM-12151] Remove redundant check for allowed fstypes
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Tue, 30 Jun 2015 20:44:56 +0000 (13:44 -0700)]
[RM-12151] Enable tests for disk subcommands
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Tue, 30 Jun 2015 20:44:29 +0000 (13:44 -0700)]
[RM-12151] Move disk subcmds to subparser
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Tue, 30 Jun 2015 19:21:51 +0000 (12:21 -0700)]
[RM-12151] Enable 'osd' tests related to subcommand options and help
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Tue, 30 Jun 2015 19:21:21 +0000 (12:21 -0700)]
[RM-12151] Move 'osd' subcommands to a subparser
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Tue, 30 Jun 2015 18:36:22 +0000 (11:36 -0700)]
[RM-12151] Move 'rgw create' to a subparser
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Mon, 29 Jun 2015 21:41:27 +0000 (14:41 -0700)]
[RM-12151] Redo mon sub command help text
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Mon, 29 Jun 2015 21:32:55 +0000 (14:32 -0700)]
[RM-12151] Add new 'ToggleRawTextHelpFormatter'
The existing use of argparse.RawDescriptionHelpFormatter seems to stem
from wanting to use newlines in argparse help output. To use the raw
text formatter, you have to provide a static string that is always
output with --help.
The problem is that the defintion of this help string is pretty
disconnected from the rest of the code. You are documenting options many
lines away from where they are defined instead of normally being at the
same time.
To solve this, introduce a new ToggleRawTextHelpFormatter that allows
for the optional use of Raw text on any individual help item by
prefixing it with 'R|'.
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Alfredo Deza [Fri, 26 Jun 2015 21:02:26 +0000 (17:02 -0400)]
Merge pull request #311 from trhoden/RM-11742-test-cleanup
Add tests for argparse
Travis Rhoden [Fri, 26 Jun 2015 00:06:22 +0000 (17:06 -0700)]
[RM-11742] Remove more duplicate tests
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Thu, 25 Jun 2015 23:55:31 +0000 (16:55 -0700)]
[RM-11742] Add argparse tests for ceph-deploy calamari
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Thu, 25 Jun 2015 23:30:11 +0000 (16:30 -0700)]
[RM-11742] Add argparse tests for ceph-deploy config
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Thu, 25 Jun 2015 23:14:31 +0000 (16:14 -0700)]
[RM-11742] Add argparse tests for ceph-deploy admin
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Thu, 25 Jun 2015 22:57:12 +0000 (15:57 -0700)]
[RM-11742] Add argparse tests for ceph-deploy osd
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Thu, 25 Jun 2015 22:24:59 +0000 (15:24 -0700)]
[RM-11742] Add argparse tests for ceph-deploy disk
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Thu, 25 Jun 2015 00:05:47 +0000 (17:05 -0700)]
[RM-11742] Add argparse tests for gatherkeys
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Wed, 24 Jun 2015 22:38:52 +0000 (15:38 -0700)]
[RM-11742] Remove duplicate tests from test_cli_mon
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Wed, 24 Jun 2015 22:33:19 +0000 (15:33 -0700)]
[RM-11742] Add argparse tests for mon destroy
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Wed, 24 Jun 2015 22:12:34 +0000 (15:12 -0700)]
[RM-11742] Add argparse tests for mon add
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Fri, 19 Jun 2015 22:07:59 +0000 (15:07 -0700)]
Merge pull request #301 from trhoden/RM-11742-test-cleanup
Some test cleanup
Alfredo Deza [Tue, 16 Jun 2015 17:31:35 +0000 (13:31 -0400)]
Merge pull request #310 from tchaikov/throws-at-mons-in-mon_add
[BZ-
1231203 ] throws if multiple mon are passed to "mon add"
Kefu Chai [Tue, 16 Jun 2015 15:38:59 +0000 (23:38 +0800)]
doc: "mon destroy" accepts multiple nodes
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 16 Jun 2015 07:41:20 +0000 (15:41 +0800)]
[BZ-
1231203 ] throws if multiple mon are passed to "mon add"
Signed-off-by: Kefu Chai <kchai@redhat.com>
Alfredo Deza [Tue, 2 Jun 2015 21:50:54 +0000 (17:50 -0400)]
Merge pull request #307 from honkiko/for_mint
support for distro Mint which is based on ubuntu
Hong Zhiguo [Tue, 2 Jun 2015 08:43:15 +0000 (16:43 +0800)]
support for distro Mint which is based on ubuntu
Signed-off-by: Hong Zhiguo <zhiguohong@tencent.com>
Alfredo Deza [Thu, 28 May 2015 16:30:03 +0000 (12:30 -0400)]
Merge pull request #306 from trhoden/RM-11572
[RM-11572] use http to get GPG key on Wheezy
Travis Rhoden [Thu, 28 May 2015 15:56:34 +0000 (11:56 -0400)]
[RM-11572] use http to get GPG key on Wheezy
Fixes: #11572
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Thu, 28 May 2015 15:13:33 +0000 (11:13 -0400)]
Merge pull request #304 from alfredodeza/RM-11788
at runtime, display all flags and values
Fixes: #11788
Reviewed-by: Travis Rhoden <trhoden@redhat.com>
Alfredo Deza [Thu, 28 May 2015 15:09:06 +0000 (11:09 -0400)]
Merge pull request #305 from trhoden/RM-11406
Use git.ceph.com for GPG keys
Travis Rhoden [Thu, 28 May 2015 14:50:14 +0000 (10:50 -0400)]
[RM-11406] use gpg.url() for cephdeploy.conf template
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Alfredo Deza [Thu, 28 May 2015 14:01:20 +0000 (10:01 -0400)]
[RM-11788] create a bare class for testing strict attributes
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 28 May 2015 14:00:58 +0000 (10:00 -0400)]
[RM-11788] if the attribute is private do not log it
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 28 May 2015 14:00:36 +0000 (10:00 -0400)]
[RM-11788] add tests for the new arg logger utility
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Travis Rhoden [Thu, 28 May 2015 02:00:31 +0000 (22:00 -0400)]
[RM-11406] use gpg.url() in SUSE too
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Thu, 28 May 2015 01:58:10 +0000 (21:58 -0400)]
[RM-11406] Support http or https for gpg url
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Thu, 28 May 2015 01:53:28 +0000 (21:53 -0400)]
[RM-11406] Get GPG key URL by function call
Everywhere but SUSE. SUSE requires a bit more work to handle
http vs https.
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Thu, 28 May 2015 01:43:09 +0000 (21:43 -0400)]
[RM-11406] Add function to get ceph.com GPG Key URL
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Wed, 27 May 2015 23:44:35 +0000 (19:44 -0400)]
[RM-11406] Point to git.ceph.com for GPG keys
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Alfredo Deza [Wed, 27 May 2015 20:49:49 +0000 (16:49 -0400)]
[RM-11788] nicely output the options and flags in use after overrides
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Travis Rhoden [Wed, 27 May 2015 20:24:08 +0000 (16:24 -0400)]
Merge pull request #303 from alfredodeza/BZ-
1219310
allow to skip rpm imports with `cephdeploy.conf`
Reviewed-by: Travis Rhoden <trhoden@redhat.com>
Alfredo Deza [Wed, 27 May 2015 13:23:25 +0000 (09:23 -0400)]
[BZ-
1219310 ] add a doc section explaining sub-command overrides
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 27 May 2015 12:59:50 +0000 (08:59 -0400)]
[BZ-
1219310 ] when overriding, interpret truthy values before setting them
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 27 May 2015 12:58:46 +0000 (08:58 -0400)]
[BZ-
1219310 ] ensure that truthy values are interpreted correctly
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Jenkins [Tue, 26 May 2015 17:38:54 +0000 (10:38 -0700)]
1.5.25
Travis Rhoden [Tue, 26 May 2015 16:34:16 +0000 (12:34 -0400)]
[RM-11764] bump version
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Tue, 26 May 2015 16:32:53 +0000 (12:32 -0400)]
[RM-11764] Update changelog
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Alfredo Deza [Tue, 26 May 2015 15:21:00 +0000 (11:21 -0400)]
Merge pull request #302 from trhoden/BZ-
1221830
[BZ-
1221830 ] radosgw pkg is ceph-radosgw on RPM systems
Travis Rhoden [Mon, 25 May 2015 16:02:46 +0000 (12:02 -0400)]
[BZ-
1221830 ] radosgw pkg is ceph-radosgw on RPM systems
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Mon, 25 May 2015 15:51:54 +0000 (11:51 -0400)]
Merge pull request #300 from trhoden/RM-11694-admin-perms
Fix CVE-2015-4053 world-readable permissions on client.admin key
Reviewed-by: Dan Mick <dmick@redhat.com>
Reviewed-by: Sage Weil <sweil@redhat.com>
Travis Rhoden [Mon, 25 May 2015 14:13:25 +0000 (10:13 -0400)]
[RM-11742] Correct test name
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Mon, 25 May 2015 14:11:25 +0000 (10:11 -0400)]
[RM-11742] Remove unneeded creation of .conf file
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Mon, 25 May 2015 14:10:16 +0000 (10:10 -0400)]
[RM-11742] add check for 'too few arguments'
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Mon, 25 May 2015 14:08:22 +0000 (10:08 -0400)]
[RM-11742] rename test to be accurate
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Mon, 25 May 2015 14:04:25 +0000 (10:04 -0400)]
[RM-11742] Add test for missing host(s) to 'new' cmd
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Mon, 25 May 2015 13:58:01 +0000 (09:58 -0400)]
[RM-11742] Cleanup imports in test_cli_new
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Fri, 22 May 2015 14:51:42 +0000 (10:51 -0400)]
[RM-11694] Always write admin keyring with mode 0600
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Fri, 22 May 2015 14:49:28 +0000 (10:49 -0400)]
[RM-11694] Add file mode option to write_file()
You an now pass a file mode to write_file with "mode=" and
it will set the file mode that after writing the file.
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Fri, 22 May 2015 18:57:30 +0000 (14:57 -0400)]
[RM-11742] Cleanup imports in test_cli_mon
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Fri, 22 May 2015 17:40:34 +0000 (13:40 -0400)]
[RM-11742] Add test for CLI --version
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Fri, 22 May 2015 14:36:23 +0000 (10:36 -0400)]
[RM-11694] Add test for admin key file permissions
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Fri, 22 May 2015 14:33:07 +0000 (10:33 -0400)]
[RM-11694] Add optional directory to write_file()
This is mostly for testing purposes. The method has no way to
specify a directory independently from the file name, which it
makes it difficult to use with automated tests. It will get
refactored more later, but for now add a new kwarg that pass
in a dir to write to. Since a lot of callers are passing in
absolute paths (.e.g. "/etc/ceph/keyring"), we look for the
beginning slash and chop it off so that we can use os.path.join()
and write into something like /tmp/etc/ceph.
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Thu, 21 May 2015 20:09:29 +0000 (16:09 -0400)]
[RM-11694] Remove extraneous line
No need to get to the shortname of the host -- it was never used
and was also overwriting the variable used in the loop.
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Thu, 21 May 2015 18:36:15 +0000 (14:36 -0400)]
[RM-11694] Add CLI test for "ceph-deploy admin"
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Thu, 21 May 2015 18:35:38 +0000 (14:35 -0400)]
[RM-11694] Require at least one host for 'admin'
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Thu, 21 May 2015 15:11:53 +0000 (11:11 -0400)]
Merge pull request #295 from osynge/wip_zypper_refresh_should_happen
suse/install.py: SUSE zypper refresh
Reviewed-by: Travis Rhoden <trhoden@redhat.com>
Owen Synge [Thu, 21 May 2015 12:42:13 +0000 (14:42 +0200)]
suse/install.py: SUSE zypper refresh
zypper may not pull in latest packages if the repository cache is not updated
so we should do a 'zypper ref' before installing packages.
Signed-off-by: Owen Synge <osynge@suse.com>
Travis Rhoden [Thu, 21 May 2015 14:09:27 +0000 (10:09 -0400)]
Merge pull request #296 from osynge/wip_suse_rgw_package_is_called_ceph_radosgw
suse.uninstall: ceph-deploy purge fails on SUSE.
Reviewed-by: Travis Rhoden <trhoden@redhat.com>
Owen Synge [Thu, 21 May 2015 12:48:47 +0000 (14:48 +0200)]
suse.uninstall: ceph-deploy purge fails on SUSE.
This is because ceph-deploy tries to remove a package that does not exist.
To fix this we need to change package name to correct name ceph-radosgw
from the old name radosgw.
Signed-off-by: Owen Synge <osynge@suse.com>
Jenkins [Mon, 18 May 2015 20:35:00 +0000 (13:35 -0700)]
1.5.24
Travis Rhoden [Mon, 18 May 2015 20:05:26 +0000 (16:05 -0400)]
Merge pull request #292 from trhoden/RM-11672-v1.5.24
Prepare for new release
Travis Rhoden [Mon, 18 May 2015 19:54:53 +0000 (15:54 -0400)]
[RM-11672] Update version
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Mon, 18 May 2015 19:53:54 +0000 (15:53 -0400)]
[RM-11672] Update changelog
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Alfredo Deza [Mon, 18 May 2015 19:37:12 +0000 (15:37 -0400)]
Merge pull request #291 from trhoden/BZ-1222505_new_sysvinit_nocustom
Disallow custom cluster names with 'new' command and sysvinit hosts
Travis Rhoden [Mon, 18 May 2015 16:24:57 +0000 (12:24 -0400)]
[BZ-
1222505 ] Disallow 'new' cmd with sysvinit and custom name
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Mon, 18 May 2015 16:24:32 +0000 (12:24 -0400)]
[BZ-
1222505 ] Add ClusterNameError exception
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Mon, 18 May 2015 19:09:22 +0000 (15:09 -0400)]
Merge pull request #289 from alfredodeza/BZ-
1218962
Warn that mds failures on RHEL may be expected
Reviewed-by: Travis Rhoden <trhoden@redhat.com>
Alfredo Deza [Thu, 14 May 2015 20:44:16 +0000 (16:44 -0400)]
[BZ-
1218962 ] add an entry to the changelog
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 14 May 2015 20:26:39 +0000 (16:26 -0400)]
[BZ-
1218962 ] log as error that we can't deploy MDS in RHEL yet
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Travis Rhoden [Fri, 15 May 2015 21:41:49 +0000 (17:41 -0400)]
Merge pull request #288 from goldwynr/mds-systemd-enable
mds: enable on create with systemd
Alfredo Deza [Fri, 15 May 2015 20:13:47 +0000 (16:13 -0400)]
Merge pull request #290 from trhoden/admin_cli_install
Add --cli/--common option to ceph-deploy install
Travis Rhoden [Fri, 15 May 2015 14:39:51 +0000 (10:39 -0400)]
RM-11642: Remove unused flag from test_install.py
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Fri, 15 May 2015 14:39:13 +0000 (10:39 -0400)]
RM-11642: Add install-common to install tests
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Fri, 15 May 2015 14:25:16 +0000 (10:25 -0400)]
RM-11642: Add install of ceph-common only
Add options --cli and --common, both of which allow a user
to install only the ceph-common package on a node.
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Goldwyn Rodrigues [Tue, 12 May 2015 15:28:26 +0000 (10:28 -0500)]
mds: enable on create with systemd
Enable MDS services for distros having systemd.
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Travis Rhoden [Thu, 14 May 2015 15:11:01 +0000 (11:11 -0400)]
Merge pull request #287 from alfredodeza/
1219344
fix `calamari connect`
Reviewed-by: Travis Rhoden <trhoden@redhat.com>
Alfredo Deza [Thu, 14 May 2015 12:16:52 +0000 (08:16 -0400)]
remove --release flag as it is not longer needed for custom repos
Signed-off-by: Alfredo Deza <adeza@redhat.com>