]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/log
ceph-deploy.git
11 years agofix assertions so non-deterministic writes can be asserted 235/head
Alfredo Deza [Mon, 25 Aug 2014 13:14:01 +0000 (09:14 -0400)]
fix assertions so non-deterministic writes can be asserted

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agoadd help menu to keyring flag
Alfredo Deza [Fri, 22 Aug 2014 19:43:45 +0000 (15:43 -0400)]
add help menu to keyring flag

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agoadd tests to both new utilities
Alfredo Deza [Fri, 22 Aug 2014 19:42:13 +0000 (15:42 -0400)]
add tests to both new utilities

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agoconcatenate keyring files to be seeded into remote nodes
Alfredo Deza [Fri, 22 Aug 2014 18:47:47 +0000 (14:47 -0400)]
concatenate keyring files to be seeded into remote nodes

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agospace function correctly
Alfredo Deza [Thu, 21 Aug 2014 20:32:49 +0000 (16:32 -0400)]
space function correctly

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agoMerge pull request #234 from alfredodeza/9136
Zack Cerza [Thu, 21 Aug 2014 19:16:53 +0000 (13:16 -0600)]
Merge pull request #234 from alfredodeza/9136

allow to specify a ceph conf file

11 years agoerror if users calls 'new' with custom ceph conf flag 234/head
Alfredo Deza [Thu, 21 Aug 2014 19:07:31 +0000 (15:07 -0400)]
error if users calls 'new' with custom ceph conf flag

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agoadd the flag to specify for ceph-conf
Alfredo Deza [Thu, 21 Aug 2014 19:07:00 +0000 (15:07 -0400)]
add the flag to specify for ceph-conf

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agouse args.ceph_conf if passed in
Alfredo Deza [Thu, 21 Aug 2014 19:05:53 +0000 (15:05 -0400)]
use args.ceph_conf if passed in

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agoMerge pull request #232 from ceph/wip-scripts
Zack Cerza [Tue, 19 Aug 2014 20:22:27 +0000 (14:22 -0600)]
Merge pull request #232 from ceph/wip-scripts

use a cleaner script for `main()` when installing with Python

11 years agoalways raise exit after handling an exception 232/head
Alfredo Deza [Tue, 19 Aug 2014 19:39:09 +0000 (15:39 -0400)]
always raise exit after handling an exception

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agorevert scripts/ceph-deploy
Alfredo Deza [Tue, 19 Aug 2014 19:00:15 +0000 (15:00 -0400)]
revert scripts/ceph-deploy

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agorename main to _main to avoid fixing scripts
Alfredo Deza [Tue, 19 Aug 2014 18:57:49 +0000 (14:57 -0400)]
rename main to _main to avoid fixing scripts

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agoMerge pull request #231 from alfredodeza/7594
Alfredo Deza [Mon, 18 Aug 2014 20:59:00 +0000 (16:59 -0400)]
Merge pull request #231 from alfredodeza/7594

add a finally block to close stderr/stdout

11 years agodo not if/else format_exc() results 231/head
Alfredo Deza [Mon, 18 Aug 2014 20:44:47 +0000 (16:44 -0400)]
do not if/else format_exc() results

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agomove the stderr/stdout closing to the ceph-deploy executable
Alfredo Deza [Mon, 18 Aug 2014 20:32:53 +0000 (16:32 -0400)]
move the stderr/stdout closing to the ceph-deploy executable

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agooverride the safe default for cli.main()
Alfredo Deza [Mon, 18 Aug 2014 20:32:08 +0000 (16:32 -0400)]
override the safe default for cli.main()

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agomake sure we can still exit with proper exit codes
Alfredo Deza [Fri, 15 Aug 2014 17:06:31 +0000 (13:06 -0400)]
make sure we can still exit with proper exit codes

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agoonly close stderr if we are not testing
Alfredo Deza [Fri, 15 Aug 2014 16:21:14 +0000 (12:21 -0400)]
only close stderr if we are not testing

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agoensure CEPH_DEPLOY_TEST is set in tox.ini
Alfredo Deza [Fri, 15 Aug 2014 16:20:53 +0000 (12:20 -0400)]
ensure CEPH_DEPLOY_TEST is set in tox.ini

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agoadd a finally block to close stderr/stdout
Alfredo Deza [Fri, 15 Aug 2014 15:42:07 +0000 (11:42 -0400)]
add a finally block to close stderr/stdout

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years ago1.5.11 v1.5.11
Jenkins [Wed, 13 Aug 2014 12:29:29 +0000 (05:29 -0700)]
1.5.11

11 years agoupdate the changelog
Alfredo Deza [Wed, 13 Aug 2014 12:28:05 +0000 (08:28 -0400)]
update the changelog

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agobump to 1.5.11
Alfredo Deza [Wed, 13 Aug 2014 12:26:14 +0000 (08:26 -0400)]
bump to 1.5.11

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agoremove some debugging print statements
Alfredo Deza [Mon, 11 Aug 2014 19:57:16 +0000 (15:57 -0400)]
remove some debugging print statements

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agoUpdates to the install.py rpm_dist() and repository_url_part()
Tom Walsh [Fri, 8 Aug 2014 23:02:24 +0000 (18:02 -0500)]
Updates to the install.py rpm_dist() and repository_url_part()

to remove type casting and using the native ints in the normalized_release
object.

Signed-off-by: Tom Walsh <tom.walsh@expresshosting.net>
Closes #230

11 years agoModified the rpm_dist() and repository_url_part()
Tom Walsh [Fri, 8 Aug 2014 21:27:22 +0000 (16:27 -0500)]
Modified the rpm_dist() and repository_url_part()

So they can use the newly defined distro.normalized_release object to determine
the correct OS version and return the information based on that. This should
work for all releases from RHEL, CentOS, and Scientific Linux 6 and greater.

Changed the test_centos.py file to use pytest fixtures to test multiple input
types for the various OSes we are testing for.

Signed-off-by: Tom Walsh <tom.walsh@expresshosting.net>
11 years agoModified the tests to reflect the desired output of normalize_release()
Tom Walsh [Fri, 8 Aug 2014 17:01:52 +0000 (12:01 -0500)]
Modified the tests to reflect the desired output of normalize_release()

Added normalize_release() to the centos object so that the tests can properly execute.

11 years agoAdded tests for the normalize_release function.
Tom Walsh [Fri, 8 Aug 2014 16:50:34 +0000 (11:50 -0500)]
Added tests for the normalize_release function.

Signed-off-by: Tom Walsh <tom.walsh@expresshosting.net>
11 years agoModified the system to handle subversion numbers in the release number. For instance...
Tom Walsh [Fri, 8 Aug 2014 03:48:59 +0000 (22:48 -0500)]
Modified the system to handle subversion numbers in the release number. For instance in production our server was reporting a release version of 7.0.1406. This is not a valid float() so the system was returning an el6 value. I have added additional logic to find the first . (dot) in the string and convert that to a float value.

I have also added a test to look for and test this corner case.

11 years agoAdded new line at the end of the file.
Tom Walsh [Fri, 8 Aug 2014 02:52:20 +0000 (21:52 -0500)]
Added new line at the end of the file.

Signed-off-by: Tom Walsh <tom.walsh@expresshosting.net>
11 years agoReworked the release detection to normalize the value of distro.release as an integer...
Tom Walsh [Fri, 8 Aug 2014 02:37:32 +0000 (21:37 -0500)]
Reworked the release detection to normalize the value of distro.release as an integer and use that as the basis of determining the correct value of rpm_dist() and repository_url_part(). This should work for all versions of RH, CentOS, and SL going forward.

Signed-off-by: Tom Walsh <tom.walsh@expresshosting.net>
11 years agoFine tuned the tests to catch some more corner cases.
Tom Walsh [Fri, 8 Aug 2014 00:25:00 +0000 (19:25 -0500)]
Fine tuned the tests to catch some more corner cases.

Adjusted the logic in install.py to match what was already there.

Signed-off-by: Tom Walsh <tom.walsh@expresshosting.net>
11 years agoAdded checks to the CentOS install scripts to properly detect CentOS 7 and set the...
Tom Walsh [Thu, 7 Aug 2014 23:36:00 +0000 (18:36 -0500)]
Added checks to the CentOS install scripts to properly detect CentOS 7 and set the correct repo information.

Added tests to confirm that the changes to CentOS detection are working correctly.

Signed-off-by: Tom Walsh <tom.walsh@expresshosting.net>