Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
ceph
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
ceph
Commits
5e25c443
Commit
5e25c443
authored
Feb 10, 2020
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated ceph to 14.2.7
parent
b5c9b4fc
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
43 additions
and
43 deletions
+43
-43
Makefile
Makefile
+10
-10
ceph-14.2.7-fix_ceph-volume_systemd_unit.patch
ceph-14.2.7-fix_ceph-volume_systemd_unit.patch
+3
-3
ceph-14.2.7-fix_cpu_detection.patch
ceph-14.2.7-fix_cpu_detection.patch
+6
-6
ceph-14.2.7-fix_tests.patch
ceph-14.2.7-fix_tests.patch
+24
-24
ceph-14.2.7.tar.gz
ceph-14.2.7.tar.gz
+0
-0
No files found.
Makefile
View file @
5e25c443
...
@@ -30,15 +30,15 @@ all: ceph-config
...
@@ -30,15 +30,15 @@ all: ceph-config
mount
--bind
tmp
/tmp
mount
--bind
tmp
/tmp
ln
-s
/lib
/lib64
ln
-s
/lib
/lib64
tar
xf
ceph-14.2.
6
.tar.gz
tar
xf
ceph-14.2.
7
.tar.gz
patch
-Np1
-d
ceph-14.2.
6
<
ceph-14.2.6
-fix_cpu_detection.patch
patch
-Np1
-d
ceph-14.2.
7
<
ceph-14.2.7
-fix_cpu_detection.patch
patch
-Np1
-d
ceph-14.2.
6
<
ceph-14.2.6
-fix_tests.patch
patch
-Np1
-d
ceph-14.2.
7
<
ceph-14.2.7
-fix_tests.patch
patch
-Np1
-d
ceph-14.2.
6
<
ceph-14.2.6
-fix_ceph-volume_systemd_unit.patch
patch
-Np1
-d
ceph-14.2.
7
<
ceph-14.2.7
-fix_ceph-volume_systemd_unit.patch
cd
ceph-14.2.
6
&&
./do_cmake.sh
-DCMAKE_BUILD_TYPE
=
Release
-DCMAKE_INSTALL_PREFIX
=
/usr
-DCMAKE_INSTALL_SYSCONFDIR
=
/etc
-DCMAKE_INSTALL_LIBEXECDIR
=
/lib
-DWITH_SPDK
=
OFF
-DWITH_RDMA
=
OFF
-DWITH_RADOSGW_AMQP_ENDPOINT
=
OFF
cd
ceph-14.2.
7
&&
./do_cmake.sh
-DCMAKE_BUILD_TYPE
=
Release
-DCMAKE_INSTALL_PREFIX
=
/usr
-DCMAKE_INSTALL_SYSCONFDIR
=
/etc
-DCMAKE_INSTALL_LIBEXECDIR
=
/lib
-DWITH_SPDK
=
OFF
-DWITH_RDMA
=
OFF
-DWITH_RADOSGW_AMQP_ENDPOINT
=
OFF
$(MAKE)
-C
ceph-14.2.
6
/build
npm_config_cache
=
/build/.npm
$(MAKE)
-C
ceph-14.2.
7
/build
npm_config_cache
=
/build/.npm
hostname
localhost
hostname
localhost
cd
ceph-14.2.
6
&&
tar
xf
../ceph-object-corpus.tar.xz
cd
ceph-14.2.
7
&&
tar
xf
../ceph-object-corpus.tar.xz
cd
ceph-14.2.
6
/build
&&
CTEST_OUTPUT_ON_FAILURE
=
1 make check
cd
ceph-14.2.
7
/build
&&
CTEST_OUTPUT_ON_FAILURE
=
1 make check
rm
-rf
/lib64
rm
-rf
/lib64
umount
/tmp
umount
/tmp
...
@@ -46,7 +46,7 @@ all: ceph-config
...
@@ -46,7 +46,7 @@ all: ceph-config
swapoff
swap
swapoff
swap
rm
-rf
swap
rm
-rf
swap
$(MAKE)
-C
ceph-14.2.
6
/build
install
$(MAKE)
-C
ceph-14.2.
7
/build
install
rm
/usr/bin/ceph_test*
rm
/usr/bin/ceph_test*
find
/
-name
*.pyc
-exec
rm
-f
'{}'
';'
find
/
-name
*.pyc
-exec
rm
-f
'{}'
';'
find
/
-name
*.js.map
-exec
rm
-f
'{}'
';'
find
/
-name
*.js.map
-exec
rm
-f
'{}'
';'
...
@@ -82,7 +82,7 @@ all: ceph-config
...
@@ -82,7 +82,7 @@ all: ceph-config
systemctl
enable
ceph-osd.target
systemctl
enable
ceph-osd.target
systemctl
enable
ceph-radosgw.target
systemctl
enable
ceph-radosgw.target
rm
-rf
ceph-14.2.
6
rm
-rf
ceph-14.2.
7
ceph-config
:
ceph-config
:
define
CEPH_CONFIG
define
CEPH_CONFIG
...
...
ceph-14.2.
6
-fix_ceph-volume_systemd_unit.patch
→
ceph-14.2.
7
-fix_ceph-volume_systemd_unit.patch
View file @
5e25c443
diff -uNr ceph-14.2.
6/systemd/ceph-volume@.service ceph-14.2.6
-fix_ceph-volume_systemd_unit/systemd/ceph-volume@.service
diff -uNr ceph-14.2.
7/systemd/ceph-volume@.service ceph-14.2.7
-fix_ceph-volume_systemd_unit/systemd/ceph-volume@.service
--- ceph-14.2.
6/systemd/ceph-volume@.service 2020-01-09 05:06:54
.000000000 +1030
--- ceph-14.2.
7/systemd/ceph-volume@.service 2020-02-01 03:37:52
.000000000 +1030
+++ ceph-14.2.
6-fix_ceph-volume_systemd_unit/systemd/ceph-volume@.service 2020-01-10 21:43:19.300531092
+1030
+++ ceph-14.2.
7-fix_ceph-volume_systemd_unit/systemd/ceph-volume@.service 2020-02-10 13:02:12.841619010
+1030
@@ -7,7 +7,7 @@
@@ -7,7 +7,7 @@
Type=oneshot
Type=oneshot
KillMode=none
KillMode=none
...
...
ceph-14.2.
6
-fix_cpu_detection.patch
→
ceph-14.2.
7
-fix_cpu_detection.patch
View file @
5e25c443
diff -uNr ceph-14.2.
6/cmake/modules/SIMDExt.cmake ceph-14.2.6
-fix_cpu_detection/cmake/modules/SIMDExt.cmake
diff -uNr ceph-14.2.
7/cmake/modules/SIMDExt.cmake ceph-14.2.7
-fix_cpu_detection/cmake/modules/SIMDExt.cmake
--- ceph-14.2.
6/cmake/modules/SIMDExt.cmake 2020-01-09 05:06:54
.000000000 +1030
--- ceph-14.2.
7/cmake/modules/SIMDExt.cmake 2020-02-01 03:37:52
.000000000 +1030
+++ ceph-14.2.
6-fix_cpu_detection/cmake/modules/SIMDExt.cmake 2020-01-10 21:45:59.504857029
+1030
+++ ceph-14.2.
7-fix_cpu_detection/cmake/modules/SIMDExt.cmake 2020-02-10 12:55:53.190009972
+1030
@@ -48,32 +48,53 @@
@@ -48,32 +48,53 @@
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "i386|i686|amd64|x86_64|AMD64")
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "i386|i686|amd64|x86_64|AMD64")
set(HAVE_INTEL 1)
set(HAVE_INTEL 1)
...
@@ -62,9 +62,9 @@ diff -uNr ceph-14.2.6/cmake/modules/SIMDExt.cmake ceph-14.2.6-fix_cpu_detection/
...
@@ -62,9 +62,9 @@ diff -uNr ceph-14.2.6/cmake/modules/SIMDExt.cmake ceph-14.2.6-fix_cpu_detection/
if(HAVE_INTEL_SSE4_2)
if(HAVE_INTEL_SSE4_2)
set(SIMD_COMPILE_FLAGS "${SIMD_COMPILE_FLAGS} -msse4.2")
set(SIMD_COMPILE_FLAGS "${SIMD_COMPILE_FLAGS} -msse4.2")
endif()
endif()
diff -uNr ceph-14.2.
6/src/test/test_arch.cc ceph-14.2.6
-fix_cpu_detection/src/test/test_arch.cc
diff -uNr ceph-14.2.
7/src/test/test_arch.cc ceph-14.2.7
-fix_cpu_detection/src/test/test_arch.cc
--- ceph-14.2.
6/src/test/test_arch.cc 2020-01-09 05:06:54
.000000000 +1030
--- ceph-14.2.
7/src/test/test_arch.cc 2020-02-01 03:37:52
.000000000 +1030
+++ ceph-14.2.
6-fix_cpu_detection/src/test/test_arch.cc 2020-01-10 21:45:59.504857029
+1030
+++ ceph-14.2.
7-fix_cpu_detection/src/test/test_arch.cc 2020-02-10 12:55:53.190009972
+1030
@@ -69,7 +69,7 @@
@@ -69,7 +69,7 @@
expected = strstr(flags, " sse4_1 ") ? 1 : 0;
expected = strstr(flags, " sse4_1 ") ? 1 : 0;
EXPECT_EQ(expected, ceph_arch_intel_sse41);
EXPECT_EQ(expected, ceph_arch_intel_sse41);
...
...
ceph-14.2.
6
-fix_tests.patch
→
ceph-14.2.
7
-fix_tests.patch
View file @
5e25c443
diff -uNr ceph-14.2.
6/src/pybind/mgr/dashboard/tests/test_task.py ceph-14.2.6
-fix_tests/src/pybind/mgr/dashboard/tests/test_task.py
diff -uNr ceph-14.2.
7/src/pybind/mgr/dashboard/tests/test_task.py ceph-14.2.7
-fix_tests/src/pybind/mgr/dashboard/tests/test_task.py
--- ceph-14.2.
6/src/pybind/mgr/dashboard/tests/test_task.py 2020-01-09 05:06:54
.000000000 +1030
--- ceph-14.2.
7/src/pybind/mgr/dashboard/tests/test_task.py 2020-02-01 03:37:52
.000000000 +1030
+++ ceph-14.2.
6-fix_tests/src/pybind/mgr/dashboard/tests/test_task.py 2020-01-10 21:48:56.112214926
+1030
+++ ceph-14.2.
7-fix_tests/src/pybind/mgr/dashboard/tests/test_task.py 2020-02-10 12:44:50.548953240
+1030
@@ -127,18 +127,6 @@
@@ -127,18 +127,6 @@
self.assertEqual(result,
self.assertEqual(result,
{'args': ['dummy arg'], 'kwargs': {'dummy': 'arg'}})
{'args': ['dummy arg'], 'kwargs': {'dummy': 'arg'}})
...
@@ -228,9 +228,9 @@ diff -uNr ceph-14.2.6/src/pybind/mgr/dashboard/tests/test_task.py ceph-14.2.6-fi
...
@@ -228,9 +228,9 @@ diff -uNr ceph-14.2.6/src/pybind/mgr/dashboard/tests/test_task.py ceph-14.2.6-fi
def test_task_serialization_format_on_failure(self):
def test_task_serialization_format_on_failure(self):
task1 = MyTask(1, fail=True)
task1 = MyTask(1, fail=True)
task1.run('test14/task1', 0.5)
task1.run('test14/task1', 0.5)
diff -uNr ceph-14.2.
6/src/test/CMakeLists.txt ceph-14.2.6
-fix_tests/src/test/CMakeLists.txt
diff -uNr ceph-14.2.
7/src/test/CMakeLists.txt ceph-14.2.7
-fix_tests/src/test/CMakeLists.txt
--- ceph-14.2.
6/src/test/CMakeLists.txt 2020-01-09 05:06:54
.000000000 +1030
--- ceph-14.2.
7/src/test/CMakeLists.txt 2020-02-01 03:37:52
.000000000 +1030
+++ ceph-14.2.
6-fix_tests/src/test/CMakeLists.txt 2020-01-10 21:48:56.113214928
+1030
+++ ceph-14.2.
7-fix_tests/src/test/CMakeLists.txt 2020-02-10 12:44:50.548953240
+1030
@@ -529,6 +529,7 @@
@@ -529,6 +529,7 @@
if(WITH_RBD)
if(WITH_RBD)
...
@@ -239,18 +239,18 @@ diff -uNr ceph-14.2.6/src/test/CMakeLists.txt ceph-14.2.6-fix_tests/src/test/CMa
...
@@ -239,18 +239,18 @@ diff -uNr ceph-14.2.6/src/test/CMakeLists.txt ceph-14.2.6-fix_tests/src/test/CMa
if(FREEBSD)
if(FREEBSD)
add_ceph_test(rbd-ggate.sh ${CMAKE_CURRENT_SOURCE_DIR}/rbd-ggate.sh)
add_ceph_test(rbd-ggate.sh ${CMAKE_CURRENT_SOURCE_DIR}/rbd-ggate.sh)
endif(FREEBSD)
endif(FREEBSD)
diff -uNr ceph-14.2.
6/src/test/encoding/CMakeLists.txt ceph-14.2.6
-fix_tests/src/test/encoding/CMakeLists.txt
diff -uNr ceph-14.2.
7/src/test/encoding/CMakeLists.txt ceph-14.2.7
-fix_tests/src/test/encoding/CMakeLists.txt
--- ceph-14.2.
6/src/test/encoding/CMakeLists.txt 2020-01-09 05:06:54
.000000000 +1030
--- ceph-14.2.
7/src/test/encoding/CMakeLists.txt 2020-02-01 03:37:52
.000000000 +1030
+++ ceph-14.2.
6-fix_tests/src/test/encoding/CMakeLists.txt 2020-01-10 21:48:56.11421493
0 +1030
+++ ceph-14.2.
7-fix_tests/src/test/encoding/CMakeLists.txt 2020-02-10 12:44:50.54895324
0 +1030
@@ -1,3 +1,5 @@
@@ -1,3 +1,5 @@
# scripts
# scripts
add_ceph_test(check-generated.sh ${CMAKE_CURRENT_SOURCE_DIR}/check-generated.sh)
add_ceph_test(check-generated.sh ${CMAKE_CURRENT_SOURCE_DIR}/check-generated.sh)
+set_tests_properties(check-generated.sh PROPERTIES TIMEOUT 18000)
+set_tests_properties(check-generated.sh PROPERTIES TIMEOUT 18000)
add_ceph_test(readable.sh ${CMAKE_CURRENT_SOURCE_DIR}/readable.sh)
add_ceph_test(readable.sh ${CMAKE_CURRENT_SOURCE_DIR}/readable.sh)
+set_tests_properties(readable.sh PROPERTIES TIMEOUT 18000)
+set_tests_properties(readable.sh PROPERTIES TIMEOUT 18000)
diff -uNr ceph-14.2.
6/src/test/journal/test_ObjectRecorder.cc ceph-14.2.6
-fix_tests/src/test/journal/test_ObjectRecorder.cc
diff -uNr ceph-14.2.
7/src/test/journal/test_ObjectRecorder.cc ceph-14.2.7
-fix_tests/src/test/journal/test_ObjectRecorder.cc
--- ceph-14.2.
6/src/test/journal/test_ObjectRecorder.cc 2020-01-09 05:06:54
.000000000 +1030
--- ceph-14.2.
7/src/test/journal/test_ObjectRecorder.cc 2020-02-01 03:37:52
.000000000 +1030
+++ ceph-14.2.
6-fix_tests/src/test/journal/test_ObjectRecorder.cc 2020-01-10 21:48:56.114214930
+1030
+++ ceph-14.2.
7-fix_tests/src/test/journal/test_ObjectRecorder.cc 2020-02-10 12:44:50.549953242
+1030
@@ -240,38 +240,6 @@
@@ -240,38 +240,6 @@
ASSERT_EQ(0U, object->get_pending_appends());
ASSERT_EQ(0U, object->get_pending_appends());
}
}
...
@@ -290,9 +290,9 @@ diff -uNr ceph-14.2.6/src/test/journal/test_ObjectRecorder.cc ceph-14.2.6-fix_te
...
@@ -290,9 +290,9 @@ diff -uNr ceph-14.2.6/src/test/journal/test_ObjectRecorder.cc ceph-14.2.6-fix_te
TEST_F(TestObjectRecorder, Flush) {
TEST_F(TestObjectRecorder, Flush) {
std::string oid = get_temp_oid();
std::string oid = get_temp_oid();
ASSERT_EQ(0, create(oid));
ASSERT_EQ(0, create(oid));
diff -uNr ceph-14.2.
6/src/test/mgr/CMakeLists.txt ceph-14.2.6
-fix_tests/src/test/mgr/CMakeLists.txt
diff -uNr ceph-14.2.
7/src/test/mgr/CMakeLists.txt ceph-14.2.7
-fix_tests/src/test/mgr/CMakeLists.txt
--- ceph-14.2.
6/src/test/mgr/CMakeLists.txt 2020-01-09 05:06:54
.000000000 +1030
--- ceph-14.2.
7/src/test/mgr/CMakeLists.txt 2020-02-01 03:37:52
.000000000 +1030
+++ ceph-14.2.
6-fix_tests/src/test/mgr/CMakeLists.txt 2020-01-10 21:48:56.114214930
+1030
+++ ceph-14.2.
7-fix_tests/src/test/mgr/CMakeLists.txt 2020-02-10 12:44:50.549953242
+1030
@@ -2,6 +2,7 @@
@@ -2,6 +2,7 @@
if(WITH_MGR_DASHBOARD_FRONTEND)
if(WITH_MGR_DASHBOARD_FRONTEND)
if(NOT CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64|AARCH64|arm|ARM")
if(NOT CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64|AARCH64|arm|ARM")
...
@@ -301,9 +301,9 @@ diff -uNr ceph-14.2.6/src/test/mgr/CMakeLists.txt ceph-14.2.6-fix_tests/src/test
...
@@ -301,9 +301,9 @@ diff -uNr ceph-14.2.6/src/test/mgr/CMakeLists.txt ceph-14.2.6-fix_tests/src/test
endif(NOT CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64|AARCH64|arm|ARM")
endif(NOT CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64|AARCH64|arm|ARM")
add_ceph_test(mgr-dashboard-smoke.sh ${CMAKE_CURRENT_SOURCE_DIR}/mgr-dashboard-smoke.sh)
add_ceph_test(mgr-dashboard-smoke.sh ${CMAKE_CURRENT_SOURCE_DIR}/mgr-dashboard-smoke.sh)
diff -uNr ceph-14.2.
6/src/test/objectstore/CMakeLists.txt ceph-14.2.6
-fix_tests/src/test/objectstore/CMakeLists.txt
diff -uNr ceph-14.2.
7/src/test/objectstore/CMakeLists.txt ceph-14.2.7
-fix_tests/src/test/objectstore/CMakeLists.txt
--- ceph-14.2.
6/src/test/objectstore/CMakeLists.txt 2020-01-09 05:06:54
.000000000 +1030
--- ceph-14.2.
7/src/test/objectstore/CMakeLists.txt 2020-02-01 03:37:52
.000000000 +1030
+++ ceph-14.2.
6-fix_tests/src/test/objectstore/CMakeLists.txt 2020-01-10 21:48:56.11521493
2 +1030
+++ ceph-14.2.
7-fix_tests/src/test/objectstore/CMakeLists.txt 2020-02-10 12:44:50.54995324
2 +1030
@@ -110,6 +110,7 @@
@@ -110,6 +110,7 @@
test_bluefs.cc
test_bluefs.cc
)
)
...
@@ -312,9 +312,9 @@ diff -uNr ceph-14.2.6/src/test/objectstore/CMakeLists.txt ceph-14.2.6-fix_tests/
...
@@ -312,9 +312,9 @@ diff -uNr ceph-14.2.6/src/test/objectstore/CMakeLists.txt ceph-14.2.6-fix_tests/
target_link_libraries(unittest_bluefs os global)
target_link_libraries(unittest_bluefs os global)
# unittest_bluestore_types
# unittest_bluestore_types
diff -uNr ceph-14.2.
6/src/test/osd/TestOSDScrub.cc ceph-14.2.6
-fix_tests/src/test/osd/TestOSDScrub.cc
diff -uNr ceph-14.2.
7/src/test/osd/TestOSDScrub.cc ceph-14.2.7
-fix_tests/src/test/osd/TestOSDScrub.cc
--- ceph-14.2.
6/src/test/osd/TestOSDScrub.cc 2020-01-09 05:06:54
.000000000 +1030
--- ceph-14.2.
7/src/test/osd/TestOSDScrub.cc 2020-02-01 03:37:52
.000000000 +1030
+++ ceph-14.2.
6-fix_tests/src/test/osd/TestOSDScrub.cc 2020-01-10 21:48:56.116214934
+1030
+++ ceph-14.2.
7-fix_tests/src/test/osd/TestOSDScrub.cc 2020-02-10 12:44:50.549953242
+1030
@@ -70,7 +70,7 @@
@@ -70,7 +70,7 @@
g_ceph_context->_conf.set_val("osd_scrub_begin_hour", "0");
g_ceph_context->_conf.set_val("osd_scrub_begin_hour", "0");
g_ceph_context->_conf.set_val("osd_scrub_end_hour", "24");
g_ceph_context->_conf.set_val("osd_scrub_end_hour", "24");
...
@@ -324,9 +324,9 @@ diff -uNr ceph-14.2.6/src/test/osd/TestOSDScrub.cc ceph-14.2.6-fix_tests/src/tes
...
@@ -324,9 +324,9 @@ diff -uNr ceph-14.2.6/src/test/osd/TestOSDScrub.cc ceph-14.2.6-fix_tests/src/tes
strptime("2015-01-16 12:05:13", "%Y-%m-%d %H:%M:%S", &tm);
strptime("2015-01-16 12:05:13", "%Y-%m-%d %H:%M:%S", &tm);
utime_t now = utime_t(mktime(&tm), 0);
utime_t now = utime_t(mktime(&tm), 0);
bool ret = osd->scrub_time_permit(now);
bool ret = osd->scrub_time_permit(now);
diff -uNr ceph-14.2.
6/src/test/smoke.sh ceph-14.2.6
-fix_tests/src/test/smoke.sh
diff -uNr ceph-14.2.
7/src/test/smoke.sh ceph-14.2.7
-fix_tests/src/test/smoke.sh
--- ceph-14.2.
6/src/test/smoke.sh 2020-01-09 05:06:54
.000000000 +1030
--- ceph-14.2.
7/src/test/smoke.sh 2020-02-01 03:37:52
.000000000 +1030
+++ ceph-14.2.
6-fix_tests/src/test/smoke.sh 2020-01-10 21:48:56.117214936
+1030
+++ ceph-14.2.
7-fix_tests/src/test/smoke.sh 2020-02-10 12:44:50.549953242
+1030
@@ -53,7 +53,7 @@
@@ -53,7 +53,7 @@
ceph osd out 0
ceph osd out 0
wait_for_clean
wait_for_clean
...
...
ceph-14.2.
6
.tar.gz
→
ceph-14.2.
7
.tar.gz
View file @
5e25c443
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment