Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- log recois bien le result
- 2019-12-09 08:59:20,652 - DEBUG - RECV: <message to="log@pulse" from="infra_jfk_deb1.1y5@pulse/0800274928fa" xml:lang="en" type="chat"><body>{"action": "resultapplicationdeploymentjson", "sessionid": "command71458fde10df44dc9e", "base64": False, "data": {"ippackageserver": "212.83.136.107", "cluster": "rspulse@pulse", "stardate": 1575881889, "ipmaster": "10.62.19.10", "ipmachine": "10.0.2.15", "msgstate": "end success", "cpu_arch": "x86_64", "uuid": "UUID5", "wol": 1, "jidrelay": "rspulse@pulse/000c29f61ff6", "os_version": "Linux-4.9.0-9-amd64-x86_64-with-debian-9.9", "limit_rate_ko": "", "transfert": True, "userssh": "pulseuser", "pushinit": True, "portpackageserver": "9990", "enddate": 1575885489, "transferfiles": [], "folders_packages": "/var/lib/pulse2/packages", "transfertpullrsync": True, "nbdeploy": 1, "jidmaster": "master@pulse", "rsyncpath": "rsync", "jidmachine": "infra_jfk_deb1.1y5@pulse/0800274928fa", "advanced": {"idcmd": 57, "countnb": 0, "grp": None, "nbtotal": None, "exec": True, "shutdownrequired": False, "limit_rate_ko": 0, "scheduling": False, "syncthing": 0, "login": "root", "rebootrequired": False}, "name": "testsimple2", "typeos": "linux2", "remoteport": 55121, "pathpackageonmachine": "/var/lib/pulse2/packages/dfd33c8a-testsimple2_n6na3iu6n9mowe9", "resource": False, "iprelay": "10.62.19.10", "uname": ["Linux", "infra_jfk_deb1", "4.9.0-9-amd64", "#1 SMP Debian 4.9.168-1+deb9u3 (2019-06-16)", "x86_64", ""], "idcmd": 57, "mac": "08:00:27:49:28:fa||08:00:27:8e:54:cf", "descriptor": {"info": {"software": "testsimple2", "typescript": "Batch", "description": "eee", "packageUuid": "dfd33c8a-testsimple2_n6na3iu6n9mowe9", "spooling": "ordinary", "methodetransfert": "pullrsync", "Dependency": [], "limit_rate_ko": "", "version": "1.0", "inventory": "False", "transferfile": True, "licenses": "", "metagenerator": "expert", "targetrestart": "MA", "name": "testsimple2"}, "sequence": [{"action": "action_comment", "comment": "Your log comments !", "step": 0, "actionlabel": "c8fbaed1", "completed": 1}, {"goto": "END_SUCCESS", "actionlabel": "cf68675a", "waiting": "10", "codereturn": "", "step": 1, "action": "actionwaitandgoto"}, {"action": "action_comment", "comment": "Your log comments !", "step": 2, "actionlabel": "f0efe109"}, {"completed": 1, "actionlabel": "END_SUCCESS", "step": 3, "inventory": "False", "action": "actionsuccescompletedend", "clear": "False"}, {"action": "actionerrorcompletedend", "step": 4, "actionlabel": "END_ERROR"}], "metaparameter": {"os": ["linux"], "linux": {"label": {"f0efe109": 2, "END_SUCCESS": 3, "c8fbaed1": 0, "cf68675a": 1, "END_ERROR": 4}}}}, "environ": "{'LANG': 'en_US.UTF-8', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'XDG_RUNTIME_DIR': '/run/user/0', 'SHLVL': '1', 'SSH_TTY': '/dev/pts/0', 'PWD': '/usr/lib/python2.7/dist-packages/pulse_xmpp_agent', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SSH_CLIENT': '192.168.56.1 60304 22', 'LOGNAME': 'root', 'USER': 'root', 'HOME': '/root', 'MAIL': '/var/mail/root', 'SSH_CONNECTION': '192.168.56.1 60304 192.168.56.79 22', 'XDG_SESSION_ID': '16', '_': '/usr/bin/python'}", "packagefile": ["conf.json", "xmppdeploy.json"], "login": "root", "os": "linux2"}, "ret": 0}</body></message>
- soit
- {
- "action": "resultapplicationdeploymentjson",
- "sessionid": "command71458fde10df44dc9e",
- "base64": false,
- "data": {
- "ippackageserver": "212.83.136.107",
- "remoteport": 55121,
- "folders_packages": "/var/lib/pulse2/packages",
- "transfertpullrsync": true,
- "cluster": "rspulse@pulse",
- "jidmaster": "master@pulse",
- "transferfiles": [],
- "stardate": 1575881889,
- "ipmaster": "10.62.19.10",
- "ipmachine": "10.0.2.15",
- "resource": false,
- "rsyncpath": "rsync",
- "jidmachine": "infra_jfk_deb1.1y5@pulse/0800274928fa",
- "msgstate": "end success",
- "name": "testsimple2",
- "typeos": "linux2",
- "cpu_arch": "x86_64",
- "pathpackageonmachine": "/var/lib/pulse2/packages/dfd33c8a-testsimple2_n6na3iu6n9mowe9",
- "enddate": 1575885489,
- "uuid": "UUID5",
- "nbdeploy": 1,
- "os_version": "Linux-4.9.0-9-amd64-x86_64-with-debian-9.9",
- "os": "linux2",
- "login": "root",
- "idcmd": 57,
- "mac": "08:00:27:49:28:fa||08:00:27:8e:54:cf",
- "descriptor": {
- "info": {
- "typescript": "Batch",
- "description": "eee",
- "Dependency": [],
- "licenses": "",
- "metagenerator": "expert",
- "name": "testsimple2",
- "packageUuid": "dfd33c8a-testsimple2_n6na3iu6n9mowe9",
- "spooling": "ordinary",
- "limit_rate_ko": "",
- "version": "1.0",
- "inventory": "False",
- "transferfile": true,
- "methodetransfert": "pullrsync",
- "targetrestart": "MA",
- "software": "testsimple2"
- },
- "metaparameter": {
- "os": [
- "linux"
- ],
- "linux": {
- "label": {
- "f0efe109": 2,
- "END_SUCCESS": 3,
- "c8fbaed1": 0,
- "cf68675a": 1,
- "END_ERROR": 4
- }
- }
- },
- "sequence": [
- {
- "action": "action_comment",
- "comment": "Your log comments !",
- "step": 0,
- "actionlabel": "c8fbaed1",
- "completed": 1
- },
- {
- "goto": "END_SUCCESS",
- "actionlabel": "cf68675a",
- "waiting": "10",
- "codereturn": "",
- "step": 1,
- "action": "actionwaitandgoto"
- },
- {
- "action": "action_comment",
- "comment": "Your log comments !",
- "step": 2,
- "actionlabel": "f0efe109"
- },
- {
- "clear": "False",
- "actionlabel": "END_SUCCESS",
- "step": 3,
- "inventory": "False",
- "action": "actionsuccescompletedend",
- "completed": 1
- },
- {
- "action": "actionerrorcompletedend",
- "step": 4,
- "actionlabel": "END_ERROR"
- }
- ]
- },
- "jidrelay": "rspulse@pulse/000c29f61ff6",
- "wol": 1,
- "limit_rate_ko": "",
- "environ": "{'LANG': 'en_US.UTF-8', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'XDG_RUNTIME_DIR': '/run/user/0', 'SHLVL': '1', 'SSH_TTY': '/dev/pts/0', 'PWD': '/usr/lib/python2.7/dist-packages/pulse_xmpp_agent', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SSH_CLIENT': '192.168.56.1 60304 22', 'LOGNAME': 'root', 'USER': 'root', 'HOME': '/root', 'MAIL': '/var/mail/root', 'SSH_CONNECTION': '192.168.56.1 60304 192.168.56.79 22', 'XDG_SESSION_ID': '16', '_': '/usr/bin/python'}",
- "transfert": true,
- "userssh": "pulseuser",
- "packagefile": [
- "conf.json",
- "xmppdeploy.json"
- ],
- "uname": [
- "Linux",
- "infra_jfk_deb1",
- "4.9.0-9-amd64",
- "#1 SMP Debian 4.9.168-1+deb9u3 (2019-06-16)",
- "x86_64",
- ""
- ],
- "pushinit": true,
- "portpackageserver": "9990",
- "advanced": {
- "exec": true,
- "shutdownrequired": false,
- "scheduling": false,
- "syncthing": 0,
- "rebootrequired": false,
- "idcmd": 57,
- "countnb": 0,
- "grp": null,
- "nbtotal": null,
- "limit_rate_ko": 0,
- "login": "root"
- },
- "iprelay": "10.62.19.10"
- },
- "ret": 0
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement