byghis

public cloud - ./rundemo launch-repository.lua

Jan 23rd, 2012
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.44 KB | None | 0 0
  1. edward@jaku:~/23Jan2012/scs-deploysystem/src/lua/scs/demos/deployer$ ./rundemo launch-repository.lua
  2. ATTENTION: Using the SCS_HOME system variable as /home/edward/23Jan2012/scs-deploysystem
  3. Mon Jan 23 04:05:00 2012 [DEBUG] hosting loaded: instance
  4. Mon Jan 23 04:05:00 2012 [DEBUG] policy loaded: running
  5. Mon Jan 23 04:05:00 2012 [DEBUG] port loaded: 1000
  6. Mon Jan 23 04:05:00 2012 [DEBUG] bandwidth loaded: 100
  7. Mon Jan 23 04:05:00 2012 [DEBUG] No deployment model was definied, so we use the default cloud deployment_model 'public'
  8. Mon Jan 23 04:05:00 2012 [DEBUG] No resource was definied, we use an 'instance' with minimal resources
  9. Mon Jan 23 04:05:00 2012 [DEBUG] The default cloud_platform for the cloud_deployment_model is: 'ec2'
  10. Mon Jan 23 04:05:00 2012 [INFO] The minimal resource can be founded in policies
  11. Mon Jan 23 04:05:00 2012 [INFO] Trying to get an instance from: 'ec2'
  12. Mon Jan 23 04:05:00 2012 [INFO] [ CLOUD_ENGINE ] In get_policies
  13. Mon Jan 23 04:05:00 2012 [DEBUG] [ CLOUD_ENGINE ] target_environment: cloud_infrastructure
  14. Mon Jan 23 04:05:00 2012 [INFO] [ CLOUD_ENGINE ] In get_cloud_deployment_model
  15. Mon Jan 23 04:05:00 2012 [DEBUG] [ CLOUD_ENGINE ] Cloud Deployment Model: public
  16. Mon Jan 23 04:05:00 2012 [INFO] [ INSTANCE ] Generating a IOR for an Instance on a Cloud Public Deployment
  17. Mon Jan 23 04:05:00 2012 [DEBUG] [ INSTANCE ] Broker Started
  18. Mon Jan 23 04:05:00 2012 [INFO] [ INSTANCE ] Getting all instaces
  19. Mon Jan 23 04:05:00 2012 [INFO] [ INSTANCE ] Trying to getting only running for getting instances
  20. Mon Jan 23 04:05:00 2012 [INFO] [ CLOUD_ENGINE ] In get_cloud_deployment_model
  21. Mon Jan 23 04:05:35 2012 [INFO] A new instance is running
  22. { --[[table: 0x10f5ed0]]
  23. instances = { --[[table: 0x10f6390]]
  24. { --[[table: 0x10f63e0]]
  25. instance_data = { --[[table: 0x10f6530]]
  26. instance_type = "None",
  27. key_name = "eucakey",
  28. placement = "us-east-1a",
  29. private_dns_name = "ip-10-112-54-65.ec2.internal",
  30. product_codes = "None",
  31. image_id = "ami-1b814f72",
  32. ramdisk = "ramdisk",
  33. ami_launch_index = "0",
  34. kernel = "kernel",
  35. launch_time = "2012-01-23T06:04:59.000Z",
  36. state = "running",
  37. public_dns_name = "ec2-50-19-61-49.compute-1.amazonaws.com",
  38. },
  39. instance_id = "i-294aad4c",
  40. },
  41. n = 1,
  42. },
  43. reservation_id = "r-c9b4bea8",
  44. reservation_data = { --[[table: 0x10f6050]]
  45. owner_id = "256682533498",
  46. group_id = "default",
  47. },
  48. }
  49. .../rocks//loop/2.3beta-1/lua/loop/thread/Scheduler.lua:185: launch-repository.lua:148: attempt to index field 'instance_data' (a nil value)
  50. stack traceback:
  51. launch-repository.lua:148: in function <launch-repository.lua:19>
  52. stack traceback:
  53. [C]: in function 'luaerror'
  54. .../rocks//loop/2.3beta-1/lua/loop/thread/Scheduler.lua:185: in function 'error'
  55. .../rocks//loop/2.3beta-1/lua/loop/thread/Scheduler.lua:138: in function <.../rocks//loop/2.3beta-1/lua/loop/thread/Scheduler.lua:128>
  56. (tail call): ?
  57. ...ocks//loop/2.3beta-1/lua/loop/thread/IOScheduler.lua:135: in function 'step'
  58. .../rocks//loop/2.3beta-1/lua/loop/thread/Scheduler.lua:241: in function <.../rocks//loop/2.3beta-1/lua/loop/thread/Scheduler.lua:240>
  59. (tail call): ?
  60. (tail call): ?
  61. (tail call): ?
  62. launch-repository.lua:19: in main chunk
  63. (tail call): ?
  64. [C]: in function 'xpcall'
  65. ../../../utils/debuglua.lua:22: in main chunk
  66. [C]: ?
  67. edward@jaku:~/23Jan2012/scs-deploysystem/src/lua/scs/demos/deployer$
Advertisement
Add Comment
Please, Sign In to add comment