-
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
Salt 3004 broke extend [BUG] #61121
Comments
I can confirm this behaviour in a different setup in combination with Jinja in the SLS file. This worked perfect in Salt 3003.
default.sls:
modules/20mod_wrap.sls:
See https://github.com/openmediavault/openmediavault/tree/master/deb/openmediavault/srv/salt/omv/deploy/proftpd for the whole code. |
I have similar includes and extends, but they work fine (Ubuntu 20.04 package). |
I'm seeing the same issue on ArchLinux after upgrading to 3004 |
I ran into a similar error but with a different setup (not using extend). I suspect it has to do with this change: #59943 I can confirm that my now broken watch_in requisite worked prior to 3004. Mine cropped up when I had this in an SLS (abbreviated but enough to demonstrate the issue):
If I modify the ID for the nginx-proxy docker_container state it works once again:
|
We are also affected by this bug, at least at one place in our code, since salt 3004. We have a Our solution was to reimplement the edit: fix comment, no extend |
@pauldalewilliams looks like you are correct about your guess on #59943 looking at the code instead of making the extend strict requirements for just the |
adding a modifier to the extend resolver that lets it be strict when needed.. as well as added that up the chain in find_names fixes: #61121
adding a modifier to the extend resolver that lets it be strict when needed.. as well as added that up the chain in find_names fixes: saltstack#61121
How to bypass this bug? We are affected by this issue as well. I'm new in the salt world but have a quite comprehensive set of states in my project. I'm on salt-call V3004.2 on CentOS, this fix is scheduled for 3005.0. How can I downgrade my salt-call to V3003 to bypass this bug? Any hint appreciated. local: Cannot extend ID 'mock-mv-core' in 'base:konz.mock-mv-core'. It is not part of the high state. |
Solved: I fixed the version in my Vagrantfile in the salt provisioner 3003.5 worked at the end. |
This issue has been reported nearly one year ago. Is there any progress in 3005? When can we expect that to be released? IMO i would love to see a backport of the 3005 fix to 3004 because this is a major regression. |
@votdev as you can see above it's already been fixed and is in the 3005RC currently available. I believe the final release will be in a couple of weeks. |
This is necessary because Salt 3004 is broken and 3005 has some other issues that prevent an upgrade to the latest version. References: - https://www.debian.org/doc/debian-policy/ch-relationships.html#syntax-of-relationship-fields - https://askubuntu.com/questions/766846/version-range-in-debian-control/918432#918432 - saltstack/salt#61121 (comment) Signed-off-by: Volker Theile <votdev@gmx.de>
Description
A pair of states (One extending another) works with minion up to 3003, but not with 3004. Instead I get:
Setup
Salt master (happens with both 3000.3 and 3004 tested).
Two states:
packages.rsyslog:
services.rsyslog:
(could be simplified, but it worked for years now)
Steps to Reproduce the behavior
run
salt-call state.apply services.rsyslog
(or highstate including it) on salt-minion 3004.Works fine with older minions.
Expected behavior
both pkg.installed and service.running including require and watch should work as before.
Versions Report
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: