byghis

test01 - hello-deployment.lua - host - guest

Oct 16th, 2011
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 90.66 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 04:28:37 2011 [INFO] new orb instance publicy accessible
  4. Sun Oct 16 04:28:37 2011 [INFO] A New Instance of a DeployManager
  5. Sun Oct 16 04:28:37 2011 [INFO] In Deployer oo.class{...}
  6. Sun Oct 16 04:28:37 2011 [INFO] Ending Deployer oo.class{...}
  7. Sun Oct 16 04:28:37 2011 [DEBUG] Manager type: table
  8. Sun Oct 16 04:28:37 2011 [INFO] In Deployer:__init
  9. Sun Oct 16 04:28:38 2011 [DEBUG] Value of self.count : 1
  10. Sun Oct 16 04:28:38 2011 [INFO] +++READING PUBLIC REPOSITORIES CACHE+++
  11. Sun Oct 16 04:28:38 2011 [INFO] ---------------------------------------
  12. Sun Oct 16 04:28:38 2011 [INFO] In Deployer:get_public_repositories
  13. Sun Oct 16 04:28:38 2011 [INFO] Trigger an update of the self.cache.repositories when we found an outdate IOR
  14. Sun Oct 16 04:28:38 2011 [INFO] Ending Deployer:get_public_repositories and Returning repository_array
  15. Sun Oct 16 04:28:38 2011 [INFO] +++LOADING INSTANCES DATA from EucaCloud+++
  16. Sun Oct 16 04:28:38 2011 [INFO] ----------------------------------------
  17. Sun Oct 16 04:28:38 2011 [INFO] [ EUCA ] : var='Starting self.euca_engine'
  18. Sun Oct 16 04:28:38 2011 [INFO] In __init(self)
  19. Sun Oct 16 04:28:38 2011 [INFO] Printing inst.all_instances
  20. { --[[table: 0x1249240]] }
  21. Sun Oct 16 04:28:38 2011 [INFO] +++READING HOST DESCRIPTIONS+++
  22. Sun Oct 16 04:28:38 2011 [INFO] -------------------------------
  23. Sun Oct 16 04:28:38 2011 [INFO] Loading machinesN.lua
  24. Sun Oct 16 04:28:38 2011 [INFO] -------------------------------
  25. Sun Oct 16 04:28:38 2011 [INFO] Reading the host list stored in disk
  26. Sun Oct 16 04:28:38 2011 [INFO] Loading the host description /home/edward/projects/scs-deploysystem/src/lua/scs/deployer/hosts//machine0.lua
  27. Sun Oct 16 04:28:38 2011 [DEBUG] Type of host_description: table
  28. Sun Oct 16 04:28:38 2011 [INFO] This file will be load: machine0.lua
  29. Sun Oct 16 04:28:38 2011 [INFO] Trying to print all hosts loaded if exists inst.all_hosts:
  30. Sun Oct 16 04:28:38 2011 [DEBUG] Will be possible get hosts
  31. Sun Oct 16 04:28:38 2011 [INFO] Ending Deployer.__init
  32. Sun Oct 16 04:28:38 2011 [INFO] A New Instance of a Packager
  33. Sun Oct 16 04:28:38 2011 [INFO] In Utils:updateConfig(cfg) from utils.lua
  34. Sun Oct 16 04:28:38 2011 [INFO] Trying change the directory information
  35. Sun Oct 16 04:28:38 2011 [INFO] Loading manifest
  36. Sun Oct 16 04:28:38 2011 [ERROR] ERROR: Unable to update the manifest, more see: Failed loading manifest for /tmp/luarocksrepository/rocks
  37. Sun Oct 16 04:28:38 2011 [INFO] End Utils:info(cfg)
  38. Sun Oct 16 04:28:38 2011 [INFO] Printing a Packager:
  39. Sun Oct 16 04:28:38 2011 [DEBUG] Packager type: table
  40. ======================================================
  41. Sun Oct 16 04:30:19 2011 [INFO] In Deployer:create_plan()
  42. Sun Oct 16 04:30:19 2011 [INFO] In Plan:__init
  43. Sun Oct 16 04:30:19 2011 [INFO] Ending Plan:__init and Returning inst
  44. Sun Oct 16 04:30:19 2011 [DEBUG] Setting entity:set_nickname to: Deployer_1.Plan_1
  45. Sun Oct 16 04:30:19 2011 [INFO] In Plan:set_nickname
  46. Sun Oct 16 04:30:19 2011 [DEBUG] Plan.nickname =: Deployer_1.Plan_1
  47. Sun Oct 16 04:30:19 2011 [INFO] Ending Plan:set_nickname
  48. Sun Oct 16 04:30:19 2011 [INFO] In Plan:set_manager
  49. Sun Oct 16 04:30:19 2011 [INFO] Ending Plan:set_manager and Returning true
  50. Sun Oct 16 04:30:19 2011 [INFO] Ending Deployer:create_plan and Returning a servant
  51. Sun Oct 16 04:30:19 2011 [INFO] In Plan:mark_as_admin
  52. Sun Oct 16 04:30:19 2011 [INFO] Ending Plan:mark_as_admin
  53. Sun Oct 16 04:30:19 2011 [INFO] In Plan:create_repository
  54. Sun Oct 16 04:30:19 2011 [INFO] In search(descriptorhelper.lua)
  55. Sun Oct 16 04:30:19 2011 [DEBUG] kind: components
  56. Sun Oct 16 04:30:19 2011 [DEBUG] name: repository
  57. Sun Oct 16 04:30:19 2011 [INFO] Calling importFromFile(path) from search(descriptionhelper)
  58. Sun Oct 16 04:30:19 2011 [INFO] In importFromFile(descriptorhelper.lua)
  59. Sun Oct 16 04:30:19 2011 [INFO] In RepositoryEntity:__init
  60. Sun Oct 16 04:30:19 2011 [INFO] In BasicComponentEntity:__init, Creating a new BasicComponentEntity
  61. Sun Oct 16 04:30:19 2011 [DEBUG] Type of inst: table
  62. Sun Oct 16 04:30:19 2011 [INFO] A BasicComponentEntity was created
  63. Sun Oct 16 04:30:19 2011 [INFO] Printing BasicComponentEntity(setoff)
  64. Sun Oct 16 04:30:19 2011 [INFO] Ending BasicComponentEntity:__init and Returning inst
  65. Sun Oct 16 04:30:19 2011 [INFO] Ending and Returing inst in RepositoryEntity:__init
  66. Sun Oct 16 04:30:19 2011 [INFO] In BasicComponentEntity:set_description
  67. Sun Oct 16 04:30:19 2011 [INFO] Ending BasicComponentEntity:set_description
  68. Sun Oct 16 04:30:19 2011 [INFO] In BasicComponentEntity:set_plan
  69. Sun Oct 16 04:30:19 2011 [INFO] Ending BasicComponentEntity:set_plan and Returning self.plan
  70. Sun Oct 16 04:30:19 2011 [INFO] In Plan:get_nickname
  71. Sun Oct 16 04:30:19 2011 [INFO] Ending Plan:get_nickname
  72. Sun Oct 16 04:30:19 2011 [DEBUG] Setting the component nick to: Deployer_1.Plan_1.RepositoryEntity_1
  73. Sun Oct 16 04:30:19 2011 [INFO] In BasicComponentEntity:set_nickname
  74. Sun Oct 16 04:30:19 2011 [DEBUG] BasicComponentEntity.nickname = Deployer_1.Plan_1.RepositoryEntity_1
  75. Sun Oct 16 04:30:19 2011 [INFO] Ending BasicComponentEntity:set_nickname
  76. Sun Oct 16 04:30:19 2011 [INFO] Ending Plan:create_repository and Returning servant
  77. Sun Oct 16 04:30:19 2011 [INFO] In RepositoryEntity:set_host( newhost )
  78. Sun Oct 16 04:30:19 2011 [INFO] Ending RepositoryEntity:set_host( newhost )
  79. Sun Oct 16 04:30:19 2011 [INFO] In RepositoryEntity:set_privacy
  80. Sun Oct 16 04:30:19 2011 [INFO] RepositoryEntity warns its plan that he's public!
  81. Sun Oct 16 04:30:19 2011 [INFO] In Plan:get_manager()
  82. Sun Oct 16 04:30:19 2011 [INFO] Obtains the manager associated with this deployment Plan
  83. Sun Oct 16 04:30:19 2011 [INFO] Ending Plan:get_manager and Returning Plan:get_manager
  84. Sun Oct 16 04:30:19 2011 [INFO] In Deployer:add_public_repositories
  85. Sun Oct 16 04:30:19 2011 [INFO] In RepositoryEntity:get_host
  86. Sun Oct 16 04:30:19 2011 [INFO] Ending RepositoryEntity:get_host
  87. Sun Oct 16 04:30:19 2011 [INFO] In BasicComponentEntity:get_nickname
  88. Sun Oct 16 04:30:19 2011 [INFO] Ending BasicComponentEntity:get_nickname
  89. Sun Oct 16 04:30:19 2011 [DEBUG] Adding repository Deployer_1.Plan_1.RepositoryEntity_1 from public list.
  90. Sun Oct 16 04:30:19 2011 [INFO] Ending Deployer:add_public_repositories
  91. Sun Oct 16 04:30:19 2011 [INFO] Ending in RepositoryEntity:set_privacy
  92. Sun Oct 16 04:30:19 2011 [INFO] In BasicComponentEntity:get_nickname
  93. Sun Oct 16 04:30:19 2011 [INFO] Ending BasicComponentEntity:get_nickname
  94. Sun Oct 16 04:30:19 2011 [INFO] ===In RepositoryEntity:deploy===
  95. Sun Oct 16 04:30:19 2011 [DEBUG] local corbaloc: corbaloc::10.0.0.12:10001/Repository
  96. Sun Oct 16 04:30:19 2011 [INFO] Repository not running so starting up the repository daemon remotely through the SSH protocol
  97. Sun Oct 16 04:30:19 2011 [INFO] Launching the ExecutionNode
  98. Sun Oct 16 04:30:19 2011 [DEBUG] self.host.ip: 10.0.0.12
  99. Sun Oct 16 04:30:19 2011 [DEBUG] self.host.port: 10000
  100. Sun Oct 16 04:30:42 2011 [INFO] RepositoryEntity deployed!
  101. Sun Oct 16 04:30:42 2011 [INFO] Ending RepositoryEntity:deploy and Returning true
  102. Sun Oct 16 04:30:44 2011 [INFO] In BasicComponentEntity:activate
  103. Sun Oct 16 04:30:44 2011 [INFO] Ending BasicComponentEntity:activate
  104. ====================================================================
  105. Sun Oct 16 04:31:46 2011 [INFO] In Deployer:get_public_repositories
  106. Sun Oct 16 04:31:46 2011 [INFO] Trigger an update of the self.cache.repositories when we found an outdate IOR
  107. Sun Oct 16 04:31:46 2011 [DEBUG] Testing the reference persisted for the repository: 10.0.0.12 : 10001
  108. Sun Oct 16 04:31:46 2011 [INFO] In BasicComponentEntity:get_nickname
  109. Sun Oct 16 04:31:46 2011 [INFO] Ending BasicComponentEntity:get_nickname
  110. Sun Oct 16 04:31:46 2011 [DEBUG] [AMADEU] nickname: Deployer_1.Plan_1.RepositoryEntity_1
  111. Sun Oct 16 04:31:46 2011 [INFO] Ending Deployer:get_public_repositories and Returning repository_array
  112. Sun Oct 16 04:31:47 2011 [INFO] In RepositoryEntity:publish
  113. Sun Oct 16 04:31:47 2011 [INFO] In RepositoryEntity:publish_desc
  114. Sun Oct 16 04:31:47 2011 [INFO] Ending RepositoryEntity:publish_desc
  115. Sun Oct 16 04:31:47 2011 [INFO] In RepositoryEntity:publish_pkg
  116. Sun Oct 16 04:31:47 2011 [INFO] In RepositoryEntity:_real_upload
  117. [DEPLOY VERBOSE] Trying upload the component: Hello-1.0-0 lua all
  118. [DEPLOY VERBOSE] Uploaded in ComponentRepository the component 'Hello-1.0-0' for 'lua' and 'all' sucessfully!
  119. Sun Oct 16 04:31:47 2011 [INFO] Ending RepositoryEntity:_real_upload
  120. Sun Oct 16 04:31:47 2011 [INFO] Ending RepositoryEntity:publish_pkg
  121. Sun Oct 16 04:31:47 2011 [INFO] Ending RepositoryEntity:publish
  122. Sun Oct 16 04:33:36 2011 [INFO] In RepositoryEntity:publish
  123. Sun Oct 16 04:33:36 2011 [INFO] In RepositoryEntity:publish_desc
  124. Sun Oct 16 04:33:36 2011 [INFO] Ending RepositoryEntity:publish_desc
  125. Sun Oct 16 04:33:36 2011 [INFO] In RepositoryEntity:publish_pkg
  126. Sun Oct 16 04:33:36 2011 [INFO] In RepositoryEntity:_real_upload
  127. [DEPLOY VERBOSE] Trying upload the component: Hello-1.0-0 java all
  128. [DEPLOY VERBOSE] Uploaded in ComponentRepository the component 'Hello-1.0-0' for 'java' and 'all' sucessfully!
  129. Sun Oct 16 04:33:36 2011 [INFO] Ending RepositoryEntity:_real_upload
  130. Sun Oct 16 04:33:36 2011 [INFO] Ending RepositoryEntity:publish_pkg
  131. Sun Oct 16 04:33:36 2011 [INFO] Ending RepositoryEntity:publish
  132. ================================================================
  133. Sun Oct 16 04:36:11 2011 [INFO] In Deployer:create_plan()
  134. Sun Oct 16 04:36:11 2011 [INFO] In Plan:__init
  135. Sun Oct 16 04:36:11 2011 [INFO] Ending Plan:__init and Returning inst
  136. Sun Oct 16 04:36:11 2011 [DEBUG] Setting entity:set_nickname to: Deployer_1.Plan_2
  137. Sun Oct 16 04:36:11 2011 [INFO] In Plan:set_nickname
  138. Sun Oct 16 04:36:11 2011 [DEBUG] Plan.nickname =: Deployer_1.Plan_2
  139. Sun Oct 16 04:36:11 2011 [INFO] Ending Plan:set_nickname
  140. Sun Oct 16 04:36:11 2011 [INFO] In Plan:set_manager
  141. Sun Oct 16 04:36:11 2011 [INFO] Ending Plan:set_manager and Returning true
  142. Sun Oct 16 04:36:11 2011 [INFO] Ending Deployer:create_plan and Returning a servant
  143. Sun Oct 16 04:36:11 2011 [INFO] In Plan:get_nickname
  144. Sun Oct 16 04:36:11 2011 [INFO] Ending Plan:get_nickname
  145. Sun Oct 16 04:36:11 2011 [INFO] In Plan:create_component
  146. Sun Oct 16 04:36:11 2011 [INFO] In ComponentEntity:__init
  147. Sun Oct 16 04:36:11 2011 [INFO] In BasicComponentEntity:__init, Creating a new BasicComponentEntity
  148. Sun Oct 16 04:36:11 2011 [DEBUG] Type of inst: table
  149. Sun Oct 16 04:36:11 2011 [INFO] A BasicComponentEntity was created
  150. Sun Oct 16 04:36:11 2011 [INFO] Printing BasicComponentEntity(setoff)
  151. Sun Oct 16 04:36:11 2011 [INFO] Ending BasicComponentEntity:__init and Returning inst
  152. Sun Oct 16 04:36:11 2011 [INFO] Ending ComponentEntity:__init and Returning inst
  153. Sun Oct 16 04:36:11 2011 [INFO] In BasicComponentEntity:set_plan
  154. Sun Oct 16 04:36:11 2011 [INFO] Ending BasicComponentEntity:set_plan and Returning self.plan
  155. Sun Oct 16 04:36:11 2011 [INFO] In Plan:get_nickname
  156. Sun Oct 16 04:36:11 2011 [INFO] Ending Plan:get_nickname
  157. Sun Oct 16 04:36:11 2011 [DEBUG] Setting the component nick to='Deployer_1.Plan_2.ComponentEntity_1'
  158. Sun Oct 16 04:36:11 2011 [INFO] In BasicComponentEntity:set_nickname
  159. Sun Oct 16 04:36:11 2011 [DEBUG] BasicComponentEntity.nickname = Deployer_1.Plan_2.ComponentEntity_1
  160. Sun Oct 16 04:36:11 2011 [INFO] Ending BasicComponentEntity:set_nickname
  161. Sun Oct 16 04:36:11 2011 [INFO] Ending Plan:create_component and Returning servant
  162. Sun Oct 16 04:36:11 2011 [INFO] In BasicComponentEntity:set_id
  163. Sun Oct 16 04:36:11 2011 [INFO] First attempt: search in all private and public repositories
  164. Sun Oct 16 04:36:11 2011 [INFO] In BasicComponentEntity:get_all_repositories
  165. Sun Oct 16 04:36:11 2011 [INFO] Trying to get repositories from Plan:get_repositories
  166. Sun Oct 16 04:36:11 2011 [INFO] In Plan:get_repositories()
  167. Sun Oct 16 04:36:11 2011 [INFO] Ending Plan:get_repositories and Returning self.all_repositories_servants
  168. Sun Oct 16 04:36:11 2011 [INFO] Trying to get repositories from Deployer:get_public_repositories
  169. Sun Oct 16 04:36:11 2011 [INFO] In Plan:get_manager()
  170. Sun Oct 16 04:36:11 2011 [INFO] Obtains the manager associated with this deployment Plan
  171. Sun Oct 16 04:36:11 2011 [INFO] Ending Plan:get_manager and Returning Plan:get_manager
  172. Sun Oct 16 04:36:11 2011 [INFO] In Deployer:get_public_repositories
  173. Sun Oct 16 04:36:11 2011 [INFO] Trigger an update of the self.cache.repositories when we found an outdate IOR
  174. Sun Oct 16 04:36:11 2011 [DEBUG] Testing the reference persisted for the repository: 10.0.0.12 : 10001
  175. Sun Oct 16 04:36:11 2011 [INFO] In BasicComponentEntity:get_nickname
  176. Sun Oct 16 04:36:11 2011 [INFO] Ending BasicComponentEntity:get_nickname
  177. Sun Oct 16 04:36:11 2011 [DEBUG] [AMADEU] nickname: Deployer_1.Plan_1.RepositoryEntity_1
  178. Sun Oct 16 04:36:11 2011 [INFO] Ending Deployer:get_public_repositories and Returning repository_array
  179. Sun Oct 16 04:36:11 2011 [INFO] Ending BasicComponentEntity:get_all_repositories and Returning all_repositories
  180. Sun Oct 16 04:36:11 2011 [INFO] In RepositoryEntity:get_desc
  181. Sun Oct 16 04:36:11 2011 [INFO] Second attempt: search in an internal component templates disk cache
  182. Sun Oct 16 04:36:11 2011 [INFO] In BasicComponentEntity:set_description
  183. Sun Oct 16 04:36:11 2011 [INFO] Ending BasicComponentEntity:set_description
  184. Sun Oct 16 04:36:11 2011 [INFO] Ending BasicComponentEntity:set_id
  185. Sun Oct 16 04:36:11 2011 [INFO] In BasicComponentEntity:set_args
  186. Sun Oct 16 04:36:11 2011 [INFO] Ending BasicComponentEntity:set_args
  187. Sun Oct 16 04:36:11 2011 [INFO] In Plan:deploy
  188. Error: Edward
  189. Sun Oct 16 04:36:11 2011 [INFO] In BasicComponentEntity:get_nickname
  190. Sun Oct 16 04:36:11 2011 [INFO] Ending BasicComponentEntity:get_nickname
  191. Sun Oct 16 04:36:11 2011 [INFO] In BasicComponentEntity:get_description
  192. Sun Oct 16 04:36:11 2011 [INFO] Ending BasicComponentEntity:get_description and Returing ret
  193. Sun Oct 16 04:36:11 2011 [DEBUG] Deploying Component: 'Deployer_1.Plan_2.ComponentEntity_1' with version: 'Hello-1.0-0'
  194. Sun Oct 16 04:36:11 2011 [INFO] In ComponentEntity:deploy
  195. Sun Oct 16 04:36:11 2011 [INFO] Getting Implementations of Components
  196. Sun Oct 16 04:36:11 2011 [INFO] In BasicComponentEntity:get_available_implementation
  197. Sun Oct 16 04:36:11 2011 [INFO] In BasicComponentEntity:get_nickname
  198. Sun Oct 16 04:36:11 2011 [INFO] Ending BasicComponentEntity:get_nickname
  199. Sun Oct 16 04:36:11 2011 [DEBUG] Searching all available implementation for: Deployer_1.Plan_2.ComponentEntity_1
  200. Sun Oct 16 04:36:11 2011 [INFO] Getting all repositories from BasicComponentEntity:get_all_repositories
  201. Sun Oct 16 04:36:11 2011 [INFO] In BasicComponentEntity:get_all_repositories
  202. Sun Oct 16 04:36:11 2011 [INFO] Trying to get repositories from Plan:get_repositories
  203. Sun Oct 16 04:36:11 2011 [INFO] In Plan:get_repositories()
  204. Sun Oct 16 04:36:11 2011 [INFO] Ending Plan:get_repositories and Returning self.all_repositories_servants
  205. Sun Oct 16 04:36:11 2011 [INFO] Trying to get repositories from Deployer:get_public_repositories
  206. Sun Oct 16 04:36:11 2011 [INFO] In Plan:get_manager()
  207. Sun Oct 16 04:36:11 2011 [INFO] Obtains the manager associated with this deployment Plan
  208. Sun Oct 16 04:36:11 2011 [INFO] Ending Plan:get_manager and Returning Plan:get_manager
  209. Sun Oct 16 04:36:11 2011 [INFO] In Deployer:get_public_repositories
  210. Sun Oct 16 04:36:11 2011 [INFO] Trigger an update of the self.cache.repositories when we found an outdate IOR
  211. Sun Oct 16 04:36:11 2011 [DEBUG] Testing the reference persisted for the repository: 10.0.0.12 : 10001
  212. Sun Oct 16 04:36:11 2011 [INFO] In BasicComponentEntity:get_nickname
  213. Sun Oct 16 04:36:11 2011 [INFO] Ending BasicComponentEntity:get_nickname
  214. Sun Oct 16 04:36:11 2011 [DEBUG] [AMADEU] nickname: Deployer_1.Plan_1.RepositoryEntity_1
  215. Sun Oct 16 04:36:11 2011 [INFO] Ending Deployer:get_public_repositories and Returning repository_array
  216. Sun Oct 16 04:36:11 2011 [INFO] Ending BasicComponentEntity:get_all_repositories and Returning all_repositories
  217. Sun Oct 16 04:36:11 2011 [INFO] In BasicComponentEntity:get_nickname
  218. Sun Oct 16 04:36:11 2011 [INFO] Ending BasicComponentEntity:get_nickname
  219. Sun Oct 16 04:36:11 2011 [DEBUG] Repository nickname: Deployer_1.Plan_1.RepositoryEntity_1
  220. Sun Oct 16 04:36:11 2011 [DEBUG] type of self.id ='table' and view:
  221. { --[[table: 0x15fc5b0]]
  222. patch_version = 0,
  223. name = "Hello",
  224. major_version = 1,
  225. minor_version = 0,
  226. }
  227. Sun Oct 16 04:36:11 2011 [INFO] In RepositoryEntity:search_byid( id ):
  228. Sun Oct 16 04:36:11 2011 [INFO] Retrieving the component description from the Repository already deployed
  229. Sun Oct 16 04:36:11 2011 [INFO] Ending RepositoryEntity:search_byid( id )
  230. Sun Oct 16 04:36:11 2011 [DEBUG] Obtaining the implementations available for the component: 'Hello-1.0-0'
  231. Sun Oct 16 04:36:11 2011 [INFO] It will decide automatically about the container details!
  232. Sun Oct 16 04:36:11 2011 [INFO] Calling self:autofit_container
  233. Sun Oct 16 04:36:11 2011 [INFO] In ComponentEntity:autofit_container
  234. ----------------- AUTOFIT_CONTAINER table: 0x1571cc0
  235. Sun Oct 16 04:36:11 2011 [INFO] Strategy: first fit
  236. Sun Oct 16 04:36:11 2011 [INFO] Calling self.plan:less_used_containers()
  237. Sun Oct 16 04:36:11 2011 [INFO] In Plan:less_used_containers
  238. Sun Oct 16 04:36:11 2011 [INFO] In Plan:less_used_sort
  239. Sun Oct 16 04:36:11 2011 [DEBUG] Value of entity_type: containers
  240. Sun Oct 16 04:36:11 2011 [DEBUG] Refreshing the: 'containers' list order
  241. Sun Oct 16 04:36:11 2011 [DEBUG] First is: none, thereisn't containers yet!
  242. Sun Oct 16 04:36:11 2011 [DEBUG] Ending Plan:less_used_sort and Returning true with entity_type : containers
  243. Sun Oct 16 04:36:11 2011 [INFO] Ending Plan:less_used_containers
  244. Sun Oct 16 04:36:11 2011 [INFO] Trying to get a container from containers
  245. Sun Oct 16 04:36:11 2011 [INFO] No container was created yet, so let's create the first!
  246. Sun Oct 16 04:36:11 2011 [INFO] Calling self.plan:create_container
  247. Sun Oct 16 04:36:11 2011 [INFO] In Plan:create_container
  248. Sun Oct 16 04:36:11 2011 [INFO] In search(descriptorhelper.lua)
  249. Sun Oct 16 04:36:11 2011 [DEBUG] kind: components
  250. Sun Oct 16 04:36:11 2011 [DEBUG] name: container
  251. Sun Oct 16 04:36:11 2011 [DEBUG] lang: lua
  252. Sun Oct 16 04:36:11 2011 [INFO] Calling importFromFile(path) from search(descriptionhelper)
  253. Sun Oct 16 04:36:11 2011 [INFO] In importFromFile(descriptorhelper.lua)
  254. Sun Oct 16 04:36:11 2011 [INFO] Creating a new ContainerEntity
  255. Sun Oct 16 04:36:11 2011 [INFO] In ContainerEntity:__init
  256. Sun Oct 16 04:36:11 2011 [INFO] In BasicComponentEntity:__init, Creating a new BasicComponentEntity
  257. Sun Oct 16 04:36:11 2011 [DEBUG] Type of inst: table
  258. Sun Oct 16 04:36:11 2011 [INFO] A BasicComponentEntity was created
  259. Sun Oct 16 04:36:11 2011 [INFO] Printing BasicComponentEntity(setoff)
  260. Sun Oct 16 04:36:11 2011 [INFO] Ending BasicComponentEntity:__init and Returning inst
  261. Sun Oct 16 04:36:11 2011 [INFO] Ending ContainerEntity:__init and Returning inst
  262. Sun Oct 16 04:36:11 2011 [INFO] In BasicComponentEntity:set_description
  263. Sun Oct 16 04:36:11 2011 [INFO] Ending BasicComponentEntity:set_description
  264. Sun Oct 16 04:36:11 2011 [INFO] In BasicComponentEntity:set_property
  265. Sun Oct 16 04:36:11 2011 [INFO] Ending BasicComponentEntity:set_property
  266. Sun Oct 16 04:36:11 2011 [INFO] In BasicComponentEntity:set_plan
  267. Sun Oct 16 04:36:11 2011 [INFO] Ending BasicComponentEntity:set_plan and Returning self.plan
  268. Sun Oct 16 04:36:11 2011 [INFO] In Plan:get_nickname
  269. Sun Oct 16 04:36:11 2011 [INFO] Ending Plan:get_nickname
  270. Sun Oct 16 04:36:11 2011 [DEBUG] Setting the component nick to(Plan:create_container()): Deployer_1.Plan_2.ContainerEntity_1
  271. Sun Oct 16 04:36:11 2011 [INFO] In BasicComponentEntity:set_nickname
  272. Sun Oct 16 04:36:11 2011 [DEBUG] BasicComponentEntity.nickname = Deployer_1.Plan_2.ContainerEntity_1
  273. Sun Oct 16 04:36:11 2011 [INFO] Ending BasicComponentEntity:set_nickname
  274. Sun Oct 16 04:36:11 2011 [INFO] Ending Plan:create_container and Returning servant
  275. Sun Oct 16 04:36:11 2011 [INFO] Calling self:autofit_exnode
  276. Sun Oct 16 04:36:11 2011 [DEBUG] With lang = lua and plat = all
  277. Sun Oct 16 04:36:11 2011 [INFO] In ComponentEntity:autofit_exnode
  278. ----------------- AUTOFIT_EXNODE table: 0x1571cc0 lua all
  279. Sun Oct 16 04:36:11 2011 [INFO] In Plan:less_used_nodes()
  280. Sun Oct 16 04:36:11 2011 [INFO] In Plan:less_used_sort
  281. Sun Oct 16 04:36:11 2011 [DEBUG] Value of entity_type: nodes
  282. Sun Oct 16 04:36:11 2011 [DEBUG] Refreshing the: 'nodes' list order
  283. Sun Oct 16 04:36:11 2011 [DEBUG] First is: none, thereisn't nodes yet!
  284. Sun Oct 16 04:36:11 2011 [DEBUG] Ending Plan:less_used_sort and Returning true with entity_type : nodes
  285. Sun Oct 16 04:36:11 2011 [INFO] Ending Plan:less_used_nodes
  286. Sun Oct 16 04:36:11 2011 [INFO] Calling(): self.plan:create_exnode
  287. Sun Oct 16 04:36:11 2011 [INFO] In Plan:create_exnode
  288. Sun Oct 16 04:36:11 2011 [INFO] In search(descriptorhelper.lua)
  289. Sun Oct 16 04:36:11 2011 [DEBUG] kind: components
  290. Sun Oct 16 04:36:11 2011 [DEBUG] name: executionnode
  291. Sun Oct 16 04:36:12 2011 [INFO] In ComponentEntity:set_container
  292. Sun Oct 16 04:36:12 2011 [INFO] Calling self.plan:update_usage Container and Plus
  293. Sun Oct 16 04:36:12 2011 [INFO] In Plan:update_usage( entity_type, action, entity, who_use, delta )
  294. Sun Oct 16 04:36:12 2011 [DEBUG] entity_type: containers
  295. Sun Oct 16 04:36:12 2011 [DEBUG] action: plus
  296. Sun Oct 16 04:36:12 2011 [DEBUG] The new value of delta is: 1
  297. Sun Oct 16 04:36:12 2011 [INFO] In BasicComponentEntity:get_nickname
  298. Sun Oct 16 04:36:12 2011 [INFO] Ending BasicComponentEntity:get_nickname
  299. Sun Oct 16 04:36:12 2011 [INFO] Initializing self.usage_info[entity_type][nickname] to 0
  300. Sun Oct 16 04:36:12 2011 [DEBUG] The oldscore is: 0
  301. Sun Oct 16 04:36:12 2011 [INFO] Action Plus
  302. Sun Oct 16 04:36:12 2011 [DEBUG] Adding oldscore: 0 + delta: 1
  303. Sun Oct 16 04:36:12 2011 [INFO] In BasicComponentEntity:get_nickname
  304. Sun Oct 16 04:36:12 2011 [INFO] Ending BasicComponentEntity:get_nickname
  305. Sun Oct 16 04:36:12 2011 [DEBUG] Updating the usage statistics: containers nick=Deployer_1.Plan_2.ContainerEntity_1 has: 1
  306. Sun Oct 16 04:36:12 2011 [INFO] Ending Plan:update_usage
  307. Sun Oct 16 04:36:12 2011 [INFO] Ending ComponentEntity:set_container
  308. Sun Oct 16 04:36:12 2011 [INFO] In ContainerEntity:deploy
  309. Sun Oct 16 04:36:12 2011 [INFO] Deploying the execution node
  310. Sun Oct 16 04:36:12 2011 [INFO] In ExecutionNodeEntity:deploy
  311. Sun Oct 16 04:36:12 2011 [INFO] Launchs the execution node in another machine
  312. Sun Oct 16 04:36:12 2011 [DEBUG] Testing if the ExecutionNode is running:corbaloc::139.82.2.181:10000/ExecutionNode
  313. Sun Oct 16 04:36:12 2011 [INFO] ExecutionNode not running so starting up the repository daemon remotely through the SSH protocol
  314. Sun Oct 16 04:36:12 2011 [INFO] +++Trying to access via SSH+++
  315. Sun Oct 16 04:36:12 2011 [DEBUG] type of '139.82.2.181' is 'string':
  316. Sun Oct 16 04:36:11 2011 [INFO] Calling importFromFile(path) from search(descriptionhelper)
  317. Sun Oct 16 04:36:11 2011 [INFO] In importFromFile(descriptorhelper.lua)
  318. Sun Oct 16 04:36:11 2011 [INFO] In ExecutionNodeEntity:__init() - Creating a new ExecutionNoneEntity
  319. Sun Oct 16 04:36:11 2011 [INFO] In BasicComponentEntity:__init, Creating a new BasicComponentEntity
  320. Sun Oct 16 04:36:11 2011 [DEBUG] Type of inst: table
  321. Sun Oct 16 04:36:11 2011 [INFO] A BasicComponentEntity was created
  322. Sun Oct 16 04:36:11 2011 [INFO] Printing BasicComponentEntity(setoff)
  323. Sun Oct 16 04:36:11 2011 [INFO] Ending BasicComponentEntity:__init and Returning inst
  324. Sun Oct 16 04:36:11 2011 [INFO] Ending ExecutionNodeEntity:__init and Returning inst
  325. Sun Oct 16 04:36:11 2011 [INFO] In BasicComponentEntity:set_description
  326. Sun Oct 16 04:36:12 2011 [INFO] Ending BasicComponentEntity:set_description
  327. Sun Oct 16 04:36:12 2011 [INFO] In BasicComponentEntity:set_plan
  328. Sun Oct 16 04:36:12 2011 [INFO] Ending BasicComponentEntity:set_plan and Returning self.plan
  329. Sun Oct 16 04:36:12 2011 [INFO] In Plan:get_nickname
  330. Sun Oct 16 04:36:12 2011 [INFO] Ending Plan:get_nickname
  331. Sun Oct 16 04:36:12 2011 [DEBUG] Setting the component nick to (in Plan:create_exnode): Deployer_1.Plan_2.ExecutionNodeEntity_1
  332. Sun Oct 16 04:36:12 2011 [INFO] In BasicComponentEntity:set_nickname
  333. Sun Oct 16 04:36:12 2011 [DEBUG] BasicComponentEntity.nickname = Deployer_1.Plan_2.ExecutionNodeEntity_1
  334. Sun Oct 16 04:36:12 2011 [INFO] Ending BasicComponentEntity:set_nickname
  335. Sun Oct 16 04:36:12 2011 [INFO] Ending Plan:create_exnode and Returing servant
  336. Sun Oct 16 04:36:12 2011 [INFO] Calling: autofit_host
  337. Sun Oct 16 04:36:12 2011 [INFO] In ComponentEntity:autofit_host
  338. ----------------- AUTOFIT_HOST table: 0x1571cc0 lua all
  339. Sun Oct 16 04:36:12 2011 [INFO] +++ ATENTION!!!, new ways for provide Execution Nodes are developing+++
  340. Sun Oct 16 04:36:12 2011 [INFO] -------------------
  341. Sun Oct 16 04:36:12 2011 [INFO] RoadMap Version 0.1
  342. Sun Oct 16 04:36:12 2011 [INFO] -------------------
  343. Sun Oct 16 04:36:12 2011 [INFO] In Plan:less_used_hosts
  344. Sun Oct 16 04:36:12 2011 [INFO] In Plan:get_manager()
  345. Sun Oct 16 04:36:12 2011 [INFO] Obtains the manager associated with this deployment Plan
  346. Sun Oct 16 04:36:12 2011 [INFO] Ending Plan:get_manager and Returning Plan:get_manager
  347. Sun Oct 16 04:36:12 2011 [INFO] In Deployer:get_hosts
  348. Sun Oct 16 04:36:12 2011 [INFO] Obtains the list of HostDescriptions being managed by this Manager
  349. Sun Oct 16 04:36:12 2011 [DEBUG] Type of self.all_hosts_servants: table
  350. Sun Oct 16 04:36:12 2011 [INFO] In Plan:less_used_sort
  351. Sun Oct 16 04:36:12 2011 [DEBUG] Value of entity_type: hosts
  352. Sun Oct 16 04:36:12 2011 [DEBUG] Refreshing the: 'hosts' list order
  353. Sun Oct 16 04:36:12 2011 [DEBUG] First is: machine0
  354. Sun Oct 16 04:36:12 2011 [DEBUG] Ending Plan:less_used_sort and Returning true with entity_type : hosts
  355. Sun Oct 16 04:36:12 2011 [INFO] Ending Plan:less_used_hosts
  356. Sun Oct 16 04:36:12 2011 [INFO] +++Loading EucaInstances+++
  357. Sun Oct 16 04:36:12 2011 [INFO] In Plan:get_manager()
  358. Sun Oct 16 04:36:12 2011 [INFO] Obtains the manager associated with this deployment Plan
  359. Sun Oct 16 04:36:12 2011 [INFO] Ending Plan:get_manager and Returning Plan:get_manager
  360. Sun Oct 16 04:36:12 2011 [INFO] In Deployer:get_euca_instances
  361. Sun Oct 16 04:36:12 2011 [INFO] Ending Deployer:get_euca_instances
  362. Sun Oct 16 04:36:12 2011 [INFO] Printing all euca instances founded
  363. { --[[table: 0x1249240]] }
  364. Sun Oct 16 04:36:12 2011 [INFO] In convert_host_description
  365. Sun Oct 16 04:36:12 2011 [INFO] Ending convert_host_description and Returning
  366. Sun Oct 16 04:36:12 2011 [INFO] Printing all euca instances with host formatting
  367. { --[[table: 0xfe2f60]] }
  368. Sun Oct 16 04:36:12 2011 [INFO] Searching a Host from hosts
  369. Sun Oct 16 04:36:12 2011 [INFO] Showing Hosts
  370. { --[[table: 0x124ff30]]
  371. { --[[table: 0xf9ea60]]
  372. port = 10000,
  373. name = "machine0",
  374. languages = { --[[table: 0xfc3560]]
  375. "lua",
  376. "java",
  377. },
  378. resources = { --[[table: 0xf8a2e0]]
  379. bandwidth = 100,
  380. os = "linux",
  381. arch = "x86_64",
  382. cpu = 1800,
  383. mem = 512,
  384. },
  385. ip = "139.82.2.181",
  386. },
  387. }
  388. Sun Oct 16 04:36:12 2011 [INFO] Printing All Hosts (hosts + euca_instances)
  389. { --[[table: 0x124ff30]]
  390. { --[[table: 0xf9ea60]]
  391. port = 10000,
  392. name = "machine0",
  393. languages = { --[[table: 0xfc3560]]
  394. "lua",
  395. "java",
  396. },
  397. resources = { --[[table: 0xf8a2e0]]
  398. bandwidth = 100,
  399. os = "linux",
  400. arch = "x86_64",
  401. cpu = 1800,
  402. mem = 512,
  403. },
  404. ip = "139.82.2.181",
  405. },
  406. }
  407. Sun Oct 16 04:36:12 2011 [INFO] Searching in Host Machines
  408. Sun Oct 16 04:36:12 2011 [INFO] In for
  409. Sun Oct 16 04:36:12 2011 [INFO] searching by lang_limit
  410. Sun Oct 16 04:36:12 2011 [INFO] only once plat_limit and plat_limit=linux-x86
  411. Value of host from autofit_host: table: 0xf9ea60
  412. Sun Oct 16 04:36:12 2011 [INFO] Host found(in autofit_host)
  413. Sun Oct 16 04:36:12 2011 [DEBUG] Ending ComponentEntity:autofit_host and Returning found
  414. Sun Oct 16 04:36:12 2011 [INFO] In ExecutionNodeEntity:set_host( newhost )
  415. Sun Oct 16 04:36:12 2011 [INFO] Calling self.plan:update_usage('hosts', 'plus', newhost, self )
  416. Sun Oct 16 04:36:12 2011 [INFO] In Plan:update_usage( entity_type, action, entity, who_use, delta )
  417. Sun Oct 16 04:36:12 2011 [DEBUG] entity_type: hosts
  418. Sun Oct 16 04:36:12 2011 [DEBUG] action: plus
  419. Sun Oct 16 04:36:12 2011 [DEBUG] The new value of delta is: 1
  420. Sun Oct 16 04:36:12 2011 [INFO] Initializing self.usage_info[entity_type][nickname] to 0
  421. Sun Oct 16 04:36:12 2011 [DEBUG] The oldscore is: 0
  422. Sun Oct 16 04:36:12 2011 [INFO] Action Plus
  423. Sun Oct 16 04:36:12 2011 [DEBUG] Adding oldscore: 0 + delta: 1
  424. Sun Oct 16 04:36:12 2011 [INFO] In BasicComponentEntity:get_nickname
  425. Sun Oct 16 04:36:12 2011 [INFO] Ending BasicComponentEntity:get_nickname
  426. Sun Oct 16 04:36:12 2011 [DEBUG] Updating the usage statistics: hosts nick=machine0 has: 1
  427. Sun Oct 16 04:36:12 2011 [INFO] Ending Plan:update_usage
  428. Sun Oct 16 04:36:12 2011 [INFO] Setting the newhost to self.host(in ExecutionNodeEntity:set_host(newhost))
  429. Sun Oct 16 04:36:12 2011 [INFO] Ending ExecutionNodeEntity:set_host
  430. Sun Oct 16 04:36:12 2011 [INFO] Ending ComponentEntity:autofit_exnode
  431. Sun Oct 16 04:36:12 2011 [INFO] In ContainerEntity:set_node
  432. Sun Oct 16 04:36:12 2011 [INFO] Calling self.plan:update_usage('nodes','plus, newnode, self )
  433. Sun Oct 16 04:36:12 2011 [INFO] In Plan:update_usage( entity_type, action, entity, who_use, delta )
  434. Sun Oct 16 04:36:12 2011 [DEBUG] entity_type: nodes
  435. Sun Oct 16 04:36:12 2011 [DEBUG] action: plus
  436. Sun Oct 16 04:36:12 2011 [DEBUG] The new value of delta is: 1
  437. Sun Oct 16 04:36:12 2011 [INFO] In BasicComponentEntity:get_nickname
  438. Sun Oct 16 04:36:12 2011 [INFO] Ending BasicComponentEntity:get_nickname
  439. Sun Oct 16 04:36:12 2011 [INFO] Initializing self.usage_info[entity_type][nickname] to 0
  440. Sun Oct 16 04:36:12 2011 [DEBUG] The oldscore is: 0
  441. Sun Oct 16 04:36:12 2011 [INFO] Action Plus
  442. Sun Oct 16 04:36:12 2011 [DEBUG] Adding oldscore: 0 + delta: 1
  443. Sun Oct 16 04:36:12 2011 [INFO] In BasicComponentEntity:get_nickname
  444. Sun Oct 16 04:36:12 2011 [INFO] Ending BasicComponentEntity:get_nickname
  445. Sun Oct 16 04:36:12 2011 [DEBUG] Updating the usage statistics: nodes nick=Deployer_1.Plan_2.ExecutionNodeEntity_1 has: 1
  446. Sun Oct 16 04:36:12 2011 [INFO] Ending Plan:update_usage
  447. Sun Oct 16 04:36:12 2011 [INFO] Ending ContainerEntity:set_node
  448. Sun Oct 16 04:36:12 2011 [INFO] Ending ComponentEntity:autofit_container and Returning found
  449. Sun Oct 16 04:36:14 2011 [INFO] Sleeping 2 seconds
  450. Sun Oct 16 04:36:16 2011 [INFO] Starting up the ExecutionNode
  451. Sun Oct 16 04:36:17 2011 [INFO] Trying deploy the repositories connected to this ExecutionNode
  452. Sun Oct 16 04:36:17 2011 [INFO] In Plan:get_manager()
  453. Sun Oct 16 04:36:17 2011 [INFO] Obtains the manager associated with this deployment Plan
  454. Sun Oct 16 04:36:17 2011 [INFO] Ending Plan:get_manager and Returning Plan:get_manager
  455. Sun Oct 16 04:36:17 2011 [INFO] In Deployer:get_public_repositories
  456. Sun Oct 16 04:36:17 2011 [INFO] Trigger an update of the self.cache.repositories when we found an outdate IOR
  457. Sun Oct 16 04:36:17 2011 [DEBUG] Testing the reference persisted for the repository: 10.0.0.12 : 10001
  458. Sun Oct 16 04:36:17 2011 [INFO] In BasicComponentEntity:get_nickname
  459. Sun Oct 16 04:36:17 2011 [INFO] Ending BasicComponentEntity:get_nickname
  460. Sun Oct 16 04:36:17 2011 [DEBUG] [AMADEU] nickname: Deployer_1.Plan_1.RepositoryEntity_1
  461. Sun Oct 16 04:36:17 2011 [INFO] Ending Deployer:get_public_repositories and Returning repository_array
  462. Sun Oct 16 04:36:17 2011 [INFO] In ExecutionNodeEntity:add_known_repositories
  463. Sun Oct 16 04:36:17 2011 [INFO] In BasicComponentEntity:add_connection
  464. Sun Oct 16 04:36:17 2011 [INFO] In BasicComponentEntity:get_nickname
  465. Sun Oct 16 04:36:17 2011 [INFO] Ending BasicComponentEntity:get_nickname
  466. Sun Oct 16 04:36:17 2011 [INFO] In BasicComponentEntity:get_nickname
  467. Sun Oct 16 04:36:17 2011 [INFO] Ending BasicComponentEntity:get_nickname
  468. Sun Oct 16 04:36:17 2011 [INFO] In BasicComponentEntity:get_description
  469. Sun Oct 16 04:36:17 2011 [INFO] Ending BasicComponentEntity:get_description and Returing ret
  470. Sun Oct 16 04:36:17 2011 [INFO] In BasicComponentEntity:get_description
  471. Sun Oct 16 04:36:17 2011 [INFO] Ending BasicComponentEntity:get_description and Returing ret
  472. Sun Oct 16 04:36:17 2011 [DEBUG] New planned connection between 'Deployer_1.Plan_2.ExecutionNodeEntity_1' and the endpoint 'Deployer_1.Plan_1.RepositoryEntity_1' as known as: name = ComponentRepository version = 1.0-0
  473. Sun Oct 16 04:36:17 2011 [INFO] Ending BasicComponentEntity:add_connection
  474. Sun Oct 16 04:36:17 2011 [INFO] In BasicComponentEntity:get_nickname
  475. Sun Oct 16 04:36:17 2011 [INFO] Ending BasicComponentEntity:get_nickname
  476. Sun Oct 16 04:36:17 2011 [INFO] Including the entity as repository ' Deployer_1.Plan_1.RepositoryEntity_1 '
  477. Sun Oct 16 04:36:17 2011 [INFO] Ending ExecutionNodeEntity:add_known_repositories
  478. Sun Oct 16 04:36:17 2011 [INFO] Connects me to repositories, very similar to the deployment of generic connections
  479. Sun Oct 16 04:36:17 2011 [INFO] In BasicComponentEntity:deploy_connections
  480. Sun Oct 16 04:36:17 2011 [INFO] ===In RepositoryEntity:deploy===
  481. Sun Oct 16 04:36:17 2011 [INFO] In BasicComponentEntity:get_facet
  482. Sun Oct 16 04:36:17 2011 [INFO] Ending BasicComponentEntity:get_facet and Returning proxy
  483. Sun Oct 16 04:36:17 2011 [INFO] In BasicComponentEntity:get_facet
  484. Sun Oct 16 04:36:17 2011 [INFO] Ending BasicComponentEntity:get_facet and Returning proxy
  485. Sun Oct 16 04:36:17 2011 [INFO] Ending BasicComponentEntity:deploy_connections and Returning true
  486. Sun Oct 16 04:36:17 2011 [INFO] ExecutionNodeEntity deployed!
  487. Sun Oct 16 04:36:17 2011 [INFO] Ending ExecutionNodeEntity:deploy and Returning true
  488. Sun Oct 16 04:36:17 2011 [INFO] If some attribute is nil we should decide what is good and filled it!
  489. Sun Oct 16 04:36:17 2011 [DEBUG] Planned properties: language and lua
  490. Sun Oct 16 04:36:17 2011 [INFO] Launchs Container
  491. Sun Oct 16 04:36:17 2011 [INFO] In BasicComponentEntity:get_facet
  492. Sun Oct 16 04:36:17 2011 [INFO] Ending BasicComponentEntity:get_facet and Returning proxy
  493. Sun Oct 16 04:36:17 2011 [INFO] In BasicComponentEntity:get_nickname
  494. Sun Oct 16 04:36:17 2011 [INFO] Ending BasicComponentEntity:get_nickname
  495. Sun Oct 16 04:36:18 2011 [INFO] ContainerEntity deployed!
  496. Sun Oct 16 04:36:18 2011 [INFO] Ending ContainerEntity:deploy and Returning true
  497. Sun Oct 16 04:36:18 2011 [INFO] In BasicComponentEntity:get_facet
  498. Sun Oct 16 04:36:18 2011 [INFO] Ending BasicComponentEntity:get_facet and Returning proxy
  499. Sun Oct 16 04:36:18 2011 [INFO] In BasicComponentEntity:deploy_connections
  500. Sun Oct 16 04:36:18 2011 [INFO] Ending BasicComponentEntity:deploy_connections and Returning true
  501. Sun Oct 16 04:36:18 2011 [INFO] ComponentEntity deployed!
  502. Sun Oct 16 04:36:18 2011 [INFO] Ending ComponentEntity:deploy and Returning true
  503. Sun Oct 16 04:36:18 2011 [INFO] Ending Plan:deploy and Returning true
  504. Sun Oct 16 04:36:18 2011 [INFO] In Plan:activate
  505. Sun Oct 16 04:36:18 2011 [INFO] In BasicComponentEntity:get_nickname
  506. Sun Oct 16 04:36:18 2011 [INFO] Ending BasicComponentEntity:get_nickname
  507. Sun Oct 16 04:36:18 2011 [INFO] In BasicComponentEntity:get_description
  508. Sun Oct 16 04:36:18 2011 [INFO] Ending BasicComponentEntity:get_description and Returing ret
  509. Sun Oct 16 04:36:18 2011 [DEBUG] Activating: Deployer_1.Plan_2.ComponentEntity_1 and Hello-1.0-0
  510. Sun Oct 16 04:36:18 2011 [INFO] In BasicComponentEntity:activate
  511. Sun Oct 16 04:36:18 2011 [INFO] Ending BasicComponentEntity:activate
  512. Sun Oct 16 04:36:18 2011 [INFO] Ending Plan:activate and Returning true
  513. Sun Oct 16 04:36:18 2011 [INFO] In BasicComponentEntity:get_facet
  514. Sun Oct 16 04:36:18 2011 [INFO] Ending BasicComponentEntity:get_facet and Returning proxy
  515. Sun Oct 16 04:36:18 2011 [INFO] In Plan:undeploy
  516. Sun Oct 16 04:36:18 2011 [INFO] In BasicComponentEntity:get_nickname
  517. Sun Oct 16 04:36:18 2011 [INFO] Ending BasicComponentEntity:get_nickname
  518. Sun Oct 16 04:36:18 2011 [INFO] In BasicComponentEntity:get_description
  519. Sun Oct 16 04:36:18 2011 [INFO] Ending BasicComponentEntity:get_description and Returing ret
  520. Sun Oct 16 04:36:18 2011 [DEBUG] Undeploying:Deployer_1.Plan_2.ComponentEntity_1 and Hello-1.0-0
  521. Sun Oct 16 04:36:18 2011 [INFO] In ComponentEntity:undeploy
  522. Sun Oct 16 04:36:18 2011 [INFO] In BasicComponentEntity:still_deployed
  523. Sun Oct 16 04:36:18 2011 [INFO] In BasicComponentEntity:get_nickname
  524. Sun Oct 16 04:36:18 2011 [INFO] Ending BasicComponentEntity:get_nickname
  525. Sun Oct 16 04:36:18 2011 [DEBUG] Testing still deployed:Deployer_1.Plan_2.ContainerEntity_1 proxy to the facet: IComponent
  526. Sun Oct 16 04:36:18 2011 [INFO] In BasicComponentEntity:get_nickname
  527. Sun Oct 16 04:36:18 2011 [INFO] Ending BasicComponentEntity:get_nickname
  528. Sun Oct 16 04:36:18 2011 [DEBUG] Testing still deployed:Deployer_1.Plan_2.ContainerEntity_1 proxy to the facet: ComponentCollection
  529. Sun Oct 16 04:36:18 2011 [DEBUG] The CORBA proxy: ComponentCollection is outdated!
  530. Sun Oct 16 04:36:18 2011 [INFO] Ending BasicComponentEntity:still_deployed and Returning self.deployed
  531. Sun Oct 16 04:36:18 2011 [INFO] In BasicComponentEntity:still_deployed
  532. Sun Oct 16 04:36:18 2011 [INFO] In BasicComponentEntity:get_nickname
  533. Sun Oct 16 04:36:18 2011 [INFO] Ending BasicComponentEntity:get_nickname
  534. Sun Oct 16 04:36:18 2011 [DEBUG] Testing still deployed:Deployer_1.Plan_2.ComponentEntity_1 proxy to the facet: IComponent
  535. Sun Oct 16 04:36:18 2011 [INFO] In BasicComponentEntity:get_nickname
  536. Sun Oct 16 04:36:18 2011 [INFO] Ending BasicComponentEntity:get_nickname
  537. Sun Oct 16 04:36:18 2011 [DEBUG] Testing still deployed:Deployer_1.Plan_2.ComponentEntity_1 proxy to the facet: Hello
  538. Sun Oct 16 04:36:18 2011 [DEBUG] The CORBA proxy: Hello is outdated!
  539. Sun Oct 16 04:36:18 2011 [INFO] Ending BasicComponentEntity:still_deployed and Returning self.deployed
  540. Sun Oct 16 04:36:18 2011 [INFO] In BasicComponentEntity:get_nickname
  541. Sun Oct 16 04:36:18 2011 [INFO] Ending BasicComponentEntity:get_nickname
  542. Sun Oct 16 04:36:18 2011 [INFO] In BasicComponentEntity:get_nickname
  543. Sun Oct 16 04:36:18 2011 [INFO] Ending BasicComponentEntity:get_nickname
  544. Sun Oct 16 04:36:18 2011 [DEBUG] Undeploy of the entity: Deployer_1.Plan_2.ComponentEntity_1 has finished successfully
  545. Sun Oct 16 04:36:18 2011 [INFO] Ending ComponentEntity:undeploy and Returning true
  546. Sun Oct 16 04:36:18 2011 [INFO] Ending Plan:undeploy and Returning true
  547. =======================================================================
  548. Sun Oct 16 04:36:49 2011 [INFO] In Deployer:get_plans
  549. Sun Oct 16 04:36:49 2011 [INFO] Ending Deployer:get_plans and Returning self.all_plans_servants
  550. Sun Oct 16 04:36:49 2011 [INFO] In Plan:mark_as_admin
  551. Sun Oct 16 04:36:49 2011 [INFO] Ending Plan:mark_as_admin
  552. Sun Oct 16 04:36:49 2011 [INFO] In Plan:get_nickname
  553. Sun Oct 16 04:36:49 2011 [INFO] Ending Plan:get_nickname
  554. Sun Oct 16 04:36:49 2011 [INFO] In Plan:undeploy
  555. Sun Oct 16 04:36:49 2011 [INFO] In BasicComponentEntity:get_nickname
  556. Sun Oct 16 04:36:49 2011 [INFO] Ending BasicComponentEntity:get_nickname
  557. Sun Oct 16 04:36:49 2011 [INFO] In BasicComponentEntity:get_description
  558. Sun Oct 16 04:36:49 2011 [INFO] Ending BasicComponentEntity:get_description and Returing ret
  559. [DEPLOY VERBOSE] Undeploying: Deployer_1.Plan_1.RepositoryEntity_1 ComponentRepository-1.0-0
  560. Sun Oct 16 04:36:49 2011 [INFO] In RepositoryEntities:undeploy
  561. Sun Oct 16 04:36:49 2011 [INFO] In Plan:get_manager()
  562. Sun Oct 16 04:36:49 2011 [INFO] Obtains the manager associated with this deployment Plan
  563. Sun Oct 16 04:36:49 2011 [INFO] Ending Plan:get_manager and Returning Plan:get_manager
  564. Sun Oct 16 04:36:49 2011 [INFO] In Deployer:del_public_repositories
  565. Sun Oct 16 04:36:49 2011 [INFO] In RepositoryEntity:get_host
  566. Sun Oct 16 04:36:49 2011 [INFO] Ending RepositoryEntity:get_host
  567. Sun Oct 16 04:36:49 2011 [INFO] In BasicComponentEntity:get_nickname
  568. Sun Oct 16 04:36:49 2011 [INFO] Ending BasicComponentEntity:get_nickname
  569. [DEPLOY VERBOSE] DEBUG: Removing the repository Deployer_1.Plan_1.RepositoryEntity_1 from public list.
  570. Sun Oct 16 04:36:49 2011 [INFO] Ending Deployer:del_public_repositories
  571. Sun Oct 16 04:36:49 2011 [INFO] In BasicComponentEntity:deactivate
  572. Sun Oct 16 04:36:49 2011 [INFO] Ending BasicComponentEntity:deactivate
  573. Sun Oct 16 04:36:49 2011 [INFO] In BasicComponentEntity:get_nickname
  574. Sun Oct 16 04:36:49 2011 [INFO] Ending BasicComponentEntity:get_nickname
  575. [DEPLOY VERBOSE] RepositoryEntity undeployed!
  576. Sun Oct 16 04:36:49 2011 [INFO] Ending RepositoryEntities:undeploy
  577. Sun Oct 16 04:36:49 2011 [INFO] Ending Plan:undeploy and Returning true
  578. Sun Oct 16 04:36:49 2011 [INFO] In Deployer:delete_plan
  579. Sun Oct 16 04:36:49 2011 [INFO] In Plan:get_nickname
  580. Sun Oct 16 04:36:49 2011 [INFO] Ending Plan:get_nickname
  581. Sun Oct 16 04:36:49 2011 [INFO] In Plan:get_nickname
  582. Sun Oct 16 04:36:49 2011 [INFO] Ending Plan:get_nickname
  583. Sun Oct 16 04:36:49 2011 [INFO] Ending Deployer:delete_plan
  584. Sun Oct 16 04:36:49 2011 [INFO] In Plan:mark_as_admin
  585. Sun Oct 16 04:36:49 2011 [INFO] Ending Plan:mark_as_admin
  586. Sun Oct 16 04:36:49 2011 [INFO] In Plan:get_nickname
  587. Sun Oct 16 04:36:49 2011 [INFO] Ending Plan:get_nickname
  588. Sun Oct 16 04:36:49 2011 [INFO] In Plan:undeploy
  589. Sun Oct 16 04:36:49 2011 [INFO] In BasicComponentEntity:get_nickname
  590. Sun Oct 16 04:36:49 2011 [INFO] Ending BasicComponentEntity:get_nickname
  591. Sun Oct 16 04:36:49 2011 [INFO] In BasicComponentEntity:get_description
  592. Sun Oct 16 04:36:49 2011 [INFO] Ending BasicComponentEntity:get_description and Returing ret
  593. Sun Oct 16 04:36:49 2011 [DEBUG] Undeploying:Deployer_1.Plan_2.ComponentEntity_1 and Hello-1.0-0
  594. Sun Oct 16 04:36:49 2011 [INFO] In ComponentEntity:undeploy
  595. Sun Oct 16 04:36:49 2011 [INFO] In BasicComponentEntity:get_nickname
  596. Sun Oct 16 04:36:49 2011 [INFO] Ending BasicComponentEntity:get_nickname
  597. [DEPLOY VERBOSE] WARNING: The entity Deployer_1.Plan_2.ComponentEntity_1 is not deployed. No problem.
  598. Sun Oct 16 04:36:49 2011 [INFO] In BasicComponentEntity:get_nickname
  599. Sun Oct 16 04:36:49 2011 [INFO] Ending BasicComponentEntity:get_nickname
  600. Sun Oct 16 04:36:49 2011 [INFO] In BasicComponentEntity:get_description
  601. Sun Oct 16 04:36:49 2011 [INFO] Ending BasicComponentEntity:get_description and Returing ret
  602. [DEPLOY VERBOSE] Undeploying: Deployer_1.Plan_2.ContainerEntity_1 ComponentContainer-1.0-0
  603. Sun Oct 16 04:36:49 2011 [INFO] In ContainerEntity:undeploy
  604. Sun Oct 16 04:36:49 2011 [INFO] In BasicComponentEntity:get_nickname
  605. Sun Oct 16 04:36:49 2011 [INFO] Ending BasicComponentEntity:get_nickname
  606. [DEPLOY VERBOSE] WARNING: The entity Deployer_1.Plan_2.ContainerEntity_1 is not deployed. No problem.
  607. Sun Oct 16 04:36:49 2011 [INFO] In BasicComponentEntity:get_nickname
  608. Sun Oct 16 04:36:49 2011 [INFO] Ending BasicComponentEntity:get_nickname
  609. Sun Oct 16 04:36:49 2011 [INFO] In BasicComponentEntity:get_description
  610. Sun Oct 16 04:36:49 2011 [INFO] Ending BasicComponentEntity:get_description and Returing ret
  611. [DEPLOY VERBOSE] Undeploying: Deployer_1.Plan_2.ExecutionNodeEntity_1 ExecutionNode-1.0-0
  612. Sun Oct 16 04:36:49 2011 [INFO] In ExecutionNodeEntity:undeploy
  613. Sun Oct 16 04:36:49 2011 [INFO] In BasicComponentEntity:deactivate
  614. Sun Oct 16 04:36:50 2011 [INFO] Ending BasicComponentEntity:deactivate
  615. Sun Oct 16 04:36:50 2011 [INFO] In BasicComponentEntity:get_nickname
  616. Sun Oct 16 04:36:50 2011 [INFO] Ending BasicComponentEntity:get_nickname
  617. [DEPLOY VERBOSE] ExecutionNodeEntity undeployed!
  618. Sun Oct 16 04:36:50 2011 [INFO] Ending ExecutionNodeEntity:undeploy
  619. Sun Oct 16 04:36:50 2011 [INFO] Ending Plan:undeploy and Returning true
  620. Sun Oct 16 04:36:50 2011 [INFO] In Deployer:delete_plan
  621. Sun Oct 16 04:36:50 2011 [INFO] In Plan:get_nickname
  622. Sun Oct 16 04:36:50 2011 [INFO] Ending Plan:get_nickname
  623. Sun Oct 16 04:36:50 2011 [INFO] In Plan:get_nickname
  624. Sun Oct 16 04:36:50 2011 [INFO] Ending Plan:get_nickname
  625. Sun Oct 16 04:36:50 2011 [INFO] Ending Deployer:delete_plan
  626. Sun Oct 16 04:36:50 2011 [INFO] In Deployer:get_public_repositories
  627. Sun Oct 16 04:36:50 2011 [INFO] Trigger an update of the self.cache.repositories when we found an outdate IOR
  628. Sun Oct 16 04:36:50 2011 [INFO] Ending Deployer:get_public_repositories and Returning repository_array
  629. Sun Oct 16 04:36:51 2011 [INFO] In Plan:undeploy
  630. Sun Oct 16 04:36:51 2011 [INFO] In BasicComponentEntity:get_nickname
  631. Sun Oct 16 04:36:51 2011 [INFO] Ending BasicComponentEntity:get_nickname
  632. Sun Oct 16 04:36:51 2011 [INFO] In BasicComponentEntity:get_description
  633. Sun Oct 16 04:36:51 2011 [INFO] Ending BasicComponentEntity:get_description and Returing ret
  634. [DEPLOY VERBOSE] Undeploying: Deployer_1.Plan_1.RepositoryEntity_1 ComponentRepository-1.0-0
  635. Sun Oct 16 04:36:51 2011 [INFO] In RepositoryEntities:undeploy
  636. Sun Oct 16 04:36:51 2011 [INFO] In BasicComponentEntity:get_nickname
  637. Sun Oct 16 04:36:51 2011 [INFO] Ending BasicComponentEntity:get_nickname
  638. [DEPLOY VERBOSE] WARNING: The entity Deployer_1.Plan_1.RepositoryEntity_1 is not deployed. No problem.
  639. Sun Oct 16 04:36:51 2011 [INFO] Ending Plan:undeploy and Returning true
  640. Sun Oct 16 04:36:52 2011 [INFO] In Plan:undeploy
  641. Sun Oct 16 04:36:52 2011 [INFO] In BasicComponentEntity:get_nickname
  642. Sun Oct 16 04:36:52 2011 [INFO] Ending BasicComponentEntity:get_nickname
  643. Sun Oct 16 04:36:52 2011 [INFO] In BasicComponentEntity:get_description
  644. Sun Oct 16 04:36:52 2011 [INFO] Ending BasicComponentEntity:get_description and Returing ret
  645. Sun Oct 16 04:36:52 2011 [DEBUG] Undeploying:Deployer_1.Plan_2.ComponentEntity_1 and Hello-1.0-0
  646. Sun Oct 16 04:36:52 2011 [INFO] In ComponentEntity:undeploy
  647. Sun Oct 16 04:36:52 2011 [INFO] In BasicComponentEntity:get_nickname
  648. Sun Oct 16 04:36:52 2011 [INFO] Ending BasicComponentEntity:get_nickname
  649. [DEPLOY VERBOSE] WARNING: The entity Deployer_1.Plan_2.ComponentEntity_1 is not deployed. No problem.
  650. Sun Oct 16 04:36:52 2011 [INFO] In BasicComponentEntity:get_nickname
  651. Sun Oct 16 04:36:52 2011 [INFO] Ending BasicComponentEntity:get_nickname
  652. Sun Oct 16 04:36:52 2011 [INFO] In BasicComponentEntity:get_description
  653. Sun Oct 16 04:36:52 2011 [INFO] Ending BasicComponentEntity:get_description and Returing ret
  654. [DEPLOY VERBOSE] Undeploying: Deployer_1.Plan_2.ContainerEntity_1 ComponentContainer-1.0-0
  655. Sun Oct 16 04:36:52 2011 [INFO] In ContainerEntity:undeploy
  656. Sun Oct 16 04:36:52 2011 [INFO] In BasicComponentEntity:get_nickname
  657. Sun Oct 16 04:36:52 2011 [INFO] Ending BasicComponentEntity:get_nickname
  658. [DEPLOY VERBOSE] WARNING: The entity Deployer_1.Plan_2.ContainerEntity_1 is not deployed. No problem.
  659. Sun Oct 16 04:36:52 2011 [INFO] In BasicComponentEntity:get_nickname
  660. Sun Oct 16 04:36:52 2011 [INFO] Ending BasicComponentEntity:get_nickname
  661. Sun Oct 16 04:36:52 2011 [INFO] In BasicComponentEntity:get_description
  662. Sun Oct 16 04:36:52 2011 [INFO] Ending BasicComponentEntity:get_description and Returing ret
  663. [DEPLOY VERBOSE] Undeploying: Deployer_1.Plan_2.ExecutionNodeEntity_1 ExecutionNode-1.0-0
  664. Sun Oct 16 04:36:52 2011 [INFO] In ExecutionNodeEntity:undeploy
  665. Sun Oct 16 04:36:52 2011 [INFO] In BasicComponentEntity:get_nickname
  666. Sun Oct 16 04:36:52 2011 [INFO] Ending BasicComponentEntity:get_nickname
  667. [DEPLOY VERBOSE] WARNING: The entity Deployer_1.Plan_2.ExecutionNodeEntity_1 is not deployed. No problem.
  668. Sun Oct 16 04:36:52 2011 [INFO] Ending Plan:undeploy and Returning true
  669. =======================================================================
  670.  
  671. edward@pituba:~/projects/scs-deploysystem/src/lua/scs/demos/deployer$ ./rundemo launch-repository.lua
  672. ATTENTION: Using the SCS_HOME system variable as /home/edward/projects/scs-deploysystem
  673. Sun Oct 16 04:30:18 2011 [INFO] Defining a host to place the repository
  674. Sun Oct 16 04:30:19 2011 [INFO] Using Deployment Policy: Host Descriptions
  675. Sun Oct 16 04:30:19 2011 [INFO] In search(descriptorhelper.lua)
  676. Sun Oct 16 04:30:19 2011 [DEBUG] kind: hosts
  677. Sun Oct 16 04:30:19 2011 [DEBUG] name: vm01
  678. Sun Oct 16 04:30:19 2011 [DEBUG] The path created is: /home/edward/projects/scs-deploysystem/src/lua/scs/deployer/hosts/vm01.lua
  679. Sun Oct 16 04:30:19 2011 [INFO] Calling importFromFile(path) from search(descriptionhelper)
  680. Sun Oct 16 04:30:19 2011 [INFO] In importFromFile(descriptorhelper.lua)
  681. Sun Oct 16 04:30:19 2011 [DEBUG] Type of vm01_host: table
  682. { --[[table: 0xf11750]]
  683. port = 10000,
  684. name = "vm01",
  685. languages = { --[[table: 0xf1cd70]]
  686. "lua",
  687. "java",
  688. },
  689. resources = { --[[table: 0xee1380]]
  690. bandwidth = 100,
  691. os = "linux",
  692. arch = "x86_64",
  693. cpu = 1800,
  694. mem = 512,
  695. },
  696. ip = "10.0.0.12",
  697. }
  698. Sun Oct 16 04:30:19 2011 [INFO] Creating a Plan to Deploy the ComponentRepository
  699. Sun Oct 16 04:30:19 2011 [INFO] Creating Repository from Plan
  700. Sun Oct 16 04:30:19 2011 [INFO] Repository planned: Deployer_1.Plan_1.RepositoryEntity_1
  701. Sun Oct 16 04:30:19 2011 [INFO] Trying Deployment Step
  702. Sun Oct 16 04:30:42 2011 [INFO] Repository deployed!
  703. Sun Oct 16 04:30:42 2011 [INFO] Waiting for 2 seconds...
  704. Sun Oct 16 04:30:44 2011 [INFO] Trying Activating Step
  705. Sun Oct 16 04:30:44 2011 [INFO] Repository is activated!
  706. Sun Oct 16 04:30:44 2011 [INFO] Repository is running!
  707. Sun Oct 16 04:30:44 2011 [INFO] 'purgeallplans.lua' will show you how to undeploy a repository.
  708. Sun Oct 16 04:30:44 2011 [INFO] Finished successfuly.
  709. edward@pituba:~/projects/scs-deploysystem/src/lua/scs/demos/deployer$ ps aux|grep lua
  710. edward 3277 0.0 0.0 33788 2012 pts/16 S+ Oct14 0:02 vim Manager.lua
  711. edward 11669 0.0 0.0 12300 1612 pts/17 S+ 04:28 0:00 /bin/bash ./rundemo launch-manager.lua
  712. edward 11671 0.6 0.5 29832 11440 pts/17 S+ 04:28 0:00 lua -lluarocks.require ../../../utils/debuglua.lua launch-manager.lua
  713. edward 11931 0.0 0.0 9136 1064 pts/10 S+ 04:31 0:00 grep --color=auto lua
  714. edward 12124 0.0 0.0 33556 684 pts/29 S+ Oct14 0:00 vim Packager.lua
  715. edward@pituba:~/projects/scs-deploysystem/src/lua/scs/demos/deployer$ ps aux|grep lua
  716. edward 3277 0.0 0.0 33788 1864 pts/16 S+ Oct14 0:02 vim Manager.lua
  717. edward 11669 0.0 0.0 12300 1536 pts/17 S+ 04:28 0:00 /bin/bash ./rundemo launch-manager.lua
  718. edward 11671 0.2 0.5 29788 11400 pts/17 S+ 04:28 0:00 lua -lluarocks.require ../../../utils/debuglua.lua launch-manager.lua
  719. edward 12124 0.0 0.0 33556 684 pts/29 S+ Oct14 0:00 vim Packager.lua
  720. edward 12283 0.0 0.0 9136 1064 pts/10 S+ 04:35 0:00 grep --color=auto lua
  721. edward@pituba:~/projects/scs-deploysystem/src/lua/scs/demos/deployer$ vim hello-deployment.lua
  722. edward@pituba:~/projects/scs-deploysystem/src/lua/scs/demos/deployer$ ./rundemo hello-deployment.lua
  723. ATTENTION: Using the SCS_HOME system variable as /home/edward/projects/scs-deploysystem
  724. { --[[table: 0x1eb0d30]]
  725. __reference = { --[[table: 0x1eaf900]]
  726. type_id = "",
  727. profiles = { --[[table: 0x1eb0aa0]]
  728. { --[[table: 0x1eb0fb0]]
  729. profile_data = "\000�\r\000\000\000139.82.2.181\000�� \
  730. \000\000\000Deployer_1",
  731. tag = 0,
  732. },
  733. },
  734. },
  735. __deferred = { --[[table: 0x1eb0770]]
  736. __reference = table: 0x1eaf900,
  737. },
  738. __try = { --[[table: 0x1eb2920]]
  739. __reference = table: 0x1eaf900,
  740. },
  741. }
  742. Sun Oct 16 04:36:11 2011 [DEBUG] Plan created with id='Deployer_1.Plan_2'
  743. Sun Oct 16 04:36:18 2011 [INFO] Hello component was deployed!
  744. Sun Oct 16 04:36:18 2011 [INFO] Plan activated!
  745. Sun Oct 16 04:36:18 2011 [INFO] User application actions is starting!
  746. Sun Oct 16 04:36:18 2011 [INFO] Hello component prints a message 'sayHello' in the screen of its parent process (in case = container, the container prints out in the file: src/lua/scs/execution_node/STDOUT-<containername>.log)
  747. Sun Oct 16 04:36:18 2011 [INFO] User application actions finished!
  748. Sun Oct 16 04:36:18 2011 [INFO] Deactivating the deployment plan!
  749. Sun Oct 16 04:36:18 2011 [INFO] Finished successfuly.
  750. edward@pituba:~/projects/scs-deploysystem/src/lua/scs/demos/deployer$ ./rundemo purgeallplans.lua
  751. ATTENTION: Using the SCS_HOME system variable as /home/edward/projects/scs-deploysystem
  752. [info] undeploying the plan [1] name: Deployer_1.Plan_1
  753. [info] undeploying the plan [2] name: Deployer_1.Plan_2
  754. [info] finished successfuly.
  755. edward@pituba:~/projects/scs-deploysystem/src/lua/scs/demos/deployer$
  756.  
  757.  
  758. VM01 - Repository - Packager
  759.  
  760.  
  761.  
  762. root@i-000000a3:~/scs-deploysystem/src/lua/scs/demos/deployer# ./rundemo packager-manager.lua
  763. ATTENTION: Using the SCS_HOME system variable as /root/scs-deploysystem
  764. Sun Oct 16 06:28:58 2011 INFO new orb instance publicy accessible
  765. Sun Oct 16 06:29:00 2011 INFO A New Instance of a Packager
  766. Sun Oct 16 06:29:01 2011 INFO In Utils:updateConfig(cfg) from utils.lua
  767. Sun Oct 16 06:29:01 2011 INFO Trying change the directory information
  768. Sun Oct 16 06:29:01 2011 INFO Loading manifest
  769. Sun Oct 16 06:29:01 2011 ERROR ERROR: Unable to update the manifest, more see: Failed loading manifest for /tmp/luarocksrepository/rocks
  770. Sun Oct 16 06:29:01 2011 INFO End Utils:info(cfg)
  771. Sun Oct 16 06:29:01 2011 INFO Printing a Packager:
  772. Sun Oct 16 06:29:01 2011 DEBUG Packager type: table
  773. ===================================================
  774. [SCS VERBOSE] Packager::create_from_dir : The Rockspec is a valid for LuaRocks!
  775. [SCS VERBOSE] Packager::create_from_dir : The Rockspec is a valid for the deployment tool also!
  776. Updating manifest for /tmp/luarocksrepository/rocks
  777. No existing manifest. Attempting to rebuild...
  778. adding: conf/ (stored 0%)
  779. adding: conf/hello.template (deflated 57%)
  780. adding: conf/hello.lua.all.desc (deflated 53%)
  781. adding: hello-1.0-0.rockspec (deflated 43%)
  782. adding: idl/ (stored 0%)
  783. adding: idl/hello.idl (deflated 36%)
  784. adding: lua/ (stored 0%)
  785. adding: lua/scs/ (stored 0%)
  786. adding: lua/scs/demos/ (stored 0%)
  787. adding: lua/scs/demos/hello/ (stored 0%)
  788. adding: lua/scs/demos/hello/HelloFactory.lua (deflated 55%)
  789. adding: lua/scs/demos/hello/Hello.lua (deflated 48%)
  790. [SCS VERBOSE] Packager::create_from_dir : Loading the implementation descriptions from the directory: /root/scs-deploysystem/src/lua/scs/demos/hello//conf
  791. [SCS VERBOSE] Packager::create_from_dir : Implementation description loaded successfully.
  792. [SCS VERBOSE] Packager::create_from_dir : Template description loaded successfully.
  793. [SCS VERBOSE] Packager::create_from_dir : New binary rock created '/root/scs-deploysystem/src/lua/scs/demos/deployer/hello-1.0-0.all.rock'
  794. Checking stability of dependencies on the absence of
  795. hello 1.0-0...
  796.  
  797. Removing hello 1.0-0...
  798. [SCS VERBOSE] Packager::list_temp_repository : Searching for packages in the repository /tmp/luarocksrepository
  799. [SCS VERBOSE] Packager::create_from_dir : Other packages installed during the packaging procedure
  800. [SCS VERBOSE] Packager::create_from_dir : The Rockspec is a valid for LuaRocks!
  801. [SCS VERBOSE] Packager::create_from_dir : The Rockspec is a valid for the deployment tool also!
  802. Buildfile: /root/scs-deploysystem/src/java/scs/demos/helloworld/build.xml
  803.  
  804. clean:
  805. [delete] Deleting directory /root/scs-deploysystem/classes
  806.  
  807. idl-hello:
  808. [mkdir] Created dir: /root/scs-deploysystem/classes
  809. [jacidl] scan file: /root/scs-deploysystem/idl/hello.idl
  810. [jacidl] processing idl file: /root/scs-deploysystem/idl/hello.idl
  811. [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
  812. [javac] Compiling 7 source files to /root/scs-deploysystem/classes
  813. [javac] Note: /root/scs-deploysystem/generated/scs/demos/helloworld/HelloPOA.java uses unchecked or unsafe operations.
  814. [javac] Note: Recompile with -Xlint:unchecked for details.
  815.  
  816. servicesidl.check:
  817.  
  818. coreidl.check:
  819.  
  820. idl-core:
  821.  
  822. idl-services:
  823.  
  824. jar-servicesidl:
  825.  
  826. build-hello:
  827. [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
  828. [javac] Compiling 4 source files to /root/scs-deploysystem/classes
  829.  
  830. jar-hello:
  831. [jar] Building jar: /root/scs-deploysystem/src/java/scs/demos/helloworld/jar/helloworld.jar
  832.  
  833. BUILD SUCCESSFUL
  834. Total time: 1 minute 20 seconds
  835. Updating manifest for /tmp/luarocksrepository/rocks
  836. No existing manifest. Attempting to rebuild...
  837. adding: conf/ (stored 0%)
  838. adding: conf/hello.template (deflated 57%)
  839. adding: conf/hello.java.all.desc (deflated 54%)
  840. adding: hello-1.0-0.rockspec (deflated 41%)
  841. adding: jar/ (stored 0%)
  842. adding: jar/helloworld.jar (deflated 17%)
  843. [SCS VERBOSE] Packager::create_from_dir : Loading the implementation descriptions from the directory: /root/scs-deploysystem/src/java/scs/demos/helloworld//conf
  844. [SCS VERBOSE] Packager::create_from_dir : Implementation description loaded successfully.
  845. [SCS VERBOSE] Packager::create_from_dir : Template description loaded successfully.
  846. [SCS VERBOSE] Packager::create_from_dir : New binary rock created '/root/scs-deploysystem/src/lua/scs/demos/deployer/hello-1.0-0.all.rock'
  847. Checking stability of dependencies on the absence of
  848. hello 1.0-0...
  849.  
  850. Removing hello 1.0-0...
  851. [SCS VERBOSE] Packager::list_temp_repository : Searching for packages in the repository /tmp/luarocksrepository
  852. [SCS VERBOSE] Packager::create_from_dir : Other packages installed during the packaging procedure
  853. ====================================================================================================
  854.  
  855.  
  856.  
  857. root@i-000000a3:~/scs-deploysystem/src/lua/scs/demos/deployer# ./rundemo hello-packaging.lua
  858. ATTENTION: Using the SCS_HOME system variable as /root/scs-deploysystem
  859. { --[[table: 0x1f755e0]]
  860. __reference = { --[[table: 0x2182e00]]
  861. type_id = "",
  862. profiles = { --[[table: 0x217c6d0]]
  863. { --[[table: 0x1f6ae50]]
  864. profile_data = "\000�\
  865. \000\000\00010.0.0.12\000� \
  866. \000\000\000Packager_1",
  867. tag = 0,
  868. },
  869. },
  870. },
  871. __deferred = { --[[table: 0x222cc50]]
  872. __reference = table: 0x2182e00,
  873. },
  874. __try = { --[[table: 0x239c9e0]]
  875. __reference = table: 0x2182e00,
  876. },
  877. }
  878. { --[[table: 0x2374070]]
  879. __reference = { --[[table: 0x2393580]]
  880. type_id = "",
  881. profiles = { --[[table: 0x23940d0]]
  882. { --[[table: 0x23944d0]]
  883. profile_data = "\000�\r\000\000\000139.82.2.181\000�� \
  884. \000\000\000Deployer_1",
  885. tag = 0,
  886. },
  887. },
  888. },
  889. __deferred = { --[[table: 0x235d470]]
  890. __reference = table: 0x2393580,
  891. },
  892. __try = { --[[table: 0x22c7c70]]
  893. __reference = table: 0x2393580,
  894. },
  895. }
  896. { --[[table: 0x221bae0]]
  897. __reference = { --[[table: 0x2280ad0]]
  898. type_id = "IDL:scs/deployer/RepositoryEntity:1.0",
  899. profiles = { --[[table: 0x22755f0]]
  900. { --[[table: 0x2275720]]
  901. profile_data = "\000�\r\000\000\000139.82.2.181\000�� $\000\000\000Deployer_1.Plan_1.RepositoryEntity_1",
  902. tag = 0,
  903. },
  904. { --[[table: 0x2275ec0]]
  905. profile_data = "\000�\000\000\000pituba.inf.puc-rio.br\000� $\000\000\000Deployer_1.Plan_1.RepositoryEntity_1",
  906. tag = 0,
  907. },
  908. { --[[table: 0x22697c0]]
  909. profile_data = "\000�\000\000\000pituba\000�� ��$\000\000\000Deployer_1.Plan_1.RepositoryEntity_1",
  910. tag = 0,
  911. },
  912. { --[[table: 0x2269b70]]
  913. profile_data = "\000�\000\000\000pituba.tecgraf.org\000�� ��$\000\000\000Deployer_1.Plan_1.RepositoryEntity_1",
  914. tag = 0,
  915. },
  916. n = 4,
  917. },
  918. },
  919. __deferred = { --[[table: 0x2212090]]
  920. __reference = table: 0x2280ad0,
  921. },
  922. __try = { --[[table: 0x22084d0]]
  923. __reference = table: 0x2280ad0,
  924. },
  925. }
  926. Sun Oct 16 06:31:44 2011 INFO Packager has local access to the sources,
  927. Sun Oct 16 06:31:44 2011 INFO so we will use Packager.create_from_dir during the packaging.
  928. Sun Oct 16 06:31:44 2011 INFO Generating the package for the Lua version of the Hello.
  929. Sun Oct 16 06:31:46 2011 INFO The package of the Hello component (lua version) was published.
  930. Sun Oct 16 06:31:46 2011 INFO Generating the package for the Java version of the Hello also.
  931. Sun Oct 16 06:33:34 2011 INFO The package of the Hello component (java version) was published.
  932. root@i-000000a3:~/scs-deploysystem/src/lua/scs/demos/deployer# tree ../../repository/
  933. ../../repository/
  934. ├── ComponentRepositoryInit.lua
  935. ├── ComponentRepository.lua
  936. ├── packages
  937. │   ├── any
  938. │   ├── c++
  939. │   ├── Hello-1.0-0.template
  940. │   ├── java
  941. │   │   ├── Hello-1.0-0.all.rock
  942. │   │   └── Hello-1.0-0.all.scs
  943. │   └── lua
  944. │   ├── Hello-1.0-0.all.rock
  945. │   └── Hello-1.0-0.all.scs
  946. ├── Properties.txt
  947. ├── Properties.txt.backup
  948. ├── repo.err
  949. ├── repo.log
  950. ├── repositoryconfig.lua
  951. ├── repostart.lua
  952. ├── run
  953. └── run.bat
  954.  
  955. 5 directories, 15 files
  956. root@i-000000a3:~/scs-deploysystem/src/lua/scs/demos/deployer# ps aux|grep lua
  957. root 30489 0.0 0.3 11092 1576 pts/0 S+ 06:28 0:00 /bin/bash ./rundemo packager-manager.lua
  958. root 30491 1.4 1.6 31076 8536 pts/0 S+ 06:28 0:06 lua -lluarocks.require ../../../utils/debuglua.lua packager-manager.lua
  959. root 30550 0.1 1.2 28984 6424 pts/1 S+ 06:30 0:00 lua -lluarocks.require ../../utils/debuglua.lua repostart.lua host=10.0.0.12 port=10001
  960. root 30968 0.0 0.2 7928 1044 pts/2 S+ 06:35 0:00 grep --color=auto lua
  961.  
  962. -----------------------------------------
  963.  
  964.  
  965. edward@pituba:~/projects/scs-deploysystem/src/lua/scs/demos/deployer$ ls ../../execution_node/
  966. containers.ior ExecutionNode.lua node.log run STDERR-Deployer_1.Plan_2.ContainerEntity_1.log
  967. ExecutionNodeInit.lua node.err Properties.txt run.bat STDOUT-Deployer_1.Plan_2.ContainerEntity_1.log
  968. edward@pituba:~/projects/scs-deploysystem/src/lua/scs/demos/deployer$ ls ../../repository/
  969. ComponentRepositoryInit.lua ComponentRepository.lua Properties.txt repositoryconfig.lua repostart.lua run run.bat
  970. edward@pituba:~/projects/scs-deploysystem/src/lua/scs/demos/deployer$ ls ../../container/
  971. any Collection.lua ComponentContainer.lua Hello100 Interception.lua Loader.lua PingPong100 Properties.txt unzip.exe
  972. c++ ComponentContainerInit.lua ContainerApp.lua Hello100.desc java lua PingPong100.desc Suspension.lua
  973. edward@pituba:~/projects/scs-deploysystem/src/lua/scs/demos/deployer$ cat ../../execution_node/STDOUT-Deployer_1.Plan_2.ContainerEntity_1.log
  974. [acceptor] accept all requests from channel { --[[table:A]]
  975. ServantIndexer = { --[[table:B]] ... },
  976. ClientChannels = { --[[table:C]] ... },
  977. host = "*",
  978. port = 4394,
  979. ProxyIndexer = { --[[table:D]] ... },
  980. ServerChannels = { --[[table:E]] ... },
  981. ObjectReferrer = { --[[table:F]] ... },
  982. types = { --[[table:G]] ... },
  983. RequestListener = { --[[table:H]] ... },
  984. IIOPProfiler = { --[[table:I]] ... },
  985. OperationInvoker = { --[[table:J]] ... },
  986. RequestReceiver = { --[[table:K]] ... },
  987. BasicSystem = { --[[table:L]] ... },
  988. ObjectProxies = { --[[table:M]] ... },
  989. flavor = "intercepted;corba;typed;cooperative;base",
  990. ValueEncoder = { --[[table:N]] ... },
  991. RequestDispatcher = { --[[table:O]] ... },
  992. ServerBroker = { --[[table:P]] ... },
  993. ClientBroker = { --[[table:Q]] ... },
  994. TypeRepository = { --[[table:R]] ... },
  995. OperationRequester = { --[[table:S]] ... },
  996. tcpoptions = { --[[table:T]] ... },
  997. MessageMarshaler = { --[[table:U]] ... },
  998. }
  999. [listen] get channel with config { --[[table:A]]
  1000. ServantIndexer = { --[[table:B]] ... },
  1001. ClientChannels = { --[[table:C]] ... },
  1002. host = "*",
  1003. port = 4394,
  1004. ProxyIndexer = { --[[table:D]] ... },
  1005. ServerChannels = { --[[table:E]] ... },
  1006. ObjectReferrer = { --[[table:F]] ... },
  1007. types = { --[[table:G]] ... },
  1008. RequestListener = { --[[table:H]] ... },
  1009. IIOPProfiler = { --[[table:I]] ... },
  1010. OperationInvoker = { --[[table:J]] ... },
  1011. RequestReceiver = { --[[table:K]] ... },
  1012. BasicSystem = { --[[table:L]] ... },
  1013. ObjectProxies = { --[[table:M]] ... },
  1014. flavor = "intercepted;corba;typed;cooperative;base",
  1015. ValueEncoder = { --[[table:N]] ... },
  1016. RequestDispatcher = { --[[table:O]] ... },
  1017. ServerBroker = { --[[table:P]] ... },
  1018. ClientBroker = { --[[table:Q]] ... },
  1019. TypeRepository = { --[[table:R]] ... },
  1020. OperationRequester = { --[[table:S]] ... },
  1021. tcpoptions = { --[[table:T]] ... },
  1022. MessageMarshaler = { --[[table:U]] ... },
  1023. }
  1024. [dispatcher] object { --[[table:V]]
  1025. context = { --[[table:W]] ... },
  1026. } registered with key 0x8bf8900xa77130
  1027. [dispatcher] object { --[[table:X]]
  1028. _maxConnections = 100,
  1029. _nextConnId = 0,
  1030. context = { --[[table:W]] ... },
  1031. } registered with key 0x8b6f700xa7e6c0
  1032. [dispatcher] object { --[[table:Y]]
  1033. context = { --[[table:W]] ... },
  1034. } registered with key 0x8b6e300x9bf430
  1035. [dispatcher] object { --[[table:Z]]
  1036. context = { --[[table:W]] ... },
  1037. } registered with key 0x8b70500xa7d0a0
  1038. [dispatcher] object { --[[table:AB]]
  1039. context = { --[[table:W]] ... },
  1040. } registered with key 0x8bf8e00xab8840
  1041. [dispatcher] object { --[[table:BB]]
  1042. context = { --[[table:W]] ... },
  1043. } registered with key 0x8b6de00xab4b00
  1044. [SCS VERBOSE] SCS::Utils::ReadProperties : Line: timeout = 10
  1045. [SCS VERBOSE] SCS::Utils::ReadProperties : Line: #accessControlServerHostName = localhost
  1046. [SCS VERBOSE] SCS::Utils::ReadProperties : Line: #accessControlServerHostPort = 2089
  1047. [SCS VERBOSE] SCS::Utils::ReadProperties : Line: #privateKeyFile = /home/user/mestrado/svn/openbus/trunk/certificates/ComponentContainer.key
  1048. [SCS VERBOSE] SCS::Utils::ReadProperties : Line: #accessControlServiceCertificateFile = /home/user/mestrado/svn/openbus/trunk/certificates/AccessControlService.crt
  1049. [SCS VERBOSE] SCS::Utils::ReadProperties : Line: #path = ../../scs
  1050. [SCS VERBOSE] SCS::Utils::ReadProperties : Line: #interception = intercepted;corba;typed;cooperative;base
  1051. [SCS VERBOSE] SCS::Utils::ReadProperties : Line: oilverbose = 3
  1052. [SCS VERBOSE] ComponentContainer: New instance created under name: Deployer_1.Plan_2.ContainerEntity_1 in a platform: linux-x86_64
  1053. [proxies] new proxy to { --[[table:CB]]
  1054. type_id = "IDL:scs/core/IComponent:1.0",
  1055. profiles = { --[[table:DB]] ... },
  1056. }
  1057. [proxies] call to getFacet("IDL:scs/execution_node/ContainerManager:1.0")
  1058. [invoke] invoke remote operation
  1059. [invoke] get communication channel
  1060. [invoke] [IOR profile with tag 0]
  1061. [mutex] channel free for sending
  1062. [invoke] request 1 for operation 'getFacet'
  1063. [mutex] releasing send lock
  1064. [invoke] get reply
  1065. [mutex] channel free for receiving
  1066. [invoke] get a reply from communication channel
  1067. [invoke] got successful reply for request 1
  1068. [proxies] new proxy to { --[[table:EB]]
  1069. type_id = "IDL:scs/execution_node/ContainerManager:1.0",
  1070. profiles = { --[[table:FB]] ... },
  1071. }
  1072. [mutex] releasing receive lock
  1073. [invoke] invoke remote operation
  1074. [invoke] get communication channel
  1075. [invoke] [IOR profile with tag 0]
  1076. [mutex] channel free for sending
  1077. [invoke] request 1 for operation '_interface'
  1078. [mutex] releasing send lock
  1079. [invoke] get reply
  1080. [mutex] channel free for receiving
  1081. [invoke] get a reply from communication channel
  1082. [invoke] got successful reply for request 1
  1083. [proxies] new proxy to { --[[table:GB]]
  1084. type_id = "IDL:omg.org/CORBA/InterfaceDef:1.0",
  1085. profiles = { --[[table:HB]] ... },
  1086. }
  1087. [mutex] releasing receive lock
  1088. [proxies] call to _get_id()
  1089. [invoke] invoke remote operation
  1090. [invoke] get communication channel
  1091. [invoke] [IOR profile with tag 0]
  1092. [mutex] channel free for sending
  1093. [invoke] request 1 for operation '_get_id'
  1094. [mutex] releasing send lock
  1095. [invoke] get reply
  1096. [mutex] channel free for receiving
  1097. [invoke] get a reply from communication channel
  1098. [invoke] got successful reply for request 1
  1099. [mutex] releasing receive lock
  1100. [proxies] new proxy to { --[[table:EB]]
  1101. type_id = "IDL:scs/execution_node/ContainerManager:1.0",
  1102. [userdata:A] = { --[[table:IB]] ... },
  1103. _object = "\0000x108a2200xfe3890",
  1104. profiles = { --[[table:FB]] ... },
  1105. }
  1106. [proxies] call to _is_a("IDL:scs/execution_node/ContainerManager:1.0")
  1107. [invoke] invoke remote operation
  1108. [invoke] get communication channel
  1109. [mutex] channel free for sending
  1110. [invoke] request 1 for operation '_is_a'
  1111. [mutex] releasing send lock
  1112. [invoke] get reply
  1113. [mutex] channel free for receiving
  1114. [invoke] get a reply from communication channel
  1115. [invoke] got successful reply for request 1
  1116. [mutex] releasing receive lock
  1117. [proxies] new proxy to { --[[table:EB]]
  1118. type_id = "IDL:scs/execution_node/ContainerManager:1.0",
  1119. [userdata:A] = { --[[table:IB]] ... },
  1120. _object = "\0000x108a2200xfe3890",
  1121. profiles = { --[[table:FB]] ... },
  1122. }
  1123. [proxies] call to getFacet("IDL:scs/execution_node/Installer:1.0")
  1124. [invoke] invoke remote operation
  1125. [invoke] get communication channel
  1126. [mutex] channel free for sending
  1127. [invoke] request 1 for operation 'getFacet'
  1128. [mutex] releasing send lock
  1129. [invoke] get reply
  1130. [mutex] channel free for receiving
  1131. [invoke] get a reply from communication channel
  1132. [invoke] got successful reply for request 1
  1133. [proxies] new proxy to { --[[table:JB]]
  1134. type_id = "IDL:scs/execution_node/Installer:1.0",
  1135. profiles = { --[[table:KB]] ... },
  1136. }
  1137. [mutex] releasing receive lock
  1138. [invoke] invoke remote operation
  1139. [invoke] get communication channel
  1140. [invoke] [IOR profile with tag 0]
  1141. [mutex] channel free for sending
  1142. [invoke] request 1 for operation '_interface'
  1143. [mutex] releasing send lock
  1144. [invoke] get reply
  1145. [mutex] channel free for receiving
  1146. [invoke] get a reply from communication channel
  1147. [invoke] got successful reply for request 1
  1148. [proxies] new proxy to { --[[table:LB]]
  1149. type_id = "IDL:omg.org/CORBA/InterfaceDef:1.0",
  1150. profiles = { --[[table:MB]] ... },
  1151. }
  1152. [mutex] releasing receive lock
  1153. [proxies] call to _get_id()
  1154. [invoke] invoke remote operation
  1155. [invoke] get communication channel
  1156. [invoke] [IOR profile with tag 0]
  1157. [mutex] channel free for sending
  1158. [invoke] request 1 for operation '_get_id'
  1159. [mutex] releasing send lock
  1160. [invoke] get reply
  1161. [mutex] channel free for receiving
  1162. [invoke] get a reply from communication channel
  1163. [invoke] got successful reply for request 1
  1164. [mutex] releasing receive lock
  1165. [proxies] new proxy to { --[[table:JB]]
  1166. type_id = "IDL:scs/execution_node/Installer:1.0",
  1167. [userdata:A] = { --[[table:IB]] ... },
  1168. _object = "\0000x108a1700xfe7210",
  1169. profiles = { --[[table:KB]] ... },
  1170. }
  1171. [proxies] call to _is_a("IDL:scs/execution_node/Installer:1.0")
  1172. [invoke] invoke remote operation
  1173. [invoke] get communication channel
  1174. [mutex] channel free for sending
  1175. [invoke] request 1 for operation '_is_a'
  1176. [mutex] releasing send lock
  1177. [invoke] get reply
  1178. [mutex] channel free for receiving
  1179. [invoke] get a reply from communication channel
  1180. [invoke] got successful reply for request 1
  1181. [mutex] releasing receive lock
  1182. [proxies] new proxy to { --[[table:JB]]
  1183. type_id = "IDL:scs/execution_node/Installer:1.0",
  1184. [userdata:A] = { --[[table:IB]] ... },
  1185. _object = "\0000x108a1700xfe7210",
  1186. profiles = { --[[table:KB]] ... },
  1187. }
  1188. [SCS VERBOSE] Setting LUA_PATH based on ExecutionNode:Installer:getEnvVars('lua') data!
  1189. [proxies] call to getRootPath("lua")
  1190. [invoke] invoke remote operation
  1191. [invoke] get communication channel
  1192. [mutex] channel free for sending
  1193. [invoke] request 1 for operation 'getRootPath'
  1194. [mutex] releasing send lock
  1195. [invoke] get reply
  1196. [mutex] channel free for receiving
  1197. [invoke] get a reply from communication channel
  1198. [invoke] got successful reply for request 1
  1199. [mutex] releasing receive lock
  1200. Sun Oct 16 04:36:17 2011 [INFO] In Utils:updateConfig(cfg) from utils.lua
  1201. Sun Oct 16 04:36:17 2011 [INFO] Trying change the directory information
  1202. Sun Oct 16 04:36:17 2011 [INFO] Loading manifest
  1203. [SCS VERBOSE] Utils::UpdateConfig : changing to the dir: /home/edward/projects/scs-deploysystem/src/lua/scs/execution_node/../container/lua/linux-x86_64/rocks
  1204. Sun Oct 16 04:36:17 2011 [INFO] End Utils:info(cfg)
  1205. [proxies] call to registerContainer("Deployer_1.Plan_2.ContainerEntity_1", { --[[table:NB]]
  1206. __methods = { --[[table:OB]] ... },
  1207. __reference = { --[[table:PB]] ... },
  1208. _key = "\0000x8bf8900xa77130",
  1209. _deactivate = function:A,
  1210. __newindex = { --[[table:V]] ... },
  1211. __index = function:B,
  1212. _dispatcher = { --[[table:QB]] ... },
  1213. }, "12386")
  1214. [invoke] invoke remote operation
  1215. [invoke] get communication channel
  1216. [mutex] channel free for sending
  1217. [invoke] request 1 for operation 'registerContainer'
  1218. [mutex] releasing send lock
  1219. [invoke] get reply
  1220. [mutex] channel free for receiving
  1221. [invoke] get a reply from communication channel
  1222. [listen] get request from channel
  1223. [listen] get channel with config { --[[table:A]]
  1224. ServantIndexer = { --[[table:B]] ... },
  1225. ClientChannels = { --[[table:C]] ... },
  1226. host = "*",
  1227. port = 4394,
  1228. ProxyIndexer = { --[[table:D]] ... },
  1229. ServerChannels = { --[[table:E]] ... },
  1230. ObjectReferrer = { --[[table:F]] ... },
  1231. types = { --[[table:G]] ... },
  1232. RequestListener = { --[[table:H]] ... },
  1233. IIOPProfiler = { --[[table:I]] ... },
  1234. OperationInvoker = { --[[table:J]] ... },
  1235. RequestReceiver = { --[[table:K]] ... },
  1236. BasicSystem = { --[[table:L]] ... },
  1237. ObjectProxies = { --[[table:M]] ... },
  1238. flavor = "intercepted;corba;typed;cooperative;base",
  1239. ValueEncoder = { --[[table:N]] ... },
  1240. RequestDispatcher = { --[[table:O]] ... },
  1241. ServerBroker = { --[[table:P]] ... },
  1242. ClientBroker = { --[[table:Q]] ... },
  1243. TypeRepository = { --[[table:R]] ... },
  1244. OperationRequester = { --[[table:S]] ... },
  1245. tcpoptions = { --[[table:T]] ... },
  1246. MessageMarshaler = { --[[table:U]] ... },
  1247. }
  1248. [listen] got request 1 for _non_existent
  1249. [dispatcher] dispatching operation 0x8bf8900xa77130:_non_existent()
  1250. [mutex] channel free for sending
  1251. [listen] got reply for request 1
  1252. [listen] got successful results
  1253. [mutex] releasing send lock
  1254. [listen] get request from channel
  1255. [listen] got request 1 for _is_a
  1256. [dispatcher] dispatching operation 0x8bf8900xa77130:_is_a("IDL:scs/core/IComponent:1.0")
  1257. [mutex] channel free for sending
  1258. [listen] got reply for request 1
  1259. [listen] got successful results
  1260. [mutex] releasing send lock
  1261. [listen] get request from channel
  1262. [invoke] got successful reply for request 1
  1263. [mutex] releasing receive lock
  1264. [listen] get request from channel
  1265. [listen] got request 1 for getFacetByName
  1266. [dispatcher] dispatching operation 0x8bf8900xa77130:getFacetByName("IReceptacles")
  1267. [mutex] channel free for sending
  1268. [listen] got reply for request 1
  1269. [listen] got successful results
  1270. [mutex] releasing send lock
  1271. [listen] get channel with config { --[[table:A]]
  1272. ServantIndexer = { --[[table:B]] ... },
  1273. ClientChannels = { --[[table:C]] ... },
  1274. host = "*",
  1275. port = 4394,
  1276. ProxyIndexer = { --[[table:D]] ... },
  1277. ServerChannels = { --[[table:E]] ... },
  1278. ObjectReferrer = { --[[table:F]] ... },
  1279. types = { --[[table:G]] ... },
  1280. RequestListener = { --[[table:H]] ... },
  1281. IIOPProfiler = { --[[table:I]] ... },
  1282. OperationInvoker = { --[[table:J]] ... },
  1283. RequestReceiver = { --[[table:K]] ... },
  1284. BasicSystem = { --[[table:L]] ... },
  1285. ObjectProxies = { --[[table:M]] ... },
  1286. flavor = "intercepted;corba;typed;cooperative;base",
  1287. ValueEncoder = { --[[table:N]] ... },
  1288. RequestDispatcher = { --[[table:O]] ... },
  1289. ServerBroker = { --[[table:P]] ... },
  1290. ClientBroker = { --[[table:Q]] ... },
  1291. TypeRepository = { --[[table:R]] ... },
  1292. OperationRequester = { --[[table:S]] ... },
  1293. tcpoptions = { --[[table:T]] ... },
  1294. MessageMarshaler = { --[[table:U]] ... },
  1295. }
  1296. [listen] get request from channel
  1297. [listen] got request 1 for getFacetByName
  1298. [dispatcher] dispatching operation 0x8bf8900xa77130:getFacetByName("IMetaInterface")
  1299. [mutex] channel free for sending
  1300. [listen] got reply for request 1
  1301. [listen] got successful results
  1302. [mutex] releasing send lock
  1303. [listen] get request from channel
  1304. [listen] got request 1 for startup
  1305. [dispatcher] dispatching operation 0x8bf8900xa77130:startup()
  1306. [SCS VERBOSE] ComponentContainer::IComponent::Startup
  1307. [SCS VERBOSE] ComponentContainer::IComponent::Startup : Finished.
  1308. [mutex] channel free for sending
  1309. [listen] got reply for request 1
  1310. [listen] got successful results
  1311. [mutex] releasing send lock
  1312. [listen] get request from channel
  1313. [listen] got request 1 for getFacetByName
  1314. [dispatcher] dispatching operation 0x8bf8900xa77130:getFacetByName("ComponentLoader")
  1315. [mutex] channel free for sending
  1316. [listen] got reply for request 1
  1317. [listen] got successful results
  1318. [mutex] releasing send lock
  1319. [listen] get request from channel
  1320. [listen] got request 1 for load
  1321. [dispatcher] dispatching operation 0x8b6de00xab4b00:load({ --[[table:RB]]
  1322. patch_version = 0,
  1323. name = "Hello",
  1324. major_version = 1,
  1325. minor_version = 0,
  1326. }, { --[[table:SB]]
  1327. "World (from deployment script)",
  1328. n = 1,
  1329. })
  1330. [SCS VERBOSE] ComponentContainer::ComponentLoader::Load
  1331. [SCS VERBOSE] ComponentContainer::ComponentLoader::Load : Testing if the component Hello-1.0-0 is present...
  1332. [proxies] call to install({ --[[table:RB]]
  1333. patch_version = 0,
  1334. name = "Hello",
  1335. major_version = 1,
  1336. minor_version = 0,
  1337. }, "lua")
  1338. [invoke] invoke remote operation
  1339. [invoke] get communication channel
  1340. [mutex] channel free for sending
  1341. [invoke] request 1 for operation 'install'
  1342. [mutex] releasing send lock
  1343. [invoke] get reply
  1344. [mutex] channel free for receiving
  1345. [invoke] get a reply from communication channel
  1346. [listen] get request from channel
  1347. [invoke] got successful reply for request 1
  1348. [mutex] releasing receive lock
  1349. [proxies] call to getDescription({ --[[table:RB]]
  1350. patch_version = 0,
  1351. name = "Hello",
  1352. major_version = 1,
  1353. minor_version = 0,
  1354. }, "lua")
  1355. [invoke] invoke remote operation
  1356. [invoke] get communication channel
  1357. [mutex] channel free for sending
  1358. [invoke] request 1 for operation 'getDescription'
  1359. [mutex] releasing send lock
  1360. [invoke] get reply
  1361. [mutex] channel free for receiving
  1362. [invoke] get a reply from communication channel
  1363. [invoke] got successful reply for request 1
  1364. [mutex] releasing receive lock
  1365. [proxies] call to getRootPath("lua")
  1366. [invoke] invoke remote operation
  1367. [invoke] get communication channel
  1368. [mutex] channel free for sending
  1369. [invoke] request 1 for operation 'getRootPath'
  1370. [mutex] releasing send lock
  1371. [invoke] get reply
  1372. [mutex] channel free for receiving
  1373. [invoke] get a reply from communication channel
  1374. [invoke] got successful reply for request 1
  1375. [mutex] releasing receive lock
  1376. Sun Oct 16 04:36:18 2011 [INFO] In Utils:updateConfig(cfg) from utils.lua
  1377. Sun Oct 16 04:36:18 2011 [INFO] Trying change the directory information
  1378. Sun Oct 16 04:36:18 2011 [INFO] Loading manifest
  1379. [SCS VERBOSE] Utils::UpdateConfig : changing to the dir: /home/edward/projects/scs-deploysystem/src/lua/scs/execution_node/../container/lua/linux-x86_64/rocks
  1380. Sun Oct 16 04:36:18 2011 [INFO] End Utils:info(cfg)
  1381. [SCS VERBOSE] ComponentContainer::ComponentLoader::Load : Testing if the component Hello-1.0-0 is already loaded...
  1382. [SCS VERBOSE] ComponentContainer::ComponentLoader::Load : Loading LUA component Hello-1.0-0/scs.demos.hello.HelloFactory
  1383. [SCS VERBOSE] ComponentContainer::ComponentLoader::Load : Trying to create an instance.
  1384. [proxies] call to getInstallPath({ --[[table:RB]]
  1385. patch_version = 0,
  1386. name = "Hello",
  1387. major_version = 1,
  1388. minor_version = 0,
  1389. }, "lua")
  1390. [invoke] invoke remote operation
  1391. [invoke] get communication channel
  1392. [mutex] channel free for sending
  1393. [invoke] request 1 for operation 'getInstallPath'
  1394. [mutex] releasing send lock
  1395. [invoke] get reply
  1396. [mutex] channel free for receiving
  1397. [invoke] get a reply from communication channel
  1398. [invoke] got successful reply for request 1
  1399. [mutex] releasing receive lock
  1400. [SCS VERBOSE] ComponentContainer::ComponentLoader::Load : Chaning directory for /home/edward/projects/scs-deploysystem/src/lua/scs/execution_node/../container/lua/linux-x86_64/rocks/hello/1.0-0
  1401. [dispatcher] object { --[[table:TB]]
  1402. context = { --[[table:UB]] ... },
  1403. } registered with key 0x98fd200xa77130
  1404. [dispatcher] object { --[[table:VB]]
  1405. context = { --[[table:UB]] ... },
  1406. } registered with key 0x98fe200xa58060
  1407. [SCS VERBOSE] ComponentContainer::ComponentLoader::Load : Back to old directory /home/edward/projects/scs-deploysystem/src/lua/scs/execution_node
  1408. [SCS VERBOSE] ComponentContainer::ComponentLoader::Load : Instance created.
  1409. [SCS VERBOSE] ComponentContainer::ComponentLoader::Load : Creating handle...
  1410. [SCS VERBOSE] ComponentContainer::ComponentLoader::Load : New instance id is 1.
  1411. [SCS VERBOSE] ComponentContainer::ComponentLoader::Load : Finished.
  1412. [mutex] channel free for sending
  1413. [listen] got reply for request 1
  1414. [listen] got successful results
  1415. [mutex] releasing send lock
  1416. [listen] got request 1 for startup
  1417. [dispatcher] dispatching operation 0x98fd200xa77130:startup()
  1418. [mutex] channel free for sending
  1419. [listen] got reply for request 1
  1420. [listen] got successful results
  1421. [mutex] releasing send lock
  1422. [listen] get request from channel
  1423. [listen] got request 1 for getFacetByName
  1424. [dispatcher] dispatching operation 0x98fd200xa77130:getFacetByName("Hello")
  1425. [mutex] channel free for sending
  1426. [listen] got reply for request 1
  1427. [listen] got successful results
  1428. [mutex] releasing send lock
  1429. [listen] get request from channel
  1430. [listen] get request from channel
  1431. [listen] got request 1 for sayHello
  1432. [dispatcher] dispatching operation 0x98fe200xa58060:sayHello()
  1433. Hello World (from deployment script)!
  1434. [mutex] channel free for sending
  1435. [listen] got reply for request 1
  1436. [listen] got successful results
  1437. [mutex] releasing send lock
  1438. [listen] get channel with config { --[[table:A]]
  1439. ServantIndexer = { --[[table:B]] ... },
  1440. ClientChannels = { --[[table:C]] ... },
  1441. host = "*",
  1442. port = 4394,
  1443. ProxyIndexer = { --[[table:D]] ... },
  1444. ServerChannels = { --[[table:E]] ... },
  1445. ObjectReferrer = { --[[table:F]] ... },
  1446. types = { --[[table:G]] ... },
  1447. RequestListener = { --[[table:H]] ... },
  1448. IIOPProfiler = { --[[table:I]] ... },
  1449. OperationInvoker = { --[[table:J]] ... },
  1450. RequestReceiver = { --[[table:K]] ... },
  1451. BasicSystem = { --[[table:L]] ... },
  1452. ObjectProxies = { --[[table:M]] ... },
  1453. flavor = "intercepted;corba;typed;cooperative;base",
  1454. ValueEncoder = { --[[table:N]] ... },
  1455. RequestDispatcher = { --[[table:O]] ... },
  1456. ServerBroker = { --[[table:P]] ... },
  1457. ClientBroker = { --[[table:Q]] ... },
  1458. TypeRepository = { --[[table:R]] ... },
  1459. OperationRequester = { --[[table:S]] ... },
  1460. tcpoptions = { --[[table:T]] ... },
  1461. MessageMarshaler = { --[[table:U]] ... },
  1462. }
  1463. [listen] get request from channel
  1464. [listen] got request 1 for _non_existent
  1465. [dispatcher] dispatching operation 0x8bf8900xa77130:_non_existent()
  1466. [mutex] channel free for sending
  1467. [listen] got reply for request 1
  1468. [listen] got successful results
  1469. [mutex] releasing send lock
  1470. [listen] get request from channel
  1471. [listen] got request 1 for _non_existent
  1472. [dispatcher] dispatching operation 0x98fd200xa77130:_non_existent()
  1473. [mutex] channel free for sending
  1474. [listen] got reply for request 1
  1475. [listen] got successful results
  1476. [mutex] releasing send lock
  1477. [listen] get request from channel
  1478. [listen] got request 1 for shutdown
  1479. [dispatcher] dispatching operation 0x8bf8900xa77130:shutdown()
  1480. [SCS VERBOSE] ComponentContainer::IComponent::Shutdown
  1481. [SCS VERBOSE] ComponentContainer::IComponent::Shutdown : Unregistering at the execution node...
  1482. [proxies] call to unregisterContainer("Deployer_1.Plan_2.ContainerEntity_1")
  1483. [invoke] invoke remote operation
  1484. [invoke] get communication channel
  1485. [mutex] channel free for sending
  1486. [invoke] request 1 for operation 'unregisterContainer'
  1487. [mutex] releasing send lock
  1488. [invoke] get reply
  1489. [mutex] channel free for receiving
  1490. [invoke] get a reply from communication channel
  1491. [listen] get request from channel
  1492. [invoke] got successful reply for request 1
  1493. [mutex] releasing receive lock
  1494. [SCS VERBOSE] ComponentContainer::IComponent::Shutdown : Trying to shutdown all components...
  1495. [SCS VERBOSE] ComponentContainer::ComponentLoader::Unload
  1496. [SCS VERBOSE] ComponentContainer::ComponentLoader::Unload : Shutting down the component Hello with instance_id 1...
  1497. [SCS VERBOSE] ComponentContainer::ComponentLoader::Unload : Component seems to have shut down correctly.
  1498. [SCS VERBOSE] ComponentContainer::ComponentLoader::Unload : Deactivating...
  1499. [dispatcher] object with key 0x98fd200xa77130 unregistered
  1500. [dispatcher] object with key 0x98fe200xa58060 unregistered
  1501. [SCS VERBOSE] ComponentContainer::ComponentLoader::Unload : Erasing references...
  1502. [SCS VERBOSE] ComponentContainer::ComponentLoader::Unload : Finished.
  1503. [SCS VERBOSE] ComponentContainer::IComponent::Shutdown : Component Hello of instance id 1 has shutdown without errors.
  1504. [SCS VERBOSE] ComponentContainer::IComponent::Shutdown : Erasing cache files...
  1505. [SCS VERBOSE] ComponentContainer::IComponent::Shutdown : Waiting 10 seconds for components to shutdown...
  1506. [SCS VERBOSE] ComponentContainer::IComponent::Shutdown : Waited 1 second(s).
  1507. [SCS VERBOSE] ComponentContainer::IComponent::Shutdown : All components were unloaded so we may leave this world.
  1508. [SCS VERBOSE] ComponentContainer::IComponent::Shutdown : Exiting.
  1509. [dispatcher] object with key 0x8bf8900xa77130 unregistered
  1510. [dispatcher] object with key 0x8b6f700xa7e6c0 unregistered
  1511. [dispatcher] object with key 0x8b6e300x9bf430 unregistered
  1512. [dispatcher] object with key 0x8b6de00xab4b00 unregistered
  1513. [dispatcher] object with key 0x8bf8e00xab8840 unregistered
  1514. [dispatcher] object with key 0x8b70500xa7d0a0 unregistered
  1515. [acceptor] halt acceptor
  1516. [listen] closing all channels with configs { --[[table:A]]
  1517. ServantIndexer = { --[[table:B]] ... },
  1518. ClientChannels = { --[[table:C]] ... },
  1519. host = "*",
  1520. port = 4394,
  1521. ProxyIndexer = { --[[table:D]] ... },
  1522. ServerChannels = { --[[table:E]] ... },
  1523. ObjectReferrer = { --[[table:F]] ... },
  1524. types = { --[[table:G]] ... },
  1525. RequestListener = { --[[table:H]] ... },
  1526. IIOPProfiler = { --[[table:I]] ... },
  1527. OperationInvoker = { --[[table:J]] ... },
  1528. RequestReceiver = { --[[table:K]] ... },
  1529. BasicSystem = { --[[table:L]] ... },
  1530. ObjectProxies = { --[[table:M]] ... },
  1531. flavor = "intercepted;corba;typed;cooperative;base",
  1532. ValueEncoder = { --[[table:N]] ... },
  1533. RequestDispatcher = { --[[table:O]] ... },
  1534. ServerBroker = { --[[table:P]] ... },
  1535. ClientBroker = { --[[table:Q]] ... },
  1536. TypeRepository = { --[[table:R]] ... },
  1537. OperationRequester = { --[[table:S]] ... },
  1538. tcpoptions = { --[[table:T]] ... },
  1539. MessageMarshaler = { --[[table:U]] ... },
  1540. }
  1541. [listen] close channel
  1542. [listen] close channel
  1543. [mutex] channel free for sending
  1544. [listen] got reply for request 1
  1545. [listen] got successful results
  1546. [listen] all pending requests replied, connection being closed
  1547. [mutex] releasing send lock
  1548. edward@pituba:~/projects/scs-deploysystem/src/lua/scs/demos/deployer$
Advertisement
Add Comment
Please, Sign In to add comment