-
Notifications
You must be signed in to change notification settings - Fork 5.6k
salt.states.pyenv.install_pyenv broken since at least 2015.8.8 #37648
Copy link
Copy link
Open
Labels
ConfirmedSalt engineer has confirmed bug/feature - often including a MCVESalt engineer has confirmed bug/feature - often including a MCVEPlatformRelates to OS, containers, platform-based utilities like FS, system based appsRelates to OS, containers, platform-based utilities like FS, system based appsState-Modulebugbroken, incorrect, or confusing behaviorbroken, incorrect, or confusing behaviorhelp-wantedCommunity help is needed to resolve thisCommunity help is needed to resolve thisseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work around3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone
Metadata
Metadata
Assignees
Labels
ConfirmedSalt engineer has confirmed bug/feature - often including a MCVESalt engineer has confirmed bug/feature - often including a MCVEPlatformRelates to OS, containers, platform-based utilities like FS, system based appsRelates to OS, containers, platform-based utilities like FS, system based appsState-Modulebugbroken, incorrect, or confusing behaviorbroken, incorrect, or confusing behaviorhelp-wantedCommunity help is needed to resolve thisCommunity help is needed to resolve thisseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work around3rd level, incorrect or bad functionality, confusing and lacks a work around
Description of Issue/Question
The
pyenv.install_pyenvstate uses the wrong signature when calling_check_and_install_python(), passinguserin for thepythonarg. Sinceuserdefaults toNone, this causes a fun-to-debug traceback when it later tries to run a regex search againstpython:Setup
This state will adequately demonstrate the bug:
Versions Report
We ran into the problem on a masterless VM.
/cc @ryanmrubin