Skip to content

[LIBCLOUD-710] Updated CloudSigma's NODE_STATE_MAP to use new-ish Nod…#517

Closed
chrisob wants to merge 1 commit into
apache:trunkfrom
chrisob:LIBCLOUD-710_cloudsigma_update_node_state_map
Closed

[LIBCLOUD-710] Updated CloudSigma's NODE_STATE_MAP to use new-ish Nod…#517
chrisob wants to merge 1 commit into
apache:trunkfrom
chrisob:LIBCLOUD-710_cloudsigma_update_node_state_map

Conversation

@chrisob
Copy link
Copy Markdown
Contributor

@chrisob chrisob commented May 13, 2015

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vpetersson Is mapping "unavailable" to "error" indeed more correct than mapping it to "pending" - aka can node come out of the "unavailable" state?

@Kami
Copy link
Copy Markdown
Member

Kami commented May 16, 2015

Thanks.

Will wait for @vpetersson's response about the new mapping for the "unavailable" state. The pause one looks good to me though.

@vpetersson
Copy link
Copy Markdown
Contributor

@Kami 'unavailable' is a tricky one. In most cases, it's just a temporary error, but it's really a catch-all error when we're able to get the proper status from the host. Perhaps @gcbirzan can chime in with a more detailed explanation.

@chrisob
Copy link
Copy Markdown
Contributor Author

chrisob commented May 17, 2015

From what I understand, unavailable is indeed usually a temporary status,
but while a server is in state unavailable, no API actions can be taken on
it (API returns a 500 error when attempting to interact with an unavailable
sever), thus why I figured ERROR would be the best state map for it.
Hopefully Cristian has something to say about this though :)

Just curious, does NodeState.ERROR usually imply an unrecoverable error?

On Sat, May 16, 2015, 21:17 Viktor Petersson notifications@github.com
wrote:

@Kami https://github.com/Kami 'unavailable' is a tricky one. In most
cases, it's just a temporary error, but it's really a catch-all error when
we're able to get the proper status from the host. Perhaps @gcbirzan
https://github.com/gcbirzan can chime in with a more detailed
explanation.


Reply to this email directly or view it on GitHub
#517 (comment).

@Kami
Copy link
Copy Markdown
Member

Kami commented May 17, 2015

@chrisob Yeah, ERROR usually implies an end state which is not recoverable.

I don't think we have any detailed docs on the states right now, but I will make sure they get added.

chrisob added a commit that referenced this pull request Jun 6, 2015
Closes #517

Signed-off-by: Tomaz Muraus <tomaz@tomaz.me>
@Kami
Copy link
Copy Markdown
Member

Kami commented Jun 13, 2015

This has been merged a while ago.

Can you please close the PR?

@asfgit asfgit closed this in 699584f Jun 13, 2015
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

Successfully merging this pull request may close these issues.

3 participants