Advertisement
Guest User

Untitled

a guest
May 4th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.05 KB | None | 0 0
  1. . ____ _ __ _ _
  2. /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
  3. ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
  4. \\/ ___)| |_)| | | | | || (_| | ) ) ) )
  5. ' |____| .__|_| |_|_| |_\__, | / / / /
  6. =========|_|==============|___/=/_/_/_/
  7. :: Spring Boot :: (v1.4.1.RELEASE)
  8.  
  9. 08:15:21.418 [main] INFO com.b4n.vnfm.Application - Starting Application v2.1-FEATURE.ORC-1888 on vnfm with PID 1 (/opt/b4n/vnfm/vnfm.jar started by root in /opt/b4n/vnfm)
  10. 08:15:21.422 [main] INFO com.b4n.vnfm.Application - The following profiles are active: dev
  11. 08:15:25.686 [main] INFO com.b4n.vnfm.Application - Running with Spring profile(s) : [dev]
  12. 08:15:27.035 [main] INFO com.b4n.vnfm.Application - Started Application in 6.725 seconds (JVM running for 8.241)
  13. 08:15:27.036 [main] INFO com.b4n.vnfm.Application - Access URLs:
  14. ----------------------------------------------------------
  15. Local: http://127.0.0.1:8081
  16. External: http://10.11.11.101:8081
  17. ----------------------------------------------------------
  18. 08:17:47.543 [pool-2-thread-1] INFO com.b4n.vnfm.configuration.tasks.AbstractTask - Called new configation task: com.b4n.vnfm.configuration.tasks.impl.CheckAvailabilityTask . Attempt No: 1
  19. 08:17:47.544 [pool-2-thread-1] INFO com.b4n.vnfm.ssh - Authenticating by password
  20. 08:17:52.091 [pool-2-thread-1] INFO com.b4n.vnfm.configuration.tasks.AbstractTask - Attempt is not successful. Reason: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sshScriptConfigurationExecutor' defined in URL [jar:file:/opt/b4n/vnfm/vnfm.jar!/BOOT-INF/classes!/com/b4n/vnfm/configuration/executors/SshScriptConfigurationExecutor.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.b4n.vnfm.configuration.executors.SshScriptConfigurationExecutor]: Constructor threw exception; nested exception is java.net.SocketTimeoutException: connect timed out
  21. 08:17:52.091 [pool-2-thread-1] INFO com.b4n.vnfm.configuration.tasks.AbstractTask - Rescheduling configuration task: com.b4n.vnfm.configuration.tasks.impl.CheckAvailabilityTask
  22. 08:18:22.092 [pool-2-thread-2] INFO com.b4n.vnfm.configuration.tasks.AbstractTask - Called new configation task: com.b4n.vnfm.configuration.tasks.impl.CheckAvailabilityTask . Attempt No: 2
  23. 08:18:22.092 [pool-2-thread-2] INFO com.b4n.vnfm.ssh - Authenticating by password
  24. 08:18:24.222 [pool-2-thread-2] INFO com.b4n.vnfm.ssh - Authentication by password successful
  25. 08:18:26.339 [http-nio-8081-exec-2] INFO com.b4n.vnfm.rest.VnfmApi - Configuring VNF...
  26. 08:18:26.373 [pool-2-thread-2] INFO com.b4n.vnfm.configuration.tasks.AbstractTask - Called new configation task: com.b4n.vnfm.configuration.tasks.impl.CustomScriptTask . Attempt No: 1
  27. 08:18:26.401 [pool-2-thread-2] INFO com.b4n.vnfm.configuration.executors.AnsibleConfigurationExecutor - Content: ---
  28. - hosts: vdu
  29. tasks:
  30. - name: setting up ssh key
  31. authorized_key:
  32. user: root
  33. key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDOPwhWbjgTw7rKRlGKBTOlTQurtTaeqZJmo2OdmGA3b9ZWBzEscRsZnqERqC/Wm1t7dRlWv/8H+xa+9BZIn1YtZ1ZRWIZQM8SuuL3CSSCN+TlrqEa7nmpx+g3SpaDAXBr27QMBE+beOjMhzpfOXQNy60y2haGElEhqnQ5EC/8VtpJfRPYfahpyHEdMIGoBlnS2z+CHnlKcyMYqGm7I7d34iJv1P7TmHVr0hOtrCZerUCUB+J/glzJoGHXkp1EfOe+3O/T31KWrDKv4SO05z9Twu+X6r4Gox5+XMsSLaXDD4Ij4xq8HnquE1hDT90rV2ZrrnrOzLaEnEhctu7cbiS/P brain4net@vnfm"
  34. state: present
  35. path: /etc/dropbear/authorized_keys
  36. manage_dir: yes
  37. - name: changing password
  38. user:
  39. name: root
  40. update_password: always
  41. password: "{{ '7YD3fTnc' | password_hash('md5') }}"
  42. - name: changing hostname
  43. lineinfile:
  44. path: /etc/config/system
  45. regexp: "option hostname"
  46. line: "\toption hostname 'VDU1525421847241'"
  47. - name: setup network
  48. blockinfile:
  49. path: /etc/config/network
  50. block: |
  51. config interface 'lan'
  52. option ifname 'eth1'
  53. option type 'bridge'
  54. option proto 'dhcp'
  55.  
  56. config interface 'wan'
  57. option ifname 'eth2'
  58. option proto 'dhcp'
  59. marker: ''
  60. - name: restarting network
  61. openwrt_init:
  62. name: network
  63. state: restarted
  64. enabled: yes
  65. - name: changing /etc/hosts for zabbix
  66. lineinfile:
  67. path: /etc/hosts
  68. line: '10.11.12.160 VDU1525421847241'
  69. - name: changing zabbix agent config
  70. lineinfile:
  71. path: /etc/zabbix_agentd.conf
  72. regexp: "{{ item.regexp }}"
  73. line: "{{ item.line }}"
  74. with_items:
  75. - { regexp: '^Server=', line: 'Server=10.11.12.2' }
  76. - { regexp: '^ServerActive=', line: 'ServerActive=10.11.12.2' }
  77. - { regexp: '^Hostname=', line: 'Hostname=VDU1525421847241' }
  78. - name: restarting system service
  79. openwrt_init:
  80. name: system
  81. state: restarted
  82. enabled: yes
  83. - name: restarting zabbix_agentd service
  84. openwrt_init:
  85. name: zabbix_agentd
  86. state: restarted
  87. enabled: yes
  88.  
  89. 08:18:26.402 [pool-2-thread-2] INFO com.b4n.vnfm.configuration.executors.AnsibleConfigurationExecutor - Executing: ansible-playbook -i /tmp/29ba91e5-3387-45a0-bcdf-30e5113f93a26187080217995462141.tmp /tmp/1525421906379-0/791f1020-4e94-4e9e-9d73-8c795084f8f6
  90. 08:18:36.832 [pool-2-thread-2] INFO com.b4n.vnfm.configuration.executors.AnsibleConfigurationExecutor - Exit code: 0
  91. 08:18:36.834 [pool-2-thread-2] DEBUG com.b4n.vnfm.configuration.executors.SystemProcessExecutor - Response:
  92. PLAY [vdu] *********************************************************************
  93.  
  94. TASK [Gathering Facts] *********************************************************
  95. ok: [10.11.12.160]
  96.  
  97. TASK [setting up ssh key] ******************************************************
  98. changed: [10.11.12.160]
  99.  
  100. TASK [changing password] *******************************************************
  101. changed: [10.11.12.160]
  102.  
  103. TASK [changing hostname] *******************************************************
  104. changed: [10.11.12.160]
  105.  
  106. TASK [setup network] ***********************************************************
  107. changed: [10.11.12.160]
  108.  
  109. TASK [restarting network] ******************************************************
  110. changed: [10.11.12.160]
  111.  
  112. TASK [changing /etc/hosts for zabbix] ******************************************
  113. changed: [10.11.12.160]
  114.  
  115. TASK [changing zabbix agent config] ********************************************
  116. changed: [10.11.12.160] => (item={u'regexp': u'^Server=', u'line': u'Server=10.11.12.2'})
  117. changed: [10.11.12.160] => (item={u'regexp': u'^ServerActive=', u'line': u'ServerActive=10.11.12.2'})
  118. changed: [10.11.12.160] => (item={u'regexp': u'^Hostname=', u'line': u'Hostname=VDU1525421847241'})
  119.  
  120. TASK [restarting system service] ***********************************************
  121. changed: [10.11.12.160]
  122.  
  123. TASK [restarting zabbix_agentd service] ****************************************
  124. changed: [10.11.12.160]
  125.  
  126. PLAY RECAP *********************************************************************
  127. 10.11.12.160 : ok=10 changed=9 unreachable=0 failed=0
  128.  
  129.  
  130. 08:18:36.835 [http-nio-8081-exec-2] INFO com.b4n.vnfm.rest.VnfmApi - VNF has been configured successful
  131. 08:18:36.895 [http-nio-8081-exec-3] INFO com.b4n.vnfm.rest.VnfmApi - Configuring VNF...
  132. 08:18:36.898 [pool-2-thread-1] INFO com.b4n.vnfm.configuration.tasks.AbstractTask - Called new configation task: com.b4n.vnfm.configuration.tasks.impl.CustomScriptTask . Attempt No: 1
  133. 08:18:36.898 [pool-2-thread-1] INFO com.b4n.vnfm.ssh - Authenticating by key
  134. 08:18:37.016 [pool-2-thread-1] INFO com.b4n.vnfm.ssh - Authentication by key successful
  135. 08:18:37.016 [pool-2-thread-1] INFO com.b4n.vnfm.configuration.executors.SshScriptConfigurationExecutor - Script: mkdir 123
  136.  
  137. 08:18:42.034 [pool-2-thread-1] INFO com.b4n.vnfm.configuration.executors.SshScriptConfigurationExecutor - Copying by scp
  138. 08:18:42.091 [pool-2-thread-1] INFO com.b4n.vnfm.configuration.executors.SshScriptConfigurationExecutor - Executing command: /bin/sh 9c73d3f9-8cc4-43ab-bdd7-265c25c0e85f
  139. 08:19:36.952 [pool-2-thread-1] INFO com.b4n.vnfm.configuration.tasks.AbstractTask - Attempt is not successful. Reason: java.io.InterruptedIOException: null
  140. 08:19:36.952 [pool-2-thread-1] INFO com.b4n.vnfm.configuration.tasks.AbstractTask - Rescheduling configuration task: com.b4n.vnfm.configuration.tasks.impl.CustomScriptTask
  141. 08:20:06.953 [pool-2-thread-3] INFO com.b4n.vnfm.configuration.tasks.AbstractTask - Called new configation task: com.b4n.vnfm.configuration.tasks.impl.CustomScriptTask . Attempt No: 2
  142. 08:20:06.953 [pool-2-thread-3] INFO com.b4n.vnfm.ssh - Authenticating by key
  143. 08:20:09.966 [pool-2-thread-3] INFO com.b4n.vnfm.configuration.tasks.AbstractTask - Attempt is not successful. Reason: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sshScriptConfigurationExecutor' defined in URL [jar:file:/opt/b4n/vnfm/vnfm.jar!/BOOT-INF/classes!/com/b4n/vnfm/configuration/executors/SshScriptConfigurationExecutor.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.b4n.vnfm.configuration.executors.SshScriptConfigurationExecutor]: Constructor threw exception; nested exception is java.net.SocketTimeoutException: connect timed out
  144. 08:20:09.966 [pool-2-thread-3] INFO com.b4n.vnfm.configuration.tasks.AbstractTask - Rescheduling configuration task: com.b4n.vnfm.configuration.tasks.impl.CustomScriptTask
  145. 08:20:39.967 [pool-2-thread-2] INFO com.b4n.vnfm.configuration.tasks.AbstractTask - Called new configation task: com.b4n.vnfm.configuration.tasks.impl.CustomScriptTask . Attempt No: 3
  146. 08:20:39.967 [pool-2-thread-2] INFO com.b4n.vnfm.ssh - Authenticating by key
  147. 08:20:42.976 [pool-2-thread-2] INFO com.b4n.vnfm.configuration.tasks.AbstractTask - Attempt is not successful. Reason: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sshScriptConfigurationExecutor' defined in URL [jar:file:/opt/b4n/vnfm/vnfm.jar!/BOOT-INF/classes!/com/b4n/vnfm/configuration/executors/SshScriptConfigurationExecutor.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.b4n.vnfm.configuration.executors.SshScriptConfigurationExecutor]: Constructor threw exception; nested exception is java.net.SocketTimeoutException: connect timed out
  148. 08:20:42.976 [pool-2-thread-2] INFO com.b4n.vnfm.configuration.tasks.AbstractTask - Rescheduling configuration task: com.b4n.vnfm.configuration.tasks.impl.CustomScriptTask
  149. 08:21:12.977 [pool-2-thread-4] INFO com.b4n.vnfm.configuration.tasks.AbstractTask - Called new configation task: com.b4n.vnfm.configuration.tasks.impl.CustomScriptTask . Attempt No: 4
  150. 08:21:12.977 [pool-2-thread-4] INFO com.b4n.vnfm.ssh - Authenticating by key
  151. 08:21:15.989 [pool-2-thread-4] INFO com.b4n.vnfm.configuration.tasks.AbstractTask - Attempt is not successful. Reason: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sshScriptConfigurationExecutor' defined in URL [jar:file:/opt/b4n/vnfm/vnfm.jar!/BOOT-INF/classes!/com/b4n/vnfm/configuration/executors/SshScriptConfigurationExecutor.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.b4n.vnfm.configuration.executors.SshScriptConfigurationExecutor]: Constructor threw exception; nested exception is java.net.SocketTimeoutException: connect timed out
  152. 08:21:15.989 [pool-2-thread-4] INFO com.b4n.vnfm.configuration.tasks.AbstractTask - Rescheduling configuration task: com.b4n.vnfm.configuration.tasks.impl.CustomScriptTask
  153. 08:21:45.990 [pool-2-thread-5] INFO com.b4n.vnfm.configuration.tasks.AbstractTask - Called new configation task: com.b4n.vnfm.configuration.tasks.impl.CustomScriptTask . Attempt No: 5
  154. 08:21:45.990 [pool-2-thread-5] INFO com.b4n.vnfm.ssh - Authenticating by key
  155. 08:21:49.000 [pool-2-thread-5] INFO com.b4n.vnfm.configuration.tasks.AbstractTask - Attempt is not successful. Reason: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sshScriptConfigurationExecutor' defined in URL [jar:file:/opt/b4n/vnfm/vnfm.jar!/BOOT-INF/classes!/com/b4n/vnfm/configuration/executors/SshScriptConfigurationExecutor.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.b4n.vnfm.configuration.executors.SshScriptConfigurationExecutor]: Constructor threw exception; nested exception is java.net.SocketTimeoutException: connect timed out
  156. 08:21:49.000 [pool-2-thread-5] INFO com.b4n.vnfm.configuration.tasks.AbstractTask - Rescheduling configuration task: com.b4n.vnfm.configuration.tasks.impl.CustomScriptTask
  157. 08:22:19.000 [pool-2-thread-6] INFO com.b4n.vnfm.configuration.tasks.AbstractTask - Called new configation task: com.b4n.vnfm.configuration.tasks.impl.CustomScriptTask . Attempt No: 6
  158. 08:22:19.001 [pool-2-thread-6] INFO com.b4n.vnfm.ssh - Authenticating by key
  159. 08:22:22.028 [pool-2-thread-6] INFO com.b4n.vnfm.configuration.tasks.AbstractTask - Attempt is not successful. Reason: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sshScriptConfigurationExecutor' defined in URL [jar:file:/opt/b4n/vnfm/vnfm.jar!/BOOT-INF/classes!/com/b4n/vnfm/configuration/executors/SshScriptConfigurationExecutor.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.b4n.vnfm.configuration.executors.SshScriptConfigurationExecutor]: Constructor threw exception; nested exception is java.net.SocketTimeoutException: connect timed out
  160. 08:22:22.028 [pool-2-thread-6] INFO com.b4n.vnfm.configuration.tasks.AbstractTask - Rescheduling configuration task: com.b4n.vnfm.configuration.tasks.impl.CustomScriptTask
  161. 08:22:52.029 [pool-2-thread-7] INFO com.b4n.vnfm.configuration.tasks.AbstractTask - Called new configation task: com.b4n.vnfm.configuration.tasks.impl.CustomScriptTask . Attempt No: 7
  162. 08:22:52.029 [pool-2-thread-7] INFO com.b4n.vnfm.ssh - Authenticating by key
  163. 08:22:55.038 [pool-2-thread-7] INFO com.b4n.vnfm.configuration.tasks.AbstractTask - Attempt is not successful. Reason: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sshScriptConfigurationExecutor' defined in URL [jar:file:/opt/b4n/vnfm/vnfm.jar!/BOOT-INF/classes!/com/b4n/vnfm/configuration/executors/SshScriptConfigurationExecutor.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.b4n.vnfm.configuration.executors.SshScriptConfigurationExecutor]: Constructor threw exception; nested exception is java.net.SocketTimeoutException: connect timed out
  164. 08:22:55.038 [pool-2-thread-7] INFO com.b4n.vnfm.configuration.tasks.AbstractTask - Rescheduling configuration task: com.b4n.vnfm.configuration.tasks.impl.CustomScriptTask
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement