byghis

test02 - hello-deployment.lua - guest - guest (error)

Oct 16th, 2011
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 43.21 KB | None | 0 0
  1. edward@pituba:~/projects/scs-deploysystem/src/lua/scs/demos/deployer$ ./rundemo launch-manager.lua
  2. ATTENTION: Using the SCS_HOME system variable as /home/edward/projects/scs-deploysystem
  3. Sun Oct 16 05:21:06 2011 [INFO] new orb instance publicy accessible
  4. Sun Oct 16 05:21:06 2011 [INFO] A New Instance of a DeployManager
  5. Sun Oct 16 05:21:06 2011 [INFO] In Deployer oo.class{...}
  6. Sun Oct 16 05:21:06 2011 [INFO] Ending Deployer oo.class{...}
  7. Sun Oct 16 05:21:06 2011 [DEBUG] Manager type: table
  8. Sun Oct 16 05:21:06 2011 [INFO] In Deployer:__init
  9. Sun Oct 16 05:21:06 2011 [DEBUG] Value of self.count : 1
  10. Sun Oct 16 05:21:06 2011 [INFO] +++READING PUBLIC REPOSITORIES CACHE+++
  11. Sun Oct 16 05:21:06 2011 [INFO] ---------------------------------------
  12. Sun Oct 16 05:21:06 2011 [INFO] In Deployer:get_public_repositories
  13. Sun Oct 16 05:21:06 2011 [INFO] Trigger an update of the self.cache.repositories when we found an outdate IOR
  14. Sun Oct 16 05:21:06 2011 [INFO] Ending Deployer:get_public_repositories and Returning repository_array
  15. Sun Oct 16 05:21:06 2011 [INFO] +++LOADING INSTANCES DATA from EucaCloud+++
  16. Sun Oct 16 05:21:06 2011 [INFO] ----------------------------------------
  17. Sun Oct 16 05:21:06 2011 [INFO] [ EUCA ] : var='Starting self.euca_engine'
  18. Sun Oct 16 05:21:06 2011 [INFO] In __init(self)
  19. Sun Oct 16 05:21:06 2011 [INFO] Printing inst.all_instances
  20. { --[[table: 0xe8b0b0]] }
  21. Sun Oct 16 05:21:06 2011 [INFO] +++READING HOST DESCRIPTIONS+++
  22. Sun Oct 16 05:21:06 2011 [INFO] -------------------------------
  23. Sun Oct 16 05:21:06 2011 [INFO] Loading machinesN.lua
  24. Sun Oct 16 05:21:06 2011 [INFO] -------------------------------
  25. Sun Oct 16 05:21:06 2011 [INFO] Reading the host list stored in disk
  26. Sun Oct 16 05:21:06 2011 [INFO] Loading the host description /home/edward/projects/scs-deploysystem/src/lua/scs/deployer/hosts//vm01.lua
  27. Sun Oct 16 05:21:06 2011 [DEBUG] Type of host_description: table
  28. Sun Oct 16 05:21:06 2011 [INFO] This file will be load: vm01.lua
  29. Sun Oct 16 05:21:06 2011 [INFO] Trying to print all hosts loaded if exists inst.all_hosts:
  30. Sun Oct 16 05:21:06 2011 [DEBUG] Will be possible get hosts
  31. Sun Oct 16 05:21:06 2011 [INFO] Ending Deployer.__init
  32. Sun Oct 16 05:21:06 2011 [INFO] A New Instance of a Packager
  33. Sun Oct 16 05:21:06 2011 [INFO] In Utils:updateConfig(cfg) from utils.lua
  34. Sun Oct 16 05:21:06 2011 [INFO] Trying change the directory information
  35. Sun Oct 16 05:21:06 2011 [INFO] Loading manifest
  36. Sun Oct 16 05:21:06 2011 [ERROR] ERROR: Unable to update the manifest, more see: Failed loading manifest for /tmp/luarocksrepository/rocks
  37. Sun Oct 16 05:21:06 2011 [INFO] End Utils:info(cfg)
  38. Sun Oct 16 05:21:06 2011 [INFO] Printing a Packager:
  39. Sun Oct 16 05:21:06 2011 [DEBUG] Packager type: table
  40. Sun Oct 16 05:21:54 2011 [INFO] In Deployer:create_plan()
  41. Sun Oct 16 05:21:54 2011 [INFO] In Plan:__init
  42. Sun Oct 16 05:21:54 2011 [INFO] Ending Plan:__init and Returning inst
  43. Sun Oct 16 05:21:54 2011 [DEBUG] Setting entity:set_nickname to: Deployer_1.Plan_1
  44. Sun Oct 16 05:21:54 2011 [INFO] In Plan:set_nickname
  45. Sun Oct 16 05:21:54 2011 [DEBUG] Plan.nickname =: Deployer_1.Plan_1
  46. Sun Oct 16 05:21:54 2011 [INFO] Ending Plan:set_nickname
  47. Sun Oct 16 05:21:54 2011 [INFO] In Plan:set_manager
  48. Sun Oct 16 05:21:54 2011 [INFO] Ending Plan:set_manager and Returning true
  49. Sun Oct 16 05:21:54 2011 [INFO] Ending Deployer:create_plan and Returning a servant
  50. Sun Oct 16 05:21:54 2011 [INFO] In Plan:mark_as_admin
  51. Sun Oct 16 05:21:54 2011 [INFO] Ending Plan:mark_as_admin
  52. Sun Oct 16 05:21:54 2011 [INFO] In Plan:create_repository
  53. Sun Oct 16 05:21:54 2011 [INFO] In search(descriptorhelper.lua)
  54. Sun Oct 16 05:21:54 2011 [DEBUG] kind: components
  55. Sun Oct 16 05:21:54 2011 [DEBUG] name: repository
  56. Sun Oct 16 05:21:54 2011 [INFO] Calling importFromFile(path) from search(descriptionhelper)
  57. Sun Oct 16 05:21:54 2011 [INFO] In importFromFile(descriptorhelper.lua)
  58. Sun Oct 16 05:21:54 2011 [INFO] In RepositoryEntity:__init
  59. Sun Oct 16 05:21:54 2011 [INFO] In BasicComponentEntity:__init, Creating a new BasicComponentEntity
  60. Sun Oct 16 05:21:54 2011 [DEBUG] Type of inst: table
  61. Sun Oct 16 05:21:54 2011 [INFO] A BasicComponentEntity was created
  62. Sun Oct 16 05:21:54 2011 [INFO] Printing BasicComponentEntity(setoff)
  63. Sun Oct 16 05:21:54 2011 [INFO] Ending BasicComponentEntity:__init and Returning inst
  64. Sun Oct 16 05:21:54 2011 [INFO] Ending and Returing inst in RepositoryEntity:__init
  65. Sun Oct 16 05:21:54 2011 [INFO] In BasicComponentEntity:set_description
  66. Sun Oct 16 05:21:54 2011 [INFO] Ending BasicComponentEntity:set_description
  67. Sun Oct 16 05:21:54 2011 [INFO] In BasicComponentEntity:set_plan
  68. Sun Oct 16 05:21:54 2011 [INFO] Ending BasicComponentEntity:set_plan and Returning self.plan
  69. Sun Oct 16 05:21:54 2011 [INFO] In Plan:get_nickname
  70. Sun Oct 16 05:21:54 2011 [INFO] Ending Plan:get_nickname
  71. Sun Oct 16 05:21:54 2011 [DEBUG] Setting the component nick to: Deployer_1.Plan_1.RepositoryEntity_1
  72. Sun Oct 16 05:21:54 2011 [INFO] In BasicComponentEntity:set_nickname
  73. Sun Oct 16 05:21:54 2011 [DEBUG] BasicComponentEntity.nickname = Deployer_1.Plan_1.RepositoryEntity_1
  74. Sun Oct 16 05:21:54 2011 [INFO] Ending BasicComponentEntity:set_nickname
  75. Sun Oct 16 05:21:54 2011 [INFO] Ending Plan:create_repository and Returning servant
  76. Sun Oct 16 05:21:54 2011 [INFO] In RepositoryEntity:set_host( newhost )
  77. Sun Oct 16 05:21:54 2011 [INFO] Ending RepositoryEntity:set_host( newhost )
  78. Sun Oct 16 05:21:54 2011 [INFO] In RepositoryEntity:set_privacy
  79. Sun Oct 16 05:21:54 2011 [INFO] RepositoryEntity warns its plan that he's public!
  80. Sun Oct 16 05:21:54 2011 [INFO] In Plan:get_manager()
  81. Sun Oct 16 05:21:54 2011 [INFO] Obtains the manager associated with this deployment Plan
  82. Sun Oct 16 05:21:54 2011 [INFO] Ending Plan:get_manager and Returning Plan:get_manager
  83. Sun Oct 16 05:21:54 2011 [INFO] In Deployer:add_public_repositories
  84. Sun Oct 16 05:21:54 2011 [INFO] In RepositoryEntity:get_host
  85. Sun Oct 16 05:21:54 2011 [INFO] Ending RepositoryEntity:get_host
  86. Sun Oct 16 05:21:54 2011 [INFO] In BasicComponentEntity:get_nickname
  87. Sun Oct 16 05:21:54 2011 [INFO] Ending BasicComponentEntity:get_nickname
  88. Sun Oct 16 05:21:54 2011 [DEBUG] Adding repository Deployer_1.Plan_1.RepositoryEntity_1 from public list.
  89. Sun Oct 16 05:21:54 2011 [INFO] Ending Deployer:add_public_repositories
  90. Sun Oct 16 05:21:54 2011 [INFO] Ending in RepositoryEntity:set_privacy
  91. Sun Oct 16 05:21:54 2011 [INFO] In BasicComponentEntity:get_nickname
  92. Sun Oct 16 05:21:54 2011 [INFO] Ending BasicComponentEntity:get_nickname
  93. Sun Oct 16 05:21:54 2011 [INFO] ===In RepositoryEntity:deploy===
  94. Sun Oct 16 05:21:54 2011 [DEBUG] local corbaloc: corbaloc::10.0.0.12:10001/Repository
  95. Sun Oct 16 05:21:54 2011 [INFO] Repository not running so starting up the repository daemon remotely through the SSH protocol
  96. Sun Oct 16 05:21:54 2011 [INFO] Launching the ExecutionNode
  97. Sun Oct 16 05:21:54 2011 [DEBUG] self.host.ip: 10.0.0.12
  98. Sun Oct 16 05:21:54 2011 [DEBUG] self.host.port: 10000
  99. Sun Oct 16 05:22:00 2011 [INFO] RepositoryEntity deployed!
  100. Sun Oct 16 05:22:00 2011 [INFO] Ending RepositoryEntity:deploy and Returning true
  101. Sun Oct 16 05:22:02 2011 [INFO] In BasicComponentEntity:activate
  102. Sun Oct 16 05:22:02 2011 [INFO] Ending BasicComponentEntity:activate
  103. ---------------------------------------------------------------------
  104. Sun Oct 16 05:29:16 2011 [INFO] In Deployer:get_public_repositories
  105. Sun Oct 16 05:29:16 2011 [INFO] Trigger an update of the self.cache.repositories when we found an outdate IOR
  106. Sun Oct 16 05:29:16 2011 [DEBUG] Testing the reference persisted for the repository: 10.0.0.12 : 10001
  107. Sun Oct 16 05:29:16 2011 [INFO] In BasicComponentEntity:get_nickname
  108. Sun Oct 16 05:29:16 2011 [INFO] Ending BasicComponentEntity:get_nickname
  109. Sun Oct 16 05:29:16 2011 [DEBUG] [AMADEU] nickname: Deployer_1.Plan_1.RepositoryEntity_1
  110. Sun Oct 16 05:29:16 2011 [INFO] Ending Deployer:get_public_repositories and Returning repository_array
  111. Sun Oct 16 05:29:18 2011 [INFO] In RepositoryEntity:publish
  112. Sun Oct 16 05:29:18 2011 [INFO] In RepositoryEntity:publish_desc
  113. Sun Oct 16 05:29:18 2011 [INFO] Ending RepositoryEntity:publish_desc
  114. Sun Oct 16 05:29:18 2011 [INFO] In RepositoryEntity:publish_pkg
  115. Sun Oct 16 05:29:18 2011 [INFO] In RepositoryEntity:_real_upload
  116. [DEPLOY VERBOSE] Trying upload the component: Hello-1.0-0 lua all
  117. [DEPLOY VERBOSE] Uploaded in ComponentRepository the component 'Hello-1.0-0' for 'lua' and 'all' sucessfully!
  118. Sun Oct 16 05:29:18 2011 [INFO] Ending RepositoryEntity:_real_upload
  119. Sun Oct 16 05:29:18 2011 [INFO] Ending RepositoryEntity:publish_pkg
  120. Sun Oct 16 05:29:18 2011 [INFO] Ending RepositoryEntity:publish
  121. Sun Oct 16 05:30:08 2011 [INFO] In RepositoryEntity:publish
  122. Sun Oct 16 05:30:08 2011 [INFO] In RepositoryEntity:publish_desc
  123. Sun Oct 16 05:30:08 2011 [INFO] Ending RepositoryEntity:publish_desc
  124. Sun Oct 16 05:30:08 2011 [INFO] In RepositoryEntity:publish_pkg
  125. Sun Oct 16 05:30:08 2011 [INFO] In RepositoryEntity:_real_upload
  126. [DEPLOY VERBOSE] Trying upload the component: Hello-1.0-0 java all
  127. [DEPLOY VERBOSE] Uploaded in ComponentRepository the component 'Hello-1.0-0' for 'java' and 'all' sucessfully!
  128. Sun Oct 16 05:30:08 2011 [INFO] Ending RepositoryEntity:_real_upload
  129. Sun Oct 16 05:30:08 2011 [INFO] Ending RepositoryEntity:publish_pkg
  130. Sun Oct 16 05:30:08 2011 [INFO] Ending RepositoryEntity:publish
  131. ---------------------------------------------------------------
  132. :52 2011 [DEBUG] Ending Plan:less_used_sort and Returning true with entity_type : containers
  133. Sun Oct 16 05:35:52 2011 [INFO] Ending Plan:less_used_containers
  134. Sun Oct 16 05:35:52 2011 [INFO] Trying to get a container from containers
  135. Sun Oct 16 05:35:52 2011 [INFO] No container was created yet, so let's create the first!
  136. Sun Oct 16 05:35:52 2011 [INFO] Calling self.plan:create_container
  137. Sun Oct 16 05:35:52 2011 [INFO] In Plan:create_container
  138. Sun Oct 16 05:35:52 2011 [INFO] In search(descriptorhelper.lua)
  139. Sun Oct 16 05:35:52 2011 [DEBUG] kind: components
  140. Sun Oct 16 05:35:52 2011 [DEBUG] name: container
  141. Sun Oct 16 05:35:52 2011 [DEBUG] lang: lua
  142. Sun Oct 16 05:35:52 2011 [INFO] In Deployer:create_plan()
  143. Sun Oct 16 05:35:52 2011 [INFO] In Plan:__init
  144. Sun Oct 16 05:35:52 2011 [INFO] Ending Plan:__init and Returning inst
  145. Sun Oct 16 05:35:52 2011 [DEBUG] Setting entity:set_nickname to: Deployer_1.Plan_2
  146. Sun Oct 16 05:35:52 2011 [INFO] In Plan:set_nickname
  147. Sun Oct 16 05:35:52 2011 [DEBUG] Plan.nickname =: Deployer_1.Plan_2
  148. Sun Oct 16 05:35:52 2011 [INFO] Ending Plan:set_nickname
  149. Sun Oct 16 05:35:52 2011 [INFO] In Plan:set_manager
  150. Sun Oct 16 05:35:52 2011 [INFO] Ending Plan:set_manager and Returning true
  151. Sun Oct 16 05:35:52 2011 [INFO] Ending Deployer:create_plan and Returning a servant
  152. Sun Oct 16 05:35:52 2011 [INFO] In Plan:get_nickname
  153. Sun Oct 16 05:35:52 2011 [INFO] Ending Plan:get_nickname
  154. Sun Oct 16 05:35:52 2011 [INFO] In Plan:create_component
  155. Sun Oct 16 05:35:52 2011 [INFO] In ComponentEntity:__init
  156. Sun Oct 16 05:35:52 2011 [INFO] In BasicComponentEntity:__init, Creating a new BasicComponentEntity
  157. Sun Oct 16 05:35:52 2011 [DEBUG] Type of inst: table
  158. Sun Oct 16 05:35:52 2011 [INFO] A BasicComponentEntity was created
  159. Sun Oct 16 05:35:52 2011 [INFO] Printing BasicComponentEntity(setoff)
  160. Sun Oct 16 05:35:52 2011 [INFO] Ending BasicComponentEntity:__init and Returning inst
  161. Sun Oct 16 05:35:52 2011 [INFO] Ending ComponentEntity:__init and Returning inst
  162. Sun Oct 16 05:35:52 2011 [INFO] In BasicComponentEntity:set_plan
  163. Sun Oct 16 05:35:52 2011 [INFO] Ending BasicComponentEntity:set_plan and Returning self.plan
  164. Sun Oct 16 05:35:52 2011 [INFO] In Plan:get_nickname
  165. Sun Oct 16 05:35:52 2011 [INFO] Ending Plan:get_nickname
  166. Sun Oct 16 05:35:52 2011 [DEBUG] Setting the component nick to='Deployer_1.Plan_2.ComponentEntity_1'
  167. Sun Oct 16 05:35:52 2011 [INFO] In BasicComponentEntity:set_nickname
  168. Sun Oct 16 05:35:52 2011 [DEBUG] BasicComponentEntity.nickname = Deployer_1.Plan_2.ComponentEntity_1
  169. Sun Oct 16 05:35:52 2011 [INFO] Ending BasicComponentEntity:set_nickname
  170. Sun Oct 16 05:35:52 2011 [INFO] Ending Plan:create_component and Returning servant
  171. Sun Oct 16 05:35:52 2011 [INFO] In BasicComponentEntity:set_id
  172. Sun Oct 16 05:35:52 2011 [INFO] First attempt: search in all private and public repositories
  173. Sun Oct 16 05:35:52 2011 [INFO] In BasicComponentEntity:get_all_repositories
  174. Sun Oct 16 05:35:52 2011 [INFO] Trying to get repositories from Plan:get_repositories
  175. Sun Oct 16 05:35:52 2011 [INFO] In Plan:get_repositories()
  176. Sun Oct 16 05:35:52 2011 [INFO] Ending Plan:get_repositories and Returning self.all_repositories_servants
  177. Sun Oct 16 05:35:52 2011 [INFO] Trying to get repositories from Deployer:get_public_repositories
  178. Sun Oct 16 05:35:52 2011 [INFO] In Plan:get_manager()
  179. Sun Oct 16 05:35:52 2011 [INFO] Obtains the manager associated with this deployment Plan
  180. Sun Oct 16 05:35:52 2011 [INFO] Ending Plan:get_manager and Returning Plan:get_manager
  181. Sun Oct 16 05:35:52 2011 [INFO] In Deployer:get_public_repositories
  182. Sun Oct 16 05:35:52 2011 [INFO] Trigger an update of the self.cache.repositories when we found an outdate IOR
  183. Sun Oct 16 05:35:52 2011 [DEBUG] Testing the reference persisted for the repository: 10.0.0.12 : 10001
  184. Sun Oct 16 05:35:52 2011 [INFO] In BasicComponentEntity:get_nickname
  185. Sun Oct 16 05:35:52 2011 [INFO] Ending BasicComponentEntity:get_nickname
  186. Sun Oct 16 05:35:52 2011 [DEBUG] [AMADEU] nickname: Deployer_1.Plan_1.RepositoryEntity_1
  187. Sun Oct 16 05:35:52 2011 [INFO] Ending Deployer:get_public_repositories and Returning repository_array
  188. Sun Oct 16 05:35:52 2011 [INFO] Ending BasicComponentEntity:get_all_repositories and Returning all_repositories
  189. Sun Oct 16 05:35:52 2011 [INFO] In RepositoryEntity:get_desc
  190. Sun Oct 16 05:35:52 2011 [INFO] Second attempt: search in an internal component templates disk cache
  191. Sun Oct 16 05:35:52 2011 [INFO] In BasicComponentEntity:set_description
  192. Sun Oct 16 05:35:52 2011 [INFO] Ending BasicComponentEntity:set_description
  193. Sun Oct 16 05:35:52 2011 [INFO] Ending BasicComponentEntity:set_id
  194. Sun Oct 16 05:35:52 2011 [INFO] In BasicComponentEntity:set_args
  195. Sun Oct 16 05:35:52 2011 [INFO] Ending BasicComponentEntity:set_args
  196. Sun Oct 16 05:35:52 2011 [INFO] In Plan:deploy
  197. Error: Edward
  198. Sun Oct 16 05:35:52 2011 [INFO] In BasicComponentEntity:get_nickname
  199. Sun Oct 16 05:35:52 2011 [INFO] Ending BasicComponentEntity:get_nickname
  200. Sun Oct 16 05:35:52 2011 [INFO] In BasicComponentEntity:get_description
  201. Sun Oct 16 05:35:52 2011 [INFO] Ending BasicComponentEntity:get_description and Returing ret
  202. Sun Oct 16 05:35:52 2011 [DEBUG] Deploying Component: 'Deployer_1.Plan_2.ComponentEntity_1' with version: 'Hello-1.0-0'
  203. Sun Oct 16 05:35:52 2011 [INFO] In ComponentEntity:deploy
  204. Sun Oct 16 05:35:52 2011 [INFO] Getting Implementations of Components
  205. Sun Oct 16 05:35:52 2011 [INFO] In BasicComponentEntity:get_available_implementation
  206. Sun Oct 16 05:35:52 2011 [INFO] In BasicComponentEntity:get_nickname
  207. Sun Oct 16 05:35:52 2011 [INFO] Ending BasicComponentEntity:get_nickname
  208. Sun Oct 16 05:35:52 2011 [DEBUG] Searching all available implementation for: Deployer_1.Plan_2.ComponentEntity_1
  209. Sun Oct 16 05:35:52 2011 [INFO] Getting all repositories from BasicComponentEntity:get_all_repositories
  210. Sun Oct 16 05:35:52 2011 [INFO] In BasicComponentEntity:get_all_repositories
  211. Sun Oct 16 05:35:52 2011 [INFO] Trying to get repositories from Plan:get_repositories
  212. Sun Oct 16 05:35:52 2011 [INFO] In Plan:get_repositories()
  213. Sun Oct 16 05:35:52 2011 [INFO] Ending Plan:get_repositories and Returning self.all_repositories_servants
  214. Sun Oct 16 05:35:52 2011 [INFO] Trying to get repositories from Deployer:get_public_repositories
  215. Sun Oct 16 05:35:52 2011 [INFO] In Plan:get_manager()
  216. Sun Oct 16 05:35:52 2011 [INFO] Obtains the manager associated with this deployment Plan
  217. Sun Oct 16 05:35:52 2011 [INFO] Ending Plan:get_manager and Returning Plan:get_manager
  218. Sun Oct 16 05:35:52 2011 [INFO] In Deployer:get_public_repositories
  219. Sun Oct 16 05:35:52 2011 [INFO] Trigger an update of the self.cache.repositories when we found an outdate IOR
  220. Sun Oct 16 05:35:52 2011 [DEBUG] Testing the reference persisted for the repository: 10.0.0.12 : 10001
  221. Sun Oct 16 05:35:52 2011 [INFO] In BasicComponentEntity:get_nickname
  222. Sun Oct 16 05:35:52 2011 [INFO] Ending BasicComponentEntity:get_nickname
  223. Sun Oct 16 05:35:52 2011 [DEBUG] [AMADEU] nickname: Deployer_1.Plan_1.RepositoryEntity_1
  224. Sun Oct 16 05:35:52 2011 [INFO] Ending Deployer:get_public_repositories and Returning repository_array
  225. Sun Oct 16 05:35:52 2011 [INFO] Ending BasicComponentEntity:get_all_repositories and Returning all_repositories
  226. Sun Oct 16 05:35:52 2011 [INFO] In BasicComponentEntity:get_nickname
  227. Sun Oct 16 05:35:52 2011 [INFO] Ending BasicComponentEntity:get_nickname
  228. Sun Oct 16 05:35:52 2011 [DEBUG] Repository nickname: Deployer_1.Plan_1.RepositoryEntity_1
  229. Sun Oct 16 05:35:52 2011 [DEBUG] type of self.id ='table' and view:
  230. { --[[table: 0xf82b40]]
  231. patch_version = 0,
  232. name = "Hello",
  233. major_version = 1,
  234. minor_version = 0,
  235. }
  236. Sun Oct 16 05:35:52 2011 [INFO] In RepositoryEntity:search_byid( id ):
  237. Sun Oct 16 05:35:52 2011 [INFO] Retrieving the component description from the Repository already deployed
  238. Sun Oct 16 05:35:52 2011 [INFO] Ending RepositoryEntity:search_byid( id )
  239. Sun Oct 16 05:35:52 2011 [DEBUG] Obtaining the implementations available for the component: 'Hello-1.0-0'
  240. Sun Oct 16 05:35:52 2011 [INFO] It will decide automatically about the container details!
  241. Sun Oct 16 05:35:52 2011 [INFO] Calling self:autofit_container
  242. Sun Oct 16 05:35:52 2011 [INFO] In ComponentEntity:autofit_container
  243. ----------------- AUTOFIT_CONTAINER table: 0x1154440
  244. Sun Oct 16 05:35:52 2011 [INFO] Strategy: first fit
  245. Sun Oct 16 05:35:52 2011 [INFO] Calling self.plan:less_used_containers()
  246. Sun Oct 16 05:35:52 2011 [INFO] In Plan:less_used_containers
  247. Sun Oct 16 05:35:52 2011 [INFO] In Plan:less_used_sort
  248. Sun Oct 16 05:35:52 2011 [DEBUG] Value of entity_type: containers
  249. Sun Oct 16 05:35:52 2011 [DEBUG] Refreshing the: 'containers' list order
  250. Sun Oct 16 05:35:52 2011 [DEBUG] First is: none, thereisn't containers yet!
  251. Sun Oct 16 05:35Sun Oct 16 05:35:52 2011 [INFO] Calling importFromFile(path) from search(descriptionhelper)
  252. Sun Oct 16 05:35:52 2011 [INFO] In importFromFile(descriptorhelper.lua)
  253. G] The new value of delta is: 1
  254. Sun Oct 16 05:35:52 2011 [INFO] Initializing self.usage_info[entity_type][nickname] to 0
  255. Sun Oct 16 05:35:52 2011 [DEBUG] The oldscore is: 0
  256. Sun Oct 16 05:35:52 2011 [INFO] Action Plus
  257. Sun Oct 16 05:35:52 2011 [DEBUG] Adding oldscore: 0 + delta: 1
  258. Sun Oct 16 05:35:52 2011 [INFO] In BasicComponentEntity:get_nickname
  259. Sun Oct 16 05:35:52 2011 [INFO] Ending BasicComponentEntity:get_nickname
  260. Sun Oct 16 05:35:52 2011 [DEBUG] Updating the usage statistics: hosts nick=vm01 has: 1
  261. Sun Oct 16 05:35:52 2011 [INFO] Ending Plan:update_usage
  262. Sun Oct 16 05:35:52 2011 [INFO] Setting the newhost to self.host(in ExecutionNodeEntity:set_host(newhost))
  263. Sun Oct 16 05:35:52 2011 [INFO] Ending ExecutionNodeEntity:set_host
  264. Sun Oct 16 05:35:52 2011 [INFO] Ending ComponentEntity:autofit_exnode
  265. Sun Oct 16 05:35:52 2011 [INFO] In ContainerEntity:set_node
  266. Sun Oct 16 05:35:52 2011 [INFO] Calling self.plan:update_usage('nodes','plus, newnode, self )
  267. Sun Oct 16 05:35:52 2011 [INFO] In Plan:update_usage( entity_type, action, entity, who_use, delta )
  268. Sun Oct 16 05:35:52 2011 [DEBUG] entity_type: nodes
  269. Sun Oct 16 05:35:52 2011 [DEBUG] action: plus
  270. Sun Oct 16 05:35:52 2011 [DEBUG] The new value of delta is: 1
  271. Sun Oct 16 05:35:52 2011 [INFO] In BasicComponentEntity:get_nickname
  272. Sun Oct 16 05:35:52 2011 [INFO] Ending BasicComponentEntity:get_nickname
  273. Sun Oct 16 05:35:52 2011 [INFO] Initializing self.usage_info[entity_type][nickname] to 0
  274. Sun Oct 16 05:35:52 2011 [DEBUG] The oldscore is: 0
  275. Sun Oct 16 05:35:52 2011 [INFO] Action Plus
  276. Sun Oct 16 05:35:52 2011 [DEBUG] Adding oldscore: 0 + delta: 1
  277. Sun Oct 16 05:35:52 2011 [INFO] In BasicComponentEntity:get_nickname
  278. Sun Oct 16 05:35:52 2011 [INFO] Ending BasicComponentEntity:get_nickname
  279. Sun Oct 16 05:35:52 2011 [DEBUG] Updating the usage statistics: nodes nick=Deployer_1.Plan_2.ExecutionNodeEntity_1 has: 1
  280. Sun Oct 16 05:35:52 2011 [INFO] Ending Plan:update_usage
  281. Sun Oct 16 05:35:52 2011 [INFO] Ending ContainerEntity:set_node
  282. Sun Oct 16 05:35:52 2011 [INFO] Ending ComponentEntity:autofit_container and Returning found
  283. Sun Oct 16 05:35:52 2011 [INFO] In ComponentEntity:set_container
  284. Sun Oct 16 05:35:52 2011 [INFO] Calling self.plan:update_usage Container and Plus
  285. Sun Oct 16 05:35:52 2011 [INFO] In Plan:update_usage( entity_type, action, entity, who_use, delta )
  286. Sun Oct 16 05:35:52 2011 [DEBUG] entity_type: containers
  287. Sun Oct 16 05:35:52 2011 [DEBUG] action: plus
  288. Sun Oct 16 05:35:52 2011 [DEBUG] The new value of delta is: 1
  289. Sun Oct 16 05:35:52 2011 [INFO] In BasicComponentEntity:get_nickname
  290. Sun Oct 16 05:35:52 2011 [INFO] Ending BasicComponentEntity:get_nickname
  291. Sun Oct 16 05:35:52 2011 [INFO] Initializing self.usage_info[entity_type][nickname] to 0
  292. Sun Oct 16 05:35:52 2011 [DEBUG] The oldscore is: 0
  293. Sun Oct 16 05:35:52 2011 [INFO] Action Plus
  294. Sun Oct 16 05:35:52 2011 [DEBUG] Adding oldscore: 0 + delta: 1
  295. Sun Oct 16 05:35:52 2011 [INFO] In BasicComponentEntity:get_nickname
  296. Sun Oct 16 05:35:52 2011 [INFO] Ending BasicComponentEntity:get_nickname
  297. Sun Oct 16 05:35:52 2011 [DEBUG] Updating the usage statistics: containers nick=Deployer_1.Plan_2.ContainerEntity_1 has: 1
  298. Sun Oct 16 05:35:52 2011 [INFO] Ending Plan:update_usage
  299. Sun Oct 16 05:35:52 2011 [INFO] Ending ComponentEntity:set_container
  300. Sun Oct 16 05:35:52 2011 [INFO] In ContainerEntity:deploy
  301. Sun Oct 16 05:35:52 2011 [INFO] Deploying the execution node
  302. Sun Oct 16 05:35:52 2011 [INFO] In ExecutionNodeEntity:deploy
  303. Sun Oct 16 05:35:52 2011 [INFO] Launchs the execution node in another machine
  304. Sun Oct 16 05:35:52 2011 [DEBUG] Testing if the ExecutionNode is running:corbaloc::10.0.0.12:10000/ExecutionNode
  305. Sun Oct 16 05:35:52 2011 [INFO] ExecutionNode not running so starting up the repository daemon remotely through the SSH protocol
  306. Sun Oct 16 05:35:52 2011 [INFO] +++Trying to access via SSH+++
  307. Sun Oct 16 05:35:52 2011 [DEBUG] type of '10.0.0.12' is 'string':
  308. Sun Oct 16 05:35:52 2011 [INFO] Creating a new ContainerEntity
  309. Sun Oct 16 05:35:52 2011 [INFO] In ContainerEntity:__init
  310. Sun Oct 16 05:35:52 2011 [INFO] In BasicComponentEntity:__init, Creating a new BasicComponentEntity
  311. Sun Oct 16 05:35:52 2011 [DEBUG] Type of inst: table
  312. Sun Oct 16 05:35:52 2011 [INFO] A BasicComponentEntity was created
  313. Sun Oct 16 05:35:52 2011 [INFO] Printing BasicComponentEntity(setoff)
  314. Sun Oct 16 05:35:52 2011 [INFO] Ending BasicComponentEntity:__init and Returning inst
  315. Sun Oct 16 05:35:52 2011 [INFO] Ending ContainerEntity:__init and Returning inst
  316. Sun Oct 16 05:35:52 2011 [INFO] In BasicComponentEntity:set_description
  317. Sun Oct 16 05:35:52 2011 [INFO] Ending BasicComponentEntity:set_description
  318. Sun Oct 16 05:35:52 2011 [INFO] In BasicComponentEntity:set_property
  319. Sun Oct 16 05:35:52 2011 [INFO] Ending BasicComponentEntity:set_property
  320. Sun Oct 16 05:35:52 2011 [INFO] In BasicComponentEntity:set_plan
  321. Sun Oct 16 05:35:52 2011 [INFO] Ending BasicComponentEntity:set_plan and Returning self.plan
  322. Sun Oct 16 05:35:52 2011 [INFO] In Plan:get_nickname
  323. Sun Oct 16 05:35:52 2011 [INFO] Ending Plan:get_nickname
  324. Sun Oct 16 05:35:52 2011 [DEBUG] Setting the component nick to(Plan:create_container()): Deployer_1.Plan_2.ContainerEntity_1
  325. Sun Oct 16 05:35:52 2011 [INFO] In BasicComponentEntity:set_nickname
  326. Sun Oct 16 05:35:52 2011 [DEBUG] BasicComponentEntity.nickname = Deployer_1.Plan_2.ContainerEntity_1
  327. Sun Oct 16 05:35:52 2011 [INFO] Ending BasicComponentEntity:set_nickname
  328. Sun Oct 16 05:35:52 2011 [INFO] Ending Plan:create_container and Returning servant
  329. Sun Oct 16 05:35:52 2011 [INFO] Calling self:autofit_exnode
  330. Sun Oct 16 05:35:52 2011 [DEBUG] With lang = lua and plat = all
  331. Sun Oct 16 05:35:52 2011 [INFO] In ComponentEntity:autofit_exnode
  332. ----------------- AUTOFIT_EXNODE table: 0x1154440 lua all
  333. Sun Oct 16 05:35:52 2011 [INFO] In Plan:less_used_nodes()
  334. Sun Oct 16 05:35:52 2011 [INFO] In Plan:less_used_sort
  335. Sun Oct 16 05:35:52 2011 [DEBUG] Value of entity_type: nodes
  336. Sun Oct 16 05:35:52 2011 [DEBUG] Refreshing the: 'nodes' list order
  337. Sun Oct 16 05:35:52 2011 [DEBUG] First is: none, thereisn't nodes yet!
  338. Sun Oct 16 05:35:52 2011 [DEBUG] Ending Plan:less_used_sort and Returning true with entity_type : nodes
  339. Sun Oct 16 05:35:52 2011 [INFO] Ending Plan:less_used_nodes
  340. Sun Oct 16 05:35:52 2011 [INFO] Calling(): self.plan:create_exnode
  341. Sun Oct 16 05:35:52 2011 [INFO] In Plan:create_exnode
  342. Sun Oct 16 05:35:52 2011 [INFO] In search(descriptorhelper.lua)
  343. Sun Oct 16 05:35:52 2011 [DEBUG] kind: components
  344. Sun Oct 16 05:35:52 2011 [DEBUG] name: executionnode
  345. Sun Oct 16 05:35:52 2011 [INFO] Calling importFromFile(path) from search(descriptionhelper)
  346. Sun Oct 16 05:35:52 2011 [INFO] In importFromFile(descriptorhelper.lua)
  347. Sun Oct 16 05:35:52 2011 [INFO] In ExecutionNodeEntity:__init() - Creating a new ExecutionNoneEntity
  348. Sun Oct 16 05:35:52 2011 [INFO] In BasicComponentEntity:__init, Creating a new BasicComponentEntity
  349. Sun Oct 16 05:35:52 2011 [DEBUG] Type of inst: table
  350. Sun Oct 16 05:35:52 2011 [INFO] A BasicComponentEntity was created
  351. Sun Oct 16 05:35:52 2011 [INFO] Printing BasicComponentEntity(setoff)
  352. Sun Oct 16 05:35:52 2011 [INFO] Ending BasicComponentEntity:__init and Returning inst
  353. Sun Oct 16 05:35:52 2011 [INFO] Ending ExecutionNodeEntity:__init and Returning inst
  354. Sun Oct 16 05:35:52 2011 [INFO] In BasicComponentEntity:set_description
  355. Sun Oct 16 05:35:52 2011 [INFO] Ending BasicComponentEntity:set_description
  356. Sun Oct 16 05:35:52 2011 [INFO] In BasicComponentEntity:set_plan
  357. Sun Oct 16 05:35:52 2011 [INFO] Ending BasicComponentEntity:set_plan and Returning self.plan
  358. Sun Oct 16 05:35:52 2011 [INFO] In Plan:get_nickname
  359. Sun Oct 16 05:35:52 2011 [INFO] Ending Plan:get_nickname
  360. Sun Oct 16 05:35:52 2011 [DEBUG] Setting the component nick to (in Plan:create_exnode): Deployer_1.Plan_2.ExecutionNodeEntity_1
  361. Sun Oct 16 05:35:52 2011 [INFO] In BasicComponentEntity:set_nickname
  362. Sun Oct 16 05:35:52 2011 [DEBUG] BasicComponentEntity.nickname = Deployer_1.Plan_2.ExecutionNodeEntity_1
  363. Sun Oct 16 05:35:52 2011 [INFO] Ending BasicComponentEntity:set_nickname
  364. Sun Oct 16 05:35:52 2011 [INFO] Ending Plan:create_exnode and Returing servant
  365. Sun Oct 16 05:35:52 2011 [INFO] Calling: autofit_host
  366. Sun Oct 16 05:35:52 2011 [INFO] In ComponentEntity:autofit_host
  367. ----------------- AUTOFIT_HOST table: 0x1154440 lua all
  368. Sun Oct 16 05:35:52 2011 [INFO] +++ ATENTION!!!, new ways for provide Execution Nodes are developing+++
  369. Sun Oct 16 05:35:52 2011 [INFO] -------------------
  370. Sun Oct 16 05:35:52 2011 [INFO] RoadMap Version 0.1
  371. Sun Oct 16 05:35:52 2011 [INFO] -------------------
  372. Sun Oct 16 05:35:52 2011 [INFO] In Plan:less_used_hosts
  373. Sun Oct 16 05:35:52 2011 [INFO] In Plan:get_manager()
  374. Sun Oct 16 05:35:52 2011 [INFO] Obtains the manager associated with this deployment Plan
  375. Sun Oct 16 05:35:52 2011 [INFO] Ending Plan:get_manager and Returning Plan:get_manager
  376. Sun Oct 16 05:35:52 2011 [INFO] In Deployer:get_hosts
  377. Sun Oct 16 05:35:52 2011 [INFO] Obtains the list of HostDescriptions being managed by this Manager
  378. Sun Oct 16 05:35:52 2011 [DEBUG] Type of self.all_hosts_servants: table
  379. Sun Oct 16 05:35:52 2011 [INFO] In Plan:less_used_sort
  380. Sun Oct 16 05:35:52 2011 [DEBUG] Value of entity_type: hosts
  381. Sun Oct 16 05:35:52 2011 [DEBUG] Refreshing the: 'hosts' list order
  382. Sun Oct 16 05:35:52 2011 [DEBUG] First is: vm01
  383. Sun Oct 16 05:35:52 2011 [DEBUG] Ending Plan:less_used_sort and Returning true with entity_type : hosts
  384. Sun Oct 16 05:35:52 2011 [INFO] Ending Plan:less_used_hosts
  385. Sun Oct 16 05:35:52 2011 [INFO] +++Loading EucaInstances+++
  386. Sun Oct 16 05:35:52 2011 [INFO] In Plan:get_manager()
  387. Sun Oct 16 05:35:52 2011 [INFO] Obtains the manager associated with this deployment Plan
  388. Sun Oct 16 05:35:52 2011 [INFO] Ending Plan:get_manager and Returning Plan:get_manager
  389. Sun Oct 16 05:35:52 2011 [INFO] In Deployer:get_euca_instances
  390. Sun Oct 16 05:35:52 2011 [INFO] Ending Deployer:get_euca_instances
  391. Sun Oct 16 05:35:52 2011 [INFO] Printing all euca instances founded
  392. { --[[table: 0xe8b0b0]] }
  393. Sun Oct 16 05:35:52 2011 [INFO] In convert_host_description
  394. Sun Oct 16 05:35:52 2011 [INFO] Ending convert_host_description and Returning
  395. Sun Oct 16 05:35:52 2011 [INFO] Printing all euca instances with host formatting
  396. { --[[table: 0xbc36d0]] }
  397. Sun Oct 16 05:35:52 2011 [INFO] Searching a Host from hosts
  398. Sun Oct 16 05:35:52 2011 [INFO] Showing Hosts
  399. { --[[table: 0xea8ce0]]
  400. { --[[table: 0x10e5690]]
  401. port = 10000,
  402. name = "vm01",
  403. languages = { --[[table: 0x121ca70]]
  404. "lua",
  405. "java",
  406. },
  407. resources = { --[[table: 0x10e9a20]]
  408. bandwidth = 100,
  409. os = "linux",
  410. arch = "x86_64",
  411. cpu = 1800,
  412. mem = 512,
  413. },
  414. ip = "10.0.0.12",
  415. },
  416. }
  417. Sun Oct 16 05:35:52 2011 [INFO] Printing All Hosts (hosts + euca_instances)
  418. { --[[table: 0xea8ce0]]
  419. { --[[table: 0x10e5690]]
  420. port = 10000,
  421. name = "vm01",
  422. languages = { --[[table: 0x121ca70]]
  423. "lua",
  424. "java",
  425. },
  426. resources = { --[[table: 0x10e9a20]]
  427. bandwidth = 100,
  428. os = "linux",
  429. arch = "x86_64",
  430. cpu = 1800,
  431. mem = 512,
  432. },
  433. ip = "10.0.0.12",
  434. },
  435. }
  436. Sun Oct 16 05:35:52 2011 [INFO] Searching in Host Machines
  437. Sun Oct 16 05:35:52 2011 [INFO] In for
  438. Sun Oct 16 05:35:52 2011 [INFO] searching by lang_limit
  439. Sun Oct 16 05:35:52 2011 [INFO] only once plat_limit and plat_limit=linux-x86
  440. Value of host from autofit_host: table: 0x10e5690
  441. Sun Oct 16 05:35:52 2011 [INFO] Host found(in autofit_host)
  442. Sun Oct 16 05:35:52 2011 [DEBUG] Ending ComponentEntity:autofit_host and Returning found
  443. Sun Oct 16 05:35:52 2011 [INFO] In ExecutionNodeEntity:set_host( newhost )
  444. Sun Oct 16 05:35:52 2011 [INFO] Calling self.plan:update_usage('hosts', 'plus', newhost, self )
  445. Sun Oct 16 05:35:52 2011 [INFO] In Plan:update_usage( entity_type, action, entity, who_use, delta )
  446. Sun Oct 16 05:35:52 2011 [DEBUG] entity_type: hosts
  447. Sun Oct 16 05:35:52 2011 [DEBUG] action: plus
  448. Sun Oct 16 05:35:52 2011 [DEBUSun Oct 16 05:35:53 2011 [INFO] Sleeping 2 seconds
  449. Sun Oct 16 05:35:55 2011 [INFO] In BasicComponentEntity:get_nickname
  450. Sun Oct 16 05:35:55 2011 [INFO] Ending BasicComponentEntity:get_nickname
  451. Unknown error on deployment of the component Deployer_1.Plan_2.ComponentEntity_1
  452. Undo previously deployed components...
  453. Sun Oct 16 05:35:55 2011 [INFO] In ComponentEntity:undeploy
  454. Sun Oct 16 05:35:55 2011 [INFO] In BasicComponentEntity:get_nickname
  455. Sun Oct 16 05:35:55 2011 [INFO] Ending BasicComponentEntity:get_nickname
  456. [DEPLOY VERBOSE] WARNING: The entity Deployer_1.Plan_2.ComponentEntity_1 is not deployed. No problem.
  457. Launching exception...
  458. -------------------------------------------------------------------------------------------------------------
  459.  
  460. edward@pituba:~/projects/scs-deploysystem/src/lua/scs/demos/deployer$ ./rundemo launch-repository.lua
  461. ATTENTION: Using the SCS_HOME system variable as /home/edward/projects/scs-deploysystem
  462. Sun Oct 16 05:21:54 2011 [INFO] Defining a host to place the repository
  463. Sun Oct 16 05:21:54 2011 [INFO] Using Deployment Policy: Host Descriptions
  464. Sun Oct 16 05:21:54 2011 [INFO] In search(descriptorhelper.lua)
  465. Sun Oct 16 05:21:54 2011 [DEBUG] kind: hosts
  466. Sun Oct 16 05:21:54 2011 [DEBUG] name: vm01
  467. Sun Oct 16 05:21:54 2011 [DEBUG] The path created is: /home/edward/projects/scs-deploysystem/src/lua/scs/deployer/hosts/vm01.lua
  468. Sun Oct 16 05:21:54 2011 [INFO] Calling importFromFile(path) from search(descriptionhelper)
  469. Sun Oct 16 05:21:54 2011 [INFO] In importFromFile(descriptorhelper.lua)
  470. Sun Oct 16 05:21:54 2011 [DEBUG] Type of vm01_host: table
  471. { --[[table: 0x17574f0]]
  472. port = 10000,
  473. name = "vm01",
  474. languages = { --[[table: 0x1a4ed30]]
  475. "lua",
  476. "java",
  477. },
  478. resources = { --[[table: 0x1b21b00]]
  479. bandwidth = 100,
  480. os = "linux",
  481. arch = "x86_64",
  482. cpu = 1800,
  483. mem = 512,
  484. },
  485. ip = "10.0.0.12",
  486. }
  487. Sun Oct 16 05:21:54 2011 [INFO] Creating a Plan to Deploy the ComponentRepository
  488. Sun Oct 16 05:21:54 2011 [INFO] Creating Repository from Plan
  489. Sun Oct 16 05:21:54 2011 [INFO] Repository planned: Deployer_1.Plan_1.RepositoryEntity_1
  490. Sun Oct 16 05:21:54 2011 [INFO] Trying Deployment Step
  491. Sun Oct 16 05:22:00 2011 [INFO] Repository deployed!
  492. Sun Oct 16 05:22:00 2011 [INFO] Waiting for 2 seconds...
  493. Sun Oct 16 05:22:02 2011 [INFO] Trying Activating Step
  494. Sun Oct 16 05:22:02 2011 [INFO] Repository is activated!
  495. Sun Oct 16 05:22:02 2011 [INFO] Repository is running!
  496. Sun Oct 16 05:22:02 2011 [INFO] 'purgeallplans.lua' will show you how to undeploy a repository.
  497. Sun Oct 16 05:22:02 2011 [INFO] Finished successfuly.
  498.  
  499. root@i-000000a3:~/scs-deploysystem/src/lua/scs/demos/deployer# ./rundemo packager-manager.lua
  500. ATTENTION: Using the SCS_HOME system variable as /root/scs-deploysystem
  501. Sun Oct 16 07:22:22 2011 INFO new orb instance publicy accessible
  502. Sun Oct 16 07:22:22 2011 INFO A New Instance of a Packager
  503. Sun Oct 16 07:22:22 2011 INFO In Utils:updateConfig(cfg) from utils.lua
  504. Sun Oct 16 07:22:22 2011 INFO Trying change the directory information
  505. Sun Oct 16 07:22:22 2011 INFO Loading manifest
  506. Sun Oct 16 07:22:22 2011 ERROR ERROR: Unable to update the manifest, more see: Failed loading manifest for /tmp/luarocksrepository/rocks
  507. Sun Oct 16 07:22:22 2011 INFO End Utils:info(cfg)
  508. Sun Oct 16 07:22:22 2011 INFO Printing a Packager:
  509. Sun Oct 16 07:22:22 2011 DEBUG Packager type: table
  510. ---------------------------------------------------
  511. [SCS VERBOSE] Packager::create_from_dir : The Rockspec is a valid for LuaRocks!
  512. [SCS VERBOSE] Packager::create_from_dir : The Rockspec is a valid for the deployment tool also!
  513. Updating manifest for /tmp/luarocksrepository/rocks
  514. No existing manifest. Attempting to rebuild...
  515. adding: conf/ (stored 0%)
  516. adding: conf/hello.template (deflated 57%)
  517. adding: conf/hello.lua.all.desc (deflated 53%)
  518. adding: hello-1.0-0.rockspec (deflated 43%)
  519. adding: idl/ (stored 0%)
  520. adding: idl/hello.idl (deflated 36%)
  521. adding: lua/ (stored 0%)
  522. adding: lua/scs/ (stored 0%)
  523. adding: lua/scs/demos/ (stored 0%)
  524. adding: lua/scs/demos/hello/ (stored 0%)
  525. adding: lua/scs/demos/hello/HelloFactory.lua (deflated 55%)
  526. adding: lua/scs/demos/hello/Hello.lua (deflated 48%)
  527. [SCS VERBOSE] Packager::create_from_dir : Loading the implementation descriptions from the directory: /root/scs-deploysystem/src/lua/scs/demos/hello//conf
  528. [SCS VERBOSE] Packager::create_from_dir : Implementation description loaded successfully.
  529. [SCS VERBOSE] Packager::create_from_dir : Template description loaded successfully.
  530. [SCS VERBOSE] Packager::create_from_dir : New binary rock created '/root/scs-deploysystem/src/lua/scs/demos/deployer/hello-1.0-0.all.rock'
  531. Checking stability of dependencies on the absence of
  532. hello 1.0-0...
  533.  
  534. Removing hello 1.0-0...
  535. [SCS VERBOSE] Packager::list_temp_repository : Searching for packages in the repository /tmp/luarocksrepository
  536. [SCS VERBOSE] Packager::create_from_dir : Other packages installed during the packaging procedure
  537. [SCS VERBOSE] Packager::create_from_dir : The Rockspec is a valid for LuaRocks!
  538. [SCS VERBOSE] Packager::create_from_dir : The Rockspec is a valid for the deployment tool also!
  539. Buildfile: /root/scs-deploysystem/src/java/scs/demos/helloworld/build.xml
  540.  
  541. clean:
  542. [delete] Deleting directory /root/scs-deploysystem/classes
  543.  
  544. idl-hello:
  545. [mkdir] Created dir: /root/scs-deploysystem/classes
  546. [jacidl] scan file: /root/scs-deploysystem/idl/hello.idl
  547. [jacidl] processing idl file: /root/scs-deploysystem/idl/hello.idl
  548. [javac] /root/scs-deploysystem/src/java/scs/demos/helloworld/build.xml:14: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
  549. [javac] Compiling 7 source files to /root/scs-deploysystem/classes
  550. [javac] Note: /root/scs-deploysystem/generated/scs/demos/helloworld/HelloPOA.java uses unchecked or unsafe operations.
  551. [javac] Note: Recompile with -Xlint:unchecked for details.
  552.  
  553. servicesidl.check:
  554.  
  555. coreidl.check:
  556.  
  557. idl-core:
  558.  
  559. idl-services:
  560.  
  561. jar-servicesidl:
  562.  
  563. build-hello:
  564. [javac] /root/scs-deploysystem/src/java/scs/demos/helloworld/build.xml:19: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
  565. [javac] Compiling 4 source files to /root/scs-deploysystem/classes
  566.  
  567. jar-hello:
  568. [jar] Building jar: /root/scs-deploysystem/src/java/scs/demos/helloworld/jar/helloworld.jar
  569.  
  570. BUILD SUCCESSFUL
  571. Total time: 30 seconds
  572. Updating manifest for /tmp/luarocksrepository/rocks
  573. No existing manifest. Attempting to rebuild...
  574. adding: conf/ (stored 0%)
  575. adding: conf/hello.template (deflated 57%)
  576. adding: conf/hello.java.all.desc (deflated 54%)
  577. adding: hello-1.0-0.rockspec (deflated 41%)
  578. adding: jar/ (stored 0%)
  579. adding: jar/helloworld.jar (deflated 17%)
  580. [SCS VERBOSE] Packager::create_from_dir : Loading the implementation descriptions from the directory: /root/scs-deploysystem/src/java/scs/demos/helloworld//conf
  581. [SCS VERBOSE] Packager::create_from_dir : Implementation description loaded successfully.
  582. [SCS VERBOSE] Packager::create_from_dir : Template description loaded successfully.
  583. [SCS VERBOSE] Packager::create_from_dir : New binary rock created '/root/scs-deploysystem/src/lua/scs/demos/deployer/hello-1.0-0.all.rock'
  584. Checking stability of dependencies on the absence of
  585. hello 1.0-0...
  586.  
  587. Removing hello 1.0-0...
  588. [SCS VERBOSE] Packager::list_temp_repository : Searching for packages in the repository /tmp/luarocksrepository
  589. [SCS VERBOSE] Packager::create_from_dir : Other packages installed during the packaging procedure
  590. ----------------------------------------------------------------------------------------------------
  591.  
  592. root@i-000000a3:~/scs-deploysystem/src/lua/scs/demos/deployer# ./rundemo hello-deployment.lua
  593. ATTENTION: Using the SCS_HOME system variable as /root/scs-deploysystem
  594. Sun Oct 16 07:35:51 2011 DEBUG Plan created with id='Deployer_1.Plan_2'
  595. IDL:omg.org/CORBA/UNKNOWN:1.0 raised
  596. stack traceback:
  597. .../rocks//loop/2.3beta-1/lua/loop/object/Exception.lua:30: in function <.../rocks//loop/2.3beta-1/lua/loop/object/Exception.lua:25>
  598. (tail call): ?
  599. (tail call): ?
  600. ...ocks//oil/0.4beta-1/lua/oil/corba/giop/Requester.lua:225: in function 'getreply'
  601. ...oil/0.4beta-1/lua/oil/kernel/cooperative/Invoker.lua:58: in function 'receivefrom'
  602. ...rocks//oil/0.4beta-1/lua/oil/kernel/base/Invoker.lua:96: in function 'results'
  603. ...rocks//oil/0.4beta-1/lua/oil/kernel/base/Proxies.lua:97: in function 'deploy'
  604. hello-deployment.lua:42: in function <hello-deployment.lua:20>
  605. root@i-000000a3:~/scs-deploysystem/src/lua/scs/demos/deployer# tree ../../execution_node/
  606. ../../execution_node/
  607. ├── ExecutionNodeInit.lua
  608. ├── ExecutionNode.lua
  609. ├── node.err
  610. ├── node.log
  611. ├── Properties.txt
  612. ├── run
  613. └── run.bat
  614.  
  615. 0 directories, 7 files
  616. root@i-000000a3:~/scs-deploysystem/src/lua/scs/demos/deployer# ls /tmp/
  617. execution_node.ior hsperfdata_root repository.ior
  618. root@i-000000a3:~/scs-deploysystem/src/lua/scs/demos/deployer# ls -lsh /tmp/
  619. total 12K
  620. 4.0K -rw-r--r-- 1 root root 270 2011-10-16 07:35 execution_node.ior
  621. 4.0K drwxr-xr-x 2 root root 4.0K 2011-10-16 07:30 hsperfdata_root
  622. 4.0K -rw-r--r-- 1 root root 280 2011-10-16 07:21 repository.ior
  623. root@i-000000a3:~/scs-deploysystem/src/lua/scs/demos/deployer# cat ../../execution_node/node.err
  624. root@i-000000a3:~/scs-deploysystem/src/lua/scs/demos/deployer# cat ../../execution_node/node.log
  625. [acceptor] accept all requests from channel { --[[table:A]]
  626. ServantIndexer = { --[[table:B]] ... },
  627. ClientChannels = { --[[table:C]] ... },
  628. host = "localhost",
  629. port = 20202,
  630. ProxyIndexer = { --[[table:D]] ... },
  631. ServerChannels = { --[[table:E]] ... },
  632. ObjectReferrer = { --[[table:F]] ... },
  633. types = { --[[table:G]] ... },
  634. RequestListener = { --[[table:H]] ... },
  635. IIOPProfiler = { --[[table:I]] ... },
  636. OperationInvoker = { --[[table:J]] ... },
  637. RequestReceiver = { --[[table:K]] ... },
  638. BasicSystem = { --[[table:L]] ... },
  639. ObjectProxies = { --[[table:M]] ... },
  640. flavor = "intercepted;corba;typed;cooperative;base",
  641. ServerBroker = { --[[table:N]] ... },
  642. RequestDispatcher = { --[[table:O]] ... },
  643. ValueEncoder = { --[[table:P]] ... },
  644. ClientBroker = { --[[table:Q]] ... },
  645. TypeRepository = { --[[table:R]] ... },
  646. OperationRequester = { --[[table:S]] ... },
  647. tcpoptions = { --[[table:T]] ... },
  648. MessageMarshaler = { --[[table:U]] ... },
  649. }
  650. [listen] get channel with config { --[[table:A]]
  651. ServantIndexer = { --[[table:B]] ... },
  652. ClientChannels = { --[[table:C]] ... },
  653. host = "localhost",
  654. port = 20202,
  655. ProxyIndexer = { --[[table:D]] ... },
  656. ServerChannels = { --[[table:E]] ... },
  657. ObjectReferrer = { --[[table:F]] ... },
  658. types = { --[[table:G]] ... },
  659. RequestListener = { --[[table:H]] ... },
  660. IIOPProfiler = { --[[table:I]] ... },
  661. OperationInvoker = { --[[table:J]] ... },
  662. RequestReceiver = { --[[table:K]] ... },
  663. BasicSystem = { --[[table:L]] ... },
  664. ObjectProxies = { --[[table:M]] ... },
  665. flavor = "intercepted;corba;typed;cooperative;base",
  666. ServerBroker = { --[[table:N]] ... },
  667. RequestDispatcher = { --[[table:O]] ... },
  668. ValueEncoder = { --[[table:P]] ... },
  669. ClientBroker = { --[[table:Q]] ... },
  670. TypeRepository = { --[[table:R]] ... },
  671. OperationRequester = { --[[table:S]] ... },
  672. tcpoptions = { --[[table:T]] ... },
  673. MessageMarshaler = { --[[table:U]] ... },
  674. }
  675. [dispatcher] object { --[[table:V]]
  676. context = { --[[table:W]] ... },
  677. } registered with key ExecutionNode
  678. [dispatcher] object { --[[table:X]]
  679. _maxConnections = 100,
  680. _nextConnId = 0,
  681. context = { --[[table:W]] ... },
  682. } registered with key 0x1bbc7100x1ab6c60
  683. [dispatcher] object { --[[table:Y]]
  684. context = { --[[table:W]] ... },
  685. } registered with key 0x1bbc1e00x1a1f840
  686. [dispatcher] object { --[[table:Z]]
  687. context = { --[[table:W]] ... },
  688. } registered with key 0x1bbc7600x1ab5640
  689. [dispatcher] object { --[[table:AB]]
  690. context = { --[[table:W]] ... },
  691. } registered with key 0x1bbc2900x1ad26b0
  692. [dispatcher] object { --[[table:BB]]
  693. context = { --[[table:W]] ... },
  694. } registered with key 0x1bbc2e00x1b151d0
  695. [dispatcher] object { --[[table:CB]]
  696. context = { --[[table:W]] ... },
  697. } registered with key 0x1bbc2300x1b18b50
  698. root@i-000000a3:~/scs-deploysystem/src/lua/scs/demos/deployer#
  699.  
  700.  
  701.  
Advertisement
Add Comment
Please, Sign In to add comment