mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 02:50:30 +00:00
e2e: improve the debug logs for rbd-nbd
Ceph’s logging levels operate on a scale of 1 to 20, where 1 is terse and 20 is verbose. Format: debug-{subsystem} = {log-level} Setting `rbd` loglevel to 20 at our e2e tests. Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
This commit is contained in:
parent
7da796dfc1
commit
18f4a51a15
27
e2e/rbd.go
27
e2e/rbd.go
@ -410,7 +410,10 @@ var _ = Describe("RBD", func() {
|
|||||||
f,
|
f,
|
||||||
defaultSCName,
|
defaultSCName,
|
||||||
nil,
|
nil,
|
||||||
map[string]string{"mounter": "rbd-nbd"},
|
map[string]string{
|
||||||
|
"mounter": "rbd-nbd",
|
||||||
|
"mapOptions": "debug-rbd=20",
|
||||||
|
},
|
||||||
deletePolicy)
|
deletePolicy)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
e2elog.Failf("failed to create storageclass with error %v", err)
|
e2elog.Failf("failed to create storageclass with error %v", err)
|
||||||
@ -447,7 +450,10 @@ var _ = Describe("RBD", func() {
|
|||||||
f,
|
f,
|
||||||
defaultSCName,
|
defaultSCName,
|
||||||
nil,
|
nil,
|
||||||
map[string]string{"mounter": "rbd-nbd"},
|
map[string]string{
|
||||||
|
"mounter": "rbd-nbd",
|
||||||
|
"mapOptions": "debug-rbd=20",
|
||||||
|
},
|
||||||
deletePolicy)
|
deletePolicy)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
e2elog.Failf("failed to create storageclass with error %v", err)
|
e2elog.Failf("failed to create storageclass with error %v", err)
|
||||||
@ -489,7 +495,10 @@ var _ = Describe("RBD", func() {
|
|||||||
f,
|
f,
|
||||||
defaultSCName,
|
defaultSCName,
|
||||||
nil,
|
nil,
|
||||||
map[string]string{"mounter": "rbd-nbd"},
|
map[string]string{
|
||||||
|
"mounter": "rbd-nbd",
|
||||||
|
"mapOptions": "debug-rbd=20",
|
||||||
|
},
|
||||||
deletePolicy)
|
deletePolicy)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
e2elog.Failf("failed to create storageclass with error %v", err)
|
e2elog.Failf("failed to create storageclass with error %v", err)
|
||||||
@ -640,7 +649,11 @@ var _ = Describe("RBD", func() {
|
|||||||
f,
|
f,
|
||||||
defaultSCName,
|
defaultSCName,
|
||||||
nil,
|
nil,
|
||||||
map[string]string{"mounter": "rbd-nbd", "encrypted": "true"},
|
map[string]string{
|
||||||
|
"mounter": "rbd-nbd",
|
||||||
|
"mapOptions": "debug-rbd=20",
|
||||||
|
"encrypted": "true",
|
||||||
|
},
|
||||||
deletePolicy)
|
deletePolicy)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
e2elog.Failf("failed to create storageclass with error %v", err)
|
e2elog.Failf("failed to create storageclass with error %v", err)
|
||||||
@ -993,7 +1006,11 @@ var _ = Describe("RBD", func() {
|
|||||||
f,
|
f,
|
||||||
defaultSCName,
|
defaultSCName,
|
||||||
nil,
|
nil,
|
||||||
map[string]string{"imageFeatures": "layering,journaling,exclusive-lock", "mounter": "rbd-nbd"},
|
map[string]string{
|
||||||
|
"imageFeatures": "layering,journaling,exclusive-lock",
|
||||||
|
"mounter": "rbd-nbd",
|
||||||
|
"mapOptions": "debug-rbd=20",
|
||||||
|
},
|
||||||
deletePolicy)
|
deletePolicy)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
e2elog.Failf("failed to create storageclass with error %v", err)
|
e2elog.Failf("failed to create storageclass with error %v", err)
|
||||||
|
Loading…
Reference in New Issue
Block a user