byghis

test05 - hello-deployment on guest(tested ok)

Oct 18th, 2011
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 43.31 KB | None | 0 0
  1. ============== HOST ==============
  2.  
  3. edward@pituba:~/projects/scs-deploysystem/src/lua/scs/demos/deployer$ ./rundemo launch-manager.lua
  4. ATTENTION: Using the SCS_HOME system variable as /home/edward/projects/scs-deploysystem
  5. Tue Oct 18 13:44:15 2011 [INFO] new orb instance publicy accessible
  6. Tue Oct 18 13:44:15 2011 [INFO] A New Instance of a DeployManager
  7. Tue Oct 18 13:44:15 2011 [INFO] In Deployer oo.class{...}
  8. Tue Oct 18 13:44:15 2011 [INFO] Ending Deployer oo.class{...}
  9. Tue Oct 18 13:44:15 2011 [DEBUG] Manager type: table
  10. Tue Oct 18 13:44:15 2011 [INFO] In Deployer:__init
  11. Tue Oct 18 13:44:16 2011 [DEBUG] Value of self.count : 1
  12. Tue Oct 18 13:44:16 2011 [INFO] +++READING PUBLIC REPOSITORIES CACHE+++
  13. Tue Oct 18 13:44:16 2011 [INFO] ---------------------------------------
  14. Tue Oct 18 13:44:16 2011 [INFO] In Deployer:get_public_repositories
  15. Tue Oct 18 13:44:16 2011 [INFO] Trigger an update of the self.cache.repositories when we found an outdate IOR
  16. Tue Oct 18 13:44:16 2011 [INFO] Ending Deployer:get_public_repositories and Returning repository_array
  17. Tue Oct 18 13:44:16 2011 [INFO] +++LOADING INSTANCES DATA from EucaCloud+++
  18. Tue Oct 18 13:44:16 2011 [INFO] ----------------------------------------
  19. Tue Oct 18 13:44:16 2011 [INFO] [ EUCA ] : var='Starting self.euca_engine'
  20. Tue Oct 18 13:44:16 2011 [INFO] In __init(self)
  21. Tue Oct 18 13:44:16 2011 [INFO] Printing inst.all_instances
  22. { --[[table: 0x1e03e20]] }
  23. Tue Oct 18 13:44:16 2011 [INFO] +++READING HOST DESCRIPTIONS+++
  24. Tue Oct 18 13:44:16 2011 [INFO] -------------------------------
  25. Tue Oct 18 13:44:16 2011 [INFO] Loading machinesN.lua
  26. Tue Oct 18 13:44:16 2011 [INFO] -------------------------------
  27. Tue Oct 18 13:44:16 2011 [INFO] Reading the host list stored in disk
  28. Tue Oct 18 13:44:16 2011 [INFO] Loading the host description /home/edward/projects/scs-deploysystem/src/lua/scs/deployer/hosts//avm01.lua
  29. Tue Oct 18 13:44:16 2011 [DEBUG] Type of host_description: table
  30. Tue Oct 18 13:44:16 2011 [INFO] This file will be load: avm01.lua
  31. Tue Oct 18 13:44:16 2011 [INFO] Loading the host description /home/edward/projects/scs-deploysystem/src/lua/scs/deployer/hosts//machine0.lua
  32. Tue Oct 18 13:44:16 2011 [DEBUG] Type of host_description: table
  33. Tue Oct 18 13:44:16 2011 [INFO] This file will be load: machine0.lua
  34. Tue Oct 18 13:44:16 2011 [INFO] Trying to print all hosts loaded if exists inst.all_hosts:
  35. Tue Oct 18 13:44:16 2011 [DEBUG] Will be possible get hosts
  36. Tue Oct 18 13:44:16 2011 [INFO] Ending Deployer.__init
  37. Tue Oct 18 13:44:16 2011 [INFO] A New Instance of a Packager
  38. Tue Oct 18 13:44:16 2011 [INFO] In Utils:updateConfig(cfg) from utils.lua
  39. Tue Oct 18 13:44:16 2011 [INFO] Trying change the directory information
  40. Tue Oct 18 13:44:16 2011 [INFO] Loading manifest
  41. Tue Oct 18 13:44:16 2011 [ERROR] ERROR: Unable to update the manifest, more see: Failed loading manifest for /tmp/luarocksrepository/rocks
  42. Tue Oct 18 13:44:16 2011 [INFO] End Utils:info(cfg)
  43. Tue Oct 18 13:44:16 2011 [INFO] Printing a Packager:
  44. Tue Oct 18 13:44:16 2011 [DEBUG] Packager type: table
  45. Tue Oct 18 13:44:20 2011 [INFO] In Deployer:create_plan()
  46. Tue Oct 18 13:44:20 2011 [INFO] In Plan:__init
  47. Tue Oct 18 13:44:20 2011 [INFO] Ending Plan:__init and Returning inst
  48. Tue Oct 18 13:44:20 2011 [DEBUG] Setting entity:set_nickname to: Deployer_1.Plan_1
  49. Tue Oct 18 13:44:20 2011 [INFO] In Plan:set_nickname
  50. Tue Oct 18 13:44:20 2011 [DEBUG] Plan.nickname =: Deployer_1.Plan_1
  51. Tue Oct 18 13:44:20 2011 [INFO] Ending Plan:set_nickname
  52. Tue Oct 18 13:44:20 2011 [INFO] In Plan:set_manager
  53. Tue Oct 18 13:44:20 2011 [INFO] Ending Plan:set_manager and Returning true
  54. Tue Oct 18 13:44:20 2011 [INFO] Ending Deployer:create_plan and Returning a servant
  55. Tue Oct 18 13:44:20 2011 [INFO] In Plan:mark_as_admin
  56. Tue Oct 18 13:44:20 2011 [INFO] Ending Plan:mark_as_admin
  57. Tue Oct 18 13:44:20 2011 [INFO] In Plan:create_repository
  58. Tue Oct 18 13:44:20 2011 [INFO] In search(descriptorhelper.lua)
  59. Tue Oct 18 13:44:20 2011 [DEBUG] kind: components
  60. Tue Oct 18 13:44:20 2011 [DEBUG] name: repository
  61. Tue Oct 18 13:44:20 2011 [INFO] Calling importFromFile(path) from search(descriptionhelper)
  62. Tue Oct 18 13:44:20 2011 [DEBUG] Value of path: /home/edward/projects/scs-deploysystem/src/lua/scs/deployer/components/repository-1.0-0.template
  63. Tue Oct 18 13:44:20 2011 [INFO] In importFromFile(descriptorhelper.lua)
  64. Tue Oct 18 13:44:20 2011 [INFO] In RepositoryEntity:__init
  65. Tue Oct 18 13:44:20 2011 [INFO] In BasicComponentEntity:__init, Creating a new BasicComponentEntity
  66. Tue Oct 18 13:44:20 2011 [DEBUG] Type of inst: table
  67. Tue Oct 18 13:44:20 2011 [INFO] A BasicComponentEntity was created
  68. Tue Oct 18 13:44:20 2011 [INFO] Printing BasicComponentEntity(setoff)
  69. Tue Oct 18 13:44:20 2011 [INFO] Ending BasicComponentEntity:__init and Returning inst
  70. Tue Oct 18 13:44:20 2011 [INFO] Ending and Returing inst in RepositoryEntity:__init
  71. Tue Oct 18 13:44:20 2011 [INFO] In BasicComponentEntity:set_description
  72. Tue Oct 18 13:44:20 2011 [INFO] Ending BasicComponentEntity:set_description
  73. Tue Oct 18 13:44:20 2011 [INFO] In BasicComponentEntity:set_plan
  74. Tue Oct 18 13:44:20 2011 [INFO] Ending BasicComponentEntity:set_plan and Returning self.plan
  75. Tue Oct 18 13:44:20 2011 [INFO] In Plan:get_nickname
  76. Tue Oct 18 13:44:20 2011 [INFO] Ending Plan:get_nickname
  77. Tue Oct 18 13:44:20 2011 [DEBUG] Setting the component nick to: Deployer_1.Plan_1.RepositoryEntity_1
  78. Tue Oct 18 13:44:20 2011 [INFO] In BasicComponentEntity:set_nickname
  79. Tue Oct 18 13:44:20 2011 [DEBUG] BasicComponentEntity.nickname = Deployer_1.Plan_1.RepositoryEntity_1
  80. Tue Oct 18 13:44:20 2011 [INFO] Ending BasicComponentEntity:set_nickname
  81. Tue Oct 18 13:44:20 2011 [INFO] Ending Plan:create_repository and Returning servant
  82. Tue Oct 18 13:44:20 2011 [INFO] In RepositoryEntity:set_host( newhost )
  83. Tue Oct 18 13:44:20 2011 [INFO] Ending RepositoryEntity:set_host( newhost )
  84. Tue Oct 18 13:44:20 2011 [INFO] In RepositoryEntity:set_privacy
  85. Tue Oct 18 13:44:20 2011 [INFO] RepositoryEntity warns its plan that he's public!
  86. Tue Oct 18 13:44:20 2011 [INFO] In Plan:get_manager()
  87. Tue Oct 18 13:44:20 2011 [INFO] Obtains the manager associated with this deployment Plan
  88. Tue Oct 18 13:44:20 2011 [INFO] Ending Plan:get_manager and Returning Plan:get_manager
  89. Tue Oct 18 13:44:20 2011 [INFO] In Deployer:add_public_repositories
  90. Tue Oct 18 13:44:20 2011 [INFO] In RepositoryEntity:get_host
  91. Tue Oct 18 13:44:20 2011 [INFO] Ending RepositoryEntity:get_host
  92. Tue Oct 18 13:44:20 2011 [INFO] In BasicComponentEntity:get_nickname
  93. Tue Oct 18 13:44:20 2011 [INFO] Ending BasicComponentEntity:get_nickname
  94. Tue Oct 18 13:44:20 2011 [DEBUG] Adding repository Deployer_1.Plan_1.RepositoryEntity_1 from public list.
  95. Tue Oct 18 13:44:20 2011 [INFO] Ending Deployer:add_public_repositories
  96. Tue Oct 18 13:44:20 2011 [INFO] Ending in RepositoryEntity:set_privacy
  97. Tue Oct 18 13:44:20 2011 [INFO] In BasicComponentEntity:get_nickname
  98. Tue Oct 18 13:44:20 2011 [INFO] Ending BasicComponentEntity:get_nickname
  99. Tue Oct 18 13:44:20 2011 [INFO] ===In RepositoryEntity:deploy===
  100. Tue Oct 18 13:44:20 2011 [DEBUG] local corbaloc: corbaloc::10.0.0.23:10001/Repository
  101. Tue Oct 18 13:44:20 2011 [INFO] Repository not running so starting up the repository daemon remotely through the SSH protocol
  102. Tue Oct 18 13:44:20 2011 [INFO] Launching the ExecutionNode
  103. Tue Oct 18 13:44:20 2011 [DEBUG] self.host.ip: 10.0.0.23
  104. Tue Oct 18 13:44:20 2011 [DEBUG] self.host.port: 10000
  105. Tue Oct 18 13:44:27 2011 [INFO] RepositoryEntity deployed!
  106. Tue Oct 18 13:44:27 2011 [INFO] Ending RepositoryEntity:deploy and Returning true
  107. Tue Oct 18 13:44:29 2011 [INFO] In BasicComponentEntity:activate
  108. Tue Oct 18 13:44:29 2011 [INFO] Ending BasicComponentEntity:activate
  109. Tue Oct 18 13:44:42 2011 [INFO] In Deployer:get_public_repositories
  110. Tue Oct 18 13:44:42 2011 [INFO] Trigger an update of the self.cache.repositories when we found an outdate IOR
  111. Tue Oct 18 13:44:42 2011 [DEBUG] Testing the reference persisted for the repository: 10.0.0.23 : 10001
  112. Tue Oct 18 13:44:42 2011 [INFO] In BasicComponentEntity:get_nickname
  113. Tue Oct 18 13:44:42 2011 [INFO] Ending BasicComponentEntity:get_nickname
  114. Tue Oct 18 13:44:42 2011 [DEBUG] [AMADEU] nickname: Deployer_1.Plan_1.RepositoryEntity_1
  115. Tue Oct 18 13:44:42 2011 [INFO] Ending Deployer:get_public_repositories and Returning repository_array
  116. Tue Oct 18 13:44:43 2011 [INFO] In RepositoryEntity:publish
  117. Tue Oct 18 13:44:43 2011 [INFO] In RepositoryEntity:publish_desc
  118. Tue Oct 18 13:44:43 2011 [INFO] Ending RepositoryEntity:publish_desc
  119. Tue Oct 18 13:44:43 2011 [INFO] In RepositoryEntity:publish_pkg
  120. Tue Oct 18 13:44:43 2011 [INFO] In RepositoryEntity:_real_upload
  121. [DEPLOY VERBOSE] Trying upload the component: Hello-1.0-0 lua all
  122. [DEPLOY VERBOSE] Uploaded in ComponentRepository the component 'Hello-1.0-0' for 'lua' and 'all' sucessfully!
  123. Tue Oct 18 13:44:43 2011 [INFO] Ending RepositoryEntity:_real_upload
  124. Tue Oct 18 13:44:43 2011 [INFO] Ending RepositoryEntity:publish_pkg
  125. Tue Oct 18 13:44:43 2011 [INFO] Ending RepositoryEntity:publish
  126. Tue Oct 18 13:44:48 2011 [INFO] In RepositoryEntity:publish
  127. Tue Oct 18 13:44:48 2011 [INFO] In RepositoryEntity:publish_desc
  128. Tue Oct 18 13:44:48 2011 [INFO] Ending RepositoryEntity:publish_desc
  129. Tue Oct 18 13:44:48 2011 [INFO] In RepositoryEntity:publish_pkg
  130. Tue Oct 18 13:44:48 2011 [INFO] In RepositoryEntity:_real_upload
  131. [DEPLOY VERBOSE] Trying upload the component: Hello-1.0-0 java all
  132. [DEPLOY VERBOSE] Uploaded in ComponentRepository the component 'Hello-1.0-0' for 'java' and 'all' sucessfully!
  133. Tue Oct 18 13:44:48 2011 [INFO] Ending RepositoryEntity:_real_upload
  134. Tue Oct 18 13:44:48 2011 [INFO] Ending RepositoryEntity:publish_pkg
  135. Tue Oct 18 13:44:48 2011 [INFO] Ending RepositoryEntity:publish
  136. ----------------------------------------------------------------
  137. Tue Oct 18 13:45:04 2011 [INFO] In Deployer:create_plan()
  138. Tue Oct 18 13:45:04 2011 [INFO] In Plan:__init
  139. Tue Oct 18 13:45:04 2011 [INFO] Ending Plan:__init and Returning inst
  140. Tue Oct 18 13:45:04 2011 [DEBUG] Setting entity:set_nickname to: Deployer_1.Plan_2
  141. Tue Oct 18 13:45:04 2011 [INFO] In Plan:set_nickname
  142. Tue Oct 18 13:45:04 2011 [DEBUG] Plan.nickname =: Deployer_1.Plan_2
  143. Tue Oct 18 13:45:04 2011 [INFO] Ending Plan:set_nickname
  144. Tue Oct 18 13:45:04 2011 [INFO] In Plan:set_manager
  145. Tue Oct 18 13:45:04 2011 [INFO] Ending Plan:set_manager and Returning true
  146. Tue Oct 18 13:45:04 2011 [INFO] Ending Deployer:create_plan and Returning a servant
  147. Tue Oct 18 13:45:04 2011 [INFO] In Plan:get_nickname
  148. Tue Oct 18 13:45:04 2011 [INFO] Ending Plan:get_nickname
  149. Tue Oct 18 13:45:04 2011 [INFO] In Plan:create_component
  150. Tue Oct 18 13:45:04 2011 [INFO] In ComponentEntity:__init
  151. Tue Oct 18 13:45:04 2011 [INFO] In BasicComponentEntity:__init, Creating a new BasicComponentEntity
  152. Tue Oct 18 13:45:04 2011 [DEBUG] Type of inst: table
  153. Tue Oct 18 13:45:04 2011 [INFO] A BasicComponentEntity was created
  154. Tue Oct 18 13:45:04 2011 [INFO] Printing BasicComponentEntity(setoff)
  155. Tue Oct 18 13:45:04 2011 [INFO] Ending BasicComponentEntity:__init and Returning inst
  156. Tue Oct 18 13:45:04 2011 [INFO] Ending ComponentEntity:__init and Returning inst
  157. Tue Oct 18 13:45:04 2011 [INFO] In BasicComponentEntity:set_plan
  158. Tue Oct 18 13:45:04 2011 [INFO] Ending BasicComponentEntity:set_plan and Returning self.plan
  159. Tue Oct 18 13:45:04 2011 [INFO] In Plan:get_nickname
  160. Tue Oct 18 13:45:04 2011 [INFO] Ending Plan:get_nickname
  161. Tue Oct 18 13:45:04 2011 [DEBUG] Setting the component nick to='Deployer_1.Plan_2.ComponentEntity_1'
  162. Tue Oct 18 13:45:04 2011 [INFO] In BasicComponentEntity:set_nickname
  163. Tue Oct 18 13:45:04 2011 [DEBUG] BasicComponentEntity.nickname = Deployer_1.Plan_2.ComponentEntity_1
  164. Tue Oct 18 13:45:04 2011 [INFO] Ending BasicComponentEntity:set_nickname
  165. Tue Oct 18 13:45:04 2011 [INFO] Ending Plan:create_component and Returning servant
  166. Tue Oct 18 13:45:04 2011 [INFO] In BasicComponentEntity:set_id
  167. Tue Oct 18 13:45:04 2011 [INFO] First attempt: search in all private and public repositories
  168. Tue Oct 18 13:45:04 2011 [INFO] In BasicComponentEntity:get_all_repositories
  169. Tue Oct 18 13:45:04 2011 [INFO] Trying to get repositories from Plan:get_repositories
  170. Tue Oct 18 13:45:04 2011 [INFO] In Plan:get_repositories()
  171. Tue Oct 18 13:45:04 2011 [INFO] Ending Plan:get_repositories and Returning self.all_repositories_servants
  172. Tue Oct 18 13:45:04 2011 [INFO] Trying to get repositories from Deployer:get_public_repositories
  173. Tue Oct 18 13:45:04 2011 [INFO] In Plan:get_manager()
  174. Tue Oct 18 13:45:04 2011 [INFO] Obtains the manager associated with this deployment Plan
  175. Tue Oct 18 13:45:04 2011 [INFO] Ending Plan:get_manager and Returning Plan:get_manager
  176. Tue Oct 18 13:45:04 2011 [INFO] In Deployer:get_public_repositories
  177. Tue Oct 18 13:45:04 2011 [INFO] Trigger an update of the self.cache.repositories when we found an outdate IOR
  178. Tue Oct 18 13:45:04 2011 [DEBUG] Testing the reference persisted for the repository: 10.0.0.23 : 10001
  179. Tue Oct 18 13:45:04 2011 [INFO] In BasicComponentEntity:get_nickname
  180. Tue Oct 18 13:45:04 2011 [INFO] Ending BasicComponentEntity:get_nickname
  181. Tue Oct 18 13:45:04 2011 [DEBUG] [AMADEU] nickname: Deployer_1.Plan_1.RepositoryEntity_1
  182. Tue Oct 18 13:45:04 2011 [INFO] Ending Deployer:get_public_repositories and Returning repository_array
  183. Tue Oct 18 13:45:04 2011 [INFO] Ending BasicComponentEntity:get_all_repositories and Returning all_repositories
  184. Tue Oct 18 13:45:04 2011 [INFO] In RepositoryEntity:get_desc
  185. Tue Oct 18 13:45:04 2011 [INFO] Second attempt: search in an internal component templates disk cache
  186. Tue Oct 18 13:45:04 2011 [INFO] In BasicComponentEntity:set_description
  187. Tue Oct 18 13:45:04 2011 [INFO] Ending BasicComponentEntity:set_description
  188. Tue Oct 18 13:45:04 2011 [INFO] Ending BasicComponentEntity:set_id
  189. Tue Oct 18 13:45:04 2011 [INFO] In BasicComponentEntity:set_args
  190. Tue Oct 18 13:45:04 2011 [INFO] Ending BasicComponentEntity:set_args
  191. Tue Oct 18 13:45:04 2011 [INFO] In Plan:deploy
  192. Error: Edward
  193. Tue Oct 18 13:45:04 2011 [INFO] In BasicComponentEntity:get_nickname
  194. Tue Oct 18 13:45:04 2011 [INFO] Ending BasicComponentEntity:get_nickname
  195. Tue Oct 18 13:45:04 2011 [INFO] In BasicComponentEntity:get_description
  196. Tue Oct 18 13:45:04 2011 [INFO] Ending BasicComponentEntity:get_description and Returing ret
  197. Tue Oct 18 13:45:04 2011 [DEBUG] Deploying Component: 'Deployer_1.Plan_2.ComponentEntity_1' with version: 'Hello-1.0-0'
  198. Tue Oct 18 13:45:04 2011 [INFO] In ComponentEntity:deploy
  199. Tue Oct 18 13:45:04 2011 [INFO] Getting Implementations of Components
  200. Tue Oct 18 13:45:04 2011 [INFO] In BasicComponentEntity:get_available_implementation
  201. Tue Oct 18 13:45:04 2011 [INFO] In BasicComponentEntity:get_nickname
  202. Tue Oct 18 13:45:04 2011 [INFO] Ending BasicComponentEntity:get_nickname
  203. Tue Oct 18 13:45:04 2011 [DEBUG] Searching all available implementation for: Deployer_1.Plan_2.ComponentEntity_1
  204. Tue Oct 18 13:45:04 2011 [INFO] Getting all repositories from BasicComponentEntity:get_all_repositories
  205. Tue Oct 18 13:45:04 2011 [INFO] In BasicComponentEntity:get_all_repositories
  206. Tue Oct 18 13:45:04 2011 [INFO] Trying to get repositories from Plan:get_repositories
  207. Tue Oct 18 13:45:04 2011 [INFO] In Plan:get_repositories()
  208. Tue Oct 18 13:45:04 2011 [INFO] Ending Plan:get_repositories and Returning self.all_repositories_servants
  209. Tue Oct 18 13:45:04 2011 [INFO] Trying to get repositories from Deployer:get_public_repositories
  210. Tue Oct 18 13:45:04 2011 [INFO] In Plan:get_manager()
  211. Tue Oct 18 13:45:04 2011 [INFO] Obtains the manager associated with this deployment Plan
  212. Tue Oct 18 13:45:04 2011 [INFO] Ending Plan:get_manager and Returning Plan:get_manager
  213. Tue Oct 18 13:45:04 2011 [INFO] In Deployer:get_public_repositories
  214. Tue Oct 18 13:45:04 2011 [INFO] Trigger an update of the self.cache.repositories when we found an outdate IOR
  215. Tue Oct 18 13:45:04 2011 [DEBUG] Testing the reference persisted for the repository: 10.0.0.23 : 10001
  216. Tue Oct 18 13:45:04 2011 [INFO] In BasicComponentEntity:get_nickname
  217. Tue Oct 18 13:45:04 2011 [INFO] Ending BasicComponentEntity:get_nickname
  218. Tue Oct 18 13:45:04 2011 [DEBUG] [AMADEU] nickname: Deployer_1.Plan_1.RepositoryEntity_1
  219. Tue Oct 18 13:45:04 2011 [INFO] Ending Deployer:get_public_repositories and Returning repository_array
  220. Tue Oct 18 13:45:04 2011 [INFO] Ending BasicComponentEntity:get_all_repositories and Returning all_repositories
  221. Tue Oct 18 13:45:04 2011 [INFO] In BasicComponentEntity:get_nickname
  222. Tue Oct 18 13:45:04 2011 [INFO] Ending BasicComponentEntity:get_nickname
  223. Tue Oct 18 13:45:04 2011 [DEBUG] Repository nickname: Deployer_1.Plan_1.RepositoryEntity_1
  224. Tue Oct 18 13:45:04 2011 [DEBUG] type of self.id ='table' and view:
  225. { --[[table: 0x1e0c590]]
  226. patch_version = 0,
  227. name = "Hello",
  228. major_version = 1,
  229. minor_version = 0,
  230. }
  231. Tue Oct 18 13:45:04 2011 [INFO] In RepositoryEntity:search_byid( id ):
  232. Tue Oct 18 13:45:04 2011 [INFO] Retrieving the component description from the Repository already deployed
  233. Tue Oct 18 13:45:04 2011 [INFO] Ending RepositoryEntity:search_byid( id )
  234. Tue Oct 18 13:45:04 2011 [DEBUG] Obtaining the implementations available for the component: 'Hello-1.0-0'
  235. Tue Oct 18 13:45:04 2011 [INFO] It will decide automatically about the container details!
  236. Tue Oct 18 13:45:04 2011 [INFO] Calling self:autofit_container
  237. Tue Oct 18 13:45:04 2011 [INFO] In ComponentEntity:autofit_container
  238. ----------------- AUTOFIT_CONTAINER table: 0x198e120
  239. Tue Oct 18 13:45:04 2011 [INFO] Strategy: first fit
  240. Tue Oct 18 13:45:04 2011 [INFO] Calling self.plan:less_used_containers()
  241. Tue Oct 18 13:45:04 2011 [INFO] In Plan:less_used_containers
  242. Tue Oct 18 13:45:04 2011 [INFO] In Plan:less_used_sort
  243. Tue Oct 18 13:45:04 2011 [DEBUG] Value of entity_type: containers
  244. Tue Oct 18 13:45:04 2011 [DEBUG] Refreshing the: 'containers' list order
  245. Tue Oct 18 13:45:04 2011 [DEBUG] First is: none, thereisn't containers yet!
  246. Tue Oct 18 13:45:04 2011 [DEBUG] Ending Plan:less_used_sort and Returning true with entity_type : containers
  247. Tue Oct 18 13:45:04 2011 [INFO] Ending Plan:less_used_containers
  248. Tue Oct 18 13:45:04 2011 [INFO] Trying to get a container from containers
  249. Tue Oct 18 13:45:04 2011 [INFO] No container was created yet, so let's create the first!
  250. Tue Oct 18 13:45:04 2011 [INFO] Calling self.plan:create_container
  251. Tue Oct 18 13:45:04 2011 [INFO] In Plan:create_container
  252. Tue Oct 18 13:45:04 2011 [INFO] In search(descriptorhelper.lua)
  253. Tue Oct 18 13:45:04 2011 [DEBUG] kind: components
  254. Tue Oct 18 13:45:04 2011 [DEBUG] name: container
  255. Tue Oct 18 13:45:04 2011 [DEBUG] lang: lua
  256. Tue Oct 18 13:45:04 2011 [INFO] Calling importFromFile(path) from search(descriptionhelper)
  257. Tue Oct 18 13:45:04 2011 [DEBUG] Value of path: /home/edward/projects/scs-deploysystem/src/lua/scs/deployer/components/container-1.0-0.template
  258. Tue Oct 18 13:45:04 2011 [INFO] In importFromFile(descriptorhelper.lua)
  259. Tue Oct 18 13:45:04 2011 [INFO] Creating a new ContainerEntity
  260. Tue Oct 18 13:45:04 2011 [INFO] In ContainerEntity:__init
  261. Tue Oct 18 13:45:04 2011 [INFO] In BasicComponentEntity:__init, Creating a new BasicComponentEntity
  262. Tue Oct 18 13:45:04 2011 [DEBUG] Type of inst: table
  263. Tue Oct 18 13:45:04 2011 [INFO] A BasicComponentEntity was created
  264. Tue Oct 18 13:45:04 2011 [INFO] Printing BasicComponentEntity(setoff)
  265. Tue Oct 18 13:45:04 2011 [INFO] Ending BasicComponentEntity:__init and Returning inst
  266. Tue Oct 18 13:45:04 2011 [INFO] Ending ContainerEntity:__init and Returning inst
  267. Tue Oct 18 13:45:04 2011 [INFO] In BasicComponentEntity:set_description
  268. Tue Oct 18 13:45:04 2011 [INFO] Ending BasicComponentEntity:set_description
  269. Tue Oct 18 13:45:04 2011 [INFO] In BasicComponentEntity:set_property
  270. Tue Oct 18 13:45:04 2011 [INFO] Ending BasicComponentEntity:set_property
  271. Tue Oct 18 13:45:04 2011 [INFO] In BasicComponentEntity:set_plan
  272. Tue Oct 18 13:45:04 2011 [INFO] Ending BasicComponentEntity:set_plan and Returning self.plan
  273. Tue Oct 18 13:45:04 2011 [INFO] In Plan:get_nickname
  274. Tue Oct 18 13:45:04 2011 [INFO] Ending Plan:get_nickname
  275. Tue Oct 18 13:45:04 2011 [DEBUG] Setting the component nick to(Plan:create_container()): Deployer_1.Plan_2.ContainerEntity_1
  276. Tue Oct 18 13:45:04 2011 [INFO] In BasicComponentEntity:set_nickname
  277. Tue Oct 18 13:45:04 2011 [DEBUG] BasicComponentEntity.nickname = Deployer_1.Plan_2.ContainerEntity_1
  278. Tue Oct 18 13:45:04 2011 [INFO] Ending BasicComponentEntity:set_nickname
  279. Tue Oct 18 13:45:04 2011 [INFO] Ending Plan:create_container and Returning servant
  280. Tue Oct 18 13:45:04 2011 [INFO] Calling self:autofit_exnode
  281. Tue Oct 18 13:45:04 2011 [DEBUG] With lang = lua and plat = all
  282. Tue Oct 18 13:45:04 2011 [INFO] In ComponentEntity:autofit_exnode
  283. ----------------- AUTOFIT_EXNODE table: 0x198e120 lua all
  284. Tue Oct 18 13:45:04 2011 [INFO] In Plan:less_used_nodes()
  285. Tue Oct 18 13:45:04 2011 [INFO] In Plan:less_used_sort
  286. Tue Oct 18 13:45:04 2011 [DEBUG] Value of entity_type: nodes
  287. Tue Oct 18 13:45:04 2011 [DEBUG] Refreshing the: 'nodes' list order
  288. Tue Oct 18 13:45:04 2011 [DEBUG] First is: none, thereisn't nodes yet!
  289. Tue Oct 18 13:45:04 2011 [DEBUG] Ending Plan:less_used_sort and Returning true with entity_type : nodes
  290. Tue Oct 18 13:45:04 2011 [INFO] Ending Plan:less_used_nodes
  291. Tue Oct 18 13:45:04 2011 [INFO] Calling(): self.plan:create_exnode
  292. Tue Oct 18 13:45:04 2011 [INFO] In Plan:create_exnode
  293. Tue Oct 18 13:45:04 2011 [INFO] In search(descriptorhelper.lua)
  294. Tue Oct 18 13:45:04 2011 [DEBUG] kind: components
  295. Tue Oct 18 13:45:04 2011 [DEBUG] name: executionnode
  296. Tue Oct 18 13:45:04 2011 [INFO] Calling importFromFile(path) from search(descriptionhelper)
  297. Tue Oct 18 13:45:04 2011 [DEBUG] Value of path: /home/edward/projects/scs-deploysystem/src/lua/scs/deployer/components/executionnode-1.0-0.template
  298. Tue Oct 18 13:45:04 2011 [INFO] In importFromFile(descriptorhelper.lua)
  299. Tue Oct 18 13:45:04 2011 [INFO] In ExecutionNodeEntity:__init() - Creating a new ExecutionNoneEntity
  300. Tue Oct 18 13:45:04 2011 [INFO] In BasicComponentEntity:__init, Creating a new BasicComponentEntity
  301. Tue Oct 18 13:45:04 2011 [DEBUG] Type of inst: table
  302. Tue Oct 18 13:45:04 2011 [INFO] A BasicComponentEntity was created
  303. Tue Oct 18 13:45:04 2011 [INFO] Printing BasicComponentEntity(setoff)
  304. Tue Oct 18 13:45:04 2011 [INFO] Ending BasicComponentEntity:__init and Returning inst
  305. Tue Oct 18 13:45:04 2011 [INFO] Ending ExecutionNodeEntity:__init and Returning inst
  306. Tue Oct 18 13:45:04 2011 [INFO] In BasicComponentEntity:set_description
  307. Tue Oct 18 13:45:04 2011 [INFO] Ending BasicComponentEntity:set_description
  308. Tue Oct 18 13:45:04 2011 [INFO] In BasicComponentEntity:set_plan
  309. Tue Oct 18 13:45:04 2011 [INFO] Ending BasicComponentEntity:set_plan and Returning self.plan
  310. Tue Oct 18 13:45:04 2011 [INFO] In Plan:get_nickname
  311. Tue Oct 18 13:45:04 2011 [INFO] Ending Plan:get_nickname
  312. Tue Oct 18 13:45:04 2011 [DEBUG] Setting the component nick to (in Plan:create_exnode): Deployer_1.Plan_2.ExecutionNodeEntity_1
  313. Tue Oct 18 13:45:04 2011 [INFO] In BasicComponentEntity:set_nickname
  314. Tue Oct 18 13:45:04 2011 [DEBUG] BasicComponentEntity.nickname = Deployer_1.Plan_2.ExecutionNodeEntity_1
  315. Tue Oct 18 13:45:04 2011 [INFO] Ending BasicComponentEntity:set_nickname
  316. Tue Oct 18 13:45:04 2011 [INFO] Ending Plan:create_exnode and Returing servant
  317. Tue Oct 18 13:45:04 2011 [INFO] Calling: autofit_host
  318. Tue Oct 18 13:45:04 2011 [INFO] In ComponentEntity:autofit_host
  319. ----------------- AUTOFIT_HOST table: 0x198e120 lua all
  320. Tue Oct 18 13:45:04 2011 [INFO] +++ ATENTION!!!, new ways for provide Execution Nodes are developing+++
  321. Tue Oct 18 13:45:04 2011 [INFO] -------------------
  322. Tue Oct 18 13:45:04 2011 [INFO] RoadMap Version 0.1
  323. Tue Oct 18 13:45:04 2011 [INFO] -------------------
  324. Tue Oct 18 13:45:04 2011 [INFO] In Plan:less_used_hosts
  325. Tue Oct 18 13:45:04 2011 [INFO] In Plan:get_manager()
  326. Tue Oct 18 13:45:04 2011 [INFO] Obtains the manager associated with this deployment Plan
  327. Tue Oct 18 13:45:04 2011 [INFO] Ending Plan:get_manager and Returning Plan:get_manager
  328. Tue Oct 18 13:45:04 2011 [INFO] In Deployer:get_hosts
  329. Tue Oct 18 13:45:04 2011 [INFO] Obtains the list of HostDescriptions being managed by this Manager
  330. Tue Oct 18 13:45:04 2011 [DEBUG] Type of self.all_hosts_servants: table
  331. Tue Oct 18 13:45:04 2011 [INFO] In Plan:less_used_sort
  332. Tue Oct 18 13:45:04 2011 [DEBUG] Value of entity_type: hosts
  333. Tue Oct 18 13:45:04 2011 [INFO] In score_compare
  334. Tue Oct 18 13:45:04 2011 [DEBUG] e1_nick: machine0
  335. Tue Oct 18 13:45:04 2011 [DEBUG] e2_nick: avm01
  336. Tue Oct 18 13:45:04 2011 [DEBUG] usage_e1.score: 0
  337. Tue Oct 18 13:45:04 2011 [DEBUG] usage_e2.score: 0
  338. Tue Oct 18 13:45:04 2011 [INFO] Ending score_compare
  339. Tue Oct 18 13:45:04 2011 [DEBUG] Refreshing the: 'hosts' list order
  340. Tue Oct 18 13:45:04 2011 [DEBUG] First is: avm01
  341. Tue Oct 18 13:45:04 2011 [DEBUG] Ending Plan:less_used_sort and Returning true with entity_type : hosts
  342. Tue Oct 18 13:45:04 2011 [INFO] Ending Plan:less_used_hosts
  343. Tue Oct 18 13:45:04 2011 [INFO] Searching a Host from hosts
  344. Tue Oct 18 13:45:04 2011 [INFO] Showing Hosts
  345. { --[[table: 0x1e030a0]]
  346. { --[[table: 0x1c410d0]]
  347. port = 10000,
  348. name = "avm01",
  349. languages = { --[[table: 0x1c41520]]
  350. "lua",
  351. "java",
  352. },
  353. resources = { --[[table: 0x1c416e0]]
  354. bandwidth = 100,
  355. os = "linux",
  356. arch = "x86_64",
  357. cpu = 1800,
  358. mem = 512,
  359. },
  360. ip = "10.0.0.23",
  361. },
  362. { --[[table: 0x1c41a40]]
  363. port = 10000,
  364. name = "machine0",
  365. languages = { --[[table: 0x1c42590]]
  366. "lua",
  367. "java",
  368. },
  369. resources = { --[[table: 0x1c42750]]
  370. bandwidth = 100,
  371. os = "linux",
  372. arch = "x86_64",
  373. cpu = 1800,
  374. mem = 512,
  375. },
  376. ip = "139.82.2.181",
  377. },
  378. }
  379. Tue Oct 18 13:45:04 2011 [INFO] Printing All Hosts (hosts + euca_instances)
  380. { --[[table: 0x1e030a0]]
  381. { --[[table: 0x1c410d0]]
  382. port = 10000,
  383. name = "avm01",
  384. languages = { --[[table: 0x1c41520]]
  385. "lua",
  386. "java",
  387. },
  388. resources = { --[[table: 0x1c416e0]]
  389. bandwidth = 100,
  390. os = "linux",
  391. arch = "x86_64",
  392. cpu = 1800,
  393. mem = 512,
  394. },
  395. ip = "10.0.0.23",
  396. },
  397. { --[[table: 0x1c41a40]]
  398. port = 10000,
  399. name = "machine0",
  400. languages = { --[[table: 0x1c42590]]
  401. "lua",
  402. "java",
  403. },
  404. resources = { --[[table: 0x1c42750]]
  405. bandwidth = 100,
  406. os = "linux",
  407. arch = "x86_64",
  408. cpu = 1800,
  409. mem = 512,
  410. },
  411. ip = "139.82.2.181",
  412. },
  413. }
  414. Tue Oct 18 13:45:04 2011 [INFO] Searching in Host Machines
  415. Tue Oct 18 13:45:04 2011 [INFO] In for
  416. Tue Oct 18 13:45:04 2011 [INFO] searching by lang_limit
  417. Tue Oct 18 13:45:04 2011 [INFO] only once plat_limit and plat_limit=linux-x86
  418. Value of host from autofit_host: table: 0x1c410d0
  419. Tue Oct 18 13:45:04 2011 [INFO] Host found(in autofit_host)
  420. { --[[table: 0x1c410d0]]
  421. port = 10000,
  422. name = "avm01",
  423. languages = { --[[table: 0x1c41520]]
  424. "lua",
  425. "java",
  426. },
  427. resources = { --[[table: 0x1c416e0]]
  428. bandwidth = 100,
  429. os = "linux",
  430. arch = "x86_64",
  431. cpu = 1800,
  432. mem = 512,
  433. },
  434. ip = "10.0.0.23",
  435. }
  436. Tue Oct 18 13:45:04 2011 [DEBUG] Ending ComponentEntity:autofit_host and Returning found
  437. Tue Oct 18 13:45:04 2011 [INFO] In ExecutionNodeEntity:set_host( newhost )
  438. Tue Oct 18 13:45:04 2011 [INFO] Calling self.plan:update_usage('hosts', 'plus', newhost, self )
  439. Tue Oct 18 13:45:04 2011 [INFO] In Plan:update_usage( entity_type, action, entity, who_use, delta )
  440. Tue Oct 18 13:45:04 2011 [DEBUG] entity_type: hosts
  441. Tue Oct 18 13:45:04 2011 [DEBUG] action: plus
  442. Tue Oct 18 13:45:04 2011 [DEBUG] The new value of delta is: 1
  443. Tue Oct 18 13:45:04 2011 [DEBUG] The oldscore is: 0
  444. Tue Oct 18 13:45:04 2011 [INFO] Action Plus
  445. Tue Oct 18 13:45:04 2011 [DEBUG] Adding oldscore: 0 + delta: 1
  446. Tue Oct 18 13:45:04 2011 [INFO] In BasicComponentEntity:get_nickname
  447. Tue Oct 18 13:45:04 2011 [INFO] Ending BasicComponentEntity:get_nickname
  448. Tue Oct 18 13:45:04 2011 [DEBUG] Updating the usage statistics: hosts nick=avm01 has: 1
  449. Tue Oct 18 13:45:04 2011 [INFO] Ending Plan:update_usage
  450. Tue Oct 18 13:45:04 2011 [INFO] Setting the newhost to self.host(in ExecutionNodeEntity:set_host(newhost))
  451. Tue Oct 18 13:45:04 2011 [INFO] Ending ExecutionNodeEntity:set_host
  452. Tue Oct 18 13:45:04 2011 [INFO] Ending ComponentEntity:autofit_exnode
  453. Tue Oct 18 13:45:04 2011 [INFO] In ContainerEntity:set_node
  454. Tue Oct 18 13:45:04 2011 [INFO] Calling self.plan:update_usage('nodes','plus, newnode, self )
  455. Tue Oct 18 13:45:04 2011 [INFO] In Plan:update_usage( entity_type, action, entity, who_use, delta )
  456. Tue Oct 18 13:45:04 2011 [DEBUG] entity_type: nodes
  457. Tue Oct 18 13:45:04 2011 [DEBUG] action: plus
  458. Tue Oct 18 13:45:04 2011 [DEBUG] The new value of delta is: 1
  459. Tue Oct 18 13:45:04 2011 [INFO] In BasicComponentEntity:get_nickname
  460. Tue Oct 18 13:45:04 2011 [INFO] Ending BasicComponentEntity:get_nickname
  461. Tue Oct 18 13:45:04 2011 [INFO] Initializing self.usage_info[entity_type][nickname] to 0
  462. Tue Oct 18 13:45:04 2011 [DEBUG] The oldscore is: 0
  463. Tue Oct 18 13:45:04 2011 [INFO] Action Plus
  464. Tue Oct 18 13:45:04 2011 [DEBUG] Adding oldscore: 0 + delta: 1
  465. Tue Oct 18 13:45:04 2011 [INFO] In BasicComponentEntity:get_nickname
  466. Tue Oct 18 13:45:04 2011 [INFO] Ending BasicComponentEntity:get_nickname
  467. Tue Oct 18 13:45:04 2011 [DEBUG] Updating the usage statistics: nodes nick=Deployer_1.Plan_2.ExecutionNodeEntity_1 has: 1
  468. Tue Oct 18 13:45:04 2011 [INFO] Ending Plan:update_usage
  469. Tue Oct 18 13:45:04 2011 [INFO] Ending ContainerEntity:set_node
  470. Tue Oct 18 13:45:04 2011 [INFO] Ending ComponentEntity:autofit_container and Returning found
  471. Tue Oct 18 13:45:04 2011 [INFO] In ComponentEntity:set_container
  472. Tue Oct 18 13:45:04 2011 [INFO] Calling self.plan:update_usage Container and Plus
  473. Tue Oct 18 13:45:04 2011 [INFO] In Plan:update_usage( entity_type, action, entity, who_use, delta )
  474. Tue Oct 18 13:45:04 2011 [DEBUG] entity_type: containers
  475. Tue Oct 18 13:45:04 2011 [DEBUG] action: plus
  476. Tue Oct 18 13:45:04 2011 [DEBUG] The new value of delta is: 1
  477. Tue Oct 18 13:45:04 2011 [INFO] In BasicComponentEntity:get_nickname
  478. Tue Oct 18 13:45:04 2011 [INFO] Ending BasicComponentEntity:get_nickname
  479. Tue Oct 18 13:45:04 2011 [INFO] Initializing self.usage_info[entity_type][nickname] to 0
  480. Tue Oct 18 13:45:04 2011 [DEBUG] The oldscore is: 0
  481. Tue Oct 18 13:45:04 2011 [INFO] Action Plus
  482. Tue Oct 18 13:45:04 2011 [DEBUG] Adding oldscore: 0 + delta: 1
  483. Tue Oct 18 13:45:04 2011 [INFO] In BasicComponentEntity:get_nickname
  484. Tue Oct 18 13:45:04 2011 [INFO] Ending BasicComponentEntity:get_nickname
  485. Tue Oct 18 13:45:04 2011 [DEBUG] Updating the usage statistics: containers nick=Deployer_1.Plan_2.ContainerEntity_1 has: 1
  486. Tue Oct 18 13:45:04 2011 [INFO] Ending Plan:update_usage
  487. Tue Oct 18 13:45:04 2011 [INFO] Ending ComponentEntity:set_container
  488. Tue Oct 18 13:45:04 2011 [INFO] In ContainerEntity:deploy
  489. Tue Oct 18 13:45:04 2011 [INFO] Deploying the execution node
  490. Tue Oct 18 13:45:04 2011 [INFO] In ExecutionNodeEntity:deploy
  491. Tue Oct 18 13:45:04 2011 [INFO] Launchs the execution node in another machine
  492. Tue Oct 18 13:45:04 2011 [DEBUG] Testing if the ExecutionNode is running:corbaloc::10.0.0.23:10000/ExecutionNode
  493. Tue Oct 18 13:45:04 2011 [INFO] ExecutionNode not running so starting up the repository daemon remotely through the SSH protocol
  494. Tue Oct 18 13:45:04 2011 [INFO] +++Trying to access via SSH+++
  495. Tue Oct 18 13:45:04 2011 [DEBUG] type of '10.0.0.23' is 'string':
  496. Tue Oct 18 13:45:04 2011 [INFO] Starting execution_node on virtual machine 10.0.0.23
  497. Tue Oct 18 13:45:10 2011 [INFO] Probably ExecutionNone was executed(sleeping 10 seconds)
  498. Tue Oct 18 13:45:10 2011 [INFO] Sleeping 10 seconds
  499. Tue Oct 18 13:45:20 2011 [INFO] Sleeping 5 seconds
  500. Tue Oct 18 13:45:25 2011 [INFO] Starting up the ExecutionNode
  501. Tue Oct 18 13:45:25 2011 [INFO] Trying deploy the repositories connected to this ExecutionNode
  502. Tue Oct 18 13:45:25 2011 [INFO] In Plan:get_manager()
  503. Tue Oct 18 13:45:25 2011 [INFO] Obtains the manager associated with this deployment Plan
  504. Tue Oct 18 13:45:25 2011 [INFO] Ending Plan:get_manager and Returning Plan:get_manager
  505. Tue Oct 18 13:45:25 2011 [INFO] In Deployer:get_public_repositories
  506. Tue Oct 18 13:45:25 2011 [INFO] Trigger an update of the self.cache.repositories when we found an outdate IOR
  507. Tue Oct 18 13:45:25 2011 [DEBUG] Testing the reference persisted for the repository: 10.0.0.23 : 10001
  508. Tue Oct 18 13:45:25 2011 [INFO] In BasicComponentEntity:get_nickname
  509. Tue Oct 18 13:45:25 2011 [INFO] Ending BasicComponentEntity:get_nickname
  510. Tue Oct 18 13:45:25 2011 [DEBUG] [AMADEU] nickname: Deployer_1.Plan_1.RepositoryEntity_1
  511. Tue Oct 18 13:45:25 2011 [INFO] Ending Deployer:get_public_repositories and Returning repository_array
  512. Tue Oct 18 13:45:25 2011 [INFO] In ExecutionNodeEntity:add_known_repositories
  513. Tue Oct 18 13:45:25 2011 [INFO] In BasicComponentEntity:add_connection
  514. Tue Oct 18 13:45:25 2011 [INFO] In BasicComponentEntity:get_nickname
  515. Tue Oct 18 13:45:25 2011 [INFO] Ending BasicComponentEntity:get_nickname
  516. Tue Oct 18 13:45:25 2011 [INFO] In BasicComponentEntity:get_nickname
  517. Tue Oct 18 13:45:25 2011 [INFO] Ending BasicComponentEntity:get_nickname
  518. Tue Oct 18 13:45:25 2011 [INFO] In BasicComponentEntity:get_description
  519. Tue Oct 18 13:45:25 2011 [INFO] Ending BasicComponentEntity:get_description and Returing ret
  520. Tue Oct 18 13:45:25 2011 [INFO] In BasicComponentEntity:get_description
  521. Tue Oct 18 13:45:25 2011 [INFO] Ending BasicComponentEntity:get_description and Returing ret
  522. Tue Oct 18 13:45:25 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
  523. Tue Oct 18 13:45:25 2011 [INFO] Ending BasicComponentEntity:add_connection
  524. Tue Oct 18 13:45:25 2011 [INFO] In BasicComponentEntity:get_nickname
  525. Tue Oct 18 13:45:25 2011 [INFO] Ending BasicComponentEntity:get_nickname
  526. Tue Oct 18 13:45:25 2011 [INFO] Including the entity as repository ' Deployer_1.Plan_1.RepositoryEntity_1 '
  527. Tue Oct 18 13:45:25 2011 [INFO] Ending ExecutionNodeEntity:add_known_repositories
  528. Tue Oct 18 13:45:25 2011 [INFO] Connects me to repositories, very similar to the deployment of generic connections
  529. Tue Oct 18 13:45:25 2011 [INFO] In BasicComponentEntity:deploy_connections
  530. Tue Oct 18 13:45:25 2011 [INFO] ===In RepositoryEntity:deploy===
  531. Tue Oct 18 13:45:25 2011 [INFO] In BasicComponentEntity:get_facet
  532. Tue Oct 18 13:45:25 2011 [INFO] Ending BasicComponentEntity:get_facet and Returning proxy
  533. Tue Oct 18 13:45:25 2011 [INFO] In BasicComponentEntity:get_facet
  534. Tue Oct 18 13:45:25 2011 [INFO] Ending BasicComponentEntity:get_facet and Returning proxy
  535. Tue Oct 18 13:45:25 2011 [INFO] Ending BasicComponentEntity:deploy_connections and Returning true
  536. Tue Oct 18 13:45:25 2011 [INFO] ExecutionNodeEntity deployed!
  537. Tue Oct 18 13:45:25 2011 [INFO] Ending ExecutionNodeEntity:deploy and Returning true
  538. Tue Oct 18 13:45:25 2011 [INFO] If some attribute is nil we should decide what is good and filled it!
  539. Tue Oct 18 13:45:25 2011 [DEBUG] Planned properties: language and lua
  540. Tue Oct 18 13:45:25 2011 [INFO] Launchs Container
  541. Tue Oct 18 13:45:25 2011 [INFO] In BasicComponentEntity:get_facet
  542. Tue Oct 18 13:45:25 2011 [INFO] Ending BasicComponentEntity:get_facet and Returning proxy
  543. Tue Oct 18 13:45:25 2011 [INFO] In BasicComponentEntity:get_nickname
  544. Tue Oct 18 13:45:25 2011 [INFO] Ending BasicComponentEntity:get_nickname
  545. Tue Oct 18 13:45:26 2011 [INFO] ContainerEntity deployed!
  546. Tue Oct 18 13:45:26 2011 [INFO] Ending ContainerEntity:deploy and Returning true
  547. Tue Oct 18 13:45:26 2011 [INFO] In BasicComponentEntity:get_facet
  548. Tue Oct 18 13:45:26 2011 [INFO] Ending BasicComponentEntity:get_facet and Returning proxy
  549. Tue Oct 18 13:45:26 2011 [INFO] In BasicComponentEntity:deploy_connections
  550. Tue Oct 18 13:45:26 2011 [INFO] Ending BasicComponentEntity:deploy_connections and Returning true
  551. Tue Oct 18 13:45:26 2011 [INFO] ComponentEntity deployed!
  552. Tue Oct 18 13:45:26 2011 [INFO] Ending ComponentEntity:deploy and Returning true
  553. Tue Oct 18 13:45:26 2011 [INFO] Ending Plan:deploy and Returning true
  554. Tue Oct 18 13:45:26 2011 [INFO] In Plan:activate
  555. Tue Oct 18 13:45:26 2011 [INFO] In BasicComponentEntity:get_nickname
  556. Tue Oct 18 13:45:26 2011 [INFO] Ending BasicComponentEntity:get_nickname
  557. Tue Oct 18 13:45:26 2011 [INFO] In BasicComponentEntity:get_description
  558. Tue Oct 18 13:45:26 2011 [INFO] Ending BasicComponentEntity:get_description and Returing ret
  559. Tue Oct 18 13:45:26 2011 [DEBUG] Activating: Deployer_1.Plan_2.ComponentEntity_1 and Hello-1.0-0
  560. Tue Oct 18 13:45:26 2011 [INFO] In BasicComponentEntity:activate
  561. Tue Oct 18 13:45:26 2011 [INFO] Ending BasicComponentEntity:activate
  562. Tue Oct 18 13:45:26 2011 [INFO] Ending Plan:activate and Returning true
  563. Tue Oct 18 13:45:26 2011 [INFO] In BasicComponentEntity:get_facet
  564. Tue Oct 18 13:45:26 2011 [INFO] Ending BasicComponentEntity:get_facet and Returning proxy
  565. Tue Oct 18 13:45:26 2011 [INFO] In Plan:undeploy
  566. Tue Oct 18 13:45:26 2011 [INFO] In BasicComponentEntity:get_nickname
  567. Tue Oct 18 13:45:26 2011 [INFO] Ending BasicComponentEntity:get_nickname
  568. Tue Oct 18 13:45:26 2011 [INFO] In BasicComponentEntity:get_description
  569. Tue Oct 18 13:45:26 2011 [INFO] Ending BasicComponentEntity:get_description and Returing ret
  570. Tue Oct 18 13:45:26 2011 [DEBUG] Undeploying:Deployer_1.Plan_2.ComponentEntity_1 and Hello-1.0-0
  571. Tue Oct 18 13:45:26 2011 [INFO] In ComponentEntity:undeploy
  572. Tue Oct 18 13:45:26 2011 [INFO] In BasicComponentEntity:still_deployed
  573. Tue Oct 18 13:45:26 2011 [INFO] In BasicComponentEntity:get_nickname
  574. Tue Oct 18 13:45:26 2011 [INFO] Ending BasicComponentEntity:get_nickname
  575. Tue Oct 18 13:45:26 2011 [DEBUG] Testing still deployed:Deployer_1.Plan_2.ContainerEntity_1 proxy to the facet: IComponent
  576. Tue Oct 18 13:45:26 2011 [INFO] In BasicComponentEntity:get_nickname
  577. Tue Oct 18 13:45:26 2011 [INFO] Ending BasicComponentEntity:get_nickname
  578. Tue Oct 18 13:45:26 2011 [DEBUG] Testing still deployed:Deployer_1.Plan_2.ContainerEntity_1 proxy to the facet: ComponentCollection
  579. Tue Oct 18 13:45:26 2011 [DEBUG] The CORBA proxy: ComponentCollection is outdated!
  580. Tue Oct 18 13:45:26 2011 [INFO] Ending BasicComponentEntity:still_deployed and Returning self.deployed
  581. Tue Oct 18 13:45:26 2011 [INFO] In BasicComponentEntity:still_deployed
  582. Tue Oct 18 13:45:26 2011 [INFO] In BasicComponentEntity:get_nickname
  583. Tue Oct 18 13:45:26 2011 [INFO] Ending BasicComponentEntity:get_nickname
  584. Tue Oct 18 13:45:26 2011 [DEBUG] Testing still deployed:Deployer_1.Plan_2.ComponentEntity_1 proxy to the facet: IComponent
  585. Tue Oct 18 13:45:26 2011 [INFO] In BasicComponentEntity:get_nickname
  586. Tue Oct 18 13:45:26 2011 [INFO] Ending BasicComponentEntity:get_nickname
  587. Tue Oct 18 13:45:26 2011 [DEBUG] Testing still deployed:Deployer_1.Plan_2.ComponentEntity_1 proxy to the facet: Hello
  588. Tue Oct 18 13:45:26 2011 [DEBUG] The CORBA proxy: Hello is outdated!
  589. Tue Oct 18 13:45:26 2011 [INFO] Ending BasicComponentEntity:still_deployed and Returning self.deployed
  590. Tue Oct 18 13:45:26 2011 [INFO] In BasicComponentEntity:get_nickname
  591. Tue Oct 18 13:45:26 2011 [INFO] Ending BasicComponentEntity:get_nickname
  592. Tue Oct 18 13:45:26 2011 [INFO] In BasicComponentEntity:get_nickname
  593. Tue Oct 18 13:45:26 2011 [INFO] Ending BasicComponentEntity:get_nickname
  594. Tue Oct 18 13:45:26 2011 [DEBUG] Undeploy of the entity: Deployer_1.Plan_2.ComponentEntity_1 has finished successfully
  595. Tue Oct 18 13:45:26 2011 [INFO] Ending ComponentEntity:undeploy and Returning true
  596. Tue Oct 18 13:45:26 2011 [INFO] Ending Plan:undeploy and Returning true
  597.  
  598. ============== GUEST ==============
  599.  
  600. root@i-000000aa:/home/edward/projects/scs-deploysystem/src/lua/scs/demos/deployer# ./rundemo hello-packaging.lua
  601. ATTENTION: Using the SCS_HOME system variable as /home/edward/projects/scs-deploysystem
  602. { --[[table: 0x18e9970]]
  603. __reference = { --[[table: 0x1828800]]
  604. type_id = "",
  605. profiles = { --[[table: 0x191ba60]]
  606. { --[[table: 0x1777480]]
  607. profile_data = "\000�\
  608. \000\000\00010.0.0.23\000� \
  609. \000\000\000Packager_1",
  610. tag = 0,
  611. },
  612. },
  613. },
  614. __deferred = { --[[table: 0x19513d0]]
  615. __reference = table: 0x1828800,
  616. },
  617. __try = { --[[table: 0x166bf30]]
  618. __reference = table: 0x1828800,
  619. },
  620. }
  621. { --[[table: 0x16bf5c0]]
  622. __reference = { --[[table: 0x1923a10]]
  623. type_id = "",
  624. profiles = { --[[table: 0x1771640]]
  625. { --[[table: 0x19610f0]]
  626. profile_data = "\000�\r\000\000\000139.82.2.181\000�� \
  627. \000\000\000Deployer_1",
  628. tag = 0,
  629. },
  630. },
  631. },
  632. __deferred = { --[[table: 0x1ab0570]]
  633. __reference = table: 0x1923a10,
  634. },
  635. __try = { --[[table: 0x1aa51a0]]
  636. __reference = table: 0x1923a10,
  637. },
  638. }
  639. { --[[table: 0x1958a00]]
  640. __reference = { --[[table: 0x19c3680]]
  641. type_id = "IDL:scs/deployer/RepositoryEntity:1.0",
  642. profiles = { --[[table: 0x19c3b50]]
  643. { --[[table: 0x19c3580]]
  644. profile_data = "\000�\r\000\000\000139.82.2.181\000�� $\000\000\000Deployer_1.Plan_1.RepositoryEntity_1",
  645. tag = 0,
  646. },
  647. { --[[table: 0x19b85f0]]
  648. profile_data = "\000�\000\000\000pituba.inf.puc-rio.br\000� $\000\000\000Deployer_1.Plan_1.RepositoryEntity_1",
  649. tag = 0,
  650. },
  651. { --[[table: 0x19b87c0]]
  652. profile_data = "\000�\000\000\000pituba\000�� ��$\000\000\000Deployer_1.Plan_1.RepositoryEntity_1",
  653. tag = 0,
  654. },
  655. { --[[table: 0x19acf70]]
  656. profile_data = "\000�\000\000\000pituba.tecgraf.org\000�� ��$\000\000\000Deployer_1.Plan_1.RepositoryEntity_1",
  657. tag = 0,
  658. },
  659. n = 4,
  660. },
  661. },
  662. __deferred = { --[[table: 0x194d7b0]]
  663. __reference = table: 0x19c3680,
  664. },
  665. __try = { --[[table: 0x1941f80]]
  666. __reference = table: 0x19c3680,
  667. },
  668. }
  669. Tue Oct 18 15:44:40 2011 INFO Packager has local access to the sources,
  670. Tue Oct 18 15:44:40 2011 INFO so we will use Packager.create_from_dir during the packaging.
  671. Tue Oct 18 15:44:40 2011 INFO Generating the package for the Lua version of the Hello.
  672. Tue Oct 18 15:44:41 2011 INFO The package of the Hello component (lua version) was published.
  673. Tue Oct 18 15:44:41 2011 INFO Generating the package for the Java version of the Hello also.
  674. Tue Oct 18 15:44:46 2011 INFO The package of the Hello component (java version) was published.
  675. root@i-000000aa:/home/edward/projects/scs-deploysystem/src/lua/scs/demos/deployer# ./rundemo hello-deployment.lua
  676. ATTENTION: Using the SCS_HOME system variable as /home/edward/projects/scs-deploysystem
  677. { --[[table: 0x2b04030]]
  678. __reference = { --[[table: 0x2b3d900]]
  679. type_id = "",
  680. profiles = { --[[table: 0x2b3d950]]
  681. { --[[table: 0x2b32050]]
  682. profile_data = "\000�\r\000\000\000139.82.2.181\000�� \
  683. \000\000\000Deployer_1",
  684. tag = 0,
  685. },
  686. },
  687. },
  688. __deferred = { --[[table: 0x2b045d0]]
  689. __reference = table: 0x2b3d900,
  690. },
  691. __try = { --[[table: 0x2af8d20]]
  692. __reference = table: 0x2b3d900,
  693. },
  694. }
  695. Tue Oct 18 15:45:03 2011 DEBUG Plan created with id='Deployer_1.Plan_2'
  696. Tue Oct 18 15:45:25 2011 INFO Hello component was deployed!
  697. Tue Oct 18 15:45:25 2011 INFO Plan activated!
  698. Tue Oct 18 15:45:25 2011 INFO User application actions is starting!
  699. Tue Oct 18 15:45:25 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)
  700. Tue Oct 18 15:45:25 2011 INFO User application actions finished!
  701. Tue Oct 18 15:45:25 2011 INFO Deactivating the deployment plan!
  702. Tue Oct 18 15:45:25 2011 INFO Finished successfuly.
  703. root@i-000000aa:/home/edward/projects/scs-deploysystem/src/lua/scs/demos/deployer#
  704.  
Advertisement
Add Comment
Please, Sign In to add comment