Skip to content

[Bug]: 3008.x is missing 36 3006.x PRs dropped in the 3007.x -> 3008.x merge-forward (#70132) #70542

Closed

Description

@ggiesen

What happened?

Most of the 3006.x fixes that #70063 brought into 3007.x didn't make it from 3007.x into 3008.x in #70132. They aren't in 3008.3, 3008.x (ee78abb) or master (03d8a98), but the changelog entries for 33 of the 36 PRs are in doc/topics/releases/3008.3.md. Later merge-forwards won't pick them up, because the merge base is already past them.

As far as I can tell: the merge base of 17c1f44 (eebf6b3) still has the #69622 mis-merge, which 3007.x reverted in 03014ce. A plain merge would have applied that revert to 3008.x, so the merge kept the 3008.x version of the files the revert touched (133 of the 164 that also had later 3007.x changes are identical to the 3008.x parent). That also dropped everything committed to those files on 3007.x after the revert. Files that only exist on 3007.x came through (nm_ip.py, for one), but the sync merges a919896 and 2bca722 on the PR branch then deleted 19 of the new test files along with the extension re-purge, so CI had nothing to fail. In a few places the 3008.x tests assert the old behavior (test_salt_pip_user.py, the match.filter_by integration test).

#70380 (nm_ip, #70354 and #70463) and #70342/#70343 (x509_v2) already cover parts of this.

I checked each of the 120 non-merge commits in 03014ce..d612dde against 3008.x. 81 are missing or only partly there, from 36 PRs plus commits made directly on #70063. None of them are in v3008.3 or master either.

Reproduced on a fresh 3008.3 onedir install (almalinux:10 container):

# #69620 / #70354
salt-call --local sys.list_modules
[ERROR   ] Exception raised when processing __virtual__ function for salt.loaded.int.module.nm_ip. Module will not be loaded: module 'salt.utils.network' has no attribute 'nm_managed'

# #69696, works on 3006.28 and 3007.15
salt-call --local state.single file.append /tmp/f text=y encoding=utf-8 encoding_errors=strict
Passed invalid arguments: 'encoding' and 'encoding_errors' are invalid keyword arguments for 'file.append'.

# #69967, the script never runs (it does without bg=True)
salt-call --local cmd.script /tmp/bg.sh bg=True

# #69891, with "grains:" and nothing under it in the minion config
salt-call --local test.ping
TypeError: 'NoneType' object is not iterable

What's missing, by PR (all on 3006.x):

Some of these won't cherry-pick as-is: x509_v2 needed rework for 3008.x (hence #70342/#70343), and b668a8a and the #69754 tests have to be redone against the 3008.x code.

@dwoz I wrote 21 of the 36. I can open 3008.x PRs for those if that's how you want to handle it, or hold off if you'd rather redo the merge-forward.

Per-commit list (81)

Type of salt install

Official rpm

Major version

3008.x

What supported OS are you seeing the problem on? Can select multiple. (If bug appears on an unsupported OS, please open a GitHub Discussion instead)

almalinux-10

salt --versions-report output

Salt Version:
          Salt: 3008.3
 
Python Version:
        Python: 3.14.7 (main, Sep 30 2026, 03:35:11) [GCC 11.2.0]
 
Dependency Versions:
          cffi: 2.0.0
      cherrypy: 18.10.0
  cryptography: 50.0.1
      dateutil: 2.9.0.post0
     docker-py: Not Installed
         gitdb: 4.0.12
     gitpython: Not Installed
        Jinja2: 3.1.6
       libgit2: Not Installed
  looseversion: 1.3.0
      M2Crypto: Not Installed
          Mako: Not Installed
       msgpack: 1.2.1
  msgpack-pure: Not Installed
  mysql-python: Not Installed
     packaging: 24.0
     pycparser: 3.00
      pycrypto: Not Installed
  pycryptodome: 3.23.0
        pygit2: Not Installed
  python-gnupg: 0.5.6
        PyYAML: 6.0.3
         PyZMQ: 27.1.0
        relenv: 0.22.27
         smmap: 5.0.2
       timelib: 0.3.0
       Tornado: 6.5.10
           ZMQ: 4.3.5
 
Salt Package Information:
  Package Type: onedir
 
System Versions:
          dist: almalinux 10.2 Lavender Lion
        locale: utf-8
       machine: x86_64
       release: 6.12.0-211.16.1.el10_2.0.1.x86_64
        system: Linux
       version: AlmaLinux 10.2 Lavender Lion

Activity

  1. ggiesen commented on Oct 25, 2026

    @ggiesen
    ContributorAuthor

    Two corrections after checking against 3008.x f1db86e:

    • Give each deltaproxy sub-proxy its own schedule and beacon storage (#65088) #69788: [BUG] Deltaproxy __proxy_keepalive only works for 1 of 8 subproxys #65088 doesn't reproduce on 3008.x. Since 969f979 proxy_config returns an OptsDict, and its copy gives each sub-proxy its own copy of the control proxy's schedule and beacons, so the reset isn't needed there and shouldn't be restored as-is. The reset also throws away what proxy_config just loaded from proxy.d//*.conf, so on 3006.28+ and 3007.15+ a sub-proxy's persisted schedule jobs are lost (_schedule.conf is rewritten without them at startup), its beacons.conf is ignored, and sub-proxies no longer get the control proxy's __mine_interval job. That's my bug, but 3006.x only takes security fixes now and 3007.x is out of support, so there's no branch to fix it on.
    • aiohttp: 3008.3-1 was replaced by 3008.4 and 3008.5, which still pin aiohttp 3.14.1.

    Edit 2026-10-28: corrected the commit (was 74065ce) and dropped the 3006.x PR I'd offered, since 3006.x is security-only.

  2. added 2 commits that reference this issue on Oct 27, 2026
    1a3117f
    61311b6
  3. added
    bug
    severity-high
    on Oct 30, 2026
  4. dwoz commented on Oct 30, 2026

    @dwoz
    Contributor

    Closing as completed — addressed by merged PR #70572 ("Address dropped merge forward commits"), a 182-file, +6688/-1457-line restore of the dropped 3006.x → 3007.x → 3008.x commits. (The PR body references #70543 instead of #70542 — looks like a typo; the title and scope match this tracker.)

  5. ggiesen commented on Nov 2, 2026

    @ggiesen
    ContributorAuthor

    @dwoz I re-checked against 3008.x 987b077. The x509_v2 fixes from #69894/#70047 are all in now after #70342 and #70343. Still not on 3008.x:

    #69788 is out on purpose (see my earlier comment), and #69937's functional test can't come over since EventPublisher is gone from 3008.x; its fix and unit test are in.

    changelog/70542.fixed.md says 36 fixes were restored, which overstates it: #69620's core isn't in, and #69788 was left out.

    Want me to open a PR against 3008.x with the napalm tests?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugseverity-high

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions