]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/log
ceph-deploy.git
8 years ago[RM-20809] handle package conflicts when upgrading/reinstalling 448/head
Vasu Kulkarni [Fri, 28 Jul 2017 17:55:13 +0000 (10:55 -0700)]
[RM-20809] handle package conflicts when upgrading/reinstalling

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
8 years agoMerge pull request #445 from ceph/RM-20521
Alfredo Deza [Wed, 19 Jul 2017 14:10:13 +0000 (10:10 -0400)]
Merge pull request #445 from ceph/RM-20521

[RM-20521] osd: add filestore flag in the prepare parser

8 years agoMerge pull request #447 from yaguangtang/RM-20560
Alfredo Deza [Wed, 19 Jul 2017 14:08:37 +0000 (10:08 -0400)]
Merge pull request #447 from yaguangtang/RM-20560

[RM-20560] Support deploy on Debian 9 stretch

8 years ago[RM-20560] Support deploy on Debian 9 stretch 447/head
Yaguang Tang [Sun, 9 Jul 2017 14:52:46 +0000 (22:52 +0800)]
[RM-20560] Support deploy on Debian 9 stretch

8 years ago[RM-20521] osd: add filestore flag in the prepare parser 445/head
Alfredo Deza [Wed, 5 Jul 2017 19:10:00 +0000 (15:10 -0400)]
[RM-20521] osd: add filestore flag in the prepare parser

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoMerge pull request #444 from ceph/RM-20521
vasukulkarni [Wed, 5 Jul 2017 18:43:11 +0000 (11:43 -0700)]
Merge pull request #444 from ceph/RM-20521

[RM-20521] osd: add missing --filestore flag for prepare

8 years ago[RM-20521] osd: add missing --filestore flag for prepare 444/head
Alfredo Deza [Wed, 5 Jul 2017 18:31:19 +0000 (14:31 -0400)]
[RM-20521] osd: add missing --filestore flag for prepare

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoMerge pull request #443 from ceph/RM-20387
vasukulkarni [Thu, 22 Jun 2017 19:30:47 +0000 (12:30 -0700)]
Merge pull request #443 from ceph/RM-20387

[RM-20387] tests: test against py35

8 years ago[RM-20387] cli: remove unused import 443/head
Alfredo Deza [Thu, 22 Jun 2017 17:15:45 +0000 (13:15 -0400)]
[RM-20387] cli: remove unused import

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years ago[RM-20387] tests: test against py35
Alfredo Deza [Thu, 22 Jun 2017 17:12:22 +0000 (13:12 -0400)]
[RM-20387] tests: test against py35

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoMerge pull request #442 from ceph/wip-filestore
Alfredo Deza [Fri, 9 Jun 2017 18:19:24 +0000 (14:19 -0400)]
Merge pull request #442 from ceph/wip-filestore

osd: add --filestore

8 years agoosd: add --filestore 442/head
Sage Weil [Fri, 9 Jun 2017 17:52:06 +0000 (13:52 -0400)]
osd: add --filestore

ceph-disk now defaults to bluestore, which means there wasn't a way to
provision filestore.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #441 from ceph/RM-20228
vasukulkarni [Thu, 8 Jun 2017 19:26:41 +0000 (12:26 -0700)]
Merge pull request #441 from ceph/RM-20228

remove custom cluster names for deploying

8 years ago[RM-20228] tests: remove tests that validated cluster name 441/head
Alfredo Deza [Thu, 8 Jun 2017 19:20:49 +0000 (15:20 -0400)]
[RM-20228] tests: remove tests that validated cluster name

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years ago[RM-20228] cli: remove --cluster from the options, but leave 'ceph' as default
Alfredo Deza [Thu, 8 Jun 2017 19:20:09 +0000 (15:20 -0400)]
[RM-20228] cli: remove --cluster from the options, but leave 'ceph' as default

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years ago1.5.38 v1.5.38
Jenkins Build Slave User [Thu, 25 May 2017 12:35:46 +0000 (12:35 +0000)]
1.5.38

8 years agoMerge pull request #439 from ceph/RM-19850
vasukulkarni [Fri, 19 May 2017 20:48:55 +0000 (13:48 -0700)]
Merge pull request #439 from ceph/RM-19850

release 1.5.38

8 years ago[RM-19850] docs: update the changelog 439/head
Alfredo Deza [Fri, 19 May 2017 19:07:05 +0000 (15:07 -0400)]
[RM-19850] docs: update the changelog

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years ago[RM-19850] bump to 1.5.38
Alfredo Deza [Fri, 19 May 2017 19:02:02 +0000 (15:02 -0400)]
[RM-19850] bump to 1.5.38

Signed-off-by: Alfredo Deza <adeza@redhat.com>
8 years agoMerge pull request #438 from hikycool/master
Alfredo Deza [Fri, 19 May 2017 20:30:27 +0000 (16:30 -0400)]
Merge pull request #438 from hikycool/master

Test: Fix some contrast infomation in test case

8 years agoTest: Fix some contrast infomation in test case 438/head
root [Thu, 11 May 2017 07:53:09 +0000 (07:53 +0000)]
Test: Fix some contrast infomation in test case

Maybe someone forgets to fix test info in test_install.py.

E AssertionError: assert ['ceph', 'cep...d', 'radosgw'] ==
    ['ceph-mds', '...d', 'radosgw']
E   At index 0 diff: 'ceph' != 'ceph-mds'
E   Full diff:
E   - ['ceph', 'ceph-mds', 'ceph-mon', 'ceph-osd', 'radosgw']
E   ?  --------
E   + ['ceph-mds', 'ceph-mgr', 'ceph-mon', 'ceph-osd', 'radosgw']
E   ?              ++++++++++++

So fix it.

Signed-off-by: Yu Shengzuo <yu.shengzuo@99cloud.net>
8 years agoMerge pull request #437 from jcsp/wip-19713
Sage Weil [Thu, 20 Apr 2017 14:35:04 +0000 (09:35 -0500)]
Merge pull request #437 from jcsp/wip-19713

mgr: update osd and mds caps

8 years agomgr: update osd and mds caps 437/head
John Spray [Thu, 20 Apr 2017 14:22:18 +0000 (15:22 +0100)]
mgr: update osd and mds caps

This is to enable mgr daemons to remote control
mds and osd daemons using MCommand messages.

Fixes: http://tracker.ceph.com/issues/19713
Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #436 from Andrey1994/master
Alfredo Deza [Wed, 22 Mar 2017 23:59:33 +0000 (19:59 -0400)]
Merge pull request #436 from Andrey1994/master

[RM-19301] add Virtuozzo Linux support

8 years ago[RM-19301] add tests for Virtuozzo Linux 436/head
Andrey1994 [Wed, 22 Mar 2017 18:35:53 +0000 (21:35 +0300)]
[RM-19301] add tests for Virtuozzo Linux

Signed-off-by: Andrey1994 <a1994ndrey@gmail.com>
8 years ago[RM-19301] add Virtuozzo Linux support
Andrey1994 [Wed, 22 Mar 2017 18:34:45 +0000 (21:34 +0300)]
[RM-19301] add Virtuozzo Linux support

Signed-off-by: Andrey1994 <a1994ndrey@gmail.com>
8 years agoMerge pull request #435 from ceph/wip-mgr
vasukulkarni [Fri, 17 Mar 2017 17:26:26 +0000 (10:26 -0700)]
Merge pull request #435 from ceph/wip-mgr

add mgr support (install, gatherkeys, daemon creation)

8 years agomgr: add 'mgr create ...' 435/head
Sage Weil [Mon, 13 Mar 2017 18:04:43 +0000 (14:04 -0400)]
mgr: add 'mgr create ...'

This is basically a copy of mds.py, with s/mds/mgr/.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agomds: remove weird key creation cruft
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>
8 years agogatherkeys: gather bootstrap-mgr key too
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>
8 years agoinstall: install ceph-mgr
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>
8 years agoMerge pull request #434 from Andrey1994/master
Alfredo Deza [Tue, 14 Mar 2017 11:38:13 +0000 (07:38 -0400)]
Merge pull request #434 from Andrey1994/master

[RM-19266] add the opportunity to specify block.db and block.wal

8 years ago[RM-19266] add the opportunity to specify block.db and block.wal in bluestore 434/head
Andrey Parfenov [Mon, 13 Mar 2017 08:41:29 +0000 (11:41 +0300)]
[RM-19266] add the opportunity to specify block.db and block.wal in bluestore

8 years agoMerge pull request #433 from ceph/wip-mgr
Alfredo Deza [Wed, 8 Mar 2017 13:32:06 +0000 (08:32 -0500)]
Merge pull request #433 from ceph/wip-mgr

gatherkeys: mgr 'allow *'

8 years agogatherkeys: mgr 'allow *' 433/head
Sage Weil [Tue, 7 Mar 2017 20:27:45 +0000 (15:27 -0500)]
gatherkeys: mgr 'allow *'

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #432 from ceph/RM-17287
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

8 years ago[RM-17287] hosts: detect systemd before sysvinit in centos 432/head
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>
9 years agoMerge pull request #431 from ceph/wip-dalgaaf-bug
vasukulkarni [Thu, 23 Feb 2017 17:37:03 +0000 (09:37 -0800)]
Merge pull request #431 from ceph/wip-dalgaaf-bug

fix UnboundLocalError

9 years agofix UnboundLocalError 431/head
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>
9 years agoMerge pull request #429 from ganeshmaharaj/enable-mirror-unauth-install
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

9 years agoAllow unsigned deb packages install from mirror locations 429/head
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>
9 years ago1.5.37 v1.5.37
Jenkins Build Slave User [Tue, 3 Jan 2017 21:19:14 +0000 (21:19 +0000)]
1.5.37

9 years agoMerge pull request #428 from ceph/RM-18411
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

9 years ago[RM-18411] update the changelog for 1.5.37 428/head
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>
9 years ago[RM-18411] bump the package to 1.5.37
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>
9 years agoMerge pull request #427 from ceph/RM-18410
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

9 years ago[RM-18410] In python3, bytes should be decoded first 427/head
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>
9 years agoMerge pull request #426 from ceph/RM-18169
vasukulkarni [Thu, 8 Dec 2016 22:08:18 +0000 (14:08 -0800)]
Merge pull request #426 from ceph/RM-18169

shaman/chacra support

9 years ago[RM-18169] tests: add a unit test for the url utility 426/head
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>
9 years ago[RM-18169] centos/install: accommodate installation from shaman to chacra repos
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>
9 years ago[RM-18169] install: allow using both --dev and --dev-commit
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>
9 years ago[RM-18169] debian/install: accommodate installation from shaman to chacra repos
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>
9 years ago[RM-18169] remotes: add a helper to write a sources list file from contents
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>
9 years ago[RM-18169] util: create http get helpers to help translate chacra urls into repos
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>
9 years ago[RM-18169] install: pass args to the host-specific install function
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>
9 years agoMerge pull request #421 from alexei38/master
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

9 years agoMerge pull request #424 from ceph/RM-17823
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

9 years ago[RM-17823] gatherkeys: add missing argument to log call 424/head
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>
9 years agoMerge pull request #422 from adshao/RM-17567
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

9 years ago[RM-17612] Support oracle linux server 421/head
Alexei Margasov [Mon, 10 Oct 2016 13:52:12 +0000 (18:52 +0500)]
[RM-17612] Support oracle linux server

9 years ago[RM-17567] Start mon by systemd/sysvint/upstart after adding mon 422/head
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>
9 years agoMerge pull request #420 from lossanarch/master
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

9 years ago[RM-17238] Add --cluster arg as required to two commands 420/head
Steve [Thu, 8 Sep 2016 11:45:46 +0000 (21:45 +1000)]
[RM-17238] Add --cluster arg as required to two commands

9 years ago1.5.36 v1.5.36
Jenkins Build Slave User [Tue, 30 Aug 2016 11:47:42 +0000 (11:47 +0000)]
1.5.36

9 years agoMerge pull request #419 from ceph/RM-17168
vasukulkarni [Mon, 29 Aug 2016 21:10:58 +0000 (14:10 -0700)]
Merge pull request #419 from ceph/RM-17168

release 1.5.36

9 years ago[RM-17168] bump to 1.5.36 419/head
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>
9 years ago[RM-17168] docs: update the changelog for 1.5.36
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>
9 years agoMerge pull request #418 from ceph/RM-16443
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

9 years ago[RM-16443] gatherkeys: try getting an existing key without caps 418/head
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>
9 years agoMerge pull request #417 from ceph/RM-17107
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

9 years ago[RM-17107] hosts.rhel: detect if a remote node is systemd with the is_systemd utility 417/head
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>
9 years ago[RM-17107] hosts.centos: use ceph.target for systemd and is_systemd util for detection
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>
9 years agoMerge pull request #416 from ceph/RM-17086
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

9 years ago[RM-17086] osd: use load_raw for reading/writing ceph conf 416/head
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>
9 years agoMerge pull request #415 from minshenglin/RM-17053
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

9 years ago[RM-17053] cleanup: using load_raw to replace old practice 415/head
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>
9 years ago1.5.35 v1.5.35
Jenkins Build Slave User [Mon, 15 Aug 2016 13:15:02 +0000 (13:15 +0000)]
1.5.35

9 years agoMerge pull request #414 from ceph/RM-17024
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

9 years ago[RM-17024] ceph_deploy: bump to 1.5.35 414/head
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>
9 years ago[RM-17024] docs: update changelog for 1.5.35
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>
9 years agoMerge pull request #413 from SUSE/wip_zypper
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

9 years ago[RM-16979] Change test to use check function. 413/head
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>
9 years ago[RM-16979] Change use of check function.
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>
9 years ago[RM-16979] ceph_deploy.util.pkg_managers: Fix zypper handling
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>
9 years ago[RM-16979] zypper remove each package separately
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>
9 years ago[RM-16979] zypper handle ZYPPER_EXIT_INF_CAP_NOT_FOUND return code
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>
9 years agoMerge pull request #410 from ieth0/ieth0-patch-1
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

9 years agoMerge pull request #411 from arvimal/master
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…

9 years ago[RM-16651] Installs `diamond` while executing `ceph-deploy calamari connect`. 411/head
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>
9 years agomodify sysvinit if condition 410/head
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.

9 years agoMerge pull request #407 from ceph/wip-ubuntu-package-split
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

9 years agoMerge pull request #409 from ceph/RM-16533
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

9 years ago[RM-16533] install: define gpgcheck always 409/head
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>
9 years agoMerge pull request #404 from gaowanlong/nogpgcheck
Alfredo Deza [Wed, 29 Jun 2016 13:27:17 +0000 (09:27 -0400)]
Merge pull request #404 from gaowanlong/nogpgcheck

Add the --nogpgcheck option

9 years ago[RM-16524] Add the --nogpgcheck option 404/head
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>
9 years ago[BZ-1349999] Handle package split for ubuntu 407/head
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>
9 years agoMerge pull request #406 from ceph/RM-16452
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

9 years ago[RM-16452] docs: include gatherkeys.rst in the toctree as well 406/head
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>
9 years agoMerge pull request #405 from ceph/RM-16452
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

9 years ago[RM-16452] docs: include admin.rst in the toctree 405/head
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>