[BUG] Windows pkg.refresh_db does not have repos
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 15.7k
- Forks
- 5.6k
- Avg merge
- 2d 44m
- Merged PRs (30d)
- 80
Description
Description
Running pkg.refresh_db on Windows does not show any repositories. It errors because it did not update any repos.
Setup
- on-prem machine
- VM (Virtualbox, KVM, etc. please specify)
- VM running on a cloud service, please be explicit and add details
- container (Kubernetes, Docker, containerd, etc. please specify)
- or a combination, please be explicit
- jails if it is FreeBSD
- classic packaging
- onedir packaging
- used bootstrap to install
Master: OVH VPS running Debian 11
Windows Minion: On-premises Windows 10 Enterprise IoT LTSC 2019
Steps to Reproduce the behavior
-
On master, run update Windows repos
salt-run -l debug winrepo.update_git_repos[DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load log4mongo [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load raven [DEBUG ] Reading configuration from /etc/salt/master [DEBUG ] Including configuration from '/etc/salt/master.d/99-REDACTED.conf' [DEBUG ] Reading configuration from /etc/salt/master.d/99-REDACTED.conf [DEBUG ] Using cached minion ID from /etc/salt/minion_id: REDACTED [DEBUG ] Missing configuration file: /root/.saltrc [WARNING ] Insecure logging configuration detected! Sensitive data may be logged. [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load log4mongo [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load raven [DEBUG ] Configuration file path: /etc/salt/master [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load git [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load pygit2 [DEBUG ] TiamatPipPathFinder.find_spec: /opt/saltstack/salt/pypath/lib/python3.9/site-packages/pygit2 is a directory [DEBUG ] The functions from module 'winrepo' are being loaded by dir() on the loaded module [DEBUG ] LazyLoaded winrepo.update_git_repos [DEBUG ] Reading configuration from /etc/salt/master [DEBUG ] Including configuration from '/etc/salt/minion.d/99-REDACTED.conf' [DEBUG ] Reading configuration from /etc/salt/minion.d/99-REDACTED.conf [DEBUG ] Including configuration from '/etc/salt/minion.d/_schedule.conf' [DEBUG ] Reading configuration from /etc/salt/minion.d/_schedule.conf [DEBUG ] Using cached minion ID from /etc/salt/minion_id: REDACTED [DEBUG ] Grains refresh requested. Refreshing grains. [DEBUG ] Reading configuration from /etc/salt/master [DEBUG ] Including configuration from '/etc/salt/master.d/99-REDACTED.conf' [DEBUG ] Reading configuration from /etc/salt/master.d/99-REDACTED.conf [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load pywintypes [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load dns [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load tldextract [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load tldextract [DEBUG ] The functions from module 'core' are being loaded by dir() on the loaded module [DEBUG ] The functions from module 'disks' are being loaded by dir() on the loaded module [DEBUG ] The functions from module 'extra' are being loaded by dir() on the loaded module [DEBUG ] The functions from module 'lvm' are being loaded by dir() on the loaded module [DEBUG ] The functions from module 'mdadm' are being loaded by dir() on the loaded module [DEBUG ] The functions from module 'minion_process' are being loaded by dir() on the loaded module [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load napalm [DEBUG ] The functions from module 'opts' are being loaded by dir() on the loaded module [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load pythoncom [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load win32com [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load win32api [DEBUG ] Override __utils__: [DEBUG ] The functions from module 'zfs' are being loaded by dir() on the loaded module [DEBUG ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it [DEBUG ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string [DEBUG ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it [DEBUG ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string [DEBUG ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it [DEBUG ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string [DEBUG ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it [DEBUG ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string [DEBUG ] Unable to resolve address fe80::f816:3eff:fe39:aa4b: [Errno 1] Unknown host [DEBUG ] Elapsed time getting FQDNs: 0.03778982162475586 seconds [DEBUG ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it [DEBUG ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string [DEBUG ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it [DEBUG ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string [DEBUG ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it [DEBUG ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string [DEBUG ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it [DEBUG ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string [DEBUG ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it [DEBUG ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load _bootlocale [DEBUG ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it [DEBUG ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string [DEBUG ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it [DEBUG ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string [DEBUG ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it [DEBUG ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string [DEBUG ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it [DEBUG ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load lsb_release [DEBUG ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it [DEBUG ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string [DEBUG ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it [DEBUG ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string [DEBUG ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it [DEBUG ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string [DEBUG ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it [DEBUG ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string [DEBUG ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it [DEBUG ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string [DEBUG ] The functions from module 'zfs' are being loaded by dir() on the loaded module [DEBUG ] LazyLoaded zfs.is_supported [DEBUG ] User provided environment variable 'LD_LIBRARY_PATH' with value '/opt/saltstack/salt/run' which is the value that PyInstaller set's. Removing it [DEBUG ] Setting environment variable 'LD_LIBRARY_PATH' to an empty string [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 ] TiamatPipPathFinder.find_spec: First time trying to load pywintypes [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load immutables [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load singledispatch [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load singledispatch_helpers [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load backports_abc [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load backports [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load saltwinshell [DEBUG ] The functions from module 'auth' are being loaded by dir() on the loaded module [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load netaddr [DEBUG ] The functions from module 'cache' are being loaded by dir() on the loaded module [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load smbprotocol [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load pypsexec [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load winrm [DEBUG ] The functions from module 'cloud' are being loaded by dir() on the loaded module [DEBUG ] The functions from module 'config' are being loaded by dir() on the loaded module [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load M2Crypto [DEBUG ] The functions from module 'doc' are being loaded by dir() on the loaded module [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load paramiko [DEBUG ] The functions from module 'error' are being loaded by dir() on the loaded module [DEBUG ] The functions from module 'event' are being loaded by dir() on the loaded module [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load pycontrol [DEBUG ] The functions from module 'fileserver' are being loaded by dir() on the loaded module [DEBUG ] The functions from module 'git_pillar' are being loaded by dir() on the loaded module [DEBUG ] The functions from module 'http' are being loaded by dir() on the loaded module [DEBUG ] The functions from module 'jobs' are being loaded by dir() on the loaded module [DEBUG ] The functions from module 'launchd' are being loaded by dir() on the loaded module [DEBUG ] The functions from module 'lxc' are being loaded by dir() on the loaded module [DEBUG ] The functions from module 'manage' are being loaded by dir() on the loaded module [DEBUG ] The functions from module 'mattermost' are being loaded by dir() on the loaded module [DEBUG ] The functions from module 'mine' are being loaded by dir() on the loaded module [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load libnacl [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load netaddr [DEBUG ] The functions from module 'network' are being loaded by dir() on the loaded module [DEBUG ] The functions from module 'pagerduty' are being loaded by dir() on the loaded module [DEBUG ] The functions from module 'pillar' are being loaded by dir() on the loaded module [DEBUG ] The functions from module 'pkg' are being loaded by dir() on the loaded module [DEBUG ] The functions from module 'queue' are being loaded by dir() on the loaded module [DEBUG ] The functions from module 'reactor' are being loaded by dir() on the loaded module [DEBUG ] The functions from module 'salt' are being loaded by dir() on the loaded module [DEBUG ] The functions from module 'saltutil' are being loaded by dir() on the loaded module [DEBUG ] The functions from module 'sdb' are being loaded by dir() on the loaded module [DEBUG ] The functions from module 'vmadm' are being loaded by dir() on the loaded module [DEBUG ] The functions from module 'ssh' are being loaded by dir() on the loaded module [DEBUG ] The functions from module 'state' are being loaded by dir() on the loaded module [DEBUG ] The functions from module 'survey' are being loaded by dir() on the loaded module [DEBUG ] The functions from module 'test' are being loaded by dir() on the loaded module [DEBUG ] The functions from module 'thin' are being loaded by dir() on the loaded module [DEBUG ] The functions from module 'vault' are being loaded by dir() on the loaded module [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load vcert [DEBUG ] The functions from module 'virt' are being loaded by dir() on the loaded module [DEBUG ] Sending event: tag = salt/run/20230120013938507121/new; data = {'fun': 'runner.winrepo.update_git_repos', 'jid': '20230120013938507121', 'user': 'root', 'fun_args': [], '_stamp': '2023-01-20T01:39:38.978431'} [DEBUG ] pygit2 winrepo_provider enabled [DEBUG ] Current fetch URL for winrepo remote 'https://github.com/saltstack/salt-winrepo.git': https://github.com/saltstack/salt-winrepo.git (desired: https://github.com/saltstack/salt-winrepo.git) [DEBUG ] Current refspecs for winrepo remote 'https://github.com/saltstack/salt-winrepo.git': ['+refs/heads/*:refs/remotes/origin/*', '+refs/tags/*:refs/tags/*'] (desired: ['+refs/heads/*:refs/remotes/origin/*', '+refs/tags/*:refs/tags/*']) [DEBUG ] Current http.sslVerify for winrepo remote 'https://github.com/saltstack/salt-winrepo.git': true (desired: true) [DEBUG ] Set update lock for winrepo remote 'https://github.com/saltstack/salt-winrepo.git' [DEBUG ] Fetching winrepo remote 'https://github.com/saltstack/salt-winrepo.git' [DEBUG ] winrepo remote 'https://github.com/saltstack/salt-winrepo.git' is up-to-date [DEBUG ] Removed update lock for winrepo remote 'https://github.com/saltstack/salt-winrepo.git' [DEBUG ] Current fetch URL for winrepo remote 'https://github.com/saltstack/salt-winrepo-ng.git': https://github.com/saltstack/salt-winrepo-ng.git (desired: https://github.com/saltstack/salt-winrepo-ng.git) [DEBUG ] Current refspecs for winrepo remote 'https://github.com/saltstack/salt-winrepo-ng.git': ['+refs/heads/*:refs/remotes/origin/*', '+refs/tags/*:refs/tags/*'] (desired: ['+refs/heads/*:refs/remotes/origin/*', '+refs/tags/*:refs/tags/*']) [DEBUG ] Current http.sslVerify for winrepo remote 'https://github.com/saltstack/salt-winrepo-ng.git': true (desired: true) [DEBUG ] Set update lock for winrepo remote 'https://github.com/saltstack/salt-winrepo-ng.git' [DEBUG ] Fetching winrepo remote 'https://github.com/saltstack/salt-winrepo-ng.git' [DEBUG ] winrepo remote 'https://github.com/saltstack/salt-winrepo-ng.git' is up-to-date [DEBUG ] Removed update lock for winrepo remote 'https://github.com/saltstack/salt-winrepo-ng.git' [DEBUG ] The functions from module 'local_cache' are being loaded by dir() on the loaded module [DEBUG ] LazyLoaded local_cache.prep_jid [DEBUG ] Sending event: tag = salt/run/20230120013938507121/ret; data = {'fun': 'runner.winrepo.update_git_repos', 'jid': '20230120013938507121', 'user': 'root', 'fun_args': [], '_stamp': '2023-01-20T01:39:39.260618', 'return': {'https://github.com/saltstack/salt-winrepo.git': '/srv/salt/win/repo/salt-winrepo', 'https://github.com/saltstack/salt-winrepo-ng.git': '/srv/salt/win/repo-ng/salt-winrepo-ng'}, 'success': True} [DEBUG ] The functions from module 'nested' are being loaded by dir() on the loaded module [DEBUG ] LazyLoaded nested.output https://github.com/saltstack/salt-winrepo-ng.git: /srv/salt/win/repo-ng/salt-winrepo-ng https://github.com/saltstack/salt-winrepo.git: /srv/salt/win/repo/salt-winrepo [INFO ] Runner completed: 20230120013938507121 [DEBUG ] Closing IPCMessageClient instance [DEBUG ] Runner return: {'https://github.com/saltstack/salt-winrepo.git': '/srv/salt/win/repo/salt-winrepo', 'https://github.com/saltstack/salt-winrepo-ng.git': '/srv/salt/win/repo-ng/salt-winrepo-ng'} [DEBUG ] Restoring sys.argv to: ['/opt/saltstack/salt/run/run', '-l', 'debug', 'winrepo.update_git_repos'] -
Configure minion with the following (no other config; this is using the default repos):
common_pkg_win_refresh: module.run: - name: pkg.refresh_db common_pkg: pkg.installed: - require: - module: common_pkg_win_refresh - pkgs: - 7zip - firefox-esr_x64 -
Apply states:
salt 'REDACTED*' state.apply -l debug[DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load log4mongo [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load raven [DEBUG ] Reading configuration from /etc/salt/master [DEBUG ] Including configuration from '/etc/salt/master.d/99-REDACTED.conf' [DEBUG ] Reading configuration from /etc/salt/master.d/99-REDACTED.conf [DEBUG ] Using cached minion ID from /etc/salt/minion_id: REDACTED [DEBUG ] Missing configuration file: /root/.saltrc [WARNING ] Insecure logging configuration detected! Sensitive data may be logged. [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load log4mongo [DEBUG ] TiamatPipPathFinder.find_spec: First time trying to load raven [DEBUG ] Configuration file path: /etc/salt/master [DEBUG ] Reading configuration from /etc/salt/master [DEBUG ] Including configuration from '/etc/salt/master.d/99-REDACTED.conf' [DEBUG ] Reading configuration from /etc/salt/master.d/99-REDACTED.conf [DEBUG ] Using cached minion ID from /etc/salt/minion_id: REDACTED [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/58/497beca9b45553f56be6ff17a94a8be7eeff506b77223bd957db5937b5fdb4/.minions.p [DEBUG ] get_iter_returns for jid 20230120023123946234 sent to {'REDACTED'} will timeout at 21:31:28.958322 [DEBUG ] Checking whether jid 20230120023123946234 is still running [DEBUG ] Closing AsyncReqChannel instance [DEBUG ] retcode missing from client return [DEBUG ] Checking whether jid 20230120023123946234 is still running [DEBUG ] Closing AsyncReqChannel instance [DEBUG ] retcode missing from client return [DEBUG ] jid 20230120023123946234 return from REDACTED [DEBUG ] return event: {'REDACTED': {'ret': {'module_|-common_pkg_win_refresh_|-pkg.refresh_db_|-run': {'name': 'pkg.refresh_db', 'changes': {'ret': {'total': 0, 'success': 0, 'failed': 0}}, 'comment': 'Module function pkg.refresh_db executed', 'result': True, '__sls__': 'common.pkg', '__run_num__': 0, 'start_time': '21:31:36.442740', 'duration': 1250.114, '__id__': 'common_pkg_win_refresh'}, 'pkg_|-common_pkg_|-common_pkg_|-installed': {'name': 'common_pkg', 'changes': {'7zip': 'Unable to locate package 7zip', 'firefox-esr_x64': 'Unable to locate package firefox-esr_x64'}, 'result': False, 'comment': 'The following packages failed to install/update: 7zip, firefox-esr_x64', '__sls__': 'common.pkg', '__run_num__': 1, 'start_time': '21:31:40.115085', 'duration': 124.973, '__id__': 'common_pkg'}}, 'out': 'highstate', 'retcode': 2, 'jid': '20230120023123946234'}} [DEBUG ] The functions from module 'highstate' are being loaded by dir() on the loaded module [DEBUG ] LazyLoaded highstate.output [DEBUG ] The functions from module 'nested' are being loaded by dir() on the loaded module [DEBUG ] LazyLoaded nested.output [DEBUG ] The functions from module 'nested' are being loaded by dir() on the loaded module [DEBUG ] LazyLoaded nested.output [DEBUG ] jid 20230120023123946234 found all minions {'REDACTED'} [DEBUG ] Closing IPCMessageSubscriber instance ERROR: Minions returned with non-zero exit code [DEBUG ] Restoring sys.argv to: ['/opt/saltstack/salt/run/run', 'REDACTED*', 'state.apply', '-l', 'debug'] REDACTED: ---------- ID: common_pkg_win_refresh Function: module.run Name: pkg.refresh_db Result: True Comment: Module function pkg.refresh_db executed Started: 21:31:36.442740 Duration: 1250.114 ms Changes: ---------- ret: ---------- failed: 0 success: 0 total: 0 ---------- ID: common_pkg Function: pkg.installed Result: False Comment: The following packages failed to install/update: 7zip, firefox-esr_x64 Started: 21:31:40.115085 Duration: 124.973 ms Changes: ---------- 7zip: Unable to locate package 7zip firefox-esr_x64: Unable to locate package firefox-esr_x64Summary for REDACTED
Succeeded: 1 (changed=2)
Failed: 1Total states run: 2
Total run time: 1.375 s
-
I also tried running the modules directly (no states) to no avail.
Expected behavior
Database should refresh on the minion and the packages should install.
Screenshots
All console output is above in text form.
Versions Report
Master: salt --versions-report
Salt Version:
Salt: 3005.1
Dependency Versions:
cffi: 1.14.6
cherrypy: unknown
dateutil: 2.8.1
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
Jinja2: 3.1.0
libgit2: 1.1.0
M2Crypto: Not Installed
Mako: Not Installed
msgpack: 1.0.2
msgpack-pure: Not Installed
mysql-python: Not Installed
pycparser: 2.21
pycrypto: Not Installed
pycryptodome: 3.9.8
pygit2: 1.6.1
Python: 3.9.16 (main, Jan 6 2023, 22:49:58)
python-gnupg: 0.4.8
PyYAML: 5.4.1
PyZMQ: 23.2.0
smmap: Not Installed
timelib: 0.2.4
Tornado: 4.5.3
ZMQ: 4.3.4
System Versions:
dist: debian 11 bullseye
locale: utf-8
machine: x86_64
release: 5.10.0-20-cloud-amd64
system: Linux
version: Debian GNU/Linux 11 bullseye
Minion: salt "REDACTED*" cmd.run 'salt --versions-report'
REDACTED:
Salt Version:
Salt: 3005.1
Dependency Versions:
cffi: 1.14.6
cherrypy: unknown
dateutil: 2.8.1
docker-py: Not Installed
gitdb: 4.0.7
gitpython: 3.1.18
Jinja2: 3.1.0
libgit2: Not Installed
M2Crypto: Not Installed
Mako: 1.1.4
msgpack: 1.0.2
msgpack-pure: Not Installed
mysql-python: Not Installed
pycparser: 2.21
pycrypto: Not Installed
pycryptodome: 3.10.1
pygit2: Not Installed
Python: 3.8.15 (tags/v3.8.15:44adf8a, Nov 2 2022, 20:58:02) [MSC v.1916 64 bit (AMD64)]
python-gnupg: 0.4.8
PyYAML: 5.4.1
PyZMQ: 22.0.3
smmap: 4.0.0
timelib: 0.2.4
Tornado: 4.5.3
ZMQ: 4.3.4
System Versions:
dist:
locale: cp1252
machine: AMD64
release: 2021
system: Windows
version: 2021 10.0.19044 SP0 Multiprocessor Free
Additional context
The documentation is kind of confusing. It is not immediately obvious that the repo is stored on the master and sent to the minion, and it seems that placing refresh: True in pkg.installed does not work (or maybe it doesn't work due to this issue). Instead, you must run the pkg.refresh_db module each time, which is not very clean.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with salt-run -l debug winrepo.update_git_repos on the described master and Windows setup, then trace the winrepo.update_git_repos and pkg.refresh_db entry points. Done means Windows repositories are discovered and refreshed without the no-repositories error; the payload names no specific files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, python
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100