Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- . ____ _ __ _ _
- /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
- ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
- \\/ ___)| |_)| | | | | || (_| | ) ) ) )
- ' |____| .__|_| |_|_| |_\__, | / / / /
- =========|_|==============|___/=/_/_/_/
- :: Spring Boot :: (v1.4.1.RELEASE)
- 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)
- 08:15:21.422 [main] INFO com.b4n.vnfm.Application - The following profiles are active: dev
- 08:15:25.686 [main] INFO com.b4n.vnfm.Application - Running with Spring profile(s) : [dev]
- 08:15:27.035 [main] INFO com.b4n.vnfm.Application - Started Application in 6.725 seconds (JVM running for 8.241)
- 08:15:27.036 [main] INFO com.b4n.vnfm.Application - Access URLs:
- ----------------------------------------------------------
- Local: http://127.0.0.1:8081
- External: http://10.11.11.101:8081
- ----------------------------------------------------------
- 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
- 08:17:47.544 [pool-2-thread-1] INFO com.b4n.vnfm.ssh - Authenticating by password
- 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
- 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
- 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
- 08:18:22.092 [pool-2-thread-2] INFO com.b4n.vnfm.ssh - Authenticating by password
- 08:18:24.222 [pool-2-thread-2] INFO com.b4n.vnfm.ssh - Authentication by password successful
- 08:18:26.339 [http-nio-8081-exec-2] INFO com.b4n.vnfm.rest.VnfmApi - Configuring VNF...
- 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
- 08:18:26.401 [pool-2-thread-2] INFO com.b4n.vnfm.configuration.executors.AnsibleConfigurationExecutor - Content: ---
- - hosts: vdu
- tasks:
- - name: setting up ssh key
- authorized_key:
- user: root
- key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDOPwhWbjgTw7rKRlGKBTOlTQurtTaeqZJmo2OdmGA3b9ZWBzEscRsZnqERqC/Wm1t7dRlWv/8H+xa+9BZIn1YtZ1ZRWIZQM8SuuL3CSSCN+TlrqEa7nmpx+g3SpaDAXBr27QMBE+beOjMhzpfOXQNy60y2haGElEhqnQ5EC/8VtpJfRPYfahpyHEdMIGoBlnS2z+CHnlKcyMYqGm7I7d34iJv1P7TmHVr0hOtrCZerUCUB+J/glzJoGHXkp1EfOe+3O/T31KWrDKv4SO05z9Twu+X6r4Gox5+XMsSLaXDD4Ij4xq8HnquE1hDT90rV2ZrrnrOzLaEnEhctu7cbiS/P brain4net@vnfm"
- state: present
- path: /etc/dropbear/authorized_keys
- manage_dir: yes
- - name: changing password
- user:
- name: root
- update_password: always
- password: "{{ '7YD3fTnc' | password_hash('md5') }}"
- - name: changing hostname
- lineinfile:
- path: /etc/config/system
- regexp: "option hostname"
- line: "\toption hostname 'VDU1525421847241'"
- - name: setup network
- blockinfile:
- path: /etc/config/network
- block: |
- config interface 'lan'
- option ifname 'eth1'
- option type 'bridge'
- option proto 'dhcp'
- config interface 'wan'
- option ifname 'eth2'
- option proto 'dhcp'
- marker: ''
- - name: restarting network
- openwrt_init:
- name: network
- state: restarted
- enabled: yes
- - name: changing /etc/hosts for zabbix
- lineinfile:
- path: /etc/hosts
- line: '10.11.12.160 VDU1525421847241'
- - name: changing zabbix agent config
- lineinfile:
- path: /etc/zabbix_agentd.conf
- regexp: "{{ item.regexp }}"
- line: "{{ item.line }}"
- with_items:
- - { regexp: '^Server=', line: 'Server=10.11.12.2' }
- - { regexp: '^ServerActive=', line: 'ServerActive=10.11.12.2' }
- - { regexp: '^Hostname=', line: 'Hostname=VDU1525421847241' }
- - name: restarting system service
- openwrt_init:
- name: system
- state: restarted
- enabled: yes
- - name: restarting zabbix_agentd service
- openwrt_init:
- name: zabbix_agentd
- state: restarted
- enabled: yes
- 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
- 08:18:36.832 [pool-2-thread-2] INFO com.b4n.vnfm.configuration.executors.AnsibleConfigurationExecutor - Exit code: 0
- 08:18:36.834 [pool-2-thread-2] DEBUG com.b4n.vnfm.configuration.executors.SystemProcessExecutor - Response:
- PLAY [vdu] *********************************************************************
- TASK [Gathering Facts] *********************************************************
- ok: [10.11.12.160]
- TASK [setting up ssh key] ******************************************************
- changed: [10.11.12.160]
- TASK [changing password] *******************************************************
- changed: [10.11.12.160]
- TASK [changing hostname] *******************************************************
- changed: [10.11.12.160]
- TASK [setup network] ***********************************************************
- changed: [10.11.12.160]
- TASK [restarting network] ******************************************************
- changed: [10.11.12.160]
- TASK [changing /etc/hosts for zabbix] ******************************************
- changed: [10.11.12.160]
- TASK [changing zabbix agent config] ********************************************
- changed: [10.11.12.160] => (item={u'regexp': u'^Server=', u'line': u'Server=10.11.12.2'})
- changed: [10.11.12.160] => (item={u'regexp': u'^ServerActive=', u'line': u'ServerActive=10.11.12.2'})
- changed: [10.11.12.160] => (item={u'regexp': u'^Hostname=', u'line': u'Hostname=VDU1525421847241'})
- TASK [restarting system service] ***********************************************
- changed: [10.11.12.160]
- TASK [restarting zabbix_agentd service] ****************************************
- changed: [10.11.12.160]
- PLAY RECAP *********************************************************************
- 10.11.12.160 : ok=10 changed=9 unreachable=0 failed=0
- 08:18:36.835 [http-nio-8081-exec-2] INFO com.b4n.vnfm.rest.VnfmApi - VNF has been configured successful
- 08:18:36.895 [http-nio-8081-exec-3] INFO com.b4n.vnfm.rest.VnfmApi - Configuring VNF...
- 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
- 08:18:36.898 [pool-2-thread-1] INFO com.b4n.vnfm.ssh - Authenticating by key
- 08:18:37.016 [pool-2-thread-1] INFO com.b4n.vnfm.ssh - Authentication by key successful
- 08:18:37.016 [pool-2-thread-1] INFO com.b4n.vnfm.configuration.executors.SshScriptConfigurationExecutor - Script: mkdir 123
- 08:18:42.034 [pool-2-thread-1] INFO com.b4n.vnfm.configuration.executors.SshScriptConfigurationExecutor - Copying by scp
- 08:18:42.091 [pool-2-thread-1] INFO com.b4n.vnfm.configuration.executors.SshScriptConfigurationExecutor - Executing command: /bin/sh 9c73d3f9-8cc4-43ab-bdd7-265c25c0e85f
- 08:19:36.952 [pool-2-thread-1] INFO com.b4n.vnfm.configuration.tasks.AbstractTask - Attempt is not successful. Reason: java.io.InterruptedIOException: null
- 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
- 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
- 08:20:06.953 [pool-2-thread-3] INFO com.b4n.vnfm.ssh - Authenticating by key
- 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
- 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
- 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
- 08:20:39.967 [pool-2-thread-2] INFO com.b4n.vnfm.ssh - Authenticating by key
- 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
- 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
- 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
- 08:21:12.977 [pool-2-thread-4] INFO com.b4n.vnfm.ssh - Authenticating by key
- 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
- 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
- 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
- 08:21:45.990 [pool-2-thread-5] INFO com.b4n.vnfm.ssh - Authenticating by key
- 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
- 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
- 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
- 08:22:19.001 [pool-2-thread-6] INFO com.b4n.vnfm.ssh - Authenticating by key
- 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
- 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
- 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
- 08:22:52.029 [pool-2-thread-7] INFO com.b4n.vnfm.ssh - Authenticating by key
- 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
- 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