]>
git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/log
Sage Weil [Tue, 14 Mar 2017 02:20:28 +0000 (22:20 -0400)]
mds: remove weird key creation cruft
First, don't ignore EACCES. And remove the weird legacy case that is dead
code.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 14 Mar 2017 02:07:01 +0000 (22:07 -0400)]
gatherkeys: gather bootstrap-mgr key too
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 10 Mar 2017 21:48:35 +0000 (16:48 -0500)]
install: install ceph-mgr
Do this implicitly by installing the 'ceph' metapackage. This way we can
still install older versions (e.g., jewel) that lack ceph-mgr without
any problems.
Signed-off-by: Sage Weil <sage@redhat.com>
Alfredo Deza [Wed, 8 Mar 2017 13:32:06 +0000 (08:32 -0500)]
Merge pull request #433 from ceph/wip-mgr
gatherkeys: mgr 'allow *'
Sage Weil [Tue, 7 Mar 2017 20:27:45 +0000 (15:27 -0500)]
gatherkeys: mgr 'allow *'
Signed-off-by: Sage Weil <sage@redhat.com>
vasukulkarni [Mon, 6 Mar 2017 19:24:27 +0000 (11:24 -0800)]
Merge pull request #432 from ceph/RM-17287
[RM-17287] hosts: detect systemd before sysvinit in centos
Alfredo Deza [Mon, 6 Mar 2017 19:03:25 +0000 (14:03 -0500)]
[RM-17287] hosts: detect systemd before sysvinit in centos
Signed-off-by: Alfredo Deza <adeza@redhat.com>
vasukulkarni [Thu, 23 Feb 2017 17:37:03 +0000 (09:37 -0800)]
Merge pull request #431 from ceph/wip-dalgaaf-bug
fix UnboundLocalError
Danny Al-Gaaf [Wed, 22 Feb 2017 17:20:32 +0000 (18:20 +0100)]
fix UnboundLocalError
If ceph-ceph_deploy is called with:
'install node1 --no-adjust-repos --nogpgcheck'
python trace shows this error:
UnboundLocalError: local variable 'extra_install_flags'
referenced before assignment
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
vasukulkarni [Wed, 22 Feb 2017 00:31:54 +0000 (16:31 -0800)]
Merge pull request #429 from ganeshmaharaj/enable-mirror-unauth-install
Allow unsigned deb packages install from mirror locations
Ganesh Mahalingam [Fri, 3 Feb 2017 19:06:25 +0000 (11:06 -0800)]
Allow unsigned deb packages install from mirror locations
In a test deployment, hosting ceph packages in a local mirror and
installing them across the cluster will be ideal. Current ceph-deploy
allows unauthenticated packages when install is used but not from a
mirror location. This change helps address that usecase.
Signed-off-by: Ganesh Mahalingam <ganesh.mahalingam@intel.com>
Jenkins Build Slave User [Tue, 3 Jan 2017 21:19:14 +0000 (21:19 +0000)]
1.5.37
vasukulkarni [Tue, 3 Jan 2017 21:14:48 +0000 (13:14 -0800)]
Merge pull request #428 from ceph/RM-18411
release changes for 1.5.37
Alfredo Deza [Tue, 3 Jan 2017 20:55:10 +0000 (15:55 -0500)]
[RM-18411] update the changelog for 1.5.37
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 3 Jan 2017 20:49:06 +0000 (15:49 -0500)]
[RM-18411] bump the package to 1.5.37
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 3 Jan 2017 20:11:59 +0000 (15:11 -0500)]
Merge pull request #427 from ceph/RM-18410
[RM-18410] In python3, bytes should be decoded first
Vasu Kulkarni [Tue, 3 Jan 2017 19:58:41 +0000 (11:58 -0800)]
[RM-18410] In python3, bytes should be decoded first
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
vasukulkarni [Thu, 8 Dec 2016 22:08:18 +0000 (14:08 -0800)]
Merge pull request #426 from ceph/RM-18169
shaman/chacra support
Alfredo Deza [Thu, 8 Dec 2016 15:34:19 +0000 (10:34 -0500)]
[RM-18169] tests: add a unit test for the url utility
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 8 Dec 2016 15:14:29 +0000 (10:14 -0500)]
[RM-18169] centos/install: accommodate installation from shaman to chacra repos
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 8 Dec 2016 14:56:15 +0000 (09:56 -0500)]
[RM-18169] install: allow using both --dev and --dev-commit
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 8 Dec 2016 13:39:39 +0000 (08:39 -0500)]
[RM-18169] debian/install: accommodate installation from shaman to chacra repos
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 8 Dec 2016 13:37:42 +0000 (08:37 -0500)]
[RM-18169] remotes: add a helper to write a sources list file from contents
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 8 Dec 2016 13:37:14 +0000 (08:37 -0500)]
[RM-18169] util: create http get helpers to help translate chacra urls into repos
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 8 Dec 2016 13:36:41 +0000 (08:36 -0500)]
[RM-18169] install: pass args to the host-specific install function
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 16 Nov 2016 00:31:01 +0000 (19:31 -0500)]
Merge pull request #421 from alexei38/master
[RM-17612] Support oracle linux server
vasukulkarni [Tue, 8 Nov 2016 17:23:28 +0000 (09:23 -0800)]
Merge pull request #424 from ceph/RM-17823
[RM-17823] gatherkeys: add missing argument to log call
Alfredo Deza [Tue, 8 Nov 2016 16:36:59 +0000 (11:36 -0500)]
[RM-17823] gatherkeys: add missing argument to log call
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 20 Oct 2016 19:29:24 +0000 (15:29 -0400)]
Merge pull request #422 from adshao/RM-17567
[RM-17567] Start mon by systemd/sysvint/upstart after adding mon
Alexei Margasov [Mon, 10 Oct 2016 13:52:12 +0000 (18:52 +0500)]
[RM-17612] Support oracle linux server
adshao [Thu, 13 Oct 2016 16:44:13 +0000 (00:44 +0800)]
[RM-17567] Start mon by systemd/sysvint/upstart after adding mon
Signed-off-by: guojian <guojian@xsky.com>
Alfredo Deza [Tue, 13 Sep 2016 00:32:56 +0000 (06:02 +0530)]
Merge pull request #420 from lossanarch/master
Add --cluster arg as required to two commands
Steve [Thu, 8 Sep 2016 11:45:46 +0000 (21:45 +1000)]
[RM-17238] Add --cluster arg as required to two commands
Jenkins Build Slave User [Tue, 30 Aug 2016 11:47:42 +0000 (11:47 +0000)]
1.5.36
vasukulkarni [Mon, 29 Aug 2016 21:10:58 +0000 (14:10 -0700)]
Merge pull request #419 from ceph/RM-17168
release 1.5.36
Alfredo Deza [Mon, 29 Aug 2016 20:34:55 +0000 (16:34 -0400)]
[RM-17168] bump to 1.5.36
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Mon, 29 Aug 2016 20:34:35 +0000 (16:34 -0400)]
[RM-17168] docs: update the changelog for 1.5.36
Signed-off-by: Alfredo Deza <adeza@redhat.com>
vasukulkarni [Wed, 24 Aug 2016 23:50:32 +0000 (16:50 -0700)]
Merge pull request #418 from ceph/RM-16443
[RM-16443] gatherkeys: try getting an existing key without caps
Alfredo Deza [Wed, 24 Aug 2016 19:19:38 +0000 (15:19 -0400)]
[RM-16443] gatherkeys: try getting an existing key without caps
In case the key already exists but the caps do not match
Signed-off-by: Alfredo Deza <adeza@redhat.com>
vasukulkarni [Tue, 23 Aug 2016 20:59:36 +0000 (13:59 -0700)]
Merge pull request #417 from ceph/RM-17107
better systemd/sysvinit checks for CentOS and RHEL
Alfredo Deza [Tue, 23 Aug 2016 20:51:30 +0000 (16:51 -0400)]
[RM-17107] hosts.rhel: detect if a remote node is systemd with the is_systemd utility
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 23 Aug 2016 20:50:48 +0000 (16:50 -0400)]
[RM-17107] hosts.centos: use ceph.target for systemd and is_systemd util for detection
Signed-off-by: Alfredo Deza <adeza@redhat.com>
vasukulkarni [Fri, 19 Aug 2016 23:34:39 +0000 (16:34 -0700)]
Merge pull request #416 from ceph/RM-17086
[RM-17086] osd: use load_raw for reading/writing ceph conf
Alfredo Deza [Fri, 19 Aug 2016 23:30:48 +0000 (19:30 -0400)]
[RM-17086] osd: use load_raw for reading/writing ceph conf
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 18 Aug 2016 12:11:59 +0000 (08:11 -0400)]
Merge pull request #415 from minshenglin/RM-17053
[RM-17053] cleanup: using load_raw to replace old practice
Vincent [Wed, 17 Aug 2016 03:14:44 +0000 (11:14 +0800)]
[RM-17053] cleanup: using load_raw to replace old practice
Signed-off-by: MinSheng Lin <minsheng.l@inwinstack.com>
Jenkins Build Slave User [Mon, 15 Aug 2016 13:15:02 +0000 (13:15 +0000)]
1.5.35
Alfredo Deza [Mon, 15 Aug 2016 12:56:11 +0000 (08:56 -0400)]
Merge pull request #414 from ceph/RM-17024
release 1.5.35
Alfredo Deza [Mon, 15 Aug 2016 12:49:41 +0000 (08:49 -0400)]
[RM-17024] ceph_deploy: bump to 1.5.35
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Mon, 15 Aug 2016 12:47:55 +0000 (08:47 -0400)]
[RM-17024] docs: update changelog for 1.5.35
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 12 Aug 2016 14:17:32 +0000 (10:17 -0400)]
Merge pull request #413 from SUSE/wip_zypper
RM-16979 zypper fix for remove
Owen Synge [Wed, 10 Aug 2016 14:58:31 +0000 (16:58 +0200)]
[RM-16979] Change test to use check function.
Check function testable in same way as run function.
Signed-off-by: Owen Synge <osynge@suse.com>
Owen Synge [Wed, 10 Aug 2016 14:56:48 +0000 (16:56 +0200)]
[RM-16979] Change use of check function.
Check function should be testable in same way as run function.
Signed-off-by: Owen Synge <osynge@suse.com>
Owen Synge [Wed, 18 May 2016 13:10:57 +0000 (15:10 +0200)]
[RM-16979] ceph_deploy.util.pkg_managers: Fix zypper handling
zypper can safely ignore non installed packages, with the --ignore-unknown
option.
Signed-off-by: Owen Synge <osynge@suse.com>
Owen Synge [Tue, 17 May 2016 12:44:44 +0000 (14:44 +0200)]
[RM-16979] zypper remove each package separately
We ca not remove multiple packages with zypper in one line. as if a package is
not available in a repository, zypper will abort immediately rather than remove
the packages it was instructed to remove.
Signed-off-by: Owen Synge <osynge@suse.com>
Owen Synge [Fri, 26 Feb 2016 12:20:44 +0000 (07:20 -0500)]
[RM-16979] zypper handle ZYPPER_EXIT_INF_CAP_NOT_FOUND return code
When removing package(s) with zypper, that are (all) installed zypper may
succeed and return 0, but when any package(s) are not present before requesting
them to be removed zypper will return 104 on success.
The function remoto.process.run raises a "RuntimeError" exception when the
command does not return 0 in the form:
RuntimeError("Failed to execute command: %s" % " ".join(cmd))
Hence to maintain the expected behaviour, remoto.process.check is used, and the
error code is checked, and if it does not match 0 or 104 the exception is
raised.
Signed-off-by: Owen Synge <osynge@suse.com>
Alfredo Deza [Wed, 13 Jul 2016 15:57:57 +0000 (11:57 -0400)]
Merge pull request #410 from ieth0/ieth0-patch-1
modify sysvinit if condition
Alfredo Deza [Mon, 11 Jul 2016 13:40:03 +0000 (09:40 -0400)]
Merge pull request #411 from arvimal/master
[RM-16651] Installs `diamond` while executing `ceph-deploy calamari c…
Vimal [Thu, 7 Jul 2016 12:34:10 +0000 (18:04 +0530)]
[RM-16651] Installs `diamond` while executing `ceph-deploy calamari connect`.
Fixes http://tracker.ceph.com/issues/16651
`ceph-deploy calamari connect` does not install `diamond`.
This patch tries to fix it by calling `distro.pkg.install()`
for `diamond`.
Signed-off-by: Vimal <arvimal@yahoo.in>
Amin Shayan [Sat, 9 Jul 2016 19:37:34 +0000 (00:07 +0430)]
modify sysvinit if condition
If ceph packages aren't installed on the host with systemd preinstalled, script will return sysvinit instead of systemd which is invalid.
Alfredo Deza [Wed, 29 Jun 2016 20:49:04 +0000 (16:49 -0400)]
Merge pull request #407 from ceph/wip-ubuntu-package-split
Handle ubuntu package split for ceph-osd and ceph-mon
vasukulkarni [Wed, 29 Jun 2016 20:27:25 +0000 (13:27 -0700)]
Merge pull request #409 from ceph/RM-16533
[RM-16533] install: define gpgcheck always
Alfredo Deza [Wed, 29 Jun 2016 20:23:43 +0000 (16:23 -0400)]
[RM-16533] install: define gpgcheck always
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Wed, 29 Jun 2016 13:27:17 +0000 (09:27 -0400)]
Merge pull request #404 from gaowanlong/nogpgcheck
Add the --nogpgcheck option
Wanlong Gao [Wed, 15 Jun 2016 03:00:57 +0000 (11:00 +0800)]
[RM-16524] Add the --nogpgcheck option
I met the deploy failure with local mirror and the official gpgkeys,
the error is like:
[node-1][WARNIN] Failing package is: 1:librbd1-0.94.6-0.el7.x86_64
[node-1][WARNIN] GPG Keys are configured as: file:///opt/ceph-deploy/repo/release.asc
Anyway, I do not care the gpg keys but want to install successfully
without gpgcheck.
Signed-off-by: Wanlong Gao <wanlong.gao@easystack.cn>
Vasu Kulkarni [Fri, 24 Jun 2016 19:57:33 +0000 (12:57 -0700)]
[BZ-
1349999 ] Handle package split for ubuntu
ceph is now split into ceph-base, ceph-mon and ceph-osd
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
Alfredo Deza [Thu, 23 Jun 2016 15:08:59 +0000 (11:08 -0400)]
Merge pull request #406 from ceph/RM-16452
[RM-16452] docs: include gatherkeys.rst in the toctree as well
Alfredo Deza [Thu, 23 Jun 2016 15:07:56 +0000 (11:07 -0400)]
[RM-16452] docs: include gatherkeys.rst in the toctree as well
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Thu, 23 Jun 2016 15:06:32 +0000 (11:06 -0400)]
Merge pull request #405 from ceph/RM-16452
[RM-16452] docs: include admin.rst in the toctree
Alfredo Deza [Thu, 23 Jun 2016 15:02:34 +0000 (11:02 -0400)]
[RM-16452] docs: include admin.rst in the toctree
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Josh Durgin [Wed, 22 Jun 2016 20:52:57 +0000 (13:52 -0700)]
Merge pull request #388 from BlaXpirit/RM-15016
[RM-15016] Python 3 Compatibility
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Oleh Prypin [Mon, 20 Jun 2016 21:11:51 +0000 (00:11 +0300)]
[RM-15016] Bump remoto requirement to 0.0.29
Signed-off-by: Oleh Prypin <oleh@pryp.in>
Oleh Prypin [Thu, 16 Jun 2016 10:45:23 +0000 (13:45 +0300)]
[RM-15016] Rework the bootstrap script to properly install Python 3 on CentOS
Signed-off-by: Oleh Prypin <oleh@pryp.in>
Alfredo Deza [Tue, 14 Jun 2016 15:05:19 +0000 (11:05 -0400)]
Merge pull request #402 from gaowanlong/master
Fix rsync username when using local_mirror
Wanlong Gao [Tue, 14 Jun 2016 10:41:56 +0000 (18:41 +0800)]
Fix rsync username when using local_mirror
We should use the configured username for rsync to connect
to the remote host.
Signed-off-by: Wanlong Gao <wanlong.gao@easystack.cn>
Oleh Prypin [Thu, 9 Jun 2016 13:46:09 +0000 (16:46 +0300)]
[RM-15016] Opt out of a backwards-incompatible change in configparser
Signed-off-by: Oleh Prypin <oleh@pryp.in>
Oleh Prypin [Thu, 9 Jun 2016 12:40:26 +0000 (15:40 +0300)]
Merge branch 'master' into RM-15016
Oleh Prypin [Thu, 26 May 2016 20:55:38 +0000 (23:55 +0300)]
[RM-15016] Allow selecting Python version in bootstrap script
Signed-off-by: Oleh Prypin <oleh@pryp.in>
Oleh Prypin [Wed, 25 May 2016 15:52:09 +0000 (18:52 +0300)]
[RM-15016] Fix Python 3 compatibility after merge of RM-15451
Signed-off-by: Oleh Prypin <oleh@pryp.in>
Oleh Prypin [Thu, 9 Jun 2016 12:34:19 +0000 (15:34 +0300)]
Merge branch 'master' into RM-15016
Oleh Prypin [Mon, 23 May 2016 17:26:41 +0000 (20:26 +0300)]
[RM-15016] Add py34 to tox config
Signed-off-by: Oleh Prypin <oleh@pryp.in>
Oleh Prypin [Mon, 23 May 2016 17:26:40 +0000 (20:26 +0300)]
[RM-15016] Fixes related to changes in argparse's behavior
* No error when passing an incomplete command:
http://bugs.python.org/issue9253#msg186387
* Different error message for too few arguments
* Different output stream for version number
Signed-off-by: Oleh Prypin <oleh@pryp.in>
Oleh Prypin [Mon, 23 May 2016 17:26:37 +0000 (20:26 +0300)]
[RM-15016] Make usage of bytes vs strings compatible with Python 3
Signed-off-by: Oleh Prypin <oleh@pryp.in>
Jenkins [Tue, 7 Jun 2016 17:06:34 +0000 (17:06 +0000)]
1.5.34
Alfredo Deza [Tue, 7 Jun 2016 17:04:37 +0000 (13:04 -0400)]
Merge pull request #401 from ceph/RM-16181
release 1.5.34
Alfredo Deza [Tue, 7 Jun 2016 17:03:20 +0000 (13:03 -0400)]
[RM-16181] bump to 1.5.34
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 7 Jun 2016 17:02:58 +0000 (13:02 -0400)]
[RM-16181] update the changelog
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Andrew Schoen [Mon, 6 Jun 2016 21:07:57 +0000 (16:07 -0500)]
Merge pull request #400 from ceph/RM-14099
partx/partprobe calls are no longer needed when zapping
Alfredo Deza [Mon, 6 Jun 2016 20:42:27 +0000 (16:42 -0400)]
[RM-14099] osd: partx/partprobe calls are no longer needed when zapping. ceph-disk does it
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Sage Weil [Fri, 3 Jun 2016 12:56:10 +0000 (08:56 -0400)]
Merge pull request #399 from ceph/RM-16140
remove the ability to use ext4 in ceph-deploy
Reviewed-by: Sage Weil <sage@redhat.com>
Alfredo Deza [Fri, 3 Jun 2016 12:46:46 +0000 (08:46 -0400)]
[RM-16140] tests: test btrfs instead of ext4
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 3 Jun 2016 12:46:26 +0000 (08:46 -0400)]
[RM-16140] tests: remove osd ext4 tests
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Fri, 3 Jun 2016 12:43:04 +0000 (08:43 -0400)]
[RM-16140] osd: remove ability to pick ext4
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Alfredo Deza [Tue, 31 May 2016 17:47:16 +0000 (13:47 -0400)]
Merge pull request #387 from SUSE/wip-fix-mon-install-suse
Fix mon install suse
Owen Synge [Thu, 26 May 2016 12:39:03 +0000 (14:39 +0200)]
ceph_deploy.tests.unit.hosts.test_suse: Fix default init
The default init system for SUSE should be systemd, as all future releases of
SUSE are expected to be based upon systemd
Signed-off-by: Owen Synge <osynge@suse.com>
Owen Synge [Thu, 11 Feb 2016 16:16:33 +0000 (17:16 +0100)]
[RM-14740] rcceph is no longer used with (open)SUSE
rcceph is no longer used with (open)SUSE and has been removd from ceph upstream.
Hence it is best to start the services directly and make the service start code
identical to Fedora.
Signed-off-by: Owen Synge <osynge@suse.com>
Owen Synge [Thu, 11 Feb 2016 16:12:37 +0000 (17:12 +0100)]
[RM-14742] Set default init to systemd for (open)SUSE
(open)SUSE is now using systemd moving forward, this patch corrects behavior
on Tumbleweed and LEAP
openSUSE Tumbleweed distribution is a pure rolling release version of openSUSE
running the latest packages.
openSUSE LEAP is a rolling release version of openSUSE based on SUSE linux
Enterprise.
Signed-off-by: Owen Synge <osynge@suse.com>
Alfredo Deza [Tue, 24 May 2016 16:11:24 +0000 (12:11 -0400)]
Merge pull request #393 from SUSE/fix-remove-ceph-create-keys-dep
[RM-15451] Gather keys directly from the mon
Owen Synge [Tue, 24 May 2016 09:20:01 +0000 (11:20 +0200)]
ceph_deploy.tests.test_gather_keys_with_mon: Mock shortname
Since gatherkeys now uses distro.conn.remote_module.shortname()
We need to mock this also.
Signed-off-by: Owen Synge <osynge@suse.com>
Owen Synge [Mon, 23 May 2016 17:15:48 +0000 (19:15 +0200)]
ceph_deploy.gatherkeys: Normalize hostname
We should always use the short hostname for mon interactions.
Signed-off-by: Owen Synge <osynge@suse.com>