]>
git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/log
Milan Broz [Thu, 2 Jul 2015 13:03:31 +0000 (15:03 +0200)]
Set owner of directory and keyrings according to owner of /var/lib/ceph.
If Ceph is running under a separate ceph user, it requires access
to various files under this user.
This patch tries to set owner of these files to the current owner
of base_dir (/var/lib/ceph).
If the ceph directory is owned by root, it expects old installation
and should work with old tools as well (avoids --setuser option).
Signed-off-by: Milan Broz <mbroz@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>
Alfredo Deza [Wed, 13 May 2015 18:33:55 +0000 (14:33 -0400)]
be verbose about the need to have a repo that has calamari packages
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 12 May 2015 21:30:24 +0000 (17:30 -0400)]
remove custom repository installation from calamari connect
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Travis Rhoden [Wed, 13 May 2015 20:46:31 +0000 (16:46 -0400)]
Merge pull request #285 from alfredodeza/pkg-split
support for package split
Reviewed-by: Travis Rhoden <trhoden@redhat.com>
Alfredo Deza [Wed, 13 May 2015 18:25:42 +0000 (14:25 -0400)]
default to an emtpy list to avoid getting KeyErrors or handling a None.
This should *never* happen, because the install module will always pass
something *unless* it is being explicitly asked not to install anything.
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 13 May 2015 18:18:58 +0000 (14:18 -0400)]
remove default component imports
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 13 May 2015 18:15:32 +0000 (14:15 -0400)]
tests for the added behavior
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 13 May 2015 18:15:19 +0000 (14:15 -0400)]
if --repo is used return [], fallback to defaults when nothing is selected
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 13 May 2015 13:09:34 +0000 (09:09 -0400)]
remove 'ceph' from install tests as it is no longer used
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 12 May 2015 20:52:26 +0000 (16:52 -0400)]
remove 'ceph' from being installed as it will no longer make sense
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 12 May 2015 20:52:14 +0000 (16:52 -0400)]
remove 'ceph' from being installed as it will no longer make sense
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 12 May 2015 19:08:35 +0000 (15:08 -0400)]
make default_components use an actual list
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 12 May 2015 19:08:20 +0000 (15:08 -0400)]
add an is_rpm/is_deb attribute to re-use in package checks
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 12 May 2015 19:07:51 +0000 (15:07 -0400)]
add tests for using distro in detect_components for deb/rpm
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Travis Rhoden [Tue, 12 May 2015 20:36:12 +0000 (16:36 -0400)]
Merge pull request #284 from trhoden/rgw-service
RGW service fixes for RPM systems
Alfredo Deza [Tue, 12 May 2015 16:29:43 +0000 (12:29 -0400)]
Merge pull request #281 from trhoden/11561_rgw_naming
Better handling of custom RGW daemon names
Travis Rhoden [Tue, 12 May 2015 15:37:57 +0000 (11:37 -0400)]
Add tests for RGW daemon naming
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Thu, 7 May 2015 20:09:29 +0000 (20:09 +0000)]
Update docs and changelog about rgw daemon naming
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Thu, 7 May 2015 20:04:43 +0000 (20:04 +0000)]
Always prefix RGW daemons wth 'rgw.'
If a user specifics a custom RGW daemon name, automatically prefix it
with 'rgw.'
Fixes: http://tracker.ceph.com/issues/11561
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Fri, 8 May 2015 13:44:40 +0000 (09:44 -0400)]
Enable ceph-radosgw service after creating rgw daemon
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Fri, 8 May 2015 13:42:53 +0000 (09:42 -0400)]
Fix passing of custom service names to enable_service()
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
Travis Rhoden [Fri, 8 May 2015 13:06:55 +0000 (09:06 -0400)]
Remove rgw name from call to service start
The init script does not use the name, so don't pass it.
Signed-off-by: Travis Rhoden <trhoden@redhat.com>