]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/log
ceph-deploy.git
10 years agoRecursively create /var/lib/ceph/radosgw/... path 283/head
Travis Rhoden [Thu, 7 May 2015 21:44:37 +0000 (17:44 -0400)]
Recursively create /var/lib/ceph/radosgw/... path

Previously we would fail if /var/lib/ceph/radosgw didn't already
exist.  Go ahead and make that directory if needed.

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
10 years agoAdd safe_makedirs function
Travis Rhoden [Thu, 7 May 2015 21:43:15 +0000 (17:43 -0400)]
Add safe_makedirs function

safe_makedirs will recursively create paths, just like mkdirs -p

The "safe" part is that it wont error/except if any of the paths already
exist.

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
10 years agoMerge pull request #280 from alfredodeza/11347
Travis Rhoden [Wed, 22 Apr 2015 14:55:01 +0000 (10:55 -0400)]
Merge pull request #280 from alfredodeza/11347

use new remoto version `0.0.25`

10 years agouse the new 0.0.25 version of remoto 280/head
Alfredo Deza [Wed, 22 Apr 2015 13:31:57 +0000 (09:31 -0400)]
use the new 0.0.25 version of remoto

Signed-off-by: Alfredo Deza <adeza@redhat.com>
10 years agoupdate the changelog
Alfredo Deza [Wed, 22 Apr 2015 13:31:32 +0000 (09:31 -0400)]
update the changelog

Signed-off-by: Alfredo Deza <adeza@redhat.com>
10 years agoMerge pull request #277 from ktdreyer/wip-changelog-cve
Travis Rhoden [Wed, 15 Apr 2015 00:16:44 +0000 (20:16 -0400)]
Merge pull request #277 from ktdreyer/wip-changelog-cve

doc: add CVE-2015-3010 to changelog

10 years agoMerge pull request #275 from joehandzik/master
Alfredo Deza [Fri, 10 Apr 2015 17:37:24 +0000 (13:37 -0400)]
Merge pull request #275 from joehandzik/master

Updating the url used to clone the remoto repository

10 years agodoc: add CVE-2015-3010 to changelog 277/head
Ken Dreyer [Fri, 10 Apr 2015 15:18:17 +0000 (09:18 -0600)]
doc: add CVE-2015-3010 to changelog

One of the changes in ceph-deploy 1.5.23 is tracked as CVE-2015-3010.
Document this in the changelog.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
10 years agoremove unnecessary parentheses from an if statement 275/head
Joe Handzik [Fri, 10 Apr 2015 15:10:37 +0000 (10:10 -0500)]
remove unnecessary parentheses from an if statement

10 years agoTry the ceph.com mirror first. If that fails, retry with the github url and the https...
Joe Handzik [Thu, 9 Apr 2015 22:18:28 +0000 (17:18 -0500)]
Try the ceph.com mirror first. If that fails, retry with the github url and the https protocol.

10 years agoUpdate the run function to cascade the called process's return code back to its caller
Joe Handzik [Thu, 9 Apr 2015 22:05:35 +0000 (17:05 -0500)]
Update the run function to cascade the called process's return code back to its caller

10 years agoUpdating github url to point to the ceph fork of remoto
Joe Handzik [Wed, 8 Apr 2015 14:53:33 +0000 (09:53 -0500)]
Updating github url to point to the ceph fork of remoto

10 years ago1.5.23 v1.5.23
Jenkins [Wed, 8 Apr 2015 00:06:35 +0000 (17:06 -0700)]
1.5.23

10 years agoMerge pull request #276 from trhoden/hammer
Travis Rhoden [Tue, 7 Apr 2015 22:09:46 +0000 (18:09 -0400)]
Merge pull request #276 from trhoden/hammer

change default release to Hammer

10 years agoUpdate version
Travis Rhoden [Tue, 7 Apr 2015 21:35:29 +0000 (17:35 -0400)]
Update version

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
10 years agoUpdate changelog for 1.5.23
Travis Rhoden [Tue, 7 Apr 2015 21:34:57 +0000 (17:34 -0400)]
Update changelog for 1.5.23

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
10 years agochange default release to Hammer 276/head
Travis Rhoden [Tue, 7 Apr 2015 21:12:02 +0000 (17:12 -0400)]
change default release to Hammer

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
10 years agoUpdating the url used to clone the remoto repository
Joe Handzik [Tue, 7 Apr 2015 20:03:10 +0000 (15:03 -0500)]
Updating the url used to clone the remoto repository

10 years agoMerge pull request #273 from trhoden/11273_repo_install
Alfredo Deza [Wed, 1 Apr 2015 12:18:20 +0000 (08:18 -0400)]
Merge pull request #273 from trhoden/11273_repo_install

make install --repo handle multiple hosts

10 years agoMerge pull request #274 from trhoden/11242_include_toxini
Travis Rhoden [Wed, 1 Apr 2015 00:27:33 +0000 (20:27 -0400)]
Merge pull request #274 from trhoden/11242_include_toxini

Include tox.ini is source tarball

10 years agoRemove pruning of not-present test dir from MANIFEST 274/head
Travis Rhoden [Tue, 31 Mar 2015 20:32:05 +0000 (16:32 -0400)]
Remove pruning of not-present test dir from MANIFEST

At one time we pruned the test dir, but then it got renamed to tests
and we've been including it ever since.  Other packagers expect to
see the test, so remove the pointless line

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
10 years agoInclude tox.ini in sdist tarball
Travis Rhoden [Tue, 31 Mar 2015 20:29:38 +0000 (16:29 -0400)]
Include tox.ini in sdist tarball

That way downstream packaging can use it.

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
10 years agomake install --repo handle multiple hosts 273/head
Travis Rhoden [Tue, 31 Mar 2015 19:56:18 +0000 (15:56 -0400)]
make install --repo handle multiple hosts

The for loop was always returning after the first host

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
10 years agoMerge pull request #272 from trhoden/wip_key_perms
Travis Rhoden [Fri, 20 Mar 2015 17:49:06 +0000 (13:49 -0400)]
Merge pull request #272 from trhoden/wip_key_perms

Fix: keyring permissions where world readable

10 years agoFix: keyring permissions where world readable 272/head
Owen Synge [Tue, 17 Mar 2015 13:09:42 +0000 (14:09 +0100)]
Fix: keyring permissions where world readable

Reported in https://bugzilla.suse.com/show_bug.cgi?id=920926
by  Andreas Stieger <astieger@suse.com>

Before thsi fix to umask for keyring handling, After execution
of ceph-deploy, all keyrings have mode 644.

The documented ceph-deploy procedure by creating a dedicated
admin user, and keys will be readable to all other (non-admin)
users as well, thus leaking authentication credentials.

The fix uses umask to resolve the writing of keyfiles.

Signed-off-by: Owen Synge <osynge@suse.com>
10 years agoMerge pull request #271 from Vicente-Cheng/add-abstracted-get-init-mon-function
Travis Rhoden [Fri, 20 Mar 2015 13:39:45 +0000 (09:39 -0400)]
Merge pull request #271 from Vicente-Cheng/add-abstracted-get-init-mon-function

Add abstracted get initial monitor member function

Reviewed-by: Travis Rhoden <trhoden@redhat.com>
10 years agoAdd new unit tests for get_mon_initial_members(). 271/head
Vicente Cheng [Fri, 20 Mar 2015 02:14:41 +0000 (10:14 +0800)]
Add new unit tests for get_mon_initial_members().

    Add the unit tests for new abstracted function.
    Detail as below:

    1. Test Mon value is None and
       error_on_empty is True.
    2. Test Mon value is None and
       error_on_empty is False.
    3. Test Mon value is single item.
    4. Test Mon value is multiple item.

If you have any questions, feel free to let me know.
Thanks!

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
10 years agoAdd abstracted function about get monitor initial members.
Vicente Cheng [Fri, 20 Mar 2015 02:08:06 +0000 (10:08 +0800)]
Add abstracted function about get monitor initial members.

    To get monitor members feature will be reuse serval
    times in mon.py and osd.py. Due to this reason, I
    rewrite the helper function for this feature.

    1. Add get_mon_initial_members that can handle
       monitor member featching and configuration
       input.
    2. Let all works about monitor featching of
       mon.py and osd.py to use this abstracted function.

If you have any questions, feel free to let me know.
Thanks!

Signed-off-by: Vicente Cheng <freeze.bilsted@gmail.com>
10 years agoFix indentation error in changelog
Travis Rhoden [Fri, 20 Mar 2015 00:06:36 +0000 (20:06 -0400)]
Fix indentation error in changelog

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
10 years agoMerge pull request #269 from trhoden/doc-updates
Alfredo Deza [Thu, 19 Mar 2015 22:14:33 +0000 (18:14 -0400)]
Merge pull request #269 from trhoden/doc-updates

ceph-deploy doc additions and rework

10 years agoMerge pull request #270 from trhoden/remove_destroy
Alfredo Deza [Thu, 19 Mar 2015 20:42:25 +0000 (16:42 -0400)]
Merge pull request #270 from trhoden/remove_destroy

Remove destroy

10 years agoremove unimplemented 'rgw destroy' subcommand 270/head
Travis Rhoden [Thu, 19 Mar 2015 20:23:14 +0000 (16:23 -0400)]
remove unimplemented 'rgw destroy' subcommand

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
10 years agoremove unimplemented 'mds destroy' subcommand
Travis Rhoden [Thu, 19 Mar 2015 20:22:13 +0000 (16:22 -0400)]
remove unimplemented 'mds destroy' subcommand

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
10 years agoremove unimplemented 'osd destroy' subcommand
Travis Rhoden [Thu, 19 Mar 2015 20:21:03 +0000 (16:21 -0400)]
remove unimplemented 'osd destroy' subcommand

Fixes: #11118
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
10 years agoChange nesting of changelog 269/head
Travis Rhoden [Thu, 19 Mar 2015 19:52:23 +0000 (15:52 -0400)]
Change nesting of changelog

The list of sections in the TOC was getting very long.
Since we use a max-depth of 2 for the TOC tree, aggregate all the
major.minor versions under a single section for each.  Makes the
index and TOCs look a lot cleaner.

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
10 years agoAdd dates of release to 1.5 series
Travis Rhoden [Thu, 19 Mar 2015 19:43:43 +0000 (15:43 -0400)]
Add dates of release to 1.5 series

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
10 years agoMove changelog to last thing in TOC
Travis Rhoden [Thu, 19 Mar 2015 19:43:21 +0000 (15:43 -0400)]
Move changelog to last thing in TOC

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
10 years agoMove --{public,cluster}-network down a subsection
Travis Rhoden [Thu, 19 Mar 2015 19:23:03 +0000 (15:23 -0400)]
Move --{public,cluster}-network down a subsection

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
10 years agoDisable smartypants
Travis Rhoden [Thu, 19 Mar 2015 19:20:14 +0000 (15:20 -0400)]
Disable smartypants

It was causing us to do funny things to work around wanting to display
double-dashes.  More trouble than it is worth - just disable it.

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
10 years agoDon't use backticks in section headers
Travis Rhoden [Thu, 19 Mar 2015 19:17:36 +0000 (15:17 -0400)]
Don't use backticks in section headers

They are not needed, and actually cause funny formatting issues.

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
10 years agoRe-order contents.rst
Travis Rhoden [Thu, 19 Mar 2015 18:52:49 +0000 (14:52 -0400)]
Re-order contents.rst

List items by likely order that a user would need to travere through
to deploy a cluster (new, install, mon...).

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
10 years agoAdd mds create to docs
Travis Rhoden [Thu, 19 Mar 2015 18:49:18 +0000 (14:49 -0400)]
Add mds create to docs

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
10 years agoAdd rgw create to docs
Travis Rhoden [Thu, 19 Mar 2015 18:38:08 +0000 (14:38 -0400)]
Add rgw create to docs

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
10 years agoMerge pull request #268 from ceph/wip-rgw
Travis Rhoden [Wed, 18 Mar 2015 17:15:26 +0000 (13:15 -0400)]
Merge pull request #268 from ceph/wip-rgw

rgw: create works!

10 years agoinstall: install/uninstall radosgw package too 268/head
Sage Weil [Tue, 17 Mar 2015 23:44:21 +0000 (16:44 -0700)]
install: install/uninstall radosgw package too

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agorgw: fix up caps and entity name
Sage Weil [Tue, 17 Mar 2015 23:03:16 +0000 (16:03 -0700)]
rgw: fix up caps and entity name

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agorgw: /var/lib/ceph/radosgw/ (not rgw/) to match current radosgw package
Sage Weil [Tue, 17 Mar 2015 23:03:03 +0000 (16:03 -0700)]
rgw: /var/lib/ceph/radosgw/ (not rgw/) to match current radosgw package

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMake missing RGW bootstrap key non-fatal 267/head
Travis Rhoden [Tue, 17 Mar 2015 19:01:16 +0000 (15:01 -0400)]
Make missing RGW bootstrap key non-fatal

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
10 years agoExpose rgw CLI commands
Travis Rhoden [Tue, 10 Mar 2015 15:20:04 +0000 (11:20 -0400)]
Expose rgw CLI commands

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
10 years agoGet bootstrap-rgw key during gatherkeys
Travis Rhoden [Tue, 10 Mar 2015 15:19:34 +0000 (11:19 -0400)]
Get bootstrap-rgw key during gatherkeys

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
10 years agoadd rgw module
Travis Rhoden [Tue, 10 Mar 2015 15:18:34 +0000 (11:18 -0400)]
add rgw module

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
10 years ago1.5.22 v1.5.22
Jenkins [Mon, 9 Mar 2015 15:14:20 +0000 (08:14 -0700)]
1.5.22

10 years agoBump version
Travis Rhoden [Mon, 9 Mar 2015 15:02:51 +0000 (11:02 -0400)]
Bump version

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
10 years agoUpdate changelog
Travis Rhoden [Mon, 9 Mar 2015 15:02:26 +0000 (11:02 -0400)]
Update changelog

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
10 years agodoc: Fix versionchanged entries in install section
Travis Rhoden [Sat, 7 Mar 2015 00:53:35 +0000 (19:53 -0500)]
doc: Fix versionchanged entries in install section

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
10 years agoMerge pull request #265 from trhoden/doc_fixes
Alfredo Deza [Fri, 6 Mar 2015 18:17:22 +0000 (13:17 -0500)]
Merge pull request #265 from trhoden/doc_fixes

Doc fixes

10 years agodoc: add description of new --install behavior on RHEL 265/head
Travis Rhoden [Fri, 6 Mar 2015 17:07:39 +0000 (12:07 -0500)]
doc: add description of new --install behavior on RHEL

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
10 years agodoc: Clarify use of check_obsoletes for RPM distros
Travis Rhoden [Fri, 6 Mar 2015 14:44:26 +0000 (09:44 -0500)]
doc: Clarify use of check_obsoletes for RPM distros

check_obsoletes is enabled on all RPM distros now, except when
installing Red Hat packages on RHEL.

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
10 years agodoc: clarify ceph-deploy package locations
Travis Rhoden [Fri, 6 Mar 2015 14:37:32 +0000 (09:37 -0500)]
doc: clarify ceph-deploy package locations

README and rst docs were out of sync

Clarify wording in both.

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
11 years agoMerge pull request #264 from mbroz/master
Travis Rhoden [Thu, 26 Feb 2015 17:18:51 +0000 (09:18 -0800)]
Merge pull request #264 from mbroz/master

Try to remove also ceph-common on Fedora.

Reviewed-by: Travis Rhoden <trhoden@redhat.com>
11 years agoTry to remove also ceph-common on Fedora. 264/head
Milan Broz [Mon, 23 Feb 2015 15:38:48 +0000 (16:38 +0100)]
Try to remove also ceph-common on Fedora.

Quick workaround but at least it allows purge and purgedata to work
on Fedora 21.

See http://tracker.ceph.com/issues/10928

Signed-off-by: Milan Broz <gmazyland@gmail.com>
11 years agorc version v1.5.22-rc1
Travis Rhoden [Mon, 23 Feb 2015 14:06:40 +0000 (09:06 -0500)]
rc version

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
11 years agoMerge pull request #263 from trhoden/rhel_repo_only
Alfredo Deza [Fri, 20 Feb 2015 22:03:38 +0000 (17:03 -0500)]
Merge pull request #263 from trhoden/rhel_repo_only

Detect RHEL/RHCEPH for 'install --repo'

11 years agoDetect RHEL/RHCEPH for 'install --repo' 263/head
Travis Rhoden [Fri, 20 Feb 2015 21:42:23 +0000 (16:42 -0500)]
Detect RHEL/RHCEPH for 'install --repo'

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
11 years agoMerge pull request #262 from alfredodeza/rhel-support
Alfredo Deza [Fri, 20 Feb 2015 19:12:19 +0000 (14:12 -0500)]
Merge pull request #262 from alfredodeza/rhel-support

rhel repo support

11 years agomore tests cases for the sanitizer args function 262/head
Alfredo Deza [Fri, 20 Feb 2015 18:58:16 +0000 (13:58 -0500)]
more tests cases for the sanitizer args function

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agocreate a test for the args sanitizer function
Alfredo Deza [Fri, 20 Feb 2015 18:54:51 +0000 (13:54 -0500)]
create a test for the args sanitizer function

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agoadd explanation for other distros in the new flag for RHEL
Alfredo Deza [Fri, 20 Feb 2015 17:13:50 +0000 (12:13 -0500)]
add explanation for other distros in the new flag for RHEL

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agodefault to use rhceph when purging/uninstalling
Alfredo Deza [Fri, 20 Feb 2015 16:11:54 +0000 (11:11 -0500)]
default to use rhceph when purging/uninstalling

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agouse the default_release to infer if we should use_rhceph or not
Alfredo Deza [Thu, 19 Feb 2015 21:05:29 +0000 (16:05 -0500)]
use the default_release to infer if we should use_rhceph or not

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agoMerge pull request #261 from trhoden/check_obsoletes_rhel_centos
Alfredo Deza [Thu, 19 Feb 2015 20:39:33 +0000 (15:39 -0500)]
Merge pull request #261 from trhoden/check_obsoletes_rhel_centos

Enable check_obsoletes for CentOS and RHEL

11 years agoset a default_release attribute that is False by default in the arg parser obj
Alfredo Deza [Thu, 19 Feb 2015 20:19:47 +0000 (15:19 -0500)]
set a default_release attribute that is False by default in the arg parser obj

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agoadd a sanitizer args function to set/fix defaults for install
Alfredo Deza [Thu, 19 Feb 2015 20:18:52 +0000 (15:18 -0500)]
add a sanitizer args function to set/fix defaults for install

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agoAdd support for RHEL host module
Travis Rhoden [Mon, 16 Feb 2015 14:42:48 +0000 (09:42 -0500)]
Add support for RHEL host module

When "use_rhceph" is set in cephdeploy.conf, no longer use
the centos host module as a stand-in for RHEL, use a new
rhel host module that is designed to be used for the Red Hat
distributed Red Hat Ceph product.

Right now this means not using Yum priorities, and installing
two new packages of ceph-mon and ceph-osd.  Eventually ceph-deploy
needs to be smarter of only installing ceph-mon or ceph-osd when a
host needs it, but for now just install both.

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
11 years agoEnable check_obsoletes for CentOS and RHEL 261/head
Travis Rhoden [Thu, 19 Feb 2015 03:52:18 +0000 (22:52 -0500)]
Enable check_obsoletes for CentOS and RHEL

We previously enabled this Yum plugin config flag for Fedora, but
recent changes in the EPEL packaging make it necessary for CentOS
and RHEL (when using upstream packages) as well.

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
11 years agoMerge pull request #259 from ktdreyer/wip-packaging-rm-rhel-pyver
Travis Rhoden [Sat, 31 Jan 2015 00:26:53 +0000 (19:26 -0500)]
Merge pull request #259 from ktdreyer/wip-packaging-rm-rhel-pyver

ceph-deploy.spec: remove %{pyver} references

Reviewed-by: Travis Rhoden <trhoden@redhat.com>
11 years agoceph-deploy.spec: remove %{pyver} references 259/head
Ken Dreyer [Fri, 30 Jan 2015 22:45:32 +0000 (15:45 -0700)]
ceph-deploy.spec: remove %{pyver} references

The %{pyver} RPM macro is not present on Red Hat-based systems. It was
removed for SUSE as a part of commit
83070c14f1682e3b6eb7f45f43ba6afda6f026a4. Remove it for RHEL also.

This fixes a problem where "rpm -qp --requires
ceph-deploy-1.5.21-0.noarch.rpm" would show that the binary RPM
literally required "python >= %{pyver}".

11 years agoMerge pull request #258 from trhoden/10476
Alfredo Deza [Fri, 9 Jan 2015 22:58:05 +0000 (17:58 -0500)]
Merge pull request #258 from trhoden/10476

Enable check_obsoletes in Fedora

11 years agodoc: Add justification for check_obsoletes 258/head
Travis Rhoden [Fri, 9 Jan 2015 17:50:33 +0000 (17:50 +0000)]
doc: Add justification for check_obsoletes

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
11 years agoEnable check_obsoletes in Fedora
Travis Rhoden [Fri, 9 Jan 2015 16:19:24 +0000 (16:19 +0000)]
Enable check_obsoletes in Fedora

Since Fedora ships downstream RPMs that obsolete
python-ceph, those RPMs will be pulled in to resolve
dependencies instead of those hosted by ceph.com, leading
to package errors.

To prevent this, enable check_obsoletes in the Yum
priorities plugin.

Fixes: 10476
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
11 years agoMerge pull request #256 from ktdreyer/rpmlint-fixes
Travis Rhoden [Mon, 5 Jan 2015 19:01:53 +0000 (14:01 -0500)]
Merge pull request #256 from ktdreyer/rpmlint-fixes

rpmlint fixes

11 years agoceph-deploy.spec: quote RPM macros in comments 256/head
Ken Dreyer [Fri, 2 Jan 2015 22:57:01 +0000 (15:57 -0700)]
ceph-deploy.spec: quote RPM macros in comments

Prior to this commit, RPM would expand the macros that were present in
the comment.

Use a double percent sign to quote the macros so that RPM will not expand
them.

This fixes the following rpmlint warnings:

  ceph-deploy.spec:60: W: macro-in-comment %setup
  ceph-deploy.spec:60: W: macro-in-comment %{name}

More information from rpmlint's "-I" (help) command:

  $ rpmlint -I macro-in-comment
  macro-in-comment:
  There is a unescaped macro after a shell style comment in the
  specfile.  Macros are expanded everywhere, so check if it can cause a
  problem in this case and escape the macro with another leading % if
  appropriate.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
11 years agoceph-deploy.spec: use spaces instead of tabs
Ken Dreyer [Fri, 2 Jan 2015 22:54:31 +0000 (15:54 -0700)]
ceph-deploy.spec: use spaces instead of tabs

This fixes the following rpmlint warning:

  ceph-deploy.spec:15: W: mixed-use-of-spaces-and-tabs (spaces: line 15,
  tab: line 13)

More information from rpmlint's "-I" (help) command:

  $ rpmlint -I mixed-use-of-spaces-and-tabs
  mixed-use-of-spaces-and-tabs:
  The specfile mixes use of spaces and tabs for indentation, which is a
  cosmetic annoyance.  Use either spaces or tabs for indentation, not
  both.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
11 years agoMerge pull request #255 from trhoden/doc_repo
Alfredo Deza [Fri, 2 Jan 2015 17:46:25 +0000 (12:46 -0500)]
Merge pull request #255 from trhoden/doc_repo

doc: update README to not install from ceph-extras

11 years agodoc: update README to not install from ceph-extras 255/head
Travis Rhoden [Fri, 2 Jan 2015 17:38:22 +0000 (12:38 -0500)]
doc: update README to not install from ceph-extras

Update doc to remove reference to ceph-extras for RPM and DEB
repos. ceph-deploy is no longer pushed to the ceph-extras repo
and hasn't been for some time. If users are not installing from
PyPI, they should be using either the testing or release repo
of their choice for ceph.

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
11 years ago1.5.21 v1.5.21
Jenkins [Wed, 10 Dec 2014 15:05:42 +0000 (07:05 -0800)]
1.5.21

11 years agoBump version
Travis Rhoden [Wed, 10 Dec 2014 14:54:40 +0000 (09:54 -0500)]
Bump version

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
11 years agoUpdate changelog
Travis Rhoden [Wed, 10 Dec 2014 14:53:50 +0000 (09:53 -0500)]
Update changelog

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
11 years agoMerge pull request #250 from trhoden/10043
Alfredo Deza [Tue, 2 Dec 2014 16:59:23 +0000 (11:59 -0500)]
Merge pull request #250 from trhoden/10043

Return non-zero exit status when gatherkeys fails

11 years agoReturn non-zero when gatherkeys fails 250/head
Travis Rhoden [Tue, 18 Nov 2014 20:21:37 +0000 (20:21 +0000)]
Return non-zero when gatherkeys fails

Immediately abort and exit when a needed key cannot be found
on the list of given hosts.

Define a new exception, KeyNotFoundError, and raise that from
gatherkeys() when the requested file does not exist on any of
the given hosts to try.  Since we now raise an exception on
error, there is no longer any need to return a value from
gatherkeys().

Fixes: 10043
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
11 years agoImport from ceph_deploy package instead of . in gatherkeys.py
Travis Rhoden [Tue, 18 Nov 2014 17:27:04 +0000 (17:27 +0000)]
Import from ceph_deploy package instead of . in gatherkeys.py

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
11 years agoMerge pull request #252 from trhoden/10137
Alfredo Deza [Wed, 19 Nov 2014 19:34:56 +0000 (14:34 -0500)]
Merge pull request #252 from trhoden/10137

default to giant when installing

11 years agodefault to giant when installing 252/head
Travis Rhoden [Wed, 19 Nov 2014 14:42:07 +0000 (09:42 -0500)]
default to giant when installing

Fixes: 10137
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
11 years agoMerge pull request #253 from trhoden/doc
Ken Dreyer [Wed, 19 Nov 2014 16:06:39 +0000 (09:06 -0700)]
Merge pull request #253 from trhoden/doc

Point to ceph-deploy tracker instead of devops

11 years agoPoint to ceph-deploy tracker instead of devops 253/head
Travis Rhoden [Wed, 19 Nov 2014 15:33:11 +0000 (10:33 -0500)]
Point to ceph-deploy tracker instead of devops

Modify README and docs to point to the ceph-deploy bug tracker
now that it is its own project instead of within devops.

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
11 years agoMerge pull request #251 from trhoden/10133
Alfredo Deza [Wed, 19 Nov 2014 12:36:30 +0000 (07:36 -0500)]
Merge pull request #251 from trhoden/10133

Fix string compare for distro during EPEL install

11 years agoFix string compare for distro during EPEL install 251/head
Travis Rhoden [Tue, 18 Nov 2014 22:11:17 +0000 (17:11 -0500)]
Fix string compare for distro during EPEL install

Use distro.normalized_name instead of
distro.name.lower

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
11 years ago1.5.20 v1.5.20
Jenkins [Thu, 13 Nov 2014 16:08:46 +0000 (08:08 -0800)]
1.5.20

11 years agoBump version
Travis Rhoden [Thu, 13 Nov 2014 16:02:53 +0000 (11:02 -0500)]
Bump version

Signed-off-by: Travis Rhoden <trhoden@redhat.com>
11 years agoUpdate changelog
Travis Rhoden [Wed, 12 Nov 2014 19:44:52 +0000 (14:44 -0500)]
Update changelog

Signed-off-by: Travis Rhoden <trhoden@redhat.com>