Comments (11)
My guess is that this is linked to #34 .
from cloudml.
Ok I will have a look at this, are you experiencing this right after a deployment or after a scale out?
from cloudml.
It's right after the deploy. It did happen again now, and even without that message in the log (it was just stuck somehow).
from cloudml.
can you send me your deployment model? I will test right now
from cloudml.
Here it is:
{
"eClass": "net.cloudml.core:CloudMLModel",
"name": "HTTPAgent2AWS",
"providers": [
{
"credentials": "/tmp/scalingrulestests/1307151655/credentialsAmazon.properties",
"eClass": "net.cloudml.core:Provider",
"name": "aws-ec2",
"properties" : [{
"eClass" : "net.cloudml.core:Property",
"name" : "MaxVMs",
"value" : "3"
}]
}
],
"internalComponents": [
{
"eClass": "net.cloudml.core:InternalComponent",
"name": "app",
"resources": [{
"eClass": "net.cloudml.core:Resource",
"name": "startApp",
"startCommand": "bash /home/ubuntu/updateEverything ; sudo bash /home/ubuntu/startHTTPAgent 52.18.138.224 ; source /home/ubuntu/.bashrc ; bash /home/ubuntu/startImperialDC"
}
],
"requiredExecutionPlatform" : {
"eClass" : "net.cloudml.core:RequiredExecutionPlatform",
"name" : "appRequired",
"owner" : "internalComponents[app]"
}
}
],
"internalComponentInstances": [
{
"eClass": "net.cloudml.core:InternalComponentInstance",
"name": "appInstance",
"type": "internalComponents[app]",
"requiredExecutionPlatformInstance" : {
"eClass" : "net.cloudml.core:RequiredExecutionPlatformInstance",
"name" : "appRequiredInstance",
"owner" : "internalComponentInstances[appInstance]",
"type" : "internalComponents[app]/requiredExecutionPlatform[appRequired]"
}
}
],
"vms": [
{
"eClass": "net.cloudml.core:VM",
"imageId": "eu-west-1/ami-a0d797d7",
"is64os": true,
"location": "eu-west-1",
"providerSpecificTypeName": "m3.large",
"maxStorage": "8",
"minStorage": "8",
"name": "HTTPAgent",
"os": "ubuntu",
"privateKey": "/tmp/scalingrulestests/1307151655/desantis-ireland.pem",
"providedExecutionPlatforms": [
{
"eClass": "net.cloudml.core:ProvidedExecutionPlatform",
"name": "HTTPAgentTIER",
"offers": [
{
"eClass": "net.cloudml.core:Property",
"name": "OS",
"value": "Ubuntu"
}
],
"owner": "vms[HTTPAgent]"
}
],
"provider": "providers[aws-ec2]",
"securityGroup": "default",
"sshKey": "desantis-ireland"
}
],
"vmInstances": [
{
"eClass": "net.cloudml.core:NodeInstance",
"name": "httpAgentInstance131",
"type": "vms[HTTPAgent]",
"providedExecutionPlatformInstances": [
{
"eClass": "net.cloudml.core:ProvidedExecutionPlatformInstance",
"name": "httpAgentTier",
"owner": "vmInstances[httpAgentInstance131]",
"type": "vms[HTTPAgent]/providedExecutionPlatforms[HTTPAgentTIER]"
}
]
}
],
"executesInstances": [
{
"eClass": "net.cloudml.core:ExecuteInstance",
"name": "runApp",
"providedExecutionPlatformInstance": "vmInstances[httpAgentInstance131]/providedExecutionPlatformInstances[httpAgentTier]",
"requiredExecutionPlatformInstance": "internalComponentInstances[appInstance]/requiredExecutionPlatformInstance[appRequiredInstance]"
}
]
}
Thank you!
from cloudml.
Thanks, last question, you are using the remoteFacade to deploy?
CloudML cml= Factory.getInstance().getCloudML("ws://127.0.0.1:9000");
from cloudml.
No, I'm using the web socket interface directly.
from cloudml.
I deployed three times your model and I have always been able to retrieve the model with:
!getSnapshot { path : / }
Do you receive the ack that state that your deployment is completed?
Did you change something in the model you pasted compared to the one you use? Because the log bellow mean that the engine is not able to serialize the runtime model.
Jul 13, 2015 2:04:58 PM org.cloudml.codecs.JsonCodec save
SEVERE: null
from cloudml.
I also tested to retrieve status of specific instances without any problem:
!getSnapshot
path : /componentInstances[name='httpAgentInstance131']
from cloudml.
Hi Riccardo,
I did quite some changes to the mechanism to update the status of the VMs, from my side it seems to work fine. Please, let me know if it also solve the problem from your side.
from cloudml.
Hi Nicolas,
I'm not getting it anymore, but the thing is that I don't have a way to quickly replicate it, as it is happening randomly.
It isn't showing anymore for now, so probably it is solved!
Closing the bug, then.
Thank you!
from cloudml.
Related Issues (20)
- It's impossible to get the correct status of an instance HOT 2
- After an image is created during a scale out the startCommand script should be called again HOT 4
- Provide a better handling of clients disconnections HOT 1
- Reset of server and Webpage
- Support for "~" when declaring path in JSON models
- Trying to deploy using CloudML facade returns a missing credentials error HOT 12
- Use SLF4J instead of java.util.logging
- Reduce the dependencies HOT 1
- Provide periodical stable (or "more stable") releases
- Provide a way to use on spot instances on Amazon
- [UI:shell] Exception when trying to store model with puppet resources HOT 2
- Could not unescaped chain:&& loop HOT 1
- [UI:Shell] Storing a deployment -> information loss HOT 2
- "monitoringPlatform.properties not found" message HOT 1
- AWS Franckfurt region missing HOT 1
- Websocket ui default port changed HOT 1
- Build Failure HOT 8
- Creator4clouds repository index is missing HOT 1
- AuthorizationException HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloudml.