Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot resume storage node #95

Closed
ooeyoshinori opened this issue Oct 28, 2013 · 8 comments
Closed

Cannot resume storage node #95

ooeyoshinori opened this issue Oct 28, 2013 · 8 comments
Assignees
Milestone

Comments

@ooeyoshinori
Copy link

I cannot resume a storage node, when I do these steps.

【Condition】
2 leo_gateway
1 leo_manager
4 leo_storage

【Steps】
0. All node status is "running"

  1. One of leo_storage stopped as "./leo_storage/bin/leo_storage stop"
  2. The leo_storage node status changed "stop"
  3. The leo_storage node started as "./leo_storage/bin/leo_storage start"
  4. The leo_storage node status changed "restarted"
  5. The leo_storage node stopped as "./leo_storage/bin/leo_storage stop" again
  6. The leo_storage node was gone when I watched leo_manager's "status" command **
  7. The leo_storage node started as "./leo_storage/bin/leo_storage start" again
  8. The leo_storage node status was "attached" **
  9. Cannot resume the leo_storage node **

** = The points that I was wandering.

@yosukehara
Copy link
Member

Thank you for posting this issue. I'll check it.

@yosukehara
Copy link
Member

I've checked this issue. Current version, v0.16.0 does not support from "restarted" to "stop".
So I'll fix it with next version, v0.16.1 which will be released in next Friday.

@yosukehara
Copy link
Member

I've fixed this issue - leo-project/leo_manager@df2f3fb
You're able to try to use leo_manager's develop branch.

@ooeyoshinori
Copy link
Author

Thank you for resolving this issue very quickly.
I would check the steps and report the result.

@yosukehara
Copy link
Member

I forgot to share the operation logs:

## stop > restarted
status
[System config]
                system version : 0.16.0
                total replicas : 1
           # of successes of R : 1
           # of successes of W : 1
           # of successes of D : 1
 # of DC-awareness replicas    : 0
 # of Rack-awareness replicas  : 0
                     ring size : 2^128
              ring hash (cur)  : d84febcf
              ring hash (prev) : d84febcf

[Node(s) state]
-------------------------------------------------------------------------------------------------
 type node                    state       ring (cur)    ring (prev)   when
-------------------------------------------------------------------------------------------------
 S    [email protected]     restarted                               2013-10-29 09:21:11 +0900
 G    [email protected]     running     d84febcf      d84febcf      2013-10-29 09:20:18 +0900



## restarted > stop
status
[System config]
                system version : 0.16.0
                total replicas : 1
           # of successes of R : 1
           # of successes of W : 1
           # of successes of D : 1
 # of DC-awareness replicas    : 0
 # of Rack-awareness replicas  : 0
                     ring size : 2^128
              ring hash (cur)  : d84febcf
              ring hash (prev) : d84febcf

[Node(s) state]
-------------------------------------------------------------------------------------------------
 type node                    state       ring (cur)    ring (prev)   when
-------------------------------------------------------------------------------------------------
 S    [email protected]     stop                                    2013-10-29 09:21:28 +0900
 G    [email protected]     running     d84febcf      d84febcf      2013-10-29 09:20:18 +0900


## stop > restarted
status
[System config]
                system version : 0.16.0
                total replicas : 1
           # of successes of R : 1
           # of successes of W : 1
           # of successes of D : 1
 # of DC-awareness replicas    : 0
 # of Rack-awareness replicas  : 0
                     ring size : 2^128
              ring hash (cur)  : d84febcf
              ring hash (prev) : d84febcf

[Node(s) state]
-------------------------------------------------------------------------------------------------
 type node                    state       ring (cur)    ring (prev)   when
-------------------------------------------------------------------------------------------------
 S    [email protected]     restarted                               2013-10-29 09:21:41 +0900
 G    [email protected]     running     d84febcf      d84febcf      2013-10-29 09:20:18 +0900


## restarted > resume > running
resume [email protected]
OK
status
[System config]
                system version : 0.16.0
                total replicas : 1
           # of successes of R : 1
           # of successes of W : 1
           # of successes of D : 1
 # of DC-awareness replicas    : 0
 # of Rack-awareness replicas  : 0
                     ring size : 2^128
              ring hash (cur)  : d84febcf
              ring hash (prev) : d84febcf

[Node(s) state]
-------------------------------------------------------------------------------------------------
 type node                    state       ring (cur)    ring (prev)   when
-------------------------------------------------------------------------------------------------
 S    [email protected]     running     d84febcf      d84febcf      2013-10-29 09:21:53 +0900
 G    [email protected]     running     d84febcf      d84febcf      2013-10-29 09:20:18 +0900

@ghost ghost assigned yosukehara Oct 30, 2013
@yosukehara
Copy link
Member

It would be great, if you could check it.
Thank you.

@ooeyoshinori
Copy link
Author

Sorry for being late, but I checked the point and it was improved.
Thank you so much, Hara-san.

@yosukehara
Copy link
Member

Great 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants