Hi,
Got a fresh install of Salt 3005.1 (using onedir and without onedir, tried both) and NAPALM (tried with v3 and v4) and for example when trying state "salt device ntp.set_peers x.x.x.x" I get "Local file source set_ntp_peers does not exist" I get a similar error on just about any state that goes to set/change settings. The get functions appear to work correct, the proxy never reaches out to the device so it's something on the salt side, this is a Juniper device.
Google turns up literally nothing on these errors. Same errors when trying to do this with pillar data as well. Totally stumped. The full output is below. Has anyone seen this?? Tried Ubuntu 20, Ubuntu 22, every satl 3004.1 and same exact thing. I am out of ideas!! Any insight would be great! Thanks
salt srx320 ntp.set_peers 3.4.2.1 -l debug
/root/.local/lib/python3.10/site-packages/_distutils_hack/__init__.py:33: UserWarning: Setuptools is replacing distutils.
warnings.warn("Setuptools is replacing distutils.")
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: salt
[DEBUG ] Missing configuration file: /root/.saltrc
[WARNING ] Insecure logging configuration detected! Sensitive data may be logged.
[DEBUG ] Configuration file path: /etc/salt/master
[DEBUG ] Reading configuration from /etc/salt/master
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: salt
[DEBUG ] Missing configuration file: /root/.saltrc
[DEBUG ] MasterEvent PUB socket URI: /var/run/salt/master/master_event_pub.ipc
[DEBUG ] MasterEvent PULL socket URI: /var/run/salt/master/master_event_pull.ipc
[DEBUG ] Closing AsyncReqChannel instance
[DEBUG ] The functions from module 'local_cache' are being loaded by dir() on the loaded module
[DEBUG ] LazyLoaded local_cache.get_load
[DEBUG ] Reading minion list from /var/cache/salt/master/jobs/10/a909c63b18c09ab9881dced94966f0e1ba281c8efb79a26da72f9fcdfd8215/.minions.p
[DEBUG ] get_iter_returns for jid 20230309122223692347 sent to {'srx320'} will timeout at 12:22:28.700918
[DEBUG ] jid 20230309122223692347 return from srx320
[DEBUG ] return event: {'srx320': {'ret': {'result': False, 'comment': 'Local file source set_ntp_peers does not exist', 'out': None}, 'retcode': 1, '
jid': '20230309122223692347'}}
[DEBUG ] The functions from module 'nested' are being loaded by dir() on the loaded module
[DEBUG ] LazyLoaded nested.output
With debug enabled in /etc/salt/proxy
2023-03-10 03:23:52,128 [salt.minion :3767][DEBUG ][160451] No metaproxy key found in opts for id srx320. Defaulting to standard proxy minion
2023-03-10 03:23:52,129 [salt.loader.lazy :960 ][DEBUG ][160451] The functions from module 'proxy' are being loaded by dir() on the loaded module
2023-03-10 03:23:52,129 [salt.utils.lazy :99 ][DEBUG ][160451] LazyLoaded proxy.handle_payload
2023-03-10 03:23:52,131 [salt.minion :3767][DEBUG ][160451] No metaproxy key found in opts for id srx320. Defaulting to standard proxy minion
2023-03-10 03:23:52,132 [salt.loader.lazy :960 ][DEBUG ][160451] The functions from module 'proxy' are being loaded by dir() on the loaded module
2023-03-10 03:23:52,132 [salt.utils.lazy :99 ][DEBUG ][160451] LazyLoaded proxy.target_load
2023-03-10 03:23:52,133 [salt.minion :3767][DEBUG ][160451] No metaproxy key found in opts for id srx320. Defaulting to standard proxy minion
2023-03-10 03:23:52,134 [salt.loader.lazy :960 ][DEBUG ][160451] The functions from module 'proxy' are being loaded by dir() on the loaded module
2023-03-10 03:23:52,134 [salt.utils.lazy :99 ][DEBUG ][160451] LazyLoaded proxy.handle_decoded_payload
2023-03-10 03:23:52,134 [srx320.salt.loaded.int.metaproxy.proxy :768 ][INFO ][160451] User sudo_bbadmin Executing command ntp.set_peers with jid 20230310032352100251
2023-03-10 03:23:52,134 [srx320.salt.loaded.int.metaproxy.proxy :776 ][DEBUG ][160451] Command details {'fun': 'ntp.set_peers', 'arg': ['1.2.3.4'], 'tgt': 'srx320', 'jid': '20230310032352100251', 'ret': '', 'tgt_type': 'glob', 'user': 'sudo_bbadmin'}
2023-03-10 03:23:52,135 [salt.utils.process :1144][DEBUG ][160451] Subprocess ProcessPayload(jid=20230310032352100251) added
2023-03-10 03:23:52,136 [salt.minion :3767][DEBUG ][160451] No metaproxy key found in opts for id srx320. Defaulting to standard proxy minion
2023-03-10 03:23:52,137 [salt.loader.lazy :960 ][DEBUG ][160451] The functions from module 'proxy' are being loaded by dir() on the loaded module
2023-03-10 03:23:52,137 [salt.utils.lazy :99 ][DEBUG ][160451] LazyLoaded proxy.target
2023-03-10 03:23:52,139 [salt.minion :3767][DEBUG ][160451] No metaproxy key found in opts for id srx320. Defaulting to standard proxy minion
2023-03-10 03:23:52,140 [salt.loader.lazy :960 ][DEBUG ][160451] The functions from module 'proxy' are being loaded by dir() on the loaded module
2023-03-10 03:23:52,140 [salt.utils.lazy :99 ][DEBUG ][160451] LazyLoaded proxy.thread_return
2023-03-10 03:23:52,140 [srx320.salt.loaded.int.metaproxy.proxy :403 ][INFO ][160451] Starting a new job with PID 160451
2023-03-10 03:23:52,141 [salt.utils.lazy :102 ][DEBUG ][160451] Could not LazyLoad direct_call.allow_missing_func: 'direct_call.allow_missing_func' is not available.
2023-03-10 03:23:52,143 [salt.minion :890 ][DEBUG ][160451] Minion return retry timer set to 8 seconds (randomized)
2023-03-10 03:23:52,143 [salt.minion :2192][INFO ][160451] Returning information for job: 20230310032352100251
2023-03-10 03:23:52,144 [salt.utils.event :315 ][DEBUG ][160451] SaltEvent PUB socket URI: /var/run/salt/proxy/minion_event_47cf07b88d_pub.ipc
2023-03-10 03:23:52,144 [salt.utils.event :316 ][DEBUG ][160451] SaltEvent PULL socket URI: /var/run/salt/proxy/minion_event_47cf07b88d_pull.ipc
2023-03-10 03:23:52,146 [salt.utils.event :821 ][DEBUG ][160451] Sending event: tag = __master_req_channel_payload; data = {'cmd': '_return', 'id': 'srx320', 'success': False, 'return': {'result': False, 'comment': 'Local file source set_ntp_peers does not exist', 'out': None}, 'retcode': 1, 'jid': '20230310032352100251', 'fun': 'ntp.set_peers', 'fun_args': ['1.2.3.4'], '_stamp': '2023-03-10T03:23:52.146698'}
2023-03-10 03:23:52,147 [salt.minion :2690][DEBUG ][160451] Minion of 'salt' is handling event tag '__master_req_channel_payload'
2023-03-10 03:23:52,147 [salt.minion :890 ][DEBUG ][160451] Minion return retry timer set to 8 seconds (randomized)
2023-03-10 03:23:52,158 [salt.transport.ipc :373 ][DEBUG ][160451] Closing IPCMessageClient instance
2023-03-10 03:23:52,159 [srx320.salt.loaded.int.metaproxy.proxy :603 ][DEBUG ][160451] minion return: {'success': False, 'return': {'result': False, 'comment': 'Local file source set_ntp_peers does not exist', 'out': None}, 'retcode': 1, 'jid': '20230310032352100251', 'fun': 'ntp.set_peers', 'fun_args': ['1.2.3.4']}
2023-03-10 03:23:52,686 [salt.utils.process :1155][DEBUG ][160451] Subprocess ProcessPayload(jid=20230310032352100251) cleaned up
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/salt-users/a7cf388a-56a5-4de9-a5cb-8efed13f39a6n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/salt-users/CAPaX09hCZ2jU2fw8v2vM_FcVYf0WCtUQwK7cb1o02ZCw4tMCAw%40mail.gmail.com.