Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- edward@jaku:~/23Jan2012/scs-deploysystem/src/lua/scs/demos/deployer$ ./rundemo launch-repository.lua
- ATTENTION: Using the SCS_HOME system variable as /home/edward/23Jan2012/scs-deploysystem
- Mon Jan 23 04:05:00 2012 [DEBUG] hosting loaded: instance
- Mon Jan 23 04:05:00 2012 [DEBUG] policy loaded: running
- Mon Jan 23 04:05:00 2012 [DEBUG] port loaded: 1000
- Mon Jan 23 04:05:00 2012 [DEBUG] bandwidth loaded: 100
- Mon Jan 23 04:05:00 2012 [DEBUG] No deployment model was definied, so we use the default cloud deployment_model 'public'
- Mon Jan 23 04:05:00 2012 [DEBUG] No resource was definied, we use an 'instance' with minimal resources
- Mon Jan 23 04:05:00 2012 [DEBUG] The default cloud_platform for the cloud_deployment_model is: 'ec2'
- Mon Jan 23 04:05:00 2012 [INFO] The minimal resource can be founded in policies
- Mon Jan 23 04:05:00 2012 [INFO] Trying to get an instance from: 'ec2'
- Mon Jan 23 04:05:00 2012 [INFO] [ CLOUD_ENGINE ] In get_policies
- Mon Jan 23 04:05:00 2012 [DEBUG] [ CLOUD_ENGINE ] target_environment: cloud_infrastructure
- Mon Jan 23 04:05:00 2012 [INFO] [ CLOUD_ENGINE ] In get_cloud_deployment_model
- Mon Jan 23 04:05:00 2012 [DEBUG] [ CLOUD_ENGINE ] Cloud Deployment Model: public
- Mon Jan 23 04:05:00 2012 [INFO] [ INSTANCE ] Generating a IOR for an Instance on a Cloud Public Deployment
- Mon Jan 23 04:05:00 2012 [DEBUG] [ INSTANCE ] Broker Started
- Mon Jan 23 04:05:00 2012 [INFO] [ INSTANCE ] Getting all instaces
- Mon Jan 23 04:05:00 2012 [INFO] [ INSTANCE ] Trying to getting only running for getting instances
- Mon Jan 23 04:05:00 2012 [INFO] [ CLOUD_ENGINE ] In get_cloud_deployment_model
- Mon Jan 23 04:05:35 2012 [INFO] A new instance is running
- { --[[table: 0x10f5ed0]]
- instances = { --[[table: 0x10f6390]]
- { --[[table: 0x10f63e0]]
- instance_data = { --[[table: 0x10f6530]]
- instance_type = "None",
- key_name = "eucakey",
- placement = "us-east-1a",
- private_dns_name = "ip-10-112-54-65.ec2.internal",
- product_codes = "None",
- image_id = "ami-1b814f72",
- ramdisk = "ramdisk",
- ami_launch_index = "0",
- kernel = "kernel",
- launch_time = "2012-01-23T06:04:59.000Z",
- state = "running",
- public_dns_name = "ec2-50-19-61-49.compute-1.amazonaws.com",
- },
- instance_id = "i-294aad4c",
- },
- n = 1,
- },
- reservation_id = "r-c9b4bea8",
- reservation_data = { --[[table: 0x10f6050]]
- owner_id = "256682533498",
- group_id = "default",
- },
- }
- .../rocks//loop/2.3beta-1/lua/loop/thread/Scheduler.lua:185: launch-repository.lua:148: attempt to index field 'instance_data' (a nil value)
- stack traceback:
- launch-repository.lua:148: in function <launch-repository.lua:19>
- stack traceback:
- [C]: in function 'luaerror'
- .../rocks//loop/2.3beta-1/lua/loop/thread/Scheduler.lua:185: in function 'error'
- .../rocks//loop/2.3beta-1/lua/loop/thread/Scheduler.lua:138: in function <.../rocks//loop/2.3beta-1/lua/loop/thread/Scheduler.lua:128>
- (tail call): ?
- ...ocks//loop/2.3beta-1/lua/loop/thread/IOScheduler.lua:135: in function 'step'
- .../rocks//loop/2.3beta-1/lua/loop/thread/Scheduler.lua:241: in function <.../rocks//loop/2.3beta-1/lua/loop/thread/Scheduler.lua:240>
- (tail call): ?
- (tail call): ?
- (tail call): ?
- launch-repository.lua:19: in main chunk
- (tail call): ?
- [C]: in function 'xpcall'
- ../../../utils/debuglua.lua:22: in main chunk
- [C]: ?
- edward@jaku:~/23Jan2012/scs-deploysystem/src/lua/scs/demos/deployer$
Advertisement
Add Comment
Please, Sign In to add comment