cloudml
cloudml copied to clipboard
It's impossible to get the correct status of an instance
While using the web socket client, it is often impossible to get correctly the status of the instances when using Amazon. This query:
!getSnapshot
path : /componentInstances[id='eu-west-1/i-f80eea1e']
multimaps : { status : status }
will very often return a { status : null }
for no particular reasons. For the tests, the deploy was performed correctly via:
!extended { name : LoadDeployment }
!additional json-string: { ..... }
!extended { name : Deploy }
and I've also tried starting and stopping the instances before asking for the instance status by using:
!extended { name: StartComponent, params: [eu-west-1/i-f80eea1e] }
or
!extended { name: StopComponent, params: [eu-west-1/i-f80eea1e] }
but still that status variable is often wrong.
Reading the "updates" received when these operations are completed works, but sometimes it is useful to know the actual status of the network when first connected to it, and there seems to be no safe option for this at the moment.