Skip to content

Instantly share code, notes, and snippets.

@adammichalik
Last active September 29, 2016 11:53
Show Gist options
  • Save adammichalik/8de58ab16c549fb66b1bb0db6a47bf76 to your computer and use it in GitHub Desktop.
Save adammichalik/8de58ab16c549fb66b1bb0db6a47bf76 to your computer and use it in GitHub Desktop.
SaltStack #35932
/opt/exec.jar:
file.managed:
- source: http://1.2.3.4:8081/service/local/artifact/maven/content?g=com.example&a=example-xxx&v=1.9.0&c=exec&r=releases
- source_hash: http://1.2.3.4:8081/service/local/artifact/maven/content?g=com.example&a=example-xxx&v=1.9.0&c=exec&r=releases&e=jar.sha1
# curl 'http://1.2.3.4:8081/service/local/artifact/maven/content?g=com.example&a=example-xxx&v=1.9.0&c=exec&r=releases&e=jar.sha1'
97b95f7662d29414bfe91b1a99e70593a9aec0c2
# salt-call --local cp.cache_file 'http://1.2.3.4:8081/service/local/artifact/maven/content?g=com.example&a=example-xxx&v=1.9.0&c=exec&r=releases&e=jar.sha1'
[WARNING ] /usr/lib/python2.7/dist-packages/salt/grains/core.py:1493: DeprecationWarning: The "osmajorrelease" will be a type of an integer.
local:
/var/cache/salt/minion/extrn_files/base/1.2.3.4:8081/service/local/artifact/maven/content
# salt-call --local file.extract_hash '/var/cache/salt/minion/extrn_files/base/1.2.3.4:8081/service/local/artifact/maven/content' '' /opt/exec.jar
[WARNING ] /usr/lib/python2.7/dist-packages/salt/grains/core.py:1493: DeprecationWarning: The "osmajorrelease" will be a type of an integer.
local:
----------
hash_type:
sha1
hsum:
97b95f7662d29414bfe91b1a99e70593a9aec0c2
# cat /var/log/salt/minion
2016-09-27 09:10:50,099 [salt.config ][DEBUG ][7914] Reading configuration from /etc/salt/minion
2016-09-27 09:10:50,182 [salt.loaded.int.grains.core][DEBUG ][7914] Please install 'virt-what' to improve results
of the 'virtual' grain.
2016-09-27 09:10:50,191 [py.warnings ][WARNING ][7914] /usr/lib/python2.7/dist-packages/salt/grains/core.py:149
3: DeprecationWarning: The "osmajorrelease" will be a type of an integer.
2016-09-27 09:10:50,196 [salt.pillar ][DEBUG ][7914] Determining pillar cache
2016-09-27 09:10:50,202 [salt.utils.lazy ][DEBUG ][7914] LazyLoaded jinja.render
2016-09-27 09:10:50,203 [salt.utils.lazy ][DEBUG ][7914] LazyLoaded yaml.render
2016-09-27 09:10:50,213 [salt.utils.lazy ][DEBUG ][7914] LazyLoaded jinja.render
2016-09-27 09:10:50,213 [salt.utils.lazy ][DEBUG ][7914] LazyLoaded yaml.render
2016-09-27 09:10:50,214 [salt.utils.lazy ][DEBUG ][7914] LazyLoaded cp.cache_file
2016-09-27 09:10:50,215 [salt.utils.lazy ][DEBUG ][7914] LazyLoaded roots.envs
2016-09-27 09:10:50,234 [salt.utils.lazy ][DEBUG ][7914] Could not LazyLoad roots.init
2016-09-27 09:10:50,234 [salt.fileserver ][DEBUG ][7914] Updating roots fileserver cache
2016-09-27 09:10:50,235 [salt.utils.http ][DEBUG ][7914] Requesting URL http://1.2.3.4:8081/service/local/artifact/maven/content?g=com.example&a=example-xxx&v=1.9.0&c=exec&r=releases&e=jar.sha1 using GET method
2016-09-27 09:10:50,250 [salt.utils.lazy ][DEBUG ][7914] LazyLoaded nested.output
2016-09-27 09:12:20,951 [salt.config ][DEBUG ][8024] Reading configuration from /etc/salt/minion
2016-09-27 09:12:21,039 [salt.loaded.int.grains.core][DEBUG ][8024] Please install 'virt-what' to improve results of the 'virtual' grain.
2016-09-27 09:12:21,050 [py.warnings ][WARNING ][8024] /usr/lib/python2.7/dist-packages/salt/grains/core.py:1493: DeprecationWarning: The "osmajorrelease" will be a type of an integer.
2016-09-27 09:12:21,054 [salt.pillar ][DEBUG ][8024] Determining pillar cache
2016-09-27 09:12:21,061 [salt.utils.lazy ][DEBUG ][8024] LazyLoaded jinja.render
2016-09-27 09:12:21,062 [salt.utils.lazy ][DEBUG ][8024] LazyLoaded yaml.render
2016-09-27 09:12:21,073 [salt.utils.lazy ][DEBUG ][8024] LazyLoaded jinja.render
2016-09-27 09:12:21,073 [salt.utils.lazy ][DEBUG ][8024] LazyLoaded yaml.render
2016-09-27 09:12:21,078 [salt.utils.lazy ][DEBUG ][8024] LazyLoaded file.extract_hash
2016-09-27 09:12:21,079 [salt.loaded.int.module.file][DEBUG ][8024] modules.file.py - extract_hash(): Extracting hash for file named: exec.jar
2016-09-27 09:12:21,079 [salt.loaded.int.module.file][DEBUG ][8024] modules.file.py - extract_hash(): Will use regex to get a purely hexadecimal number of length (128), presumably hash type : sha512
2016-09-27 09:12:21,079 [salt.loaded.int.module.file][DEBUG ][8024] modules.file.py - extract_hash(): From "line": 97b95f7662d29414bfe91b1a99e70593a9aec0c2 got : []
2016-09-27 09:12:21,079 [salt.loaded.int.module.file][DEBUG ][8024] modules.file.py - extract_hash(): Will use regex to get a purely hexadecimal number of length (96), presumably hash type : sha384
2016-09-27 09:12:21,080 [salt.loaded.int.module.file][DEBUG ][8024] modules.file.py - extract_hash(): From "line": 97b95f7662d29414bfe91b1a99e70593a9aec0c2 got : []
2016-09-27 09:12:21,080 [salt.loaded.int.module.file][DEBUG ][8024] modules.file.py - extract_hash(): Will use regex to get a purely hexadecimal number of length (64), presumably hash type : sha256
2016-09-27 09:12:21,081 [salt.loaded.int.module.file][DEBUG ][8024] modules.file.py - extract_hash(): From "line": 97b95f7662d29414bfe91b1a99e70593a9aec0c2 got : []
2016-09-27 09:12:21,081 [salt.loaded.int.module.file][DEBUG ][8024] modules.file.py - extract_hash(): Will use regex to get a purely hexadecimal number of length (56), presumably hash type : sha224
2016-09-27 09:12:21,081 [salt.loaded.int.module.file][DEBUG ][8024] modules.file.py - extract_hash(): From "line": 97b95f7662d29414bfe91b1a99e70593a9aec0c2 got : []
2016-09-27 09:12:21,081 [salt.loaded.int.module.file][DEBUG ][8024] modules.file.py - extract_hash(): Will use regex to get a purely hexadecimal number of length (40), presumably hash type : sha1
2016-09-27 09:12:21,081 [salt.loaded.int.module.file][DEBUG ][8024] modules.file.py - extract_hash(): From "line": 97b95f7662d29414bfe91b1a99e70593a9aec0c2 got : ['97b95f7662d29414bfe91b1a99e70593a9aec0c2']
2016-09-27 09:12:21,082 [salt.loaded.int.module.file][DEBUG ][8024] modules.file.py - extract_hash(): Found: sha1 -- 97b95f7662d29414bfe91b1a99e70593a9aec0c2
2016-09-27 09:12:21,082 [salt.loaded.int.module.file][DEBUG ][8024] modules.file.py - extract_hash(): Will use regex to get a purely hexadecimal number of length (32), presumably hash type : md5
2016-09-27 09:12:21,082 [salt.loaded.int.module.file][DEBUG ][8024] modules.file.py - extract_hash(): From "line": 97b95f7662d29414bfe91b1a99e70593a9aec0c2 got : []
2016-09-27 09:12:21,082 [salt.loaded.int.module.file][DEBUG ][8024] modules.file.py - extract_hash: Returning the partially identified sha1 hash "97b95f7662d29414bfe91b1a99e70593a9aec0c2".
2016-09-27 09:12:21,083 [salt.utils.lazy ][DEBUG ][8024] LazyLoaded nested.output
# salt-call --local state.sls salt_35932
[WARNING ] /usr/lib/python2.7/dist-packages/salt/grains/core.py:1493: DeprecationWarning: The "osmajorrelease" will be a type of an integer.
[ERROR ] Source hash http://1.2.3.4:8081/service/local/artifact/maven/content?g=com.example&a=example-xxx&v=1.9.0&c=exec&r=releases&e=jar.sha1 format is invalid. It must be in the format <hash type>=<hash>, or it must be a supported protocol: salt, file, http, https, ftp, swift, s3
local:
----------
ID: /opt/exec.jar
Function: file.managed
Result: False
Comment: Source hash http://1.2.3.4:8081/service/local/artifact/maven/content?g=com.example&a=example-xxx&v=1.9.0&c=exec&r=releases&e=jar.sha1 format is invalid. It must be in the format <hash type>=<hash>, or it must be a supported protocol: salt, file, http, https, ftp, swift, s3
Started: 08:46:03.099758
Duration: 122904.168 ms
Changes:
Summary for local
------------
Succeeded: 0
Failed: 1
------------
Total states run: 1
Total run time: 122.904 s
# cat /var/log/salt/minion
2016-09-27 08:46:02,919 [salt.config ][DEBUG ][6745] Reading configuration from /etc/salt/minion
2016-09-27 08:46:03,006 [salt.loaded.int.grains.core][DEBUG ][6745] Please install 'virt-what' to improve results of the 'virtual' grain.
2016-09-27 08:46:03,016 [py.warnings ][WARNING ][6745] /usr/lib/python2.7/dist-packages/salt/grains/core.py:1493: DeprecationWarning: The "osmajorrelease" will be a type of an integer.
2016-09-27 08:46:03,020 [salt.pillar ][DEBUG ][6745] Determining pillar cache
2016-09-27 08:46:03,027 [salt.utils.lazy ][DEBUG ][6745] LazyLoaded jinja.render
2016-09-27 08:46:03,028 [salt.utils.lazy ][DEBUG ][6745] LazyLoaded yaml.render
2016-09-27 08:46:03,038 [salt.utils.lazy ][DEBUG ][6745] LazyLoaded jinja.render
2016-09-27 08:46:03,038 [salt.utils.lazy ][DEBUG ][6745] LazyLoaded yaml.render
2016-09-27 08:46:03,044 [salt.utils.lazy ][DEBUG ][6745] LazyLoaded state.sls
2016-09-27 08:46:03,054 [salt.utils.lazy ][DEBUG ][6745] LazyLoaded saltutil.is_running
2016-09-27 08:46:03,055 [salt.utils.lazy ][DEBUG ][6745] LazyLoaded grains.get
2016-09-27 08:46:03,056 [salt.utils.lazy ][DEBUG ][6745] LazyLoaded roots.envs
2016-09-27 08:46:03,073 [salt.utils.lazy ][DEBUG ][6745] Could not LazyLoad roots.init
2016-09-27 08:46:03,074 [salt.fileserver ][DEBUG ][6745] Updating roots fileserver cache
2016-09-27 08:46:03,075 [salt.pillar ][DEBUG ][6745] Determining pillar cache
2016-09-27 08:46:03,081 [salt.utils.lazy ][DEBUG ][6745] LazyLoaded jinja.render
2016-09-27 08:46:03,082 [salt.utils.lazy ][DEBUG ][6745] LazyLoaded yaml.render
2016-09-27 08:46:03,083 [salt.state ][INFO ][6745] Loading fresh modules for state activity
2016-09-27 08:46:03,091 [salt.utils.lazy ][DEBUG ][6745] LazyLoaded jinja.render
2016-09-27 08:46:03,091 [salt.utils.lazy ][DEBUG ][6745] LazyLoaded yaml.render
2016-09-27 08:46:03,092 [salt.fileclient ][DEBUG ][6745] In saltenv 'base', looking at rel_path 'salt_35932.sls' to resolve 'salt://salt_35932.sls'
2016-09-27 08:46:03,092 [salt.fileclient ][DEBUG ][6745] In saltenv 'base', ** considering ** path '/var/cache/salt/minion/files/base/salt_35932.sls' to resolve 'salt://salt_35932.sls'
2016-09-27 08:46:03,093 [salt.fileclient ][INFO ][6745] Fetching file from saltenv 'base', ** skipped ** latest already in cache 'salt://salt_35932.sls'
2016-09-27 08:46:03,093 [salt.template ][DEBUG ][6745] compile template: /var/cache/salt/minion/files/base/salt_35932.sls
2016-09-27 08:46:03,093 [salt.utils.jinja ][DEBUG ][6745] Jinja search path: ['/var/cache/salt/minion/files/base']
2016-09-27 08:46:03,095 [salt.template ][PROFILE ][6745] Time (in seconds) to render '/var/cache/salt/minion/files/base/salt_35932.sls' using 'jinja' renderer: 0.00187921524048
2016-09-27 08:46:03,095 [salt.template ][DEBUG ][6745] Rendered data from file: /var/cache/salt/minion/files/base/salt_35932.sls:
/opt/exec.jar:
file.managed:
- source: http://1.2.3.4:8081/service/local/artifact/maven/content?g=com.example&a=example-xxx&v=1.9.0&c=exec&r=releases
- source_hash: http://1.2.3.4:8081/service/local/artifact/maven/content?g=com.example&a=example-xxx&v=1.9.0&c=exec&r=releases&e=jar.sha1
2016-09-27 08:46:03,098 [salt.utils.lazy ][DEBUG ][6745] LazyLoaded config.get
2016-09-27 08:46:03,098 [salt.loaded.int.render.yaml][DEBUG ][6745] Results of YAML rendering:
OrderedDict([('/opt/exec.jar', OrderedDict([('file.managed', [OrderedDict([('source', 'http://1.2.3.4:8081/service/local/artifact/maven/content?g=com.example&a=example-xxx&v=1.9.0&c=exec&r=releases')]), OrderedDict([('source_hash', 'http://1.2.3.4:8081/service/local/artifact/maven/content?g=com.example&a=example-xxx&v=1.9.0&c=exec&r=releases&e=jar.sha1')])])]))])
2016-09-27 08:46:03,098 [salt.template ][PROFILE ][6745] Time (in seconds) to render '/var/cache/salt/minion/files/base/salt_35932.sls' using 'yaml' renderer: 0.00308799743652
2016-09-27 08:46:03,100 [salt.utils.lazy ][DEBUG ][6745] LazyLoaded file.managed
2016-09-27 08:46:03,100 [salt.state ][INFO ][6745] Running state [/opt/exec.jar] at time 08:46:03.099758
2016-09-27 08:46:03,100 [salt.state ][INFO ][6745] Executing state file.managed for /opt/exec.jar
2016-09-27 08:46:03,102 [salt.utils.lazy ][DEBUG ][6745] LazyLoaded file.check_managed_changes
2016-09-29 07:51:50,691 [salt.loaded.int.module.file][DEBUG ][3118] SALT35932 START
2016-09-29 07:51:50,691 [salt.loaded.int.module.file][DEBUG ][3118] source = http://1.2.3.4:8081/service/local/artifact/maven/content?g=com.example&a=example-xxx&v=1.9.0&c=exec&r=releases
2016-09-29 07:51:50,691 [salt.loaded.int.module.file][DEBUG ][3118] source_hash = http://1.2.3.4:8081/service/local/artifact/maven/content?g=com.example&a=example-xxx&v=1.9.0&c=exec&r=releases&e=jar.sha1
2016-09-29 07:51:50,702 [salt.loaded.int.module.file][DEBUG ][3118] Stack trace:
File "/usr/bin/salt-call", line 11, in <module>
salt_call()
File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 352, in salt_call
client.run()
File "/usr/lib/python2.7/dist-packages/salt/cli/call.py", line 58, in run
caller.run()
File "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 134, in run
ret = self.call()
File "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 197, in call
ret['return'] = func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/salt/modules/state.py", line 942, in sls
ret = st_.state.call_high(high_)
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 2279, in call_high
ret = dict(list(disabled.items()) + list(self.call_chunks(chunks).items()))
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1799, in call_chunks
running = self.call_chunk(low, running, chunks)
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 2088, in call_chunk
running[tag] = self.call(low, chunks, running)
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1733, in call
**cdata['kwargs'])
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1652, in wrapper
return f(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/salt/states/file.py", line 1644, in managed
**kwargs
File "/usr/lib/python2.7/dist-packages/salt/modules/file.py", line 3960, in check_managed_changes
**kwargs)
File "/usr/lib/python2.7/dist-packages/salt/modules/file.py", line 3510, in get_managed
log.debug('Stack trace:\n%s', ''.join(traceback.format_stack()))
2016-09-29 07:51:50,702 [salt.loaded.int.module.file][DEBUG ][3118] SALT35932 END
2016-09-27 08:46:03,103 [salt.utils.lazy ][DEBUG ][6745] LazyLoaded cp.cache_file
2016-09-27 08:46:03,104 [salt.utils.lazy ][DEBUG ][6745] LazyLoaded roots.envs
2016-09-27 08:46:03,106 [salt.utils.lazy ][DEBUG ][6745] Could not LazyLoad roots.init
2016-09-27 08:46:03,106 [salt.utils.http ][DEBUG ][6745] Requesting URL http://1.2.3.4:8081/service/local/artifact/maven/content?g=com.example&a=example-xxx&v=1.9.0&c=exec&r=releases&e=jar.sha1 using GET method
2016-09-27 08:46:03,117 [salt.loaded.int.module.file][DEBUG ][6745] modules.file.py - extract_hash(): Extracting hash for file named: exec.jar
2016-09-27 08:46:03,117 [salt.loaded.int.module.file][DEBUG ][6745] modules.file.py - extract_hash(): Will use regex to get a purely hexadecimal number of length (128), presumably hash type : sha512
2016-09-27 00:00:00,000 [salt.loaded.int.module.file][DEBUG ][6745] modules.file.py - extract_hash(): From "line": xxx got : []
2016-09-27 08:46:03,117 [salt.loaded.int.module.file][DEBUG ][6745] modules.file.py - extract_hash(): Will use regex to get a purely hexadecimal number of length (96), presumably hash type : sha384
2016-09-27 00:00:00,000 [salt.loaded.int.module.file][DEBUG ][6745] modules.file.py - extract_hash(): From "line": xxx got : []
2016-09-27 08:46:03,118 [salt.loaded.int.module.file][DEBUG ][6745] modules.file.py - extract_hash(): Will use regex to get a purely hexadecimal number of length (64), presumably hash type : sha256
2016-09-27 00:00:00,000 [salt.loaded.int.module.file][DEBUG ][6745] modules.file.py - extract_hash(): From "line": xxx got : []
2016-09-27 08:46:03,118 [salt.loaded.int.module.file][DEBUG ][6745] modules.file.py - extract_hash(): Will use regex to get a purely hexadecimal number of length (56), presumably hash type : sha224
2016-09-27 00:00:00,000 [salt.loaded.int.module.file][DEBUG ][6745] modules.file.py - extract_hash(): From "line": xxx got : []
2016-09-27 08:46:03,118 [salt.loaded.int.module.file][DEBUG ][6745] modules.file.py - extract_hash(): Will use regex to get a purely hexadecimal number of length (40), presumably hash type : sha1
2016-09-27 08:46:03,119 [salt.loaded.int.module.file][DEBUG ][6745] modules.file.py - extract_hash(): From "line": xxx got : ['97b95f7662d29414bfe91b1a99e70593a9aec0c2']
2016-09-27 08:46:03,119 [salt.loaded.int.module.file][DEBUG ][6745] modules.file.py - extract_hash(): Found: sha1 -- 97b95f7662d29414bfe91b1a99e70593a9aec0c2
2016-09-27 08:46:03,119 [salt.loaded.int.module.file][DEBUG ][6745] modules.file.py - extract_hash(): Will use regex to get a purely hexadecimal number of length (32), presumably hash type : md5
2016-09-27 00:00:00,000 [salt.loaded.int.module.file][DEBUG ][6745] modules.file.py - extract_hash(): From "line": xxx got : []
2016-09-27 08:46:03,119 [salt.loaded.int.module.file][DEBUG ][6745] modules.file.py - extract_hash: Returning the partially identified sha1 hash "97b95f7662d29414bfe91b1a99e70593a9aec0c2".
2016-09-27 08:46:03,119 [salt.utils.http ][DEBUG ][6745] Requesting URL http://1.2.3.4:8081/service/local/artifact/maven/content?g=com.example&a=example-xxx&v=1.9.0&c=exec&r=releases using GET method
2016-09-29 07:51:51,028 [salt.loaded.int.module.file][DEBUG ][3118] SALT35932 START
2016-09-29 07:51:51,029 [salt.loaded.int.module.file][DEBUG ][3118] source = http://1.2.3.4:8081/service/local/artifact/maven/content?g=com.example&a=example-xxx&v=1.9.0&c=exec&r=releases
2016-09-29 07:51:51,030 [salt.loaded.int.module.file][DEBUG ][3118] source_hash = http://1.2.3.4:8081/service/local/artifact/maven/content?g=com.example&a=example-xxx&v=1.9.0&c=exec&r=releases&e=jar.sha1
2016-09-29 07:51:51,032 [salt.loaded.int.module.file][DEBUG ][3118] Stack trace:
File "/usr/bin/salt-call", line 11, in <module>
salt_call()
File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 352, in salt_call
client.run()
File "/usr/lib/python2.7/dist-packages/salt/cli/call.py", line 58, in run
caller.run()
File "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 134, in run
ret = self.call()
File "/usr/lib/python2.7/dist-packages/salt/cli/caller.py", line 197, in call
ret['return'] = func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/salt/modules/state.py", line 942, in sls
ret = st_.state.call_high(high_)
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 2279, in call_high
ret = dict(list(disabled.items()) + list(self.call_chunks(chunks).items()))
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1799, in call_chunks
running = self.call_chunk(low, running, chunks)
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 2088, in call_chunk
running[tag] = self.call(low, chunks, running)
File "/usr/lib/python2.7/dist-packages/salt/state.py", line 1733, in call
**cdata['kwargs'])
File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 1652, in wrapper
return f(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/salt/states/file.py", line 1697, in managed
**kwargs
File "/usr/lib/python2.7/dist-packages/salt/modules/file.py", line 3510, in get_managed
log.debug('Stack trace:\n%s', ''.join(traceback.format_stack()))
2016-09-29 07:51:51,032 [salt.loaded.int.module.file][DEBUG ][3118] SALT35932 END
2016-09-27 08:46:03,420 [salt.loaded.int.module.file][DEBUG ][6745] modules.file.py - extract_hash(): Extracting hash for file named: exec.jar
2016-09-27 08:46:03,420 [salt.loaded.int.module.file][DEBUG ][6745] modules.file.py - extract_hash(): Will use regex to get a purely hexadecimal number of length (128), presumably hash type : sha512
2016-09-27 00:00:00,000 [salt.loaded.int.module.file][DEBUG ][6745] modules.file.py - extract_hash(): From "line": xxx got : []
2016-09-27 08:46:23,237 [salt.loaded.int.module.file][DEBUG ][6745] modules.file.py - extract_hash(): Will use regex to get a purely hexadecimal number of length (96), presumably hash type : sha384
2016-09-27 00:00:00,000 [salt.loaded.int.module.file][DEBUG ][6745] modules.file.py - extract_hash(): From "line": xxx got : []
2016-09-27 08:46:42,410 [salt.loaded.int.module.file][DEBUG ][6745] modules.file.py - extract_hash(): Will use regex to get a purely hexadecimal number of length (64), presumably hash type : sha256
2016-09-27 00:00:00,000 [salt.loaded.int.module.file][DEBUG ][6745] modules.file.py - extract_hash(): From "line": xxx got : []
2016-09-27 08:47:02,198 [salt.loaded.int.module.file][DEBUG ][6745] modules.file.py - extract_hash(): Will use regex to get a purely hexadecimal number of length (56), presumably hash type : sha224
2016-09-27 00:00:00,000 [salt.loaded.int.module.file][DEBUG ][6745] modules.file.py - extract_hash(): From "line": xxx got : []
2016-09-27 08:47:24,379 [salt.loaded.int.module.file][DEBUG ][6745] modules.file.py - extract_hash(): Will use regex to get a purely hexadecimal number of length (40), presumably hash type : sha1
2016-09-27 00:00:00,000 [salt.loaded.int.module.file][DEBUG ][6745] modules.file.py - extract_hash(): From "line": xxx got : []
2016-09-27 08:47:45,196 [salt.loaded.int.module.file][DEBUG ][6745] modules.file.py - extract_hash(): Will use regex to get a purely hexadecimal number of length (32), presumably hash type : md5
2016-09-27 00:00:00,000 [salt.loaded.int.module.file][DEBUG ][6745] modules.file.py - extract_hash(): From "line": xxx got : []
2016-09-27 08:48:06,003 [salt.loaded.int.module.file][DEBUG ][6745] modules.file.py - extract_hash: Returning None.
2016-09-27 08:48:06,003 [salt.state ][ERROR ][6745] Source hash http://1.2.3.4:8081/service/local/artifact/maven/content?g=com.example&a=example-xxx&v=1.9.0&c=exec&r=releases&e=jar.sha1 format is invalid. It must be in the format <hash type>=<hash>, or it must be a supported protocol: salt, file, http, https, ftp, swift, s3
2016-09-27 08:48:06,004 [salt.state ][INFO ][6745] Completed state [/opt/exec.jar] at time 08:48:06.003926 duration_in_ms=122904.168
2016-09-27 08:48:06,004 [salt.state ][DEBUG ][6745] File /var/cache/salt/minion/accumulator/140649254865104 does not exist, no need to cleanup.
2016-09-27 08:48:06,005 [salt.utils.lazy ][DEBUG ][6745] LazyLoaded config.option
2016-09-27 08:48:06,006 [salt.utils.lazy ][DEBUG ][6745] LazyLoaded highstate.output
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment