]>
git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Dan Mick [Tue, 30 Apr 2013 21:00:20 +0000 (14:00 -0700)]
ceph-deploy update (RPM or deb)
Gary Lowell [Fri, 19 Apr 2013 23:24:48 +0000 (16:24 -0700)]
ceph-deploy.py: removed
This file should not have been committed.
Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
Gary Lowell [Wed, 17 Apr 2013 16:35:07 +0000 (09:35 -0700)]
Merge branch 'wip-3924' Package It
Gary Lowell [Tue, 2 Apr 2013 20:26:48 +0000 (16:26 -0400)]
ceph_deploy: Add local sudo transport method
Adds a local transport with sudo to parallel the existing ssh
sudo transport for pushy. Override the original local
transport __init__ to prevent initializer from overwriting
the command line. (Bug #4367)
Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
Reviewed-by: Dan Mick <dan.mick@inktank.com>
Gary Lowell [Tue, 12 Mar 2013 03:36:46 +0000 (20:36 -0700)]
ceph-deploy: Package It
Initial versions of rpm and debian packages.
Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
Gary Lowell [Tue, 9 Apr 2013 19:03:49 +0000 (19:03 +0000)]
ceph-deploy: detect missing lsb_release.
If the lsb_release command is not available on the remote host,
issue an error message and exit. (Bug #4631)
Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
Sage Weil [Fri, 5 Apr 2013 22:37:25 +0000 (15:37 -0700)]
remove 'discover HOST'
It is identical to 'config pull HOST'
Signed-off-by: Sage Weil <sage@inktank.com>
Dan Mick [Thu, 4 Apr 2013 00:21:16 +0000 (17:21 -0700)]
README: closing-quote typos
Sage Weil [Tue, 2 Apr 2013 22:20:31 +0000 (15:20 -0700)]
osd: fix zap
Fixes: #4629
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 29 Mar 2013 20:01:47 +0000 (13:01 -0700)]
cli: make -q work, and make -v and -q mutually exclusive
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 29 Mar 2013 22:46:00 +0000 (15:46 -0700)]
disk: new command, with list, prepare, activate
Create new disk command.
Change 'osd prepare ...' to 'disk prepare ...'
Change 'osd activate ...' to 'disk activate ...'
Move 'zapdisk HOST' to 'disk zap HOST'
Add 'disk list HOST'
This keeps the osd command simple and clean, and makes 'disk list' make
sense.
The HOST vs HOST:DISK is slightly weird still. Oh well.
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Dan Mick <dan.mick@inktank.com>
Dan Mick [Thu, 28 Mar 2013 01:46:57 +0000 (18:46 -0700)]
do not default to verbose
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Sage Weil [Thu, 28 Mar 2013 01:46:22 +0000 (18:46 -0700)]
Send log msgs to file '{cluster}.log' as well as console.
Default log level is INFO to console, DEBUG to logfile
--verbose changes console log level to DEBUG as well
logfile gets timestamp modulename level msg, console gets just msg
Fixes: #4468
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Sage Weil [Tue, 26 Mar 2013 22:59:42 +0000 (15:59 -0700)]
purgedata: fix
add missing ;
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Tue, 26 Mar 2013 22:26:17 +0000 (15:26 -0700)]
osd: fix 'activate ...' debug print
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 22 Mar 2013 21:45:27 +0000 (14:45 -0700)]
purgedata: new command to purge /var/lib/ceph data
The package removal doesn't remove cluster data; this command will. The
user should be careful doing this, of course.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Fri, 22 Mar 2013 21:41:10 +0000 (14:41 -0700)]
install: fix purge arg
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Thu, 21 Mar 2013 23:31:53 +0000 (16:31 -0700)]
osd: fix activate -> activate_prepared_disk
Fixes: #4518
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Thu, 21 Mar 2013 16:34:02 +0000 (09:34 -0700)]
Merge pull request #5 from dalgaaf/wip-da-pylint
Bunch of small fixes
Reviewed-by: Sage Weil <sage@inktank.com>
Danny Al-Gaaf [Thu, 21 Mar 2013 15:40:19 +0000 (16:40 +0100)]
discover.py: remove get_file() use misc.get_file() instead
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Thu, 21 Mar 2013 15:38:52 +0000 (16:38 +0100)]
config.py: remove get_file() use misc.get_file() instead
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Thu, 21 Mar 2013 15:26:30 +0000 (16:26 +0100)]
new.py: move docstring into the related function
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Thu, 21 Mar 2013 15:24:54 +0000 (16:24 +0100)]
new.py: remove unnecessary semicolon
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Thu, 21 Mar 2013 15:04:06 +0000 (16:04 +0100)]
config.py: add missing import for os.path
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Thu, 21 Mar 2013 14:59:32 +0000 (15:59 +0100)]
lsb.py: add some docstrings
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Thu, 21 Mar 2013 14:51:48 +0000 (15:51 +0100)]
lsb.py: fix subprocess handling and raising error
Some fixes for lsb subprocess handling and error raising:
- use proper variable naming (p vs process)
- use process.communicate() instead of p.stdout.read()
- fix subprocess.CalledProcessError() output=
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Thu, 21 Mar 2013 14:08:43 +0000 (15:08 +0100)]
config.py: rename local function variable conf to conf_file
Used variable name redefining 'conf' from outer scope.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Thu, 21 Mar 2013 14:01:58 +0000 (15:01 +0100)]
osd.py: fix import of os/os.path
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Thu, 21 Mar 2013 13:56:35 +0000 (14:56 +0100)]
osd.py: rename function parameter on functions prepare_disk/prepare
Used name for function parameter redefining name 'activate' function
from outer scope.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Gary Lowell [Tue, 12 Mar 2013 05:29:28 +0000 (22:29 -0700)]
gatherkeys.py: Require at least one argument.
Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
Gary Lowell [Tue, 19 Mar 2013 06:01:37 +0000 (23:01 -0700)]
mon.py: Use short hostname.
Depending on the system configuration, gethostname can return
either a short name or the fqdn. Trim the return from
socket.gethostname() to just the hostname.
Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
Sage Weil [Thu, 14 Mar 2013 17:10:55 +0000 (10:10 -0700)]
Merge remote-tracking branch 'gh/wip-config'
Sage Weil [Wed, 13 Mar 2013 21:45:49 +0000 (14:45 -0700)]
mon: remove mon from cluster before stopping daemon
This fixes a transition from 2->1 mons, where the second mon needs to be in
the quorum in order to remove itself.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Wed, 13 Mar 2013 15:38:14 +0000 (08:38 -0700)]
Merge pull request #4 from dalgaaf/wip-da-pychecker
Some small fixes
Reviewed-by: Sage Weil <sage@inktank.com>
Danny Al-Gaaf [Wed, 13 Mar 2013 15:04:41 +0000 (16:04 +0100)]
zapdisk.py: remove unused local variable
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Wed, 13 Mar 2013 15:00:13 +0000 (16:00 +0100)]
osd.py: add missing imports
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Wed, 13 Mar 2013 14:54:01 +0000 (15:54 +0100)]
mds.py: remove unused local variable/import
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Wed, 13 Mar 2013 14:04:34 +0000 (15:04 +0100)]
gatherkeys.py: remove unused, but imported module exc
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Wed, 13 Mar 2013 13:55:18 +0000 (14:55 +0100)]
forgetkeys.py: remove unused, but imported modules
Remove unused modules os.path and exc. Import os module in forgetkeys()
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Wed, 13 Mar 2013 13:50:04 +0000 (14:50 +0100)]
discover.py: remove unused, but imported modules
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Wed, 13 Mar 2013 13:48:10 +0000 (14:48 +0100)]
config.py: remove unused, but imported modules
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Wed, 13 Mar 2013 13:44:19 +0000 (14:44 +0100)]
admin.py: remove unused, but imported modules
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Wed, 13 Mar 2013 13:12:00 +0000 (14:12 +0100)]
cli.py: reorder imports: pkg_resources before argparse
Related warning from pychecker:
ceph_deploy/cli.py:3: UserWarning: Module argparse was already
imported from /usr/lib64/python2.7/argparse.pyc, but
/usr/lib/python2.7/site-packages is being added to sys.path
import pkg_resources
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Sage Weil [Mon, 11 Mar 2013 23:15:28 +0000 (16:15 -0700)]
config: 'pull HOST...' or 'push HOST...'
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Mon, 11 Mar 2013 23:05:12 +0000 (16:05 -0700)]
gatherkeys: move get_file() to misc.py
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Mon, 11 Mar 2013 22:36:53 +0000 (15:36 -0700)]
mon: implement 'destroy'
Remove the mon from the cluster, stop the daemon, and then remove the
directory.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Mon, 11 Mar 2013 22:28:21 +0000 (15:28 -0700)]
Merge pull request #3 from nwl/readme-updates
Changed intro text and moved/added to explaination about SSH requirements
Neil Levine [Mon, 11 Mar 2013 22:24:32 +0000 (22:24 +0000)]
Changed intro text and moved/added to explaination about SSH requirements.
Signed-off-by: Neil Levine <neil.levine@inktank.com>
Sage Weil [Sun, 10 Mar 2013 06:47:59 +0000 (22:47 -0800)]
config: add 'config HOST ...' command
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Sun, 10 Mar 2013 06:47:29 +0000 (22:47 -0800)]
admin: use the config pusher function; don't clobber
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Sat, 9 Mar 2013 00:03:06 +0000 (16:03 -0800)]
Merge remote-tracking branch 'gh/wip-rpm'
Reviewed-by: Sage Weil <sage@inktank.com>
Gary Lowell [Fri, 8 Mar 2013 17:57:10 +0000 (09:57 -0800)]
install.py: update for rpms
Change centos to CentOS for the release name. Update the path
to the ceph-release rpm to match the dev repos.
Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
Gary Lowell [Fri, 8 Mar 2013 01:32:30 +0000 (17:32 -0800)]
install.py: Remove gdisk from the install list.
The gdisk (or gptfdisk) package is now listed as a requirment
for the rpms. No need to explicitly list it.
Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
Gary Lowell [Thu, 7 Mar 2013 23:39:38 +0000 (15:39 -0800)]
lsb.py: Update for rpm based systems
lsb_release returns multiple fields seperated by newlines on some
platforms and spaces on others. Get release, version, and codename
fields individually instead of using a single request.
lsb_release is not installed by default on some system. Check if
it's present before calling. This allows a better error message.
Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
Sage Weil [Thu, 7 Mar 2013 01:42:04 +0000 (17:42 -0800)]
avoid overwriting a modified ceph.conf without --overwrite-conf
While we're at it, continue with mon/osd/mds creations if there is a
failure, but return an error at the end.
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Thu, 7 Mar 2013 00:54:32 +0000 (16:54 -0800)]
osd: fix --dmcrypt-key-dir thing
Fixes: #4362
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Tue, 5 Mar 2013 21:43:12 +0000 (13:43 -0800)]
mds: help for subcommand
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Tue, 5 Mar 2013 21:42:45 +0000 (13:42 -0800)]
mon: help for subcommand
Signed-off-by: Sage Weil <sage@inktank.com>
Sage Weil [Tue, 5 Mar 2013 21:42:17 +0000 (13:42 -0800)]
osd: help for subcommand
Signed-off-by: Sage Weil <sage@inktank.com>
Dan Mick [Fri, 1 Mar 2013 19:22:53 +0000 (11:22 -0800)]
Try replacing gethostbyname with getaddrinfo/search-for-nonlocal