Project

General

Profile

Actions

Bug #12464

open

784: unexpected token in url http://127.0.0.1/foreman_tasks/tasks

Added by Tung Dang Quoc over 8 years ago. Updated over 6 years ago.

Status:
New
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

784: unexpected token at '{"class":"Actions::ForemanSalt::ReportImport","execution_plan_id":"6dcc853a-9d4d-47b7-ad8f-5ea9b4fd06d4","id":1,"plan_step_id":1,"run_step_id":2,"finalize_step_id":null,"caller_execution_plan_id":null,"caller_action_id":null,"input":{"job_id":"20151112110110487828","report":{"node01.vcdn.vn":{"file_|-/etc/sudoers.d_|-/etc/sudoers.d_|-directory":{"comment":"Files cleaned from directory /etc/sudoers.d","name":"/etc/sudoers.d","start_time":"11:01:41.205589","result":true,"duration":1.494,"__run_num__":2,"changes":{"removed":["/etc/sudoers.d/tungdq2","/etc/sudoers.d/nhanns"]}},"file_|-/etc/rc.local_|-/etc/rc.local_|-append":{"comment":"File /etc/rc.local is in correct state","name":"/etc/rc.local","start_time":"11:02:11.558642","result":true,"duration":6.578,"__run_num__":35,"changes":{}},"file_|-/opt/cdn-nodecacher_|-/opt/cdn-nodecacher_|-recurse":{"comment":"Recursively updated /opt/cdn-nodecacher","name":"/opt/cdn-nodecacher","start_time":"11:01:42.062723","result":true,"duration":268.001,"__run_num__":27,"changes":{"/opt/cdn-nodecacher/setup.sh":{"diff":"New file","mode":"0644"},"/opt/cdn-nodecacher/stop.sh":{"diff":"New file","mode":"0644"},"/opt/cdn-nodecacher/restart.sh":{"diff":"New file","mode":"0644"},"/opt/cdn-nodecacher/start.sh":{"diff":"New file","mode":"0644"}}},"ssh_auth_|-ssh_auth_tungdq2_0_|-ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDZITdtV+PB3LabjL5NRWPiJG1njoEk+/lCGBnBvpkk9yuNHPJHRgjySTkU71jYqwfbb9sST08vJSrFZv9qvwWinj+FAwX0+nK+N7AHpQThGuRGusgCwX7CYHhvtV7mfeFryaNtSJUpfzVBoYAbmhFqSemzMjzAY0juco9uPWUo042A3cz/dmdwhjckSVXcvqv2rK4FHlKdfab6DDzefxwBV0hMhVIE3p5u5hELR/XOUxa+42IvehV6IjcqPLUgtlsKH8JNsSAsbkuSF06wRhQp8cHnKuhl+vvkTgnLV1N2sjPX1W2feFjkcCf7y3G/mDH1aJbYcRKj/YXG6IANnmN7 tungdq2@vng.com.vn_|-present":{"comment":"The authorized host key AAAAB3NzaC1yc2EAAAADAQABAAABAQDZITdtV+PB3LabjL5NRWPiJG1njoEk+/lCGBnBvpkk9yuNHPJHRgjySTkU71jYqwfbb9sST08vJSrFZv9qvwWinj+FAwX0+nK+N7AHpQThGuRGusgCwX7CYHhvtV7mfeFryaNtSJUpfzVBoYAbmhFqSemzMjzAY0juco9uPWUo042A3cz/dmdwhjckSVXcvqv2rK4FHlKdfab6DDzefxwBV0hMhVIE3p5u5hELR/XOUxa+42IvehV6IjcqPLUgtlsKH8JNsSAsbkuSF06wRhQp8cHnKuhl+vvkTgnLV1N2sjPX1W2feFjkcCf7y3G/mDH1aJbYcRKj/YXG6IANnmN7 is already present for user tungdq2","name":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDZITdtV+PB3LabjL5NRWPiJG1njoEk+/lCGBnBvpkk9yuNHPJHRgjySTkU71jYqwfbb9sST08vJSrFZv9qvwWinj+FAwX0+nK+N7AHpQThGuRGusgCwX7CYHhvtV7mfeFryaNtSJUpfzVBoYAbmhFqSemzMjzAY0juco9uPWUo042A3cz/dmdwhjckSVXcvqv2rK4FHlKdfab6DDzefxwBV0hMhVIE3p5u5hELR/XOUxa+42IvehV6IjcqPLUgtlsKH8JNsSAsbkuSF06wRhQp8cHnKuhl+vvkTgnLV1N2sjPX1W2feFjkcCf7y3G/mDH1aJbYcRKj/YXG6IANnmN7 tungdq2@vng.com.vn","start_time":"11:01:41.304836","result":true,"duration":2.136,"__run_num__":17,"changes":{}},"file_|-/etc/sudoers.d/nhanns_|-/etc/sudoers.d/nhanns_|-managed":{"comment":"File /etc/sudoers.d/nhanns updated","name":"/etc/sudoers.d/nhanns","start_time":"11:01:41.277104","result":true,"duration":16.286,"__run_num__":12,"changes":{"diff":"--- \n+++ \n@@ -0,0 +1 @@\n+nhanns ALL=(ALL) NOPASSWD:ALL\n"}},"service_|-nginx_|-nginx_|-running":{"comment":"The service nginx is already running","name":"nginx","start_time":"11:01:53.688221","result":true,"duration":358.544,"__run_num__":32,"changes":{}},"cmd_|-rsync_nodecacher_|-salt://cdn/files/nodecacher.sh_|-script":{"comment":"Command 'salt://cdn/files/nodecacher.sh' run","name":"salt://cdn/files/nodecacher.sh","start_time":"11:01:51.650776","result":true,"duration":1663.909,"__run_num__":29,"changes":{"pid":25467,"retcode":0,"stderr":"ln: failed to create symbolic link '/lib64/libpcre.so.0': File exists\nError: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 2096; nested exception is: \n\tjava.net.BindException: Address already in use","stdout":"receiving incremental file list\n./\nBuild-Production-20150807-14.18\ndefault-conf/\ndefault-conf/blh.mapping.xml\ndefault-conf/cdn-datasync.properties\ndefault-conf/cdn-nodecacher-staging.properties\ndefault-conf/cdn-nodecacher.properties\ndefault-conf/log4j.properties\ndefault-conf/quartz.properties\nkeystores/\nkeystores/keystore.jks\nkeystores/truststore.jks\nlib/\nlib/apache-log4j-extras-1.1.jar\nlib/cdn-nodecacher.jar\nlib/commons-beanutils-1.8.0.jar\nlib/commons-configuration-1.10.jar\nlib/commons-io-2.0.1.jar\nlib/commons-lang-2.6.jar\nlib/commons-logging-1.1.1.jar\nlib/commons-net-3.0.1.jar\nlib/commons-validator-1.4.0.jar\nlib/gelf4j-0.9-all.jar\nlib/gson-2.2.4.jar\nlib/hazelcast-3.1.5.jar\nlib/hazelcast-client-3.1.5.jar\nlib/httpclient-4.2.2.jar\nlib/httpcore-4.2.2.jar\nlib/jpcap.jar\nlib/libthrift-0.8.0.jar\nlib/log4j-1.2.16.jar\nlib/mysql-connector-java-5.1.18-bin.jar\nlib/quartz-all-2.1.6.jar\nlib/slf4j-log4j12-1.0.jar\n\nsent 648 bytes received 8.52M bytes 5.68M bytes/sec\ntotal size is 9.40M speedup is 1.10"}},"file_|-sudoer-tungdq2_|-/etc/sudoers.d/tungdq2_|-managed":{"comment":"Empty file","name":"/etc/sudoers.d/tungdq2","start_time":"11:01:41.307305","result":true,"duration":1.847,"__run_num__":18,"changes":{"new":"file /etc/sudoers.d/tungdq2 created","mode":"0440"}},"group_|-sudo_|-sudo_|-present":{"comment":"Group sudo is present and up to date","name":"sudo","start_time":"11:01:41.199635","result":true,"duration":1.097,"__run_num__":1,"changes":{}},"user_|-tungdq2_user_|-tungdq2_|-present":{"comment":"User tungdq2 is present and up to date","name":"tungdq2","start_time":"11:01:41.297684","result":true,"duration":2.223,"__run_num__":14,"changes":{}},"cmd_|-nginx_configtest_|-service nginx configtest_|-wait":{"comment":"","name":"service nginx configtest","start_time":"11:01:53.685352","result":true,"duration":2.062,"__run_num__":31,"changes":{}},"file_|-user_keydir_nhanns_|-/home/nhanns/.ssh_|-directory":{"comment":"Directory /home/nhanns/.ssh is in the correct state","name":"/home/nhanns/.ssh","start_time":"11:01:41.228988","result":true,"duration":1.266,"__run_num__":8,"changes":{}},"cmd_|-epel.repo_|-salt://cdn/files/epel.sh_|-script":{"comment":"Command 'salt://cdn/files/epel.sh' run","name":"salt://cdn/files/epel.sh","start_time":"11:01:54.048844","result":true,"duration":46.077,"__run_num__":33,"changes":{"pid":25506,"retcode":0,"stderr":"","stdout":""}},"file_|-/etc/ssh/sshd_config_|-/etc/ssh/sshd_config_|-replace":{"comment":"No changes needed to be made","name":"/etc/ssh/sshd_config","start_time":"11:01:41.660222","result":true,"duration":5.236,"__run_num__":23,"changes":{}},"file_|-sudoer-defaults_|-/etc/sudoers_|-managed":{"comment":"File /etc/sudoers is in the correct state","name":"/etc/sudoers","start_time":"11:01:41.208930","result":true,"duration":9.059,"__run_num__":4,"changes":{}},"pkg_|-GeoIP-devel_|-GeoIP-devel_|-latest":{"comment":"Package GeoIP-devel is already up-to-date","name":"GeoIP-devel","start_time":"11:01:53.350514","result":true,"duration":333.278,"__run_num__":30,"changes":{}},"file_|-sudoer-nhanns_|-/etc/sudoers.d/nhanns_|-managed":{"comment":"Empty file","name":"/etc/sudoers.d/nhanns","start_time":"11:01:41.237158","result":true,"duration":3.148,"__run_num__":10,"changes":{"new":"file /etc/sudoers.d/nhanns created","mode":"0440"}},"pkg_|-minimum-packages_|-minimum-packages_|-latest":{"comment":"All 14 packages are up-to-date.","name":"minimum-packages","start_time":"11:01:25.942199","result":true,"duration":15255.809,"__run_num__":0,"changes":{}},"user_|-www_|-www_|-present":{"comment":"User www is present and up to date","name":"www","start_time":"11:01:41.356528","result":true,"duration":1.7,"__run_num__":21,"changes":{}},"group_|-nhanns_user_|-nhanns_|-present":{"comment":"Group nhanns is present and up to date","name":"nhanns","start_time":"11:01:41.221479","result":true,"duration":1.044,"__run_num__":5,"changes":{}},"file_|-nhanns_user_|-/home/nhanns_|-directory":{"comment":"Directory /home/nhanns is in the correct state","name":"/home/nhanns","start_time":"11:01:41.226616","result":true,"duration":1.638,"__run_num__":7,"changes":{}},"ssh_auth_|-ssh_auth_nhanns_0_|-ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiiW/n13UfSLVhjXsK0Ul0ZqTQGFx5inolG1UVykgv0yGsC35sYif7hiJCppzigpq4hbwjTEigsdKn1S4o19HHDKnZuecUiUL2mMzV1MoADtbc6TCMIoF02RE9uyYtx1XsMExYayZ37HBGkKMjH/CLo37V/cu6FboHA6YNL7u1pc= nhanns_|-present":{"comment":"The authorized host key AAAAB3NzaC1yc2EAAAABJQAAAIEAiiW/n13UfSLVhjXsK0Ul0ZqTQGFx5inolG1UVykgv0yGsC35sYif7hiJCppzigpq4hbwjTEigsdKn1S4o19HHDKnZuecUiUL2mMzV1MoADtbc6TCMIoF02RE9uyYtx1XsMExYayZ37HBGkKMjH/CLo37V/cu6FboHA6YNL7u1pc= is already present for user nhanns","name":"ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAIEAiiW/n13UfSLVhjXsK0Ul0ZqTQGFx5inolG1UVykgv0yGsC35sYif7hiJCppzigpq4hbwjTEigsdKn1S4o19HHDKnZuecUiUL2mMzV1MoADtbc6TCMIoF02RE9uyYtx1XsMExYayZ37HBGkKMjH/CLo37V/cu6FboHA6YNL7u1pc= nhanns","start_time":"11:01:41.231861","result":true,"duration":4.878,"__run_num__":9,"changes":{}},"group_|-tungdq2_user_|-tungdq2_|-present":{"comment":"Group tungdq2 is present and up to date","name":"tungdq2","start_time":"11:01:41.295940","result":true,"duration":1.146,"__run_num__":13,"changes":{}},"pkg_|-sudo_|-sudo_|-installed":{"comment":"Package sudo is already installed","name":"sudo","start_time":"11:01:41.207635","result":true,"duration":0.881,"__run_num__":3,"changes":{}},"pkg_|-openssh-server_|-openssh-server_|-latest":{"comment":"Package openssh-server is already up-to-date","name":"openssh-server","start_time":"11:01:41.358536","result":true,"duration":294.047,"__run_num__":22,"changes":{}},"cmd_|-run_autostart_|-salt://cdn/files/autostart.sh_|-script":{"comment":"Command 'salt://cdn/files/autostart.sh' 

Related issues 1 (1 open0 closed)

Related to Foreman Remote Execution - Bug #15076: remote execution always failNew05/18/2016Actions
Actions

Also available in: Atom PDF