Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
29030d2b
Commit
29030d2b
authored
Jul 04, 2017
by
Yecheng Fu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
"rbd: image xxx is locked by other nodes" is misleading
parent
9848cdb3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
rbd_util.go
pkg/volume/rbd/rbd_util.go
+1
-1
No files found.
pkg/volume/rbd/rbd_util.go
View file @
29030d2b
...
@@ -269,7 +269,7 @@ func (util *RBDUtil) AttachDisk(b rbdMounter) error {
...
@@ -269,7 +269,7 @@ func (util *RBDUtil) AttachDisk(b rbdMounter) error {
// fence off other mappers
// fence off other mappers
if
err
=
util
.
fencing
(
b
);
err
!=
nil
{
if
err
=
util
.
fencing
(
b
);
err
!=
nil
{
return
fmt
.
Errorf
(
"rbd:
image %s is locked by other nodes"
,
b
.
Image
)
return
fmt
.
Errorf
(
"rbd:
failed to lock image %s (maybe locked by other nodes), error %v"
,
b
.
Image
,
err
)
}
}
// rbd lock remove needs ceph and image config
// rbd lock remove needs ceph and image config
// but kubelet doesn't get them from apiserver during teardown
// but kubelet doesn't get them from apiserver during teardown
...
...
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