-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] salt-pip doesn't install second salt extension #65433
Comments
I can confirm that. Encountered this with my own extensions and initially thought that I packaged them incorrectly. But it looks like the shared
|
Upstream issue: pypa/pip#10110 |
This issue is particular to SLS parameter: extensions:
pip.installed:
- names:
- saltext.prometheus
- saltext.vmware
- bin_env: /opt/saltstack/salt/bin/pip Command line: /opt/saltstack/salt/bin/pip install saltext.prometheus saltext.vmware Use of either method will force Salt to use the native pip command for the environment without target directory specification. Extension code will be installed to |
Description
Installing more than one Salt extension in Salt 3006 appears to succeed but the files aren't actually installed in
/opt/saltstack/salt/extras-3.10/saltext
Setup
Please be as specific as possible and give set-up details.
Steps to Reproduce the behavior
Install the first extension:
The extension shows as installed in salt --versions-report:
A directory is created for the extension:
Now install the second extension:
Both extensions show as installed in salt --versions-report:
No directory is created for the extension:
Now try reversing the order of installation:
Install the first extension:
The extension shows as installed in salt --versions-report:
A directory is created for the extension:
Now install the second extension:
Both extensions show as installed in salt --versions-report:
No directory is created for the extension:
Now try installing both extensions in one transaction:
Install the extensions:
Both extensions show as installed in salt --versions-report:
Expected behavior
Both extensions are installed and function when not installed in the same transaction
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)Additional context
Same issue as reported here: #64662 (comment)
The text was updated successfully, but these errors were encountered: