]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/log
ceph-deploy.git
12 years agouse the BASE_FORMAT for file loggers 28/head
Alfredo Deza [Thu, 1 Aug 2013 15:24:43 +0000 (11:24 -0400)]
use the BASE_FORMAT for file loggers

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agoadd log formatting for non-color handlers
Alfredo Deza [Thu, 1 Aug 2013 15:23:31 +0000 (11:23 -0400)]
add log formatting for non-color handlers

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agoadd the ceph version check for all distros
Alfredo Deza [Thu, 1 Aug 2013 14:10:41 +0000 (10:10 -0400)]
add the ceph version check for all distros

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agocreate a common helper module
Alfredo Deza [Thu, 1 Aug 2013 14:02:30 +0000 (10:02 -0400)]
create a common helper module

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agoMerge pull request #27 from ceph/wip-5738
Alfredo Deza [Wed, 31 Jul 2013 19:12:00 +0000 (12:12 -0700)]
Merge pull request #27 from ceph/wip-5738

mon: archive, instead of deleting, destroyed monitor data

12 years agoMerge pull request #25 from alfredodeza/master
Alfredo Deza [Tue, 30 Jul 2013 23:02:27 +0000 (16:02 -0700)]
Merge pull request #25 from alfredodeza/master

remove a no longer relevant assertion for test_install

12 years agoremove a no longer relevant assertion for test_install 25/head
Alfredo Deza [Tue, 30 Jul 2013 22:33:14 +0000 (18:33 -0400)]
remove a no longer relevant assertion for test_install

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agoMerge pull request #24 from alfredodeza/5728
Gary Lowell [Tue, 30 Jul 2013 19:22:54 +0000 (12:22 -0700)]
Merge pull request #24 from alfredodeza/5728

Better logging and specificity for `ceph-deploy install`

Reviewed-by: Gary Lowell <gary.lowell@inktank.com>
12 years agobuild-debian.sh: Don't copy to other dists
Gary Lowell [Tue, 30 Jul 2013 05:48:25 +0000 (22:48 -0700)]
build-debian.sh:  Don't copy to other dists

Don't copy the just build packgaes to the other distros in
the repo.  There are no per distro builds.

Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
12 years agomon: archive, instead of deleting, destroyed monitor data 27/head
Sage Weil [Mon, 29 Jul 2013 22:06:29 +0000 (15:06 -0700)]
mon: archive, instead of deleting, destroyed monitor data

Fixes: #5738
Signed-off-by: Sage Weil <sage@inktank.com>
12 years agofix stack being eaten by the exception workaround 24/head
Alfredo Deza [Mon, 29 Jul 2013 20:57:32 +0000 (16:57 -0400)]
fix stack being eaten by the exception workaround

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agosuse converted to use the new wrappers
Alfredo Deza [Mon, 29 Jul 2013 20:11:52 +0000 (16:11 -0400)]
suse converted to use the new wrappers

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agoremove unused import
Alfredo Deza [Mon, 29 Jul 2013 20:01:14 +0000 (16:01 -0400)]
remove unused import

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agofedora adapated to work with the new wrappers
Alfredo Deza [Mon, 29 Jul 2013 19:59:25 +0000 (15:59 -0400)]
fedora adapated to work with the new wrappers

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agoremove unused import
Alfredo Deza [Mon, 29 Jul 2013 19:59:07 +0000 (15:59 -0400)]
remove unused import

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agocentos fully working with the new wrappers
Alfredo Deza [Mon, 29 Jul 2013 19:55:29 +0000 (15:55 -0400)]
centos fully working with the new wrappers

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agonicer API to do remote check_calls
Alfredo Deza [Mon, 29 Jul 2013 19:30:57 +0000 (15:30 -0400)]
nicer API to do remote check_calls

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agodebian install fully converted
Alfredo Deza [Mon, 29 Jul 2013 19:28:48 +0000 (15:28 -0400)]
debian install fully converted

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agouse the remote ctxt manager to handle everything
Alfredo Deza [Mon, 29 Jul 2013 19:16:40 +0000 (15:16 -0400)]
use the remote ctxt manager to handle everything

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agocreate a generic remote function to execute them remotely
Alfredo Deza [Mon, 29 Jul 2013 15:58:47 +0000 (11:58 -0400)]
create a generic remote function to execute them remotely

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agoceph-deploy.spec: sles needs buildroot
Gary Lowell [Sat, 27 Jul 2013 05:44:50 +0000 (22:44 -0700)]
ceph-deploy.spec:  sles needs buildroot

Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
12 years agoceph-deploy.spec: pytest package is python-pytest on suse
Gary Lowell [Sat, 27 Jul 2013 01:16:40 +0000 (18:16 -0700)]
ceph-deploy.spec:  pytest package is python-pytest on suse

Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
12 years agoMerge pull request #23 from alfredodeza/master
Alfredo Deza [Fri, 26 Jul 2013 20:50:20 +0000 (13:50 -0700)]
Merge pull request #23 from alfredodeza/master

update author and email attributes

12 years agomds: simplify, fix err.errno problem
Sage Weil [Fri, 26 Jul 2013 17:57:11 +0000 (10:57 -0700)]
mds: simplify, fix err.errno problem

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoMerge pull request #22 from alfredodeza/5727
Sage Weil [Fri, 26 Jul 2013 16:57:10 +0000 (09:57 -0700)]
Merge pull request #22 from alfredodeza/5727

Abstract host release/distro detection

Reviewed-by: Sage Weil <sage@inktank.com>
12 years agoupdate author and email attributes 23/head
Alfredo Deza [Wed, 24 Jul 2013 21:00:11 +0000 (17:00 -0400)]
update author and email attributes

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agofallback call to ceph for versions < dumpling
Alfredo Deza [Thu, 25 Jul 2013 20:31:26 +0000 (16:31 -0400)]
fallback call to ceph for versions < dumpling

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agomds: set correct caps for new mds
Sage Weil [Thu, 25 Jul 2013 18:38:09 +0000 (11:38 -0700)]
mds: set correct caps for new mds

Fixes: #5745
Signed-off-by: Sage Weil <sage@inktank.com>
12 years agofix broken test for the new module magic 22/head
Alfredo Deza [Thu, 25 Jul 2013 16:37:43 +0000 (12:37 -0400)]
fix broken test for the new module magic

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agoremove all install functions from ceph_deploy.install
Alfredo Deza [Thu, 25 Jul 2013 15:27:50 +0000 (11:27 -0400)]
remove all install functions from ceph_deploy.install

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agoremove all the 'if' conditionals for install and use hosts.get
Alfredo Deza [Thu, 25 Jul 2013 15:26:10 +0000 (11:26 -0400)]
remove all the 'if' conditionals for install and use hosts.get

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agocreate the install module for suse
Alfredo Deza [Thu, 25 Jul 2013 15:17:48 +0000 (11:17 -0400)]
create the install module for suse

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agocreate the install module for fedora
Alfredo Deza [Thu, 25 Jul 2013 15:11:56 +0000 (11:11 -0400)]
create the install module for fedora

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agoadd proper init with install imports to fedora an suse
Alfredo Deza [Thu, 25 Jul 2013 15:08:54 +0000 (11:08 -0400)]
add proper init with install imports to fedora an suse

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agouse the name that comes from lsb and slap the connection too
Alfredo Deza [Thu, 25 Jul 2013 15:08:04 +0000 (11:08 -0400)]
use the name that comes from lsb and slap the connection too

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agocreate the install module for CentOS
Alfredo Deza [Thu, 25 Jul 2013 15:07:23 +0000 (11:07 -0400)]
create the install module for CentOS

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agoimport the install function into the module
Alfredo Deza [Thu, 25 Jul 2013 14:41:47 +0000 (10:41 -0400)]
import the install function into the module

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agoadd an install module for debian
Alfredo Deza [Thu, 25 Jul 2013 14:10:04 +0000 (10:10 -0400)]
add an install module for debian

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agoMerge pull request #21 from alfredodeza/master
Gary Lowell [Wed, 24 Jul 2013 18:21:39 +0000 (11:21 -0700)]
Merge pull request #21 from alfredodeza/master

Bump `pushy` version and fix RST formatting
Reviewed-by: Gary Lowell <gary.lowell@inktank.com>
12 years agoinstall: add dumpling, emperor to stable list 21/head
Sage Weil [Tue, 23 Jul 2013 15:34:53 +0000 (08:34 -0700)]
install: add dumpling, emperor to stable list

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoinstall: add dumpling, emperor to stable list
Sage Weil [Tue, 23 Jul 2013 15:34:53 +0000 (08:34 -0700)]
install: add dumpling, emperor to stable list

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agofix rst formatting
Alfredo Deza [Tue, 23 Jul 2013 13:50:36 +0000 (09:50 -0400)]
fix rst formatting

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agobump pushy version
Alfredo Deza [Tue, 23 Jul 2013 13:43:52 +0000 (09:43 -0400)]
bump pushy version

12 years agoMerge pull request #20 from alfredodeza/5678
Sage Weil [Tue, 23 Jul 2013 04:09:26 +0000 (21:09 -0700)]
Merge pull request #20 from alfredodeza/5678

do not stop mon deamon, check for its status

Reviewed-by: Sage Weil <sage@inktank.com>
12 years agotests to make sure we run ok in ubuntu and centos 20/head
Alfredo Deza [Mon, 22 Jul 2013 21:52:12 +0000 (17:52 -0400)]
tests to make sure we run ok in ubuntu and centos

12 years agomake it easier to test our new helper by extracting it
Alfredo Deza [Mon, 22 Jul 2013 21:51:53 +0000 (17:51 -0400)]
make it easier to test our new helper by extracting it

12 years agodo not stop deamon, check for its status
Alfredo Deza [Mon, 22 Jul 2013 20:32:36 +0000 (16:32 -0400)]
do not stop deamon, check for its status

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agoMerge pull request #19 from alfredodeza/master
Gary Lowell [Mon, 22 Jul 2013 15:07:44 +0000 (08:07 -0700)]
Merge pull request #19 from alfredodeza/master

Make tests compatible with Python 2.6

Reviewed-by: Gary Lowell <gary.lowell@inktank.com>
12 years agomake tests compaitble with python 2.6 19/head
Alfredo Deza [Mon, 22 Jul 2013 13:08:27 +0000 (09:08 -0400)]
make tests compaitble with python 2.6

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
12 years agomake it a verbose run for tox py.test
Alfredo Deza [Mon, 22 Jul 2013 13:03:42 +0000 (09:03 -0400)]
make it a verbose run for tox py.test

12 years agoadd py26 as a required testing env
Alfredo Deza [Mon, 22 Jul 2013 12:59:32 +0000 (08:59 -0400)]
add py26 as a required testing env

12 years agoMerge branch 'wip-5300'
Gary Lowell [Fri, 19 Jul 2013 22:30:19 +0000 (15:30 -0700)]
Merge branch 'wip-5300'

12 years agoMerge pull request #18 from alfredodeza/master
Gary Lowell [Fri, 19 Jul 2013 22:28:51 +0000 (15:28 -0700)]
Merge pull request #18 from alfredodeza/master

Honor the `--cluster` flag for `mon` actions

Reviewed-by: Gary Lowell <gary.lowell@inktank.com>
12 years agoinstall.py: Warn if purging all data and ceph still installed.
Gary Lowell [Fri, 19 Jul 2013 18:07:40 +0000 (11:07 -0700)]
install.py:  Warn if purging all data and ceph still installed.

If any of the hosts listed in the purgedata command still have ceph installed
issue a warning message and prompt to continue. Fixes #5300.

Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
Reviewed-by: Alfredo Deza <alfredo.deza@inktank.com>
12 years agoa whole set of tests just for create_mon 18/head
Alfredo Deza [Fri, 19 Jul 2013 16:28:55 +0000 (12:28 -0400)]
a whole set of tests just for create_mon

12 years agomake it easier to test by using keyword arguments
Alfredo Deza [Fri, 19 Jul 2013 16:28:36 +0000 (12:28 -0400)]
make it easier to test by using keyword arguments

12 years agofix a typo for wrong path reference
Alfredo Deza [Fri, 19 Jul 2013 12:30:23 +0000 (08:30 -0400)]
fix a typo for wrong path reference

12 years agofix typos
Alfredo Deza [Thu, 18 Jul 2013 18:33:09 +0000 (14:33 -0400)]
fix typos

12 years agomoved everything to a module
Alfredo Deza [Thu, 18 Jul 2013 18:20:52 +0000 (14:20 -0400)]
moved everything to a module

12 years agofix function renaming
Alfredo Deza [Thu, 18 Jul 2013 18:20:36 +0000 (14:20 -0400)]
fix function renaming

12 years agoadd paths and constants for the mon functions
Alfredo Deza [Thu, 18 Jul 2013 17:57:07 +0000 (13:57 -0400)]
add paths and constants for the mon functions

12 years agomon.py uses the path utilities that enforce cluster and hostname usage
Alfredo Deza [Thu, 18 Jul 2013 16:27:01 +0000 (12:27 -0400)]
mon.py uses the path utilities that enforce cluster and hostname usage

12 years agoupdate tests for the new base method using cluster
Alfredo Deza [Thu, 18 Jul 2013 16:12:38 +0000 (12:12 -0400)]
update tests for the new base method using cluster

12 years agothe base method should also use the cluster arg
Alfredo Deza [Thu, 18 Jul 2013 16:12:13 +0000 (12:12 -0400)]
the base method should also use the cluster arg

12 years agoMerge pull request #17 from alfredodeza/master
Sage Weil [Wed, 17 Jul 2013 21:51:42 +0000 (14:51 -0700)]
Merge pull request #17 from alfredodeza/master

Fix all broken tests for ceph-deploy

12 years agomoved test to tests to follow best practices 17/head
Alfredo Deza [Wed, 17 Jul 2013 20:31:23 +0000 (16:31 -0400)]
moved test to tests to follow best practices

12 years agotests for cli_osd passing
Alfredo Deza [Wed, 17 Jul 2013 20:31:00 +0000 (16:31 -0400)]
tests for cli_osd passing

12 years agocall main directly, all tests for test_cli_new passing
Alfredo Deza [Wed, 17 Jul 2013 19:49:48 +0000 (15:49 -0400)]
call main directly, all tests for test_cli_new passing

12 years agouse the new fakes module
Alfredo Deza [Wed, 17 Jul 2013 19:49:29 +0000 (15:49 -0400)]
use the new fakes module

12 years agocreate a fakes file
Alfredo Deza [Wed, 17 Jul 2013 19:48:10 +0000 (15:48 -0400)]
create a fakes file

12 years agoremove another invalid test
Alfredo Deza [Wed, 17 Jul 2013 19:35:11 +0000 (15:35 -0400)]
remove another invalid test

12 years agoremove invalid test
Alfredo Deza [Wed, 17 Jul 2013 19:30:23 +0000 (15:30 -0400)]
remove invalid test

12 years agoall test_cli_mon tests passing
Alfredo Deza [Wed, 17 Jul 2013 18:55:11 +0000 (14:55 -0400)]
all test_cli_mon tests passing

12 years agocli error message tests fixed
Alfredo Deza [Wed, 17 Jul 2013 15:33:42 +0000 (11:33 -0400)]
cli error message tests fixed

12 years agoall cli_install tests passing
Alfredo Deza [Wed, 17 Jul 2013 15:28:22 +0000 (11:28 -0400)]
all cli_install tests passing

12 years agoMerge pull request #16 from glzhao/devel
Sage Weil [Wed, 3 Jul 2013 14:10:18 +0000 (07:10 -0700)]
Merge pull request #16 from glzhao/devel

ceph-deploy: add openSUSE & SUSE support in bootstrap

Reviewed-by: Sage Weil <sage@inktank.com>
12 years agoceph-deploy: add openSUSE & SUSE support in bootstrap 16/head
Guangliang Zhao [Thu, 27 Jun 2013 08:45:11 +0000 (16:45 +0800)]
ceph-deploy: add openSUSE & SUSE support in bootstrap

Signed-off-by: Guangliang Zhao <gzhao@suse.com>
12 years agoMerge pull request #14 from dalgaaf/wip-da-fix-rpminstall
Sage Weil [Mon, 1 Jul 2013 16:58:13 +0000 (09:58 -0700)]
Merge pull request #14 from dalgaaf/wip-da-fix-rpminstall

Fix install on RPM based distros

Reviewed-by: Sage Weil <sage@inktank.com>
12 years agoinstall.py: fix uninstall on SUSE products 14/head
Danny Al-Gaaf [Mon, 1 Jul 2013 10:03:07 +0000 (12:03 +0200)]
install.py: fix uninstall on SUSE products

Uninstall also lib(cephfs,rados,rbd)* packages, installed
via package dependencies before.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agoinstall.py: fix install on CentOS
Danny Al-Gaaf [Mon, 1 Jul 2013 09:58:53 +0000 (11:58 +0200)]
install.py: fix install on CentOS

Remove not existing packages from install/uninstall section

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agoinstall.py: fix install on Fedora
Danny Al-Gaaf [Mon, 1 Jul 2013 09:56:57 +0000 (11:56 +0200)]
install.py: fix install on Fedora

Remove not existing packages from install/uninstall section

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agoinstall.py: fix install on SUSE
Danny Al-Gaaf [Mon, 1 Jul 2013 09:52:56 +0000 (11:52 +0200)]
install.py: fix install on SUSE

Remove not existing packages from install/uninstall section.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
12 years agoinstall: fix purge on fedora, suse, scientific
Sage Weil [Tue, 25 Jun 2013 18:18:21 +0000 (11:18 -0700)]
install: fix purge on fedora, suse, scientific

Fixes: #5452
Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoceph-deploy: index rpm subdirectories
Gary Lowell [Tue, 18 Jun 2013 19:52:43 +0000 (12:52 -0700)]
ceph-deploy:  index rpm subdirectories

Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
12 years agoceph-deploy: add ceph-deploy script to manifest
Gary Lowell [Tue, 18 Jun 2013 18:47:12 +0000 (11:47 -0700)]
ceph-deploy: add ceph-deploy script to manifest

Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
12 years agoceph-deploy: update version number.
Gary Lowell [Tue, 18 Jun 2013 18:04:22 +0000 (11:04 -0700)]
ceph-deploy:  update version number.

Update version number in the rpm spec, debian chanlog and python setup files.

Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
12 years agoinstall: fix uninstall for fedora, suse
Sage Weil [Sat, 15 Jun 2013 00:36:18 +0000 (17:36 -0700)]
install: fix uninstall for fedora, suse

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoinstall: --force when installing the rpm
Sage Weil [Fri, 14 Jun 2013 23:24:46 +0000 (16:24 -0700)]
install: --force when installing the rpm

Otherwise we get annoying errors if a different version of the same pkg is
already installed.  Blah!

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoinstall: make install idempotent
Sage Weil [Fri, 14 Jun 2013 15:29:01 +0000 (08:29 -0700)]
install: make install idempotent

If the same version is already installed, we should succeed, not fail.

Also, fix up the whitespace so diffs are easier to read.

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoinstall: fix fedora --dev=... install url
Sage Weil [Fri, 14 Jun 2013 04:36:13 +0000 (21:36 -0700)]
install: fix fedora --dev=... install url

Signed-off-by: Sage Weil <sage@inktank.com>
12 years agoinstall: error out if installing ceph-release rpm fails
Sage Weil [Fri, 14 Jun 2013 00:44:25 +0000 (17:44 -0700)]
install: error out if installing ceph-release rpm fails

This is most noticeable when doing --dev=branch when the branch is not
build and does not exist.

Signed-off-by: Sage Weil <sage@inktank.com>